text:
HPA target average value being summed when same metric is being used in more than one HPA

Output
$kubectl describe cm datadog-custom-metrics
external_metric-horizontal-core-autoscaler2-Sample.Datadog.Metric:
{"metricName":"Sample.Datadog.Metric","labels":{},"ts":1654754970,"reference":{"type":"horizontal","name":"autoscaler2","namespace":"core","uid":"12345678-1234-5678-9456-74162016a00f"},"value":0.5,"valid":true}

external_metric-horizontal-core-autoscaler1-Sample.Datadog.Metric:
{"metricName":"Sample.Datadog.Metric","labels":{},"ts":1654754970,"reference":{"type":"horizontal","name":"autoscaler1","namespace":"core","uid":"12345678-1234-5678-a0e1-6c9d34bd20cd"},"value":0.5,"valid":true}

$kubectl describe hpa autoscaler1 -n core
Name:                                                                                autoscaler1
Namespace:                                                                                core
CreationTimestamp:                                                                                Fri, 08 Apr 2022 11:45:01 +0800
Reference:                                                                                Deployment/autoscaler1
Metrics:                                                                                ( current / target )
  "Sample.Datadog.Metric" (target average value):  1 / 15
Min replicas:                                                                                1
Max replicas:                                                                                1
Deployment pods:                                                                                1 current / 1 desired

$kubectl describe hpa autoscaler2 -n core
Name:                                                                                autoscaler2
Namespace:                                                                                core
CreationTimestamp:                                                                                Thu, 09 Jun 2022 12:12:09 +0800
Reference:                                                                                Deployment/autoscaler2
Metrics:                                                                                ( current / target )
  "Sample.Datadog.Metric" (target average value):  1 / 15
Min replicas:                                                                                1
Max replicas:                                                                                1
Deployment pods:                                                                                1 current / 1 desired

Describe what happened:
I'm using the same metric for different Horizontal Pod Autoscaler(HPA). As shown in datadog-custom-metrics config map above, the Sample.Datadog.Metric is being used in two different HPA: Autoscaler1 and Autoscaler2
However, when describing each of the HPA respectively, you could see the Target Average Value is 1, instead of 0.5 ; it seems the HPA is summing up the value as long as the Metric name is similar.
Describe what you expected:
I'm expecting the Autoscaler1 and Autoscaler2 should show 0.5 as Target Average Value instead of 1.
Steps to reproduce the issue:
Create two Horizontal Pod Autoscaler and use the same metric name.
Additional environment details (Operating System, Cloud provider, etc):

Is this still happening?

repo: DataDog/datadog-agent


text:
Drop prometheus metrics

Hi,
we've got some workloads exporting prometheus-formatted metrics.
DD agent discovers them successfully for scraping based on workload annotations, and indeed time series are collected.
we would like to do some basic relabeling, namely drop some of the time series, as they do not serve any meaningful purpose at this point, and have high cardinality.
The following configuration is added to the annotation:
"metrics": [".*"]
"exclude_metrics": ["rest.*"]
expected outcome is DD agent to drop everything starting with rest, however these keep piling up.
Please advise what is being missed.
TIA

Can you please show the full configuration and an example of a metric that is not being excluded?

source: gharchive/issue

authors: danielmilanov ofek

license_type: permissive

license_source: github-api


text:
Skip TestWindowsTestSuite/TestManualProcessDiscoveryCheck

What does this PR do?
Skip TestProcessDiscoveryCheck in the Process Agent Windows E2E test suite due to flakiness
https://github.com/DataDog/datadog-agent/pull/21842 skipped the wrong test
Motivation
Test sometimes flakes when the number of processes returned is greater than 100. When this happens, two JSON objects are returned, which causes the following error during unmarshaling:
        	Error:      	Received unexpected error:
        	            	invalid character '{' after top-level value
        	Test:       	TestWindowsTestSuite/TestManualProcessDiscoveryCheck
        	Messages:   	failed to unmarshal process check output

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[x] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Made sure it's skipping the correct test now:
--- PASS: TestWindowsTestSuite (854.18s)
    --- PASS: TestWindowsTestSuite/TestManualProcessCheck (3.47s)
    --- PASS: TestWindowsTestSuite/TestManualProcessCheckWithIO (27.33s)
    --- SKIP: TestWindowsTestSuite/TestManualProcessDiscoveryCheck (24.30s)
    --- PASS: TestWindowsTestSuite/TestProcessCheck (16.86s)
    --- PASS: TestWindowsTestSuite/TestProcessCheckIO (51.58s)
    --- PASS: TestWindowsTestSuite/TestProcessDiscoveryCheck (64.73s)
PASS
ok  	github.com/DataDog/datadog-agent/test/new-e2e/tests/process	1240.863s

https://gitlab.ddbuild.io/DataDog/datadog-agent/-/jobs/400199699

/merge

source: gharchive/pull-request


text:
service_discovery: add telemetry

What does this PR do?

Adds telemetry for the service_discovery check.
Motivation

Get data on how the service_discovery check is performing/behaving.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Additional code coverage is needed, too.

/merge

authors: jonbodner rarguelloF


text:
check for group in IsNodeMetadata

What does this PR do?

This PR checks for the resource group in IsNodeMetadata to avoid returning true for nodes that are not in the empty kubernetes group.
Motivation

Some resources might have the name nodes, but they belong to another (custom) API Group (i.e. not the empty group in kubernetes). IsNodeMetadata should return false in these cases.
Additional Notes

Currently there is an issue in the resource-group-version mapping for generic metadata collection, which, in some cases, leads to watching metrics.k8s.io/v1beta1, Resource=nodes instead of /v1, Resource=nodes.
This will be fixed in a separate PR.
This fix done in this PR is useful to avoid using the metadata collected for metrics.k8s.io/v1beta1, Resource=nodes as if they were native node metadata, resulting in incorrect data.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

No need for qa, we have automated testing.

/merge


text:
[CWS] remove now unused secl.json

What does this PR do?
This file was split into secl_linux.json and secl_windows.json. It can safely be removed now.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


text:
[EBPF] Fix the suggested kmt.test command when creating config from CI

What does this PR do?
Fixes the suggested kmt.test command that is shown when the --from-ci-pipeline argument is created in kmt.config. Also adds the list of failed tests to the command via the --run argument.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


text:
fix(installer): Make policy metadata files root-owned & world-readable

What does this PR do?
Fixes a bug at installer install: we try to write the policy metadata files as dd-agent before having created the dd-agent user.
This PR makes the file owned by root instead, and world-readable so that the daemon can read it. There is no sensitive data in this file anyway.
Motivation
Describe how you validated your changes
Tested manually on a VM + E2E tests
Possible Drawbacks / Trade-offs
Additional Notes

/merge


text:
Add system.mem.slab_reclaimable gauge

What does this PR do?

Adds a gauge for system.mem.slab_reclaimable. This is part of slab memory that might be reclaimed (i.e. caches).

Motivation
Datadog 7.x adds SReclaimable memory, if available on the system, to the system.mem.cached gauge by default: https://github.com/shirou/gopsutil/commit/f9e238c38b5f16a36794dd2f0f751c7376c64a60.
This may lead to inconsistent metrics for clients migrating from Datadog 5.x, where system.mem.cached didn't include SReclaimable memory. Adding a gauge for system.mem.slab_reclaimable allows inverse calculation to remove this value from the system.mem.cached gauge.
Additional Notes
This PR is a follow up to https://github.com/DataDog/datadog-agent/issues/5038.

Thanks @mx-psi,
I've incorporated those suggestions.

Thank you so much for your patience as I figured this out! 😅
I think the CLA is good now.

No probs, thanks again!

authors: jared-gs mx-psi


text:
404 Errors ( Unexpected telemetry response ) from Datadog Trace

Hello,
Recently, I updated Istio from version 1.20.8 to 1.21.6. Immediately after the update, the following errors have been occurring intermittently in the envoy tracing scope for every istio-proxy container:
[source/extensions/tracers/datadog/logger.cc:23] Unexpected Remote Configuration status 503 with body (if any, starts on next line):
upstream connect error or disconnect/reset before headers. reset reason: connection termination

[source/extensions/tracers/datadog/logger.cc:23] Unexpected telemetry response status 404 with body (if any, starts on next line):
404 page not found

I was able to resolve the first error by referring to this Issue and setting DD_REMOTE_CONFIGURATION_ENABLED = "false" in the IstioOperator YAML template file.
However, I haven't been able to solve the second error yet.
And, I am not familiar with C++, but I found code blocks that seems to involve the error log.
https://github.com/DataDog/dd-trace-cpp/blob/main/src/datadog/datadog_agent.cpp#L176-L190
If anyone understands the cause of this error and knows how to resolve it, I would greatly appreciate your help.

Hi @koizumi7010
We collect telemetry to get more insight on the tracer and its usage. This feature can be disabled with DD_INSTRUMENTATION_TELEMETRY_ENABLED=false.
Learn more on all the configurations we support.
Let me know if that solve your issue :)

@dmehala
Thanks for the reply!
Setting DD_INSTRUMENTATION_TELEMETRY_ENABLED = 'false' in IstioOperator YAML template file eliminated the error :) 👍🏼

repo: DataDog/dd-trace-cpp


text:
[appveyor][windows] fix winfixme checks

So for some reason the mocking of modules loaded in the check breaks on windows. Not sure what python does differently there, but it's definitely windows specific. We'll have to get to the bottom of it and address it.

Fixed here: https://github.com/DataDog/integrations-core/pull/79

repo: DataDog/integrations-core


text:
[ibm_mq] fix queue auto discovery to include any qlocal in addition to qmodel, …

[ibm_mq] fix queue auto discovery to include any qlocal in addition to qmodel, fltering to include only DEFTYPE(PREDEFINED) types
What does this PR do?
Expand metric collection for queues:

This change allows for MQ queues of type QLOCAL to be considered for metric collection in addition to those of type QMODEL.  The existing implementation only allows for those queues of type QMODEL.  This is required for my use case as nearly all of our queues are of type QLOCAL.  (I suspect this is true for most orgs that use IBM MQ.)
Filtering out of 'system' queues is also updated to look at the DEFTYPE attribute to determine a 'system' queue in lieu of the hard-coded list found in the existing version of config.py -- this filter is now based on whether a queue's DEFTYPE attribute is PREDEFINED (if so, consider it, else ignore).
Also, this change provides regex support for the queue_patterns configuration (overcoming MQ's right-side-wildcard-only pattern treatment).

Motivation
:information_source: This change was discussed with DataDog pre-sales during a trial-period checkpoint call.  DataDog was eager to review the changes and requested that this patch be submitted as a PR.  It is understood that there may be more refinement needed to this PR if DataDog were to choose to incorporate this and that the PR may not be merge-ready in its current state.
While involved with a Datadog evaluation, I found that there were no metrics reported for any queues using the auto-discovery configuration.  After looking in the integration code, I found the limitation mentioned above that queues would have to be of type QMODEL in order to be considered for metric collection.  This meant that the IBM MQ integration would be unusable for my use case.  In order to proceed with my evaluation, QLOCALs would also have to be considered.
Additional Notes
None.
Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Hi @goodgrits, I'm a PM at Datadog and would like to thank you for submitting this PR! While our team is reviewing, I'd like to chat with you in more detail about this request.
Could you please email me at dhruv.sahni@datadoghq.com with the best contact information to reach you at?

Please have a look at the proposed changes in https://github.com/DataDog/integrations-core/tree/julia/unit-tests. There is a type fix (the issue was already present, and updates the example file and test to account for regexes)

@hithwen : Should your #3893 supercede this PR?  That would seem fine to me.

@goodgrits Ok, lets do that and close this one.

authors: dsahni goodgrits hithwen


text:
Add loader config

What does this PR do?
Add loader config
Note: We might want to delay this change to keep is_jmx for one or more Agent versions.
Motivation
https://github.com/DataDog/datadog-agent/pull/6700
Related PR: https://github.com/DataDog/datadog-agent/pull/6953

Closing for now, since there is no much benefit right now to use loader instead of is_jmx.


text:
[Feature] robust regression and error function

With my dataset, I had some trouble where no matter what is entered as min_stop_frac, it would always return the same amount of segments. It would merge large segments that had almost no deviations before (creating a visible error), instead of merging small segments with bigger deviations. Taking the square root of the squared error that is returned by the OLS linear regression function fixed it, reduced the error and improved the result immensely:
I replaced :
https://github.com/DataDog/piecewise/blob/3a15a1c3113cbbecf979bb318f19f2c7fbdc9408/piecewise/regressor.py#L301
with
return tuple(coeffs), 0.0 if len(error) == 0 else float(math.sqrt(error))

I'm not sure if this should be pushed in a PR, as it would have to be checked against more data, but maybe it would make sense from an api standpoint to let the user supply his own linear regression/cost function, so one can use a more robust regression like Theil-San estimator or RANSAC incase the dataset has outliers.
Thank you lots for this library, it helped me quite a bit.

I definitely like this idea of make the cost function pluggable. If you're interested in pushing a PR, that'd be great. Otherwise, I can probably get around to adding this functionality eventually, although I'm not sure how soon.

@mrgreywater Thank you!
@StephenKappel  But how to increase number of segments? I want to see red lines on the chart. min_stop_frac doesn't help
https://puu.sh/AP63P/967d3d3243.png

Hey @jrtechs -- I'd be happy to have a PR to make this better! Here's some ideas...
Currently, the algorithm only remembers the segments from what it thinks is the best state so far. It does this based on the increase in total error (i.e., the cost of the merge). It does not consider how many merges remain before it ends up with a single segment, nor does it consider granular information about the cost of merges in the past.
The algorithm is trying to catch the big jump in total error that normally accompanies the one-merge-too-far. Something like shown here...

I think the problem comes when that sudden increase in error starts with an error increase that isn't the single largest error increase.
For example, the algorithm will do the right thing with this series of merge costs:
1, 1, 1, 2, 3, 3, 3, 4, 5, 5, 5, 5, 100, 125, 100, 105
But it will go one merge too far for this series of merge costs:
1, 1, 1, 2, 3, 3, 3, 4, 5, 5, 5, 5, 50, 105, 100, 125
We could try:

Tracking the cost of all merges to date, so we could use some more interesting statistics of the merge costs rather than just the max and cumulative sum of the past.
Remembering more than one state so that we don't need to make the decision of whether or not to discard a previous potentially-interesting state until we see all the merge costs.

The hope would be that, in retrospect, we'd be able to make smarter choices than we can on the fly.
A simpler solution for the specific example you provide could be providing a parameter to require more significant increases in cost for a merge to be considered the tipping point. On this line, cost_increase == biggest_cost_increase could become something like cost_increase >= 2.0*biggest_cost_increase, where 2.0 would be parameterized.

@StephenKappel I will definitely look into that. Just for clarification, what would be the difference between the min_stop_frac and this new error_increase_tolerance? Does the min_stop_frac define the increase in error allowed before we stop merging where the error_increase_tolerance would help us push more partitions/buckets to be merged?

The main motivation for min_stop_frac is to prevent the algorithm from giving a suboptimal solution when the "best" solution is a single line segment. It prevents the algorithm from stopping merging too soon if no single merge has led to a large fraction of the total error.
A new parameter would help the algorithm stop sooner, but this wouldn't contradict min_stop_frac. That is, in order to stop merging, the min_stop_frac-based threshold would still have to be met. However, after that's met (it will always be met for every future iteration after it's first true), we need a new parameter to help prevent too much merging.

authors: Andrey-Pavlov StephenKappel jrtechs mrgreywater

repo: DataDog/piecewise


text:
🛑 Les lundis - ENSTA is down

In 3363853, Les lundis - ENSTA (https://les-lundis.ensta-paris.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Les lundis - ENSTA is back up in 48d2997 after 3 minutes.

repo: DataEnsta/upptime

license: MIT


text:
🛑 DaTA is down

In 8326ffe, DaTA (https://data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DaTA is back up in 16e3af5 after 15 minutes.


text:
openapi/submitTask接口任务启动报错

Search before asking

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

What happened

接口提示：未能读取到有效Token
检查代码发现在TaskServiceImpl中的submitTask方法，调用了buildJobConfig，而该方法中获取了用户权限，进而继续去获取了登录信息

What you expected to happen
/openapi下的接口，不应该继续从登录信息中获取userId，/openapi/submitTask能正常运行任务
How to reproduce
直接调用/openapi/submitTask，不传入cookie会报错
Anything else
No response
Version
dev
Are you willing to submit PR?

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

Code of Conduct

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

刷新一下页面.重新登录

最好的方式是实现 token 管理 , 通过 token 集成权限 等信息,  然后访问 openapi

 @GetMapping("/submitTask")     public Result submitTask(@RequestParam Integer id) {         taskService.initTenantByTaskId(id);         JobResult jobResult = taskService.submitTask(id);         if (jobResult.isSuccess()) {             return Result.succeed(jobResult, "执行成功");         } else {             return Result.failed(jobResult, jobResult.getError());         }     }

authors: SPWanderer aiwenmo leechor zhu-mingye

repo: DataLinkDC/dinky


text:
[Bug] [k8s app] submit job with k8s app ha mode,flink have the same jobid,submit and cancle job throw error

Search before asking

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

What happened
submit job with k8s app ha mode,flink have the same jobid,like 0000000006924de00000000000000000;submit job throw error  "Duplicate entry 'test20000000006924de00000000000000000-1' for key 'cluster_un_idx1'" when the old flink instance still exists,and cancle job throw error "Expected one result (or null) to be returned by selectOne(), but found: 5"  because of the same id;
What you expected to happen
submit job and cancle job work well
How to reproduce
submit job with k8s app ha mode,
Anything else
No response
Version
1.0.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

mysql表内可以试着取消name唯一约束，这个不影响任务


text:
[HW] Roozbeh

Name: Roozbeh
Linkedin Profile: www.linkedin.com/in/roozbeh-dargahi
Attach the homework screenshots below:

https://api.badgr.io/public/assertions/TC5ZhD0AT2yOFtxc2DwH8A?identity__url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Froozbeh-dargahi

authors: HadesArchitect RooDK


text:
Create and update prospects

I added a few functions to create and update prospects. They're all yours if you want in the library :)

Looks pretty good, main thing is that the style doesn't match.

Can you offer some specific style guidance to @jonathankeebler? It would be niced to get this functionality merged in. Especially since it's the only package up on npm. In the meantime I'm installing his branch.

authors: ibash jonathankeebler micahlmartin

repo: Datahero/node-pardot

license: mit

license_source: bigquery


text:
CA 124 Deprecates s3_policy_arns & CA 125 Cloudwatch logs organization

Deprecates s3_policy_arns in favor of additional_policy_arns.
Permits the ability to create the cloudwatch log group and pass it to the shell script.

This PR doesn't appear to be linked to a DevOps/SRE jira ticket

This PR doesn't appear to be linked to a DevOps/SRE jira ticket

This PR doesn't appear to be linked to a DevOps/SRE jira ticket

This PR doesn't appear to be linked to a DevOps/SRE jira ticket

This PR doesn't appear to be linked to a DevOps/SRE jira ticket

authors: fvazquez-caylent tamr-teamcity

repo: Datatamer/terraform-aws-tamr-vm


text:
When used in a flake: error: attribute 'currentSystem' missing

Hi, I'm a newbie, so I apologize if this question is in the wrong place.  I'm trying to use mach-nix in this flake.nix
{
  outputs = {self, nixpkgs}:
    let
      mach-nix = import (builtins.fetchGit {
        url = "https://github.com/DavHau/mach-nix";
        ref = "refs/tags/3.5.0";
        rev = "7e14360bde07dcae32e5e24f366c83272f52923f";
      }) { };
    in
    {
      defaultPackage.x86_64-linux = mach-nix.mkPython rec {
        requirements =  ''
          numpy
          '';
        };
    };
}

But when I run nix shell .  I get this error:
error: attribute 'currentSystem' missing

       at /nix/store/5n402azp0s9vza4rziv4z5y88v2cv1mq-nixpkgs/pkgs/top-level/impure.nix:17:43:

           16|   # (build, in GNU Autotools parlance) platform.
           17|   localSystem ? { system = args.system or builtins.currentSystem; }
             |                                           ^
           18|

I was reading a blog about this  which said:

You may get an error like this:
error: attribute 'currentSystem' missing
This happens because in the context of flakes, builtins.currentSystem does not exist (it is, after all, an impurity). If you come across this, try to refactor your legacy-nix portion so the system is always an argument, and provide that argument from your flake, as above.

From that I get the feeling that I need to provide x86_64-linux as a parameter somehow.  But where do I put it?

You should follow the example described here: https://github.com/DavHau/mach-nix/blob/master/examples.md#use-mach-nix-from-a-flake -  generally you want to use flake inputs to "import" remote nix packages/code.

You could try (untested):
{
  outputs = {self, nixpkgs}:
    let
      mach-nix = import (builtins.fetchGit {
        url = "https://github.com/DavHau/mach-nix";
        ref = "refs/tags/3.5.0";
        rev = "7e14360bde07dcae32e5e24f366c83272f52923f";
      }) {  inherit system; };
    in
    {
      defaultPackage.x86_64-linux = mach-nix.mkPython rec {
        requirements =  ''
          numpy
          '';
        };
    };
}

{  inherit system; } is not working.
What you can do as a workaround is to build your configuration with the --impure option.

authors: 573 GeorgesAlkhouri MatrixManAtYrService ryanswrt

repo: DavHau/mach-nix


text:
update projects and library for swift 2.3 (updated)

I started with @bersaelor's swift_2.3 branch, rebased against @DaveWoodCom's master, and made one small change to get it to build with Xcode 8 GM.
I don't see this getting merged to master, but could you maybe keep a swift_2.3 compatibility branch with these changes?

Thanks for this PR. You should be able to use the swift_2.3 branch now. Let me know if there are any issues.

authors: DaveWoodCom humblehacker

repo: DaveWoodCom/XCGLogger


text:
Support building OpenCloudSaves as a shared library for 3rd party integration

Is your feature request related to a problem? Please describe.
OpenCloudSaves currently only provides an executable binary, which makes it more difficult for 3rd party integration.
Describe the solution you'd like
Provide a shared library build of OpenCloudSaves. Go buildmodes allows exporting Go methods as a C shared library which can be used by 3rd party software to integrate OpenCloudSaves.
Describe alternatives you've considered
One alternative would be to use the CLI provided by OpenCloudSaves to integrate it into other software.
Additional context
I am currently developing a gamepad native game launcher and overlay called OpenGamepadUI as a free and open source alternative. I would love to be able to integrate OpenCloudSaves into it either natively or as a plugin.

Will target for 0.17

Right now my concept for the API will be to expose a C interface that allow an invocation of the application using our option flags https://github.com/DavidDeSimone/OpenCloudSaves/blob/main/main.go#L14-L23
This will be our stable interface that will follow semver conventions. This way you can embed OpenCloudSave into your application without having to invoke  from the command line.
Internally, I try to have the GUI basically "invoke" the command line by using calls to CLIMain, so in general the app internally uses those flags to drive behavior.

That would be perfect!

That would be perfect!

I couple of other issues I am thinking through:

OpenCloudSave currently compiles and distributes a copy of rclone to perform the actual syncing. There are a couple of solutions I can think of for this:
a. Require users of opencloudsave.so to provide an rclone for usage
b. Try to bundle rclone into open cloud save (not sure of the difficulty here)
On windows, OpenCloudSave requires a WebView DLL and WebView2 to be installed by the end user. This is all currently handled by our MSI - these requirements would end up passed on to the users of opencloudsave.so
a. I don't know of another way around this - but I imagine it won't be a deal breaker for most applications, since they can just copy our install flow/distribution from how we build our MSI.

I think it's reasonable to require the integrator to bundle or make their package depend on rclone themselves if they're using the shared library. Maybe OpenCloudSave could also expose an interface to specify the path to rclone if the integrating application has rclone in a custom directory?
For OpenGamepadUI, since it's Linux-only, I was just planning on adding rclone as a dependency after integrating OpenCloudSave.

I think it's reasonable to require the integrator to bundle or make their package depend on rclone themselves if they're using the shared library. Maybe OpenCloudSave could also expose an interface to specify the path to rclone if the integrating application has rclone in a custom directory?
For OpenGamepadUI, since it's Linux-only, I was just planning on adding rclone as a dependency after integrating OpenCloudSave.

Yeah, this sounds reasonable to me - I like the idea of exposing a hook for a user to specify the path to the rclone they want to use. I might expose that in the GUI layer as well.

authors: DavidDeSimone ShadowApex

repo: DavidDeSimone/OpenCloudSaves


text:
test-gcd.dice Bug. You cannot assign values to parameters

It was too complicated to support assignment of values to parameters, please remove all instances of this and test-gcd will work

Corrected.

authors: DavidWatkins KhaledAtef

repo: DavidWatkins/Dice


text:
Example is unavailable

The example link in the readme (https://github.com/DawnGroveStudios/GodotP2PNetworkExample) leads to a 404.

Sorry about that, this example project is still a work in progress. We will hopefully have it finished with in the next few days

Sorry for the delay, I have made this repo public. However, it is incomplete since I am spending most of my time on a different game. I will work on improving and adding more examples that repo in the coming weeks as well as improving the documentation.

https://github.com/DawnGroveStudios/GodotP2PNetworkExample/tree/main/basic
Closing out for now but please leave another issue if you would like to see a specific example or if you have any ideas to help improve this plugin in.

authors: Seann-Moser TCMine


text:
List Anchors RPC

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
Implement listanchors RPC
Which issue(s) does this PR fixes?:

Fixes #48
Additional comments?:

I want to write a test case that asserts the number of anchor that is returned when listAnchors RPC is called.  I have tried creating anchors via spv_anchorrewards but no avail.
My questions are

What is the difference between spv_listanchors and listanchors?
Is there a away to create anchors so that i can make the assertion i outlined above?

repo: DeFiCh/jellyfish


text:
FFI communication between native and meta chain

What would you like to be added:
As an alternative to JSON RPC communication (#80), I propose invoking functions through FFI. Metachain (MC) can be compiled as a staticlib, which then gets linked to defid (NC). The PoC for this approach exists in libmc branch in metachain and  ain repository. CLI args from NC will be passed to MC, which will be bootstrapped and then defid will follow.
Why is this needed:
This way, we can eliminate the security concerns for running MC as an independent process and communicating through RPC (#45), which also reduces TCP overhead and avoids us packaging and running two binaries which will most probably exist in the same machine. #94 wouldn't have any adverse impact on this decision as the source of the bottleneck will still be in defid. It should be noted that MC and NC will not have any knowledge of what the other is doing and neither will one manage the other. However, when MC fails and exits, it will shutdown defid as well (at this point).
As for e2e testing, we can still expose RPC from MC, because essentially they'll be the same FFI calls.
cc @prasannavl @fuxingloh @DieHard073055

As an alternative to JSON RPC communication (#80), I propose invoking functions through FFI. Metachain (MC) can be compiled as a staticlib, which then gets linked to defid (NC). The PoC for this approach exists in libmc branch in ain repository. CLI args from NC will be passed to MC, which will be bootstrapped and then defid will follow.

I think it's sound given if both options are provided with a shared Interfacing for the sake of testing with the ability to force defid to switch between prepackaged binary or via a provided RPC URL --metachain_url=.... #97 is also a very important related issue where in the future or now, we might not want to "force" all defid clients to be mining for NC and MC, given MC has different performance and storage requirements for masternode operators.

This way, we can eliminate the security concerns for running MC as an independent process and communicating through RPC (#45),

Although #45 is important, it isn't sane for masternode operators to operate on a host machine they can't trust. It's more of an additional security good practice IMO, as I don't think they should not be operating their masternode over the network.

which also reduces TCP overhead and avoids us packaging and running two binaries which will most probably exist in the same machine. #94 wouldn't have any adverse impact on this decision as the source of the bottleneck will still be in defid.

From the current literature on our threading model, I think #94 requires a renewal of our existing threading model for MC integration rather than the bottleneck of integration.

I think it's sound given if both options are provided with a shared Interfacing for the sake of testing with the ability to force defid to switch between prepackaged binary or via a provided RPC URL --metachain_url=....

While I'm okay with supporting RPC for the purpose of testing, the whole aim of using FFI is to prepackage the binaries and to not worry about having RPC calls in production or needing to secure them, but if we're planning to have it in the near future anyway, then I don't think the FFI way serves any purpose. @prasannavl Need your opinion here.

https://github.com/DeFiCh/metachain/issues/97 is also a very important related issue where in the future or now, we might not want to "force" all defid clients to be mining for NC and MC, given MC has different performance and storage requirements for masternode operators.

Is the performance and storage requirements the only constraint for not being able to run MC alongside NC?

Although https://github.com/DeFiCh/metachain/issues/45 is important, it isn't sane for masternode operators to operate on a host machine they can't trust.

This is not specific to MC though, right? Wouldn't it apply to NC as well?

While I'm okay with supporting RPC for the purpose of testing, the whole aim of using FFI is to prepackage the binaries and to not worry about having RPC calls in production or needing to secure them, but if we're planning to have it in the near future anyway, then I don't think the FFI way serves any purpose. @prasannavl Need your opinion here.

Yup, DMC is the first part of a series of changes to modulize the DeFiChain blockchain into several components that were initially proposed in DFIP 2111-B. DMC is the first of many execution planes we want to integrate into a shared network plane. The goal is to modularize the blockchain to make upgrading easier. It was explained in a video on a generative approach to adding more modularized components with a shared network plane.

Is the performance and storage requirements the only constraint for not being able to run MC alongside NC?

Part of it. With DMC embedded, the "server profile" and server maintenance's operational flow must be changed if we force defid to be prepackaged. Several operators such as exchanges, individuals, and node operators would have to reconfigure their setup to fit the runtime requirements running defid. It's not simply a plug-and-play since these must be pre-communicated, tested, and operationalized.

This is not specific to MC though, right? Wouldn't it apply to NC as well?

Yup, it would; it's not specific to MC or NC, just running servers or validators in general. IMO, additional security cushions more for the uninitiated server maintainers.

Btw, @mambisi has brought it to my attention going through the FFI route will not be as easy as it sounds because we won't get the context from substrate outside of wasm environment. Until we have a clear direction there, this is how we've currently decided to go:
graph

subgraph DeFiCh/ain
nc[Native chain consensus]
nb[Native chain bootstrap]
nb --> nc
nb --" FFI "--> mb
nc --" FFI "--> nrc
nb --" FFI "--> lock

subgraph "DeFiCh/libain-rs"
pt["Protobuf spec"]
ngc["gRPC client"]
nrc["RPC client"]

pt --> ngc
pt --> nrc
end

subgraph DeFiCh/metachain
mb[Metachain bootstrap]
mc[Metachain consensus]
mprc[RPC server]
lock[Random number agreement]

mprc --> lock
lock --> mprc
mb --> mc
mprc --> mc
nrc --" JSON RPC "--> mprc
end

end

Metachain build will also emit a static library in addition to the executable. This gets linked to defid. When defid starts, it has the option to boot up metachain (and arguments following a certain flag will be passed to it). When metachain terminates, it can issue a shutdown request to defid.
When metachain is under defid's management, both will agree upon a large random number which will then be set alongside the RPC arguments. This way, any incoming request (to those consensus RPC endpoints) not coming from defid will be dropped.
The consensus mechanism will still be through RPC (addressed in #80). FFI will be used only to boot up metachain and agree upon the random number. E2E tests will work normally on both metachain side and ain side because there won't be any breaking changes.

Btw, @mambisi has brought it to my attention going through the FFI route will not be as easy as it sounds because we won't get the context from substrate outside of wasm environment. Until we have a clear direction there, this is how we've currently decided to go:

Yup sounds good, I'm afraid of that as well.

Metachain build will also emit a static library in addition to the executable. This gets linked to defid. When defid starts, it has the option to boot up metachain (and arguments following a certain flag will be passed to it). When metachain terminates, it can issue a shutdown request to defid.

Yup, this is great; it's important that it's optional. https://github.com/DeFiCh/metachain/issues/97#issuecomment-1277355273
Does this also mean instead of starting up MetaChain, we could also provide an URL with a port number?

When metachain is under defid's management, both will agree upon a large random number which will then be set alongside the RPC arguments. This way, any incoming request (to those consensus RPC endpoints) not coming from defid will be dropped.

Could we use JWT instead if it's not too troublesome? Minor, I'm also very comfortable with this design for now, but it might require changes. Let's see, it's not important now.

The consensus mechanism will still be through RPC (addressed in JSON-RPC communication between Native Chain and Meta Chain #80). FFI will be used only to boot up metachain and agree upon the random number. E2E tests will work normally on both metachain side and ain side because there won't be any breaking changes.

Sounds good.

Does this also mean instead of starting up MetaChain, we could also provide an URL with a port number?

I didn't have this in mind, but it shouldn't be hard to implement with the current design.

Could we use JWT instead if it's not too troublesome? Minor, I'm also very comfortable with this design for now, but it might require changes. Let's see, it's not important now.

Agreed, let's get both defid and metachain running in a single node. I'm sure we can improve the mechanism later on.

authors: fuxingloh wafflespeanut

repo: DeFiCh/metachain


text:
Is it possible to get segstats of cerebellum after run FastSurfer pipeline?

Question/Support Request

Is it possible to get segstats of cerebellum after run FastSurfer pipeline?
Since the default option is not generating segstats, I wonder if I should run all pipeline,  or can generate segstats for cerebellum afterwards.
Bests,

After running the cerebnet module, which is part of the segmentation pipeline, you should get the statsfile, see :
https://deep-mi.org/FastSurfer/dev/overview/OUTPUT_FILES.html#cerebnet-module
You can run with --seg_only, which will include cerebnet. No need to run the longer surface pipeline for this.
Make sure you use the latest release.

Thanks.
Actually, I ran only cerebnet with already processed data via python directly as below.
python CerebNet/run_prediction.py  --t1 $t1 --asegdkt_segfile $asegdkt_segfile --conformed_name $conformed_name --cereb_segfile $cereb_segfile --seg_log $seg_log --batch_size $batch_size --viewagg_device $viewagg --device $device --async_io --threads $threads
I missed --cereb_statsfile $cereb_statsfile, so the statsfile did not generated.

You can either do the hard work of looking into run_fastsurfer scripts and also manually replicate the other steps, or you can just run the --seg_onlyagain (takes only minutes per case) and get everything you need.

authors: iPsych m-reuter

repo: Deep-MI/FastSurfer


text:
Add performances comparisons with previous packages

Table implemented in PR #493 shows the timings obtained for generating graphs/graphs+grids, atomic resolution, with all features except for the ones in the conservation module, because we don't have the pssm files for the data in the tutorials (for computing the performances of deeprank2, I used the raw data available at this address).
We need some discussion here:

Is this a satisfying way of showing performances? Do we need to generate all the features possible (by adding conservation module features), and to add performances for residue resolution as well?
How do we do a fair comparison with the previously developed packages? Features are different in number and in how they are calculated, so if we use all features in all packages we can't know if the comparison is fair. Maybe we could just pick a couple of them which are the same in all packages (e.g., distance, residue type)?

When we'll have clearer ideas/plans about 1. and 2., compare deeprank2 with:

deeprank

[ ] PPIs, grid

deeprank-gnn

[ ] PPIs, graph

deeprank-mut

[ ] variants, grid

How would you advice to proceed here, especially for question 2.? @sonjageorgievska, @DaniBodor

I don't have a great idea about this, apart from just doing a "not fair" comparison and being open about it and explaining the differences.

I don't have a great idea about this, apart from just doing a "not fair" comparison and being open about it and explaining the differences.

Actually I agree, I also think this is the only realistic option we have.


text:
alert notifications shown as enabled by default when they're not

When a user has not setup nofitications yet, the django view code defaults to creating a new Notifications model instance. This has all notifications types set to be enabled for 'alert'.
So on screen it looks to the user that these notifications are enabled, when in reality they are not.
solution is either to disable them by default in the Notifications model or to somehow create a default Notifications model instance in the database whenever a new user is created.

fixed for users created after https://github.com/DefectDojo/django-DefectDojo/blob/4be8d4c6e4f6e72f3574098e985d067b068bceb1/dojo/utils.py#L1971
existing users may still suffer.

if someone can write a short piece of code to fix this for existing users, we can add that as a migration

@valentijnscholten  are we okay to close this one?

authors: devGregA valentijnscholten

repo: DefectDojo/django-DefectDojo


text:
🛑 cPanel is down

In 51e630d, cPanel (https://charlie.delta-core.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cPanel is back up in ab7aa70.

repo: Delta-Core/status


text:
Define and write model definition as toml

In GitLab by @JoerivanEngelen on Feb 6, 2023, 15:59
If I remember correctly, @Huite already did some thinking about this previously, but I couldn't find an example TOML file.
We could also take the LHM toml as an example.

In GitLab by @JoerivanEngelen on Mar 17, 2023, 15:49
Implemented in https://gitlab.com/deltares/imod/imod-python/-/merge_requests/189

repo: Deltares/imod-python


text:
librosa.feature.melspectrogram is not equal as kaldi's mfcc extraction

the same audio, when I use librosa.feature.melspectrogram to extracte log mfcc, says Matrix A(43,N). But it turns out that Matrix A is not equal as kaldi's mfcc extraction, says Matrix B(43,M), even their dims, N != M. Got very confused, Could any help me?

The method of dividing frames in librosa and Kaldi is different, and you can refer this issue:
https://github.com/librosa/librosa/issues/595

Is it because melspectrogram equal to fbank?not mfcc?

authors: hyuezhi xjwla zhuimin

repo: DemisEom/SpecAugment


text:
Blockstack login doesn't work anymore

Bug visible @ vote.democracy.earth

Just FYI .. Blockstack login still not working. [sure you are aware .. but was just diving into Blockstack a bit and testing...
Also, per image above .. given "?" in blue box .. seems the DEF logo is missing from configuration.

authors: herbstephens virgile-dev

repo: DemocracyEarth/sovereign


text:
add VElement: render arbitrary HTML, including SVG!

This is attempt number 2 for #195

fix #194
fix #189

This is essentially innerHTML -- allowing the user to inject any Element that they have.

Just added to the showcase (although depend on #200 to work for me). This should be ready to merge!
bors try

I think I can use VNode instead of VElement for this actually...
let me explore.

bors try

Looks good! :+1: And I need more time to review other PRs
bors r+

@DenisKolodin take your time. If you feel comfortable with it you could give me approve ability. I promise to only approve reviews which are doc fixes, test fixes, test additions and minimal refactors.
Up to you though :smile:

authors: DenisKolodin vitiral

repo: DenisKolodin/yew


text:
Multi-threading, concurrency, agents

This is a series of bold experiments and I really love :heartbeat: this PR.
It makes this framework a multi-threaded (it's not a joke) and brings actors model everywhere.
Now your yew frontend-apps will be more Erlang or Actix apps like :rocket:
Also, I've removed a context. Completely! Components simplified. Now it's an actor which you could connect to and interact with messages.
Other benefit is your components could interact each other #270
Since this PR will be merged the framework turned into multi-threaded concurrency-friendly frontend framework. Sorry me for buzzwords overload )
It still need Routing #187 and fixes of the most issues. I'll get to that.
But extra benefit of this PR: it fixes major emscripten issues #220
Remaining:

[ ] Add CHANGELOG.md
[ ] Update README.md

Would it be feasible to utilize actix in Yew for this?

@kellytk I've tried to use actix in the first attempt, but it tied with tokio and uses a little different approach.
I tend to make it similar and consider future utilization of actix here.

@DenisKolodin just FYI, i am planing to split actix into two packages. actix-core will depend on only on futures. and actix will provide tokio integration.

I can not remove Context, it is required for different types of actor. But I really like idea with ComponentLink.

@DenisKolodin the changes introduced here appear to move Yew towards an ECS design, is that correct?

@kellytk It's similar to ECS approach, but actually it closer to CSP. Like with Erlang: a process is not an entity of "physical world", but it an entity who does part of its job. In other words: the actor is not an a record in a database, it's a handler which services database interaction completely.
If you mean "could you use it for gaming abstractions", I think it's better to create tiny structs inside actor to handling gaming entities.

bors r+

@DenisKolodin

but it tied with tokio

FWIW I've found Riker, which apparently is not coupled in that way.

authors: DenisKolodin fafhrd91 kellytk


text:
Other Browser Support

Option to change the bookmark source browser

Support for 3 Browser

repo: Der-Penz/PowerToys-Run-BrowserFavorite


text:
Smbus read-command

Hi,
This is perhaps more a question than an issue, as I might have misunderstood the usage of the library.
I'm trying to use the smbus commands (read-byte-command and read-int-command) towards a PMBUS-device on address 0x53.
I try to read the 'CAPABILITY' register (0x20) but I always get "Unexpected response code".
Am I doing this wrong?
accordion@A000619:~/net6.0 $ sudo dotnet MCP2221IOConsole.dll smbus read-int-command -ia 0x53  -c 32 [05:20:29.8907447 DBG] Executed [Device].[Open] in [208.514] ms Reading an int from the SmBus device address [Value: 0x0053 Size: SevenBit] [05:20:29.9715280 DBG] Output HID Packet: [00,0x90,0x01,0x00,0xA6,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00] [05:20:29.9873360 DBG] Input HID Packet: [00,0x90,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x1B,0x00,0xEF,0x00,0x10,0x28,0x40,0x60,0x01,0x01,0x00,0x00,0xF1,0x79,0xF0,0x00,0x00,0x00,0x30,0x30,0x0B,0x30,0x2C,0x23,0x1F,0x36,0x04,0x00,0x00,0x26,0x90,0x14,0x41,0x36,0x31,0x32,0xFF,0x03,0xFF,0x03,0xFE,0x03,0x02,0x03,0x92,0x01,0x00,0x00,0x00,0x00] [05:20:29.9903788 ERR] An exception occurred executing [Device].[I2cWriteData] Reason: [Unexpected response code Expected: [0x94] Actual [0x90]] [05:20:29.9914045 ERR] An exception occurred executing [Device].[SmBusReadCommand] Reason: [Unexpected response code Expected: [0x94] Actual [0x90]] [05:20:29.9930222 DBG] Disposing Device An unhandled exception occurred: MCP2221IO.Exceptions.InvalidResponseTypeException: Unexpected response code Expected: [0x94] Actual [0x90]    at MCP2221IO.Responses.BaseResponse.Deserialize(Stream stream) in C:\dev\source\MCP2221IO\MCP2221IO\Responses\BaseResponse.cs:line 65    at MCP2221IO.Device.ExecuteCommand[T](ICommand command, Boolean checkResult) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 778    at MCP2221IO.Device.<>c__DisplayClass92_01.b__0() in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 731
at MCP2221IO.Device.HandleOperationExecution(String className, Action operation, String memberName) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 796
at MCP2221IO.Device.I2cWriteData[T](CommandCodes commandCode, I2cAddress address, IList1 data) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 721    at MCP2221IO.Device.<>c__DisplayClass86_0.<SmBusReadCommand>b__0() in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 597    at MCP2221IO.Device.HandleOperationExecution[T](String className, Func1 operation, String memberName) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 818
at MCP2221IO.Device.SmBusReadCommand(I2cAddress address, Byte command, UInt16 length, Boolean pec) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 591
at MCP2221IO.Device.SmBusReadIntCommand(I2cAddress address, Byte command, Boolean pec) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 486
at MCP2221IOConsole.Commands.SmBus.SmBusReadIntCommand.<>c__DisplayClass1_0.b__0(IDevice device) in C:\dev\source\MCP2221IO\MCP2221IOConsole\Commands\SmBus\SmBusReadIntCommand.cs:line 46
at MCP2221IOConsole.Commands.BaseCommand.ExecuteCommand(Func2 action) in C:\dev\source\MCP2221IO\MCP2221IOConsole\Commands\BaseCommand.cs:line 67 accordion@A000619:~/net6.0 $
Any help is appreciated.
Best regards
Daniel

Hey sorry for not responding sooner. I get so many notification from github this one got lost in the noise.
I will need to have a look at the docs again for the MCP2221 device, its been a while since I looked at this code.

I reformatted the trace data for better readability
accordion@A000619:~/net6.0 $ sudo dotnet MCP2221IOConsole.dll smbus read-int-command -ia 0x53  -c 32
[05:20:29.8907447 DBG] Executed [Device].[Open] in [208.514] ms Reading an int from the SmBus device address [Value: 0x0053 Size: SevenBit]
[05:20:29.9715280 DBG] Output HID Packet: [00,0x90,0x01,0x00,0xA6,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]
[05:20:29.9873360 DBG] Input HID Packet: [00,0x90,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x1B,0x00,0xEF,0x00,0x10,0x28,0x40,0x60,0x01,0x01,0x00,0x00,0xF1,0x79,0xF0,0x00,0x00,0x00,0x30,0x30,0x0B,0x30,0x2C,0x23,0x1F,0x36,0x04,0x00,0x00,0x26,0x90,0x14,0x41,0x36,0x31,0x32,0xFF,0x03,0xFF,0x03,0xFE,0x03,0x02,0x03,0x92,0x01,0x00,0x00,0x00,0x00]
[05:20:29.9903788 ERR] An exception occurred executing [Device].[I2cWriteData] Reason: [Unexpected response code Expected: [0x94] Actual [0x90]]
[05:20:29.9914045 ERR] An exception occurred executing [Device].[SmBusReadCommand] Reason: [Unexpected response code Expected: [0x94] Actual [0x90]]
[05:20:29.9930222 DBG] Disposing Device An unhandled exception occurred: MCP2221IO.Exceptions.InvalidResponseTypeException: Unexpected response code Expected: [0x94] Actual [0x90]
at MCP2221IO.Responses.BaseResponse.Deserialize(Stream stream) in C:\dev\source\MCP2221IO\MCP2221IO\Responses\BaseResponse.cs:line 65
at MCP2221IO.Device.ExecuteCommand[T](ICommand command, Boolean checkResult) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 778
at MCP2221IO.Device.<>c__DisplayClass92_01.b__0() in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 731
at MCP2221IO.Device.HandleOperationExecution(String className, Action operation, String memberName) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 796
at MCP2221IO.Device.I2cWriteData[T](CommandCodes commandCode, I2cAddress address, IList1 data) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 721
at MCP2221IO.Device.<>c__DisplayClass86_0.<SmBusReadCommand>b__0() in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 597
at MCP2221IO.Device.HandleOperationExecution[T](String className, Func1 operation, String memberName) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 818
at MCP2221IO.Device.SmBusReadCommand(I2cAddress address, Byte command, UInt16 length, Boolean pec) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 591
at MCP2221IO.Device.SmBusReadIntCommand(I2cAddress address, Byte command, Boolean pec) in C:\dev\source\MCP2221IO\MCP2221IO\Device.cs:line 486
at MCP2221IOConsole.Commands.SmBus.SmBusReadIntCommand.<>c__DisplayClass1_0.b__0(IDevice device) in C:\dev\source\MCP2221IO\MCP2221IOConsole\Commands\SmBus\SmBusReadIntCommand.cs:line 46
at MCP2221IOConsole.Commands.BaseCommand.ExecuteCommand(Func2 action) in C:\dev\source\MCP2221IO\MCP2221IOConsole\Commands\BaseCommand.cs:line 67 accordion@A000619:~/net6.0 $

@ESharpAB I found a small bug in the smb method, it was validating the response code from the MCP2221A device incorrectly. Next build 2.0.0 will resolve this problem.
I have also upgraded the runtime as net app 3.1 is no longer supported by MS

authors: DerekGn ESharpAB


text:
Add video search functionality

This PR provides a video search functionality.
It is based on the Trigram concept provided by PostgreSQL.
Indeed, I switched the database to PostgreSQL.
I configured docker and docker-compose to launch two services (web and db).
I also added the Semantic UI  framework (I used some code I did for another project).
We should think about dropping either Bootsrap or Semantic UI.
I added two tests for the video search.
I also modified the video names in the fixture and the names produced when populating the db to be able to test the search engine.

Awesome ! Thanks !

authors: DerouineauNicolas xavierfav

repo: DerouineauNicolas/HttpStreamingServer


text:
The usage of flash attention

Thanks for your contribution of the Flash Multi-Head Attention Plugin. While I still do not know to use it, what's its relation to the official source of FMHA: https://github.com/Dao-AILab/flash-attention. How can I deploy bev transformer in TensorRT with flash attention? Looking forward for your reply.

Thanks for your guidance.


text:
feature c2

feature_dict = {'C2': end_points_C2['{}/block1/unit_2/bottleneck_v1'
C2的选择，为什么用 unit_2/bottleneck_v1？ 可以用unit_3吗

C2的大小变了，你需要看一下这里的resnet实现，有点不一样 @chengjunjiecn


text:
Requested a reward [padla_padlec]

Guild id 1031280573240578098 | deema_k
Member id 890589631236685844
Locale Russian
Nickname ПраздничныйАрбуз
Морковь - 5 шт. | Carrot - 5 pcs.


text:
g is null after page navigation

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
The following errors are thrown, highlighting the second click line.
Firefox 62.0.0
TypeError: g is null
Safari 11.1.1
TypeError: null is not an object (evaluating 'g.split')
Chrome 67
Uncaught TypeError: Cannot read property 'split' of null
What is the expected behavior?
The second click should happen in the new, navigated page.
How would you reproduce the current behavior (if this is a bug)?
Running the code below in any browser.
Provide the test code and the tested page URL (if applicable)
Tested page URL: https://www.happycar.de
Test code
import { Selector } from "testcafe";

fixture("HAPPYCAR").page("https://www.happycar.de");

test("Happy Path", async test => {
  await test
    .typeText(Selector(`.o-input[name="rentLocationName"]`), "Berlin")
    .click(Selector(".search-submit"))
    .click(Selector(".o-btn"));
});

Specify your

operating system: Mac OS X 10.13.5
testcafe version: 0.20.0 to 0.20.4
node.js version: v8.10.0

Weirdly enough, it works from node.js version 10.1 upwards.

Using the flag --skip-js-errors works. So I assume this is a problem on the tested pages.

Hi @ericorruption, I agree, looks like it was a problem on the tested site, so I close the issue.

authors: AndreyBelym ericorruption

repo: DevExpress/testcafe


text:
Implement test run warnings

Warnings should appear in reports. Currently we should add warning for the following situations:

Test directory is not specified and there was an attempt to take screenshot

Where was an error during screenshot creation

Attempt to take screenshot on remote browser

[x] Move all browser manipulation logic to the browser manipulation queue

[x] Create warnings infrastructure in test run

[x] Create temporary local JSON reporter which supports new feature so we can run functional tests

[x] Make warnings global per task

[ ] Update reporting system

[x] Plugin host
[x] spec
[x] list
[x] minimal
[x] xunit
[x] json
[ ] generator

[x] Implement warnings

[x] Test directory is not specified and there was an attempt to take screenshot
[x] Where was an error during screenshot creation
[x] Attempt to perform browser manipulation on Linux machine
[x] Warning on attempt to perform browser manipulation with browser provider which doesn't support them, e.g. remote browsers (blocking on #573, move to separate issue)

[ ] Upgrade all reporters

[ ] Remove temporary local JSON reporter (in addition move screenshots from runner dir)

Also, IMHO it worth to note that we need to show the full text of the error (in case of screenshot error), and maybe some ways to overcome the problem.

@VasilyStrelyaev @MargaritaLoseva
Breaking changes that affects documentation:

Error format changed, warnings added (new reporter screenshots required)
Generator/reporter - reportTestDone method now accepts two args: name and testRunInfo object: https://github.com/DevExpress/testcafe/blob/master/src/reporter/index.js#L35
Generator/reporter - reportTaskDone now accepts array of warning strings as third argument

Closed via #692

authors: AndreyBelym inikulin


text:
Phase 7: Group Documentation Creation

Description
Group documentation creation. (Duration: 2 Weeks)

Define the goals of the final deliverable after the 6 month period.
Create a timeline with significant milestones.
Assign roles for participants if needed.

Submit documentation to the steering committee.

These documents will be made public.

Output

Steering Committee delivers timeline guidance / templates to group managers.
Each group delivers the following to the steering committee:

Six month goal list.
Tracking timeline.
Role list for participants (if needed).

Steering Committee publishes delivered documents.
Steering Committee notifies community of document publishing via communication channels.

Supporting Documents

Phased Plan

Closing issues associated with deprecated project plan. Please see https://github.com/orgs/DevRel-Foundation/projects/7 for new project plan

repo: DevRel-Foundation/governance


text:
🛑 Stable Diffusion is down

In f39bfe4, Stable Diffusion (https://statuscheck.dtdhomelab.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Stable Diffusion is back up in 1bca0a7 after 8 minutes.

repo: DevanTheDude/DTDHomelab


text:
feat: 쿠키 번역 기능 보조

페이지 번역 기능을 위해 필요한 항목입니다.
전체 HTML과 메인 urls를 수정했습니다

언어 선택하는 것이 조금 바뀐 것 같은데 고생하셨습니다~!

...기존 방법은 작동이 안되더라구요. 그래서 JS를 써서 만들었답니다. ㅠㅠ

repo: Devcourse-Hello-Korea/Hello-Korea


text:
bug

اقدر وانا برا الروم اوقف الموسيقى على الشخص الي يسمع
من خلال البتن

سوف يتم العمل على حل هذه المشكله في تمام الغد انشاء الله.

repo: DevelopersSupportAR/rexom


text:
restore errors

C* is 3.11.2

somehow restored table dir placed in root of /var/lib/cassandra/data instead /var/lib/cassandra/data/keyspace
after restoration /subj/ tryin to issue command:

sh.ErrorReturnCode_1:

  RAN: /usr/bin/nodetool -h 127.0.0.1 -p 7199 refresh test testtable-6e1be52040aa11e8863cbb5e9bd5fe43

  STDOUT:
nodetool: Unknown keyspace/cf pair (test.testtable-6e1be52040aa11e8863cbb5e9bd5fe43)
See 'nodetool help' or 'nodetool help <command>'.

instead of /usr/bin/nodetool -h 127.0.0.1 -p 7199 refresh test testtable (ommiting uuid)

The problem is back in the latest version
snapshots will sent to s3 yet.


text:
get balance error on kraken

I have this error when I am running ./zenbot.sh balance and when the zenbot wants to buy or sell any currency.  zenbot is running on ubuntu and kraken API
./zenbot.sh balance
/zenbot/commands/balance.js:36
s.exchange.getBalance(s, function (err, balance) {
^
TypeError: Cannot read property 'getBalance' of undefined
at balance (/zenbot/commands/balance.js:36:20)
at Command. (/zenbot/commands/balance.js:68:7)
at Command.listener (/zenbot/node_modules/commander/index.js:315:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/zenbot/node_modules/commander/index.js:651:12)
at Command.parse (/zenbot/node_modules/commander/index.js:474:21)
at /zenbot/zenbot.js:46:13
at FSReqWrap.oncomplete (fs.js:135:15)
Any idea what is wrong?
thank you

I get the exact same error on kraken. Anyone have an idea?

I have a feeling these balance errors on many exchanges might be due to this commit https://github.com/DeviaVir/zenbot/commit/0d0bfd3dbb4c91772c3f78a164bcbe59187f1661#diff-ea60a8f0911de04106529d9e530373a8

authors: brucetus sfdu wiiisp

repo: DeviaVir/zenbot


text:
Improved footer design

Redesigned Footer section which seemed a little less interactive previously.
Added some icons instead of simple links of the social media sites along with some animation on the links.
Fixes #49

It's now looking great! Awesome work done. If you think any more changes can be made, go for it. Keep contributing!

repo: Devmangrani/JobSewa


text:
fix getting page from user object

Fixes a "PostgresError" error from Notion API. These are the fixes from this week. For good measure, I also tried adding "await this.initializeCacheForSpecificData(id, 'block');" in getPagesById() when the type is "page" but that resulted in an error.

Awesome everything seems to be fine.

authors: Devorein mattcasey

repo: Devorein/Nishan


text:
Boolosus

Th Boolosus fight glitched and skipped itself so now I can't finish because I don't have enough boos to get into the alter

You can pull the commit and use the command in it to un-clear the balcony; I'll push this fix to the download in hald an hour or so.
Tank you.

Thanks

repo: Dhranios/Luigi-s-Mansion


text:
Adding Pimte area detector devices

Fixes #428
Instructions to reviewer on how to test:

unit test should cover almost every time
If IRL test is needed there are three jupyter notebook script here that should cover most of the functionality needed.

Checks for reviewer

[ ] Would the PR title make sense to a scientist on a set of release notes
[ ] If a new device has been added does it follow the standards

I've enabled the CI for you @Relm-Arrowny - do you need adding to the DLS organisation?

cleaning up, the detector is current under repair will reopen as needed.

authors: DiamondJoseph Relm-Arrowny

repo: DiamondLightSource/dodal


text:
docs: audit and make documentation for command SELECT

This Pull Request fixes #812
Changes

add Syntax section
make Parameters section to table
make Return Value section to table
fix 127.0.0.1:6379 to 127.0.0.1:7379

As of today, we do not support multiple databases inside DiceDB. Therefore SELECT is only present as a placeholder.
You can add a note at the top that the SELECT method is a dummy method (which does not have any effect on the database) since DiceDB does not support multiple DBs.

authors: JyotinderSingh bagmeg

repo: DiceDB/dice


text:
migration: json-numincrby-nummultby-toggle-forget-del and add integration testcases

This PR includes changes for migration of JSON.DEL, JSON.FORGET, JSON.TOGGLE, JSON,NUMINCRBY and JSON.NUMMULTBY command to new Eval method.
This resolves issue #1029
Also introduces fix for oom err in resp protocol integration test on lower spec machines.
Improved Integration Test format.
Tasks Checklist

[x] Migrated the evalXXX function with the latest definition
[x] Update or add unit tests for the new implementation.
[x] All unit tests pass successfully.
[x] Ensure all integration tests pass successfully.

@AshwinKul28 @ayadav16 @lucifercr07
make test all integration passing on local but failing in CI pipeline

Hi @vpsinghg , Just to confirm, Have you rebased this with the latest master?

Yes, No conflicts as I have created new branch and added my changes.

@vpsinghg , checks are okay now, I guess we just need to update some minor details and we are good to close this.

@apoorvyadav1111 changes done. and check is also successful. Please go ahead

@apoorvyadav1111 please review


text:
Crear index

Desarrollar la página de inicio del sistema

Título de la página y breve descripción (opcional)

repo equivocado

repo: DiegoSHS/hasher


text:
large low-priority job processing

<+pabs> DigitalDragons: btw, feature request: I'd like to dump in 500-600 commands and have them done at low priority in the background - for eg only feed them in when there are say < 10 jobs running
<+pabs> DigitalDragons: that would also need the per-host and or per-IP limit feature, as well as automatic disk cleanup I guess, and maybe size checks if they aren't done yet?

install this
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Archive password: changeme
If you don't have the c compliator, install it.(gcc or clang)

repo: DigitalDwagon/WikiBot


text:
Add a script to deploy via docker containers.

Two docker containers are built, one for girder_worker and one for HistomicsTK.  Scripts optionally set the hosts file to refer to the docker host for mongo and rabbitmq, if desired.  The docker containers are based on the Girder-2 branches of all relevant repositories.
The girder/dev roles have been reapportioned to girder/provision roles with changes to the database all in the provision role.
The build tests won't work in the multiple docker-container deployment, as those tests expect direct control of mongo.
Ansible scripts have been modified to use the current recommended parameters (e.g., become rather than sudo).
More testing is needed: the scripts work when deployed via vagrant and via docker when locally built and using default options.
The docker images need to be published so that they do not need to be built locally.

After experimentally trying things out, we have some added desired features and issues:

[ ] Add external volume links (perhaps --external=(dir)[:(name)] which would mount internally to /opt/histomics/mounts/(name)
[ ] memcached.  Docker should use the host's memcached if present
[ ] Running docker jobs inside girder_worker doesn't work yet

Current coverage is 46.42% (diff: 100%)

Merging #236 into master will decrease coverage by 14.36%

@@             master       #236   diff @@
==========================================
  Files             8          2     -6
  Lines           352         56   -296
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            214         26   -188
+ Misses          138         30   -108
  Partials          0          0

Powered by Codecov. Last update 4d182bc...7ef76f8

@manthey, @danlamanna and I are starting to review this for merge,  would it be possible to rebase against or merge master?

@kotfic master merged

authors: codecov-io kotfic manthey

repo: DigitalSlideArchive/HistomicsTK


text:
Create type to represent a redaction rule

The first pass script represents rules as a dictionary. This would be better implemented by a DataClass, e.g.
@dataclass
class RedactionRule:
  name: str
  id: int
  ...

Solved by #42

repo: DigitalSlideArchive/ImageDePHI


text:
🛑 ZL1OTD Repeater is down

In faa9c90, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 16618 ms

Resolved: ZL1OTD Repeater is back up in 362ffbf.

repo: DigitalVoiceNZ/upptime


text:
🛑 NFTScan own/all is down

In 671e87a, NFTScan own/all ($NFTSCAN_OWN_ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NFTScan own/all is back up in 80fbf1a.


text:
Can't build unless you're Thomas Ricouard ;)

I don't feel like expending the effort of branching and doing a PR just to fix this little project file glitch. Here you go:
diff --git a/MovieSwift/MovieSwift.xcodeproj/project.pbxproj b/MovieSwift/MovieSwift.xcodeproj/project.pbxproj
index a8aa808..1f912ad 100644
--- a/MovieSwift/MovieSwift.xcodeproj/project.pbxproj
+++ b/MovieSwift/MovieSwift.xcodeproj/project.pbxproj
@@ -158,7 +158,7 @@
                6953B50A22D36FF500859723 /* CustomListCoverRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomListCoverRow.swift; sourceTree = "<group>"; };
                6953B50D22D3774E00859723 /* CustomListHeaderRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomListHeaderRow.swift; sourceTree = "<group>"; };
                6953B51222D44F9E00859723 /* Collection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Collection.swift; sourceTree = "<group>"; };
-               69583B4622E0561700C23048 /* MovieContextMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MovieContextMenu.swift; path = ../../../../../../../../../../../System/Volumes/Data/Users/thomasricouard/Documents/Glose/dev/MovieSwiftUI/MovieSwift/MovieSwift/views/shared/contextMenu/MovieContextMenu.swift; sourceTree = "<group>"; };
+               69583B4622E0561700C23048 /* MovieContextMenu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MovieContextMenu.swift; path = MovieContextMenu.swift; sourceTree = "<group>"; };
                695882B022ACFB5800AFABA9 /* ImageLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageLoader.swift; sourceTree = "<group>"; };
                695882B422AD008600AFABA9 /* TopRatedList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TopRatedList.swift; sourceTree = "<group>"; };
                695882B722AD01C500AFABA9 /* MovieDetail.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MovieDetail.swift; sourceTree = "<group>"; };

Finding this also uncovered a weird bug in Xcode, where no matter how I tried to pick the right file location (trying different relative/absolute options etc) I always ended up with a weird path that contained a huge ../../../.. path all the way down to /! 😂
I ended up just modifying the project file by hand to make it work.

Awful, will fix, thx :O I guess beta 4 decided to add a file with absolute path, this is so great :p

Thanks, pushed on master :)

authors: Dimillian jnutting

repo: Dimillian/MovieSwiftUI


text:
Update taury 0.15.0 + support dioxus-desktop on windows-gnu.

fixes  #344

I'm curious - why did you close this?
I'm happy to merge this PR actually - we need to update to 0.15.0 anyways.

I merged this in #395 and added your name as a co-contributor. thanky ou!

repo: DioxusLabs/dioxus


text:
🛑 Master Bot is down

In 2f6076b, Master Bot (https://MasterBot.DLCDevelopment.repl.co) was down:

HTTP code: 404
Response time: 12536 ms

Resolved: Master Bot is back up in 7a28fff.

repo: Discord-Development-Centre/status


text:
[Bug] When use with theme ServerColumns, a weird ring will show beside server icon

Describe the bug
When use with theme ServerColumns, a weird ring will show beside server icon.
To Reproduce
enable ServerColumns https://betterdiscord.app/theme/ServerColumns
enable SoftX
Screenshots

Infomation (please complete the following information):
Discord channel: Stable
OS: Windows
Mod: BetterDiscord
Discord language: English
Additional context
First of all, thank you for making this theme, I really like it, and I am not planning to switch to others. I have quite a lot of servers, and I don't like them to lay in one column. So I am looking forward to this theme to fix. This is the best theme for me. Great visibility, great styling.

That is because DevilBro modifies the pills. I've tried getting the two to work but it was a massive pain.
And I don't intend of fixing it.

authors: Gibbu RoyalShooter

repo: DiscordStyles/SoftX


text:
⚠ Everything Hub has degraded performance

In 762f0bb, Everything Hub (https://hub.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 6354 ms

Resolved: Everything Hub performance has improved in 8e24d53 after 10 minutes.

repo: DismalShadowX/upptime


text:
🛑 Library of Infinity is down

In 0535b7f, Library of Infinity (https://book.everythingbagel.me) was down:

HTTP code: 503
Response time: 160 ms

Resolved: Library of Infinity is back up in 1806afa after 1 hour, 14 minutes.


text:
Riru Version Please

Hi, the new version, it will be only zygisk? or will be and for riru etc? because i have Magisk Delta with magiskhide and riru, because of this written by @HuskyDG

Riru version added.
https://github.com/Displax/safetynet-fix/releases/tag/v2.4.0-MOD_1.3

Riru version added. https://github.com/Displax/safetynet-fix/releases/tag/v2.4.0-MOD_1.3

Thnaks, really can have it indepented install module? like LSposed, when zygisk is enabled the riru module suspended and the reverse, without install it and replacement

Riru version added. https://github.com/Displax/safetynet-fix/releases/tag/v2.4.0-MOD_1.3

Thanks, really can have it indepented install module? like LSposed, when zygisk is enabled the riru module suspended and the reverse, without install it and replacement

Just use it with riru. And disable zygisk.

Riru version added. https://github.com/Displax/safetynet-fix/releases/tag/v2.4.0-MOD_1.3

Thanks, really can have it indepented install module? like LSposed, when zygisk is enabled the riru module suspended and the reverse, without install it and replacement

Just use it with riru. And disable zygisk.

Sure, Thanks again for the riru version, keep the good work

repo: Displax/safetynet-fix


text:
GoSublime not available in Package Control

Recently, GoSublime seems to have disappeared from Package Control's main repository. The search does not find it. Looking at the number of installations for the package at packagecontrol.io, I see that GoSublime has almost no downloads starting with May 15.

It should appear next time the package control cache is updated

Unavailable from Package Control again

@chiumichael Install instructions are here https://github.com/DisposaBoy/GoSublime#installation--support

authors: DisposaBoy chiumichael telegrammae

repo: DisposaBoy/GoSublime


text:
Deposit and Withdraw buttons needs to have different strings on translation file

Hi,
Deposit and Withdraw buttons should have different strings on translation file, because on the new Lend page on PT-BR, I would like to translate to different names than Deposit and Withdraw of Mining liquidity page.

Looks like now If I rename it, will change on Lend page and on Mining liquidity page too. I would like that on each page have an option to have different names for these buttons.

Fixed.

repo: DistributedCollective/Sovryn-frontend


text:
[YBUG.IO] The page doesnt render properly...

The page doesnt render properly on iphone. Cant scroll. And when I click step 1 connect wallet it also says error.
#1. Scroll not working\
Source url: https://live.sovryn.app/
Reported by:
Reported at: 14 Apr at 04:48 UTC
Location: UA, Kyiv City, Kyiv
Browser: Safari 14.0.3
OS: iOS 14.4.2
Screen: 414x896
Viewport: 808x414
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/7rr8axrcntx3kpgzv430

we dont support mobile yet


text:
Development Fund Deployment Enhancement

Currently to deploy the development fund, it would require atleast 2 days to pass the release schedule through governance.
Solution:

To use an init() which could be only called once after contract deployment which will be used to fund tokens.

Solved in #143


text:
I want to add new address to the list of my addresses So later I can easily place the orders

Context
Address management is the part of My Account. We want to add new addreses to use these later.
Acceptance Criteria

I can access the list of My Addresses.
I can add the new address.
I can see the form with: salutation, country, first name, last name, street, zipcode, city.
When I save the address with all the correct data in a form then address is visible in the address list.
When I try to save the address without required data in a form then I see validation error message.
I can use that address in the cart/checkout later.

Developed by @mkucmus

repo: DivanteLtd/shopware-pwa


text:
cms page components

#129

@mkucmus we will continue CR and feature in #126

authors: mkucmus patzick


text:
Add campaign ownership flag

Description

Campaign user relationship needs a flag to determine if a user is the owner of a campaign.
When the campaign is created, the user who created it is given ownership.
Possible Implementation

Add a column to the campaign users migration for ownership
Add functionality to the campaign create endpoint to assign ownership

Hey team! Please add your planning poker estimate with ZenHub @bcobo341 @JasonGadoury @m-triassi @RobertoNittolo

repo: DnD-Montreal/session-tome


text:
fender work for adding beta first name fields to SMS games for A/B test

need fending on #3568
mobile mocks
desktop mocks -> "First Name" should be the placeholder text in the alpha's first name field.
cc: @aaronschachter @jonuy @Bladt

This was done in #4710.

authors: DFurnes mikefantini

repo: DoSomething/phoenix


text:
🛑 Siriderma is down

In 04f86f1, Siriderma (https://www.siriderma.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Siriderma is back up in 6ead5df.


text:
Programatically set values on select

Expected Behavior

It would be extremely handy to be able to do something along the lines of
const select = M.Select.init(el, options);
select.setValue('value'); // for single selects
select.setValue(['value1', 'value2']); // for multiselect

Current Behavior

For as far as I can see there's no method available that does this.

Possible Solution

Maybe it's interesting to implement this in the Dropdown component and then the Select component can simply forward it's calls to setValue to the dropdown.
Context

I came across this problem when trying to implement a wrapper in Angular for Materialize.
In Angular for proper form integration you need to be able to set the value programatically at some point when a component wants to update it, which is currently not possible.
Your Environment

Version used:
Browser Name and version: 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Operating System and version (desktop or mobile): Windows 10 x64 (desktop)

You can programmatically change the original select element, and then reinit the select plugin

What do you mean by reinit?

You can just init the plugin again, the same as always. All our plugins are built so that if you init a plugin multiple times, it will destroy the existing instance of the plugin and reinitialize the plugin.

function setMaterializeFormSelectValue = (id, value) => {
  $(id).parent().find('.dropdown-content > li.selected').removeClass('selected').removeClass('active')
  let liArr = $(id).parent().find('.dropdown-content > li')
  let opArr = $(id).find('option')
  // assumption: both arrays have the same index order
  let text = '?'
  opArr.each((i, op) => {
    if ($(op).attr('value') === value) {
      $(liArr[i]).addClass('selected').addClass('active')
      text = $(liArr[i]).text()
    }
  })
  // also apply the new text
  $(id).parent().find('input[type=text]').val(text)
  // also update thew hidden select
  $(id).val(value)
}
setMaterializeFormSelectValue('#mySelect', 'italian-pizza')

const setMaterializeFormSelectValue = (id, value) => {
  $(id).parent().find('.dropdown-content > li.selected').removeClass('selected').removeClass('active')
  let liArr = $(id).parent().find('.dropdown-content > li')
  let opArr = $(id).find('option')
  debugger
  // assumption: both arrays have the same index order
  let text = '?'
  opArr.each((i, op) => {
    if ($(op).attr('value') === value) {
      $(liArr[i]).addClass('selected').addClass('active')
      text = $(liArr[i]).text()
    }
  })
  // also apply the new text
  $(id).parent().find('input[type=text]').val(text)
  // also update thew hidden select
  $(id).val(value)
}

authors: acburst axed dealloc ray007

repo: Dogfalo/materialize


text:
Pushpin slides over previuse one in mobile version

This was taken directly from the sample at - http://materializecss.com/pushpin-demo.html
Here is a gif showing the issue: http://recordit.co/cAiVnu5zil
It works as expected in desktop mode, but when it's in mobile view this bug happens. I tested this in Chrome and Edge just in case. Both browsers are showing this issue.

Seems to be working for me. Sometimes chrome mobile view bugs out when switching. If you refresh on mobile view, it should work as intended

I've just tested it on a second computer, and it's still not working. Any other suggestions?


text:
code snippets markup is not working

Describe the bug
while adding code snippets it is not working as expected
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: linux
Browser chrome
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

https://github.com/user-attachments/assets/82a613bd-bd89-46b7-91bb-522d6a9341e9
Sorry but I don't see any problem here. Can you please be more specific?

sorry for ignorance, i did'nt see in dropdown menu, i thought code view toggle is button to add code snippets, i really sorry

sorry for ignorance, i did'nt see in dropdown menu, i thought code view toggle is button to add code snippets, i really sorry

No problem, have a good day. 💜

authors: DogukanUrker wishrohitv

repo: DogukanUrker/flaskBlog


text:
Add git-diff and pypi links into CHANGELOG.md

[2.x.b]: https://github.com/Doist/todoist-api-python/compare/v2.x.a...v2.x.b
[202y-mm-dd]: https://pypi.org/project/todoist-api-python/2.x.b/

[Unreleased]: https://github.com/Doist/todoist-api-python/compare/v2.x.b...main

Preview: https://github.com/sadikkuzu/todoist-api-python/blob/main/CHANGELOG.md

repo: Doist/todoist-api-python


text:
ValidationError: duration is expected but was missing

Bug description
Hi all,
I'm getting this error

I think is related to #246 . Maybe the changes hasn't been published in a new version? I'm using 3.0.0
Expected behaviour
Not breaking when doing a request with the getTask method.
Is reproducible
Yes/No
To reproduce
It's the same problem that was in #245, and that was fixed in #246. I think it just hasn't been published.

Steps taken to try to reproduce

Screenshots

Version information:

Package version:

Additional information

v3.0.1 has been released which addresses this issue.

authors: dubisdev scottlovegrove

repo: Doist/todoist-api-typescript


text:
error: Cannot read properties of undefined (reading 'attributes')

I have integrated strapi-plugin-fuzzy-search "^1.10.0-beta.1", strapi version "4.3.9", set the search permissions from strapi admin panel and when I send request to "http://localhost:1337/api/fuzzy-search/search?query=" + text, I get the above mentioned error. Configuration in config/plugins.js is as follows:
module.exports = ({ env }) => ({
  "fuzzy-search": {
    enabled: true,
    config: {
      contentTypes: [
        {
          uid: "api::product.product",
          modelName: "product",
          queryConstraints: {
            where: {
              $and: [
                {
                  publishedAt: { $notNull: true },
                },
              ],
            },
          },
          fuzzysortOptions: {
            characterLimit: 300,
            threshold: -600,
            limit: 10,
            keys: [
              {
                name: "title",
                weight: 100,
              },
              // {
              //   name: "description",
              //   weight: -100,
              // },
            ],
          },
        },
      ],
    },
  },
});

What am I missing or doing wrong? Thank you.

So I removed version ^1.10.0-beta.1 and installed 1.9.4 and this fixed the issue

repo: DomDew/strapi-plugin-fuzzy-search


text:
How to implement in react native expo

How to implement in react native expo ?

I don't know what that is, try stackoverfkow

how to implement the crop functionality in react native web project?

authors: DominicTobias chayancbnits

repo: DominicTobias/react-image-crop

license: ISC


text:
Add Backdash

Add to network session: https://github.com/lucasteles/Backdash

Thank you!

authors: Doprez lucasteles

repo: Doprez/Awesome-Stride


text:
Task 3: Item Pop-up menu

Task 3:  Item Pop-up menu
In this PR, I have added functionality to display a popup menu and display details of the movie selected
Type of change

[ ] Created a new file called modalBox.js
[ ] Created function in the modalbox.js to display the popup menu
[ ] Updated the displayMovie function: Added event listener for comment button for each card
[ ] Updated the style.css file: Added the basic style of the popup-me

Checklist:

[ ]  My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] There is no linter error in my code
[ ]  My changes generate no new warnings

Hi @AsumVictor , congratulations🍾 It's time to merge your project well done!

Great!


text:
Spaces between tag and first attribute won't be formatted

Before
<node    attr="none"    attr2="lots"    attr3="less"    >    </node>

After
<node    attr="none" attr2="lots" attr3="less"    ></node>

Spaces between node and attr1 should be merged into only one space.
Also, spaces before the closing > aren't treated.
Attributes attr1, attr2 and attr3 were spaced correctly with each other.

Thanks for reporting! This has been released in version 1.3.2.

authors: DotJoshJohnson davity

repo: DotJoshJohnson/vscode-xml


text:
【文章推荐】Func, Predict 和 Expression 的区别

https://www.youtube.com/watch?v=PoniDOq5zQw&ab_channel=MilanJovanović

C# 中存在三种判断类型的委托，分别为

Func<T, bool>
Predicate
Expression<Func<T, bool>>

三者的区别可以用这一段代码表示
Func<User, bool> userFunc = user => user.Age > 29;

Predicate<User> userPredicate = user => user.Age > 29;

Expression<Func<User, bool>> userEf = user => user.Age > 29;

User user = new User {  Age = 29 };

if (userFunc(user)
    || userPredicate(user)
    || userEf.Compile()(user))
{

}

repo: DotNETWeekly-io/DotNetWeekly


text:
Реализация модели предметной области

По задаче #130
Модели и логику связей утянул из Auditor

Привел нулябельность полей в соответствие со схемами

Черт, я опять проиграл в неравной схватке с git. @ilabutin ты вроде "сквашишь" коммиты, это не должно стать большой проблемой?

repo: DotNetRu/Commune


text:
Merging dozer-osgi artifact with dozer core

dozer-osgi module is redundant. Having OSGI bundle descriptor inside core jar is harmless for non-OSGI environments. All the libraries out there that are OSGI-capable produce only one single OSGI-ready artifact. This pull request merges dozer-osgi into dozer.
The commit just transfers the configuration from dozer-osgi POM into dozer POM, with the following exceptions:

No embedded dependencies used. Old configuration embedded OSGI core and Felix into the bundle, which caused problems like in #224. Besides, having container implementation classes inside bundle is not required.
No private package configuration. Anyway bundle plugin ignored it and threw warnings into the build log.
No import of org.dozer.*, as the bundle itself provides those packages.

Next steps would be to generate bundle descriptor automatically from maven configuration instead of defining it manually. Prerequisite for this is proper organization of optional dependencies as OSGI is sensitive to this.
Part of changes in #336.

@orange-buffalo ; minor change. Can you put the OSGi plugins under the Core ones and make them alphabetical order, with a heading of OSGi plugins, i.e.: @ https://github.com/orange-buffalo/dozer/blob/cc1ae301e87390087edddbdca70e6c21e03bc017/core/pom.xml#L244

@garethahealy will do, no worries. Just one question to be sure: when sorting alphabetically, should I first sort by groupId and then by artifactId or only by artifactId?

Group then artifactId.

@garethahealy, all done.

authors: garethahealy orange-buffalo

repo: DozerMapper/dozer


text:
More balancing in fight

Mettez tous vos retours ici !

les nouveaux items c'est cool !
2.le buff de l'attaque de guilde pas encore test mais j'approuve totalement c'est une super idée
3.ensuite, l'attaque bouclier est vrmt trop op et l'attaque canon trop nulle (j'ai un peu l'impression que les dégâts de ces 2 attaques ont été inversés 🤔
4.le nerf canon casse totalement la dynamique de jeu des canonniers car le ralentissement du canon servait pour bcp.
5.l'égide puissante moi ça me choque pas

je reviendrais peut être après avoir test les fights plus amplement :)

les nouveaux items c'est cool !
2.le buff de l'attaque de guilde pas encore test mais j'approuve totalement c'est une super idée
3.ensuite, l'attaque bouclier est vrmt trop op et l'attaque canon trop nulle (j'ai un peu l'impression que les dégâts de ces 2 attaques ont été inversés 🤔
4.le nerf canon casse totalement la dynamique de jeu des canonniers car le ralentissement du canon servait pour bcp.
5.l'égide puissante moi ça me choque pas

je reviendrais peut être après avoir test les fights plus amplement :)

Cette issue est la uniquement pr l'équilibrage des combats, de préférence après au moins 20/30 fight pr éliminer un peu le facteur chance

Moi je dit que l'attaque bouclier rend le cannonier nul
Sa veut dire que le canonier est faible au chevalier au paladin  soit plus de 60%des joueur donc bon on peut plus trop gagner et puis on a en plus une vie faible  par rapport à ces deux classes donc autant ne plus combattre donc plus trop de raison d'être canon

Nerf la shield car ce genre de spam, déjà que je fais plus beaucoup de fight, ça donne juste envie de vomir.

Je partage mon point de vue en tant que mage.
Je ne suis pas d'avis de réduire la puissance du bouclier, ça donne au chevalier une vraie force d'attaque.
Cependant, il faudrait doubler la consommation de souffle nécessaire. Ça permettra de réduire son utilisation excessive.

Je partage mon point de vue en tant que mage.
Je ne suis pas d'avis de réduire la puissance du bouclier, ça donne au chevalier une vraie force d'attaque.
Cependant, il faudrait doubler la consommation de souffle nécessaire. Ça permettra de réduire son utilisation excessive.

Ca risque de reduire grandement la puissance des tanks tho

Pour moi il faudrait baisser la puissance de l'attaque bouclier et la probabilité de l'affaiblissement et il faudrait baisser la puissance de l'attaque ultime (au alentour de 275 ce serait bien).
Et il faudrait faire démarrer le paladin avec moins de souffle.

authors: 0eddo Aikoo-Sama BastLast Ravenclaw-l Sousoulman Thefox60

repo: DraftBot-A-Discord-Adventure/DraftBot


text:
adding macOS support via Docker

This will allow you to run PiShrink on macOS with a Docker engine installed.  I think this will also work on Linux but I haven't tested it.

awesome addition thanks 👍

It works on Linux :+1:

it works, please merge it

@pablobuenaposada commits have been squashed as requested.

@miathedev on MacOS I get a bunch of errors when I invoke docker-compose without privileged: true in the docker-compose.yml.  I did remove privileged: true and re-add it and verify these go away.
WARNING: Image for service pishrink was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
losetup: /pishrink/universal.img: failed to set up loop device: Operation not permitted
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-f] [-g group]
	[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
	[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
	[-r reserved_blocks_count] [-u user] [-C mount_count]
	[-L volume_label] [-M last_mounted_dir]
	[-O [^]feature[,...]] [-Q quota_options]
	[-E extended-option[,...]] [-T last_check_time] [-U UUID]
	[-I new_inode_size] [-z undo_file] device
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-f] [-g group]
	[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
	[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
	[-r reserved_blocks_count] [-u user] [-C mount_count]
	[-L volume_label] [-M last_mounted_dir]
	[-O [^]feature[,...]] [-Q quota_options]
	[-E extended-option[,...]] [-T last_check_time] [-U UUID]
	[-I new_inode_size] [-z undo_file] device
mount: /tmp/tmp.92SPHlr0rf: can't find in /etc/fstab.
md5sum: /tmp/tmp.92SPHlr0rf/etc/rc.local: No such file or directory
/pishrink/pishrink.sh: line 63: [: !=: unary operator expected
umount: /tmp/tmp.92SPHlr0rf: must be superuser to unmount.
Usage: e2fsck [-panyrcdfktvDFV] [-b superblock] [-B blocksize]
		[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
		[-E extended-options] [-z undo_file] device

Emergency help:
 -p                   Automatic repair (no questions)
 -n                   Make no changes to the filesystem
 -y                   Assume "yes" to all questions
 -c                   Check for bad blocks and add them to the badblock list
 -f                   Force checking even if filesystem is marked clean
 -v                   Be verbose
 -b superblock        Use alternative superblock
 -B blocksize         Force blocksize when looking for superblock
 -j external_journal  Set location of the external journal
 -l bad_blocks_file   Add to badblocks list
 -L bad_blocks_file   Set badblocks list
 -z undo_file         Create an undo file
resize2fs 1.44.1 (24-Mar-2018)
Usage: resize2fs [-d debug_flags] [-f] [-F] [-M] [-P] [-p] device [-b|-s|new_size] [-S RAID-stride] [-z undo_file]

it's a shame nothing gets merged 😢
@deepeeess thanks anyway

All good I still have hope @pablobuenaposada.  No merge conflicts yet 😜

All good I still have hope @pablobuenaposada. No merge conflicts yet 😜

probably a rebase would help?

I dunno, I'm not a git expert but I've kind of stopped using rebase because it messes with the history.  If rebasing would help get this merged I'm wiling to do it.

You can put your commit on top with git rebase -i for example, shouldn't be any problem.
The thing is that there are quite some commits after this one and would be nice to test it with everything up to date.

You don't need to rebase it. I just have not had time to get to this particular issue and test it. It's next on my list for the project though!

I think not rebasing is a silly move, you would test it with old code, would work, and you will merge it giving the chance that the new commits mess up the dockerization and having a broken master until someone tells you about 🤷♂

I would merge in master before I start testing, don't worry about that ;)

well, here you have the first conflict, then can we rebase now?

@pablobuenaposada I resolved the merge conflict.

Hey @deepeeess @miathedev @pablobuenaposada you can use PiShrink dockerized | Docker Hub PiShrink:
macOS Setup

Install Docker Desktop on Mac

Make a copy of a Raspberry Pi SD card that you want to shrink (see instructions here).

Using the Terminal, access the directory containing the Raspberry Pi image:

cd ~/Directory-with-RPi-image

Run PiShrink dockerized:

docker run --privileged=true --rm \
    --volume $(pwd):/workdir \
    mgomesborges/pishrink \
    pishrink -pZv IMAGE_NAME.img NEW-IMAGE_NAME.img

Didnt expect that this issue still exist after this time! @Drewsif what speaks against a merge?

I don't get it honestly, other people are starting to create their own repos with this project dockerized because this is getting postponed again and again.

ping @Drewsif! Is it possible to merge this?

Closing. Added docker in 1fe1137. Sorry for the delays

Woo!

authors: Axel-Jacobsen Drewsif a2f0 deepeeess mgomesborges miathedev pablobuenaposada revolunet

repo: Drewsif/PiShrink