Is there a way to use a profile to explicitly map properties with differing names?

Eg, in automapper you can do something like this:
CreateMap<Comment, CommentDTO>().ForMember(cdto => cdto.Comment, config => config.MapFrom(c => c.CommentText)).ReverseMap();

when property names don't exactly match between entity and dto. I see you've done some work to support mapping profiles but don't see a way to get this behavior that I'm after.
This library looks pretty handy, thank you for working on it :)

Hi @McPhale, thank you!
This is the closest thing we have.
mapperOptions.Type<T1>().FromType<T2>(). and then FromMember allows to redirect to another member, or FromValue lets you specify a custom expression.
Source for that is here

The idea of the profiles is that you can add multiple configurations for the same type pair, depending on a key.
For example, for the "create" profile an Id is not mapped but for "edit" profile, it is.
(I hope nobody really needs to use profiles anyway... )
I didn't want to create an AutoMapper replacement, so this library won't have as much options as it. But rename, custom and ignore are available.
When I started the library, I wanted to create an extension for AutoMapper, but after version 9 it has explicit configuration which makes it a real headache to use it.

Thank you! I'm pulled off on other stuff now but I hope to come back to playing around with this later, thank again


feat: add experemental support for Machinepool

What this PR does / why we need it:
This adds support for Machine Pools https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20190919-machinepool-api.md
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #32

Commits still need to be squashed, but I wanted to put this into draft to get feedback and it is also easier for me to review via the "files changed" ui.

unit test
?       github.com/oracle/cluster-api-provider-oci      [no test files]
ok      github.com/oracle/cluster-api-provider-oci/api/v1beta1  0.266s  coverage: 18.6% of statements
?       github.com/oracle/cluster-api-provider-oci/cloud/config [no test files]
ok      github.com/oracle/cluster-api-provider-oci/cloud/ociutil        0.117s  coverage: 25.0% of statements
ok      github.com/oracle/cluster-api-provider-oci/cloud/scope  175.784s        coverage: 74.5% of statements
?       github.com/oracle/cluster-api-provider-oci/cloud/scope/mocks    [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/compute       [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/compute/mock_compute  [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement     [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/identity      [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/identity/mock_identity        [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer   [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer/mock_nlb  [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/vcn   [no test files]
?       github.com/oracle/cluster-api-provider-oci/cloud/services/vcn/mock_vcn  [no test files]
ok      github.com/oracle/cluster-api-provider-oci/controllers  26.190s coverage: 71.0% of statements
?       github.com/oracle/cluster-api-provider-oci/exp/api/v1beta1      [no test files]
?       github.com/oracle/cluster-api-provider-oci/exp/controllers      [no test files]
?       github.com/oracle/cluster-api-provider-oci/feature      [no test files]

e2e
Ran 5 of 21 Specs in 1882.236 seconds
SUCCESS! -- 5 Passed | 0 Failed | 0 Pending | 16 Skipped


Update configure-export-data-lake.md

removed not needed steps, added examples and re-arranged the steps to simplify the overall experiance

:x: Organization membership check failed
Members of the MicrosoftDocs organization should use the private repo. Please move your changes to https://github.com/MicrosoftDocs/Dynamics-365-Operations, and close this pull request.


fix(picker-button): removed hardcode styles

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 79.964%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
7714

Relevant Lines:
8754

💛  - Coveralls


az webapp deploy --src-path should use ARM Proxy

Related command
az webapp deploy --src-path
Is your feature request related to a problem? Please describe.
My application infrastructure is secured using virtual networks and private endpoints. Rather than logging into VMs and deploying updates to the app, I should be able to do it from my on-premises machines. But I get an 'Error 403 - Forbidden. The web app you have attempted to reach has blocked your access' message - which is expected. This is the current flow of the cli command

Describe the solution you'd like
A way to deploy my application from on-premise machines using az webapp deploy --src-path command. So that it can execute like this

Describe alternatives you've considered
This article proposes using VPN which would be my last resort.
Additional context
A similar issue has been raised #21168 and was fixed in this PR #26620. Please note that I've tried and cannot use --src-url argument for deployment. Thanks.

Thank you for opening this issue, we will look into it.

@tulikac can you take a look?

I've found a workaround to make az webapp deploy work for apps behind private endpoints. The solution is to enable public access for the app service using az resource update --resource-type "Microsoft.Web/sites" --set properties.publicNetworkAccess=Enabled, then run az webapp deploy and finally az resource update --resource-type "Microsoft.Web/sites" --set properties.publicNetworkAccess=Disabled. This issue can be closed, but I'd also like the az webapp deploy --src-path to use ARM proxy.


Unclear how to change the spf

The document describes how the spf record works and how to format it with various examples, but I was simply trying to edit my spf record (hosted on MS DNS). I was going into my domains in Office365 and clicking ... Manage DNS, and it made me jump through the original dns setup sequence when I had already setup the DNS a long time ago. What I needed to know was to modify the existing spf record in MS DNS, I had to click on the domain and THEN click the DNS Records tab, whereby I could scroll down to the Exchange Online section and click the ... beside the existing spf record and update it. Simple UI failure really, Manage DNS is poor wording and would be better to be called Initialise DNS, or Setup DNS, where as ManageDNS should go to the record management page.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3b0319e8-f6d0-942a-f802-f035d753b670
Version Independent ID: 7c74eb1c-30b5-6186-6775-6cd94fc8eaa4
Content: How Sender Policy Framework (SPF) prevents spoofing - Office 365
Content Source: microsoft-365/security/office-365-security/how-office-365-uses-spf-to-prevent-spoofing.md
Product: m365-security
Technology: mdo
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@AndrewRobinsonSKEDA Thank you for your feedback. To edit the SPF record, click on the domain instead of selecting Manage DNS-->You can then right-click on the ellipse next to TXT and edit the record

Hope this helps!
Thanks
Sri

Yes, thanks, I worked it out eventually but the documentation could be improved, hence my feedback
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Sriraman M S @.>
Sent: Friday, July 9, 2021 7:37:00 PM
To: MicrosoftDocs/microsoft-365-docs @.>
Cc: Andrew Robinson @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Unclear how to change the spf (#5437)
@AndrewRobinsonSKEDAhttps://github.com/AndrewRobinsonSKEDA Thank you for your feedback. To edit the SPF record, click on the domain instead of selecting Manage DNS-->You can then right-click on the ellipse next to TXT and edit the record
[image]https://user-images.githubusercontent.com/45987684/125057776-39eed800-e0c7-11eb-9da4-1d2dd9d383ad.png
Hope this helps!
Thanks
Sri
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-docs/issues/5437#issuecomment-877055281, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUNRBTVGF4LRWASMBCZD5V3TW27LZANCNFSM47JCIYWQ.

@AndrewRobinsonSKEDA Thank you for the response. This document has only technical information about How SPF prevents Spoofing, so we could not add information about how to add or edit SPF records on the admin center.
Hope this helps!
@yogkumgit  There are no changes required in this document.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @AndrewRobinsonSKEDA Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Alpine 3.6.0 got released today - when should we expect it here?

A PR is waiting... just like we all are! https://github.com/gliderlabs/docker-alpine/pull/285

That PR was already merged some hours ago. Now we're just waiting for https://github.com/docker-library/official-images/pull/2984 to be merged.

https://github.com/docker-library/official-images/pull/2984 merged :trumpet: :tada:

It's published to Docker Hub already. Thank you!


Cuallee features

Hi,
Was wondering if it's worth looking through the Polars checks implemented in the Python library cuallee to see if they're worth including in Field?

Links: (cuallee / docs)
Is there anything in particular you had in mind from it for Patito? At a glance it looks like:

Introducing the concept of warnings (Pydantic validations raise ValidationErrors not warnings)
Rule: a predicate which some percentage must pass (this seems in-keeping with Patito's expansion of scalar-valued validations to column-wise checks, e.g. column-wise value uniqueness)
It's mentioned here that full support is only in PySpark (for "Control" entities)

I also see it supports Polars
Can you share any more about your experience using it with Polars?

Hi, maintainer of cuallee here.
Even when the documentation is mostly up to date with the Check interface of cuallee, the Control interface lacks some love.
In any case, just wanted to say is that it does support polars for example:
import polars as pl
from cuallee import Control
df = pl.DataFrame({"A":[1,2,3,4,5]})
Control.completeness(df)
# ========================================
shape: (1, 12)
┌─────┬───────────┬───────────┬─────────┬────────┬───────────┬───────┬──────┬───────────┬──────────┬──────────┬────────┐
│ id  ┆ timestamp ┆ check     ┆ level   ┆ column ┆ rule      ┆ value ┆ rows ┆ violation ┆ pass_rat ┆ pass_thr ┆ status │
│ --- ┆ ---       ┆ ---       ┆ ---     ┆ ---    ┆ ---       ┆ ---   ┆ ---  ┆ s         ┆ e        ┆ eshold   ┆ ---    │
│ i64 ┆ str       ┆ str       ┆ str     ┆ str    ┆ str       ┆ str   ┆ i64  ┆ ---       ┆ ---      ┆ ---      ┆ str    │
│     ┆           ┆           ┆         ┆        ┆           ┆       ┆      ┆ i64       ┆ f64      ┆ f64      ┆        │
╞═════╪═══════════╪═══════════╪═════════╪════════╪═══════════╪═══════╪══════╪═══════════╪══════════╪══════════╪════════╡
│ 1   ┆ 2024-09-2 ┆ Completen ┆ WARNING ┆ A      ┆ is_comple ┆ N/A   ┆ 5    ┆ 0         ┆ 1.0      ┆ 1.0      ┆ PASS   │
│     ┆ 8         ┆ ess       ┆         ┆        ┆ te        ┆       ┆      ┆           ┆          ┆          ┆        │
│     ┆ 08:27:32  ┆           ┆         ┆        ┆           ┆       ┆      ┆           ┆          ┆          ┆        │
└─────┴───────────┴───────────┴─────────┴────────┴───────────┴───────┴──────┴───────────┴──────────┴──────────┴────────┘


CLI broken when installed with aiida-core==2.1

This is because the CLI uses aiida.cmdline.params.options.PROFILE which was changed in v2.1. It now requires that the group/command it is associated with uses VerdiContext for the context class.

Hi @sphuber, any idea on how to fix this?

I have already fixed it. See this branch: https://github.com/aiidateam/aiida-pseudo/tree/fix/130/cli-verdi-context
Just waiting for aiida-core==2.1 to be released and then we can apply the fix and release it


[PE-D][Tester D] Filter Not Accepting Multiple Parameters

Although the user guide claims to support multiple parameters for the filter command, the system displays an error that states that the filter command should only accept one parameter when a sample command was entered.

Labels: severity.High type.FunctionalityBug
original: joeng03/ped#1

The user guide has been correctly updated to only accept one parameter.

Marked as duplicate of #144


Multiple sessions

Hi,
for the first time Garmin (yesterday and today) has sent me a FIT with multiple sessions, that generate an error.
How to approach this?
Thanks a lot,
Franco

Hi @Xring-git I haven't seen a file with multiple sessions before either. Is a session related to multisport activities e.g. a triathlon contain swim-transition-bike-transition-run?
Are you able to share it so that I can take a look?

Hi Adrian,
see in attach.
garmin_activity.zip

Just curious if you have any insights into how to address multisport FIT files.

Happily, the Garmin documentation seems to have come one quite a bit over the past few years. Check out https://developer.garmin.com/fit/file-types/activity/ and see Example Message Ordering for Summary Last File Recording of a Multi-Sport Activity in particular.
I'd also use the FitCSVTool

I've updated the enum data and found that fixed the problem with the attached file.


Handle TEI works that have a language of “Arabic [Karshuni]”

These works are currently failing in the transformer; there's some discussion in Slack about how to handle them: https://wellcome.slack.com/archives/CS4G8SAG3/p1651134810190059

Useful to know here: the Language model has an id and a label field, but it behaves slightly differently to our other types. See the comment here: https://github.com/wellcomecollection/catalogue-pipeline/pull/2109

Yes, that sounds right to me.


Not everyone is @-mentioned in large out-of-bounds issues.

I wondered that I did not receive a notification for this issue. It appears that after about 50 @-mentions no more notifications are sent.
It seems that after line 50 (pinch-<IP_ADDRESS>) only handles that have appeared before that line are highlighted. I guess that means that those persons have not been notified.

This is easy to miss, esp. when re-mentions are mixed into the output.
stackage-curator could count the number of unique mentions and paginate the output to make it easier to spot when it happens.

Please report this against stackage-curator.

#2670 seems to cross the limit too; I was mentioned but not notified.

I believe the workaround for this is for curators to manually split the issue up into multiple comments.


New methods for Reader

Idea from @davidljung:

It would be useful if the reader method could take a string or stream instead of just a filename. That way, I could have read the (small) file into memory first and done a search-replace before passing it to QtCSV.

@davidljung see method preProcessRawLine() in AbstractProcessor


relax pinned version for python3.11

Summary
Installing the lib for python3.11 fails because aiohttp needs version 3.8.2 for python 3.11 and github lib has pinned version 3.8.1
Reproduction Steps
Installing the lib for python3.11 fails because aiohttp needs version 3.8.2 for python 3.11 and github lib has pinned version 3.8.1
#0 11.08 The conflict is caused by:
#0 11.08     The user requested aiohttp==3.8.2
#0 11.08     github 1.2.7 depends on aiohttp==3.8.1
Minimal Reproducible Code
No response
Expected Results
install works on python3.11
Actual Results
fails on python3.11 because aiohttp==3.8.1 does not build for python3.11
Checklist

[X] I have searched the open issues for duplicates.
[X] I have shown the entire traceback, if possible.
[X] I have removed my token from display, if visible.

Additional Context
No response

I have the same problem.

Actually it wasn't as requirements.txt was the same way.
Therefore this small change that i just made in a new pull request will fix the issue.

Testing it via google colab, the master branch and my fork proved this.


chore!: update atomic dependency

This required adding a bytemuck::Pod requirements to the CustomFloat trait. Given the description of the trait, the requirement seems reasonable.

What is the goal of this bytemuck addition?

What is the goal of this bytemuck addition?

This is a requirement induced by the new atomic version. From their docs:

This library defines a generic atomic wrapper type Atomic for all T: NoUninit types. Atomic types present operations that,
when used correctly, synchronize updates between threads.
The NoUninit bound is from the bytemuck crate, and indicates that a type has no internal padding bytes. You will need to
derive or implement this trait for all types used with Atomic.


Pagination footer is too wide for mobile devices.

The pagination footer is too wide to display properly on small screens.

The pagination footer will now collapse into two footers on screens less than or equal to 600px


Alpha value in ol.Color

When ol.Color is used as Array, alpha value could be 1 by default instead of undefined, so we can use like [51, 51, 51] instead of [51, 51, 51, 1].

I agree this would be nice.

Fixes with #4994


Fixed shopping cart tagging to show up even if cart is empty

Hi @kryysler,
Thanks, your PR has just been merged.
Best regards


Question: Is there a reason for unpack using absolute path while unpackDir uses glob relative to ?

Please describe your issue:
Command unpackDir uses the following code to determine whether the directory should be unpacked:
shouldUnpack = options.unpackDir ? isUnpackDir(path.relative(src, filename), options.unpackDir) : false;

The above basically uses a directory path relative to the <src> directory specified within asar.createPackageWithOptions(<src>, <dst>, {options});
However, unpack uses the following code, which results in absolute paths:
shouldUnpack = minimatch(filename, options.unpack, {
    matchBase: true
});

Is there a reason for unpack using absolute path?

Thanks for your question, but the behavior you described is implemented in the asar module. The developers there would be more knowledgeable about how to answer your question, so it would be better to ask it in their issue tracker.


Handle wildcard parameter in quota list API

PR to be iso with other GET endpoints
Quota objects are unique per namespace, so the wildcard search of quota has little plus-value


[TC-DESC-2.1] YAML Manual Script has to be updated as per VS document

Description:
TC-DESC-2.1
In Step 2 Server List entries has to be updated as per Verification step document.
Steps to reproduce:
Step 2
Yaml References:

https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_DESC_2_1.yaml

Test Plan References:

https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/Descriptor.adoc- https://docs.google.com/spreadsheets/d/13zltSz50GRs_kidvobceEuIT8kAAHSK64ANyWcc3xQI/edit#gid=1877055019&range=G21

Test Plan References:
- https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/Descriptor.adoc

Why was the VS document updated here? Was there a change to this test?

In Test step 1a, 1b, 2, 3, 4, 5 Log and comment has to be updated as per Verification step document.

Issue fixed Hence closing it.


class = "on-slide-5 #{slide_id}"

I really like how the intro presentation walks through the HTML by highlighting different parts of it:
http://imakewebthings.github.com/deck.js/#css-role
and I'd like to use that technique on my own presentation.
What I can tell from the source is that the relevant code blocks are colored by the global slide-id class set on the body.
That is, the code block with class .example_current becomes red on the fifth slide from the css
 .on-slide-5 .example-current {
    color: #c00;
  }

Is there any way we could add the current slide's custom ID to the body class as well?
Or is there another way I can implement this functionality without relying on the actual slide ordering?

Give master a try, let me know if it works as expected.

Yep, this works great. Thanks!


key error

Message: 'com.github.brpaz.ulauncher-brotab'
Error Name: UnhandledError
Type: KeyError
Stacktrace:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 198, in on_scheme_callback
    resp = rt.dispatch(self, scheme_request.get_uri())
  File "/usr/lib/python3/dist-packages/ulauncher/utils/Router.py", line 49, in dispatch
    return callback(context, url_params)
  File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 444, in prefs_extension_update_prefs
    controller = ExtensionServer.get_instance().get_controller(ext_id)
  File "/usr/lib/python3/dist-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
    return self.controllers[extension_id]
KeyError: 'com.github.brpaz.ulauncher-brotab'

com.github.brpaz.ulauncher-brotab
I believe the url is written wrong.

yep same here
Message: 'com.github.brpaz.ulauncher-brotab'
Error Name: UnhandledError
Type: KeyError
Stacktrace:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 198, in on_scheme_callback
    resp = rt.dispatch(self, scheme_request.get_uri())
  File "/usr/lib/python3.9/site-packages/ulauncher/utils/Router.py", line 49, in dispatch
    return callback(context, url_params)
  File "/usr/lib/python3.9/site-packages/ulauncher/ui/windows/PreferencesUlauncherDialog.py", line 444, in prefs_extension_update_prefs
    controller = ExtensionServer.get_instance().get_controller(ext_id)
  File "/usr/lib/python3.9/site-packages/ulauncher/api/server/ExtensionServer.py", line 76, in get_controller
    return self.controllers[extension_id]
KeyError: 'com.github.brpaz.ulauncher-brotab'

For me
021-04-19 00:52:36,440 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-brotab" exited instantly with code 1
2021-04-19 00:52:36,441 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-brotab" failed with an error: ImportError: Requiring namespace 'Gdk' version '3.0', but '4.0' is already loaded

@rushic24 your issue is related to an update on Gnome GTK version. please update Ulauncher to the latest version and should fix the issue.
@teodorkasap This kind of error usually means that some extension dependency is missing from your system. Please check https://ulauncher-extension-doesnt-install-and-now.netlify.app/


[bug] You can edit the void area if you start at the limit level :/

The Cardinal Version is the new updated 13 hours ago , i dont remember in video put /cardinal -v D: video: https://www.youtube.com/watch?v=PZGSRS1naaE&feature=youtu.be

OMG que puto genio!

Thanks for reporting

Isnt fixed

Reopening as the issue is currently present.

@twizmwazin Isn't this like the void bug where you start building at the bottom of the map, and build upwards? I'll try to find it

@dentmaged You have correctly read the title.


Filenames starting with a dot are ignored (again)

I think #16 is not fixed anymore.
There is a .htaccess file inside my source folder, and it isn't copied in both local and production build.
Tried to change the $hidden variable to false here, to include hidden files,  but it's causing this error:
PHP Fatal error:  Uncaught Error: Call to a member function handleCollectionItem() on null in src/Handlers/CollectionItemHandler.php:45

Any ideas for a fix?

I get the same issue using Jigsaw 1.0.6

I don't know if this is the same issue, but I can't build a markdown file with a dot in the name.
Example:
advanced-laravel-5.1.md
error:
View [_blog.advanced-laravel-5.1] not found.

I can fix it by renaming it advanced-laravel-5-1.


Implement Redis protocol proxy/recorder/interceptor

long int short are rendered as integer,

add test to understand byte[] conversions


Chance to support hardware encode in the future?

Is your feature request related to a problem? Please describe.
I'm very looking for an way to encode with gpu, as you notice cpu encode is really slow.
Describe the solution you'd like
I want to make it encoded with gpu.
Describe alternatives you've considered
No alternatives with this, only cpu encode.
Additional context
Nothing

Does it support GPU now?

Does it support GPU now?

@ChuLiaoLiao Nah


Updating Troubleshooting

OPS Build status updates of commit b30fa6e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

windows-iotcore/Troubleshooting.md
:warning:Warning

Details

windows-iotcore/media/Troubleshooting/adapters.png
:white_check_mark:Succeeded

windows-iotcore/media/Troubleshooting/txrx.png
:white_check_mark:Succeeded

windows-iotcore/Troubleshooting.md

Line 111: [Warning] Invalid file link:(~/../media/Troubleshooting/adapters.png).
Line 121: [Warning] Invalid file link:(~/../media/Troubleshooting/trtx.png).

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

OPS Build status updates of commit 1714aa6:
:warning: Validation status: warnings

File
Status
Preview URL
Details

windows-iotcore/Troubleshooting.md
:warning:Warning

Details

windows-iotcore/media/Troubleshooting/adapters.png
:white_check_mark:Succeeded

windows-iotcore/media/Troubleshooting/txrx.png
:white_check_mark:Succeeded

windows-iotcore/Troubleshooting.md

Line 121: [Warning] Invalid file link:(~/media/Troubleshooting/trtx.png).

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


TagBuilder can be disposed multiple times

I have implemented that the TagBuilder can be disposed of multiple times. This eliminates a potential source of errors.
I couldn't notice any difference in execution speed because the benchmark doesn't run on Windows with Visual Studio for me.

Can I ask what was the impetus for making this change? Do you have a usage pattern for TagBuilder that makes it hard to fulfil the dispose-exactly-once requirement?

The Idea was to reduce possible sources of error.


Commit transactions on Snowflake

Description & motivation
Resolves #43 by running begin; commit; between each step on Snowflake.
On Redshift, we need to run certain statements outside of transactions, and thereby need begin; commit; to exit a transaction if we've begun one. On Snowflake, certain DML statements need to be committed (depending the autocommit parameter); namely, the copy statement that populates snowpiped tables with historical data.
Checklist

[x] I have verified that these changes work locally
[ ] Replicate issue when autocommit is off

I'm having a tough time replicating the issue. Even when I turn off autocommit for the session—by setting it to false for the user—the CI passes (including the people_json_snowpipe source), commit or no commit.
@skeary-immt Could you confirm that the code change to exit_transaction works for you locally?

@jtcohen6, are we still waiting on @skeary-immt to test?  I just built another data flow using this package just to be reminded that the commit issue remains and automatic refresh of external tables does not work.

@jasonzondor I've received mixed reviews from folks testing this over the past several months. I'm glad to hear that this resolves the issue for you, as it has for a handful of others. I'm going to go ahead and merge this change for inclusion in the next patch release. If DML statements are still going un-committed for some, we'll just need to figure out what else may be afoot.

@jtcohen6, just tested and it's now working for me.  The refresh command is being committed.

@jtcohen6, I think I found out what's going on... I still need to run it a couple more times to test my theory, but I'm thinking that if the refresh fails with parsing a file, it doesn't commit when running it in dbt.  However, if you just run it through Snowflake's web interface, it refreshes and commits just fine, even if there's a file that failed to load.  So what I did was manually recreated the view using the pattern parameter to filter down to just the files we want to parse...


Revert "Adding ADDF WebApp Wireframes based on Sketch"

Reverts awslabs/autonomous-driving-data-framework#115

Reverting this PR...lets put on a WIP branch so that additions can be make w/o PR requests


'cmp' is an invalid keyword argument for this function

Have some trouble using the template tag do render the menu:

'cmp' is an invalid keyword argument for this function

seems like cmp is not more valid

It seems like you're using the old version: this issue has been fixed in #20. The oldest version that has these changes is 1.1.0, the newest is 1.2.0.

Since this issue was solved in #20 and concers now-dead Python 2, I'll close it.


chore(main): release 0.1.4

:robot: I have created a release beep boop
0.1.4 (2024-12-31)
Features

Copier update to parent template v0.1.6 (60824d6)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.1.4
:sunflower:


Switch to parking_lot::Mutex. It is faster and has a better API than the std one

Also, no possibility of poisoning, so it removes a bunch of unwraps.
parking_lot is already a transitive dependency for neovide, so this is not adding more dependencies, really.

I've been meaning to do this. Thanks!

I'll merge this once it is rebased

Rebased!


What error type should be used when max sleep time of backoff exceeded?

Now we return the error of the first backoff type:
https://github.com/tikv/client-go/blob/d2281509972049b341132b08f9c6eae921f1c456/internal/retry/backoff.go#L154
But it is possible that after some rounds of retries, the error leading to the final timeout is different. Reporting the first backoff error may confuse the user. Is it better to return the last backoff or the most frequent backoff type?
cc @cfzjywxk @disksing

Returning the last backoff type seems to be fine, the detailed backoff information including the most frequent backoff type could be printted in the error log.

At the very beginning, the last backoff is used, while https://github.com/pingcap/tidb/issues/6793 claims using the first backoff is sometimes better.
So this leads me to thinking that the most frequent backoff may be a better idea.
Of course I think the log should include more information instead of only the latest backoff cfg.

Make sense, the most frequent backoff may help more to reveal the root cause for issues https://github.com/pingcap/tidb/issues/6793 describes, to answer what takes so long to backoff seems to be more useful to answer what makes the backoff timeout finally.

In #416, I choose the backoff that sleeps longest, considering different backoffs may vary a lot in their sleep base and cap, so it may be not so fair to use the frequency.


travis: PHP 5.6, 7.0 nightly added

To be compatible with version in composer.json.
Can do for other repos if accepted.

Seems like a cool idea. I find it always hard to make a decision on this: I had removed PHP versions to make the build run faster and also because I don't think that I do anything fancy at the language level. Still, it also makes a lot of sense to verify correctness for multiple PHP versions, so yes: if you want you could add this for other packages as well.

Great, thank you!
As for PHP versions. I came across some incompatibility issues with PHP 5.6 and 7.0, so that's why prefer to do so. Also it most common practice, that people suppose to be checked.

Okay, agreed. Thanks for your work!


K3s CIS Docs

Task tracking work required to build out docs for K3s CIS.
Once we have the material ready we'll need to partner with Catherine. It will be necessary to create a rancher/docs issue so Catherine can add this to the live k3s docs site.

This is in v1.19 - Backlog milestone because it's not directly tied to a K3s release. We do want this as soon as possible - it's not an actual backlog item.

PR to the docs repo. https://github.com/rancher/docs/pull/2882

Closing. https://github.com/rancher/docs/pull/2882 has been merged.


get_version_match() should accept the semver regex

Following PEP 440, we should accept the following semver regex for identifying major minor
https://peps.python.org/pep-0440/#public-version-identifiers
Problems appeared in https://github.com/pyansys/pyprimemesh/pull/373 since they name their versions as X.Y.Z.devN which means that there are 4 elements in dev releases. Honestly, we should just implement the method like this (quick fix):
def get_version_match(semver: str) -> str:
    """..."""
    if "dev" in semver:
        return "dev"
    major, minor, _ = semver.split(".")
    return ".".join([major, minor])

Pinging @ninad-kamat for visibility
Pinging @jorgepiloto and @Revathyvenugopal162 for debate.

I would probably suggest a minor modification.
def get_version_match(semver: str) -> str:
    if "dev" in semver:
        return "dev"
    major, minor, _ = semver.split(".", 3)
    return ".".join([major, minor])

This can account for any rc or other post release tags that may be added to the version.

PR in place and about to be merged. This will be available in the next ansys-sphinx-theme release @ninad-kamat


Drop redundant prowjob namespace

/assign CecileRobertMichon
The namespace is already defaulted to "default" but we don't use prowjobs so we don't really care about this config option.

/lgtm
/approve

@cecilerobertmichon works great! I think we are done with prow (at least
for now)
On Mon, Jun 4, 2018, 22:58 Azure Container Service Bot <
<EMAIL_ADDRESS>wrote:

@kargakis https://github.com/kargakis: Updated the config configmap
from file .prowci/config.yaml
In response to this https://github.com/Azure/acs-engine/pull/3160:
/assign CecileRobertMichon
The namespace is already defaulted to "default" but we don't use prowjobs
so we don't really care about this config option.
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/acs-engine/pull/3160#issuecomment-394497019,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuFf-F-ZCxYa_QIwWFG22i-SQhqqfm5ks5t5Z9UgaJpZM4UZXsh
.


Can no longer add multiple custom filters with same name from azure UI

I'm not sure if this is the correct place to report this, but it's a show stopper for me. (or please point me in the correct direction and close/delete)
I created a custom feature filter to enable features based on claims, aliased as "Claim".  Let's just say it has claim type and value. When I try to add multiple custom filters to the new Azure Feature UI, it no longer allows adding multiples of the same aliased type.

I need to support multiple claim types to target different test groups.
Am I doing something wrong?  Will this change in a future release to not support this type of workflow?

@michaelmcdaniel we assumed it's an error when the same filter is added more than once, but apparently, you have a scenario here. I guess your Claim feature filter has a parameter and you pass in different values for each instance? If so, does it make sense for your feature filter parameter to accept an array so you don't need the Claim feature filter to be declared multiple times?
cc: @MSGaryWang @jiayi11

@zhenlan Originally I had a filter that took a dictionary of claim types to match against an array of values.  This worked until I need to map a claim type like {"http://example/value"=["v1","v2"], "claim-type":"v3" } which isn't supported due to the colon in the uri key name.
public class Settings { ...      public IDictionary<string,string[]> Claims { get; set; }      ... }
This led me to simplify to just having separate filters that defined the Claim Type to an array of values.
I'm definitely open to other options, but the latest usage was easy.

@michaelmcdaniel, thanks for sharing the details. For now, you can edit feature flags by using the "Advanced Edit" option in the context menu after right-clicking the feature flag. @jiayi11, I think we should unblock duplicated feature filters from the UI.
BTW, @michaelmcdaniel, the scenario you described sounds like something that can leverage the new "targeting" feature.

@zhenlan I believe that is best solution with the least amount of friction.  Thanks for the pointer on the new "targeting" feature.  I will definitely check it out.  Also just wanted to give you all kudos - good stuff!

I'll work on removing the duplicate filter name checking. I'll update the thread once I have an estimate when it will be deployed.
@michaelmcdaniel  Currently to workaround this, you can use azure cli az appconfig feature filter command to update your filter. I can't think of any good suggestions to workaround it on portal,  "Advanced edit" option in context menu also has this name duplication check.

We are rolling out the fix and it should deployed to all regions before this Friday.

certified WOMM.  Thanks everyone!


Question: how to update multiple uniform variables?

Hi,
I made some good progress on my pygame-glfw-wgpu integration and I start to understand the quite chatty WebGPU dialtect. Nethertheless, the bind groups, bind groups layouts are still making me puzzled.
I defined 4 uniforms variables in the vertex shader: projection, view, model, transform
SAMPLER_BINDING = 0, 0
TEXTURE_BINDING = 0, 1
UNIFORM_BINDING = 0, 2 #not used

@python2shader
def tex_vertex_shader(
    in_pos: ("input", 0, vec4),
    in_texcoord: ("input", 1, vec2),
    out_pos: ("output", "Position", vec4),
    v_texcoord: ("output", 0, vec2),
    projection: ("uniform", (0, 2), mat4),
    view: ("uniform", (0, 3), mat4),
    model: ("uniform", (0, 4), mat4),
    transform: ("uniform", (0, 5), mat4),
):
    ndc = projection * view * model * transform * in_pos
    out_pos = vec4(ndc.xy, 0, 1)  # noqa - shader output
    v_texcoord = in_texcoord  # noqa - shader output

I inited them using:
uniform_type = Struct(transform=mat4, projection=mat4, view=mat4, model=mat4)
uniform_data = np.asarray(shadertype_as_ctype(uniform_type)())

I updated them in my update loop:
rot_x         = pyrr.matrix44.create_from_x_rotation(-0.3*time.time(), dtype=np.float32)
rot_y         = pyrr.matrix44.create_from_y_rotation(time.time(), dtype=np.float32)

view          = pyrr.matrix44.create_from_translation(pyrr.Vector3([0.0, 0.0, -10.0]))
projection    = pyrr.matrix44.create_perspective_projection_matrix(1200.0, aspect_ratio, 0.1, 100.0)
model         = pyrr.matrix44.create_from_translation(pyrr.Vector3([0.0, 0.0, 0.0]))

uniform_data["transform"] = (rot_x @ rot_y).flat
uniform_data["view"] = view.flat
uniform_data["projection"] = projection.flat
uniform_data["model"] = model.flat

# instead of:
# uniform_data["transform"] = (rot_x @ rot_y @ view @ projection @ model).flat

But I did not understand yet how to initialize the pipeline:
...
uniform_buffer_object = device.create_buffer(
    size=uniform_data.nbytes,
    usage=wgpu.BufferUsage.UNIFORM | wgpu.BufferUsage.COPY_DST
uniform_buffer_object.unmap()

bind_groups_entries[0].append(
    {
        "binding": 2, #?
        "resource": {
            "buffer": uniform_buffer_object,
            "offset": 0, #?
            "size": uniform_buffer_object.size,
        },
    }
)
bind_groups_layout_entries[0].append(
    {
        "binding": 2, #?
        "visibility": wgpu.ShaderStage.VERTEX | wgpu.ShaderStage.FRAGMENT,
        "type": wgpu.BindingType.uniform_buffer,
    }
)

and update them:
uniform_nbytes = uniform_data.nbytes
tmp_buffer = device.create_buffer_mapped(
    size=uniform_nbytes, usage=wgpu.BufferUsage.COPY_SRC
)
ctypes.memmove(
    ctypes.addressof(tmp_buffer.mapping), uniform_data.ctypes.data, uniform_nbytes
)
tmp_buffer.unmap()

Could you tell me how to complete the pipeline initialization ?
Thanks !

Hi! Great to see someone using this in practice!

Nethertheless, the bind groups, bind groups layouts are still making me puzzled.

That only means you're human :)  I tried to explain it here. Any suggestions for improving this text are very welcome indeed. I think an image would also help a lot.
I think the main issue in your code is that in the shader you are defining one buffer object for each matrix, while you've actually combined the matrices into one buffer object (which is good practice in general). So your shader should be more like:
@python2shader
def tex_vertex_shader(
    in_pos: ("input", 0, vec4),
    in_texcoord: ("input", 1, vec2),
    out_pos: ("output", "Position", vec4),
    v_texcoord: ("output", 0, vec2),
    uni: ("uniform", (0, 2), uniform_type),
):
    ndc = uni.projection * uni.view * uni.model * uni.transform * in_pos
    out_pos = vec4(ndc.xy, 0, 1)  # noqa - shader output
    v_texcoord = in_texcoord  # noqa - shader output

In other words, you have one uniform buffer object, which is a struct, that contains multiple matrices. These lines are key:
uniform_type = Struct(transform=mat4, projection=mat4, view=mat4, model=mat4)
uniform_data = np.asarray(shadertype_as_ctype(uniform_type)())

Where the uniform_type is something that python_shader understands, so it can generate the correct SpirV. And by transforming that to a numpy struct, you have a matching data struct. (There is a step via ctypes there because we do not want to depend on numpy in wgpu-py.)

Could you tell me how to complete the pipeline initialization ?

That bind group looks good. That 2 in "binding": 2, #? should match the 2 in uni: ("uniform", (0, 2), uniform_type),.

and update them:

In the code you showed, you upload the new data to a new buffer. Now you need to copy that buffer to the existing buffer.
            command_encoder = self._device.create_command_encoder()
            command_encoder.copy_buffer_to_buffer(tmp_buffer, 0, actual_buffer, boffset, bsize)
            self._device.default_queue.submit([command_encoder.finish()])

This may seem a bit odd, but it seems to be the preferred way. The alternative is to map the existing buffer for writing, but this is slower.
Note that we may change the API a bit, so that creation of the tmp bufer may soon lool something like create_buffer_from_data(...). See #98

Ah ah! Thanks, so just my shader declaration was wrong, got it. Works perfectly now!
So I have a first version of my pygame-wgpu integration, if you'd like to have a look, tell me!


[BUG] New-AksEdgeDeployment and Install-AksEdgeHostFeatures failed when using french locale "fr-FR"

Describe the bug
Following the How-to for AKS Edge Essentials, step to check device settings failed with the following error:

PS C:\Users\repos\AKS-Edge\tools> INstall-AksEdgeHostFeatures -Verbose
Confirm
Are you sure you want to perform this action?
Performing the operation "Install the required features" on target "AksEdge Deployment".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): A
VERBOSE: Configuration 'scaleSwitchAction' is not present. A default will be applied.
VERBOSE: Configuration 'deploymentType' is not present. A default will be applied.
VERBOSE: Configuration 'networkMTU' is not present. A default will be applied.
VERBOSE: Configuration 'adapterName' is not present. A default will be applied.
VERBOSE: Configuration 'httpProxy' is not present. A default will be applied.
VERBOSE: Configuration 'workerNodeUpgradeStaged' is not present. A default will be applied.
VERBOSE: Configuration 'httpsProxy' is not present. A default will be applied.
VERBOSE: Configuration 'deploymentState' is not present. A default will be applied.
VERBOSE: Configuration 'noProxy' is not present. A default will be applied.
VERBOSE: Configuration 'internetDisabled' is not present. A default will be applied.
VERBOSE: Configuration 'skipAddressFreeCheck' is not present. A default will be applied.
VERBOSE: Configuration 'isoFilePath' is not present. A default will be applied.
VERBOSE: Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.
VERBOSE: Operation 'Enumerate CimInstances' complete.

Checking host for required features
Checking the status of 'Microsoft-Hyper-V'
VERBOSE: Version de l’image cible 10.0.19044.2486
Checking the status of 'Microsoft-Hyper-V-Management-PowerShell'
VERBOSE: Version de l’image cible 10.0.19044.2486
Checking the status of 'Microsoft-Hyper-V-Hypervisor'
VERBOSE: Version de l’image cible 10.0.19044.2486
Checking the status of 'OpenSSH.Client*'
VERBOSE: Version de l’image cible 10.0.19044.2486
Checking power management settings of the Host

[02/15/2023 10:01:02] Exception Caught!!!

Length cannot be less than zero. (Parameter 'length') (AksEdge-Core.psm1:821)
VERBOSE: Caught Exception: Exception: Length cannot be less than zero. (Parameter 'length')
at Get-HostHibernationSetting, C:\Program Files\WindowsPowerShell\Modules\AksEdge\1.0.266.0\AksEdge-Core.psm1: line 821
at Test-HostPowerManagementSettings, C:\Program Files\WindowsPowerShell\Modules\AksEdge\1.0.266.0\AksEdge-Core.psm1: line 1796
at Test-AksEdgeHostFeaturesInternal, C:\Program Files\WindowsPowerShell\Modules\AksEdge\1.0.266.0\AksEdge-Core.psm1: line 6115
at Install-AksEdgeHostFeatures, C:\Program Files\WindowsPowerShell\Modules\AksEdge\1.0.266.0\AksEdge-Core.psm1: line 6220
at , : line 1
True

After looking AksEdge-Core.psm1 on line 821 we can easy see on line 820 that the code is trying to substring powercfg english results, but when locale is"fr-FR" powercfg results are in french.
Locale settings on machine:

Get-WinSystemLocale

LCID             Name             DisplayName
1036             fr-FR            français (France)

To Reproduce
Steps to reproduce the behavior:

Have locale "fr-FR" on the machine.
Follow the Set up machine guide.

Expected behavior
State somewhere that only english locale are actually supported or having deployment working for any locales.
Environment:

AKS Edge Essentials Version AksEdge-K3s-1.0.266.0
Kubernetes version 1.24.3
Windows Host OS:

Edition: Pro
Version: 19044.2486
Virtual Machine: None

Hi @sealbus,
Thanks for the detailed information. We will try to reproduce this issue internally and let you know.
Thanks,
Francisco

Same happens with German locale.
Reproduction:

start with a clean system set to German or French language
follow the how to
Install-AksEdgeHostFeatures will fail with Length cannot be less than zero. (Parameter 'length') (AksEdge-Core.psm1:821)

Same happens with German locale.
Reproduction:

start with a clean system set to German or French language
follow the how to
I'nstall-AksEdgeHostFeatures' will fail with Length cannot be less than zero. (Parameter 'length') (AksEdge-Core.psm1:821)

Hi @ChristianBeier & @sealbus,
We are already working on a fix for this issue that will be included in our upcoming update.
Thanks,
Francisco

Hi @ChristianBeier & @sealbus,
This issue was fixed with the <IP_ADDRESS> release.
Thanks,
Francisco


C++20 ranges support

Follow-up to #873
The regression was caused by me relying on some C++20 changes that automatically defined pointer to void in iterator_traits if it wasn't defined by the iterator, while C++17 didn't define any member when that happened. Resolved by manually defining pointer to void (which is the most appropriate thing here, since WinRT iterators don't expose operator->). With this change the whole test suite builds, runs, and passes.
However, I am getting a lot of 'winrt::impl::consume_Windows_Foundation_Collections_IIterable<D,T>::begin': unreferenced local function has been removed warnings when building, and I'm not sure where they come from, since the way this is implemented is 1:1 to things like wait_for on IAsyncOperation, and that function doesn't exhibit the issue. Any idea what causes this?

Hmm, its not immediately obvious what those warnings are trying to tell us. 😜

Build is good, apart from the warnings.

I reproduced the warning: it occurs when the function is used in unevaluated contexts, but never used outside of that, for example this code triggers it
auto v = winrt::single_threaded_vector<int>();
decltype(v.begin()) a;
// uncomment to make warning disappear
// v.begin();

It's not specific to this change however, for example the following triggers the same warning:
winrt::Windows::ApplicationModel::AppDisplayInfo a(nullptr);
decltype(a.Description()) b;

Creating a fast_iterator without actually using it also shows the issue, because GetAt() is used unevaluated to detect if fast_iterator can be used but it's never actually used:
auto v = winrt::single_threaded_vector<int>();
begin(v);

The code above will trigger the warning
1>T:\Projects\cppwinrt\_build\x64\Debug\winrt\impl\Windows.Foundation.Collections.0.h(438,28): warning C4505: 'winrt::impl::consume_Windows_Foundation_Collections_IVector<winrt::Windows::Foundation::Collections::IVector<int>,T>::GetAt': unreferenced local function has been removed
1>        with
1>        [
1>            T=int
1>        ]

I don't think there's anything I can do to easily fix it :(
Declaring the methods the compiler warns about as inline gets rid of the warning, but to properly resolve it then we'd have to go and mark every function from the consume_* types (both autogenerated and manually written) to be inline as well, which is very much out of scope for this PR.
Other than that, disabling the warning obviously works, as it's basically just noise (IMO it should be moved out of /W4 to /Wall).

auto v = winrt::single_threaded_vector<int>();
begin(v);

This sort of thing seems like a bug - if a test is doing this and causing a warning I'd be ok with fixing the test.

I can't seem to find anywhere doing that. Darn unhelpful compiler diagnostics 😂
Going to see if Clang is any help

This is really weird. I saw that test\single_threaded_observable_vector.cpp was triggering this warning, so I tried to isolate an instance of it by commenting out parts of the file, until I isolated one. [Line 48]
(https://github.com/microsoft/cppwinrt/blob/37f0c4ed8745f78c4d5e0f96f6bc4b6499457f6a/test/test/single_threaded_observable_vector.cpp#L48)
    vector_i.VectorChanged([&](IObservableVector<int> const& sender, IVectorChangedEventArgs const&)
        {
            changed_i = sender.GetAt(0) == 123;
            REQUIRE(sender == vector_i); // <--- THIS LINE TRIGGERS THE WARNING
        });

This is very mysterious to me. I'm almost beginning to suspect a compiler regression?

I wonder if it could be catch testing for member begin but then using ADL begin

I tried building single_threaded_observable_vector.cpp standalone in a brand new VS solution with warning level set to 4 and include path customized to point to my build of cppwinrt (also pointed to the vendored copy of catch), and the warning isn't present here...

Found a solution: piggybacking off std::begin for our ADL begin, so in the end it resolves to the same function, which means it can't be ambiguous. This made catch's is_range work again, so it removed all the warnings as well.
Also added test coverage to avoid future breaks. I think this is ready for another internal build (and if everything's green, a merge) now.

2.0.210329.4 is the build that includes this feature.


Support Cargo's --timings flag

Thanks for this amazing tool!
Cargo now supports calling --timings[=<fmt>] to generate build timing issues and there doesn't seem to be a way to add that flag to rustup right now.

Thanks!

This is out as part of cargo-nextest 0.9.55, out in the next 10 minutes or so.


Small copy tweak

"Reload" isn't accurate, at least from user's perspective.

Would "open" be more appropriate since the users we're most concerned about are also most likely the least web savvy.

Well, if we're going to get non-technical, "We'll take you to the page in"? Attributing the action to the page itself reads just a little like a bomb countdown.

Haha, good point, lets not create bomb scares. :+1: to your last text suggestion too

:+1:


HM-Sen-RD-O not working correctly.

Home Assistant release with the issue: 0.84.6

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

Component/platform: Homematic

Description of problem:
See: https://github.com/danielperna84/pyhomematic/issues/193
The rain sensor has one sensor channel which indicates rain and a second channel to switch the heating on and off.
Activating or deactivating the heating switch on the homeassistant web interface results in activating or deactivating the displayed sensor state.
Switching the heating on results in sensor state on:

Switching it off results in the sensor state off:

Expected behavior:
The sensor state indicator in hass should display the real state and not whether the heating is switched in or off.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
OEQ1908022.txt

Additional information:

I meanwhile included my homematic thermostats and found, that the fix as proposed by you is not working, since it blocks the temperature and operating mode updates.
For the time being I can help myself with:
if (self._hmdevice.TYPE == "HM-Sen-RD-O") and (int(device.split(':')[-1]) != int(self._channel)):      return

This issue is very likely not resolved yet because it seems to be based on the same bug as #24545 (which is still open in 0.95.4).

True. Still present.

Not yet resolved. Keep open.


Differencify to save captured screenshots in each run alongwith producing diff screenshots

As of now, with differencify, we generate diff screenshots in "differencifiedoutput" folder.
If possible, we should introduce a flag , say saveScreenshots  , which will save captured screenshots in each run. This saved screenshots will help to manually refer the diff clearly, if needed, in case of failure. Sometimes, when the **mismatchThreshold** is low , then it's difficult to make out the actual diff , by seeing the screenshot produced in  "differencifiedoutput" folder.  Default value can be made false for the flag saveScreenshots

I am wondering if we should make saveScreenshots changeable through env variable too as in CI mode we do not want to see the saved screenshots and we only interested in the result

+1


ssh key on repo level

@nbabenko  why do we need a read/write key on the repo level?

added access to the TF teams


Updating the config.guess and config.sub files

This commit updates the config.guess and config.sub
files taken from the latest clone from the following:
http://savannah.gnu.org/projects/config
Signed-off-by: Asmitha Karunanithi<EMAIL_ADDRESS>

For some additional background, we were attempting to build this project on a machine that was ppc64le and it failed.  Updating these files allows build on ppc64le.

thanks, I'll merge it shortly


Check the repo format before migrating

If the repo has an invalid format it should be removed instead of being migrated.
This is related to the discussion about dropping the old data migration.

Ok, if the repo is in the old format it will simply be removed.


Evalutation Scripts, RMSE 0% on all sequences, trajectory file consists only of small number of frames

Hi, I have two issues with the code base.

I have got to compare accuracy of ICE-BA with some different front-end. But I could not find any evaluation script for computing ATE.
I went through the code and found that back-end consists of RMSE calculations. However when I run it, I always get zero LBA and GBA error.

I get the following output:
../bin/back_end ../config/config_of_stereo.txt
Loaded '../config/config_of_stereo.txt'
Found '/home/isl-server/vo_seqs/vo_sequences/MH02/mav0/cam0/data/1403637010601666560.png'
Found '/home/isl-server/vo_seqs/vo_sequences/MH02/dat/1403637010601666560.png.dat'
Found '/home/isl-server/vo_seqs/vo_sequences/MH02/mav0/cam1/data/1403637010601666560.png'
Loaded '/home/isl-server/vo_seqs/vo_sequences/MH02/./calibration.dat'
Tcu = 0.014865 0.999557 -0.025774 0.065223
-0.999881 0.014967 0.003756 -0.020706
0.004140 0.025716 0.999661 -0.008055
Tlr = 0.999997 -0.002317 -0.000343 0.110074
0.002312 0.999898 -0.014091 -0.000157
0.000376 0.014090 0.999901 0.000889
K   = 458.653992 457.295990 367.214996 248.375000
d   = -0.283408 0.073959 0.000194 0.000018 0.000000 0.000000 0.000000 0.000000
Kr  = 457.587006 456.134003 379.998993 255.238007
dr  = -0.283684 0.074513 -0.000105 -0.000036 0.000000 0.000000 0.000000 0.000000
Loaded '../config/config_of_stereo.txt'
3040 / 3040 = 100.000000%
RMSE
LBA = 0.000000 / 73.761749 = 0.000000%
GBA = 0.000000 / 73.761749 = 0.000000%
Saved '/home/isl-server/vo_seqs/vo_sequences/MH02/../RMSE_stereo/MH02_1.txt'
Time
LBA = 7206.813965 / 3040 = 2.370662 ms
GBA = 2642.825439 / 315 = 8.389922 ms
Kindly provide solution as soon as possible as we need to meet a near deadline.
Thank you

Hi @ashishkumar822 ,
if it is not too late already, you can try using evo https://github.com/MichaelGrupp/evo for the calculation of RMSE


TypeError: invalid 'in' operand Radio

Hi guys,
I have updated to the latest dev-master, runned asset-install & avanzu-fetch-vendors without any error; but in the front I have a JS error that block everything else:

TypeError: invalid 'in' operand Radio
...ackbone;="default"in ?["default"]:;Radio="default"in Radio?Radio["default"]:...
in admin-lte-all.js line 24 col 796

Have you ever heard about this one ?
EDIT: This comes from the last version of MarionnetteJS.
To reproduce the problem, you can make a fresh install, fetch the assets & build them.

I think that #140 will fix it.

fwiw it works with "marionette"                : "~2.4.4", while the PR is not merged.

Hello,
I have the same error :
TypeError: invalid 'in' operand Radio  admin-lte-all.js:17:3780
root@panel:/var/www/panel# composer show avanzu/admin-theme-bundle
Do not run Composer as root/super user! See https://getcomposer.org/root for details
name     : avanzu/admin-theme-bundle
descrip. : Admin Theme based on the AdminLTE Template for easy integration into symfony
keywords :
versions : * dev-master
type     : library
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
source   : [git] https://github.com/avanzu/AdminThemeBundle.git c0ff9dd38626778e3a7ac757a837677cb21e0e0c
dist     : [zip] https://api.github.com/repos/avanzu/AdminThemeBundle/zipball/c0ff9dd38626778e3a7ac757a837677cb21e0e0c c0ff9dd38626778e3a7ac757a837677cb21e0e0c
names    : avanzu/admin-theme-bundle

autoload
psr-4
Avanzu\AdminThemeBundle\ => .

requires
php >=5.3.0
symfony/assetic-bundle >=2.3
symfony/event-dispatcher >=2.3
symfony/http-foundation >=2.3
symfony/http-kernel >=2.3
symfony/twig-bundle >=2.3

requires (dev)
hamcrest/hamcrest-php dev-master
mockery/mockery 0.9.*@dev

I make regenerate all vendor and build assets without success.
Do you have a solution ?
Thanks

@jewome62 @Notmarrco @numerogeek The issue should be now fixed since #140 has been merged. Please test master branch and reopen if you still have issues. Closing as fixed. Thanks for your contributions and comments!


Upgrade to python 3

pip complains about Python 2.7:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020.

Isn't it already time to update to python 3?

Migrated to Python3


TS2307: Cannot find module '@uirouter/angularjs'.

This is a:

[x ] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: uirouter/angularjs@latest
Bug Report
Current Behavior:
Expected Behavior:
I update router from angular-ui-router to @uirouter/angularjs.
But on server not work with typescript.
Error

TS2307: Cannot find module '@uirouter/angularjs'.

Code usage example
import uiRouter from '@uirouter/angularjs';
package.json
"@uirouter/angularjs": "^1.0.6",
"@uirouter/core": "^5.0.6",

and run
yarn install

[x] I have already asked my question on StackOverflow and nobody could answer the question stackoverflow

[ ] I have already reviewed the sample application for examples of common approaches

[ ] I believe my question can only be answered by the UI-Router maintainers

Problem solved. use typescript v 2.5.0


Create LICENSE

Placing a license on the repo allows for collaboration and combination with other host blocking lists on the internet to further support the mission!
I placed the License under your Github username - feel free to edit as you wish

Adding a license would allow potential inclusion on the StevenBlack compilation of repos, which has nearly 20,000 and would be a fantastic use of this repo.
Here is the associated issue - https://github.com/StevenBlack/hosts/issues/1857

Thanks @bd-g!


Commodities and stock not position sized with risk.

POS bug
Sorry for no voice. Forgot i could say something hehe.
Okay what the problem is that with commodeties and stock the POS dosnt correct the position size.  As you can se with the 3 examples. I show also in last example with FX pairs it works just fine. But every commodity and stock it wont calculate the position size to the risk.

Hello!
Thank you for reporting! Unfortunately, despite watching the video, I still don't understand the problem at hand here. Could you please provide one example (preferably with screenshots) where the calculated value is wrong and what the correct size should be instead?

https://vimeo.com/734672349/b7abd29b2e
I added voice so it should be more easy to understand 😊
Från: EarnForex @.>
Skickat: Friday, 29 July 2022 11:21
Till: EarnForex/PositionSizer @.>
Kopia: linderseen @.>; Author @.>
Ämne: Re: [EarnForex/PositionSizer] Commodities and stock not position sized with risk. (Issue #48)
Hello!
Thank you for reporting! Unfortunately, despite watching the video, I still don't understand the problem at hand here. Could you please provide one example (preferably with screenshots) where the calculated value is wrong and what the correct size should be instead?
—
Reply to this email directly, view it on GitHub https://github.com/EarnForex/PositionSizer/issues/48#issuecomment-1199060324 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2SC2B5QBAIMXOOESQHULTVWOO7NANCNFSM5472FUAA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AR2SC2C6BURSDTIALXNIEDDVWOO7NA5CNFSM5472FUAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI54DKZA.gif Message ID: @.*** @.***> >

I see... The likely reason is that the actual profit calculation mode for that symbol doesn't match the one returned by the trading server to the MQL5 programs (Position Sizer in this case). Of course, it can also be some kind of a bug in the PS EA.
Do you know how can I get their demo MT5? I registered with TFF, but I don't see a demo account option anywhere. With a demo platform, I'd be able to debug this.

Use this logins:
Login: 957886
Password: Oyl6fYDLF456iW
Server: TrueProprietaryFunds-Demo
Download there MT5 as it’s a MT5 account.
Was thinking also could be symbols but then the FX shouldn’t work.  Happy hunting and keep me updated. Will also try it on other funded accounts to se if the same problem is there.
Tomas
Från: EarnForex @.>
Skickat: Friday, 29 July 2022 13:28
Till: EarnForex/PositionSizer @.>
Kopia: linderseen @.>; Author @.>
Ämne: Re: [EarnForex/PositionSizer] Commodities and stock not position sized with risk. (Issue #48)
I see... The likely reason is that the actual profit calculation mode for that symbol doesn't match the one returned by the trading server to the MQL5 programs (Position Sizer in this case). Of course, it can also be some kind of a bug in the PS EA.
Do you know how can I get their demo MT5? I registered with TFF, but I don't see a demo account option anywhere. With a demo platform, I'd be able to debug this.
—
Reply to this email directly, view it on GitHub https://github.com/EarnForex/PositionSizer/issues/48#issuecomment-1199170363 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2SC2B4BLWLRKV6FRKHK5TVWO543ANCNFSM5472FUAA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AR2SC2EAPGIC7SQEBYSGLP3VWO543A5CNFSM5472FUAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI546GOY.gif Message ID: @.*** @.***> >

Thank you! I'll check it now.

Found the bug! It appears when you switch from a different kind of symbol (Forex) to another one (e.g., CFD Leverage). If you open a new chart for NGAS and apply the Position Sizer there, it will calculate correctly. I will fix this in the next version.

Aaaa wow nice job. Great work and great you solved the problem. Look forwards to the update and if I find anything else I will inform you 😊 😊
Från: EarnForex @.>
Skickat: Friday, 29 July 2022 13:56
Till: EarnForex/PositionSizer @.>
Kopia: linderseen @.>; Author @.>
Ämne: Re: [EarnForex/PositionSizer] Commodities and stock not position sized with risk. (Issue #48)
Found the bug! It appears when you switch from a different kind of symbol (Forex) to another one (e.g., CFD Leverage). If you open a new chart for NGAS and apply the Position Sizer there, it will calculate correctly. I will fix this in the next version.
—
Reply to this email directly, view it on GitHub https://github.com/EarnForex/PositionSizer/issues/48#issuecomment-1199192016 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2SC2DOJXSEWHKYMAROUHTVWPBGLANCNFSM5472FUAA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AR2SC2BWBTAQ4HXRFHRVLTTVWPBGLA5CNFSM5472FUAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI55DPUA.gif Message ID: @.*** @.***> >

Fixed in 3.02.


How to write my own enhancers/helpers?

For example:
import map from 'lodash/map';
import upperFirst from 'lodash/upperFirst';
import withState from 'recompose/withState';
import compose from 'recompose/compose';

// used like compose(...withStates(), enhancer1, enhancer2);
export const withStates = (states) => map(states, (init, name) => withState(name, `set${upperFirst(name)}`, init));

// used like compose(withInitialState(), enhancer1, enhancer2);
export const withInitialState = (initialState) => compose(...withStates(initialState));

Are these two implementations idempotent?

I know normal helpers are composable, but I don't kown if compose itself is composable.

compose is composable itself,
you could use compose(compose(...), ..)

Thank you!


Logout view change permission_classes

Shouldn't the LogoutView have permission_classes set to permission_classes = (IsAuthenticated,) instead of permission_classes = (AllowAny,) , regardless of GET/POST method ?

in addition in the logout function:

 def logout(self, request):
    try:
            request.user.auth_token.delete()
      except (AttributeError, ObjectDoesNotExist):
            pass

should be changed to
   def logout(self, request):
        try:
            request.user.auth_token.delete()
        except (AttributeError, ObjectDoesNotExist):
            # handle NotAuthenticated

@shaklev
How it can be useful? If you will make permission check on logout that will not make your app more faster.

Hi @shaklev, LogoutView does not return any sensitive data that is required to be guarded by a permission. If you wish to, you can extend this view and set the permission class in your app.

Hey @Akay7 @maxim-kht ,
I was looking from the perspective of "the correct response for every API call" but since the view doesn't return any sensitive data , a valid argument is that it doesn't have to be guarded.

It is a bit confusing for the developer perspective as you test at first and it's not so clear as a response to say:
"detail": "Successfully logged out." when actually nothing happened.
I think it is an easy fix.

^ that was my thought as well

@NikosVlagoidis if you prefer get 400 error on logout when user already anonymous, feel free to override logout view in your app and write a lot of custom logic on logout api inside client side app.
But I though that not necessary in most applications. If you have any example of application where that necessary you can share with us.

I am not saying it is necessary for the application and I don't say I cannot fix it.  I say it is a bit misleading to a person that tries to debug and test if the package is working correctly. And I think responses should represent somehow what happened and not only what it is necessary to work. It is just a suggestion.

@NikosVlagoidis I think more better follow the principle KISS
We can try to think about login response. For example I can imagine 4 cases:

User logged, but credentials is incorrect
User logged and credentials is correct
User not logged and credentials is incorrect
User not logged and credentials is correct
How you think more better give to user, more detail description about every of that case?

According to http://django-rest-auth.readthedocs.io/en/latest/api_endpoints.html:
How can this happen exactly? Login returns a token if the credentials are correct and the validation happens server side. So if credentials are correct a Token returns to the client else you return Wrong credentials provided. It has nothing to do if you are logged in on the client. I don't see any logic about what you say or defined logged in and logged out better so i can get your point.

I'm just show few examples where response from server can depend from authenticated(or not) user. If you would like make different response to logout, then I guess make different response for login api(or make special permissions) will be your next step. And I mentioned if you don't know how it's can be useful, more better keep it simple as now.
Other case if you feel unhappy about incomplete description of logout api, you can update documentation and make PR.

Duplicate of https://github.com/Tivix/django-rest-auth/issues/174


Analyzer revision

This PR adds revision-based cluster analyzer operations.
Design document
Also this PR contains optimization for analyzers loading in case one OneShard database. If database in question is not _system than all shards reside on DBServer performing query. So Cluster-wide query is not necessary. DBServer could determine Leader shard for _analyzers collection and do local query to this only shard.
Backlog links:
https://github.com/arangodb/backlog/issues/669
https://github.com/arangodb/backlog/issues/695

https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/10011/

https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/10030/

https://jenkins.arangodb.biz/view/PR/job/arangodb-matrix-pr/10043/


Return bool instead of String in isTorchAvailable function

Addresses this crash while using 6.9.0
flutter: type 'String' is not a subtype of type 'bool?' in type cast
flutter:
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158:41)
<asynchronous suspension>
#1      _CameraController.isTorchAvailable (package:scandit_flutter_datacapture_core/src/camera.dart:340:9)
<asynchronous suspension>

@corcoran thanks for reaching out. Due to architectural reasons of how we use github, we're not able to merge your commit but will fix it in the next release and update the repo.
Your Scandit Support Team

Makes sense, thanks for the quick reply 🙂

Hi @corcoran ,
we've released version 6.9.1 with the fix for the issue and the repo was updated.
In case of further individual questions, please feel free to reach out to use
https://support.scandit.com/hc/en-us
Best regards
Scandit Support


[DOC] Fix reST syntax of RC filter tutorial

I made the following changes in the RC filter tutorial to improve the Sphinx rendering:

use the math role for LaTeX equations
use the double backquotes for inline code
fix some typos, in particular removing the space before the :: markup which introduce code examples, so that it gets rendered as a single : (otherwise it is erased)

Thanks for the edits. Merged in for the next release.


Console error: prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type')

Console errors originating from the Vue.js devtools beta extension.
Version: 7.0.0 beta 12
Let me know what other debug info you would like.
prepare.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type')
    at Is (prepare.js:1:49734)
    at At (prepare.js:1:52982)
    at mn (prepare.js:1:53166)
    at prepare.js:1:59930
    at prepare.js:1:63865
    at Array.map (<anonymous>)
    at prepare.js:1:63858
    at Et.callHookWith (prepare.js:1:35597)
    at prepare.js:1:63815
    at new Promise (<anonymous>)
    at Object.getInspectorState (prepare.js:1:63797)
    at Proxy.getInspectorState (VM278279 user-app.js:71:73711)
    at b (VM278279 user-app.js:71:49932)
    at t (VM278279 user-app.js:71:64182)

Chrome Devtools points to the following section of code in prepare.js, specifically the line o = t.type.props;
function Is(t) {
        let e = []
          , o = t.type.props;
        for (let n in t.props) {
            let r = o ? o[n] : null
              , s = so(n);
              ......code continues......

You can try to use the stable version (7.6.4).

@webfansplz ok worth a try if it gets annoying for me, but I'm primarily reporting it here as a bug report in the github issues so that the dev's can be aware and look into fixing it in the beta version :)
(I think that's probably why someone downvoted your reply).

@webfansplz ok worth a try if it gets annoying for me, but I'm primarily reporting it here as a bug report in the github issues so that the dev's can be aware and look into fixing it in the beta version :)
(I think that's probably why someone downvoted your reply).

Beta and stable versions are not the same project in the Google Extension Store, after the release of the stable version, we do not maintain the Beta version, so we recommend using the stable version (it will be better in every way).


Parse SolanaPay URI

https://github.com/anza-xyz/solana-pay/blob/master/SPEC.md

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Use ByteBufAllocator to allocate ByteBuf for FullHttpMessage

Motivation:
When converting SPDY or HTTP/2 frames to HTTP/1.x, netty always used an unpooled heap ByteBuf.
Modifications:
When constructing the FullHttpMessage pass in the ByteBuf to use via the ByteBufAllocator assigned via the context.
Result:
The ByteBuf assigned to the FullHttpMessage can now be configured as a pooled/unpooled, direct/heap based ByteBuf via the ByteBufAllocator used.

@normanmaurer @Scottmitch PTAL.
Note: Do you guys think there is also the possibility of passing in the initialCapacity to the call to alloc.buffer() ?  I don't know if it will catch all use cases though...

@blucas this fails because of a buffer leak which seems not related to your change (well kind of ;)). I think it not failed before as it used Unpooled and so no leak showed up. @Scottmitch and myself are looking... Stay tuned.

Lets use https://github.com/netty/netty/issues/4780 to track the leak.

@blucas can you please rebase ?

I'll try to get to this tonight

Ok... So I think I totally screwed the rebase up.  To be honest I had no idea what I was doing lol.  I'm going to close this pull request and open a new one

@blucas - sure no problem ... ping me on the new PR.


Document how to deprecate an operator

In https://github.com/k8s-operatorhub/community-operators/pull/529 the hazelcast-operator has been deprecated by adding a [DEPRECATED]  prefix to its name, but is this the recommended process?
On operatorhub.io, this has the effect of showing the deprecated operators first:

https://github.com/k8s-operatorhub/community-operators/issues/549
https://github.com/k8s-operatorhub/operatorhub.io/issues/13

Some of the documentation mentions a maturity: deprecated field / value pair, but does not elaborate further:

https://github.com/operator-framework/operator-lifecycle-manager/blob/master/doc/design/building-your-csv.md#operator-metadata
https://docs.okd.io/4.9/operators/operator_sdk/osdk-generating-csvs.html#osdk-manually-defined-csv-fields_osdk-generating-csvs

(It is confusing that the word "maturity" is used elsewhere in reference to metadata.capabilities and   Operator Capabilities)
I'd like some documentation recommending when and how to deprecate an operator.

@wallrj,
That is something that requires discussion, alignments and some effort.
But we will try to check it out and keep you updated. See my comment: https://github.com/k8s-operatorhub/community-operators/issues/549#issuecomment-1036539967

The option to add a feature to address this requirement has been discussed into the EP: https://github.com/operator-framework/enhancements/pull/113/files


secp256k1 source outdated

While working on a project including https://github.com/vulpemventures/go-elements and https://github.com/Blockstream/gdk (wrapped with cgo) I experienced very weird errors.
My gdk wrappers would only work properly if run in complete isolation without imports from other packages. Then I noticed that this package is the one causing the issue.
https://github.com/ElementsProject/libwally-core, a dependency of gdk depends on secp256k1 aswell and I suspect that this 3 year old version is causing conflicts with the one built into libwally core. I think updating the statically included secp256k1 lib would resolve the issue.

Hi @jackstar12, can you specify how this lib causes problems to your project?
We included the C lib in a static way instead of git submodule because we couldn't import this as dep of go-elements otherwise. At that time, go modules didn't work really well with git submodules. I would need some time to check if the issues have been fixed.
Beside this, I tried locally to update the C lib to the latest version but then I'm not able to make the go wrappers work. At some point, the file src/basic-config.h used by secp256k1.go was removed from the C lib and removing its import is just not enough.
I wonder if you have any experience with this, you may want to help us figure this out?

Hi @jackstar12, can you specify how this lib causes problems to your project?

All I know is that there must be some sort of collision with libwally-core, which builds secp256k itself (they use the latest version). I have a working go program which calls gdk, but as soon as go-secp is imported, the login call fails - I guess some issue with the encryption or whatever now being wrong. I can share that one if youre interested.

Beside this, I tried locally to update the C lib to the latest version but then I'm not able to make the go wrappers work. At some point, the file src/basic-config.h used by secp256k1.go was removed from the C lib and removing its import is just not enough.
I wonder if you have any experience with this, you may want to help us figure this out?

Unfortunately no, but I could potentially give it a try.


THORN-2065 | Use smallrye-opentracing

Depends on: https://github.com/smallrye/smallrye-opentracing/issues/10
https://issues.jboss.org/browse/THORN-2065
Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

This is ready to review/merge.

It says dismissed review bc I squashed commits


API requests

Hey all,
We use Mist Server for our community Discord server driven live streams. One feature I would love to implement is a panel for our participants to control their stream RTMP pushes. The main issue is where is the documentation to use curl or some kind of API to set a new push URL to a stream. I haven't been able to find this anywhere and I was wondering if someone can guide me to some piece of documentation or even better an example of the URL!
Thank you all for your time!

Hey there, The API documentation can be found here: https://docs.mistserver.org/mistserver/integration/api/ We also have a bash and php example here: https://docs.mistserver.org/howto/api/ The bash one most likely comes closest to what you want, as it's using curl, jq, md5sum, cut & cat. https://github.com/DDVTECH/mistserver/blob/master/api/mist_api.sh Now if all your API calls will be made locally you can skip the authentication step as well, which does allow a far simpler API through just wget/curl, for example: wget wget -O - 'http://localhost:4242/api2?command={"push_start":[" STREAM_NAME_WITHIN_MISTSERVER_TO_PUSH","PUSH_TARGET"]}' curl curl 'http://localhost:4242/api2?command={ "push_start":["STREAM_NAME_WITHIN_MISTSERVER_TO_PUSH","PUSH_TARGET"]}' (have to escape the {}[] characters else curl will trip on them) You can also consider using push_auto_add https://docs.mistserver.org/mistserver/integration/api/calls/push_auto_add instead of push_start https://docs.mistserver.org/mistserver/integration/api/calls/push_start in case you want the push attempt to auto-restart upon failure/disconnect. Push_start is a one-time event which will stop the moment it can no longer push or fails to start, whereas push_auto_add will stay configured and repeat every time, so you will have to push_auto_remove https://docs.mistserver.org/mistserver/integration/api/calls/push_auto_remove those to truly disable them. Now we do have plans in the future to expose parts of the interface with limited access to accounts that would make this easier. However that's still quite a bit in the future as it isn't a huge priority right now. With kind regards, Balder Viëtor Head of Testing MistServer
…
On Tue, Apr 16, 2024 at 8:25 PM Connor Hackenberg @.> wrote: Hey all, We use Mist Server for our community Discord server driven live streams. One feature I would love to implement is a panel for our participants to control their stream RTMP pushes. The issue is I haven't been able to find in the documentation a way for streams to be assigned by users or I can do this byself as well. But the main issue is where is the documentation to use curl or some kind of API to set a new push URL to a stream. I haven't been able to find this anywhere and I was wondering if someone can guide me to some piece of documentation or even better an example of the URL! Thankyou all for your time! — Reply to this email directly, view it on GitHub <#193>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN2RJFMIFPQDXO4BLZQBR3Y5VUJJAVCNFSM6AAAAABGJ3XKLCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DMNRUHAYTQNI . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you so much for this information! I will now close this!


More specific Rails adapter

I love the project but feel the coverage numbers it reports are too high in Rails projects.
Specifically controller tests often exercise functionality in model, lib, or helper classes. While the tests therefore technically 'cover' those lines, none of the controller tests are really testing model, lib, or helper code in isolation.
Basically I was wondering whether the 'rails' adapter could be modified in the following way: When running spec:foo, SimpleCov only measures in the 'foo' directory. For example, when running controller tests, a filter is applied which excludes models from being measured. And when running model tests, libs are not measured, etc.
Ideally there'd be a single incantation which would run all tests for which coverage makes sense (controllers, lib, helpers, models) and only measure coverage on the files they're directly testing. Then at the end the results are merged.
This would do a better job of showing actual coverage. If you 'cover' a model file because you used it in a controller, you're not really testing things like validation, scopes, etc. in isolation.

I feel that I should have a separate report for integration tests.  With proper integration tests, most of my app's code paths should be covered, independent of unit tests.  Currently, I set the coverage_dir to integration tests to separate the results, but it's a small hassle to deal with multiple directories in this way.  I might construct my own front-end to display multiple results on one page.
@jasonmp85 Your approach is insightful.  However, this only guarantees code from category A won't appear to cover category B, but it doesn't prevent model A from covering model B.  Cutting down on the amount of "false-positives" (for lack of a better term) from controller tests should help a great deal, though.  But I guess what I would want is for post.rb's coverage to be based solely on post_test.rb, nothing else.  I guess I'd have to modify the filters for each individual file to do this.
Although it gives a good indication, for a web app, it's not enough to simply verify which lines are covered within an entire test suite.  I find myself unable to fully "trust" the coverage results because of this, without manually generating isolated reports for each category and checking them one-by-one.

Closing as stale. Please reopen if this is still an issue. (And take a look at https://github.com/colszowka/simplecov/issues/340 )


Command 'az network private-resource show' does not exist

In the current CLI (2.0.73) does not have any 'az network private-resource' commands as suggested under Optional Parameters > --group-id . Any idea when we can expect this?
Also the styling seems a bit off, maybe put ticks (`) around it to make Markdown understand that it's code ?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8911e94f-9496-a68d-50c0-b5d536a375a4
Version Independent ID: cc37b77b-0fa2-991b-e16b-fcdbbf183853
Content: az network private-endpoint
Content Source: src/azure-cli/azure/cli/command_modules/network/_help.py
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jochenvanwylick These commands are under preview version. Based on my knowledge, the server side was not ready days ago. The rest api swagger and the python SDK are not ready yet. I don't know when we can expect private-resource. Currently, the private-endpoint can be created for private link service. You can just ignore the --group-ids since the private link service doesn't accept a group-id. I'm sorry I will adjust the help information to prevent increasing misunderstanding again.

I will leave this issue open as a tracker for private-resource. @malopMSFT Hi. I'm not sure about the current status about the first party resource for private endpoint. If there is any update, can you share the information here?

@MyronFanQiu - thanks ! Can you suggest a workaround to get the group ids ? Because I think we need it in order to set up the private resource for an Azure SQL database.

@malopMSFT Hello. Could you please answer the question? @jochenvanwylick  I checked the swagger spec. Looks like you can use this path "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateLinkResources" to get the group-ids. https://github.com/Azure/azure-rest-api-specs/pull/6866/files. I will sync with @malopMSFT to support new feature in Azure CLI

@jochenvanwylick Hello. we have fixed the help message. In the near future, we will onboard more commands to get group id. Thanks.

Thanks !


Improve documentation and convenience of angular clustering

The process of generating randoms for the angular_tpcf should be made simpler and be better documented.
@cwhite1026, you should probably wait until we get this in the repo until to do your angular clustering analysis. It would be too laborious for you to figure out how to do this without better documentation. It shouldn't be too much trouble getting this in the repo within a week.

I think we can count this as done.

@cwhite1026 - disregard this notice if you have since moved on, but there is now a step-by-step tutorial demonstrating how to use angular_tpcf.


Fix windows bug: Backslashes causing issues with listing and downloading project contents

Before submitting the PR, please go through the sections below and fill in what you can. If there are any items that are irrelevant for the current PR, remove the row. If a relevant option is missing, please add it as an item and add a PR comment informing that the new option should be included into this template.

All relevant items should be ticked before the PR is merged

Description
Several users reported that there were issues with listing the project contents when the upload had been done from Windows. This PR solves that issue by changing instances of os.path etc to pathlib functionality.

[x] Add a summary of the changes and the related issue
[x] Add motivation and context regarding why the change is needed
[x] Fixes DDS-1411

Type of change

[x] Bug fix (non-breaking)

Checklist:
General

[x] Changelog: New row added. Not needed when PR includes only tests.
[x] Code change

[x] Self-review of code done
[x] Comments added, particularly in hard-to-understand areas
[x] Documentation is updated

Repository / Releases

x ] Rebase / update of branch done

Checks

[ ] Formatting: Black & Prettier checks pass
[ ] CodeQL passes
[x] Tests

[x] The tests pass

@valyo Ignore the linting and that it's not signed atm but other than that ready

@valyo Ignore the linting and that it's not signed atm but other than that ready

so that one is ready for review, isn't it? and  I should ignore the other one

@valyo Ignore the linting and that it's not signed atm but other than that ready

so that one is ready for review, isn't it? and I should ignore the other one

This one is ready for review, yes 👍🏻 Ignore the other one

@valyo Ignore the linting and that it's not signed atm but other than that ready

so that one is ready for review, isn't it? and I should ignore the other one

This one is ready for review, yes 👍🏻 Ignore the other one

@valyo I have now closed the other one so it's clearer

Noticed that I had forgotten to check the source path file option and moved a couple of imports. Otherwise no changes after approval.


Any plans on training a new model based on Phi-3?

My initial experiments with Phi-3 reached 40.0 on MMMU val set. Stay tuned.


Add HOWTO: Early Stopping

We recently merged https://github.com/google/flax/pull/711, which gives a simple non-(inversion of control) API for early stopping in a user-defined training loop.
It would be good to showcase a HOWTO with side-by-side diffs like in https://flax.readthedocs.io/en/latest/howtos/lr_schedule.html showcasing how this would be integrated into a real (sample) training loop.

@avital I'm not sure how early stopping is working here. The API example here says that early_stop.update returns a bool, but the implementation here returns a tuple. Am I missing something?

Duplicate of #886?

Thanks @thomkeh -- yes, this is a dupe of #886


Update suggested pip install command in build_wheel.py

Adding --force-reinstall --no-deps makes pip always install the new jaxlib, even if a jaxlib with the same version is already installed. This change will save me many seconds of typing in the future.

This is actually a bad idea, because --no-deps is not what you want if the deps aren't already installed, and --force-reinstall by itself is annoying because it reinstalls all the deps too. I'm gonna close this and continue wasting valuable seconds typing.


Azure Lab Services using advanced networking, no mention of public IP address

During Lab creation, when selecting advanced network, using a basic VNET and subnet, there won't be a public IP address to connect to. Explaining this could help.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 86be201f-4412-1e4c-3ae4-04de86f18f4a
Version Independent ID: 2a8b7633-57cb-10bf-2c72-eff8ef76a923
Content: Troubleshoot lab VM access - Azure Lab Services
Content Source: articles/lab-services/troubleshoot-access-lab-vm.md
Service: lab-services
GitHub Login: @ntrogh
Microsoft Alias: nicktrog

@Ztegeman
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Ztegeman
Could you please go through below link that gives you some information about Azure Lab services using advanced networking.
https://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-vnet-injection

@Ztegeman When you use advanced networking, a public IP address is auto-generated in the same resource group as the subnet.    when you create a lab If you use standard networking that public IP address is in a Microsoft-hosted subscription.

@Ztegeman
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


[SerdeFixForStockProcessor] Serde fix

Fix for StockSummaryStatefulProcessorDriver which uses
stockTransactionSerde instead of stockTransactionSummarySerde and causes
a type expection.
Kafka <IP_ADDRESS>
Regards.

@seborama Thanks for the PR.
I just pushed changes recently to update to <IP_ADDRESS>

Thanks, I've found these examples and the blog post very useful and informative


ready for fabrication?

Thanks for sharing your work, I have been interested in this LFO for some time, is this version of it 100% finished or is it still being developed?

yes, I think it is ready to be manufactured, I rechecked, everything should be ok, but I haven't tested it yet...

Thanks for the reply, I will probably wait for you to verify it working, I plan to rework the layout a little and if I have problems with it after my adjustments, it would be very good for a noob like me to know it is my own fault :)
If it's not a huge issue, it would be very useful to add a little status note on your projects, as I am interested in doing the same with your VCO too
Looking forward to any other work you post here, I am a big fan of the old analogue designs from yusynth.


Missing figure legends in PNGs

Hi,
When exporting UMAPs as PNGs with ds.plot_layout() the figure legend is cut off. Possible to fix?
Example code:
ds.plot_layout(layout_key =  "RNA_UMAP", color_by = "maxHTO", cmap= "Set3", savename=f"{sample}_UMAP.png")
best,
Rebecca

Hi,
Thanks for reporting this.
I have made a quick fix for this.
Can you try installing the development version of Scarf like this:
pip install git+git://github.com/parashardhapola/scarf.git@master
If this works, I will include this in the upcoming 0.7.5 release
Parashar

Thanks, but unfortunately I does not seem to work in my hands. I installed the development version, updated scarf in jupyter but legend was still missing in output.

Noticed it now works, thanks for fixing this!


(RE3) Graphics corruption on Machinery Room [R30C]

Version
3.0.4 (5e07460)
Seed
R730-R3V3-ZT12B1VG9YJ20G9CGMK0ZZZZZZZZZZZZZZZ
Scenario
RE 3 (Jill)
Player Character
Nikolai (RE3R)
What happened?
As soon I arrived at R30C, I noticed some object elements with rainbow colors on map, then I opened my inventory and everything went wild!

This already happened sometime ago while I was doing some tests modifying the seed manually to add enemies on safe places, but this time I added this option only using the GUI - after resetting all seed settings.

What do you mean by:

modifying the seed manually to add enemies on safe places

On a previous version (that didn't had this option available yet), I tried changing the seed values manually to add enemies on safe locations and got the same result.


.a archive stripping corrupts thin archives

Makepkg's 'strip' option corrupts 'thin' archives created by ar cT command leaving out just a !<thin> header in the resulting file.

Here is strip implementation for MSYS2 pacman:
https://github.com/Alexpux/MSYS2-packages/blob/master/pacman/0000-pacman-msysize.patch#L492
Look at it maybe you will see some thing incorrect. I will look too

My guess is that the solution should be straightforward: skip thin archives.
The point is that they do not contain object files by themselves (kind of import libraries for static linking) but only the references to other archives therefore there is nothing to strip.
Such archives can be easily identified by the ! header instead of normal !.

@okhlybov can you provide some such archive for testing?

Sure. Here a.a is a normal archive and thin.a is a thin archive referring to it.
thin.zip

Are you sure that thin archive is stripped? I don't see how it can be in logic.
See /usr/share/makepkg/tidy/strip.sh
Running file -bi thin.a return application/octet-stream; charset=binary and it going in case to continue without stripping

Indeed, thin archives don't get stripped, so the problem is not that trivial. I guess there might be a subtle bug in binutils.
Here is a real archive which manifests the anomaly: thin.zip  In short, if a thin archive is created from an unstripped normal archive which is gets stripped afterwards, the thin one might get out of sync and thus become invalid even though the archive it refers to looks intact.

@okhlybov if you think that this is bug in binutils then address it to binutils developers.


Implement cropping

Nuff said. Should be a simple task.

Backend tPicture crop function with anchors is working. Not implemented yet in the UI though.

It works. Design problem tho. Need to be able to move around image while zoomed and have crop-rect fixed to pixel locations so can accurately set extents.


Bug Fix : Asteroid overlapping with space ship

Asteroid is set to hit the frame boundary even if it's returned by the space ship. This creates overlap in the UI which is not desirable.
Fix : If the asteroid is rebounded from space ship, it should consider thickness of space ship in the return check.
This will enhance the experience of the game giving it a more realistic touch.

On it @DhanushNehru


Add quick starter guide

Added Getting Started section which provides step by step guide to deploy apiscout into Kubernetes cluster along with a sample microservice application.
This PR fixes #10

@retgits Incorporated changes as mentioned in the remarks with below notes:
remark1: Bought make target descriptions into the same line so that make help would work as expected. However make sub targets are kept in the same line in order to work intended make target (build-all, minikube-delete) well. Seems as per make specification sub targets (aka prerequisites) should be kept in the same line followed by shell commands. ref: ftp://ftp.gnu.org/old-gnu/Manuals/make-3.79.1/html_chapter/make_4.html#SEC22
remark2: Removed docker image on line 34 to force user to update it.