Libp2p Router

Description of the Change
Router is an application-level protocol manager, which task it to redirect new streams to handlers, depending on the protocol.
Benefits
New Libp2p module.
Possible Drawbacks
None.

You should fix CI before proceed

Codecov Report

Merging #119 into master will decrease coverage by 0.2%.
The diff coverage is 59.84%.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
- Coverage   71.44%   71.24%   -0.21%
==========================================
  Files         261      270       +9
  Lines        7785     7921     +136
  Branches     4024     4096      +72
==========================================
+ Hits         5562     5643      +81
- Misses       1247     1283      +36
- Partials      976      995      +19

Impacted Files
Coverage Δ

core/libp2p/network/router.hpp
100% <ø> (ø)

core/libp2p/host.cpp
10.52% <0%> (ø)
:arrow_up:

core/libp2p/network/impl/router_impl.hpp
100% <100%> (ø)

test/mock/libp2p/connection/stream_mock.hpp
15.38% <15.38%> (ø)

core/libp2p/network/impl/router_impl.cpp
56.25% <56.25%> (ø)

test/core/libp2p/network/router_test.cpp
71.87% <71.87%> (ø)

deps/outcome/outcome/outcome-external.hpp
76.47% <0%> (-2.32%)
:arrow_down:

core/libp2p/basic/reader.hpp
100% <0%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


first shot at blockchain introduction

There are images coming with the markdown. I recommend viewing a version where the image are rendered for the purpose of reviewing

Closing as outdated


Impending Doom with Input System Saving/Loading Overrides

See here - EDIT: the link doesn't appear to work correctly but just go to the saving and loading rebinds section
This doesn't seem to be in the current Input System release but it appears to be coming, and soon.
This will pretty much trivialize some of the work I'm doing now, but it will make it much easier to do this package. I don't think this is a replacement for my abstraction on top of the input system though, since it still seems like whatever they do is going to be pretty complex. We'll see!

So I've been thinking about this for a while - not sure if I even want remappable controls. I've gone back and forth on it, but until the Input System actually works, and they flesh these options out a bit more, I'm just going to exclude it from releases.


Add nullableInput

Hello and thanks for this lib that has completely changed my way of doing client and server side validations.
One pattern that I'm missing is the ability to change the input type while keeping the output type strict. This PR includes my most needed one: Adding nullable type on the input.
Why?
I'm using schema["_input"] type to strongly type the initial values of my form, and some values are required but can't have a meaningful default (like choosing an entity from a list) and are set to null.
Current solution
export const addNullInput = <A, B, C>(value: ZodType<A, B, C>) =>
  value
    .nullable()
    .refine((v) => v !== null, "Required")
    .transform((v) => v!);

The problem is it creates some runtime and type-checking overhead that could be simplified with a support from the lib.
Related
https://github.com/colinhacks/zod/issues/213

Interesting use case. It recently because possible to add issues inside transforms, similar to superRefine, which unlocks a cleaner approach to this problem:
  const noNull = <T>(val: T | null, ctx: z.RefinementCtx) => {
    if (val === null) {
      ctx.addIssue({
        code: z.ZodIssueCode.invalid_type,
        expected: z.ZodParsedType.string,
        received: z.ZodParsedType.null,
        message: "Required",
      });
    }
    return val!;
  };
  const schema = z.number().nullable().transform(noNull);

You can define noNull somewhere and import it wherever it's needed. Because it's generic, it can be used on any nullable schema and the input/output types will be what you expect.


Added template license, readme, action to render quarto to GH Pages

related to #1

for release v0.2.0


Update github-release task

CC @lsegal
This change updates the github-release task to work with the GitHub release API changes.
Before the change the upload_url was as follows:
https://uploads.github.com/repos/aws/aws-sdk-js/releases/1831054/assets{?name}
After the change the upload_url returned is as follows:
https://uploads.github.com/repos/aws/aws-sdk-js/releases/1831054/assets{?name,label}
This change corrects the regular expression used to parse the upload_url

Thanks!

Thanks for merging this in @lsegal. Any idea on when we can begin using this from RubyGems?

I don't currently have a dev environment setup to release, but I will take a look at it next week. You should be able to point your Gemfile to the GitHub master branch for now.

Okay great!


Fix missing import in gtk/window.rs

Cherry-picked from jpochyla/druid@a9522f5 .
Otherwise building jpochyla/psst on Linux or OpenBSD fails:
error[E0433]: failed to resolve: use of undeclared type `XcbHandle`
   --> /home/kn/src/druid/druid-shell/src/backend/gtk/window.rs:118:30
    |
118 |         RawWindowHandle::Xcb(XcbHandle::empty())
    |                              ^^^^^^^^^ not found in this scope
    |

This code was introduced in 2da53f040625b57e3e7741ceba1d261e19b07359 which
seems to target Windows and Mac but not Linux, so I assume that is why it
went unnoticed.

Pardon the noise, I meant put this comment https://github.com/linebender/druid/pull/1993#issuecomment-967223703 here.


token is invalid, error out as keyspace not found instead of 401 unauthenticate

findCollections, createCollection, etc.

Is this dup of #707?

let me close


Webui not works

I am using Langflow version 0.6.0. To escape from dependency issues,
I executed make init, make frontend, and make backend consecutively in the Python virtual environment path to access the UI. I have set up a simple configuration as shown in the attached screenshot. The API works correctly, but the browser's preview function does not work properly. Also,

ValueError: Error: cannot import name 'CreateTrace' from 'langfuse.callback'
(/home/battlecruser/langflow/lib/python3.10/site-packages/langfuse/callback.py)
[02/21/24 05:17:09] ERROR    2024-02-21 05:17:09 - ERROR    - chat - Error in chat websocket: control frame too long                                                   chat.py:46
[2024-02-21 05:17:09 +0000] [2266812] [ERROR] Exception in ASGI application
...
[2024-02-21 05:17:09 +0000] [2266812] [INFO] connection open

The core issue revolves around an ImportError related to the inability to import CreateTrace from langfuse.callback. This error triggers a series of exceptions within the Langflow application when trying to process messages through the chat service. Specifically, the application attempts to set up callbacks for processing, but fails due to the missing CreateTrace function, leading to a cascade of errors that ultimately cause the websocket connection to close unexpectedly. Additionally, there's an exception related to a "control frame too long" error within the websocket protocol, indicating a problem with handling websocket frames, which might be symptomatic of deeper issues in the application or its configuration.

Attempting with version 0.6.7 from the branch works. It seems that other contributors will just need to wait until that build is released.
It seems the issue was related to Langfuse, but it appears to be resolved now.


The provided customer-managed cluster 'Rubrik-Exocompute-Customer-Managed' is not in the expected 'ACTIVE' state

Expected Behavior
When attaching a customer managed Exocompute cluster to RSC, the command should complete successfully.
Current Behavior
When running this code:
data "aws_region" "current" {}

# Temporary fix until this error is resolved:
# │ Error: failed to lookup exocompute config: failed to get vpcs: failed to
# | request allVpcsByRegionFromAws: graphql response body is an error (status code 200): Objects
# | are not authorized (code: 403, traceId: x9TBQt14uQpe5tSLU2BDEQ==) | error is

resource "time_sleep" "wait_for_polaris_sync" {
  create_duration = "60s"
}

# Create an Exocompute configuration using the specified VPC and subnets.
resource "polaris_aws_exocompute" "customer_managed" {
  account_id              = var.rsc_aws_cnp_account_id
  region                  = data.aws_region.current.name

  depends_on = [time_sleep.wait_for_polaris_sync]
}

resource "polaris_aws_exocompute_cluster_attachment" "cluster" {
  exocompute_id = polaris_aws_exocompute.customer_managed.id
  cluster_name  = var.aws_eks_cluster_name
}

The following error occurs:
│ Error: failed to connect exocompute cluster: failed to request connectAwsExocomputeCluster: graphql response body is an error (status code 200): INVALID_ARGUMENT: Error RBK30200017: The customer-managed cluster 'Rubrik-Exocompute-Customer-Managed' is not ready for Exocompute. Possible cause: The provided customer-managed cluster 'Rubrik-Exocompute-Customer-Managed' is not in the expected 'ACTIVE' state. Possible remedy: Ensure the provided cluster is in the 'ACTIVE' state for Exocompute. (code: 400, traceId: 8xmlXkATpZcjVEfo3JXd4A==)
│
│   with module.polaris-aws-cloud-native-customer-managed-exocompute-us-east-1.polaris_aws_exocompute_cluster_attachment.cluster,
│   on ../../terraform-aws-polaris-cloud-native-customer-managed-exocompute/main.tf line 20, in resource "polaris_aws_exocompute_cluster_attachment" "cluster":
│   20: resource "polaris_aws_exocompute_cluster_attachment" "cluster" {
│

Rerunning the plan some time later resolves the issue.
I suspect that after running polaris_aws_exocompute that some time is needed for the cluster to become active. TF should not return until the cluster is active. Alternatively, polaris_aws_exocompute_cluster_attachment should wait longer for the cluster to become active.

@DamaniN not sure about what could be causing this issue. Looking at the attached TF configuration code, the snippet does not create a delay between polaris_aws_exocompute and polaris_aws_exocompute_cluster_attachment, it just creates a delay before polaris_aws_exocompute is created. Is the AWS EKS cluster also created by the same TF configuration? Could it be that the EKS cluster is not yet fully created in AWS?


hash string

can I replace the string with a hash example: [name].[hash].[ext]

I'm not clear.. Could you post a real-life example of what you want to happen?


Builder::getQuery() ignores scopes

Laravel Version: 5.8.16
PHP Version: 7.3.5 x64
Database Driver & Version: MariaDB 10.3.13

Description:
When you have a Model with SoftDeletes trait, for instance, that will apply the SoftDeletingScope to the model, it will be ignored if you use the getQuery() method on an instance of this model.
Steps To Reproduce:

Setup your .env (database, basically).

composer create-project --prefer-dist laravel/laravel=dev-master laravel-test
cd ./laravel-test
php artisan migrate:install

Patch with this gist: https://gist.github.com/rentalhost/a4b2446e3c772a3c14ababd990e5c7a9

php artisan migrate
phpunit

It will fail on second test of tests/Unit/ExampleTest.php file.
Real case
In my case, I have two tables: companies and company_groups. Each company could have one company group, but a group could belongs to many companies (N-to-1 relationship). The user can search by a company group "category", and it should returns all companies compatible with this search. Some groups was soft deleted. So I do basically that:
$companiesQuery = Company::query();
$companiesQuery->whereIn('id',
    CompanyGroup::query()
        ->where('company_category', $categoryId)
        ->getQuery()
        ->select('company_id')
);

My expectation is that is generates that:
SELECT *
FROM companies

WHERE
    companies.id IN (
        SELECT company_groups.company_id
        FROM company_groups

        WHERE
            company_groups.company_category = ? AND
            company_groups.deleted_at IS NULL
    ) AND

    companies.deleted_at IS NULL

But currently it will skip all scopes when called from getQuery(), so we will get that:
SELECT *
FROM companies

WHERE
    companies.id IN (
        SELECT company_groups.company_id
        FROM company_groups

        WHERE
            company_groups.company_category = ?
            ### Plin! ###
    ) AND

    companies.deleted_at IS NULL

Which will list companies that belongs to some group category that was deleted previously.
Current workaround
Currently I need to force withoutTrashed() for every time that I need do that, and for every scope that I need to use that is global for this model (that is ignored).
Suggestion
To avoid BC, I think that is better create a new method like getQueryWithScopes(), so getQuery() will keeping return without scopes. But I still thinks that it is a bug -- or at least is very hard to know the behavior before you run it.

This is the intended behavior. You can use toBase() to get the underlying query builder with all global scopes applied.
Why are you using getQuery()? In your example, it wouldn't be necessary.

Oh! You are right. For some reason I am using like this a long time, I don't remember why I started using that. Now I need update all my code to remove my hacks. haha


Split reporter into result parsing and reporting

Currently the reporter has 2 functionalities: parse the results from benchmark generated logs, and report the results to a storage location. The former is bound to specific benchmark runners, while the latter should be common across all benchmark runners.
We need to split the reporter into 2 different steps, and turn the reporting part into a common module. We also need a common protocol for feeding data into the reporting part.

/priority p2

This has been addressed.


Better look camera

Significantly improves look camera functionality.
To test:

Looking around in various player states.

There is a bug when you exit the water room while trying to look left/right, Lara is stuck with twitching arms and slowly rotating to the side you were looking.

The look camera looks good, had no issues with it


unit test for ExistValidator with EachValidator

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Related https://github.com/yiisoft/yii2/commit/205f16811a6071ad5d1dbea4cba9fd8a3282f6c5

ExistValidatorTest should not be affected by EachValidator test case. Code should be moved inside EachValidatorTest.

Still, I don't see much benefit of such unit test.
The invocation of validateAttribute() already covered using CompareValidator.
There is no sense to test EachValidator against all validator classes, which provide thier own implementation of validateAttribute() method.

then why did you asked me to make this pr then?

Sorry for that, I did ment no harm.
Still, while the PR needs improvement - there is no sense to waste more of your effots on it.


Hide Explorer Arrows

Can we add:
       "hidesExplorerArrows":true

https://code.visualstudio.com/updates/v1_18#_folder-icons-in-file-icon-themes
Also a *.qtpl definition would be nice.

I modified my copy of your theme to do this and, IMO, it looks great:

Yeah it does. I hope it gets merged.

Included in the v0.9.0 release :)

Eurgh, not a fan. Please make this toggle-able


Adding coverage to the YAML

Issue #16 close

Codecov Report

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

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage          ?   97.23%
=========================================
  Files             ?        4
  Lines             ?      868
  Branches          ?        0
=========================================
  Hits              ?      844
  Misses            ?       24
  Partials          ?        0

Continue to review full report at Codecov.

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


LoRA: adapter file Support path information

Enable the passed in args.adapter_file to contain path information, such as passing in "build/adapters.npz". The storage path of the final file is as follows:
.
├── build
│   ├── adapters.npz
│   └── checkpoints
│       ├── 100_adapters.npz
│       └── 200_adapters.npz

Looks like the format failed, could you run the pre-commit hooks?
After that, we can merge it!

It‘s DONE.


Opening scheduleDetailPopup without clicks, only using JavaScript

I have a calendar with events.  When an event is clicked, the detailed popup is shown.
How can I show the detailed popup for an event, if I know the calendar ID, and the scheduleId, but without any clicks?

You can use getSchedule() method.
https://nhn.github.io/tui.calendar/latest/Calendar#getSchedule
const schedule = calendar.getSchedule(scheduleId, calendarId);

How can I open the detailpopup, once I call getSchudule()?

Do you want to open a detailed popup that provides our default detailed popup in the calendar?
Currently, there is no method that supports the function.
There is only an api that opens a new registration popup.(e.g. openCreationPopup(schedule))
Um... It is not a problem for the user to input the calendar ID and the schedule ID to display the detailed schedule, but is there any reason to show the detailed pop-up without user action?

I want to send URL.  Once the URL is visited the calendar shall open showing all events and opening a particular one, that is referenced in the URL.

If you want to use the default detail popup, It should be added a new method like openDetailPopup....
I will consider this task.
If you need it right now, I think you should use your custom detail popup.

Patch Calendar.showDetailPopup.txt
This code works for me most of the time.  Sometimes the arrow on the popup is on the wrong position.
I do not understand, why target.dispatchEvent() is not sufficient to emulate a click.


Extra support for LSC_SMART_Connect_RGB-CCT_Bulb

Support for LSC_SMART_Connect_RGB-CCT_Bulb

This code is for 3.2 as 3.3 is problematic when adding multiple, gives unknown error on device adding while selecting 3.3 while 3.2 has no problems so i created this code for version 3.2 and works perfect.

This seems to match rgbww_lightbulb apart from the colour_temp target range and the extra "Flash scene" presets. That would probably be a good template to follow.

Well that template does not work as it should be, as these bulbs do work different.
There are a lot of problems the way the scenes and the selectors work, as that template works well except for working mode and the scenes.
The way i created the selectors solve all problems for the LSC bulbs and the scenes work correct.

@make-all
i managed to map the requested scenes and work now.

i can add a diagnostic to this device template like this screenshot:

if its not needed i leave it out and i update the code if you want.


Added a JS quiz  to javascript-quiz.ts

Added a new quiz in the JavaScript section
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Please include the hacktoberfest-accepted label before merging the pr.

This repo already adds that label for all merged PR's this month but technically this label is optional.
As long as the repo has the hacktoberfest topic applied to it and the PR is approved and merged within the month of October, it will still count 👍


fix up docs for 0.5

Codecov Report

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

@@           Coverage Diff           @@
##           master     #162   +/-   ##
=======================================
  Coverage   74.85%   74.85%
=======================================
  Files          22       22
  Lines        1054     1054
=======================================
  Hits          789      789
  Misses        265      265

Impacted Files
Coverage Δ

bowtie/control.py
78.8% <ø> (ø)
: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 8fe4884...0ed3b32. Read the comment docs.


JMX exporter empty metrics

Hello Confluentinc people
Context
I want to monitor the confluentic platform using the included JMX exporter and prometheus
Was was expected
The prometheus JMX exporter should have exported something like the following in its /metrics endpoint
# HELP jmx_config_reload_success_total Number of times configuration have successfully been reloaded.
# TYPE jmx_config_reload_success_total counter
jmx_config_reload_success_total 0.0
# HELP jmx_config_reload_failure_total Number of times configuration have failed to be reloaded.
# TYPE jmx_config_reload_failure_total counter
jmx_config_reload_failure_total 0.0
# HELP cp_kafka_controller_kafkacontroller_activecontrollercount Attribute exposed for management (kafka.controller<type=KafkaController, name=ActiveControllerCount><>Value)
# TYPE cp_kafka_controller_kafkacontroller_activecontrollercount untyped
cp_kafka_controller_kafkacontroller_activecontrollercount 0.0
# HELP cp_kafka_controller_controllerstats_topicuncleanleaderelectionenablerateandtimems Attribute exposed for management (kafka.controller<type=ControllerStats, name=TopicUncleanLeaderElectionEnableRateAndTimeMs><>OneMinuteRate)
# TYPE cp_kafka_controller_controllerstats_topicuncleanleaderelectionenablerateandtimems untyped
cp_kafka_controller_controllerstats_topicuncleanleaderelectionenablerateandtimems 0.0
# HELP cp_kafka_controller_controllerstats_partitionreassignmentrateandtimems Attribute exposed for management (kafka.controller<type=ControllerStats, name=PartitionReassignmentRateAndTimeMs><>OneMinuteRate)
# TYPE cp_kafka_controller_controllerstats_partitionreassignmentrateandtimems untyped
cp_kafka_controller_controllerstats_partitionreassignmentrateandtimems 0.0
# HELP cp_kafka_server_brokertopicmetrics_failedfetchrequestspersec Attribute exposed for management (kafka.server<type=BrokerTopicMetrics, name=FailedFetchRequestsPerSec><>OneMinuteRate)
# TYPE cp_kafka_server_brokertopicmetrics_failedfetchrequestspersec untyped
cp_kafka_server_brokertopicmetrics_failedfetchrequestspersec 0.0
# HELP cp_kafka_controller_controllerstats_logdirchangerateandtimems Attribute exposed for management (kafka.controller<type=ControllerStats, name=LogDirChangeRateAndTimeMs><>OneMinuteRate)
# TYPE cp_kafka_controller_controllerstats_logdirchangerateandtimems untyped
cp_kafka_controller_controllerstats_logdirchangerateandtimems 0.0
...

What I got
The JMX exporter only exported the basic JMX data
# HELP jmx_config_reload_success_total Number of times configuration have successfully been reloaded.
# TYPE jmx_config_reload_success_total counter
jmx_config_reload_success_total 0.0
# HELP jmx_config_reload_failure_total Number of times configuration have failed to be reloaded.
# TYPE jmx_config_reload_failure_total counter
jmx_config_reload_failure_total 0.0

I had nothing related to cp_kafka at all.
This was all the same for every sub chart (kafka, zookeeper, etc.)
How I solved the issue
I manually edited this configmap https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-kafka/templates/jmx-configmap.yaml#L17 to remove the whitelistObjectNames section. Now it's scraping everything.
For reference, the "upstream" repository for the JMX exporter provide an example without the whitelistObjectNames to scrape all https://github.com/solsson/dockerfiles/blob/master/prometheus-jmx-exporter/collect-all-slow.yml
So now I have two (linked) questions:

Is it a problem to leave my config map like this? Beside the fact that it will, of course, generate more data..
Could we remove the whitelistObjectNames section in all configmap in this repository directly?

I've been seeing the same behavior, but from Kafka itself. Removing the whitelistObjectNames section made everything show up, before I've had only the same basic data as you. In this case, this issue started when we updated to the latest version of the chart (0.5.0)

It's working for me, without removing whitelistObjectNames. 0.5.0 as well.

I can confirm that with 0.4.1 helm chart version and imageTag: 5.4.1 it shows metrics.
Curl https://localhost:5556/metrics gives
# HELP jmx_config_reload_success_total Number of times configuration have successfully been reloaded.
# TYPE jmx_config_reload_success_total counter
jmx_config_reload_success_total 0.0
# HELP jmx_config_reload_failure_total Number of times configuration have failed to be reloaded.

# TYPE jmx_scrape_duration_seconds gauge
jmx_scrape_duration_seconds 5.430316518
# HELP jmx_scrape_error Non-zero if this scrape failed.
# TYPE jmx_scrape_error gauge
jmx_scrape_error 0.0

In 0.5.0 helm chart version 5.5.0 image has missing
Curl https://localhost:5556/metrics gives
root@confluent-kafka-cp-kafka-0:/# curl http://localhost:5556/metrics
# HELP jmx_scrape_duration_seconds Time this JMX scrape took, in seconds.
# TYPE jmx_scrape_duration_seconds gauge
jmx_scrape_duration_seconds 0.00543444
# HELP jmx_scrape_error Non-zero if this scrape failed.
# TYPE jmx_scrape_error gauge
jmx_scrape_error 0.0
# HELP jmx_config_reload_success_total Number of times configuration have successfully been reloaded.
# TYPE jmx_config_reload_success_total counter
jmx_config_reload_success_total 0.0
# HELP jmx_config_reload_failure_total Number of times configuration have failed to be reloaded.
# TYPE jmx_config_reload_failure_total counter
jmx_config_reload_failure_total 0.0

This problem is reported here and in #464. In particular, that means that even with a default installation, the Grafana dashboard does not show all metrics. This issue was definitely introduces with #428 as when commenting out the whitelistObjectNames everything is working fine again.
I would like to support in solving this issue, but I'm neither experienced in Prometheus nor in Helm. What would be a good way to solve this issue? I'm currently thinking of three options:

Revert the ConfigMaps and remove the whitelistObjectNames part as suggested by @PPACI. This, however, has the disadvantages reported by @srolija in #428.
Explicitly add all metrics required for the Grafana dashboard. Does someone know which additional object names should be whitelisted? And also, what would be the impact on performance?
Make the ConfigMaps configurable via Helm. This seems to be quite a clean solution. However, question would be how reasonable defaults could look like. And, as I mentioned, I not sure how to adjust the Helm chart in that case.

In the end, I think if Grafana dashboards are provided with this repo/Helm chart, they should work. Otherwise, I would suggest to remove them (which would be the worst solution of all).  @gAmUssA do you have any thoughts on this?

Since I made that PR, let me jump in. Those whitelists were based on the dashboard that was current at that time and since we are using the Grafana dashboard as well, we tested with that one. It should work since we are running the exact same version on our production.
Do note that initial PR had an formatting issue which I fixed a week latter but didn't end up in 5.5.0, rather only in v6.0.1: https://github.com/confluentinc/cp-helm-charts/commit/596dd559c1085faf76a03a66178834578203c395
If you are keen on staying on 5.X I would recommend applying the patch from the linked commit, otherwise, from 6.0.1 it should work as expected.
Let me know if that helps and sorry for inconvenience.

Thank you for your comment. Based on it, I started to dig a bit deeper and found out that there seem to be two independent issues (at least in my setting).
Indeed, the provided dashboard seems to work almost as expected. For me, the dashboard does not show anything, but that is because the $Release variable cannot be resolved. When removing the $Release query filters, the plots do show something. (Could be an RBAC thing and is not a problem for me.)
However, for topic-specific metrics such as cp_kafka_server_brokertopicmetrics_messagesinpersec_topic_..., I am only able to switch between some "default" topics as shown below. For the topics I created by myself, no metrics are available. This is not the case when removing the whitelistObjectNames section. Do you @srolija have any idea what could cause this issue?

It could be that additional whitelist is needed; I didn't see that one in the default dashboard.
Can you try adding the following for whitelist below the line:
https://github.com/confluentinc/cp-helm-charts/blob/596dd559c1085faf76a03a66178834578203c395/charts/cp-kafka/templates/jmx-configmap.yaml#L20
- kafka.server:type=BrokerTopicMetrics,name=*,topic=*

So first, sorry for my initial misunderstanding. With the default whitelist and the default dashboard everything seems to work as expected. So there is nothing "wrong" with the current version of the chart.
I replaced your suggested whitelist rule and, indeed, now I'm getting topic metrics again. Thanks!
Question would now be how we could support this in upstream chart? I could open a pull request for your suggested change, but the cleaner solution would be to allow configuration via Helm values.yaml, right?

That is likely question for someone else within the team that is maintaining the chart. :)
I can tell you what we did for our use-case. We are using the https://github.com/danielqsj/kafka_exporter for those metrics instead. We liked that it used labels instead of metric names and if I recall correctly, it exposes some additional statistics. It also didn't timeout unlike the JMX exporter for which I made a PR here. While that works for us, I would note that it doesn't look like it was updated for a while so keep that in mind if you are just starting out.
Also not sure what are you planning on using those metrics for; if you need them to alert for the lagging consumers, I would much more recommend using https://github.com/linkedin/Burrow, it is way smarter that it tracks the processing and lag instead of just looking at whether some limit was passed and latest version ships with exporter built in.

Thanks again for your elaborate thoughts. I opened a pull request for including the broker topic metrics (#499), but would also be fine with some other solution.
Currently the only reason we need these metrics for is displaying the rate of incoming messages per topic in a Grafana dashboard. We're performing heavy load testing on stream processing engines by sending huge amounts of data to Kafka and have to ensure that the desired data generation rate is actually received at Kafka.
For monitoring the consumer lag, we're using Lightbend's Kafka Lag Exporter, which works fine for us. I think it's sort of a Burrow light. Monitoring the consumer lag is actually the central task in our Theodolite framework. :smiley:

I can see other metrics but not able to see cp_kafka_network_requestmetrics metrics at all.
If some can help me here.

@srolija @SoerenHenning I also experienced the topic specific metrics (in BrokerTopicMetrics) are missing when running CP 6.1.0 using chart version 0.6.1. And i also can confirm i do get them when i extend the cm with:
    - kafka.server:type=BrokerTopicMetrics,name=*,topic=*

I'm wondering however why there isn't a default rule setup to extract the topic name from the metric and publish it as a label?
There is even a confluent blog with code example on this how to do it.:

https://www.confluent.io/blog/monitor-kafka-clusters-with-prometheus-grafana-and-confluent/
https://github.com/confluentinc/jmx-monitoring-stacks/blob/6.1.0-post/shared-assets/jmx-exporter/kafka_broker.yml

But to be honest i'm a bit puzzled; that's why i respond here on the topic. There are many kafka dashboards on grafana (like Kafka Metrics (https://grafana.com/grafana/dashboards/11962) which seems to be expecting topics as a label. Yet confluent uses a minimal rules setup and so as a reuslt most dashboards won't work out of the box.
Is there an upstream example / best practice to which i can match my modified jmx-exporter rules?
Paul

@paul-bormans To be honest, I don't think that this Helm chart is maintained anymore. Last commit is 9 month old, pull requests are not merged/discussed and the original maintainer (@gAmUssA) is not working for Confluent anymore. If possible for you, I would suggest to either use a different Helm chart (e.g. the Bitnami Kafka chart) or what we'll do is using the Strimzi Kafka operator.

I switched my company of Strimzi. It’s way more stable and maintained.

From: Sören Henning @.>
Sent: Tuesday, January 4, 2022 2:15:07 PM
To: confluentinc/cp-helm-charts @.>
Cc: Pierre PACI @.>; Mention @.>
Subject: Re: [confluentinc/cp-helm-charts] JMX exporter empty metrics (#461)
@paul-bormanshttps://github.com/paul-bormans To be honest, I don't think that this Helm chart is maintained anymore. Last commit is 9 month old, pull requests are not merged/discussed and the original maintainer @.***https://github.com/gAmUssA) is not working for Confluent anymore. If possible for you, I would suggest to either use a different Helm chart (e.g. the Bitnami Kafka charthttps://github.com/bitnami/charts/tree/master/bitnami/kafka) or what we'll do is using the Strimzi Kafka operatorhttps://strimzi.io/.
—
Reply to this email directly, view it on GitHubhttps://github.com/confluentinc/cp-helm-charts/issues/461#issuecomment-1004800541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABDRRTT3TQQNCPUUDABC5LDUULXFXANCNFSM4RXGVUEA.
You are receiving this because you were mentioned.Message ID: @.***>


[SR-15894] Failed to produce diagnostic for expression

Previous ID
SR-15894

Radar
None

Original Reporter
averello (JIRA User)

Type
Bug

Environment
Swift Version:
swift-driver version: 1.26.21 Apple Swift version 5.5.2 (swiftlang-13<IP_ADDRESS> clang-13<IP_ADDRESS>)
Target: x86_64-apple-macosx12.0
Xcode:
Version 13.2.1 (13C100)
macOS:
Monterey 12.2.1
uname -mrsv:
Darwin 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64

Additional Detail from JIRA

Votes
0

Component/s
CodeCompletion, Compiler, swift

Labels
Bug

Assignee
None

Priority
Medium

md5: d203e34446b04c60b48786efd2401ead

Issue Description:
Minimal example that fails to compile with swiftc:
import Cocoa
import Combine

struct P {}

func test() -> AnyPublisher<P, Never> {
    return Just<P?, Never>(nil)
        .compactMap { $0 }
        .eraseToAnyPublisher()
}

In Xcode completion fails too.

No longer reproduces:
error: generic type 'Just' specialized with too many type parameters (got 2, but expected 1)
    return Just<P?, Never>(nil)
           ^   ~~~~~~~~~~~
Combine.Just:2:15: note: generic type 'Just' declared here
public struct Just<Output> : Publisher {


[ci] Reenable clippy for wasm

This was disabled due to an issue with the previous clippy release
(d367e648).
This also fixes a new clippy lint in the wasm backend.

frankly this feels like about the level of programming I'm capable of, right now 😒

fixing flippy warnings has a calming effect for me, but I see there is only one :)


Disable Patreon notification

Disable the "Consider supporting on Patreon" prompt now that Patreon funds exceed hosting costs

fwiw, i think this should remain visible or the patreon link should be on the dashboard somewhere instead of hidden on the about page since this project totally deserves being supported :) just my two cents


CFE_Assert should use SendEvent

Is your feature request related to a problem? Please describe.
CFE_Assert currently has all it's outputs done through CFE_ES_WriteToSysLog which makes them hard to read and failures can get lost in all the noise.
Describe the solution you'd like
CFE_Assert could instead send events through the test runner, which would give a lot more flexibility to the output.
Describe alternatives you've considered
We just leave it as it is.
Additional context
https://github.com/nasa/cFE/issues/94 could then be a further enhancement of this done at a later time.
Requester Info
Alex Campbell GSFC

Also worth noting that the syslog is usually of limited size, so if the test cycle has lots of tests, it is easy for the log to overflow and early messages will get completely lost.
I've evaluated this idea and it is not totally trivial because the events have to be sent by the cfe_testrunner app, not cfe_assert itself (because libraries cannot use event services directly) but that shouldn't be too hard to overcome, a simple notifier callback paradigm should get the job done.

Could "cheat" in this non-flight code context and just use a single ID, either passed in (maybe w/ macro) or initialized.

I don't see any need to cheat, its easy enough to let cfe_assert call back into test runner.
The other issue to consider is startup order - cfe_assert allows conditions to be asserted during startup phase, and these might occur before event services is even ready to send events.  These will always have to go to syslog.
Using a callback also solves the problem by allowing these early asserts to go to syslog but then switching to the events for the bulk/normal tests.  Could also send early failures as events in a deferred fashion.  Lots of options.

I'll submit something as a proof of concept here


Issue #850: Clarify XA lifecycle

Changes as proposed in #850

Major update following conversation with @chrisdennis (resumed on #850 itself) which at least resolves the ugly names part ... and clarifies roles and lifecycle even more I find (but I am biased for sure).


False-positive "Classes must have a zero arg constructor to be instantiated by Kotest" with Micronaut

The inspection should not complain about a class with non-zero-arg constructor, when it is annotated with @MicronautTest (io.micronaut.test.annotation.MicronautTest).
Micronaut will handle the magic of creating the test instance and injecting the required beans.
See https://micronaut-projects.github.io/micronaut-test/latest/guide/index.html#kotest

Fixed in 1.0.3 pending approval in the plugins store.


can't login

Describe the bug
Can't login. Login screen is throwing the following error in the javascript console.
ConsoleLogger.js:127 [ERROR] 06:21.900 SignIn - Authentication Error
e._log	@	ConsoleLogger.js:127
e.error	@	ConsoleLogger.js:210
setError	@	aws-amplify-vue.common.js:2212
(anonymous)	@	aws-amplify-vue.common.js:2200
Promise.catch (async)
signIn	@	aws-amplify-vue.common.js:2193
rt	@	vue.runtime.esm.js:1863
n	@	vue.runtime.esm.js:2188
Zi.a._wrapper	@	vue.runtime.esm.js:6961```

I'm unable to reproduce this. Please reopen this issue if you encounter this problem.


Resize text to fit all content

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
If the content text is too long, it simply cuts off the card.
If the current behavior is a bug, please provide the steps to reproduce, along with the following information:

OS: Windows 10
Browser: Chrome
Page settings (from the "Page Settings" section of the generator)

Page Size: A4
Card Size: 2.5" x 3.5"
Cards/page: 3x3
Arrangement: Double sided printing

What is the expected behavior?
The text should resize smaller to fit all of the content text

Resizing text is the biggest feature I want with this tool as well. I don't mind if it doesn't auto-resize, but would love a feature to resize the body text similar to the way we can set the title font.

New font and page size options were added


issues/92: http.NewResponseController

Fixes: https://github.com/komuw/ong/issues/92

https://www.alexedwards.net/blog/how-to-use-the-http-responsecontroller-type

https://github.com/golang/go/issues/58237 : panic in Go


Query method is immutable reference

Closes #16.

You were right @marcus-pousette, we got another small perf improvement 👍

@marcus-pousette, I had to revert the changes I made to the Filter type to accommodate owned values which is required for when filters need to perform transformations (such as to_lowercase()). Using a std::borrow::Cow we can allow for no-op filters that just do Cow::from(s) and also transformations that incur allocations such as Cow::Owned(s.to_lowercase()). Some of those performance gains in add_document() have been lost as we have to use String instead of &str but it does allow for no-op filters to have minimal overhead.

Sure @marcus-pousette, I think this is good enought for this PR, ping me when you push your Cow fix, interested to see how that shapes up!


Collect os-must-gather logs from openshift-marketplace namespace

It will help us to debug issues related to openshift-marketplace namespace.
As a pull request owner and reviewers, I checked that:

[ ] Appropriate testing is done and actually running
[ ] Appropriate documentation exists and/or is up-to-date:

[ ] README in the role
[ ] Content of the docs/source is reflecting the changes

recheck

/approve


Bump nvd3 dep and 'npm audit fix'

CATEGORY

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Fixes issues with NVD3 charts
closes https://github.com/apache/incubator-superset/issues/7282

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7292   +/-   ##
=======================================
  Coverage   64.93%   64.93%
=======================================
  Files         424      424
  Lines       20589    20589
  Branches     2281     2281
=======================================
  Hits        13369    13369
  Misses       7097     7097
  Partials      123      123

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 14647fc...1154555. Read the comment docs.


Token Wizard stuck at second transaction

If you are reporting a problem with Token Wizard, please include the following information:
Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)
Ethereum MainNetwork
If you were able to create it, what is the URL of your crowdsale?
Was not created yet
Do you have screenshots showing the problem?
YES

Do you see errors in the dev console? If yes, please include a screenshot
To open the dev console in Google Chrome, press F12, or go to View -> Developer -> Developer Tools, and open the Console tab
If you see errors, please right click on them and "Save as..". Zip saved file and attach it to the Issue.
I coudnt because the browser crashes when I try to save

So let's be practical, what about the tax that was paid for the deployment? You will reimburse me, of course, so how can I send my wallet address to You send me back?

wizard.oracles.org-1579020662760.zip


AboutUs and Picture change

Codecov Report

Merging #95 (9760592) into master (0f7b9a6) will decrease coverage by 0.43%.
The diff coverage is n/a.

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


Log filters

Be able to filter out log messages, based on severity, tag and message

Can already provide a filter based on tag and severity


Coverage on more than one file

I cannot seem to get isparta to do coverage on more than one file. I am using Tape so when I run the following command node_modules/.bin/isparta cover test/*.js, it only reports coverage on the first file in that directory. Any ideas?

Adding myself to the discussion.

Sorry this is not a limitation with iSparta, but rather with the way node behaves. If you would like to see a solution, you can refer to the following #11. Closing.


Add iri to users after signup

Add iri to users after sign up.
It is possible to add the iri directly to the user with the SignUp component using unsafeMetadata. This is nicer implementation than using the public metadata like the communities.

Docs about metadata: https://clerk.com/docs/users/metadata

If we want to use publicMetadata we need to implement the same workflow as for communities. After sign-up navigate the user to a page with the logic for adding the iri, then navigate to the homepage. The problem with this workflow is the user can prevent this action by closing the browser/navigation away/broken internet.
The advantage of using unsafeMetadata is that we don't need to relay on the redirect workflow. Clerk has named this type of metadata "unsafe" since it can be set and accessed by both the Frontend API and the Backend API. But I don't think this is a huge problem.
Do you prefer this implementation? Or do you want the publicMetadata workflow? I can also safe the community iri as unsafeMetadata, so the data structure is similar, however, unfortunately the openCreateOrganization function we use does not have a unsafeMetadata property, so we need to keep the redirect workflow for community.

@barbarah Looking good! The name unsafeMetadata sounds scary 😅 but the implementation looks straightforward, so it'd say: let's do this.


SPIKE 🕵♂ S3 buckets should prohibit public read access

Checks if your S3 buckets allow public read access by evaluating the Block Public Access settings, the bucket policy, and the bucket access check list (ACL).
Source
AWS Security Hub
Security Hub control ID: S3.2
Alert Criteria
Red: Critical or High. Security Hub control failed.
Recommended Action
Follow the Security Hub documentation to fix the issue.

Hey team! Please add your planning poker estimate with ZenHub @ASTRobinson @bagg3rs @kyphutruong @mitchdawson1982 @moontune @mTouhid @wanieldilson

S3 buckets identified to have public settings turned on in production is documented here. https://docs.google.com/spreadsheets/d/1xloSiGWyZfFW2QFB35QHWeEMt0QU4IihWT8rM6L0xk4/edit?usp=sharing

Had a call with Jahir and discovered that some of the buckets actually have ACL configuration that doesn't require an update to the S3 buckets, even though the "Block all public access" setting is turned off. As we can see in the screenshot

Decided to pull out a more robust report using python, rather than manually going through the buckets.
`import boto3
import pandas as pd
from botocore.exceptions import ClientError
def check_public_access(bucket_name, s3_client):
####### Initialize public access flag
public_access = False
######## Check bucket policy
try:
    policy = s3_client.get_bucket_policy(Bucket=bucket_name)
    # Check for public access in the policy (simplified check)
    if '"Principal":"*"' in policy['Policy']:
        public_access = True
except ClientError as e:
    if e.response['Error']['Code'] != 'NoSuchBucketPolicy':
        raise

######## Check public access block settings
try:
    access_block = s3_client.get_public_access_block(Bucket=bucket_name)
    if not all(access_block['PublicAccessBlockConfiguration'].values()):
        public_access = True
except ClientError as e:
    if e.response['Error']['Code'] != 'NoSuchPublicAccessBlockConfiguration':
        raise

return public_access

def list_buckets_and_acls():
s3_client = boto3.client('s3')
response = s3_client.list_buckets()
report_data = []

for bucket in response['Buckets']:
    bucket_name = bucket['Name']

    acl = s3_client.get_bucket_acl(Bucket=bucket_name)

    public_access = check_public_access(bucket_name, s3_client)
    update_acl = "Yes" if public_access else "No"

    report_data.append({
        "Bucket Name": bucket_name,
        "ACL": str(acl['Grants']),
        "Update ACL to Disallow Public Access": update_acl
    })

######## Create DataFrame
df = pd.DataFrame(report_data)

######## Save to Excel
df.to_excel("s3_bucket_report.xlsx", index=False)

if name == "main":
list_buckets_and_acls()
`

Attached is the report that shows the full view with a column that tells if each bucket needs to "Update ACL to Disallow Public Access" If there is a column with a "yes" then we need to update the bucket setting.
Production - https://docs.google.com/spreadsheets/d/1sKPJ1NV2-WY9_Ai6-9V4ObJ9i9MlQYO_/edit?usp=sharing&ouid=115175937966224608714&rtpof=true&sd=true

nvvs-devops-monitor-eks-development-thanos-storage in Development and Pre-production will require  manual update since the infrastructure does not exist except the s3 bucket. while the production goes through the terraform code

All buckets addressed as required except the staff-external-dynamic-* buckets which has been confirmed should be public by design


RNA chain remain flipped after hydrogen bond removal

Steps to Reproduce

Go to Macro - Flex mode <--IMPORTANT!
Load from HELM using paste from clipboard: RNA1{R(A)P.R(C)P.R(G)P.R(G)P.R(A)P}|RNA2{R(A)P.R(C)P}|RNA3{R(A)P.R(G)P.R(T)P}$RNA1,RNA2,5:pair-2:pair$$$V2.0

Delete hydrogen bond
Switch to Snake mode

Actual behavior
Short chain remain in place and doesn't ordered by Snake mode

Expected behavior
All chain ordered by snake mode

Versions

Ketcher Version 2.28.0-rc.1 Build at 2024-12-03; 17:04:52
Indigo Version 1.27.0-rc.1.0-g8d656a341-wasm32-wasm-clang-19.0.0
Chrome Version 131.0.6778.109 (Official Build) (64-bit)
Win10

Issue found while testing - https://github.com/epam/ketcher/issues/5712

Ffixed in 6099. Not linked because github does not allow to link more than 10 issues to PR

Verified.

Ketcher Version 2.28.0-rc.2 Build at 2024-12-10; 18:40:08
Indigo Version 1.27.0-rc.1.0-g8d656a341-wasm32-wasm-clang-19.0.0
Chrome Version 131.0.6778.140 (Official Build) (64-bit)
Win10


Create a landing page

This pull request fulfils the requirements of #6 and the screenshot sent in Discord.

This PR also:

Creates a _config.scss file to move all configurable colours to one location
Makes the <footer>, <main> a part of the <body>s CSS grid, which allows for the main to expand to 100% height for a sticky footer
Makes the footer smaller

Logo shuffles on top on mobile


Support for vanilla js project

Hi @CherphAlt
vanilla js project should already work - are you facing any issues ?
There is some special integration for react/solid through respective plugins, but if you don't use those you can just use this plugin standalone.


Vacuum to warn of duplicate paths

Vacuum does not warn of duplicate paths. When using the bundle option, if the path is defined multiple times only the first one is kept.
For example, if the spec had something like the following, no warning is given when linting that duplicate paths exist, and the bundle option just drops one of the paths.
path:
  /api/endpoint/{id}:
    get:
      ...
  /api/endpoint/{id}:
    post:
      ...

Adding the ability to recognize the duplicate paths during bundle would be great, but giving a warning would be sufficient (for both linting and bundling).

Looks a nice feature ! will be usefull in combination of a merge tool


create benchmarking script

Should provide some simple scripts which can test mergerfs so versions can be compared and users can compare throughput in a standard way

I wanted to share this with you as a possible source of inspiration. This guy runs a few simple benchmarks but does them against a ram disk. That way disk access becomes less of a bottleneck and the results can be more highlighted on the unionized software. Take a look at the tests he's doing and how he sets them up in the scripts. Hope this helps for something.
https://github.com/chriskuehl/docker-storage-benchmark


Issues with attack macro popup and too many damage type variants

When more than 3 damage type variants exist, the icons go out of bounds of the popup and we can't resize the application so they are unreachable.

Closing this issue as this was fixed in 6.1.2


Display results for git-clang-format

Attach diffs produced by git-clang-format as lint messages. For #21
E.g.: https://reviews.llvm.org/D71197?id=233029
Will add a link to file and code to apply the patch in the next PR.

don't create TARGET_DIR in scripts;
updated section about local build;
partially specified inputs / outputs of scripts so it's more transparent what are the results;
added symlink to compile_command.json (clang-tidy will need it).

This is fantastic! I was planning to work on this next week, I'm super happy to see this :)


API: is it possible to get the subtitles filename from the provider?

Is there a way to get trough the API the filename of a subtitles like it is on the provider website?
Thanks!

Added info property in subtitle class.
For some providers it's the filename, for others it's a release info, for others just a hash.
Fixed by https://github.com/Diaoul/subliminal/commit/40b3c5ba4f0b192bcc68dca6deaed6bc36e8c5e6


MSDKUI-1722: [Android] Component app findings

Fixed GuidanceEstimatedArrival - Fix data handling for the UI kit dev app. Now it is possible to pass null field in data to show "--" in UI.
Fixed GuidanceEstimatedArrival - the ETA text is left aligned through orientation changes. Now Eta is always centered and can be easily left right aligned based on the requirement
Fixed DevApp title & reflect GuidanceEstimatedArrival View changes
Signed-off-by: Vijay Yadav<EMAIL_ADDRESS>

Codecov Report

Merging #88 into master will increase coverage by 1.51%.
The diff coverage is 81.25%.

@@             Coverage Diff              @@
##             master      #88      +/-   ##
============================================
+ Coverage     72.33%   73.85%   +1.51%
+ Complexity     1606      977     -629
============================================
  Files           129       69      -60
  Lines          5556     3882    -1674
  Branches        835      418     -417
============================================
- Hits           4019     2867    -1152
+ Misses          886      776     -110
+ Partials        651      239     -412

Impacted Files
Coverage Δ
Complexity Δ

...uidance/GuidanceEstimatedArrivalViewPresenter.java
94.11% <ø> (ø)
7 <0> (ø)
:arrow_down:

...re/msdkui/guidance/base/BaseGuidancePresenter.java
55.84% <100%> (ø)
14 <0> (ø)
:arrow_down:

...com/here/msdkui/guidance/GuidanceManeuverView.java
83.79% <100%> (-0.18%)
30 <0> (ø)

.../msdkui/guidance/GuidanceEstimatedArrivalView.java
74.32% <50%> (-2.6%)
13 <5> (+1)

...kui/guidance/GuidanceEstimatedArrivalViewData.java
85.1% <93.75%> (+1.23%)
21 <14> (+8)
:arrow_up:

...e/msdkuiapp/routing/RoutingInstructionsFragment.kt

...java/com/here/msdkuiapp/common/PermissionsUtils.kt

.../com/here/msdkuiapp/routing/OptionPanelFragment.kt

...ere/msdkuiapp/routing/RouteManeuverListFragment.kt

.../here/msdkuiapp/routing/SubOptionPanelPresenter.kt

... and 56 more

Continue to review full report at Codecov.

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


Changed invoice status argument to state for API v2, made "Bearer" prefix optional in the Personal

Made personal token tolerant of having / not having "Bearer" prefix. The Harvest personal token doesn't come issued with that prefix, but it is required for successful connection.

Invoice option status is currently named state in Harvest API v2. I have changed invoice status argument name to state.

Hi @dlo, Wondering if I could bump this..?
Cheers

LGTM, thanks @Brad-eki!

I'll push this up to PyPi by EOW.

thanks @dlo you are a champion.

@Brad-eki pushed to PyPi. 4.0.0. Thanks again for the contribution!


Make semver check workable

semverver fails to compile due to recent ty::Error change. Let's pin the nightly version until we come up a good way.

@JohnTitor: no appropriate reviewer found, use r? to override


Add support for automatic pool (similar to pgbouncer)

Is your feature request related to a problem? Please describe.
For some applications, it may not be possible to list all databases the application can connect to (for instance when each customer has his own database). For these, it's better to use a feature similar to the automatic pool in pgbouncer, cf. https://www.pgbouncer.org/config.html section databases.
Describe the solution you'd like
Be able to describe an automatic pool generator in the configuration.
Describe alternatives you've considered
None known
Additional context
None

Hi there,
I've never used that feature of PgBouncer. Could you give me an example of how it works?
Thanks!

Hi
In pgbouncer.ini:
[databases]
* = host=my.server.org port=5432

When a client connects to the bouncer and asks for the database demo, it will spawn a new pool, named demo, on the database demo on my.server.org:5432.
If the client disconnects, the pool will remain "forever" or until autodb_idle_timeout is reached.
The usual server_idle_timeout and server_lifetime rules apply.
Regards

+1 for this feature. I specifically need users wildcards.

+1 for this feature, without it there ends up being a lot of boilerplate and manual upkeep in an environment with a large number of databases and users.

Hi
+1 for this feature

Hallo! +1 from me too please, this would be really useful

+1 much needed for use-case

I implemented #855  to have PGBouncer pool proxy implementation.
Try this PR #855 or you can use my Repo @rvsoni/pgcat with fix,


no source

Version
Microsoft Windows [Version 10.0.22623.875]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
kali-linux rolling
Other Software
No response
Repro Steps
root@GHOST:/home/ghost/phone/dahdi-linux-3.2.0# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory '/home/ghost/phone/dahdi-linux-3.2.0/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2022-11-01 19:02:59--  http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com (downloads.digium.com)... <IP_ADDRESS>
Connecting to downloads.digium.com (downloads.digium.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’
  dahdi-   0%       0  --.-KB/s
 dahdi-f  59%  86.74K   410KB/s

dahdi-fwload 100% 145.86K   448KB/s    in 0.3s
2022-11-01 19:03:00 (448 KB/s) - ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’ saved [149360/149360]
make[1]: Leaving directory '/home/ghost/phone/dahdi-linux-3.2.0/drivers/dahdi/firmware'
You do not appear to have the sources for the <IP_ADDRESS>-microsoft-standard-WSL2 kernel installed.
make: *** [Makefile:72: modules] Error 1
Expected Behavior
build dep
Actual Behavior
root@GHOST:/home/ghost/phone/dahdi-linux-3.2.0# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory '/home/ghost/phone/dahdi-linux-3.2.0/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2022-11-01 19:02:59--  http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com (downloads.digium.com)... <IP_ADDRESS>
Connecting to downloads.digium.com (downloads.digium.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’
  dahdi-   0%       0  --.-KB/s
 dahdi-f  59%  86.74K   410KB/s

dahdi-fwload 100% 145.86K   448KB/s    in 0.3s
2022-11-01 19:03:00 (448 KB/s) - ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’ saved [149360/149360]
make[1]: Leaving directory '/home/ghost/phone/dahdi-linux-3.2.0/drivers/dahdi/firmware'
You do not appear to have the sources for the <IP_ADDRESS>-microsoft-standard-WSL2 kernel installed.
make: *** [Makefile:72: modules] Error 1
Diagnostic Logs
root@GHOST:/home/ghost/phone/dahdi-linux-3.2.0# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory '/home/ghost/phone/dahdi-linux-3.2.0/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2022-11-01 19:02:59--  http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com (downloads.digium.com)... <IP_ADDRESS>
Connecting to downloads.digium.com (downloads.digium.com)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’
  dahdi-   0%       0  --.-KB/s
 dahdi-f  59%  86.74K   410KB/s

dahdi-fwload 100% 145.86K   448KB/s    in 0.3s
2022-11-01 19:03:00 (448 KB/s) - ‘dahdi-fwload-vpmadt032-1.25.0.tar.gz’ saved [149360/149360]
make[1]: Leaving directory '/home/ghost/phone/dahdi-linux-3.2.0/drivers/dahdi/firmware'
You do not appear to have the sources for the <IP_ADDRESS>-microsoft-standard-WSL2 kernel installed.
make: *** [Makefile:72: modules] Error 1

@Warren-ops the source of the WSL kernel is at https://github.com/microsoft/WSL2-Linux-Kernel/releases

@elsaco could you send me the steps to install this? I'm a noob still got tons to learn lol


fix(mineflayer): prevent ReDoS

https://github.com/PrismarineJS/mineflayer/issues/2328#issuecomment-985246695

beat me to it :)


How to detect whether my code is executed as a Webpack bundle

I'm currently experimenting with the following strategy to dynamically load a json file from a path relative to my module :

If my code is bundled as a Webpack bundle, use import(filename.json)
In any other case, fall back to an AJAX call, with an absolute path

The following seems to work fine :
function parse (fileName, callback) {
  var path = "./relative/path/to/" + fileName + ".json";
  var cb = process.bind(this, fileName, callback);
  if (typeof webpackJsonp !== "undefined") { // <-- Test if run as Webpack bundle
    // Do dynamic import
  } else {
    // Do Ajax call
  }
}

However, I can't find any documentation on webpackJsonp, however, so I assume this is not part of Webpack's public API.
I also noticed that webpackJsonp is a function in 3.12 and an Object (inheriting from Array) in 4.28, indicating how fragile it is to rely on the presence, value or type of webpackJsonp.
Is there a (future-proof) reliable way test whether my code is being run as a Webpack bundle, using public API?
Basically, what should I replace typeof webpackJsonp !== "undefined" with, to achieve the same effect, but using public API?
Additionally, I'm also having some problems with getting the actual import to work in Webpack 4.28. See https://github.com/webpack/webpack/issues/8777 for that.

StackOverflow is probably a better place for this question
@jslegers might want to look at https://webpack.js.org/plugins/define-plugin
You could have something like
if (window.isWebpack) {
  // do something
}

and the DefinePlugin
new webpack.DefinePlugin({
  'window.isWebpack': JSON.stringify(true),
});


Python 3.6 dependency

Would it be possible to revert your last commit and switch back to python_requires='>=3.6'?
Was there a specific reason behind it? I hadn't any problems with a newer python version in my fork...

OK, thank you.


Create and inject classes for configuration properties

Now we even don't have @Configuration classes in our microservices. We need to create them properly.
Read this:
https://www.baeldung.com/properties-with-spring
https://habr.com/ru/post/487980/

Also https://www.baeldung.com/configuration-properties-in-spring-boot


Feature/merge after pr50

After the last PR #50 I joined the rest of my code and applied the tests. They look really good now!
I think this really important episode is over now, @israelferrazaraujo!
Some comments to the changes:

First of all, I am adding the trivial shortcut, that if the max fidelity loss is higher than the entanglement (geom.) then return the product state
The is_leaf method of Node is a nice way to read the code better when deciding to abort the recursion.
in the function _build_approximation_tree I re-wrote the data to be used for iteration. I think it is well readable
I also added another saving check if new_node.total_saved_cnots > 0:
the lines 305 and 309 are my corrections. I think that simply a 0 will not do, as either side / vector can still be a none-two-qubit state that needs further refinement
The tests are there and should pass now.

Good job to all the hard work put in @israelferrazaraujo!

I would really like the info of the registerfield back in the Entanglementclass (for a metasearch I am thinking about). Then we can put this together like this here.

@carstenblank , this is an excellent contribution. Good job. Thank you.


perf: [WIN-NPM] apply ipsets in background

Reason for Change:
Makes IPSet SysCalls 96% (23x) faster when there are no NetworkPolicies to process. Further optimized in #1900.
Issue Fixed:
First of three PRs addressing Windows limitations in #1614.
Requirements:

[x] uses conventional commit messages
[ ] includes documentation
[x] adds unit tests

Notes:
Experiment
1.5K Pods, 10 NetworkPolicies
Results

Old NPM: 3 hours to steady state
This PR: 8 minutes to steady state

/azp run

also, we will need to thoroughly test these changes
Conformance and Cyclonus have succeeded for a few rounds (excluding Windows issues). Also finished multiple rounds of testing using these scripts: https://github.com/Azure/azure-container-networking/tree/master/test/scale


Too much information of GPU in output while running simple code

This template is for miscellaneous issues not covered by the other issue categories.
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
2020-07-01 18:46:30.457181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
2020-07-01 18:49:32.218612: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-07-01 18:49:32.251014: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce RTX 2060 computeCapability: 7.5
coreClock: 1.2GHz coreCount: 30 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 312.97GiB/s
2020-07-01 18:49:32.258807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-07-01 18:49:32.265844: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-07-01 18:49:32.272713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-07-01 18:49:32.277604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-07-01 18:49:32.285003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-07-01 18:49:32.292380: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-07-01 18:49:32.305864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-07-01 18:49:32.310903: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-07-01 18:49:32.314028: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-07-01 18:49:32.326897: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x21c2acb81f0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-07-01 18:49:32.333259: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-07-01 18:49:32.337469: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce RTX 2060 computeCapability: 7.5
coreClock: 1.2GHz coreCount: 30 deviceMemorySize: 6.00GiB deviceMemoryBandwidth: 312.97GiB/s
2020-07-01 18:49:32.346985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-07-01 18:49:32.351459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-07-01 18:49:32.356745: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-07-01 18:49:32.362342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-07-01 18:49:32.366372: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-07-01 18:49:32.371184: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-07-01 18:49:32.377026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-07-01 18:49:32.381145: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-07-01 18:49:32.930263: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-07-01 18:49:32.938544: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]      0
2020-07-01 18:49:32.941809: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0:   N
2020-07-01 18:49:32.944603: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4602 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2060, pci bus id: 0000:01:00.0, compute capability: 7.5)
2020-07-01 18:49:32.955792: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x21c539aa230 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-07-01 18:49:32.961195: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 2060, Compute Capability 7.5
b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]])
c = tf.matmul(a, b)
2020-07-01 18:51:13.160931: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
print(c)
tf.Tensor(
[[22. 28.]
[49. 64.]], shape=(2, 2), dtype=float32)

For questions on how to work with TensorFlow, or support for problems that are not verified bugs in TensorFlow, please go to StackOverflow.
If you are reporting a vulnerability, please use the dedicated reporting process.
For high-level discussions about TensorFlow, please post to<EMAIL_ADDRESS>for questions about the development or internal workings of TensorFlow, or if you would like to know how to contribute to TensorFlow, please post to<EMAIL_ADDRESS>

@krn-sharma,
Please take a look at this similar StackOverflow issue and let us know if it helps. Thanks!

Yeah it worked but is their any way to permanently disable it?

@krn-sharma,
Please try changing the default Python log level and check if it works. Thanks!


UI Redesign - Account Summary

Epic for Account Summary tasks

Closing since we're using the auth / account  section instead


iPad Pro first gen 10.5 inch not compatible

No matter what device boots out of DFU mode when attempting to use palera1n , checkra1n works fine so Ik it’s not my cables

Probably a bug with libimobiledevice. Is this on macOS or Linux?


fix(document-token-limit): reduce default value

Time parsing token has been proven quadratic, here 2000 make tests 22 seconds against 7seconds for 1000.
A default value of 1000 tokens should be enough for most usage.

Depends of #182


Non-select events not working

Hi,
According to the documentation, you can Set the chart-specific events you want to listen to and the corresponding callback. The example is given uses select which works fine (I've setup an example here. The problem comes when I try to use any other chart type.
From the google charts documentation, for a bar chart, I should be able to use a click event:

When I add a click event like so:
  {
    eventName: "click",
    callback({}) {
      console.log("clicked");
    }
  }

Nothing happens, but the select event still works. I've setup a code sandbox here to demonstrate this behavior. This also happens for animationfinish, onmouseover, and every other event I've checked.

Looks like @rakannimer already answered this in #263, but figured I'd answer this anyway in case anyone else was having this issue. As this stack overflow answer does a great job of explaining, the ready event must be fired before chart events (like those in the screenshot) can be triggered. Therefore, if you want to use any other event, you have to initiate them in a callback like this

Quick note. As per react-google-charts/288 events do not fire on Bar charts


Bug in Angular 1.2.28? Using ng-options on a HTML select tag, produces not selectable last option element.

If have created a plunker to demonstrate the problem:
http://plnkr.co/edit/ndTQmTftKcwn7emBx84w?p=preview
First:
Create a HTML select tag, like:

<select ng-model="module.reason" ng-options="reason for reason in resources.reasons" required></select>

Create a controller like:

var controller = function ($scope)
{
$scope.title = "";
            $scope.module = {
                reason: null
            };

            $scope.resources = {
                reasons: [
                    "Reason 1",
                    "Reason 2",
                    "Reason 3",
                    "Reason 4"
                ]
            };
        };

Now when you run the page, immediately select the last option (in this case "Reason 4").
No option will be selected, the select tag will be empty, when you select an other option like "Reason 2" and then select the "Reason 4" option, it will be selected, but  when you change the selection back to the empty selection and then select the "Reason 4" option, it will be empty again.

Well very strange.
And you can reproduce the problem without jQuery, with the ng-required, without the style...
With this you have the problem:
    <select ng-model="module_string"             ng-options="reason as reason for reason in reasons_string"             ></select> $scope.reasons_string = [                         "R1",                         "R2"                 ];
I was wondering why we don't have it (we use angular 1.2 a lot!!), and in fact you don't have the problem if you do this:
<select ng-model="module_object"             ng-options="reason.V as reason.D for reason in reasons_object"             ></select>
and
$scope.reasons_object = [                         {V:1, D:"R1"},                         {V:2, D:"R2"}                 ];

Even when I remove jQuery and all styles, just like the html below, I still have the problem.
But you are right, when I use objects, instead of strings, the problem does not exist.
But I think it should work with strings too, don't you think?

<!DOCTYPE html>
<html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="spike">
<head>
    <title>Spike page</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body ng-controller="main">
    <select ng-model="module.reason"
            ng-options="reason for reason in resources.reasons"
            required></select>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.28/angular.min.js"></script>

<!-- App scripts -->
<script>

    (function ()
    {
        "use strict";

        var app = angular.module("spike", []);
    }());

    (function ()
    {
        "use strict";

        var app = angular.module("spike");

        var controller = function ($scope)
        {
            $scope.title = "";

            $scope.module = {
                reason: null
            };

            $scope.resources = {
                reasons: [
                    "Reason 1",
                    "Reason 2",
                    "Reason 3",
                    "Reason 4"
                ]
            };
        };

        app.controller("main", ["$scope", controller]);
    }());
</script>

</body>
</html>

workaround: Add a default empty option in like
and the problem go away

My case is somewhat different, but similar. I have a select with a list of strings (or numbers) and an ng-model that was loaded from an object. If the ng-model is the last option of the list, it shows the empty selection, although the ng-model is correctly set.
The workaround by @dhwang fixed the problem.

Using the plunker in the original post it seems that this bug first manifested in version 1.2.26 - https://github.com/angular/angular.js/commit/11d2242df65b2ade0dabe366a0c42963b6d37df5

@dhwang thanks, this workaround worked for me

@dhwang Your fix makes last option selectable, but also makes first option not selectable.

After a little digging this looks to have been a problem since 1.2.26 (working in 1.3.0)
The code that removes the un-needed last element was updated to call
selectCtrl.removeOption(option.label);
Which is causing the rendering of an unknown option. Removing that line of code dose fix things, but I cant tell why it was added between 1.2.25 and 1.2.26 so i am resistant to submit a pull request

huh.. I'm using 1.2.23 and it has this problem that forced me to add a default empty option.

Hi,
I also have a similar case.
if I use the script $ ("select"). selecter () to my style, all values in my "optionSelect" are empty set, and if I comment the script, I get the values.
Are you a solution to this conflict?

1.2.x only receives critical bug fixes; closing


chrome driver is not available for Version 126.0.6478.183 (Official Build) (64-bit)

Please follow the steps at https://developer.chrome.com/docs/chromedriver/downloads/version-selection.


Implementation of CKPrettyError

I implemented CKPrettyError and have used it in some of the operations but some more need changed, if you agree to how it has been implemented. It matches how ObjC CloudKit works, it did cross my mind that Swift errors could be done differently. Anyway how it works i the operations create a CKPrettyError using a code, and then the class overrides description to output a nice string for the error, e.g.
<CKError 0x618000240c60: "Operation Cancelled" (20); "Operation <TestOperation: 0x7f876f405ea0; operationID=1644E6818C660C6E, stateFlags=executing|cancelled, qos=Utility> was cancelled before it started">
I have tried to match that format as best I could, wasn't able to get the pointer though.

Todo, create CKPrettyErrors in all operations


Please tag a release

For restic, we've switch to dep recently, and it would be very helpful if you could tag a release, e.g. v1.0.0. Thanks!
https://dave.cheney.net/2016/06/24/gophers-please-tag-your-releases

sure thing! https://github.com/inconshreveable/mousetrap/releases/tag/v1.0

Cool, thanks!

I'm sorry to bother you again, but since I've opened the issue, the Go versioning proposal was accepted and it mandates that version tags must be of the form vX.Y.Z and conform to semantic versioning. So unfortunately the tag v1.0 is not considered by it.
Would you mind adding a tag v1.0.0 (pointing to the same commit as v1.0)? That'd be awesome!

Cool, thank you!


Let's encrypt renewal is not working

What version of Traefik are you using (traefik version)?
1.1.2
What is your environment & configuration (arguments, toml...)?
Docker compose
traefik:
image: traefik
ports:
- 8080:8080
- 80:80
- 443:443
labels:
- traefik.enable=false
volumes:
- ./build/traefik/traefik.toml:/traefik.toml
- /var/run/docker.sock:/var/run/docker.sock
- ./build/traefik/acme.json:/acme.json
restart: "always"
networks:
- frontend
Traefik Toml
defaultEntryPoints = ["http","https"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[acme]
email =<EMAIL_ADDRESS>storageFile = "acme.json"
entryPoint = "https"
onDemand = true
caServer = "https://acme-v01.api.letsencrypt.org/directory"
acmeLogging = true
[[acme.domains]]
main = "domain.tld"
sans = ["A.domain.tld","B.domain.tld","C.domain.tld","D.domain.tld"]
[[acme.domains]]
main = "domain2.tld"
sans = ["www.domain2.tld"]
acme.json file is OK since domains were successfully created a few months ago.
What did you do?
Nothing. I just discovered my https websites not working : time out.
What did you expect to see?
What did you see instead?
Webistes are not working anymore : https websites times out.
Error in log file :
traefik log :   traefik_1           | time="2017-03-07T09:31:18Z" level=error msg="Error renewing certificate: tls: failed to find any PEM data in certificate input"
this a BIG issue since all my websites are in production and rely mostly on HTTPS links...

@thedigital there seems to be an issue with acme.json file. Could you join the slack channel and send me this file (in private)?

Closing this one, solved on Slack.

@Overbryd could you open a new issue instead and give us all details needed (config and debug logs) ?


need a way to derive summary queries from a starting query

The AW Query Work Records page is a reporting page listing work record detail. It has a report sidebar of summary queries with different groupings that derive from the main detail query. I need an efficient way to define multiple "summary" queries that ensure the same criteria is used with all the summaries. I don't want to create additional queries and result classes, and I don't want to create unique markup for each query output, since they all have similar HTML table output.

I'm picturing a new interface IGroupings that lets you define multiple versions of a base query with different GROUP BY clauses. They would all inherit the same base query and WHERE clause -- ensuring that all your derived queries are "apples to apples".

Note that the HTML output is a separate concern from this library. The scope of this issue is just providing a way to define additional versions of a base query in a succinct way that assures an "apples to apples" view of summary data.

Note that the HTML output is a separate concern from this library. The scope of this issue is just providing a way to define additional versions of a base query in a succinct way that assures an "apples to apples" view of summary data.

I ended up going with some application-specific. This didn't need any library-level changes. Might do a deep dive explanation as part of other content

I ended up going with some application-specific. This didn't need any library-level changes. Might do a deep dive explanation as part of other content


Golang zero values are not set in kops cluster config

The creation of cluster (and perhaps other ) configs are not handling golang zero values.
The zero value for a bool is false and the parameters set in the terraform files with false are not propagated to the kops configuration.
For example:
  metrics_server {
    enabled  = true
    insecure = true
  }

Renders correctly to:
  metricsServer:
    enabled: true
    insecure: true

However:
  metrics_server {
    enabled  = true
    insecure = false
  }

Renders to:
  metricsServer:
    enabled: true

This happens for all settings that I've tested, which more or less breaks every cluster.

A possible fix might be to remove the checks for zero values in the DataSource_XXX.generated.go files:
if reflect.DeepEqual(in, reflect.Zero(reflect.TypeOf(in)).Interface()) {
  return nil
}```

Removing those will set the value to `*false` instead of `nil` which seems to work fine at least for my small test

Hello, thanks for reporting the issue.
This is a general problem in terraform that does not distinguish zero values and values not set in config.
One way to disable the behaviour is to mark the field mandatory.
I will look at it today or tomorrow.

Any progress on this? Anyway I can help?

The metrics_server was just an example, the issue I discovered was for the cluster autoscaler addon.

What attribute was causing the issue in the autoscaler addon please ?

If I remember correctly it was SkipNodesWithLocalStorage that we tried to set to false. Right @peter-svensson ?

But in general it's any value where the default-value is different than the zero-value.

I see two options here:

make the fields required so that we don't have to try to make sense out of zero values
add support for default values in tf schemas and somewhat duplicate the existing logic in kOps

I feel more comfortable with the first approach, it shifts some work on the end user side but it has the advantage of being explicit.

@argoyle @peter-svensson sorry for taking so long, i opened #346 to fix the case with bool fields when defaut is true.
i'll cut a new alpha tonight, let me know if it fixes your issue and/or if there are other cases to cover 🤞

v1.21.0-alpha.5 should be available in a couple of minutes.

Tested the autoscaler and it seems to work just fine at least 👍

@peter-svensson @argoyle can we close the issue ?

I would say so. We'll open another one if we find anything else. Thanks for your work! ❤

Thanks. Yes, don't hesitate to open issues, it helps improving the provider 🙏


Create a service to fetch or create transaction from postback

When the Pagarme's postback response tries to update a transaction that is not on Juntos' database, it was crashing.
This pr implements a service to check if the transaction is persisted on Juntos' database. If so, then update. If not, create it from Pagarme.

Muito bom, gostei de como organizou o serviço de criar as transactions. :tada:


A few weird bugs i cant seem to get rid off

Hi first of all thanks for this theme ive been using it since Christmas or so
recently with the new update when i applied the theme ive had a few graphical bugs that even when i reset wont dissappear.
One is this faint grey line that occurs on all pages apart from the home page its just above the timeline (shown below) occurs in both dark and light

another issue is a mismatch of an overlay on my friends profile pictures

sorry if the pictures are small or low res i don't know how to get better pictures
i have the text color problem that causes me to not be able to see text in the friends tab when I highlight over it

you cant see my cursor but its hovering over the name
also its changed my name in the corner to "new versions 1.4 available"
please help thanks

Can you check if these issues are reproducable with the normal, non-dynamic dribblish? For the first one I believe this is the advertisement borders, something I can't do anything about

the mismatched play button to profile picture happens in the standard Dribbblish as well, but the text color problem doesn't
my name is also only changed in the dynamic version

I pushed a fix for the text color.
Check your console for errors. The pink color in your screenshot is not normal, you may have not installed the theme properly.


fix:add missing documentation link

As shown above: add missing document link.
/kind doc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] pre-commit Passed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/kind documentation

/ok-to-test

/retest

/ping @JeromeJu

/lgtm


List.load() doesn't fetch/load any results from the backend.

Trying to fetch child data of a parent record via List<M> doesn't seem to work at all (or Amplify.DataStore is not really synchronising data down)
Set Up
Given the following schema:
type Blog @model {
  id: ID!
  name: String!
  posts: [Post]! @connection(name: "BlogsPosts")
}

type Post @model {
  id: ID!
  title: String!
  content: String
  belongsTo: Blog! @connection(name: "BlogsPosts")
}

As expected, this will generate two models out of which Blog will contain a definition posts: List<Post> (for this particular scenario).
If I call my Blog instance and attempt to load data for my posts
// Imagine I fetched this instance via Amplify.API because the DataStore doesn't work right now

blog.posts
    .loadAsPublisher()
    .sink(receivedCompletion: { _ in return },
             receivedValue: { items in String(describing: items) } // this is called with empty []
    ).store(in: &disposeBag)

Reading the documentation of load it says Trigger DataStore query to initialize the collection. This function always fetches data from the DataStore.query..
Has this functionality been tested? Have I just misconfigured the project?

Hi @rodrigoelp, thanks for reporting this issue. Can you try again with the latest version of Amplify and Amplify CLI?

I was able to successfully get this working with Amplify 1.0.4 and Amplify CLI 4.22.0.
In the graphQL schema, having a required array of Posts actually has no effect on the provisioned backend, nor codegenerated models:

type Blog @model {
  id: ID!
  name: String!
  posts: [Post]! @connection(name: "BlogsPosts")
}

can be changed to
type Blog @model {
  id: ID!
  name: String!
  posts: [Post] @connection(name: "BlogsPosts")
}

The reason is the backend will still be provisioned with an optional array of posts on the blog and the Blog model will also reference the posts as a hasMany optional relationship. Removing the ! on [Post] seems to reflect the schema more accurately.

Saving data: A blog can be created with no posts, and then a post can be created with the blog instance. Save the blog and then save the post.
Querying data: Query for the Blog by its Id, then accessing the resulting blog instance's posts will lazy load them

Hi @lawmicha, I would test this but I do not have access to our AWS services, we moved to pure GraphQL which didn't have some of these issues (about two months ago).
I agree with you in that a blog doesn't need to have posts to be created. In general parent data structures should follow that rule as any child data would be optional by definition.


Faling test case: list byron transactions

Context

Test Case

https://buildkite.com/input-output-hk/cardano-wallet/builds/6328#978398e3-7432-4507-8599-0777fbfe2292/6-7753
From the logs, the only error available which seems to match the test is the following:
[cardano-wallet.wallet-db:Info:11923] [2020-03-16 17:55:41.05 UTC] Waiting for 1 withDatabase dd66acf0...78024d2a call(s) to finish
[cardano-wallet.wallet-engine:Notice:12037] [2020-03-16 17:55:41.05 UTC] Worker has exited: main action is over.
[cardano-wallet.wallet-engine:Error:11707] [2020-03-16 17:55:41.07 UTC] Worker has exited unexpectedly: SQLite3 returned ErrorBusy while attempting to perform close: unable to close due to unfinalized statements or unfinished backups
[cardano-wallet.wallet-db:Info:11923] [2020-03-16 17:55:41.10 UTC] Database dd66acf0...78024d2a is ready to be deleted
[cardano-wallet.wallet-db:Info:11923] [2020-03-16 17:55:41.10 UTC] Removing wallet's database. Wallet id was dd66acf0...78024d2a

This is kinda weird and I don't think particularly connected to this test.
Failure / Counter-example

Resolution

QA

Another occurence -> https://buildkite.com/input-output-hk/cardano-wallet/builds/6400#62c6c6c5-a54c-4a09-9e8c-6fddba5966c2


feature: Please support IntelliJ/WebStorm

To run Flutter (flutter app) on Android you already have Android Studio on your machine wouldn't it just be logic to support IntelliJ/WebStorm???

Thanks for the feedback! In the meantime, you could try using WebStorm to edit the syntax of Flutter, and then use the command-line tools to run/build the Flutter apps.
You may need to assign Flutter's dart SDK as the sdk for your Flutter project. Flutter bundles its own dart SDK, which may be different than the SDK you are using for your web projects. Not sure if WebStorm allows you to set an SDK per-project.

One thing to note is that iOS support is equally important to Flutter. It's ok to require Android Studio or the Android SDK for Flutter development on Android, but we don't want to require it if your primary target is iOS.

We support IntelliJ now! :)


IsBranchExist: return false if provided name is empty

There appears to unfortunately be a slight difference between git show-ref --verify -- "refs/heads/"name used in git.IsBranchExists() and repo.gogitRepo.Reference(plumbing.ReferenceName(BranchPrefix+name) used in (*git.Repo) IsBranchExists() .
In that the first will return an error if the name is empty however, the second appears not to return an error.
This PR adds a simple check to ensure that empty names return false and also checks that the eventual reference returned is not an InvalidReference.
Fixes #8482

Codecov Report

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

@@            Coverage Diff             @@
##           master    #8485      +/-   ##
==========================================
- Coverage   41.84%   41.84%   -0.01%
==========================================
  Files         497      497
  Lines       65808    65811       +3
==========================================
+ Hits        27539    27540       +1
  Misses      34734    34734
- Partials     3535     3537       +2

Impacted Files
Coverage Δ

modules/git/repo_branch.go
76.23% <0%> (-2.34%)
:arrow_down:

modules/log/file.go
75.52% <0%> (-2.1%)
:arrow_down:

models/repo_indexer.go
66.27% <0%> (-1.94%)
:arrow_down:

models/gpg_key.go
56.66% <0%> (+0.83%)
:arrow_up:

routers/repo/view.go
43.32% <0%> (+1%)
:arrow_up:

models/unit.go
67.56% <0%> (+5.4%)
: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 0a96e59...9f7e5e9. Read the comment docs.

hmm... this might not be actually needed and could be a particular issue with the freebsd port.

Please backport

in a minit @lafriks

@zeripath which one was faster ;)

-> I'll close mine

Hehe


ROCm 4.1.0 and Navi 10 (Radeon RX 5700 XT)

Gpuowl cannot run:
https://github.com/preda/gpuowl/issues/223

Hi @valeriob01
Thanks for reaching out.
Navi10 is not supported with ROCm 4.1 and so can not comment on this.
Thank you.


Refactor period management in the UI

Follow-up to #314 that switches the store of reporting periods to follow the conventions used for users, subrecipients, and agencies. This includes switching to StandardForm, which allows us to delete the RecordForm components.
This PR fixes #234 -- the logic is now consistent, and we await all of the app's necessary state before rendering for a more consistent view.
As of this PR, we no longer duplicate update logic on the backend and the frontend. Instead, all backend updates force a reload of the state of the world into the frontend, to eliminate state synchronization bugs.

fixes #315