Feature request: Administrative Events

I remember a few questions about how to know who added or changed a device or when a user log in or log out.
Like a solution we can write some Administrative Events in DB when user manipulate objects create/change/delete/link/unlink. User login, Distance reset, command sent (I know it is logged, but who sent is not)
Or may be just write them in log.

I think we should separate any admin/user activity logging from other events. One exception might be commands because it is related to the device, but I'm not sure if we really need it to be separate.
Possibly logging all the information in the log file will be sufficient.


Fix Docstring for conversion_rate values

I presume a copy-paste issue... hope this is good.

Thanks!


The current check_url path for HasRequiredLabel doesn't lead to what's required for the container check

Bug Description
For Preflight container check, I got an error for HasRequiredLabel.
check_url path says to go "https://access.redhat.com/documentation/en-us/red_hat_openshift_certification/4.9/html-single/red_hat_openshift_software_certification_policy_guide/index#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction"
I was expecting an answer instead I got the "Product Documentation For Red Hat Software Certification 8.45"
Version and Command Invocation
I built preflight using Vagrantfile hence the version 0.0.0.
preflight version 0.0.0 <commit: e96c75f8b0c7d75d6e6298219fc96f7dcaa38f9f>
Steps to Reproduce:
(How can we reproduce this?)
1)preflight/preflight check container quay.io/opdev/l5-operator:v0.0.2
Expected Result
(What did you expect to happen and why?)
I expect to see the check_url path:
https://access.redhat.com/documentation/en-us/red_hat_software_certification/8.45/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction#con-image-metadata-requirements_openshift-sw-cert-policy-container-images
Actual Result
(What actually happened)
check_url path for HasRequiredLabel
https://access.redhat.com/documentation/en-us/red_hat_software_certification/8.45#assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction
Additional Context
(Anything else you think might help us troubleshoot, like your platform, dependency versions, etc).

We might as well update the check_url for the following container check :
BasedOnUbi, HasLicense.
Also update knowledgebase_url for the container checks.

/assign rocrisp

I forgot they moved the documetation and no longer do a re-direct. We should update the new URL should be
certDocumentationURL= "https://access.redhat.com/documentation/en-us/red_hat_software_certification/8.45/html/red_hat_openshift_software_certification_policy_guide/assembly-requirements-for-container-images_openshift-sw-cert-policy-introduction" in defaults.go
I wish they had specific anchors that we could use in each check, but they do not. :(

See the comment from Kelly on the following issue for the work being done to the certification docs.
https://issues.redhat.com/browse/PEC-288
The way that I read her comment, if we keep using the URL with the certification version number, anchors may work for us if we can get them added.

If they add anchors, that would make preflights output alot better for our users.


Update documentation

With the new error stuff and more OO provider objects, let's update the documentation for how to add a new integration (steps you would take)

I decided to reformat the entire README in addition to adding documentation for adding new integrations.


When loading a long piece of HTML, too much memory will block the page, or even flash back. Is there a solution?

When loading a long piece of HTML, too much memory will block the page, or even flash back. Is there a solution?

because UIWebView,unless WKWebView

I know, I tried to replace UIWebView inside with WKWebView, but there are some methods that don't support it. Is there any way to solve the memory problem in UIWebView? What's your solution?

You may want to try this particular fork

Ok, I'll try. Thank you very much

@kervich : I have tried the fork link that you provided. Actually it is not working at all.
@gaojiewan : Have you found any solution for this? I am facing the same issue.
@nnhubbard : Please help us out.

我也想知道知道怎么解决这个问题


Access fms if they are on a network shared folder via "\"

AngelLoader can't load FMs if they are on a network shared disk which doesn't have a mapped drive letter (but is accessed via the "\\" syntax).
There are some practical reasons for having a local network setup such as "\\nas\thief\fms" instead of "Z:\thief\fms" and since there is no technical reason why this shouldn't be supported, I believe it should be added.

Merged, with note to go through all code that depends on or cares about forward and backslashes in paths


Use Arc<Statistics> rather than Statistics in PartitionedFile

Is your feature request related to a problem or challenge?
We are trying to improve the speed of DataFusion when running the ClickBench partitioned test (which has 100 files) -- this means the per-file overhead is important to redudce
One structure that has non trivial overhead is the Statistics structure (as it has a ScalarValue for each column of each file so there are 100 * (number columns) * 2 at least ScalarValues
Describe the solution you'd like
It would be great to reduce the overhead of passing around these values.
Describe alternatives you've considered
One way to do so is to avoid copying them when the underlying ParquetExec is copied by using an Option<Arc<Statistics>> here:
https://github.com/apache/datafusion/blob/9503456388544788e1a881a0a80a3c61ac015a86/datafusion/core/src/datasource/listing/mod.rs#L81-L80
Additional context
Interestingly @Rachelint
https://github.com/apache/datafusion/pull/11802#issuecomment-2271924370

I think this is a good first issue as the code is relatively simple and mechanical. We'll help do the benchmarking
The benchmarks are described in https://github.com/apache/datafusion/tree/main/benchmarks

take

May try the idea mentioned soon after the experiment about partitioned using hashmap in agg.
https://github.com/apache/datafusion/blob/9503456388544788e1a881a0a80a3c61ac015a86/datafusion/core/src/datasource/listing/mod.rs#L81-L80

its seems easy and i can give a try on it @alamb

Oh, sorry... alreay took and workig on.
In fact it is related to a strange performance problem I am pursuing.
And maybe some other works should be tried to solve it based on the profile result.

@alamb It seems using Arc<Statistic> in PartitionedFile actually hurts some long queries (I test the q22 in clickbench as last pr).
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query        ┃      main ┃ arc-statistic ┃       Change ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 0     │ 8775.79ms │     9218.05ms │ 1.05x slower │
└──────────────┴───────────┴───────────────┴──────────────┘


address #1014 by adding a warning and example

I tried to address the concerns that @konste brought up in that issue.  Could you sanity check me?

thanks so much!

because there is no linking when the number is put in the title of a PR: fixes #1014


When using a generator for validation data, you must specify a value for validation_steps

When using a generator for validation data, you must specify a value for validation_steps
I trained  the  model  successfully before，but i  when  i train it  again， i  met  this  problem，how  should i do，thx！

You might using Keras < 2.1.2.
Please use Keras >= 2.1.2.

in  fact，l  want  to   know，what  does  it  mean   ：  (noise, noise)  or   (noise, clean)

I   don't   understand  why   each  image  of   your   train dataset  is   clean？if   all  of  my   dataset  are  noise image，some  of  them  are  the  same  image  with  different  noise，can  i   train   a  general  model？

@yu4u    hope   your   answer，thanks    a   lot

by the way，"train model using (noise, noise) pairs", does it mean use two noised image of one image？one image occured twice with different noise，rght？

Yes.
clean image -> noisy image1
-> noisy image2
(noise, noise) or (noise, clean) means (input, target) pair.
(noise, clean) is a standard training setting.

---python
clean_patch = image[i:i + image_size, j:j + image_size]
x[sample_id] = self.source_noise_model(clean_patch)
y[sample_id] = self.target_noise_model(clean_patch)
this means you train with input clean data + noise  and output is org clean data + noise ?


Passing enum to method causes it to perform a different type check

When passing a reference to an enum to a method the output JS seems to ignore the value of the enum and just checks against the type. In the example below I pass the enum through with a reference of Enum and when passed as a parameter to Bridge.Reflection.isEnum it seems to return false.
Steps To Reproduce
Issue reproduced in Deck:
https://deck.net/6d7188cebf7c8830d414a5e5aec805a6
public sealed class IdAttribute : Attribute
{
    public IdAttribute(string id)
    {
        Id = id;
    }

    public string Id { get; }
}

public enum LinkType
{
    [Id("URL")]
    Url = 0,

    [Id("EMAIL")]
    Email = 1,

   [Id("PRODUCT")]
   Product = 2,

   [Id("UNSUBSCRIBE")]
   Unsubscribe = 3
}

public class Program
{
    public static void Main()
    {
        Console.WriteLine(IsEnum(LinkType.Url));

        Console.WriteLine(LinkType.Url.GetType().IsEnum);
    }

    public static bool IsEnum(Enum e)
    {
        return e.GetType().IsEnum;
    }
}

Expected Result
What it produces in C# https://dotnetfiddle.net/VQskcr:
True
True
Actual Result
False
True
If you look at the JS it emits, within the 'IsEnum' method it seems to be ignores the enum parameter and just performs the check against it's type:
Bridge.Reflection.isEnum(System.Enum);

Hi @Porl91 – Thanks for the report and excellent sample demonstrating how to reproduce. We will investigate.

Duplicates with https://github.com/bridgedotnet/Bridge/issues/2558
The PR for that issue is already created

Unit test added.


Is there support for CBRNE

Is there a specific CBRNE interface or is there a set of chemicals that could be given to the physiology?
Would this be known chemicals that cause specific reactions?
Is there a list of known agents and associated medications?

Hi Ed,
Yes BioGears has models for burn inflammation, sepsis, and organophosphate exposure. We support a reversal agent to Sarin exposure in the form of pralidoxime. More details on the model can be found here: https://www.biogearsengine.com/documentation/_drugs_methodology.html#sarin-nerve. Let me know if you need anymore assistance.

let me know if you have any additional questions, otherwise I will close this issue tomorrow.


resolve spellcheck issue for Ramen Dr collection

This commit resolves spell check issue for Ramen ACM
collection due to which the output where not created.
Signed-off-by: yati1998<EMAIL_ADDRESS>

@mqhackett please review the PR.

@yati1998 We are currently doing some debugging within the core acm-must-gather. For right now, this means pausing external PRs 😞.

/ok-to-test

@yati1998 We are currently doing some debugging within the core acm-must-gather. For right now, this means pausing external PRs disappointed.

okay, IMO can we get this in as this is giving empty files while collecting acm-must-gather. Maybe for other shellcheck errors we can wait until your work is done.


Ensure Celery 4 is not installed

This will fix the build by allowing the system celery package to meet the taskqueue dependency requirement.
This requires https://github.com/AppScale/appscale-tools/pull/546.

https://ocd.appscale.com:8080/job/Daily Build/2203/

https://ocd.appscale.com:8080/job/Daily Build/2204/


Add backend failure metric

Is your feature request related to a problem? Please describe.
We currently do not expose any metrics/health in our system when a record change or zone change fails.  We store the failure in our database, but there is no way to independently monitor that other than querying the database on a regular basis
Describe the solution you'd like
If a record or zone change fails, report that as an error metric (using monitor like everywhere else).  This way, we can monitor it in real-time via prometheus and detect the failure.

Monitor record change failures
Monitor zone change failures

This is low hanging fruit and can easily be added.  We have traits like Monitored that could be tied in when we have failures.


Sonoff mini with Tasmota

2 mini's bricked today, with diy tool...
One with the tasmota bin lite
and the other with tasmota bin minimal
What is the version that should work?
I see tutoriols with old sonoff-basic-bin files.
Only tasmota does have new bin files, wich do i need to let the mini works fine.
Is there also a way to get back the mini's?

see the tutorial here
https://tasmota.github.io/docs/Sonoff-DIY/
you should use tasmota-wifiman.bin
http://thehackbox.org/tasmota/tasmota-wifiman.bin

You must also re-host the firmware on your local network!  It will not update with a firmware from an internet URL.

Thanks...
Can ia also unbrik a sonof mini?

You can flashing it with a serial programmer.  This will work but it is not a simple work as OTA flashing.
You can check a very nice tutorial here
https://youtu.be/9fkYBWvwn4A
And please, don't flash the 'minimal.bin' file. This will brick your sonoff.

Check to see if you have mDNS on your system. That's what eWelink uses to find you mini. I don't have DNS, and therefore I have about 10 Mini's that are bricked.


fail to run tests/small.ini

Hi, I have two questions..
at first, I simply tried to run tests/small.ini with command such as below:
./bin/neuralmonkey-train tests/small.ini
but I encountered to error.. can you help me to run it?
error message is shown as below:
2017-11-08 01:14:06: Loading INI file: 'tests/small.ini'
2017-11-08 01:14:06: INI file is parsed.
2017-11-08 01:14:06: Directory with experiment.ini 'tests/outputs/small' exists, overwriting enabled, proceeding.
2017-11-08 01:14:06: Building model based on the config.
2017-11-08 01:14:06: Failed to build model: Error while loading 'runners': [Errno 2] No such file or directory: 'tests/outputs/vocab/encoder_vocab.tsv'
Traceback:   File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 198, in build_config
value, config_dicts, existing_objects, 0)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in build_object
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 148, in instantiate_class
depth + 1)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 148, in instantiate_class
depth + 1)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in build_object
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 148, in instantiate_class
depth + 1)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 165, in instantiate_class
obj = clazz(*bounded_params.args, **bounded_params.kwargs)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/vocabulary.py", line 77, in from_wordlist
with open(path, encoding=encoding) as wordlist:
Traceback (most recent call last):
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/configuration.py", line 87, in build_model
model = build_config(self.config_dict, self.ignored, warn_unused)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 200, in build_config
raise ConfigBuildException(key, exc) from None
neuralmonkey.config.exceptions.ConfigBuildException: Error while loading 'runners': [Errno 2] No such file or directory: 'tests/outputs/vocab/encoder_vocab.tsv'
Traceback:   File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 198, in build_config
value, config_dicts, existing_objects, 0)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in build_object
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 148, in instantiate_class
depth + 1)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 148, in instantiate_class
depth + 1)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in build_object
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 96, in
for val in value]
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 148, in instantiate_class
depth + 1)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 109, in build_object
obj = instantiate_class(value[7:], all_dicts, existing_objects, depth)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/config/builder.py", line 165, in instantiate_class
obj = clazz(*bounded_params.args, **bounded_params.kwargs)
File "/home7/wklee/neuralmonkey/bin/neuralmonkey/vocabulary.py", line 77, in from_wordlist
with open(path, encoding=encoding) as wordlist:
==============================================================
second)
in addition, if I want to train post-editing model with two encoders, is it correct way to define two attentions for two encoder such as below?
[attention_src]
class=attention.Attention
name="attention_src_encoder"
encoder=<src_encoder>
[attention_trans]
class=attention.Attention
name="attention_trans_encoder"
encoder=<trans_encoder>
[decoder]
.....
attentions=[<attention_src>, <attention_trans>]
.....
thank you sincerely.

Hi, first, you need to run bin/neuralmonkey-train tests/vocab.ini so the vocabulary is created.


Add --tag-suffix to apko publish command.

This is necessary to add a suffix to the generated version tags, e.g. foo:1.2.3-glibc instead of just foo:1.2.3.

Oh, I was a bit late :)

Improvements welcome for the next release cycle, of course ❤


Implement noex::TableAdmin::AsyncGenerateConsistencyToken.

Model this as a typical async unary RPC call: add a CompletionQueue and a Functor to the input parameters, return void, and the Functor takes the return parameter and a grpc::Status as inputs.
The first step is to propose the API in the bug, once approved, you must:

[ ] Implement this new function.
[ ] Implement an integration test for this new function.

This has been superseded by #1448.


Better file extensions for test certificates

Currently, all the certificates in the build/certs directory have *.pem extension.
This is quite confusing, and I suggest renaming it to more convenient names with *.crt extensions for certificates and *.key extensions for keys. Quite often, only combination of cert and key has *.pem extension.
Things to change:

Makefile.
Rename existing files to the correct names.
Try calling make to ensure it generates correct names.
Check filename occurrences in the source code to ensure we use correct (new) names everywhere.

DoD:

Tests pass

This is quite confusing, and I suggest renaming it to more convenient names with *.crt extensions for certificates and *.key extensions for keys. Only PEM format (combination of cert and key) should have *.pem extension.

All those files are in PEM format. And it is not clear if you propose to change names or extensions. Please update title/description.

Ok, then I think it's not so important. I updated the text but we can close the issue.


Quoted strings

Quoted strings are interpret incorrectly.
SimpleDateFormat:
System.out.println(new SimpleDateFormat("d.' of 'MMM").format(new Date()));

prints out _14. of Feb_ when:
console.log(moment().formatWithJDF("d.' of 'MMM"));

prints _14.' of 'Feb_

Workaround for this is to replace SimpleDateFormat quotes with square brackets before passing the formatString into formatWithJDF method.
e.g.
var end = false;
var fixed = formatString.replace(/\'/g, function(match) {
  return (end = !end) ? '[' : ']';
});

hey @anttileppa - thanks a lot for raising this issue and sorry for the long delay on answering your question/issue. if you have already an existing solution to the problem I'd ask you to open a PR so that we can include your fix into our next release - this would be awesome :+1:

the workaround doesn't work for the following pattern
yyyy-MM-dd[T]HH:mm:ss.SSS[Z]
the 'Z' is translated to ZZ

I can't see any quotes in the pattern you posted @gerpres ? The workaround @anttileppa posted was for "escaping" quotes 😃

sorry for that :-)
the pattern:
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
doesn't work.
neither with '' nor with []
the Z inside the quotation is always replaced by ZZ

ah, I see! thank you - I'll take a look at it and see what I can come up with in order to make the string escaping work 👍

have a look at...
moment.fn.toMomentFormatString = function (formatString) {
if (!javaDateFormats[formatString]) {
	  var mapped = "";

	  var regexp = /[^']+|('[^']*')/g;

	  while((part = regexp.exec(formatString))) {

		  part = part[0];

		  if(part.match(/'.?'/)) {
			  mapped+="["+part.substring(1,part.length-1)+"]";
		  } else {
			  mapped+=translateFormat(part, javaFormatMapping)
		  }
	  }

	  javaDateFormats[formatString] = mapped
  }
  return javaDateFormats[formatString];
};

closing due to the merge of PR #19 🥇


Accessibility: Name fields are not descriptive

I used the screen reader to make sure I could still navigate the site by screen reader only, and it worked pretty well. One thing I noticed was that for any field that had first name and last name, it said "Candidate for" instead of the label. Not sure if I have something specific on my Chrome browser that is doing that, but the label appears to be ok, and all the other fields work. Do you have any idea what the issue may be? Thanks!

I've never seen this. We don't have any code that says "Candidate for".  No idea what this is.


Delete context menu on connection selection

Hey @jerosoler !! First of all, thanks for the awesome library!
I was wondering if it is possible to include the Delete context menu for connections upon a connection selection. I have looked at the source code and the documentation and haven't found any options for this.
Thanks!

Second button on mouse, show contextmenu on connection.

@jerosoler Yeah! I noticed, but me and my team would like to show it everytime we select a connection to make it more intuitive for the users.

You can try this.
    editor.on("clickEnd", function(e) {
      if(e.target.classList[0] === "main-path") {
          editor.contextmenu(e);
      }
    });

Seen in this issue:

https://github.com/jerosoler/Drawflow/issues/47#issuecomment-708518414

This worked!! Thanks, @jerosoler !


As an author, I want to comment on posts that I can access

closed with PR: https://github.com/Zhipeng-Chang/CMPUT404-Winter-2019-GroupProject/pull/67


Docs

Hi - great library!
…but is there any place with complete docs ?

Thank you! I'm glad you're interested in it.
Unfortunately, there isn't. It's still in active, albeit slow development, and I haven't generated full API docs for it yet. However, the source code is well-documented with jsdoc so if you're using TypeScript you should have a lot of info in your IDE.
I believe I'll get on it within a few months. However, if you feel like helping out, you can generate it from the existing sources (that have full JSDocs) and submit a pull request.

I added full API documentation :smile: https://gregros.github.io/parjs/


Use the cargo-binstall action to install cargo-all-features faster

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (57ffa69) to head (65d9b89).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #49   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines         1590      1590
=========================================
  Hits          1590      1590

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Kubernetes Resource Overcomitting

Hi,
I've noticed that the 'prometheus-k8s-0' pod has a request AND limit for the same level:
cpu:     100m
memory:  25Mi
But it uses more:

By changing this are we able to prevent the overcomitting error?

This is set as default by the upstream libraries. It could be overridden in base_operator_stack.jsonnet.

Could be something like:
diff --git a/base_operator_stack.jsonnet b/base_operator_stack.jsonnet
index e8fca74..8a37783 100644
--- a/base_operator_stack.jsonnet
+++ b/base_operator_stack.jsonnet
@@ -69,11 +69,21 @@ local vars = import 'vars.jsonnet';
   prometheus+:: {
     // Add option (from vars.yaml) to enable persistence
     local pvc = k.core.v1.persistentVolumeClaim,
+
     prometheus+: {
+      local statefulSet = k.apps.v1.statefulSet,
+      local container = statefulSet.mixin.spec.template.spec.containersType,
+      local resourceRequirements = container.mixin.resourcesType,
+      local resources =
+        resourceRequirements.new() +
+        resourceRequirements.withRequests({ cpu: '200m', memory: '200Mi' }) +
+        resourceRequirements.withLimits({ cpu: '400m', memory: '400Mi' }),
+
       spec+: {
                // Here one can use parameters from https://coreos.com/operators/prometheus/docs/latest/api.html#prometheusspec
                replicas: $._config.prometheus.replicas,
                retention: vars.prometheus.retention,
+               resources: resources,
                scrapeInterval: vars.prometheus.scrapeInterval,
                scrapeTimeout: vars.prometheus.scrapeTimeout,
                externalUrl: 'http://' + $._config.urls.prom_ingress,

Customization provided.


x/crypto/ocsp: Verify ProducedAt, ThisUpdate, and NextUpdate against cert validity window

What version of Go are you using (go version)?

$ go version
go version go1.15.8 linux/amd64

Does this issue reproduce with the latest release?
Almost certainly. I don't see anything in https://github.com/golang/crypto/blob/master/ocsp/ocsp.go that would change the situation.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/twifkak/.cache/go-build"
GOENV="/home/twifkak/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/twifkak/.go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/twifkak/.go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.15"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build079748278=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://play.golang.org/p/oV4dSUSHMt9
ocsp.ParseResponse() does not validate that the response's ProducedAt is within the NotBefore/NotAfter range of the provided `cert.
ocsp.ParseResponseForCert(), if given an OCSP response with multiple SingleResponses, does not necessarily pick the one with the correct ProducedAt per the same logic.
What did you expect to see?
&ocsp.Response{Status:2, ...
panic: no response matching the supplied certificate

What did you see instead?
&ocsp.Response{Status:0, ...
&ocsp.Response{Status:0, ...

cc @agl

It looks like the library ought to check ThisUpdate and NextUpdate against the cert's validity window, too. LMK if you want me to provide a minified test case for you like I did with ProducedAt.

/cc @FiloSottile @rolandshoemaker
Note: I think historically, Go has taken a conservative approach, even though specific certificate profiles (e.g. Web PKI) may make more stringent requirements. I know @FiloSottile tries to find the right balance, but I did want to explicitly acknowledge he may decide to WontFix this and leave it to implementations to enforce :)
So, enforcing thisUpdate, nextUpdate, or producedAt is <= validity.notAfter should definitely not be done, because they are valid OCSP responses providing data for historic certificates ("archival purposes" in RFC 6960). Certain certificate profiles and application classes may totally want to prohibit such a scenario, but that's not something that generalizes to OCSP.
Enforcing thisUpdate is >= validity.notBefore is also something that should not be done. It's a statement of the responder's knowledge (as covered in https://tools.ietf.org/html/rfc6960#section-2.4 ), and it's conceivable they have PKI-specific context (e.g. it may be a reflection of an underlying credential type used by the CA to issue the actual certificate).
For the other bits, I think it may make sense specific to the application? We've not yet profiled these in the Web PKI, and the closest profile I'm aware of is the (mandatory-but-not-mandatory for Web PKI) RFC 5019, Section 2.2.4


visualization problem

Thank you for sharing. I would like to ask what might be the problem when, after running the run_nuplan_test file, there are no error messages and a test_log folder is created, but the nuboard that pops up is empty?

I have the same problem, are you solution it ?

Can you try directly launching the nuBoard from the command line?
python nuplan-devkit/nuplan/planning/script/run_nuboard.py simulation_path=/your/path

I have solve this issue;

Copy the nuborad folder and config folder to Gameformer-planner proj;
run the python Gamefromer-planner/run_board.py simulation_path=[xxx/xxx.nuboard]


integrate with "Diff & Merge"

(From "Diff & Merge" but should be the visa-versa)

This is a great extension, but it only works on a single file. It would have been very useful if the feature could have been called from within a folder compare function such as the author's awesome Compare Folder extension, to allow integration of entire project trees without having to invoke the command over and over again (possibly hundreds of times...).

The reasonable use pattern would be to run Compare Folders, then go over the diffs, and have the diff-merge extension automatically available and operational within the extension's toolbar on every file being reviewed from the diff list.

I've started the implementation. Hopefully it will be in the next release (0.12.0).
Meanwhile, I'd be happy if you can test it. You can download it from here.
This option is off by default. In order to enable the integration, search for compareFolders.useDiffMerge in the settings page.

@Zvika88 ☝


Fix type mismatch while taking a screenshot using the resident runner.

Fixes https://github.com/flutter/flutter/issues/20550


Embedd the recorder into the AnsweringMachine process

Extract from #17

the docker support launches an answering machine backed by tropo file storage as a single process can be started

Moved to vNext as it would be super sexy to be able to choose the recording service in a containerized hosting environment

will wait for user demand
moved to triage


Colliding actions nullify each other

Installation information

jumpscale version: 9.2
operating system: Ubuntu

Detailed description
My scenario goes as following:

I have a service with an error in the install action
Then I closed my ays server (don't know if that's relevant though)
I then execute blueprint with a delete in its action for that service
When I execute ays run create -f, I can see that ays is trying to reschedule the failed install action even though I want to delete and clearly the delete action here has the highest priority

Suggested way to fix that

Add a way to configure actions priorities (maybe in the service's config file), for example for that service I want to make the delete action with the highest priority. So when the delete action is issued all the other actions that're scheduled get thrown under the bus.

Perhaps we could instead always give priority to the last desired action, unscheduling previously scheduled actions.

Let's  not try to patch this in a dirty way. This problem is known and need to be fixed by improving how AYS deals with this kind of case. Should be dealt in the next iteration of AYS

a new version of ays fixes this


[stable/prometheus] imagePullSecrets not supported

The prometheus chart does not seem to support custom image pull secrets.
Is your feature request related to a problem? Please describe.
I need to be able to pull the prometheus containers from a private registry hosted behind a firewall.
Describe the solution you'd like
I would like to see imagePullSecrets as a supported value just like in stable/nginx-ingress.
Describe alternatives you've considered
I've considered patching various service accounts with image pull secrets, but this seems very hacky.

Prometheus chart does support imagePullSecrets https://github.com/helm/charts/blob/3e262279b2abd4745a6e8b09c321ba4849003308/stable/prometheus/values.yaml#L7

Thank you! I missed that when scanning the file.


Fix orientation change bug on WKWebView

Fixes issue https://github.com/Jasonette/JASONETTE-iOS/issues/352

Thanks.
added in this pull request https://github.com/jasonelle/jasonette-ios/pull/1
to jasonelle version.


Add "support" for all Kotlin targets

When adding the gradle plugin it to my kotlin multiplatform module and syncing with IDE, all of the source sets except the android ones get removed from the IDE.
I get this message:

Also, in the project view only the android source sets are configured correctly. I then get no code intelligence when editing files in any of the other source sets.

As soon as I remove the plugin and sync again, all of the source sets get added back to the IDE:

Any ideas what could be causing this or how to diagnose it further? The plugin seems quite simple so I'm not sure why this would happen. I tried disabling all other third party plugins in the module (just keeping kotlin and android plugins) and I still have the same issue.

The gradle plugin will automatically add the core and annotations dependencies to the commonMain sourceset.
Currently these only support JVM, iOS, macOS, watchOS and tvOS targets.
Which is probably causing the issue since you also have a JS target.
I will have to take a look at adding other targets as well.
Since the whole library is no-op on non Apple targets that shouldn't be a big issue.
In the mean time you could manually add the kmp-nativecoroutines-core dependency to your Apple targets and define the native properties and functions yourself instead of using the plugin.

Ah that makes sense. I'll give that a try, thanks!

v0.8.0 adds support for both the js and linuxX64 target.
This should fix any issues with the plugin not working in projects that use these targets.


Update to nav to allow more flexible routing

This PR updates how routing works to add the ability to manage the anchor text of a link separate from its actual URL used in the routing. For now, this is the only change, but we can continue to extend this record if we need things like "groups" of related pages we'd like to keep together with a subhead.

👍 -- I was thinking about the same thing.

@whoadave @crcornwell @foresttoney If no one objects by noon, I'll merge this.


Something wrong with login in leetcode

Problem Summary

How to reproduce

Environment

leetcode-cli version:2.5.1

OS version:win10
Node version:
Npm version:

@leekaka could you try the latest code?
npm install -g skygragon/leetcode-cli

duplicated to #92

Thanks! everything is ok!


Fix BatchController update method

Fix the errors.find callback in BatchController::update so that update errors are properly thrown.
mUpdate errors have the following shape
{
  document: {
    _id: 'foo',
    ...
  },
  reason: 'bla bla I complain about sth LOL'
}

The errors.find routine was looking for the _id field right at the root of the error object, whereas it is within the document object. The result was that the error was not thrown and undefined was returned by the function, since successes[idx] pointed to nothing. This has been fixed.
TODO
Tests should be written for the BatchWriter, on the following cases

Adding a field to a device/asset with strict mapping (meaningful error should be thrown)
Creating an asset in a collection that doesn't exist (meaningful error should be thrown) - case of broken fixtures

These cases are theoretically fixed by this PR.

I will need to re-open a new PR on a different branch starting from master to release only this hotfix

See https://github.com/kuzzleio/kuzzle-device-manager/pull/148


Feature: Add environment variable parsing.

Allows for environment variable parsing fallbacks:
@app.default
def foo(bar: Annotated[int, Parameter(env_var="BAR")] = 123):
    pass

The priority order is:

CLI-provided values
Values parsed from Parameter.env_var.
Default values from the function signature.

Addresses #18.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (75f13ae) 92.50% compared to head (dad05fc) 92.44%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   92.50%   92.44%   -0.06%
==========================================
  Files          10       10
  Lines        1080     1099      +19
  Branches      258      261       +3
==========================================
+ Hits          999     1016      +17
- Misses         45       46       +1
- Partials       36       37       +1

Flag
Coverage Δ

unittests
92.44% <100.00%> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@rbonthond let me know what you think of this.

that works for me, thank you!


fix(KONFLUX-3663): format PipelineRun files and upload SAST results

This update configures the SAST task to upload SARIF results to quay.io for long-term storage
Please note that this PR was automatically generated and may include unrelated changes due to automatic YAML formatting performed by yq
The YAML files will be indented using 2 spaces, if the YAML file uses indentationless list the automation will try to keep this format
The PR contains two separate commits:

Format YAML files: Ensures consistent indentation and formatting of the YAML files
Upload SAST results: Configures the PipelineRun files to enable uploading SARIF results to quay.io

Separating these changes into two commits simplifies the review process. The first commit focuses on indentation and formatting, while the second commit contains the semantic changes
Related:

https://issues.redhat.com/browse/KONFLUX-3663
https://issues.redhat.com/browse/KONFLUX-2263

Closing due to recent changes. If necessary a new PR will be opened by Konflux.


string interpolation with f-string

This is not a related to some problem or any criticals but just a coding style for python >= 3.6.
What do you thjink to replace all the "%s" string formatting statements with f-string?
It's not so important but it would be a good starting point for future projects and releases
Additional context
https://www.python.org/dev/peps/pep-0498/

You should open it on italia/spid-compliant-certificates-python


az aks cli == [SSL: CERTIFICATE_VERIFY_FAILED] -- during "az aks install-cli" (Azure Cli 2.0.38) on Mac HighSierra

Describe the bug
Cannot Install AKS CLI
Device: MAC HIghSierra
Azure CLI v2.0.38
--- this is also reported by 'miaojiang'  ... "Facing the same issue on Mac when running az aks install-cli, using v2.0.38" IN ISSUE: 'In az aks install-cli "certificate verify failed" #5302'
To Reproduce
while trying to execute: az aks install-cli
Expected behavior
install aks cli
Environment summary
Device: MAC HIghSierra
Azure CLI v2.0.38
Additional context
ERROR COPY (Command & Output):
[COMMAND]
$ az aks install-cli
[OUTPUT]
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 814, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1068, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 337, in execute
six.reraise(*sys.exc_info())
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 311, in execute
result = cmd(params)
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 171, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/azure/cli/core/init.py", line 421, in default_command_handler
result = op(**command_args)
File "/usr/local/Cellar/azure-cli/2.0.38/libexec/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 288, in k8s_install_cli
context=context).read()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>

How was the issue closed? I still have this problem on OSX high Sierra. I don't want to install separately  Kubectl and stuff. Any help on this?

I had emailed back then, that I solved it via a work-around, and how I had done that. So, you can close this tix.
Sincerely,
Roop
From: Sudharma<EMAIL_ADDRESS>Reply-To: Azure/azure-cli<EMAIL_ADDRESS>Date: Friday, October 26, 2018 at 5:07 AM
To: Azure/azure-cli<EMAIL_ADDRESS>Cc: "Roop [GET REVEEL]"<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Azure/azure-cli] az aks cli == [SSL: CERTIFICATE_VERIFY_FAILED] -- during "az aks install-cli" (Azure Cli 2.0.38) on Mac HighSierra (#6651)
How was the issue closed? I still have this problem on OSX high Sierra. I don't want to install separately Kubectl and stuff. Any help on this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/issues/6651#issuecomment-433358347, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbjGeqhNF4We1cR2-g-KGq8HERaC3uahks5uot7bgaJpZM4U3Bcw.

This is not resolved.


Yamls (and sumstats) not being created

Several issues possibly connected:
🟡 It seems that all GCSTs created on staging since 05.04.24 have no yamls, either on staging or public FTP.
-- ✅ Generate the missing YAML files
---- ✅ List all GCSTs created since Apr 5
------ ✅ Send the list to Yue too
---- ✅ Publish RabbitMQ message for them using https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/gwas-sumstats-service/327
---- ✅ Check if the missing yamls are synced to the public ftp
-- 🔴 Clean up test submissions from prod db
~🔴 One particular submission with more than 6,000 studies only has md5sums in GCST directories on staging and released to public. No sumstats files or yamls have been created. Submitted on 31.03.24. https://www.ebi.ac.uk/gwas/deposition/submission/6608c665db8d9f000198b901~ Moved to https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/goci/1304
~🔴 There seem to be folders being created on staging for GCSTs which do not have sumstats. Previously, folders were only created on staging for those GCSTs with full p-value set ticked (i.e. have sumstats) - eg. GCST90321079, GCST90310292, GCST90397904~ Moved to https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/goci/1306

[ ] After the item 1 is fixed, also generate the missing YAML files.

Item 1 should be fixed now.

created another issue for the 2nd issue as it's a different case. https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/goci/1304

created another issue for the 3rd issue as it's a different case. https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/goci/1306

List of all GCSTs created since Apr 5 is at /hps/nobackup/parkinso/spot/gwas/scratch/goci1292/gcst_ids.txt

Published them to RabbitMQ.

I've updated the crontab entries for depo-sync. There are now two entries: one begins at 13:00 and the other at 20:00. Each runs for 3 hours and 55 minutes to prevent overlap with ftp-sync, which starts at midnight.

Missing yaml seem synced to the public ftp. Please validate @earlEBI

@eks-ebi pls help confirm ...

@karatugo There are still several GCSTs on public without yamls, eg:
http://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST90428001-GCST90429000/GCST90428117/
http://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST90428001-GCST90429000/GCST90428431/
These are from separate submissions, 1 is published, the other is not.
This is not an exhaustive list of GCST directories on public FTP without yamls, just 2 I found randomly.

Hmm, this is because the list of GCSTs created since Apr 5th is created on May 1st. That doesn't include the ones published after May 1st. I'll run the list generation and yaml generation again now but I think moving forward we can do this on ad hoc basis. This is because our system cannot generate yamls for studies which are not the public ftp yet.

Ok, so, say, once a week, all the sumstats released in the previous week will have yamls generated in one go?

The list of studies without yaml files: /hps/nobackup/parkinso/spot/gwas/scratch/goci1292/gcst_ids_no_meta_file2.txt

Published the list to RabbitMQ using https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/gwas-sumstats-service/327

@karatugo ok I think I understand, thanks.

After merge, use https://github.com/EBISPOT/gwas-sumstats-service/pull/328 for publishing again. This is needed for the edge cases, e.g., GCST003001-GCST004000/GCST003898 and GCST90427001-GCST90428000/GCST90428000

@karatugo 'll fix some few bugs discovered yesterday.

Fixed the bugs discovered. https://github.com/EBISPOT/gwas-sumstats-service/pull/337

Published the GCST IDs to RabbitMQ after the fix. Expect the files in the pub ftp in 2 days.
Published GCST ID: GCST003898
Published GCST ID: GCST90384000
Published GCST ID: GCST90385000
Published GCST ID: GCST90386000
Published GCST ID: GCST90387000
Published GCST ID: GCST90388000
Published GCST ID: GCST90389000
Published GCST ID: GCST90390000
Published GCST ID: GCST90422000
Published GCST ID: GCST90422150
Published GCST ID: GCST90423000
Published GCST ID: GCST90424000
Published GCST ID: GCST90425000
Published GCST ID: GCST90426000
Published GCST ID: GCST90427000
Published GCST ID: GCST90428000

GCST90422150 synced to the pub ftp and generated for this as well.

Created clean-up task. https://github.com/EBISPOT/goci/issues/1325

Check on Monday May 5 if the files are the pub ftp for the following.
Published GCST ID: GCST003898
Published GCST ID: GCST90384000
Published GCST ID: GCST90385000
Published GCST ID: GCST90386000
Published GCST ID: GCST90387000
Published GCST ID: GCST90388000
Published GCST ID: GCST90389000
Published GCST ID: GCST90390000
Published GCST ID: GCST90422000
Published GCST ID: GCST90422150
Published GCST ID: GCST90423000
Published GCST ID: GCST90424000
Published GCST ID: GCST90425000
Published GCST ID: GCST90426000
Published GCST ID: GCST90427000
Published GCST ID: GCST90428000

Yamls for the published GCST ID are present in the pub ftp.

@earlEBI Please confirm if this ticket can be closed.

@karatugo
Sample info and ontology mapping are missing for http://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST003001-GCST004000/GCST003898/
Ontology mapping is missing for http://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST90427001-GCST90428000/GCST90428000/ , etc.

@sajo-ebi Sample info and ontology mapping data (key: efo_trait is missing from the ingest api response. See for example:
https://www.ebi.ac.uk/gwas/ingest/api/v2/studies/GCST003898
https://www.ebi.ac.uk/gwas/ingest/api/v2/studies/GCST003898/samples
https://www.ebi.ac.uk/gwas/ingest/api/v2/studies/GCST90428000

@karatugo I checked both the GCST in DB the efo trait information is missing for both studies . Also Sample information is missing for the GCST 'GCST003898', this can verified by logging in to the below submissions in Deposition app & clicking on the ' Download Study Accessions'
65fc3dcab73c7400017c34b2
65f9de3adb8d9f0001966a07

Hi @earlEBI

Ontology mapping is missing for http://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCST90427001-GCST90428000/GCST90428000/ , etc.

we think these studies shouldn't have EFO as it's a prepub submission, could you just confirm that  is correct please?

@ljwh2 That makes sense. I assumed the field just wouldn't exist for pre-pub submissions but if it's supposed to just appear empty, that's okay.
The sample is still empty for GCST003898
And file_type is empty for GCST90428000 and others.

The sample is still empty for GCST003898

Will be fixed in https://github.com/EBISPOT/gwas-sumstats-tools/pull/41

Regenerated YAML for GCST003898. Expect the files in the public ftp in 2 days.

Published GCST IDs (GCST90428000 and other studies of this huge submission) to RabbitMQ. Expect them in the public ftp in 2 days.

Looks good to me.

Checked a few, look ok.


Save wont load with latest version (0.2.3)

Mods used in the save are CoI.Mod.Better and captain of cheats https://github.com/altmank/CaptainOfCheats/releases/tag/v1.9.0 (I used the latest versions for both)
The save and logs are here because they exceed the 25mb limit for github:
https://drive.google.com/file/d/1kM3uDVfLB3UUzjhzgV5MHlG5YowgjMMu/view?usp=sharing
The save wont load, something in the log file about void producer loose cheat.

You have cheats disabled? It may be that you need to restart from an earlier save, one before you used any of the forked versions... What versions did you use from here?

Also it's possible your 'cheats' settings may need adjusting, those void producers are only supposed to exist if the cheats are enabled...


Image path not updating with reload_cmd

hyprlock.conf:
# # Player Art
image {
    monitor = HDMI-A-1
    path =
    size = 300 # lesser side if not 1:1 ratio
    rounding = 5 # negative values mean circle
    border_size = 0
    rotate = 0 # degrees, counter-clockwise
    reload_time = 1
    reload_cmd = ~/scripts/albumart/albumart.sh
    position = 0, 0
    halign = center
    valign = center
    opacity=1
}

I'm trying to have my Spotify album art load on the lockscreen, but for some reason reload_cmd is not updating path with the filepath that the script outputs. For example, I can run the script myself and paste the output into path (ex: /home/careb0t/scripts/albumart/images/ab67616d0000b273590bbc64f2f84baca946b0f8.jpg), but whenever I leave the path blank for the script to update it, the image is never rendered.
If it matters, this is the script:
get_metadata() {
	key=$1
	playerctl metadata --format "{{ $key }}" 2>/dev/null
}

trackid=$(get_metadata "mpris:trackid")
	if [[ "$trackid" == *"spotify"* ]]; then
        url=$(get_metadata "mpris:artUrl")
        name=$(basename $url)
        if [ ! -f "images/$name.jpg" ]; then
            # File does not exist, download the image
            curl -o "images/$name.jpg" "$url"

        fi
        realpath "images/$name.jpg"

    else
		echo ""
	fi

Well you have 2 Problems.

hyprlock's image widgets currently don't support jpg files. (Created #433 to fix that)
Your script caused some issues for me.
First use 		curl -o "images/$name.jpg" "$url" 2>/dev/null so that curl does not print stuff.
Second, I would hardcode the path for images to /tmp/images or smth like that, since your current working directory will be different when ran by hyprlock.

I think this issue can be closed.


Bot inventory lost when you pick it up

Steps to reproduce:

Place seeds (or presumably anything else) into a bot.
Break the bot with a pickaxe and pick it up.
Put it back down again.
Open the bot and observe that the seeds (or whatever) are now gone.

(Reported by Discord user Mayer, not yet verified.)

This is definitely fixed with #35, since we now don't allow the bot to be picked up if it contains items.

This is believed fixed as of v1.0.7.  I suspect this user was using an older version of the mod.

I see.
Even if this was an issue in the latest version with #41 the inventory was added to modData, so there should really be no way to make this happen again!


Added variables to customize margins for checkbox, radio, select and …

My proposal for additional scss variables for margins customizations. Details are there:
https://github.com/zurb/foundation-sites/issues/8424

Maybe also needed some changes to form-error and foundation-form-fieldset or else, but I'm not sure.

I think that this PR will go againt's new Foundation philosofies, but, :+1:

I'm not familiar with new Foundation philosofy, so it's up to community responible people decide whether this approach appropriate. Maybe I should solve these problems another way. I would be interested to consider for alternatives.

This is an API change, so the PR should be against v6.3.0 rather than develop.  Other than that, @andycochran or @brettsmason what are your thoughts on making this change in the scss?

@kball I understand the reasoning for wanting to implement additional control over this (though I havent had the need for this myself other than labels). The only thing I wondered is if the variables should be prefixed with form (so $form-checkbox-margin etc) just to make them really clear, but I'm not sure.

Shouldn't these also be exposed in _settings.scss?

I'm pretty sure the _settings.scss file is generated by Octophant on each release so no need to add them to settings, but I could be wrong (I'm sure I remember Geoff saying this).

@brettsmason That's right! Octophant will update the settings file when we deploy a version or if you run npm run deploy:settings - so you're good!

@uranuz Can you point this to branch v6.3 so we can merge it? Thanks!

@andycochran @brettsmason how did you feel about this change?

Only issue I see is the inconsistent variable prefixes.

I'm not a fan of adding these, mainly since it's something that can be nearly as easy to change in css as it would be in the settings. Variables are great when a single variable changes many many things or some math occurs to make them more useful.
This seems to just be moving code from one place to another.

Based on @zurbrandon's comment I'm going to close this without merging.  If you'd like to reopen with an argument as to why this is adding more value/needed please do.


Questions on latency, use of external data and ch0

Hi, Thanks so much for organizing the challenge, and providing detailed docuement.
I am very interested on it and have a few questions below:
1). There is 5-ms latency limitation for the enhancement model. Will the frame length be counted in latency? I read some papers in CEC1. One team (paper) used a 32-ms window. I am wondering if this long window size (beyond 5ms) is allowed in CEC2?
2). Regarding on the use of external data. I plan to use external noisy data to train a more robust denoising module. If I do this, seems I have to submit two systems, with using and without using external data. If I plan to submit entries for HASPI and listening tests, respectively, does this mean I need to submit four entries (2 tests X 2 data uses) in total?
3). Just one thing to confirm: Was ch0 (eardrum) signal also included in the release of CEC1 dataset?
I found ch0 was included in CEC1 data (written in document), but seems many submissions only used 6 channels (ch1~3 pairs), and no team used ch0. So just curious on it.
Again, thank you so much for your work and time!

Thank you for raising these questions

Yes, there is a 5-ms latency limitation for CEC2 and we will be stricter about checking.
If external training data is used we will ask for two submissions for the HASPI testing. The capacity of the listening panel is limited so we will only ask for one entry for listening test evaluation - this may be a system that has used external data.
ch0 (eardrum) is available in the train and dev data but will not be available in the evaluation data and should not be used as a system input. The hearing aid algorithm should only be using the hearing aid inputs CH1, CH2 and CH3.

If you have any further questions about the challenge please post them on the google group. https://groups.google.com/g/clarity-challenge


Correctly open rbd image in ceph backup driver.

Currently in _check_restore_vol_size of ceph backup driver, destination
rbd volume is opened by RADOSClient with authentication of cinder backup
user. This will lead to PermissionError.
In fact destination rbd volume is already opened as a RBDImageIOWrapper
object, which is also passed to cinder-backup restore function, so we
should just use it.
Change-Id: Ibdfd0e0b09410eb47e3ebc6ce61d4473cf0d5677
Signed-off-by: Zhao Chao<EMAIL_ADDRESS>

Fix: http://<IP_ADDRESS>/issues/9649


Add new details view by license

The same way we have package (and the related resources and licenses) and resources  (and the related packages and licenses)  listings, it would be useful to have a licenses and/or license expressions listing (and the related resources and packages)

@lf32 you asked in a chat:

could you please elaborate

Design wise, this would mean having a list view that is by license expression and for a start could provides links to a package that has such license (we could expand later to the resources of a package... but not sure that would be useful.
Alternatively, another design could be to have a license/license expression filter in resources and packages list views

A new "Resources detected license expressions" panel was added in the project details view.

It does not entirely address this issue, but It's a base that we can expand further into a more complex independent list view.


RFC: Using the Lean Frontend to compile multiple modules

Both @adamtopaz and I have recently been trying to use functions from Lean.Elab.Frontend to compile files from Mathlib.
In my case it is to extract data from InfoTrees (e.g. with to export all goal/tactic pairs in the library, or answer questions like "of goals currently closed by aesop, how many are solvable by my_other_tactic).
In a recent zulip thread we've both reported similar difficulties. This issue summarises the problems, with a reproducible test case.
To reproduce
A minimized version of this is set up as a test in #2407, which of course currently fails.
You can put the following file into either Mathlib, or any project depending on Mathlib.
-- Save as "Frontend.lean"
import Lean.Elab.Frontend

open Lean Elab

unsafe def processInput (input : String) (initializers := false)  :
    IO (Environment × List Message) := do
  let fileName   := "<input>"
  let inputCtx   := Parser.mkInputContext input fileName
  if initializers then enableInitializersExecution
  let (header, parserState, messages) ← Parser.parseHeader inputCtx
  let (env, messages) ← processHeader header {} messages inputCtx
  let s ← IO.processCommands inputCtx parserState (Command.mkState env messages {}) <&> Frontend.State.commandState
  pure (s.env, s.messages.msgs.toList)

open System in
def findLean (mod : Name) : IO FilePath := do
  return FilePath.mk ((← findOLean mod).toString.replace "build/lib/" "") |>.withExtension "lean"

/-- Read the source code of the named module. -/
def moduleSource (mod : Name) : IO String := do
  IO.FS.readFile (← findLean mod)

unsafe def compileModule (mod : Name) (initializers := false) :
    IO (Environment × List Message) := do
  processInput (← moduleSource mod) initializers

unsafe def main (args : List String) : IO Unit := do
  initSearchPath (← findSysroot)
  let mut initializers := false
  match ← IO.getEnv "LEAN_INITIALIZERS" with
  | some "ONCE" =>
    IO.println "Invoking `enableInitializersExecution` once at the beginning."
    enableInitializersExecution
  | some "EACH" =>
    IO.println "Invoking `enableInitializersExecution` at each compilation."
    initializers := true
  | _ =>
    IO.println "Not invoking `enableInitializersExecution`"
  for mod in args do
    IO.println s!"Compiling {mod}"
    let (_, msgs) ← compileModule mod.toName initializers
    for m in msgs do IO.println (← m.toString)

and add it to your lakefile with the entry:
lean_exe «frontend» {
  root := `Frontend
}

Usage
Now the command lake exe frontend module1 ... modulen will try to compile the named modules, one after the other.
The goal is to be able to run this on an arbitrary subset of modules from Mathlib. (Although having a limitation such as requiring a topological sort of the import graph would not be serious obstacle.) However at the moment I can only get this to work on a single module at a time.
Further, we can control when enableInitializersExecution is run, using an environment variable LEAN_INITIALIZERS, set to ONCE, EACH, or NONE.

For ONCE, we execute enableInitializersExecution once, before starting to compile anything.
For EACH, we execute enableInitializersExecution before compiling each file.
For NONE, we don't run it at all.

Results

NONE simply doesn't work at all:

% LEAN_INITIALIZERS=NONE lake exe frontend Mathlib.Algebra.Abs
Not invoking `enableInitializersExecution`
Compiling Mathlib.Algebra.Abs
libc++abi: terminating with uncaught exception of type lean::exception: cannot evaluate `[init]` declaration 'Mathlib.Prelude.Rename.linter.uppercaseLean3' in the same module

ONCE works on any single file, but not on any two files:

% LEAN_INITIALIZERS=ONCE lake exe frontend Mathlib.Algebra.Abs
Invoking `enableInitializersExecution` once at the beginning.
Compiling Mathlib.Algebra.Abs

% LEAN_INITIALIZERS=ONCE lake exe frontend Mathlib.Algebra.AddTorsor
Invoking `enableInitializersExecution` once at the beginning.
Compiling Mathlib.Algebra.AddTorsor

% LEAN_INITIALIZERS=ONCE lake exe frontend Mathlib.Algebra.Abs Mathlib.Algebra.AddTorsor
Invoking `enableInitializersExecution` at each compilation.
Compiling Mathlib.Algebra.Abs
Compiling Mathlib.Algebra.AddTorsor
libc++abi: terminating with uncaught exception of type lean::exception: cannot evaluate `[init]` declaration 'Mathlib.Tactic.reflExt' in the same module

EACH works on any single file (because it is equivalent then to ONCE!) and fails with a different error message when run on any two files:

% LEAN_INITIALIZERS=EACH lake exe frontend Mathlib.Algebra.Abs Mathlib.Algebra.AddTorsor
Invoking `enableInitializersExecution` at each compilation.
Compiling Mathlib.Algebra.Abs
Compiling Mathlib.Algebra.AddTorsor
PANIC at Lean.PersistentHashMap.find! Lean.Data.PersistentHashMap:160:14: key is not in the map
...
<input>:6:0: error: invalid option declaration 'linter.uppercaseLean3', option already exists
...

(Many copies of the PANIC, and many subsequent errors, have been snipped.)
Minimization
A minimal set of files to observe this behaviour is:
-- Save as "Frontend/RegisterOption.lean"
import Lean

register_option option : Bool := {
  defValue := true
  descr := ""
}

-- Save as "Frontend/Import1.Lean"
import Frontend.RegisterOption

-- Save as "Frontend/Import2.Lean"
import Frontend.RegisterOption

and then run
% LEAN_INITIALIZERS=EACH lake exe frontend Frontend.Import1 Frontend.Import2
Invoking `enableInitializersExecution` at each compilation.
Compiling Frontend.Import1
Compiling Frontend.Import2
<input>:1:0: error: invalid option declaration 'option', option already exists

Discussion
Up for discussion:

Do we really need this? Is working one file at a time manageable?
Are there ways to achieve this goal with the existing code?
@digama0 has suggested a change that addresses this issue https://github.com/leanprover/lean4/pull/2398, but requires a change to Lean 4. With that we have:

-- % LEAN_INITIALIZERS=REINIT lake exe frontend Mathlib.Algebra.Abs Mathlib.Algebra.AddTorsor
-- Invoking `enableInitializersExecution` and `enableReinitialization` at each compilation.
-- Compiling Mathlib.Algebra.Abs
-- Compiling Mathlib.Algebra.AddTorsor

I've grafted the failing test from #2407 onto that PR, and modified it to use enableReinitialization.

What do you want to do about tools that assume that there's only one module per process (like library search which assumes the imports never change).  Or about global variables like the list of attributes, or the built-in parsers/elaborators/etc., or trace classes etc.?  All of these could break elaboration if you load more modules than those that are explicitly imported.  (And of course on mathlib-scale, could means it will on at least one file.)
Can you elaborate on what tools this would enable?  In my experience, the main bottleneck is needing to elaborate the files to access the info trees.  Running the initializers (what #2398 enables) is only a fraction of the import time (which is IIRC dominated by constructing the discrimination tree for the simp set, and building the name→declaration hash map).  Elaborating the file itself is orders of magnitude slower still.

In my case it is to extract data from InfoTrees (e.g. with to export all goal/tactic pairs in the library, or answer questions like "of goals currently closed by aesop, how many are solvable by my_other_tactic).

Both of these applications seem more easily solved by running one process per file and then concatenate the results.  (Which also means you can trivially parallelize it.)

Running the initializers (what https://github.com/leanprover/lean4/pull/2398 enables) is only a fraction of the import time (which is IIRC dominated by constructing the discrimination tree for the simp set, and building the name→declaration hash map). Elaborating the file itself is orders of magnitude slower still.

The purpose of #2398 was not to improve the performance but just to make it possible to run elaboration more than once in the same process. This was a problem for me even when driving lean from a non-lean program which does not use the lean lifecycle for elaboration (e.g. a rust library that allows clients to elaborate lean files). As long as the IO refs are reset every time you re-elaborate it's fine, but initializers are especially pernicious in this regard because there is no way to unset the initializers.
If there are other bits of code here and there using global state they might also need review, but initialization is specifically important because without initialization you can't call any lean code at all, even if you aren't running the elaborator. I think most of the examples you give are only a problem for builtin_initialize, and in this case the list will already contain things from outside the current environment (since it has everything from the previous stage).

This was a problem for me even when driving lean from a non-lean program which does not use the lean lifecycle for elaboration (e.g. a rust library that allows clients to elaborate lean files).

My point is that this usage is just not supported at all, because importing modules changes the global state.  And that this is the reason why nobody bothered to support reinitialization.
An additional complication that I just remembered is multi-threading.  Most initializers expect to run single-threadedly, and before any other Lean code is executed.  For example adding an environment extension will cause out-of-bounds accesses on existing environment objects.

the examples you give are only a problem for builtin_initialize

You are correct for elaborators and parsers, the rest uses initializers always.  (Attributes, parser aliases, environment extensions, trace classes, etc.)

My point is that this usage is just not supported at all, because importing modules changes the global state. And that this is the reason why nobody bothered to support reinitialization.

I'm aware of this, that's why the title was "basic support for reinitialization". The assumptions run deep but maybe we can fix some of the most obvious issues. I don't think it is long term sustainable for lean as a general purpose programming language to not be able to support either resetting global state or making it less global. (Another application that I now remember hit this issue was lean REPL, it really wants to be able to reset the state without exiting the process.)

Another application that I now remember hit this issue was lean REPL, it really wants to be able to reset the state without exiting the process.

Without even touching the REPL API, there is no reason why it couldn't spawn a subprocess every time you send it an import ... command.  (Just like the LSP server and mathport already do.)

One reason is because there is other state (e.g. for the REPL itself) which is persisted between files. With the current architecture you can't have cross-session data and lean environment objects (or anything depending on them) living in the same process, unless you use an RPC protocol (with its attendant restrictions regarding e.g. closure objects). If it's a clean wipe you may as well just quit the process itself and restart it.


[Event Request] Codeunit 900 "Assembly-Post" - OnAfterValidatePostingDate

Hi, would it be possible to get an event OnAfterValidatePostingDate in codeunit 900 (Assembly-Post), like this:
    local procedure ValidatePostingDate(var AssemblyHeader: Record "Assembly Header")
    var
        BatchProcessingMgt: Codeunit "Batch Processing Mgt.";
    begin
        if not PostingDateExists then
            PostingDateExists :=
              BatchProcessingMgt.GetBooleanParameter(
                AssemblyHeader.RecordId, "Batch Posting Parameter Type"::"Replace Posting Date", ReplacePostingDate) and
              BatchProcessingMgt.GetDateParameter(
                  AssemblyHeader.RecordId, "Batch Posting Parameter Type"::"Posting Date", PostingDate);

        if PostingDateExists and (ReplacePostingDate or (AssemblyHeader."Posting Date" = 0D)) then
            AssemblyHeader."Posting Date" := PostingDate;

        OnAfterValidatePostingDate(AssemblyHeader, PostingDateExists, ReplacePostingDate);
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterValidatePostingDate(var AssemblyHeader: Record "Assembly Header"; PostingDateExists: Boolean; ReplacePostingDate: Boolean);
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Idk wtf you want me to call this

Bagel Update 1
-metal walls have been turned into solid walls (my bad)
-HoS office has been reduced 1 tile to make sec less claustrophic.
-grinder has been added to chem
-sinks have been added to kitchen and community garden
-singulo now had radiation collectors... oops
-kitchen now has shutters with a button (use the multitool)
-the red phone has been added to captain's office
-HoP can now actually open their room, and ian has a dog bed
-maints are now slightly darker due to complaints of not spooky enough
-a single piece of plasma has been hidden for chems to find
-moved autolathe back a bit due to cargo feedback
-added lisa to captain's office
-added shutters to perma window and a button nearby, warden has a multitool in his room for hooking this up
-gambling den has been drawn out by 1 tile due to a gambling addicts request
-added more secrets

closed to put new one because i forgot 1 thing


Disable playback.ReplayStep for windows (#517)

➡ Forward port
Port gz-transport13 to gz-transport14
Branch comparison: https://github.com/gazebosim/gz-transport/compare/gz-transport14...claraberendsen:claraberendsen/13_to_14_2024-10-01
Follow up of https://github.com/gazebosim/gz-transport/pull/517, https://github.com/gazebosim/gz-transport/pull/518, https://github.com/gazebosim/gz-transport/pull/521, #522
Disables https://github.com/gazebosim/gz-transport/issues/195
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

@azeey it seems on the move to gz-transport14 we missed the commit that disabled playback.ReplayStep.

@azeey  thanks for the comments, I changed the title to match the expectations.
I cannot merge this since I don't have permission so I will let that to the team to do the proper action of rebase and merge.


Bump to 0.4.11

in version.rb & c3.js.

Thought c3 was updated... going crazy

Don't worry, I'll update it when 0.4.11 gets out of RC.


Heart symbol not processed correctly

The symbol "\u200D\u2764\uFE0F\u200D" seems to be processed incorrectly.
I can string together an endless count of that symbol and it always counts as one grapheme, until the chain is interrupted by another character.
splitter.countGraphemes("x\u200D\u2764\uFE0F\u200Dx\u200D\u2764\uFE0F\u200D\u200D\u2764\uFE0F\u200D\u200D\u2764\uFE0F\u200Dx") === 3
(I would expect 7)

the example you've given is not a symbol, it is a symbol surrounded by zero-width-joiner codepoints
the specific combinations you build with it may or may not be valid/defined by various specific implementations/unicode versions, but as an abstract concept "stringing together" an endless zero-width-joiner sequence is in fact indicating just one grapheme. that's the whole purpose of the zero-width-joiner.

I don't know how zero-with-joiner exactly work, the only thing I know is that a browser renders this string as
x❤x❤❤❤x
where I visually count 7 graphemes.

try and select them one by one in the browser. in mine, i can't. i have three parts i can select.

In mobile Safari, i can select 7 distinct items.

On Chrome 114 I can only select x❤x❤❤❤x as 3 segments (x❤, x❤❤❤, and x)


How to start a compiled binary program

[root@vm-3-20 ~]# ./kafka-server-amd64 -Dkafka.advertised.listeners=inside://:9093,outside://<IP_ADDRESS>:9092 -Dkafka.listeners=BROKER://:9093,PLAINTEXT://:9092,CONTROLLER://:9094 -Dkafka.inter.broker.listener.name=inside -Dkafka.controller.listener.names=CONTROLLER -Dkafka.listener.security.protocol.map=CONTROLLER:PLAINTEXT,inside:PLAINTEXT,outside:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL -Dkafka.inter.broker.listener.name=inside -Dkafka.process.roles=broker,controller
The error is as follows：
2023-06-20 17:04:26,601 WARN  [com.oza.kaf.ser.BrokerConfig] (main) Broker configs controller.listener.names, listeners, inter.broker.listener.name, listener.security.protocol.map will not be configured automatically, make sure to provide necessary configuration manually.
2023-06-20 17:04:26,605 ERROR [io.qua.run.Application] (main) Failed to start application (with profile [prod]): java.lang.IllegalArgumentException: No security protocol defined for listener BROKER

I haven't tested your config but Kafka config validation says that you need to set the security protocol for the BROKER listener.

How can I start so that other servers can access kafka?

How can I start the binary kafka so that other servers can access it?

I've some docker compose examples with multiple brokers using kafka-native. I can push them later in the evening.

Okay, remind me when pushing.

Here are an example with Kraft and another with zookeeper: https://github.com/ozangunalp/kafka-native/blob/main/docker-compose.yml and https://github.com/ozangunalp/kafka-native/blob/main/docker-compose-zk.yml

I can easily build a Kafka cluster using Docker, but Kafka cannot be accessed from other servers.


Example errors with addComponentAsRefTo(...) message

Version
Tell us which versions you are using:

react-native-router-flux v4.?.? master
react-native v0.?.? 0.44.0

Expected behaviour
Example runs correctly.
Actual behaviour
Getting the following error.
addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded

Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

Checkout master
cd Examples
yarn
react-native run-android

Please send full stack here

On 13 Sep 2017, at 14:15, Jun Matsushita<EMAIL_ADDRESS>wrote:
Version
Tell us which versions you are using:
react-native-router-flux v4.?.? master
react-native v0.?.? 0.44.0
Expected behaviour
Example runs correctly.
Actual behaviour
Getting the following error.
addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's render method, or you have multiple copies of React loaded
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Checkout master
cd Examples
yarn
react-native run-android
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/aksonov/react-native-router-flux/issues/2384, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpcURA02llpTPa3Hx_wYPIF1IbgLzMks5sh7lSgaJpZM4PV84I.

This is the remote debugging stack.
debugger-ui:172 Console was cleared
ExceptionsManager.js:71 Warning: PropTypes has been moved to a separate package. Accessing React.PropTypes is no longer supported and will be removed completely in React 16.  Use a plain JavaScript class instead.  __DEV__ === true, development-level warning are ON, performance optimizations are OFF
ExceptionsManager.js:63 addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).
handleException @ ExceptionsManager.js:63
handleError @ InitializeCore.js:125
reportFatalError @ error-guard.js:44
__guard @ MessageQueue.js:215
callFunctionReturnFlushedQueue @ MessageQueue.js:100
(anonymous) @ debuggerWorker.js:71
YellowBox.js:76 Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).
console.warn @ YellowBox.js:76
(anonymous) @ debuggerWorker.js:25
(anonymous) @ debuggerWorker.js:53

The image version is probably easier to parse:

I don’t see RNRF here.

On 13 Sep 2017, at 14:25, Jun Matsushita<EMAIL_ADDRESS>wrote:
The image version is probably easier to parse:
https://user-images.githubusercontent.com/356097/30374941-f710c6ec-9886-11e7-9539-3791dd991c40.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/aksonov/react-native-router-flux/issues/2384#issuecomment-329138481, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpcYLji7-iXWZgP-wvY5D1jyEex51hks5sh7uxgaJpZM4PV84I.

I have this issue too. Just clone the repo, install dependencies for Example, try to run it on ios simulator and it does not work. Any idea?

Same issue here, any updates?

Same issue


dose community version support online design?

dose community version support online design? if supports,how to do?

Yes, of course, the Open Source version supports working with the Online Designer. It's similar to .net core version. Since they are both based on the same engine.
However, Online Designer is not part of Open Source or Community Edition 😟
Demo
FastReports Blog


grpc_json_transcoder: Adhere to decoder and encoder buffer limits

Commit Message:
grpc_json_transcoder: Adhere to decoder and encoder buffer limits
Additional Description:
Currently, the transcoder has unbounded internal buffering. This is not allowed according to the Extension stability and security posture.
This PR introduces limits to internal request/response buffers. This follows the documentation for Flow Control, but the filter does not participate in watermarking. Flow control via watermarking will not help the filter: Data stuck in a buffer will never be transcoded until more data comes in. If watermarking occurs, then the data will be stuck forever. So we fail the request with HTTP 413 or HTTP 500 instead.
Note: The current implementation does not handle some edge cases with streaming requests/responses. Those will require special handling. I will make a follow-up PR for that. See review comments for more details.
Risk Level:
Medium.

Technically a breaking change, but default envoy buffer limits are 1 MiB. Unlikely users will hit this limit with typical requests.
Configurable by a runtime feature, true by default: envoy.reloadable_features.grpc_json_transcoder_adhere_to_buffer_limits

Testing:

Unit tests for unary/streaming, request/response
Integration tests for unary request/responses over buffer limit.
Integration tests for streaming responses under/over buffer limit.

Docs Changes: None
Release Notes: Yes
Platform Specific Features: None

@qiwzhang Please take a quick look at the draft PR.
@htuch Can you give more context on the scary changes in b/155331763#comment11
cc @TAOXUY

What does [DNS] refer to in the PR title?

adding @alyssawilk who is more familiar with buffering inside filter pipeline and meaning of the various filter return statuses.

What does [DNS] refer to in the PR title?

DO NOT SUBMIT. Renamed PR title to make it clearer.
As stated in the description:

DO NOT SUBMIT until #15075 is merged
(ready for review)

I did not have a chance to take a closer look at review comments in #15075 yet. But this PR is final, so ready to review.

Ready for review

I can take a look.

CI will fail until #15075 is merged.

/retest


Fix range slider in tree not updating text value

Fixes #39349
This fixes the tree range cell not updating the text value when using the slider.
This also fixes the field's value not being updated at all when using the slider, even when stopping the edit (unlike shown in the linked issue, probably a regression).

Thanks!


Not possible to throw error while fetching entries

Not possible to throw error in getInitialDataSet
I'd like to throw an error when get entity set is called by application. My goal is to simulate error for different scenarios.
Documentation says:
The entity interface allow you then to access the standard function (addEntry, fetchEntries, ...) to manipulate the mockdata of the application.
But fetchEntries is not mentioned in any of the API documenatations.
I also can't throw an error in getInitialDataSet.
How can I achievie this for get entity set / get entity? Is there any hook or workaround?
Issue Type

[X] Documentation is unclear
[ ] Documentation is incorrect
[ ] Documentation is missing
[X] Other

fetchEntries exist and is not recommended to be overriden for 99% of the scenarios :)
But in your case that would be the correct one to throw an error in.
GetInitialDataSet is used to prefill the overall data, so if you break in this one that's just the entire service breaking,  which is usually not wanted.
Can you check with an override to fetchEntries and if that's the case i'll adjust the documentation

@AdrianDengusiak did you check this meanwhile ?

Recently we also introduced onAfterRead which can also be used to do things, including throwing errors :)
async onAfterRead(data: object, _odataRequest: ODataRequest): Promise {
return data;
}


build is called on IOS when app goes to background

Steps to reproduce
In the example code below, I have added a call to MediaQuery.of(context) to simulate the behavior Im observing in more complex apps.
Why is build called when the app goes to background?
This happens in IOS but not in Android.
In my app this is making components down the tree throw errors. Before checking component by component, I would like to know if this is expected behavior, and if it can be avoided.
Regards
Expected results
Not to build when app goes to background in IOS
Actual results
rebuild called
Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    MediaQueryData mdq = MediaQuery.of(context);
    print('MediaQueryData: $mdq');
    return const Scaffold(
      body: Center(
        child: Column(),
      ),
    );
  }
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale es-AR)
• Flutter version 3.22.1 on channel stable at /Users/pablo/Proyectos/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (11 days ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/pablo/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/pablo/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/pablo/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.91.20240529
[✓] Connected device (7 available)
• moto g 8 plus (mobile)              • ZY22764PJC                           • android-arm64  • Android 10 (API 29)
• sdk gphone64 arm64 (mobile)         • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
• iPhone de Pablo (mobile)            • 00008110-001E38D03651801E            • ios            • iOS 17.4.1 21E236
• iPhone SE (3rd generation) (mobile) • 014EA9C8-3E33-4C5E-AEAD-E37A20067FF8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• macOS (desktop)                     • macos                                • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
• Mac Designed for iPad (desktop)     • mac-designed-for-ipad                • darwin         • macOS 14.5 23F79 darwin-arm64
• Chrome (web)                        • chrome                               • web-javascript • Google Chrome 125.0.6422.114
[✓] Network resources
• All expected network resources are available.
• No issues found!

Reproduced the issue on iOS device. This may be related to https://github.com/flutter/flutter/issues/92687 as well.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (11 hours ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.76

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.23.0-13.0.pre.69, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.23.0-13.0.pre.69 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 124aacbaef (2 days ago), 2024-05-31 22:32:25 -0400
    • Engine revision d81edf635a
    • Dart version 3.5.0 (build 3.5.0-214.0.dev)
    • DevTools version 2.36.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 125.0.6422.113

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Framework folks - not sure where code impacting this behavior lives, is it in the framework?

Framework team says:

The framework produces a frame whenever it is asked to do so by the engine. If we shouldn't produce a frame in this instance, the engine shouldn't be asking us for one.

Seems obvious.  Probably someone just needs to try this and step through what's triggering.

On iOS the engine's VsyncWaiterIOS receives a CADisplayLink callback when the app is sent to the background.
This triggers a request to the framework to draw a frame, resulting in the call to build.

Any update on this? This is happening for me as well.


Fix emailAlreadyExists typo

Simple typo fix in an unexported variable.

@JacobHayes thanks for the PR. There's a formatting issue caused by this change. Can you reformat the file and update the PR? And then I can merge it.

No worries, thanks!