s3-pusher does not work if ~/.aws/* files are missing

Case 1

GO_SERVER_DASHBOARD_URL, GO_ARTIFACTS_S3_BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION set to correct values in my gocd environment
No ~/.aws/config and ~/.aws/credentials file present
Result:

[go] Task: Plugin with ID: indix.s3publishtook: 7.777s
Error: Interaction with plugin with id 'indix.s3publish' implementing 'task' extension failed while requesting for 'execute'. Reason: [Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region.]

Relevant stacktrace:
Caused by: com.amazonaws.SdkClientException: Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region.
        at com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:371)
        at com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:337)
        at com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46)
        at com.indix.gocd.utils.store.S3ArtifactStore.getS3client(S3ArtifactStore.java:209)
        at com.indix.gocd.utils.store.S3ArtifactStore.<init>(S3ArtifactStore.java:45)
        at com.indix.gocd.s3publish.PublishExecutor.getS3ArtifactStore(PublishExecutor.java:89)
        at com.indix.gocd.s3publish.PublishExecutor.execute(PublishExecutor.java:45)
        at com.indix.gocd.s3publish.PublishTask.handleTaskExecution(PublishTask.java:74)
        at com.indix.gocd.s3publish.PublishTask.handle(PublishTask.java:46)
        at com.thoughtworks.go.plugin.infra.DefaultPluginManager$2.execute(DefaultPluginManager.java:166)
        at com.thoughtworks.go.plugin.infra.DefaultPluginManager$2.execute(DefaultPluginManager.java:161)
        at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.executeActionOnTheService(FelixGoPluginOSGiFramework.java:315)

Case 2

Environment variables set like in Case 1
File ~/.aws/config contains:[default]
region = eu-central-1

Result:
Error: Interaction with plugin with id 'indix.s3publish' implementing 'task' extension failed while requesting for 'execute'. Reason: [null]

Relevant stacktrace: (unfortunately it's missing the most interesting part because it's cut-off:
java.lang.RuntimeException: Interaction with plugin with id 'indix.s3publish' implementing 'task' extension failed while requesting for 'execute'. Reason: [null]
        at com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:41)
        at com.thoughtworks.go.plugin.access.pluggabletask.JsonBasedTaskExecutor.execute(JsonBasedTaskExecutor.java:41)
        at com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder.executeTask(PluggableTaskBuilder.java:97)
        at com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder$1.execute(PluggableTaskBuilder.java:74)
        at com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder$1.execute(PluggableTaskBuilder.java:71)
        at com.thoughtworks.go.plugin.access.pluggabletask.TaskExtension.execute(TaskExtension.java:57)
        at com.thoughtworks.go.domain.builder.pluggableTask.PluggableTaskBuilder.build(PluggableTaskBuilder.java:71)
        at com.thoughtworks.go.remote.work.Builders.build(Builders.java:75)
        at com.thoughtworks.go.remote.work.BuildWork.execute(BuildWork.java:241)
        at com.thoughtworks.go.remote.work.BuildWork.buildJob(BuildWork.java:206)
        at com.thoughtworks.go.remote.work.BuildWork.build(BuildWork.java:148)
        at com.thoughtworks.go.remote.work.BuildWork.doWork(BuildWork.java:93)
        at com.thoughtworks.go.agent.JobRunner.run(JobRunner.java:60)
        at com.thoughtworks.go.agent.AgentHTTPClientController.retrieveWork(AgentHTTPClientController.java:123)
        at com.thoughtworks.go.agent.AgentHTTPClientController.work(AgentHTTPClientController.java:99)
        at com.thoughtworks.go.agent.AgentController.loop(AgentController.java:78)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
        at org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65)
        at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:70)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.RuntimeException
        at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.executeActionOnTheService(FelixGoPluginOSGiFramework.java:317)
        at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.doOn(FelixGoPluginOSGiFramework.java:245)
        at com.thoughtworks.go.plugin.infra.DefaultPluginManager.submitTo(DefaultPluginManager.java:161)
        at com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:32)
        ... 23 more
Caused by: java.lang.StackOverflowError
        at com.google.gson.stream.JsonWriter.writeDeferredName(JsonWriter.java:402)
        at com.google.gson.stream.JsonWriter.value(JsonWriter.java:417)
        at com.google.gson.internal.bind.TypeAdapters$13.write(TypeAdapters.java:362)
        at com.google.gson.internal.bind.TypeAdapters$13.write(TypeAdapters.java:346)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(MapTypeAdapterFactory.java:208)
        at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.write(MapTypeAdapterFactory.java:145)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:89)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:195)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:89)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:195)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:89)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:195)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:89)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:195)
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:68)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:89)
...

Case 3

Environment variables and ~/.aws/config like in Case 2
~/.aws/credentials contains:[default]
aws_access_key_id = XXX
aws_secret_access_key = ZZZ

Result: now the upload completes successfully
Case 4

Same setting as in Case 3, however change environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY to invalid values

Result: upload still completes successfully
So, to summarize:

If i just set the environment variables it doesn't work
If config and credentials in ~/.aws is missing it doesn't work
If ~/.aws files are present and correct the environment variables have no effect at all

@systemfreund - Thanks for the detailed issue. Will take a look. Can you please confirm the exact version you are using?

I ma using version 3.1.0  of the plugin and gocd version 17.7.0

Sorry for the delay - Are you setting the environment variables from Go - ie pipeline level environment variables? If so I have found the bug around that.

@systemfreund can you please try the v3.2.0 release and let us know how that works out for you?

Same issue for the material plugin.
Seems to be the case for checking connection for the package material in a pipeline. Even though environment variables are present, the server needs to have the .aws/credentials and .aws/config files.

@varshavaradarajan - which version of the plugin are you on?

v4.0.0

@varshavaradarajan - thanks for taking the time to go on a call. As confirmed on the call, the s3material plugin is working as intended. Will add a feature to pass credentials and region as package configuration though.

I am having a similar issue to the above. I have valid creds in the .aws/credentials, and I have .aws/config setup. I also have the same settings in environment variables, however I get the error:
Could not connect to package repository. Reason(s): Interaction with plugin with id 's3material' implementing 'package-repository' extension failed while requesting for 'check-repository-connection'. Reason: [Unable to find a region via the region provider chain. Must provide an explicit region in the builder or setup environment to supply a region.]


ci: add a build run with all features disabled

Closes: https://github.com/swaywm/wlroots/issues/1255

Thanks!


PHOENIX-1712 Implementing INSTR Function

Changes related to Phoenix-1712
INSTR Built in function

@gabrielreid This is the new pull request which I had to create for the 1712 changes as I messed it while doing a rebase of the pull request.

Implemented in Master. Hence Closing.


[SPARK-42874][SQL] Enable new golden file test framework for analysis for all input files

What changes were proposed in this pull request?
This PR enables the new golden file test framework for analysis for all input files.
Background:

In https://github.com/apache/spark/pull/40449 we added the ability to exercise the analyzer on the SQL queries in existing golden files in the sql/core/src/test/resources/sql-tests/inputs directory, writing separate output test files in the new sql/core/src/test/resources/sql-tests/analyzer-results directory in additional to the original output directory for full end-to-end query execution results.
That PR also added an allowlist of input files to include in this new dual-run mode.
In this PR, we remove that allowlist exercise the new dual-run mode for all the input files. We also extend the analyzer testing to support separate test cases in ANSI-mode, TimestampNTZ, and UDFs.

Why are the changes needed?
This improves test coverage and helps prevent against accidental regressions in the future as we edit the code.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
This PR adds testing only.

LGTM if tests pass

LGTM

@HyukjinKwon the tests are passing now, this is ready to merge if you are ready :)

@dtenedor Wait a few minutes for me to check with Scala 2.13 manually

@dtenedor Wait a few minutes for me to check with Scala 2.13 manually

done, should be ok ~

Merged to master.

I think ANSI test fails after this PR:
[info] - timestampNTZ/datetime-special.sql_analyzer_test *** FAILED *** (31 milliseconds)
[info]   timestampNTZ/datetime-special.sql_analyzer_test
[info]   Expected "...date(999999, 3, 18, [false) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, fals]e) AS make_date(-1, ...", but got "...date(999999, 3, 18, [true) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, tru]e) AS make_date(-1, ..." Result did not match for query #1
[info]   select make_date(999999, 3, 18), make_date(-1, 1, 28) (SQLQueryTestSuite.scala:777)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
[info]   at org.scalatest.funsuite.AnyFunSuite.newAssertionFailedException(AnyFunSuite.scala:1564)
[info]   at org.scalatest.Assertions.assertResult(Assertions.scala:847)
[info]   at org.scalatest.Assertions.assertResult$(Assertions.scala:842)
[info]   at org.scalatest.funsuite.AnyFunSuite.assertResult(AnyFunSuite.scala:1564)
[info]   at org.apache.spark.sql.SQLQueryTestSuite.$anonfun$readGoldenFileAndCompareResults$3(SQLQueryTestSuite.scala:777)
[info]   at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)

https://github.com/apache/spark/actions/runs/4496107425/jobs/7910457741
@dtenedor mind taking a look please? cc @gengliangwang

Sure, I can take a look.
On Fri, Mar 24, 2023 at 3:12 AM Hyukjin Kwon @.***>
wrote:

I think ANSI test fails after this PR:
[info] - timestampNTZ/datetime-special.sql_analyzer_test *** FAILED *** (31 milliseconds)
[info]   timestampNTZ/datetime-special.sql_analyzer_test
[info]   Expected "...date(999999, 3, 18, [false) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, fals]e) AS make_date(-1, ...", but got "...date(999999, 3, 18, [true) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, tru]e) AS make_date(-1, ..." Result did not match for query #1
[info]   select make_date(999999, 3, 18), make_date(-1, 1, 28) (SQLQueryTestSuite.scala:777)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
[info]   at org.scalatest.funsuite.AnyFunSuite.newAssertionFailedException(AnyFunSuite.scala:1564)
[info]   at org.scalatest.Assertions.assertResult(Assertions.scala:847)
[info]   at org.scalatest.Assertions.assertResult$(Assertions.scala:842)
[info]   at org.scalatest.funsuite.AnyFunSuite.assertResult(AnyFunSuite.scala:1564)
[info]   at org.apache.spark.sql.SQLQueryTestSuite.$anonfun$readGoldenFileAndCompareResults$3(SQLQueryTestSuite.scala:777)
[info]   at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
https://github.com/apache/spark/actions/runs/4496107425/jobs/7910457741
@dtenedor https://github.com/dtenedor mind taking a look please? cc
@gengliangwang https://github.com/gengliangwang
—
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/40496#issuecomment-1482557118, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXU4PODW66JIEV5CNJWXEALW5VXQJANCNFSM6AAAAAAWBOMAJQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Please write anonymous feedback for Daniel at any time (form
https://docs.google.com/forms/d/e/1FAIpQLSc-Nd9JOncZTMb2hlhj9GxQO0igStEBgtFclLXFsQleamA0ag/viewform?vc=0&c=0&w=1&flr=0
).

@HyukjinKwon I ran the test locally and it passes. Maybe it is fixed at head now?

[info] - timestampNTZ/datetime-special.sql_analyzer_test *** FAILED *** (11 milliseconds)
[info]   timestampNTZ/datetime-special.sql_analyzer_test
[info]   Expected "...date(999999, 3, 18, [false) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, fals]e) AS make_date(-1, ...", but got "...date(999999, 3, 18, [true) AS make_date(999999, 3, 18)#x, make_date(-1, 1, 28, tru]e) AS make_date(-1, ..." Result did not match for query #1
[info]   select make_date(999999, 3, 18), make_date(-1, 1, 28) (SQLQueryTestSuite.scala:777)
[info]   org.scalatest.exceptions.TestFailedException:

@dtenedor
Seems not fixed,  run
SPARK_ANSI_SQL_MODE=true build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"
can reproduce the failure

Looks like @LuciferYang fixed it with https://github.com/apache/spark/pull/40552. Thanks so much for the fix!


Possibility to add a custom image url to the share

Hi,
Cool library! Is it also possible to add an image url to the share? I can't find the option anywhere and the images that are selected automatically for my website make no sense at all.
Thanks!

Ok just found out that this is solved through using open graph tags in your index.html body like this.

Hello ImreC,
How do you it ? i have my metas tag in my header, but don't work
<meta property="og:title" content="Bestfootball">
<meta property="og:description" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.">
<meta property="og:type" content="video">
<meta property="og:video" content="https://beta.bestfootball.fr/static/video/challenge/olive.mov">
<meta property="og:url" content="https://beta.bestfootball.fr//video/detail/3">

The code in my component :
<social-sharing hashtags="bestfootball, football, soccer, challenge" twitter-user="romeyer64" inline-template>

                   <network network="facebook">

                   </network>
                   <network network="googleplus">

                   </network>
                   <network network="pinterest">

                   </network>
                   <network network="twitter">

                   </network>

</social-sharing>

If you can help me :)

Hi olive64,
This is not a thing that is fixed on your client side but rather on the side of the indexing that is done by the social networks. Basically, the meta tags tell social algorithms that scrape your site where to get the information like pictures descriptions etc. What this means is that the changes are not immediately reflected but will be when your site is re-indexed by facebook or google. I suggest that you leave it like this and test again after a couple of days. I just tested it and it works on my end, so you should be ok. Cheers!

Hi @ImreC I am facing same issue and I did all steps that you mentioned , and it didn't work . is there anything else ?


Calculate the SimpleHash for public assets

Problem:
Public assets do not require authentication and the code expects this.
Solution:
Change API to accept the returned query.
Also added functional testing.
Signed-off-by: Paul Hewlett<EMAIL_ADDRESS>

Duplicate after renaming branch


Custom translations

Hi, is there a way to translate 'OK' & 'CANCEL' buttons?
On a sidenote - The buttons don't have any margin between them, you might want to add some.

You can provide your own MatDatepickerIntl:
https://material.angular.io/components/datepicker/overview#localizing-labels-and-messages
following this interface:
https://github.com/selvera/npm-datepicker/blob/master/datepicker/src/lib/datepicker-intl.ts#L12
and yeah, I have to fix those margins! :)

Thank you! The 'submit' label is missing from their documentation page and
I didn't know it existed :-)
On Sun, 1 Jul 2018 at 18:28, Mateo Tibaquirá<EMAIL_ADDRESS>wrote:

Closed #8 https://github.com/selvera/npm-datepicker/issues/8 via 716668a
https://github.com/selvera/npm-datepicker/commit/716668a9f0ea9c0f4f20e3b66ddcdd327ad84314
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/selvera/npm-datepicker/issues/8#event-1710350210, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGzoR1jkVfKVzAfRfsESF4NHr4gTVUYLks5uCPi2gaJpZM4U-T29
.

@Enngage It exists here because the official module doesn't confirm the selection ;)


Annoying update pop up on series

Steps to reproduce
Opening any manga in library or in extensions
Expected behavior
Opening a manga in my extensions or Library should just show me the info, cover and chapters I've read until I manually decide to update it, or if it has recently been updated automatically it should show me the unread chapters and nothing more.
Actual behavior
The manga opens with an update indicator at the top of the screen, as if I had pulled down to update the manga. But it does nothing and I have to manually update to show new chapters.
This happens every single time I open the info page on any manga, regardless of it's on my library or not. It's a very annoying visual glitch.
Crash logs
No response
Mihon version
0.16.3
Android version
13
Device
Oneplus8T
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 0.16.3.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Closing as a duplicate of #176


Implement Block Sync using Data Availability Layer Client

We need to implement block sync mechanism (see #51) using Data Availability layer client retrieval API (#62). This should be universal, and tested with mock DA layer.
Depends on: #62.

Resolved by #139.


When the provider assumes a given role, don't use the default profile…

… if the profile is not given, but allow aws-sdk-go to find the credentials using the default credential provider chain (#86)
Description
When aws_assume_role_arn is given but no aws_profile, it won't set the profile to default but it will let the aws-sdk-go library to find out the credentials using the default provider chain.
When aws_assume_role_arn is given as well as aws_profile, it won't change its current behaviour and the aws-sdk-go library will use the given profile.
Issues Resolved
This will revolve issue #86
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @massimob76 this looks good, any unit tests can be added?

hi @prudhvigodithi I will try to add some unit tests this week, sorry I have been very busy lately.

Hi @prudhvigodithi, I have added some tests - that required a few changes:

added a mock server for intercepting the api call rather than the real AWS endpoint. Only during tests we use a mock server endpoint when calling awsSession, otherwise endpoint="" which will lead to aws-sdk-go to call its real endpoint.
swapped the test_aws_config with the test_aws_credentials since when running it locally if a credentials file exists it will have the priority over the test_aws_config fixture. But using test_aws_credentials instead will remove any interference from the local setup.

Thanks @massimob76 for your contribution, merging the PR now.

Any ETA on releasing this now that it is merged?

Any chance this can be released soon? This has been a big blocker for us to be able to use the provider.

@prudhvigodithi can you give us any type of time frame when you think this will be released?

Hey @estebane-frb @justinhauer I have an issue created for this purpose https://github.com/opensearch-project/terraform-provider-opensearch/issues/122, I'm planning to go ahead with the release tomorrow (PST), just waiting on one feature PR to support OpenSearch serverless to go in https://github.com/opensearch-project/terraform-provider-opensearch/pull/92
Adding @vasyaxparfenov @bbarani

The provider v2.1.0 has been released, please check.
Provider Download link: https://registry.terraform.io/providers/opensearch-project/opensearch/2.1.0


Householder reflections for complex matrices

This corrects bug in householder() function that resulted in incorrect solution of linear systems with complex left hand side matrix.

Great, thanks!


add license

it's a very interesting project!
Would you consider adding a license to this repository to specify under which terms this code can be used?

Hi @SkyBulk
Thank you for your interest in my project! I appreciate your feedback and I'm definitely open to adding a license to the repository to make it more clear and accessible to others.
I'll take your suggestion into consideration and make sure to choose a suitable open-source license that aligns with the goals and intentions of the project. In the meantime, if you have any specific licenses in mind or any other suggestions regarding the project, please feel free to share them. Your input is valuable, and I'm always open to improving the project.
Thanks again for reaching out and for your interest in the project!
Best regards,
@yokesh-ks

I was thinking on some MIT or apache2 alike licensing due permissive

I've added the MIT License. Thanks for your suggestion!


IOwned and Owned<T> are public types and this prevents Pure.DI from being used in multiple assemblies

The same question is about Tag, Type, Ordinal attributes. The Pure.DI API is supposed to be used only when configuring a composition, so the Pure.DI API is internal. It is recommended that other builds use their own Accumulators and their own attributes, this will make them completely independent of the infrastructure (DI).


Should we rely on CDNs?

Right now, libraries, our own JS, Bootstrap CSS, and the index.html are all coming from separate CDNs: If any one of them goes down, the tool will not work.
It might be better if we hosted it all in one place... but this would make our deployment more complicated, and we'd lose the benefit of having dependencies pre-cached for some users.
Also, everything might be S3 under the hood, so explicitly hosting it all at S3 would really not derisk much.

Talked w/ Nils: Status quo is fine.


Failed scenario - pfs3_multiple_paths - 11.08.2019

DevOpsBot 04:05
Starting run for scenarios ‘pfs3_multiple_paths’..
DevOpsBot 04:05
☠ Scenario incomplete. No result found in log file.
Log can be downloaded from:
http://scenario-player.ci.raiden.network/Scenario_player_Logs-pfs3_multiple_paths-1-latest-2019-08-11.tar.gz

Root cause #175
CC @Dominik1999


Crashing on scraping

We're getting this error in logs when prometheus is scraping. It occurs to 3 of our 5 clustered RabbitMQ nodes and once it starts happening will happen until RabbitMQ is restarted.
2019-07-02 17:42:28.130 [error] <0.2418.0> CRASH REPORT Process <0.2418.0> with 0 neighbours crashed with reason: no function clause matching proplists:get_value(get, 0, undefined) line 215
2019-07-02 17:42:28.131 [error] <0.2417.0> Ranch listener rabbit_web_dispatch_sup_15672, connection process <0.2417.0>, stream 1 had its request process <0.2418.0> exit with reason function_clause and stacktrace [{proplists,get_value,[get,0,undefined],[{file,"proplists.erl"},{line,215}]},{prometheus_rabbitmq_core_metrics_collector,'-collect_metrics/2-lc$^0/1-0-',3,[{file,"src/collectors/prometheus_rabbitmq_core_metrics_collector.erl"},{line,177}]},{prometheus_model_helpers,create_mf,5,[{file,"/home/dead/Projects/rabbitmq/prometheus_rabbitmq_exporter/deps/prometheus/src/model/prometheus_model_helpers.erl"},{line,127}]},{prometheus_rabbitmq_core_metrics_collector,'-mf/3-lc$^2/1-1-',3,[{file,"src/collectors/prometheus_rabbitmq_core_metrics_collector.erl"},{line,169}]},{prometheus_rabbitmq_core_metrics_collector,'-collect_mf/2-lc$^0/1-0-',2,[{file,"src/collectors/prometheus_rabbitmq_core_metrics_collector.erl"},{line,153}]},{prometheus_rabbitmq_core_metrics_collector,collect_mf,2,[{file,"src/collectors/prometheus_rabbitmq_core_metrics_collector.erl"},{line,154}]},{prometheus_collector,collect_mf,3,[{file,"/home/dead/Projects/rabbitmq/prometheus_rabbitmq_exporter/deps/prometheus/src/prometheus_collector.erl"},{line,141}]},{prometheus_registry,'-collect/2-lc$^0/1-0-',3,[{file,"/home/dead/Projects/rabbitmq/prometheus_rabbitmq_exporter/deps/prometheus/src/prometheus_registry.erl"},{line,86}]}]

I have the same issue. I used "Google click to deploy" RabbitMQ cluster for GKE. No changes to the configs and yet I get this crash every time.

same, seeing this in a new cluster running on kubernetes with the default values from the "click to deploy". All three nodes of our cluster are showing this error, and it starts appearing immediately after restart if there is activity on the node.

Hi !
I had the same issue with an exporter v<IP_ADDRESS>.
Apparently the v<IP_ADDRESS> fix this error:
https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/tag/v<IP_ADDRESS>

We started getting a 500 on scrapes from all 3 nodes with this error:
2020-03-21 06:34:16.748 [error] <0.15910.45> CRASH REPORT Process <0.15910.45> with 0 neighbours crashed with reason: no case clause matching stopped in prometheus_rabbitmq_queues_collector:'-collect_mf/2-fun-3-'/1 line 75
2020-03-21 06:34:16.748 [error] <0.15909.45> Ranch listener rabbit_web_dispatch_sup_15672, connection process <0.15909.45>, stream 1 had its request process <0.15910.45> exit with reason {case_clause,stopped} and stacktrace [
    {prometheus_rabbitmq_queues_collector,'-collect_mf/2-fun-3-',1,    [{file,"src/collectors/prometheus_rabbitmq_queues_collector.erl"},{line,75}]},
    {prometheus_rabbitmq_queues_collector,'-collect_metrics/2-lc$^1/1-0-',3,    [{file,"src/collectors/prometheus_rabbitmq_queues_collector.erl"},{line,102}]},
    {prometheus_rabbitmq_queues_collector,'-collect_metrics/2-lc$^1/1-0-',3,    [{file,"src/collectors/prometheus_rabbitmq_queues_collector.erl"},{line,102}]},
    {prometheus_model_helpers,create_mf,5,      [{file,"src/model/prometheus_model_helpers.erl"},{line,127}]},
    {prometheus_rabbitmq_queues_collector,mf,3,    [{file,"src/collectors/prometheus_rabbitmq_queues_collector.erl"},{line,94}]},
    {prometheus_rabbitmq_queues_collector,'-collect_mf/2-lc$^4/1-2-',3,    [{file,"src/collectors/prometheus_rabbitmq_queues_collector.erl"},{line,75}]},
    {prometheus_rabbitmq_queues_collector,collect_mf,2,    [{file,"src/collectors/prometheus_rabbitmq_queues_collector.erl"},{line,75}]},
    {prometheus_collector,collect_mf,3,    [{file,"src/prometheus_collector.erl"},{line,171}]}
    ]

Disabled/reenabled the plugin on all nodes - No effect
Restarted RabbitMQ on all nodes - No effect
Restarted the VM of one node - Now metrics working on all nodes :man_shrugging:


replication: add initial proto file

Added proto message for below 5 functionalities

EnableVolumeReplication
DisableVolumeReplication
PromoteVolume
DemoteVolume
ResyncVolume

adding auto-generated library.
TODO

[ ] Error codes
[ ] Documentation

will be done in follow-up PR's
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

This looks like a good start to me. There may be a few things that this PR is missing but we can add them in an iterative manner.


Upgrade to django 3

Changes:

The staticfiles tag was deprecated and changed to static
django.utils.translation.ugettext_lazy deprecated in favour of django.utils.translation.gettext_lazy
Only dependency updated was Django, everything else seemed to stay the same

@megh-k please merge develop into this branch and push again so that the changes that have already landed in develop don't show up here

@megh-k please merge develop into this branch and push again so that the changes that have already landed in develop don't show up here


Error in Meshview WHS naming

There is an error in the atlas naming in the following version:
https://www.nesys.uio.no/MeshView/meshview.html?atlas=WHS_SD_rat_atlas_v2
It seems the name labels of CA1 and CA3 are swapped (so CA1 should be CA3 and vice-versa).
Labelling is correct in atlas v3 version.

Fixed on NeSys, GitHub and apps

Fixed on NeSys, GitHub and apps


Comparision with other Rust-based projects

For example, how does this to Sozu.

Well, Sozu is a production ready server. This project is basically a toy project developed for learning purposes.


Drop v1 support and tag first major release

Release gets tagged tomorrow based on https://github.com/ArkEcosystem/javascript-client/tree/develop after it has been merged to master.


8.x backport of 28477

Backport:

#28477

As noted in #28477, this one should not be backported without #29194.

#29194 was backported in #29352.

Ahh, OK, merged, thanks @alexmv!


Additional fields to output

LineData object we print as output have much more internal field that we actual output to user
While some of them might be a bit redundant, I think there are few properties that might be useful:

variable - variable name related to the secret
predicted probability by the ML model. While it's not a property of LineData now, it might be saved and outputted to the user

The second idea is good! It will be good to add predicted probability into LineData as attribute.
BTW I think there can be user who want to configure the output attributes of LineData.
So, what about add output option of LineData on secret/config.json file?

Or it can be set by CLI option.

no option : standard
--details : detailed output


How to add pre-computed datasets statistics for new datasets, such as CelebA?

nvm, i found the make_custom_stats. Thanks!


moving json-rpc-middleware-stream from merged-packages to actual pack…

Explanation

We chose to place json-rpc-middleware-stream initially in the merged-packages and not packages so we can hide it from Yarn, ESLint, Prettier, and TypeScript. In this PR, we cleaned it up and moved it from merged-packages to actual packages folder.
In this process, we followed below steps.
Moving to packages

Move migration target from merged-packages/ to packages/.
Run yarn install in the root directory.
Check that all tests are passing in migration target by running yarn workspace @metamask/json-rpc-middleware-stream test.

Lints and Constraints

Fixed yarn lint errors
Fixed yarn constraints errors
Applied yarn workspace @metamask/json-rpc-middleware-stream changelog:validate

References

Closes #1920

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

Per standup, we should take a look at the migration checklist for this package again as it may have changed since this PR was created. If there are any PRs we need to merge before this one can go in then we should take care of that first.

This package was renamed from json-rpc-middleware-stream to @metamask/json-rpc-middleware-stream in this PR. This change will be reflected in the next core release that includes this package.
An "unreleased" CHANGELOG entry will be added as part of the post-migration cleanup that will follow:

Change package name to @metamask/json-rpc-middleware-stream (#162)

This package was renamed from json-rpc-middleware-stream to @metamask/json-rpc-middleware-stream in this PR.
[...]
An "unreleased" CHANGELOG entry will be added as part of the post-migration cleanup that will follow

I've added a changelog update to the PR description just in case anyone is looking at this PR.
We need to be super cautious about the next core releases to ensure that this package does not get published accidentally before we bump the version number.

Unable to repro lint error on local (see https://github.com/MetaMask/core/issues/1989).
Suppressed @typescript-eslint/no-implied-eval warning: https://github.com/MetaMask/core/pull/1762/commits/7f5e3b5688c06be76b6f8dc44d75e0ae6b71554f


fix errors with latest zig version

Check the zig-0.9.0 branch ;)
(no guarantees that this works with the latest nightly build though, but I'm trying to keep this updated).
zig-0.9.0 will be merged into the main branch as soon as this becomes the new stable version, and then a new zig-0.10.0 branch will be started.


Add a tray icon

Because it doesn't have one.
(I'm using Plasma 5.12 on Arch)

It absolutely does.
)
Keep in mind to move future issues to https://gitlab.com/ArsenArsen/KShare as soon I will be moving everything there.


Consider network plotting

Something like this, plus age and sex?
import numpy as np
import matplotlib.pyplot as plt

n_nodes = 100
n_edges = 10

narr = np.arange(n_nodes)
nx = np.sin(narr/n_nodes*2*np.pi)
ny = np.cos(narr/n_nodes*2*np.pi)

e1s = np.random.randint(n_nodes, size=n_nodes*n_edges)
e2s = np.random.randint(n_nodes, size=n_nodes*n_edges)

plt.plot(nx, ny, 'o')
for e1,e2 in zip(e1s, e2s):
    x = [nx[e1], nx[e2]]
    y = [ny[e1], ny[e2]]
    plt.plot(x, y, lw=1, alpha=0.1)

Can already export to nx with to_graph, and plot from there; down-prioritizing.

But would be nice if each network knew how to plot itself in a meaningful way.


add resources, sidecar containers and tolerations as options

Description
adds resource request/limits, sidecar container, and tolerations as options in the calico chart.
To avoid customers patching calico charts with tolerations and sidecar containers(metrics)

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Vilvaramadurai  Samidurai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@vsamidurai thanks for the PR - this helm chart isn't actually intended for end-user use, and is just used by our documentation engine to perform templating and generate manifests.
I suspect you actually want to make a change to the _charts/include/tigera-operator, which is what is used to generate the end-user helm chart.


Extract table and function name objects

Extracted TableName and FunctionName value objects (see https://github.com/JasperFx/marten/issues/255)

@tim-cools Hey, I'm gonna be a little slow getting this puppy in. Gimme through tomorrow and I'll try to read through it and get it in. I want to be cautious about this one, and play the "what order of merge/rebase results in the least conflicts" game.
But thank you very much for doing this;)

Got it w/ a rebase.


Use arrow keys

We could use the arrow keys in at least two ways:

Move the selected elements.
Move the viewport (panning).

This should be configurable (e.g. through ViewerOptions).

Also consider modifiers, e.g. shift for bigger move steps and alt for smaller move steps.

For the different variations, I'd rather go for a DI based approach (e.g. rebinding an existing KeyListener) instead of a declarative one (in the options) as the latter is far less flexible.


[D3D9] Stock Atlantis OMS

Stock Atlantis OMS thrust light effect is flickering.

Doesn't occur in main branch. Fixed


Port File Staging to VS17

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@shahabhijeet - This can be merged now (if CI passes)

@matthchr can you resolve the conflicts and push.

@shahabhijeet Done


GeniusHub - radiator valves are not appearing as climate entities

**Home Assistant release with the issue: **

0.96.1
Last working Home Assistant release (if known):
0.94.3
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io running on a NUC (Ubuntu server 18.04 & docker)
Component/platform: GeniusHub

https://www.home-assistant.io/components/geniushub/
Description of problem:
I am no longer seeing radiator valves appear as climate entities. This was working okay, but broke around the time that 0.95 was released. At the same time I switched from a RP3 to Hass.io running on a NUC, so I wasn't sure at the time whether it was the 0.95 release, or something hadn't migrated to the NUC properly.
However I no longer appear to have any other HA issues apart from this, so I'm beginning to think that something is broken. I can still receive the the battery status from the radiator valves, and see the binary sensors for the smart plugs, so I know that it is not  basic connectivity issue between HA and the GeniusHub.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
geniushub:
  host: *.*.*.*
  username: !secret genius_username
  password: !secret genius_password

Traceback (if applicable):
2019-07-20 13:18:06 WARNING (MainThread) [geniushubclient] _convert_zone(): Failed to convert Timer schedule for Zone 14
2019-07-20 13:18:06 WARNING (MainThread) [geniushubclient] _convert_zone(): Failed to convert Timer schedule for Zone 15
2019-07-20 13:18:06 WARNING (MainThread) [geniushubclient] _convert_zone(): Failed to convert Timer schedule for Zone 16
2019-07-20 13:18:06 WARNING (MainThread) [geniushubclient] _convert_zone(): Failed to convert Timer schedule for Zone 17
2019-07-20 13:18:06 WARNING (MainThread) [geniushubclient] _convert_zone(): Failed to convert Timer schedule for Zone 18
2019-07-20 13:18:06 WARNING (MainThread) [geniushubclient] _convert_zone(): Failed to convert Timer schedule for Zone 19
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-20 13:18:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 226, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 256, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 171, in state_attributes
    self.hass, self.current_temperature, self.temperature_unit,
  File "/usr/src/homeassistant/homeassistant/components/geniushub/climate.py", line 92, in current_temperature
    return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'

Additional information:
Some of these errors are already known about as some of my zones are smart plugs and not radiator valves, however the 'Error doing job:' is new and fails every time it polls - I had 42,000 errors before I upgraded from 0.95

@ianpra I am the CODEOWNER for the geniushub integration and I also wrote the client library which it uses to speak with the Genius Hub...
My system, which has both genius vales and radiator valves (i.e. danfoss TRVs, has no issues with 0.96. So there is something about your system, I guess, that is causing the issue - this woudln't surprise me...
The best way forward would be if you'd allow me to access your hub directly? You'd have to expose teh port to the internet, though...
Otherwise, send me the result of this command, and I'll see what I can do...
python ghclient.py ${HUB_ADDRESS} -u ${USERNAME} -p ${PASSWORD} zones -vvv

Hi David,
Here is the output as requested...
Traceback (most recent call last):
File "ghclient.py", line 156, in
loop.run_until_complete(main(loop))
File
"C:\Users\Ian\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py",
line 568, in run_until_complete
return future.result()
File "ghclient.py", line 126, in main
raise KeyError("Zone '%s' does not exist.", args[ZONE_ID])
KeyError: ("Zone '%s' does not exist.", 'ones')
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x0000024D7FB0DF98>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at
0x0000024D7FB09D68>, 52548.421)]']
connector: <aiohttp.connector.TCPConnector object at 0x0000024D7FB24080>
Regards
Ian
On Sat, 20 Jul 2019 at 22:35, David Bonnes<EMAIL_ADDRESS>wrote:

@ianpra https://github.com/ianpra I am the CODEOWNER for the geniushub
integration and I also wrote the client library
https://github.com/zxdavb/geniushub-client which it uses to speak with
the Genius Hub...
My system, which has both genius vales and radiator valves (i.e. danfoss
TRVs, has no issues with 0.96. So there is something about your system, I
guess, that is causing the issue - this woudln't surprise me...
The best way forward would be if you'd allow me to access your hub
directly? You'd have to expose teh port to the internet, though...
Otherwise, send me the result of this command, and I'll see what I can
do...
python ghclient.py ${HUB_ADDRESS} -u ${USERNAME} -p ${PASSWORD} zones -vvv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/25343?email_source=notifications&email_token=AGFONGL7CLYTW3WDHA5NH2LQAOAJXA5CNFSM4IFOKZT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NWNTA#issuecomment-513500876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFONGOQYJQ5X6UZOO6IO3LQAOAJXANCNFSM4IFOKZTQ
.

Hmmm... that doesn't seem right - did you follow the instructions at https://github.com/zxdavb/geniushub-client to set the variables?
Try: python ghclient.py ${HUB_ADDRESS} -u ${USERNAME} -p ${PASSWORD} zones

Hi David,
Sorry - that was user error on my part. I passed an argument of '-zones'
rather than 'zones'. Incidently '-z1' works okay which is why I didn't
double check. The output is rather large, and I don't want to post it
publically so I will send you a PM with a link to download it.
Ian
On Sun, 21 Jul 2019 at 00:39, David Bonnes<EMAIL_ADDRESS>wrote:

Hmmm... that doesn't seem right - did you follow the instructions at
https://github.com/zxdavb/geniushub-client to set the variables?
Try: python ghclient.py ${HUB_ADDRESS} -u ${USERNAME} -p ${PASSWORD} zones
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/25343?email_source=notifications&email_token=AGFONGNJ4X6HQPGZPNVJHD3QAOOZNA5CNFSM4IFOKZT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NX4GA#issuecomment-513506840,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFONGKBIREKW52BMIFUYB3QAOOZNANCNFSM4IFOKZTQ
.

The output is rather large

Yes (and that is only 50% of the relevant JSON), you can see why it is a mission to debug without direct access to the hub.
I am working on a plan to be able to input that output directly into the client library, which should make it easier to debug, rather than going through the JSON by hand!

You can PM me via: https://community.home-assistant.io/u/zxdavb

Hi David,
Very strange - I have created myself an account on
https://community.home-assistant.io this evening, but I do not have an
option to send a message (maybe this is restricted for 24 hrs as it is a
new account?). I did send you a PM via https://forum.geniushub.co.uk this
morning before I received your last message, so I'm not sure if you have
seen it?
Regards
Ian
On Sun, 21 Jul 2019 at 10:44, David Bonnes<EMAIL_ADDRESS>wrote:

You can PM me via: https://community.home-assistant.io/u/zxdavb
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/25343?email_source=notifications&email_token=AGFONGIMO47TC5533PZZVQLQAQVWDA5CNFSM4IFOKZT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2N7YQY#issuecomment-513539139,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFONGOLIWI4DS3MF4AWRRDQAQVWDANCNFSM4IFOKZTQ
.

I got it via https://forum.geniushub.co.uk - will have a look & let you know - might take a while...

The PR has been merged.

Hi David,
I updated to 0.96.3 this morning and enabled debug - which was very verbose!
The error I'm seeing is

2019-07-22 11:04:02 INFO (MainThread) [homeassistant.components.climate]
Setting up climate.geniushub
2019-07-22 11:04:02 INFO (MainThread)
[homeassistant.components.water_heater] Setting up water_heater.geniushub
2019-07-22 11:04:02 DEBUG (MainThread) [aioesphomeapi.connection]
shelly_water_heater_sw.secip.uk: Got message of type <class
'api_pb2.HelloResponse'>: api_version_major: 1
api_version_minor: 1
server_info: "shelly_water_heater_sw (esphome v1.13.6)"
2019-07-22 11:04:02 DEBUG (MainThread) [aioesphomeapi.connection]
shelly_porch_sw.secip.uk: Got message of type <class
'api_pb2.HelloResponse'>: api_version_major: 1
api_version_minor: 1
server_info: "shelly_porch_sw (esphome v1.13.6)"
2019-07-22 11:04:02 ERROR (MainThread) [homeassistant.core] Error doing
job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py",
line 365, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line
226, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line
256, in _async_write_ha_state
attr.update(self.state_attributes or {})
File
"/usr/src/homeassistant/homeassistant/components/climate/init.py", line
171, in state_attributes
self.hass, self.current_temperature, self.temperature_unit,
File
"/usr/src/homeassistant/homeassistant/components/geniushub/climate.py",
line 92, in current_temperature
return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'
2019-07-22 11:04:02 ERROR (MainThread) [homeassistant.core] Error doing
job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py",
line 365, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line
226, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line
256, in _async_write_ha_state
attr.update(self.state_attributes or {})
File
"/usr/src/homeassistant/homeassistant/components/climate/init.py", line
171, in state_attributes
self.hass, self.current_temperature, self.temperature_unit,
File
"/usr/src/homeassistant/homeassistant/components/geniushub/climate.py",
line 92, in current_temperature
return self._zone.temperature
AttributeError: 'GeniusZone' object has no attribute 'temperature'

and it repeats itself as it iterates through each object. I am seeing the
radiator valves being identified okay

2019-07-22 11:04:02 DEBUG (MainThread) [aioesphomeapi.connection]
sonoff_loft_sw.secip.uk: Sending <class 'api_pb2.HelloRequest'>:
client_info: "Home Assistant 0.96.3"
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.core] Bus:Handling
<Event platform_discovered[L]: service=load_platform.climate,
platform=geniushub, discovered=>
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.core] Bus:Handling
<Event platform_discovered[L]: service=load_platform.water_heater,
platform=geniushub, discovered=>
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.core] Bus:Handling
<Event state_changed[L]: entity_id=sensor.radiator_valve_31,
old_state=None, new_state=<state sensor.radiator_valve_31=44;
assigned_zone=Study - Helen, last_comms=2019-07-22T09:58:14+00:00,
unit_of_measurement=%, friendly_name=Radiator Valve - Study (Helen),
icon=mdi:battery-40, device_class=battery @
2019-07-22T11:04:02.184274+01:00>>
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.core] Bus:Handling
<Event state_changed[L]: entity_id=sensor.radiator_valve_13,
old_state=None, new_state=<state sensor.radiator_valve_13=50;
assigned_zone=Kitchen, last_comms=2019-07-22T10:01:24+00:00,
unit_of_measurement=%, friendly_name=Radiator Valve - Kitchen,
icon=mdi:battery-50, device_class=battery @
2019-07-22T11:04:02.185129+01:00>>

I am correct in that I should see climate entities being created (or have I
misunderstood all the recent changes to climate)?
I can send you more of the debug log later tonight if that will help?
Regards
Ian
On Sun, 21 Jul 2019 at 23:44, David Bonnes<EMAIL_ADDRESS>wrote:

The PR has been merged.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/25343?email_source=notifications&email_token=AGFONGLUF2FZZ67WDNMMJADQATREHA5CNFSM4IFOKZT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ONESY#issuecomment-513593931,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFONGMCZY7WTZOHNT7JF23QATREHANCNFSM4IFOKZTQ
.

Add the following to your configuration.yaml:
logger:
  default: warn
  logs:
#   geniushubclient: debug
    homeassistant.components.geniushub: debug
    homeassistant.components.geniushub.climate: debug

Keep the # in front of geniushubclient for now.
Grep for zones_raw and zones_raw and send me the first copy of those two lines (they are large - send via PM/Dropbox as before).

Is your configuration.yaml correct? Note the warn, and the #:
logger:
  default: warn
  logs:
#   geniushubclient: debug

Also, there was a typo above - send me devices as well as zone:
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.components.geniushub] zones_raw = ...
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.components.geniushub] devices_raw = ...

I only need the first two copies of zones_raw and devices_raw from homeassistant.components.geniushub.

Hi David,
Yes, the yaml does match - I cut'n'pasted across.
Are these files any better?
https://www.dropbox.com/sh/6a8wr5zjkutdgqe/AACzUNTYLHlbH900pOOlI7Z3a?dl=0
Regards
Ian
On Tue, 23 Jul 2019 at 09:09, David Bonnes<EMAIL_ADDRESS>wrote:

Is your configuration.yaml correct? Note the warn, and the #:
logger:
default: warn
logs:#   geniushubclient: debug
Also, there was a typo above - send me devices as well as zone:
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.components.geniushub] zones_raw = ...
2019-07-22 11:04:02 DEBUG (MainThread) [homeassistant.components.geniushub] devices_raw = ...
I only need the first two copies of zones_raw and devices_raw from
homeassistant.components.geniushub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/25343?email_source=notifications&email_token=AGFONGNMIAKM5JZIA6AOZXLQA24EXA5CNFSM4IFOKZT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2SJFTQ#issuecomment-514101966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGFONGI7OSYWBNM2NQ2L7SDQA24EXANCNFSM4IFOKZTQ
.

Perfect! I can reproduce the problem, and I can confirm it is an issue with the client library.

Great - let me know if you want me to test anything.
Regards
Ian

The bug has been found.

@ianpra when 0.96.5 is out, please let me know how it goes.

@zxdavb - just updated to 0.96.5 and it is now all working correctly - thank you.
Has this been tested with the latest version of GeniusHub (5.3)? I haven't upgraded yet as I didn't want to change anything whilst you were troubleshooting this issue.
Ian

Only tested on 5.2.10, specifically:
root@vm-builder:~$ curl -X GET https://my.geniushub.co.uk/v1/version -H "authorization: Bearer ${HUB_TOKEN}"
{"hubSoftwareVersion":"5.2.10","earliestCompatibleAPI":"https://my.geniushub.co.uk/v1","latestCompatibleAPI":"https://my.geniushub.co.uk/v1"}


Update the security-secrets-checker script

Use the new path /tmp/edgex/secrets/* for checking the sentinel files due to the change of splitting vault images and compatibility on MacOs + Linux
Related to fixing edgex-go issue #1716, on step 3 of PR edgexfoundry#2146
Signed-off-by: Jim Wang<EMAIL_ADDRESS>

@lranjbar, @tingyuz   please label this as Geneva and security-services related if you can

reviewers: @bnevis-i, @lranjbar, @michaelestrin, @tsconn23

LGTM, but this is blocked on https://github.com/edgexfoundry/docker-edgex-consul/pull/9

This is a breaking change for geneva. VERSION needs to be updated to 1.1.1

From now on, I think we are tracking on the master as we developing. Version is set when the release is ready.

We are trying to decouple the version from the branch to make it easier for testing.

From now on, I think we are tracking on the master as we developing. Version is set when the release is ready.

Does that mean VERSION should be deleted in this PR?

From now on, I think we are tracking on the master as we developing. Version is set when the release is ready.

Does that mean VERSION should be deleted in this PR?

No.  I think the "VERSION" file still needs for release on CI pipeline when it is ready.  The majority of time it should be "master" while developing and use it for nightly builds.  I saw @lranjbar Lisa has PR #11  to change it to "master" on this master branch.  @lranjbar please chime in if I am incorrect.

From now on, I think we are tracking on the master as we developing. Version is set when the release is ready.

Does that mean VERSION should be deleted in this PR?

It is safe to delete the VERSION file in this repository at this time.

I'm still not tracking this conversation.  In Fuji branch, version is 1.1.0.  Most of the other repos have VERSION == master (after Lisa changed it from 1.1.1).   I am concerned that the nightly scripts will overwrite the fuji branch version of consul with the master branch consul the next time it builds and break fuji if we don't change VERSION.  If you tell me this won't happen I am ok with that.


Add to poem's Openapi specification via SecurityScheme

I have managed to implement JWT middleware based on existing example and it works but there is no mention of it in the generated openapi specification. Is it possible to add it?
There is existing solution in raw poem-openapi that seems to include it: https://docs.rs/poem-openapi/latest/poem_openapi/derive.SecurityScheme.html

You should manually add a security scheme, because this crate is auth-type agnostic.
See this example in another issue.
Please, correct me if I got you wrong.

The example works. I am overthinking it same as Nahuel. The extra security arg feels a little redundant but if there is no way to do it without adding it then I will roll with it. Thank you


[BUG] visual glitch when multiple inventory tabs

https://i.gyazo.com/c2746cb89660bb4e4e3bd2756809aa99.gif

maybe move it aside instead of top?
except, there are mods who use left side (ReSkillable) so it may cause conflict aswell.


add selector props to subcomponent to be able get particular part of …

…parent state

Coverage increased (+0.05%) to 87.533% when pulling 6d4744b3075dfa93aff67ac7d58d55a9b8ecfa05 on kindritskyiMax:add_selector_to_subcomponent into fa0acb7d22850b3e02381d6dd617360a0ac35d46 on brabadu:master.


order of cf plugins is non-deterministic

Command
cf plugins
CLI Version
$ cf --version
cf version 6.21.1+6fd3c9f-2016-08-10

Error
I'd expect cf plugins to show the same output every time I call it. The order of available commands seems to be somehow random. I don't know what the order criteria should be (probably either Plugin Name or Command Name, maybe in even in that order). It should at least be consistent
$ cf plugins
Listing Installed Plugins...
OK

Plugin Name     Version   Command Name        Command Help
Stack-Changer   1.1.0     stack-change        Update stacks for apps from lucid64 to cflinuxfs2. Restart started apps.
Stack-Changer   1.1.0     stack-list          List all apps running on stack lucid64.
open            1.1.0     open                open app url in browser
open            1.1.0     service-open        open service instance dashboard in browser
usage-report    1.1.0     usage-report        Report AI and memory usage for orgs and spaces
Diego-Enabler   1.2.1     enable-diego        Migrate app to the Diego runtime
Diego-Enabler   1.2.1     disable-diego       Migrate app to the DEA runtime
Diego-Enabler   1.2.1     has-diego-enabled   Report whether an app is configured to run on the Diego runtime
Diego-Enabler   1.2.1     diego-apps          Lists all apps running on the Diego runtime that are visible to the user
Diego-Enabler   1.2.1     dea-apps            Lists all apps running on the DEA runtime that are visible to the user
Diego-Enabler   1.2.1     migrate-apps        Migrate all apps to Diego/DEA

second run
$ cf plugins
Listing Installed Plugins...
OK

Plugin Name     Version   Command Name        Command Help
usage-report    1.1.0     usage-report        Report AI and memory usage for orgs and spaces
Diego-Enabler   1.2.1     enable-diego        Migrate app to the Diego runtime
Diego-Enabler   1.2.1     disable-diego       Migrate app to the DEA runtime
Diego-Enabler   1.2.1     has-diego-enabled   Report whether an app is configured to run on the Diego runtime
Diego-Enabler   1.2.1     diego-apps          Lists all apps running on the Diego runtime that are visible to the user
Diego-Enabler   1.2.1     dea-apps            Lists all apps running on the DEA runtime that are visible to the user
Diego-Enabler   1.2.1     migrate-apps        Migrate all apps to Diego/DEA
Stack-Changer   1.1.0     stack-change        Update stacks for apps from lucid64 to cflinuxfs2. Restart started apps.
Stack-Changer   1.1.0     stack-list          List all apps running on stack lucid64.
open            1.1.0     open                open app url in browser
open            1.1.0     service-open        open service instance dashboard in browser

Platform Details
$ uname -a
Darwin WDFM32386574A 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

Shell
iTerm2

Hi Marco,
I believe the order of commands within the plugin is consistent (I get the same order as you get for Diego-Enabler, trying several runs), which is the same order they're stored in the plugin config file, which I believe is the same order the plugin declares them. I'd like to maintain that order, as plugin authors may be grouping them in some logical order (e.g. enable-diego and disable-diego are paired and followed by the related has-diego-enabled).
We can look at sorting by Plugin Name. Case-insensitive alphabetical order makes sense.
Sounds good?
Regards,
Dies Koper
CF CLI PM

Hi Dies,
sounds good to me. Keeping the order that the plugin developer had set can make sense (if that was done on purpose). What mostly threw me off was the different ordering of the plugins on each call.
Warm regards
Marco

Thanks again for your suggestion. We have addressed it in the current release.
https://github.com/cloudfoundry/cli#downloads
Cheers,
Dies Koper
CF CLI PM

Verified with CLI 6.22.0+f9f1460-2016-09-23, thanks!


readable/writable fix

On my original idea these properties must be available without instance creation.

But no instance is created here. Without an Environment class receiver code completion will suggest these properties in any scope. I would prefer to avoid it. You can import these methods directly if you reuse this class multiple times in single file.


Add "resolve_types" argument to attrs.define()

Add a resolve_types: bool = ? argument to attrs.define() and call resolve_types() on the new class if True is passed.
Why?
According to the Typed Settings issue tracker, people seem to start playing with postponed annotations.
For Typed Settings to work, annotated types need to be resolved.
We try to automatically do this but it is not always possible to do it.
So people need to do sth. like this:
@attrs.resolve_types
@attrs.define
class Settings:
    opt: int = 0

It would be a bit nicer if they could write
@attrs.define(resolve_types=True)
class Settings:
    opt: int = 0

instead.  This would also make it easier to write custom define() partials similar to frozen().
I can create a PR if needed.

Pydantic automatically does this so I guess users might eventually expected this behavior from attrs, too.

I'm open to PRs!


Next Optimization Plan

Here are some optimization ideas that I'm currently thinking about
1. Optimization for standard library's Marshal(JSON|Text) and Unmarshal(JSON|Text)
The standard library's Marshaler returns valid and (compacted) JSON, so we can omit validation and compaction process for specified types e.g.) time.Time  net.IP big.Float
Similarly, json.RawMessage can be optimized .
2. Using unsafe.Add since Go 1.17
Since we can use more optimized instructions by using unsafe.Add,
It can be expected that the speed of the part where pointer calculation is performed will be increased.
3. Add unordered option for struct fields when encoding
By adding the unordered option, encoding of the same type can be processed at once, which improves the execution efficiency of the VM. In some cases, tail-recursive optimization can be used in recursive instructions and interface instructions.
4. Opcode's design with CPU cache in mind
Adjusting the size of the structure used at the time of encoding makes it easier to be placed in the CPU cache.

suggesstion:
Just assert ptr to time.Time and call time.Time{}.AppendFormat(buf, time.RFC3339Nano) direcly for time.Time?


KDE5 system settings: failing to contact global shortcuts daemon

Issue description
Global shortcuts do not work in KDE5 after upgrade from nixos-16.03 to nixos-17.03 or nixos-17.09 or nixos-unstable.
Cannot switch windows, change volume and brightness levels, launch commands, etc using keyboard.
kglobalaccel5 doesn't start manually either. It is on the search path but
its dependencies couldn't be found.
Steps to reproduce
Using mouse:

Click on the "application launher" button in the left bottom corner of the screen.
Click:  Applications --> Settings Menu --> System Settings --> Shortcuts --> Global shortcuts.
Error dialogue window titled "Sorry --- System  Settings" pops up with the following body of text:
"Failed to contact the KDE global shortcuts daemon".

Using command line:

Start "konsole".

kglobalaccel5

Message is printed:
kglobalaccel5: /nix/store/jm1n87rp8vr90j9ahcrfzr57nc2r8vgf-glibc-2.24/lib/libc.so.6: version `GLIBC_2.25' not found (required by /nix/store/vrs0ap0nal69mypqr4digwxlmacm0kc8-expat-2.2.2/lib/libexpat.so.1)

/etc/nixos/configuration.nix is taken from another (working perfectly fine) nixos-17.03 system which was  installed as such (no history of upgrades to different major versions,  system.stateVersion = "17.03").
The system with buggy global shortcuts daemon is system.stateVersion = "16.09";
Technical details

System: NixOS: 17.03.1819.7eb1a42de4 (Gorilla)
Nix version: nix-env (Nix) 1.11.14
Nixpkgs version: "17.03.1819.7eb1a42de4"
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)

build-use-sandbox: command not found

Other symptoms

The wallpaper has a message rendered in the middle of the screen:
"Unable to create io-slave. Cannot talk to klauncher: The name  org.kde.klauncher5 was not provided by any service files."

I tried today the unstable and there are still no global shortcuts.
On a brighter end, the message "Unable to create io-slave. Cannot talk to klauncher: The name org.kde.klauncher5 was not provided by any service files." is gone. Some good changes have certainly happened!

I am closing this issue because the affected packages are no longer in Nixpkgs.


flow:converter: Add string to blob

A converter node that receives a string packet in its IN port
and send a blob packet in the OUT port.
Signed-off-by: Flavio Ceolin<EMAIL_ADDRESS>

merged with the fixes. Thanks !


JSX Support

Usage
Add .jsx to file which have JSX fragment.
class Fancy
  def render
    React.create_element('div') { "fancy" }
  end
end

class App
  include React::Component

  def render
    jsx(%x{

Outer

        <Fancy>{ #{5.times.to_a.join(",")} }</Fancy>

    })
  end
end

React.expose_native_class(Fancy)

React.render React.create_element(App), `document.body`

JSX Transformer
Sprockets ES6 is added as dependency to transform .jsx file to vanilla JavaScript (only React transformer is used)
React.expose_native_class
Since JSX needs a reference to component class in global scope, this helper method is added.

Maybe add a method to get the native component class, and let user assign them to whatever scope they want may be a better idea.
`var App = #{React.native_class(App)}`
React.render React.create_element(`<App />`), `document.body`

@zetachang what is the status of this? Anything I can help with/test/etc?

@adambeynon , it's ready to get merged. The only concern is that I am not sure if this actually feed the need of someones who brought this up in #8.

This issue was moved to reactrb/reactrb#11


Output a universal binary

it will require macos 11 sdk, but compiled binary can be run on previous versions
(tested at a 2012 intel macmini running catalina, can later test on a mavericks install, just need to dust off some HDDs 😅 )

@rvagg Is this binary something the Node.js project still needs? If so, would someone be able to build and notarize a new version that is a universal build?

Context: https://github.com/sindresorhus/term-size/pull/16

deferring to others via nodejs/node#31459


Warning when using legacy lifecycle methods

Hi! When using the Form component, I get a lot of warnings in my console like this:
react-dom.development.js:12029 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Form(ProcedureForm)

did you solve it. and When I turn off debug mode，it will be Stuck

also I use react-native 0.60.5


Closes #192 | Create dataset loader for MALINDO_parallel

Closes #192.
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Please can you add __init__.py file, and also remove all comments (especially TODO)

Hi @MJonibek, that's just done. Thank you for reviewing!

Sorry for the very late reply. Suggestions are committed, thank you for the feedback!

LGTM! Let's just wait for @holylovenia 's review :)

Hi @bryanwilie, please let us know if you need any help for this PR! 👍

Hi @bryanwilie, please let us know if you need any help for this PR! 👍

should be done!


adding licensing annotations for pre-zen-config

Signed-off-by: aniruddhj<EMAIL_ADDRESS>issue: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/53446

/cherry-pick release-ltsr

/re-test

/retest


engine: database-specific configuration

Implement a configuration per-database. Ideally, this is included in the database file, maybe as separate table with a reserved name.
This reserved name must actually be reserved, so there need to be restrictions on CREATE statements.
Maybe this can be merged with some kind of master table, which contains meta information about the database, such as creation time of tables etc.
I imagine it to be usable kind of like this:
SELECT * FROM master WHERE key = 'PCTFREE';

+---------+-------+
| key     | value |
+---------+-------+
| PCTFREE | 60    |
+---------+-------+

Now as this won't work pretty for things like creation date of table X, the developer has to come up with some clever scheme.
This scheme must be documented in xdbdoc and a link should be commented in this issue.

There is a config page that is held by page 0, maybe that is sufficient?


[discussion] Support for Pyth, ChainLink, or other oracles

[Placeholder for triage]

Closed in favor of #2075


Allow blank soap actions on operations

Soap actions are allowed to be blank when parsing a WSDL when the optional parameter allow_blank_soap_action: true is passed as an option when calling Soap.init_model/3. Additionally, a test with fixture is included to ensure the behavior of the option is honored when the param is included and omitted.
Fixes #67 and includes a test that ensures current behavior if the parameter isn't included when parsing the WSDL.

Hi @kelcecil, sorry for the long waiting time.
Thanks for your contribution.
Can you please add some documentation to this parameter? I think this will be very useful for those who will encounter errors.

@kelcecil Thanks! 🔥


seems to work but

Hello !
I am trying the Evertims blender addon on a linux fedora x64 , with the idea to create a small audio only echolocation labyrinth ( you try to find your way in a maze using your ears, like a blind person would )
Compiling the raytracing client went fine, when started is outputs as expected :
Material: penkki already in the database. Initializing new writer. Path pattern = listener_1. Order: 0 - 1048576. Amount: 1048576. Host = localhost:3862 socket      : OK bind        : OK socket      : OK ...
Compiling the Auralization engine seemed to go smooth, but when starting  it outputs :
terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'   what():  Failed to open HRIR file: iostream error
After reading the issue on https://github.com/EVERTims/auralization_engine_evertims/issues/3 , I tried to use the binary that @thima2017 provides : link
This binary starts and plays files just fine.
Then in blender 2.79b , I installed the addon without problems, and configured it to use the raytracing client that I built, the mat file that is included, and the auralization engine from the above mentioned binary.
It seems to work all great, the template scene loads fine, I see in the blender console that the raytracing client is started, the EvertSE client is started, plays and loop my file great.
But , both in on the fly or BGE modes, if I move the listener or the source, or if I change the room size or material, I cannot hear any changes in the audio quality. I don't see any rays being traced in the 3d view either.  :
screenshot
The console does show messages about things happening when I move Suzanne or the source :
-> sent to<EMAIL_ADDRESS>/listener listener_1 0.11 0.0 -0.0 0.0 -0.0 0.11 0.0 0.0 0.0 -0.0 0.11 0.0 1.04 -0.81 -0.0 1.0
What could go wrong ? The console and logs are not very talkative, it seems everything goes fine.
Maybe I have forgotten something ?
Thanks !!

I built my own Auralization engine from source, and added the data folder as per  @thima2017 recommendation. Now it starts fine, plays wav file and doesn't complain.
But inside blender, no changes so far.

Do you have any log in blender console when you enable the "print raytracing client logs in console" in blender (and not "print local logs in Blender console")?


Remove dupicated authentication

Codecov Report

Merging #57 (34c06be) into master (0733ee2) will decrease coverage by 0.18%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
- Coverage   62.50%   62.31%   -0.19%
==========================================
  Files           6        6
  Lines         424      406      -18
==========================================
- Hits          265      253      -12
+ Misses        159      153       -6

Impacted Files
Coverage Δ

src/pytest_xray/helper.py
62.83% <0.00%> (+0.01%)
:arrow_up:

src/pytest_xray/plugin.py
70.46% <0.00%> (-0.78%)
:arrow_down:

src/pytest_xray/xray_publisher.py
42.85% <ø> (-0.57%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Finish PEP 257 cleanup and enable linting in CI

Resolves #1474.

Awesome, this looks great. Thanks for the help getting this all cleaned up! I'm glad to have more linting on our docs.


PLEASE DO NOT APPROVE - bug bounty testing - please ignore. gjzxlg

PLEASE DO NOT APPROVE - bug bounty testing - please ignore. gjzxlg

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

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


Propose a compatibility version using polyfills

Seems working, at least on firefox without flags:
https://github.com/Swiip/compo/tree/master/examples/2048-compat

Strangely not working on CodeSanbox :/


Add Podcasts by @Karambirov

[x] Project URL: https://github.com/Karambirov/Podcasts
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thank you 🙏


Remove byte order mark from schema file

Remove the byte order mark from the schema file to fix Visual Studio Code parse error.

Apparently someone happened to have done that a few days ago. It was closed as being against the RFC: https://github.com/microsoft/vscode/issues/163683#issuecomment-1280767562

The build result doesn't seem to be available anymore. @martincostello, was there an actual problem with the pull request? Sometimes the builds fail for reasons seemingly unrelated to the actual PR. If so, you could run the build again.

I think it was a random failure - I don't have the appropriate access to force it to re-run.

I usually amend and force push when it happens

@bjornhellander Third time's the charm 😄


[NavigatorIOS] - Not resizing properly on an iPad when orientation changes from landscape to portrait

When I change the orientation on an iPad from landscape to portrait the NavigatorIOS component is not resizing.
This doesn't happen for an iPhone, or when testing an iPad on the simulator. I've tested across multiple devices and versions of iOS (8.4 and 9.1).
I can reproduce it with the following components using RN 0.17.0:
import React, {
  View,
  Text,
  StyleSheet,
  NavigatorIOS
} from 'react-native'

var styles = React.StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: 'white',
    alignItems: 'center',
    justifyContent: 'center',
  },
  messageStyle: {
    width: 300,
    textAlign: 'center',
    fontSize: 16,
    color: '#666666',
  },
  appContainer: {
    flex: 1,
    backgroundColor: 'white',
  },

});

class EmptyFeed extends React.Component {

  render() {
    return(
      <View style={styles.container}>
            <Text style={styles.messageStyle}>
              LOADING
            </Text>
      </View>
    )
  }
}

class App extends React.Component {

  render() {
    return (
      <NavigatorIOS
        style={styles.appContainer}
        titleTextColor={'red'}
        tintColor={'#65bc97'}
        translucent={true}
        initialRoute={{
          title: 'Explore',
          component: EmptyFeed
        }}
      />
    )
  }
}

React.AppRegistry.registerComponent('App', () => App);

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/navigatorios-not-resizing-properly-on-an-ipad-when-orientation-changes-from-landscape-to-portrait
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


23 hero block

Add hero styling.
Fix #23
Test URLs:

Before: https://main--mammotome--hlxsites.hlx.page/en/dj-test
After: https://23-hero-block--mammotome--hlxsites.hlx.page/en/dj-test

CLS needs to be fixed before merge


Support custom pattern matcher

Fixes #2

Codecov Report

Merging #7 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #7   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      2    +1
  Lines         158    198   +40
  Branches       24     27    +3
=====================================
+ Hits          158    198   +40

Impacted Files
Coverage Δ

responsex/models.py
100% <100%> (ø)

responsex/mock.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Quality of life improvements

Big PR, apologies in advance. Here's the highlights:

Replace custom logger with Logrus for highlighting, better API, support transports, etc.
Clean up log lines (change levels where needed, match Golang code review standards, use Logrus fields where it made sense).
Replace all string concats (using + to combine two strings or using strings.Replace to replace tokens) with fmt.Sprintf or in the case of the SSDP XML, a struct that Unmarshals to a XML string.
Replace the outdated flag library with kingpin.
Move the m3u library internal, rebuild it based on a regex I slaved over for hours to extract all tags as well as make it more generic (accepts a io.Reader instead of a file path and doesn't put any tags into owned structs, instead expecting a struct to be provided by implementing package with tagged fields).
Don't download the M3U to a temp directory, store it in memory.
Migrate from using net/http to gin-gonic which is much faster and allows cutting down a lot of duplicate and unnecessary logic.
Rework flags to make more sense, updating descriptions and such.
Reworked filtering system to make the regex more predictable, specifically documenting inclusion/exclusion behavior.
Removed UK, season/episode and 24/7 regexes as users can easily re-add them and it made the logic too complex to understand otherwise.
Implement Prometheus metrics to expose basic info + performance metrics.
Run gometalinter with all tests, do general cleanup to fix all errors.
Split up main() to lower cyclomatic complexity and increase readability.

👍

👍 ⚡

de nada

🔥


Issue 3

Fixes #3
Instead of moving the maven build, etc. to java-function-invoker, keeping it here in a java directory is a simpler way to build a jar with only the gRPC bits.  Added language modules for Python and Node.js.

Merged as 4f6d29a (had to restore the .mvn directory inside java/)


initializing js/ts language features never completes

I'm also getting the loading indicator for a few versions now. I'm working on Vue.js (Nuxt.js) project, and not using Typescript at all. The loading indicator is annoying and distracting, so I'm trying to suppress it, and I know there are several issues about the same problem, but I could not find a way to do this.
Can someone provide a way to suppress this message or point to a previous vscode version without this bug?
Thanks

/needsMoreInfo

/needsMoreInfo

What info is needed?

Please use the issue template and follow the guide to report issues