[Improvement-14457][UT] Improve the expected and actual value of Assertions

Purpose of the pull request

close: #14457

Brief change log
Assertions.assertEquals(expected, actual), expected is the first parameter
Verify this pull request
UT

Codecov Report

Merging #14459 (9546736) into dev (babb8d9) will decrease coverage by 0.01%.
The diff coverage is 54.26%.

:exclamation: Current head 9546736 differs from pull request most recent head 53fae3a. Consider uploading reports for the commit 53fae3a to get more accurate results

@@             Coverage Diff              @@
##                dev   #14459      +/-   ##
============================================
- Coverage     38.56%   38.55%   -0.01%
+ Complexity     4557     4554       -3
============================================
  Files          1236     1237       +1
  Lines         43456    43414      -42
  Branches       4814     4782      -32
============================================
- Hits          16757    16737      -20
+ Misses        24841    24825      -16
+ Partials       1858     1852       -6

Impacted Files
Coverage Δ

...inscheduler/api/controller/ExecutorController.java
17.94% <ø> (ø)

.../dolphinscheduler/common/enums/ExecutionOrder.java
0.00% <0.00%> (ø)

...dolphinscheduler/dao/entity/TaskDefinitionLog.java
18.18% <0.00%> (-0.43%)
:arrow_down:

.../plugin/task/api/parameters/K8sTaskParameters.java
0.00% <ø> (ø)

...i/service/impl/AlertPluginInstanceServiceImpl.java
63.86% <33.33%> (ø)

...phinscheduler/plugin/task/hivecli/HiveCliTask.java
37.80% <38.88%> (-7.48%)
:arrow_down:

...cheduler/api/service/impl/ExecutorServiceImpl.java
53.13% <61.90%> (+1.72%)
:arrow_up:

...uler/plugin/task/api/k8s/impl/K8sTaskExecutor.java
38.29% <92.30%> (-0.21%)
:arrow_down:

.../org/apache/dolphinscheduler/api/enums/Status.java
100.00% <100.00%> (ø)

...che/dolphinscheduler/api/python/PythonGateway.java
17.29% <100.00%> (+0.35%)
:arrow_up:

... and 1 more

... and 40 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi, @Radeity , thanks for your comment, I've fixed these 2 other places


'change' event is triggered by 'key up'

I tried listening of change event on input of datepicker and tried using on('changeDate'), but when I type date manually event is triggered by key up event.
Why is it happening? It seems odd to me :(

Me too.. I'm listening to 'changeDate' event...

I'm running into a similar problem when trying to type in a date. If I start to type 1/1/12, the changeDate event fires at 1/1/1 and sets the date to 1/1/2001. WRONG! That should only happen if i enter 1/1/01.


[Suggestion]: Server Side Only?

General Info

[ ] I would like to propose new content
[X] I would like to propose changes
[x] I would like to propose another thing

Suggestion Description
Could there be a way to make a mod like this server side only? I've used the mod Into the Fog before which is similar to this in some ways and it's entirely serverside except for the fact you need the resource pack which I just add into my already existing server resource pack as a requirement to join, could something like this be possible with this mod?

No, the mod adds a new entity so the game would complain when joining and without adding the mod to the client the game won't know how to render the entity


Glue standalone application to a device layer for POSIX platforms

Problem
This patch glue standalone apps to a device layer. Examples of such standalone builds are the one produce by:

make -f Makefile-Standalone
examples/chip-tool (which use config/standalone)
examples/shell (which use config/standalone)

I have added a few missing headers in src/platform/Makefile.am

@vivien-apple build failure

This seems to be the first version that has a diffable bloat report.
Is 14K really correct? Is the minus correct? I see only addition - I wonder if our bot does things backwards.
@vivien-apple - do you think a large BSS size change is expected from this PR? Is a 'decrease' correct?

@vivien-apple Seems to be breaking builds still :(

@vivien-apple Seems to be breaking builds still :(

Sorry about that and my also for the way I have used the CI.
There are some differences between the CI and the VSCode container when it comes to build the dist package related to the ot-br-posix dependency.
I finally found a way to get the build system happy locally but I will open a specific bug for this issue as it is unclear to me what it works on CI and not on VSCode.

This seems to be the first version that has a diffable bloat report.
Is 14K really correct? Is the minus correct? I see only addition - I wonder if our bot does things backwards.
@vivien-apple - do you think a large BSS size change is expected from this PR? Is a 'decrease' correct?

It was not expected. But the configuration of the demo build may have changed with the platform config flags in src/platform and something could have been disabled.


[Optimizer] Refactor legal gird analysis

PR contains the following:

Rename to LegalLayoutAnalysis
Add generation of both TILE and ROW_MAJOR layouts

Keep ROW_MAJOR disabled by default and add flag to enable when needed

Explicitly generate all layout related parameters (except for data format).
Adjust overrides to support partial output layout instead of every param (e.g. only override buffer type (dram / l1)
Clean up optimizer mlir tests

Left to do:

Add cpp unit tests for analysis and overrides
Add more partial override tests

@nsmithtt @tapspatel @vprajapati-tt Can someone take a look at the PR, your approval is required. I think that the only change not reviewed is this file https://github.com/tenstorrent/tt-mlir/pull/1363/files#diff-694f570cfe79f8e3130bde9637283269c8c33048a68ce3b3fd15be810b11d961
Will update codeowners for this in the future.


"Copy to clipboard" releals OTP tokens

Yubico Authenticator version: 5.1.0
Operating system and version: Linux 5.17.7-arch1-2 GNU/Linux
YubiKey model and version: 5
Bug description summary:

When I click the "Copy to clipboard" option and tap the yubikey, the code is shown on screen too. There is not point in showing the code, and it's a risk to display a secret when the user has not chosen to have it displayed. If I want to log into a website while screen sharing, this leaks the OTP. There is no reason to even display the code unless the user explicitly requests it.
Steps to reproduce

Right click on any entry
Pick "Copy to clipboard"
Tap the Yubikey.

Expected result
The code should just be copied to the clipboard.
Actual results
The code is copied to clipboard, and is also shown on screen for anyone that's around to be able to see it.

Considering the OTP is single use and intended as a second factor, we don't see much benefit in hiding the code in this case. We will look into it further and might implement this or something similar in the future if there is sufficient demand for it. In general, I would recommend not logging in to sites while sharing your screen.

I'm not suggesting to take extra action to hide it, I'm rather suggesting NOT revealing it.
I can avoid screen sharing, but I can't avoid using my laptop in public.
As a password manager, I think the primary focus should be "don't expose secrets unless needed". I don't see any reason to expose the codes in this case. What's the rationale for showing them without the user explicitly requesting this?
25 May 2022 10:05:55 Dennis Fokin @.***>:

Closed #795[https://github.com/Yubico/yubioath-desktop/issues/795] as completed.
—
Reply to this email directly, view it on GitHub[https://github.com/Yubico/yubioath-desktop/issues/795#event-6675520729], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAFSNOYQTIC7RG45K5GEHXLVLXNODANCNFSM5WRUWZNQ].
You are receiving this because you authored the thread.[Tracking image][https://github.com/notifications/beacon/AAFSNO442PMJAO6WGAOMHHTVLXNODA5CNFSM5WRUWZN2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGPAAAAAAMN4RONS.gif]


Fixed missing temporaries Dispose in Sequential.forward()

Also updated README and azure-pipelines.yaml.

Some notes for @NiklasGustafsson :)
## Technique 2. Explicit disposal

In this technique specific tensors (CPU and GPU) are explicitly disposed
using `using` in C# or explicit calls to `System.IDisposable.Dispose()`.

👍 Specific lifetime management of all resources.

👎 Cumbersome, requiring lots of using statements in your code.

👎 You must know when to dispose.

👎 To maximize the benefit, you may have to store all temporaries to variables and dispose.

In TorchSharp tensor programming, the .NET Tensor objects are "tensor handles" that are like shared pointers to an underlying C++ tensor. Reference counting is used to the underlying tensor. Each "tensor handle" can only be disposed once. For this reason, to write .NET code that accurately disposes of tensors requires some care. These are the rules you need to know:

* All Tensor functions and "forward" functions in TorchSharp itself always return fresh tensor handles that you may dispose. This applies even to in-place mutating operations such as `left.add_(right, alpha)`.
* Our intention is that exceptions to this rule will always noted in the documentation - one example is `model.parameters()`.  Furthermore
* If writing your own tensor functions, and you need to return one of the inputs, you can use `t.alias()` (TBD)
* Disposing a tensor only releases the underlying storage if this is the last live TorchTensor which has a view on that tensor -- the native runtime does reference counting of tensors.

Examples:

```fsharp

let myTensorFunction0(input: Tensor) =
    input.alias()

let myTensorFunction1() =
    if today then
       table[4].alias()
    else
       table[5].alias()

let myTensorFunction2(input: Tensor) =
    input.add(tensor(1))

let myTensorFunction3(input: Tensor) =
    use tmp = input.add(tensor(1))
    tmp.add(tensor(1))

let myTensorFunction4(input: Tensor) =
    use tmp1 = input.add(tensor(1))
    use tmp2 = input.add(tensor(1))
    tmp2.add(tensor(1))

let myTensorFunction5(go: bool, input: Tensor) =
    if go then
        use tmp1 = input.add(tensor(1))
        use tmp2 = input.add(tensor(1))
        tmp2.add(tensor(1))
    else
        input.alias()

let myTensorFunction5(go: bool, input: Tensor) =
    if go then
        use tmp1 = input.add_(tensor(1))  // NOTE: even for in-place mutations
        use tmp2 = input.add_(tensor(1))  // NOTE: even for in-place mutations
        tmp2.add(tensor(1))
    else
        input.alias()


docs: add Daft integration

This adds an integration page for using Delta Lake with Daft.

Not so sure about promoting daft here, they collect telemetry by default...

Seems like their telemetry gathering is responsible, but open to thoughts: https://www.getdaft.io/projects/docs/en/latest/faq/telemetry.html

I don't really agree, no one is going to know telemetry is on when you pip install it.
They likely also violate laws and regulations for users falling under GDPR regulation

@ion-elgreco - I don't think that non-identifiable data falls under the scope of GDPR.

Hey folks! I'm one of the maintainers of the Daft project, just chiming in here to help clarify some of the work in Daft.
All telemetry collected is non-identifiable, which should not fall in scope of GDPR.
We also noticed that other frameworks which delta-rs already integrates with and currently includes in its documentation also do collect telemetry (though maybe they are not as public as we are so it is less discoverable).

Ray: https://docs.ray.io/en/latest/cluster/usage-stats.html
Dagster: https://docs.dagster.io/about/telemetry

I think that this is important to call out because I wanted to keep discussions on this PR related to the integrations with Daft, and perhaps if the Delta project needs to discuss its stance on its integrations' telemetry policies that can be discussed in a separate thread/issue?
Happy to provide any more clarifications if necessary!

Hey @ion-elgreco @MrPowers - curious on how we can best proceed here? Would be great to get the integration docs in so that folks who read this new Delta blog can access the relevant documentation :)

I would rather see a mention on all these integrations that they collect telemetry which can be opted out from, just a small note at the bottom..

@ion-elgreco - that seems fine to me. Perhaps out of scope for this PR since it will affect the docs for the other integration techs too?

@ion-elgreco I've gone ahead and added a note at the end. LMK what you think :)

Thanks for your help getting this through @ion-elgreco!


Release a new scVI version

Here are the last steps before the next release:

[x] autotune fixes
[x] autotune notebook
[ ] Update docs (when all is done)
[ ] rerun all notebooks and commit them
[ ] update bioconda

@gabmis edit if you think of anything else, thanks!

@romain-lopez @gabmis Do we want release 0.4 as is? Or make other changes first?

I'm not sure much is left to do !

As is sounds good to me!

I can run tox and push the new version. Let me know if there is anything special I should watch for. Will do that tomorrow.

Sounds good, thanks Romain.

done

Is it released on bioconda?

some problem with the build, I'll resolve that later today :)


[#151316420] Upgrade Ruby from 2.3.4 to 2.3.5

Coverage remained the same at 100.0% when pulling 3de964b1682923ae145d2a6cec50827b3516757b on nick/ruby-2.3.5 into 82d732ab122b29944780129d5b90864a83dc9c9d on master.

Coverage remained the same at 100.0% when pulling bd8ca9dfec3b52e6d41bb6194c67ba05428d4344 on nick/ruby-2.3.5 into 82d732ab122b29944780129d5b90864a83dc9c9d on master.


Modal mixin doesn't work

The code
 button.btn.btn-primary(data-toggle="modal",data-target="#myModal") Launch demo modal
 +modal("Modal title","myModal")
	p This is modal content

doesn't work

Thanks for raising this issue and apologies for the slow reply.
The issue was that the modal mixin was not fixed up to use the new pug syntax for local variables - this is fixed in commit 10b5df6a94da141b946c1f46819a33097813ef60 and in the latest npm package (0.0.3)


Implement DCS API

Implement the DCS api for reciving keywords JSON from the API using the route /keywords.

Implement the DCS api for reciving contra-keywords JSON from the API using the route /contra too.

Api implemented!

PS: Keywords has moved to the API
https://github.com/Paique/DesClientSider-API/blob/main/recommended_keywords.txt


Gather-pq-parts takes a while

I'm reading a large parquet dataset with 128 MiB files and finding that gather-pq-parts takes a while when first creating the dataset.  I'm wondering under what conditions this is triggered.  I tried looking through the code, but it was fairly complex.
@rjzamora any help?

https://github.com/dask-contrib/dask-expr/issues/363
I think that's the reason

Regardless, we should probably find a better name for gather-pq-parts.  These keynames are user-facing.


fix: typos in documentation files

This pull request contains changes to improve clarity, correctness and structure.
Description correction:
Corrected "specifity" to "specificity".
Corrected "Metadatax" to "Metadata".
Please review the changes and let me know if any additional changes are needed.

ty

what do you mean?

ty

what do you mean?

"thank you"
you need to fix formatting btw

@Eikix Hello, I have made the corrections. Could you please check them?

@Eikix Hi, can I create a new pull request with the typo fixes that were mentioned above and also fix formatting btw?


How to completely track entities manually? - Update Documentation

This document explains the following:

If you disable automatic detect changes then you must ensure that DetectChanges() is called when entity instances have been modified. Failure to do so may result in some changes not being persisted during SaveChanges() or out-of-date change tracking information being returned.

If you have to call DetectChanges anyways, then what's the point of turning off AutoDetectChangesEnabled?
I have been using context.Entry(entity).State = DesiredState in a long running batch process that needs to run quickly. For the most, it seems to behave correctly (there has been some weirdness in some places). I don't call DetectChanges at all.
Is this a supported way to manually track entities? I'd much rather manually track entities than have ef core infer what I want to do (which is not always right by the way).
I also specifically don't want to track entities relates to the current entity that I am tracking. Most of my entities are there just for cache and don't need to be referenced by the change tracker to speed up saving, context.Entry(entity).State = DesiredState seems to prevent the auto detection of navigation properties which is what I want.
Is this a proper way of using ef core? If it is then this documentation should be updated to reflect it. A larger article about manually change tracking should be written as well and linked to from here.

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

ID: 71dbac6c-3e0b-4986-e6de-20c9b24d3943
Version Independent ID: b09d66fc-deef-9ae3-5048-1b27144df4ef
Content: ChangeTracker.AutoDetectChangesEnabled Property (Microsoft.EntityFrameworkCore.ChangeTracking)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore.ChangeTracking/ChangeTracker.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

Edit:
I found that checking the state of an entity calls DetectChanges which then traverses to it's related entities and marks them as modified. How can this be prevented?
Context.Entry(someEntity).State != EntityState.Added

class SomeEntity {
SomeOtherEntity SomeOtherEntity{get;set;} -> set to a reference
int SomeOtherEntityId {get;set;} -> set to a value
}
I don't want SomeOtherEntity to be read at all by the change tracker. It needs to be read in other contexts but not in this one. How can this be done?

@jasekiw If all changes made to an entity are done through EF API calls, then DetectChanges is not needed and need not be called either automatically or otherwise. However, doing this requires care--it is easy to get the graph of entities into an inconsistent state.

@ajcvickers

Edit: I found that checking the state of an entity calls DetectChanges which then traverses to it's related entities and marks them as modified. How can this be prevented?
Context.Entry(someEntity).State != EntityState.Added

class SomeEntity {
SomeOtherEntity SomeOtherEntity{get;set;} -> set to a reference int SomeOtherEntityId {get;set;} -> set to a value }
I don't want SomeOtherEntity to be read at all by the change tracker. It needs to be read in other contexts but not in this one. How can this be done?

I am okay with possibly getting into an inconsistent state. This is how things were managed before EF came along anyways.
I wonder why however that when the following is called, DetectChanges is called even though AutoDetectChangesEnabled is set to false?
Context.Entry(someEntity).State != EntityState.Added

What api calls do I need to call in order to prevent EF core from detecting it's own changes?
Simply doing this:
context.Entry(entity).State = DesiredState

is not enough as found from my previous post.

@jasekiw Looks like that is a bug; I filed https://github.com/dotnet/efcore/issues/27389


[3.0pts] Add authentication to your rails app

Add authentication to the application using an authentication tool

Helpful resources
https://stackoverflow.com/questions/68095388/devise-authenticate-with-just-username-only-instead-of-email
https://enlear.academy/how-to-create-a-rails-6-api-with-devise-jwt-46fa35085e85
https://stackoverflow.com/questions/37582444/jwt-vs-cookies-for-token-based-authentication


Update CONTRIBUTING.md

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1715   +/-   ##
=========================================
  Coverage     76.16%   76.16%
  Complexity     1856     1856
=========================================
  Files           328      328
  Lines          5508     5508
  Branches       1009     1009
=========================================
  Hits           4195     4195
  Misses          773      773
  Partials        540      540

Continue to review full report at Codecov.

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


Filter for 'didn't unfurl' messages in slack output.

If Slack sees the same URL frequently, it won't unfurl them.
When using Direct Messaging to the bot, this will cause the
"Didn't unfurl..." message to be sent to Watson conversation,
and will cause a cascade of errors.
Closes: #107

This looks like a good short-term fix for the problem with a tech-talk coming soon. Longer-term I think I'd prefer the filtering in parse_slack_output and a broader filter for all is_ephemeral messages -- but that needs a little more investigation and can be deferred.

Yes, for some reason the filters in parse_slack_output kept failing.
On Aug 28, 2017 3:35 PM, "Mark Sturdevant"<EMAIL_ADDRESS>wrote:

This looks like a good short-term fix for the problem with a tech-talk
coming soon. Longer-term I think I'd prefer the filtering in
parse_slack_output and a broader filter for all is_ephemeral messages --
but that needs a little more investigation and can be deferred.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IBM/watson-online-store/pull/108#issuecomment-325489465,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AN-P_KB6OCtxcUADLRN11aQmnAM5rqcvks5sczKOgaJpZM4PFF4Y
.


"docker": executable file not found in $PATH

Fairly straighforward looking problem but can't find the root of the issue
When creating a new mutagen link with mutagen create apps/appname.app docker://containername/opt/appname.app i get Connecting to agent (POSIX)... Error: create failed: unable to connect to beta: unable to connect to endpoint: unable to create agent command: unable to probe container: container probing failed under POSIX hypothesis (exec: "docker": executable file not found in $PATH) and Windows hypothesis (exec: "docker": executable file not found in $PATH)
I'm on infamous Docker For Mac.
Anyone have stumbled upon that problem?

What do you see on the command line when you run which docker?  What about echo "$PATH"?  Docker for Mac installed the Docker executable to /usr/local/bin on my system, which should be in $PATH by default.

Is there any chance you've done something like
export PATH="..."

as opposed to
export PATH="...:$PATH"

in your ~/.profile?  Perhaps it's wiping out the default system paths?

Man you are fast.
docker is in /usr/local/bin/docker
echo $PATH outputs /Users/jrompca/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I am using OhMyZsh so that might be a hint but can't find anything wiping my $PATH in scripts

Hmmm, interesting.  So the $PATH looks right... I'm not sure why Mutagen (or rather the Go runtime) can't locate the docker command given that /usr/local/bin is in there.
I've never used OhMyZsh, so I'm not too familiar with it.  There is this little blurb in the documentation about paths, but it seems like your $PATH is already correct, so I doubt that's the culprit.
Are you launching the daemon manually with mutagen daemon start or via the launchd mechanism (with mutagen daemon register)?
As a quick sanity check, you could try doing mutagen daemon stop, then on the command line where you're able to run docker, do mutagen daemon run.  This is a hidden command that runs the daemon in the foreground.  That should cause it to inherit the exact same environment as the command line, so it should be able to find docker then.

It was apparently a problem with the launchd mechanism. When i stopped and run the daemon manually the mutagen create worked like a charm.
Should i be worried about it only when creating new links? Or should i repeat the process every time i boot the laptop?

Okay, that explains it then.  It seems that launchd adds /usr/bin to $PATH for the processes that it launches, but not /usr/local/bin.  I hadn't actually tested the combination of launchd-started-daemon and Docker-based session.  I have done it with SSH-based sessions, but that works because ssh and scp exist in /usr/bin.  I've just tried with a Docker-based session and was able to reproduce the issue.
So the best thing to do for the time being would just be to add mutagen daemon start to your shell initialization scripts (or invoke it manually).  It's idempotent and fast, so you can run it every time you open a shell.  Just make sure you've unregistered launchd-based startup, but it sounds like you already have.
Let me think about how exactly I want to tackle this.  The launchd support is still an experimental part of Mutagen, and really it's more of a stop-gap procedure until Mutagen has a tray-based app or something similar that can launch the daemon though more user-friendly mechanisms.  On the other hand, Mutagen needs to be a little bit smarter about searching for the docker executable, perhaps with a white-listed set of search paths (like it uses for SSH on Windows), and/or an environment variable (like the MUTAGEN_SSH_PATH variable added in v0.8.0).
If you don't mind, I'm going to re-title the issue for now.  Thanks for reporting this!


Id3

confirmed:ID3
DocumentType:verified
Nationality:verified
DeviceDetails:verified
Experience:verified
Screenshot:verified

confirmed:ID3
DocumentType:verified
Nationality:verified
DeviceDetails:verified
Experience:verified
Screenshot:verified


Augments colcon pkg with dependencies from pyproject file.

Related to #37
Summary
This PR introduces the ability to indicate the colcon/ros dependencies of the project via the pyproject.toml file.
Otherwise, dependencies for the package aren't loaded up, and the ordering when building isn't respected
Use
Add to pyproject.toml the following section:
[colcon-package]
depend = ["another_pkg_1"]   # This will add to both `build_depend` and `exec_depend` following `package.xml` standards
build_depend = ["another_pkg_2"]
exec_depend = ["another_pkg_3"]
test_depend = ["another_pkg_4"]

Thanks @velovix for the prompt review and merge and also for adding documentation I missed. 💯
Are you planning a patch/minor release shortly to incorporate this changes?


Revert the snapshots.

There was a bad visual diff I checked in while fighting the snapshotter.

main is obviously broken before -- the only change is the PNG test vectors which are wrong back to pre-wrong. Landing before CI runs.


ERROR tests_gripper/test_sim.py - AttributeError: 'str' object has no attribute 'decode'

Hi,
When I run "pytest  tests_gripper" command, the following error is occurred.
I checked test_sim.py but I can't find decode attribute.
Would you give me some guide or tips to solve this error?

Running PC Environment
Windows 10 pro, 64G RAM
NVIDIA RTX 3080
miniconda

All packages are successfully installed.

Error messages

============================================== short test summary info ==============================================
ERROR tests_gripper/test_sim.py - AttributeError: 'str' object has no attribute 'decode'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=========================================== 17 warnings, 1 error in 4.07s ===========================================
argv[0]=
argv[0]=
argv[0]=
argv[0]=

You are right the tests are failing. You are welcome to fix them :)


Allow users to change menu show delay

I'm looking for a way to change the menu show delay.
https://github.com/AvaloniaUI/Avalonia/pull/6392
I saw that a previous PR had changed DefaultMenuInteractionHandler.MenuShowDelay to public.
https://github.com/AvaloniaUI/Avalonia/pull/6438
But then another PR changed it back.
Or is there any other way to change the menu show delay?

@WillisXue why do we need a show delay for a Menu? Most likely the user requests the Menu and it should be there without a delay imo. For a ToolTip it is a different story.
Do you have a concrete use-case for us to evaluate?

@timunie You are right, but now the menu is not displayed immediately. DefaultMenuInteractionHandler.MenuShowDelay has a delay of 400 milliseconds by default, which does not feel so smooth. I want to change it to 20 milliseconds.

I found a solution
public class MenuFlyoutEx:MenuFlyout
{
    protected override Control CreatePresenter()
    {
        return new MenuFlyoutPresenter(new DefaultMenuInteractionHandler(true,null, (action,timeSpan) =>
        {
            DispatcherTimer.RunOnce(action, TimeSpan.FromMilliseconds(20));
        }))
        {
            ItemsSource = Items,
            [!ItemsControl.ItemTemplateProperty] = this[!ItemTemplateProperty],
            [!ItemsControl.ItemContainerThemeProperty] = this[!ItemContainerThemeProperty],
        };
    }
}

@WillisXue glad to hear you found a work around. But in the same time I have to say that I understand your original issue now better. Let's keep this ticket open until the team decides how to proceed with this. If we get the okay to do, would you be willing to file the needed PR?
/cc @avaloniaui-team any thoughts?

If possible, I can submit a PR. I just want to change MenuShowDelay to public as before.


[1.7.10] SAG Mill creates infinite Matter Overdrive Tritanium

Matter Overdrive Tritanium Plates cost two ingots to craft, and mill into three dust.

EnderIO: <IP_ADDRESS>6_beta
EnderCore: <IP_ADDRESS>_beta
Minecraft: 1.7.10
Forge: <IP_ADDRESS>4

We don't have any recipes for any item with "matter", "over" or "trit" in its name.

This may be the Matter Overdrive mod injecting their own recipe, then.
Will do some detective work.
On Sun, Jun 26, 2016 at 1:43 AM, Henry Loenwind<EMAIL_ADDRESS>wrote:

We don't have any recipes for any item with "matter", "over" or "trit" in
its name.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SleepyTrousers/EnderIO/issues/3448#issuecomment-228577879,
or mute the thread
https://github.com/notifications/unsubscribe/ATLk2uJ5zuYjuRDYWLt_yFih2ejIvmZqks5qPcs7gaJpZM4I-dUb
.

I can confirm this happens, with version 0.4.1 (latest for 1.7.10, other than mysterious beta releases) of Matter Overdrive. Two Tritanium Ingots side-by-side to make a Tritanium Plate, which can be SAG-Mill'd into 3 Tritanium Dust.


[MS teams] Adaptive card image partially rendered in MS Teams

I'm generating dynamic images and include them as part of the adaptive card, the images are relatively small only 60kb, when I reply with the image for the first time, it's partially shown until I scroll up or leave the conversation I assume that triggers native update, as soon as image is cached it's loaded properly, the problem appears only with the first render
{
    "type": "AdaptiveCard",
    "version": "1.2",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "body": [
        {
            "type": "TextBlock",
            "text": "Any text",
            "wrap": true
        },
        {
            "type": "Image",
            "url": "https://806168b00b02.ngrok.io/myimage"
        }
    ]
}

This is critical for us since we rely on the images while interacting with the bot, very annoying and questionable
https://stackoverflow.com/questions/65336959/adaptive-card-image-partially-rendered-in-ms-teams

@siduppal  how does the image loading work here again - Isnt it the host app that actually downloads the actual image and performs the action in the callback? I dont see this issue repro on our designer for eg.. ?

@siduppal  how does the image loading work here again - Isnt it the host app that actually downloads the actual image and performs the action in the callback? I dont see this issue repro on our designer for eg.. ?

@stressedoutt : We have already created a bug for this issue and shell inform you once the fix is arrived.

@stressedoutt : We have already created a bug for this issue and shell inform you once the fix is arrived.

@Manish-MSFT - can you paste a bug link here so we can track? Thanks!

@paulcam206 : Sure, here is the Bug Id : 1443280,
This is still under investigation , We will let you know once it got fixed

Any update or ETA?

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/3510

Bug is Resolved now, we have tested this at our end. If you still face any issue please feel free to reopen the issue

Still seeing the same issue on Mac client


update TTS and transport output sample rate to 24000

I ran through a test of all of the services. They sound good!


test: fix flaky tracing test.

Fixes #2244.

The following test has failed:
  1) Aggregation queries
       Aggregation queries - sum / average using aggregate() api
         performs average of min IEEE754:

I'll rerun the integration tests.


[AREA]: Manage product lifecycle

Contact details
<EMAIL_ADDRESS>Organization type
Microsoft employee
End-to-end business process
Product and service lifecycle management
Specify the business process area name for the article.
Manage product lifecycle
Enter any additional comments or information you want us to know about this business process area.
Looking for volunteers to help
Specify the date you expect the article to be completed and ready for review.
9/30/2023
Code of Conduct

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

This was split into two L2.


Let Algolia to index text in `` code quoted blocks

🚀 Feature
I have followed the best practice and included all variables, CLI options, and all other technical words and text snippets into a singe or triple code quotes:
`example_variable`

Later I have enabled Algolia search and discovered that text in code blocks is not indexed by Algolia at all. Here is the example page from docusaurus docs https://v2.docusaurus.io/docs/cli/#docusaurus-build. Try to search by 'swizzleComponent' or 'bundle-analyzer' or any other text in code quotes => and watch that Algolia misses the related results.
I am not sure if it is something Docusaurus can do... However, I have not found a way to workaround it. Support from Algolia Docsearch recommended to move the text out of code block quotes, but it is not possible as code formatted / styled blocks exist for a valid purpose.
Have you read the Contributing Guidelines on issues?
Yes
Motivation
Enable better docs search
Pitch
If this feature is implemented, it will enable results for a search by variable / function names, which are frequently code-quoted in technical docs.

Hi
Recently opened a similar issue here: https://github.com/facebook/docusaurus/issues/3172
But Algolia does not recommend it: https://docsearch.algolia.com/docs/faq/#can-you-index-code-samples
We should definitively make all things searchable, but it looks like indexing code blocks is not the solution

If you really want this and come up with a PR with an opt-in option to index code blocks, I could merge this, but not confortable making this a default when it's not recommended

I think the code in single quotes does not cause a problem as the recommendation was likely provided for the multi-line code blocks. Single quote inline code strings are usually used for styling purposes and not for the purpose to provide comprehensive examples.
Multi-line code blocks could have per block opt-in option, for example searchable:
function sum(arg1, arg2) {
    return arg1 + arg2;
}

Makes sense?

@avkonst the Docusaurus v2 algolia config is open-source: https://github.com/algolia/docsearch-configs/blob/master/configs/docusaurus-2.json
Feel free to submit a PR if you think it can improve the indexation, or discuss with @s-pace from Algolia.
Unfortunately, I'm not very familiar with all that, and can't dedicate too much time on this, as I need to work on i18n support

Thanks. I have found a config for my project too, but do not understand it
too. I guess I will workaround it somehow.
On Thu, 6 Aug 2020, 05:08 Sébastien Lorber<EMAIL_ADDRESS>wrote:

@avkonst https://github.com/avkonst the Docusaurus v2 algolia config is
open-source:
https://github.com/algolia/docsearch-configs/blob/master/configs/docusaurus-2.json
Feel free to submit a PR if you think it can improve the indexation, or
discuss with @s-pace https://github.com/s-pace from Algolia.
Unfortunately, I'm not very familiar with all that, and can't dedicate too
much time on this, as I need to work on i18n support
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/docusaurus/issues/3203#issuecomment-669315925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6JSVN6EMJCQLXCEBCFXQ3R7GGZNANCNFSM4PT3QPMA
.


how Building

how Building

I haven't tried that for myself, but:

There is a page, https://github.com/google/lullaby/blob/master/g3doc/building_github.md which states project dependencies.
For build process I believe bazel is used.

Hope that helps

As @anxolerd says, the project uses bazel.
Specifically, to build the "core" lullaby libraries, you can do:
bazel build lullaby/util/.. lullaby/modules/... lullaby/systems/... lullaby/events/... lullaby/contrib/...
To build the tools, you can do:
bazel build lullaby/tools...
Note that you may need to install the libfbxsdk for some of the tools to build.
To run the tests, you can do:
bazel test lullaby/tests/...
The other projects (eg. examples, viewer) currently do not build.

i got this error when building hello_world and hello_model on mac
ERROR: error loading package 'lullaby/examples/hello_world/data': Extension file not found. Unable to load package for '//tools/build_defs/jsonnet:jsonnet.bzl': BUILD file not found on package path

Hi,
which version of bazel is right?


[Snyk] Fix for 14 vulnerabilities

Snyk has created this PR to fix 14 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Code Injection SNYK-JS-LODASH-1040724
  239

Cross-site Scripting (XSS) npm:sanitize-html:20161026
  179

Prototype Pollution SNYK-JS-LODASH-6139239
  170

Regular Expression Denial of Service (ReDoS) SNYK-JS-ANSIREGEX-1583908
  159

Prototype Pollution SNYK-JS-LODASH-450202
  152

Prototype Pollution SNYK-JS-LODASH-608086
  150

Prototype Pollution SNYK-JS-LODASH-73638
  149

Prototype Pollution npm:lodash:20180130
  140

Regular Expression Denial of Service (ReDoS) SNYK-JS-LODASH-73639
  133

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
  131

Access Restriction Bypass SNYK-JS-SANITIZEHTML-1070786
  106

Regular Expression Denial of Service (ReDoS) SNYK-JS-LODASH-1018905
  63

Cross-site Scripting (XSS) npm:sanitize-html:20160801
  48

Cross-site Scripting (XSS) npm:sanitize-html:20141024
  46

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Code Injection
🦉 Prototype Pollution
🦉 More lessons are available in Snyk Learn

ta


Update to Collector v0.28.0

Closes #48
Addresses the breaking API change in
https://github.com/open-telemetry/opentelemetry-collector/pull/3163,
besides the usual version number changes.
Signed-off-by: Fangyi Zhou<EMAIL_ADDRESS>

Not sure why the integration tests are failing - it seems unrelated to my changes?


Adding .adoc files for documentation

Changes

Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[ ] Set a kind label on this PR
[ ] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes

@vinagarw272001 please provide some context on what are the intentions with this PR.

@qu1queee the context is having OpenShift technical writers using the repositories documentation as modules. These can be included on the product documentation later on, the new format adds a number of technical advantages when compared to markdown.


FBManager.Events undefine

I have a question ? when I npm install react-naitve-facebook-login , Should I setting the FBSDK in the xcode again ? i did all of it, add the info.plist,add the framework, when i use it ,first it have a warnning that is MFBLogin native component is does not exist,then i click the my button to facebook login page, it have a red screen error, it is ' FBManager.Events is undefine',please help,my react-native version is 0.47.1

Should be fixed as of 1.6.0

still seeing the same issue


Improve execution time of unit tests

Task linked: CU-864dxrw5k Investigar/implementar formas de otimizar o tempo para execução dos testes unitários com TestRunner

Coverage: 91.058% (+0.2%) from 90.9% when pulling 17b45ce841d2e32a928a8ac8ae1adb4b1cf1a713 on CU-864dxrw5k into 1f6ac9f85e0de351e77ea7aa81ff4dbea82dc374 on development.


Long label for custom file input overflows

There is already a Firefox-only report of this issue at https://github.com/twbs/bootstrap/issues/26933, however, it's been closed already and it seems still to be a problem in Bootstrap 4.3.1.
Operating system and version Windows 10
Browser and version: At least Chrome 74
Reduced test case: https://jsfiddle.net/vrawcu19/1/
This is especially a problem when using the recommended bs-custom-file-input plugin, as the label is dynamic in width (i.e., it is the file name) and the visual problem happens a lot when our customers select very long files or have narrow displays (e.g., some mobile displays).

This has been resolved for v5, but in v4, there is no common and easy solution.
https://github.com/twbs/bootstrap/issues/26933#issuecomment-468900825 is one of the workaround.
@MartijnCuppens Should we add #28511 to v4?

You can have a look at https://bs-custom-file-input.netlify.com/ for a solution for v4 (It's not perfect since it uses the .w-75 utility class and doesn't take the width of the button into account. You can also try to get the desired effect with padding or margin utilities.). Another solution would be a breaking change I guess.

You can have a look at https://bs-custom-file-input.netlify.com/ for a solution for v4 (It's not perfect since it uses the .w-75 utility class and doesn't take the width of the button into account.

I've showcased this in my test case above, this does not have the desired effect on very broad displays and also fails if the display is very narrow.

Another solution would be a breaking change I guess.
So this means no fix for v4? :(

Fixing this in v4 would be a breaking change. With a bit of additional css this can be fixed in your project for now.

Closing this as a wontfix.
Workarounds: https://codepen.io/anon/pen/GbMMrv


Arbitrary radix number parsing

Currently we only parse decimal quantities. Rust's native support for arbitrary-radix parsing is still unstable and cannot be easily made generic. As such, we will have to reimplement numeric parsing from the ground up.

This is incorrect. See: http://rust-num.github.io/num/num/trait.Num.html#tymethod.from_str_radix

b6dcf7d added this feature.


import memory_hooks

Reopen #483. We need this to merge #442.

I have no idea how to fix the import error in jenkins.

Please fix setup.py.
memory_hooks does not belong to CuPy packge.

Like this?
Adding cupy.memory_hooks resulted in error: package directory 'cupy/memory_hooks' does not exist.

Thanks, jenkins test was passed.

LGTM!


Crusher Stomp pierces walls

Damages marines through walls, simple as

intended

intended

I would argue it should be unintended then because it is quite simply unfair to marines

I can just camp outside their fortifications with 0 risk and drain their meds

Don't stand against the walls


Update Character “tiat-honorskull”

Automatically generated by Netlify CMS

👷 Deploy Preview for 4shame processing.

Name
Link

🔨 Latest commit
c01ccdba3a2b1fa1dd3549a491fa138f5de79245

🔍 Latest deploy log
https://app.netlify.com/sites/4shame/deploys/63d95fc26ff6ac000820e455


Button Messages not send

I tested your recent release but button messages not send from normal WhatsApp account.

For me also not working. it goes to waiting sign.

Same here


Missing link

[Enter feedback here]
Why is "ID2D1DCRenderTarget" not a hyperlink to whatever this thing is?

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

ID: 00146566-5ea9-fafa-fc39-c979cfba6716
Version Independent ID: e0a68a65-e3f9-5c2d-e5a1-cedc659e91d0
Content: CDCRenderTarget Class
Content Source: docs/mfc/reference/cdcrendertarget-class.md
Product: visual-cpp
Technology: cpp-mfc
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@supuflounder, thanks for pointing that out. I've added a link to the interface topic. Should be live by tomorrow afternoon (9/23)


[Feature Request] Show the top N grouped series and ordered by its value

Feature Request
Proposal:
Hi, i'm trying to figure out how to show the first N top series based on its value.
As an example: I have 10 series with the tags: tagA and it is having M possible values. I want to calculate the maximum on a period and grouping by the tagA, so M diferent series must be shown.
After that, I want to show only the N first result series based on its value.
In Graphite, you can do it with the statement:
highestAverage(seriesList, n)
Takes one metric or a wildcard seriesList followed by an integer N. Out of all metrics passed, draws only the top N metrics with the highest average value for the time period specified.

Example:

&target=highestAverage(server*.instance*.threads.busy,5)

I believe this would be addressed by the having syntax support.  #5266


src/eclingo/internal_states/init.py

Remove all content from this file.
Imports in other files may need to be added.
Those imports should be some of the imports removed from this file.

I've opened a pull request for this issue.
On the other hand, I have been getting some Session typecheked failed from running nox.

Do you know what it might be?

Yes, I solved it. You can close this issue too.


SkillApi docs and tests

Update SkillAPI docstrings
Add more explicit exception when requesting SkillAPI without bus
Add more test coverage for SkillApi class

Relates to https://github.com/OpenVoiceOS/skill-ovos-homescreen/pull/88


Fixing up Mock API tests post C# Beta.

Fixed up the PR to deserialize RestSharp responses, unwrap AggregateExceptions, and help pass back correct error code/messages for mock API tests that are testing error paths.


onSuggestionsFetchRequested invalid in 9.3.0

Hi.I just upgrade the new version 9.3.0 today. Find out that onSuggestionsFetchRequested not work anymore. The function don`t execute when input value changed. I have no idea why is this. but roll-back to version 9.1.0. It works again!
ps. I use webpack 3.0.0 just now.

Could you create a Codepen that demonstrates the issue please?


Uncaught (in promise) TypeError: Cannot read property '__eventTarget' of null

When using some type of charts such as GeoChart, the events implementation is throwing the following error:
Uncaught (in promise) TypeError: Cannot read property '__eventTarget' of null

After troubleshooting, it seems that when the chart type is GeoChart the component's data chart doesn't get set before the eventsBinder(self, self.chart, self.chartEvents) gets called.

google.visualization.events.addOneTimeListener(self.wrapper, 'ready', function () {
     self.chart = self.wrapper.getChart();
});

It seems with GeoChart this listener gets trigger late

Thanks for finding and debugging this! Just pushed a fix that should take care of this. Now it waits to bind events until the chart promise is resolved.

I'm getting the same error when setting a "select" event to a bar chart (material). I haven't tracked it down, but my first thought was that it might have something to do with loading data from remote? There's nothing to select when the component is mounted in this case.


Fix detached argument to actually store true and be false by default.

Current dependencies on/for this PR:

main

PR #163

PR #164   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 21, 11:04 AM: @rohinb2 started a stack merge that includes this pull request via Graphite.


Start adding I18n

Add i18n infra
This PR adds the i18n infra based on the Headlamp did i18n.

[x] t()/Trans used in all the components
[x] docs
[x] Make sure tests run (probably needs some jest configuration)
[x] lint and type check passes

With this PR it should run the same for users as Nebraska, except it will use the i18n infrastructure.
Further PRs will:

add other locales (this PR does not even have an 'en' locale).
add the locale selector into the UI

... but first a11y should be done, because that will likely add a bunch of strings.
How to use
make run-frontend
Testing done

existing specs pass
lint and typechecking passes
visually it looks similar

Yeah, I'll uncapitalize. I just matched them to the Capitalized folder names. Will add the make target too.

I rebased against master, fixed the cases, and added the make i18n target.


multipolygon support

I think this may have been raised some years ago,
it appears that for type object/geojson under FENCE only simple polygons are allowed, is there a plan to include multipolygons ? i.e. a doughnut?
Cheers

i am fairly certain that this has been addressed previously in #664. the issue was with one of Tile38 upstream packages.
can you share an example that does not work for you?

Thanks Ben,
You are right, looking at your example i can see how it can work.
I used a multipart geometry, changing it to a singlepart did the trick and i was able to add it.
I have to run a few more tests to be sure that it does what i need it to do.
Thank you for your quick reply, great piece of work!
Thanks
Uwe

On 20 Apr 2023, at 3:46 pm, Ben @.***> wrote

i am fairly certain that this has been addressed previously in #664. the issue was with one of Tile38 upstream packages.
can you share an example that does not work for you?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

found a work around with existing setup


[ARO] Fail if resource doesn't exist on delete

Description
If someone calls az aro delete on a non-existing resource, print out a helpful error instead of a stack trace.
#18501
Testing Guide
az aro delete -g non-existing -n non-existing should now raise a ResourceNotFoundError

cc @mjudeikis @jewzaam

ARO

Please fix ci issues.

@kairu-ms

Please fix ci issues.

It keeps erroring out on quota issues.  Is there a way to increase quota for this to not happen?  I've attempted to amend and repush the same commit over 7 times now and it has failed every time on quota issues.

Resource quota of standardDSv3Family exceeded. Maximum allowed: 500, Current in use: 482, Additional requested: 36.

@kairu-ms

Please fix ci issues.

It keeps erroring out on quota issues. Is there a way to increase quota for this to not happen? I've attempted to amend and repush the same commit over 7 times now and it has failed every time on quota issues.

Resource quota of standardDSv3Family exceeded. Maximum allowed: 500, Current in use: 482, Additional requested: 36.

I think this error message is from service response. Was this test passed in live mode on your machine?

@kairu-ms

Please fix ci issues.

It keeps erroring out on quota issues. Is there a way to increase quota for this to not happen? I've attempted to amend and repush the same commit over 7 times now and it has failed every time on quota issues.

Resource quota of standardDSv3Family exceeded. Maximum allowed: 500, Current in use: 482, Additional requested: 36.

I think this error message is from service response. Was this test passed in live mode on your machine?

@kairu-ms
That was it.  Could've sworn they were all green when I pushed them originally.  Thanks for the help! :+1:


iCal load timeout not handled properly

When loading on a slow connection, or when the response timesout, the generated error is not handled properly.

This has been improved, temporarily by changing the whole loading process.  There is no longer any timeout period.  Text will be changed shortly to notify of loading status of events.


Radiobutton: Error HRESULT E_FAIL has been returned from a call to a COM component.

Describe the bug
Occasionally, when loading a view with a radiobutton on it, and the radiobutton is selected we get the following error message:
Error HRESULT E_FAIL has been returned from a call to a COM component.
The stacktrace:
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)    at ABI.Microsoft.UI.Xaml.Controls.Primitives.IToggleButtonMethods.set_IsChecked(IObjectReference _obj, Nullable1 value)
at Bronkhorst.FlowControl.Windows.Views.Controls.RadioButtonWithInput.XamlBindingSetters.Set_Microsoft_UI_Xaml_Controls_Primitives_ToggleButton_IsChecked(ToggleButton obj, Nullable1 value, String targetNullValue)    at Bronkhorst.FlowControl.Windows.Views.Controls.RadioButtonWithInput.RadioButtonWithInput_obj1_Bindings.Update_IsChecked(Boolean obj, Int32 phase)    at Bronkhorst.FlowControl.Windows.Views.Controls.RadioButtonWithInput.RadioButtonWithInput_obj1_Bindings.Update_(RadioButtonWithInput obj, Int32 phase)    at Bronkhorst.FlowControl.Windows.Views.Controls.RadioButtonWithInput.RadioButtonWithInput_obj1_Bindings.Update()    at Bronkhorst.FlowControl.Windows.Views.Controls.RadioButtonWithInput.RadioButtonWithInput_obj1_Bindings.Initialize()    at Bronkhorst.FlowControl.Windows.Views.Controls.RadioButtonWithInput.RadioButtonWithInput_obj1_Bindings.Loading(FrameworkElement src, Object data)    at ABI.Windows.Foundation.TypedEventHandler2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.g__Throw|20_0(Int32 hr)
at ABI.Windows.ApplicationModel.Core.IUnhandledErrorMethods.Propagate(IObjectReference _obj)
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelperWinUI.<.ctor>b__0_3(Object sender, UnhandledErrorDetectedEventArgs eventArgs)
--- End of stack trace from previous location ---
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelperWinUI.<.ctor>b__0_3(Object sender, UnhandledErrorDetectedEventArgs eventArgs)
at ABI.System.EventHandler1.Do_Abi_Invoke[TAbi](Void* thisPtr, IntPtr sender, TAbi args)
The radiobutton is part of a component we created which called "RadioButtonWithInput". (Which is a RadioButton with an InputBox next to it inside a grid)
If I don't use our own component and only use the RadioButton, I stop getting the error, but after a few reloading of the view the selected RadioButton no longer has text standing next to it, and at that point selecting one of the other radiobuttons will give me the same error, but the StackTrace property is "null".
This is how we add the RadioButtons tot he View:
`

<ItemsControl.ItemTemplate>

<RadioButton
Grid.Column="0"
GroupName="ControlSensorItems"
                            IsChecked="{Binding IsSelected, Mode=TwoWay}"
                            Content="{Binding Name}" />
                    </DataTemplate>
                </ItemsControl.ItemTemplate>
            </ItemsControl>`

Steps to reproduce the bug

Add a list of RadioButtons to the View
Have one of the RadioButtons as being selected
Repeatedly open and close the view
One of the above issue occurs usually within 10 attempts.

Expected behavior
No exception
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.3.3: 1.3.230724000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

@Joost-Jens-Luminis , thank you for reporting this. Without a repro app, it is unlikely to be actionable for us. Can you help provide a repro app for this issue?
In addition, consider checking if there is a stowed exception that provides more information. More info on stowed exceptions here: microsoft-ui-xaml/docs/debugging_crashes.md at main · microsoft/microsoft-ui-xaml (github.com)

I will attempt to create a repro app this week.

Reopening as we now have an internal repro for this.

This issue has been addressed and is scheduled for the next preview release of 1.6.
 When a radio button is named it is entered into an internal table that is searched when determining which button(s) to uncheck when a new button is checked. The entry stays in this table until the radio button is destructed, but with garbage collection it can stick around for a while after it been removed from the tree. So when you show/hide the view you can get multiple sets of radio buttons for the view in this internal table. This is handled correctly, except when the timing of garbage collection is just right. When garbage collection happens, it does so off the UI thread, so it only partially destructs the UI element and then schedules the rest of it to be done on the UI thread. If a check box checked changes comes in between when garbage collection has partially destructed the item, but the UI thread hasn't completed that destruction, the radio button code doesn't realize that even though it still exists, it is in a bad state that ultimately causes this crash. We have modified the process to no longer rely on any of the data that is partially destructed in garbage collection.

If anyone is reading this after October 2024, the issue did also appear affect the toggle control. Updating to 1.6 also seems to have solved the problem there too.


Mutation Testing in Python

Hi Team, Can we also get capability for mutation testing on Python code using Tools like MutPy. I did installed Mutpy ( pip install mupy) and then ran the testing, It succeeded, but could not get the extension for reporting.
Please advice.

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

ID: 2ca42420-9324-1988-16bd-501be69e278d
Version Independent ID: 400c0122-a0cc-bb52-b6cc-8aa93ff2c47a
Content: Build and test Python apps - Azure Pipelines
Content Source: docs/pipelines/ecosystems/python.md
Product: devops
Technology: devops-cicd-ecosystems
GitHub Login: @vtbassmatt
Microsoft Alias: macoope

Thank you for your feedback. We are closing this issue and directing you to file a feature request through our support web site: Azure DevOps Developer Community.


Update mooc_tier3_1_ml_sat_panegrossi_v4.ipynb

I have modified the command to install libraries

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

I have changes the command to install libraries


[WIP] Support recursive types

Let's think about grouping purescript type name and imports into a TypeInfo struct like purescript-bridge


Reddit posts no longer update

Last Reddit update on http://haskellnews.org/grouped was 3 weeks ago.

Related https://github.com/haskell-infra/hl/issues/155

The feed at https://www.reddit.com/r/haskell/.rss isn't considered a valid Atom feed due to missing the /feed/updated field.  I PM'd the developer in charge of it according to https://www.reddit.com/r/changelog/comments/428vdq/upcoming_reddit_change_switching_from_rss_20_to/.

The developer says that it's fixed but the change won't be live until Monday.

Any update on this?

Reddit has been fixed, however, the new format doesn't have a "description" field.  I believe "title" is equivalent.  I created PR #24 to accept either.

@herbertjones' PR was merged, so I'll close this.


Fix Airlock blocked functionality

PR for issue #1954
What is being addressed
Copying to blocked container was not happening due to some bugs. This PR has the fixes

/test

/test

/test


How to simulate change of Date on Simulator/Emulator

Description
Hello, I am trying to put up a test case which requires me to change the date and then open the app again to test my case. I did some research and see that iOS simulator date depends upon the HOST on which it runs. This makes it impossible to test such scenarios without impacting the machine running the simulator. I wanted to check if there is something I am missing here. Any suggestions will be appreciated.
Your environment
Detox version: 19.2
React Native version: 0.71
Node version: 16
Device model: iOS
OS: 16.4
Test-runner (select one): jest / other Jest

If this is a visual test, I can suggest: https://wix.github.io/Detox/docs/api/device/#devicesetstatusbar-ios-only
But if you really need to have another time (e.g. you use it in network requests or business logic), well, I can suggest just only mocking: https://wix.github.io/Detox/docs/guide/mocking .
You need to be creative here: create some TimeService class (or some timeUtils module) and use it instead of just calling Date.now or new Date(). Create an alternative implementation based on a hardcoded value, mock server or command-line argument (e.g. parse it via react-launch-arguments) using e.g. .e2e.ts extension. Build your app (or run Metro) with that extension override and that should be it.
I hope my team allows someday to merge backdoor feature here: https://github.com/wix/Detox/pull/3245
If it were functioning, you could implement a small handler inside your app and set time right from Detox tests as you go. Unfortunately, you'll have to make a bit longer way (I told you your current options above), but if you think that would be nice to have, please put thumbs up in #3245. I hope one day Amit and Asaf get convinced that the feature is very nice.

@abajajct have you found the elaborate answer by @noomorph sufficient? Could you nevertheless explain what changing the date is required for? Is it due to the visibility of the time (which is programmable in other ways) or is it related to the app itself / back-end service of some sort?

@d4vidi Hello, I want to test a date based application where from the day you start up, each day unlocks a new part of the application. @noomorph's answer is helpful and I really appreciate that but is there a more straightforward way to acheive this ?

@noomorph The approach you mentioned, would it allow me to change the date in between a running tests. For example: I start with today's date -> Perform fews steps -> Change Date -> Perform steps > Change date again

@abajajct, yes, why not?

@abajajct @noomorph the setStatusBar API changes only the date in the status bar (visually). Having a date-provider method and mocking it as Yarik mentioned sounds like a good approach here.
However, there might be a simple solution for that, but I haven't tried it yet.
Please try to set a TZ (timezone) arg under the launchArgs parameter on the launchApp API. This API is not documented by Apple and I can't guarantee it will work. See this S.O. answer: https://stackoverflow.com/a/60172985

@abajajct did my answer help you?


NFC: Fix indentation around the newly renamed LLVM_DEBUG macro.

Jordan used a sed command to rename DEBUG to LLVM_DEBUG. That caused some
lines to wrap and messed up indentiation for multi-line arguments.

@swift-ci please test


Fetch successful even when 404

We are using ampersand-models for a project and noticed that when the model called .fetch() it would return a success call even when the url route was a 404 (returned html not json or null).
This creates a redundant item without any data.
I created a test repo to explain the issue: https://github.com/stevelacy/ampersand-fetch-test
Could a param be added to determine what type of data was needed to be returned, and if not throw an error? Or check the body type to make sure it is json or null. (ampersand-sync)

Closing...


SNOW-1646711 Raise warning whenever MultiIndex is pulled in locally

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-1646711

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code

[ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing

[x] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency
[ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes.

Please describe how your code solves the related issue.

Raise a warning whenever a method pulls in a MultiIndex locally - this happens only once.

We can also add an improvement entry to the changelog for this.


feat(list): add ability to cycle list

This changes the List:next() and List:previous() implementations to use a custom
iterator that has the ability to cycle the underlying list. The semi-recursiveness
of these functions is replaced by a single iteration. Not entirely sure if this is incompatible
with some other use case, but from my testing and going through the code it should be fine :D.
Closes #27.

I just noticed that the iterator loses its correct position when going backwards in the list and expanding a file.

Works great so far!
I'll take some time to do more testing before merging, thank you!

Thanks for the quick reviews and the great plugin! Feel free to push and change whatever you feel like to this branch :)


Add Safety security test to Huskyci

It would be great if we could add a dependency check for python! A great candidate for that would be https://github.com/pyupio/safety !

This Issue was handled in #176 ! Thank's, @Krlier !


Add acceptance test: SD reloads known CSes

Do not review yet
This acceptance test will fail until https://github.com/scionproto/scion/issues/2056 is fixed.

This change is

a discussion (no related file):
Also changes SD's behavior to query the CS for crypto. I'll add this to the final commit message.


Update README.md

Added link to Go Joystick API

So cool, thanks!

@rakyll Thanks for awesome list.
If you'll get a minute https://github.com/sindresorhus/awesome/pull/318


startActivityForResult is depricated and app doesnot sign in

startActivityForResult is depricated and app doesnot sign in

@rupantar2002 we have replaced most (but not all) of the startActivityForResult usage in this codelab. Although it is deprecated, it still works.
Can you describe the sign-in error you're getting?

I couldn't sign-in either. My localhost address is <IP_ADDRESS>. Should I use this instead of <IP_ADDRESS>?
If I use <IP_ADDRESS> the sign-in progress takes a long time then fails. But if I use <IP_ADDRESS>, all the process ends in a blink of second but nothing happens..
I'm using Genymotion emulator in Linux.

The problem is Cleartext HTTP traffic not permitted. Adding android:usesCleartextTraffic="true" in manifest file solves the problem.


Load zip files directly

Many emulators do this already. Might as well give users what they expect.

Quick solution is simply do this in JS, but I think core should own this capability.


[suggestion] Make all permissions explicit

Feature request
I'd like Iroha 2 to remove all implicit permissions in favor of explicit ones.
What I mean by implicit?
I mean all permissions which are not represented by Permission Tokens. As an exmaple of these permissions can be the ability to mint/burn/unergister asset if user has registered it.
What I mean by explicit?
Permissions that are represented with Permission Tokens.
What we can do?
We can completely replace implicit permissions with explicit ones.
For example when user registers new asset definition they gets a lot of permission tokens which give them power to burn/mint it and etc.
Pros
Solves all problems described in Motivation section
Cons

No idea what to do with Revoke called by user on them-self. Looks like it stil should be always possible (at least in the default Permission Validators configuration we provide) and that means, it should be another implicit permisssion (see #3275 solution)
We just removed Permission Tokens hardcoding and now we should bring them back, because i.e. creating asset definition should also provide a lot of permissions, so it should be implemented in Register<AssetDefinition> isi. Or we can implelment it in Permission Validator, but that would be strange

Motivation
Current implementation with implicit permissions have the following problems:

Requires additional code in Permission Validators. Example: is_asset_creator() usage in validators
Users can't decline permissions they don't need. Example: asset definition creator want to prove that they won't be able to burn it from someone
Implicit permissions are not so clear and expectable. Example: as @mversic says here we used to have redundant permission granting it test, because we forgot about implicit permissions
As a follow up: hard to check for redundant tokens. Example: to make this possible we need to replicate the behaviour similar to additional code in Permission Validators but in another way, because in all Grant instructions we need to check this implicit conditions

Who can help?
@arjentix, @mversic, @appetrosyan

while this makes for a much more clear design my concern is of the impact this will have on the account size. This concern could be alleviated by using a set of predefined roles?

Considerations
1: Communication
As of now, we use Permission tokens as extras to inform our users that regular permission validation will make an exception for a rule. We understand that there are some rules implicit to the permission validators, and that those rules don't need to be repeated every time. Just because you don't have an explicit permission doesn't mean that you're not allowed to do something.
This is a sparse representation. It's economical with respect to both space used on the blockchain, and with respect to the user. Given that the representation is sparse users know that the permission tokens aren't the whole story, and that they need to consult the permission validator source code for the final source of truth.
If you added an explicit permission token for everything, the users assume that the system already knows what they would and would not be allowed to do. And this, given that the permission validators can change their minds on a whim, means that it's much harder to sync what's communicated to the user, and what's actually going to happen.
2: Storage
This is a minor point. In practice most graph visualisation libraries use a sparse representation even if they want to present a dense matrix. We could do something similar in the sense that the query that returns all permission tokens can also return the implicit permission tokens by running a dummy transaction through the permission validators and seeing which verdict was Allow and which was Deny.
In practice this is not possible, because our PermissionTokens are parametric, and so you'd have to return either all the possible accounts or some wildcard. Given that permission validators are turing complete, we can't even guarantee that the validator will return anything in a finite time.
And if we just store the tokens you open yet another can of worms.
3: Sync
The permission validator is the one thing that determines if a transaction passes or not. It is the final source of truth, and a permission token cannot be guaranteed to do anything. Referring to the same issue as with # Communication, in order to ensure that when an account has a permission token we should elaborate what that means.
It could so happen that having a permission token means that you can do something once only. How do you differentiate permission tokens that have an expiry date, or some complex background logic from other tokens which seem to be permanent. Adding extra data as in #3275 is not the solution, I'm afraid.
4: Runtime upgrade
If we grant all explicit permission tokens in genesis based on some static analysis of the permission validator (which is extra unnecessary work), you can also grant the permission tokens regularly by an admin account. Now imagine that after the upgrade permissions which were implicitly allowed are not implicitly denied. How do you differentiate which ones were granted automatically and which were added explicitly, without going through the entire blockchain history.
More importantly, if the explicit permission wasn't granted because someone already had an implicit permission how do you globally revoke a permission.
One issue that cropped up is what if an account has an implicit permission and someone else grants it explicitly? Well, the answer is, if the implicit permission got revoked by a runtime upgrade the explicit permission remains.
Conclusion
This is more likely a consideration for the RFC. We need to consider if we want to do it, and if we do, all of the above edge cases should be handled.


Allow windowed mode (not fullscreen-only)

Allow for windowed mode (and resizeable window size, not only fullscreen)

pressing Alt+Enter will disable fullscreen, and unity applications can be run in windowed mode by running them with -screen-fullscreen 0

However running with fullscreen disabled makes the interface quite unusable

I don't think that there is any reason for not making it windowed application.
I don't have unity or otherwise I would have done it myself after forking it.


playback error (code 5002) with on-demand profile in shaka player 2.0.0 beta

In dashjs 2.1.1, shaka player 1.6.5 both sets of video play without error 5002.
This dataset plays successfully:
succeded_dataset.zip
When i try to play this set of videos, error 5002 appears:
error_5002_dataset.zip
As we need support of multiperiods in our project, we cannot use version 1.6.5 of Shaka Player.
Can you estimate complexity of this bug?
Can you give estimation what is timeframe to fix this bug(how many days)?
I want to post all files here, but they are too large, so, here is links for google drive:
error_5002_dataset.zip
succeded_dataset.zip

Hi, the issue is the same as #348 (also see #341). We will have a patch up soon.

Hi, we pushed a change to fix #348. Please let us know if that resolves the issue. Thanks.

Hi, issue really fixed up! thanks a lot!


Feature request : Add animation in waving hand

Add animation in the above waving hand.

I want to work on this issue. Please assign me this task @Surajbokde sir.

Add animation in the above waving hand.

You are a part of DWOC right?

@smaranjitghose change label from dwoc to swoc . I am mentor at swoc so assign this issue to any contributor .

Add animation in the above waving hand.

Yes, I am a part of DWOC

@smaranjitghose change label from dwoc to swoc . I am mentor at swoc so assign this issue to any contributor .

Sure

@smaranjitghose change label from dwoc to swoc . I am mentor at swoc so assign this issue to any contributor .

SWOC and DWOC are running parallelly and we have many common participants. So as per the participants choice we can assign the label to the PRs. The issues are open to everyone

Can I Work on this ?

I want to work on this issue . Please assign me this task @anushbhatia

Isn't this wrong u r assigning task to someone and taking pr of other ?

Isn't this wrong u r assigning task to someone and taking pr of other ?

Ya, I agree it should not be done.
Since DWOC is already going on and SWoC contributions are counted from Jan 5, so I made an exception and have informed the person in their PR as well that this would not be entertained from next time.


Add description keyword filtering

Would be great to add keyword filtering for the description. This would help with collabs and unarchived streams that are not mentioned in the title all the time, but have a note in the description that would not be picked up by title filtering.
Thanks

Implemented in #21


[WIP] Read apps and resource from k8s, update UI watchers

This PR is an updated version of @jeff-phillips-18 work done here: https://github.com/opendatahub-io/odh-dashboard/pull/97
Depends on https://github.com/opendatahub-io/odh-manifests/pull/482
Fixes:
https://issues.redhat.com/browse/RHODS-1797
Analysis / Root cause:
Currently the ODH applications and resources are kept in this repo as yaml files read from the filesystem.
Solution Description:
With the applications and resources being installed by https://github.com/opendatahub-io/odh-manifests we can now read them from k8s rather than the file system.
Updating the UI watchers to reduce the number of redraws and create a watcher utility to reuse the fetch/compare/results logic.

Closing and going to reimplement instead of cherry picking.


Can model compression be used for GAN？

Thank you for a really great job!
For GAN there are generator and discriminator.I would like to ask if it is possible to use NNI for model compression for this group of networks

Hi @yy2016417 ,
Yes. Since most generative adversarial networks use Linear and Conv2d as their basic building blocks, you can apply NNI pruning and quantization tools to compress them. You can refer to here for examples of how to specify a config_list and use the tools provided by NNI.

Hi @yy2016417 ,
Yes. Since most generative adversarial networks use Linear and Conv2d as their basic building blocks, you can apply NNI pruning and quantization tools to compress them. You can refer to here for examples of how to specify a config_list and use the tools provided by NNI. Although we don't have an example for compressing GANs, the general process should be very similar.
As a side remark, I think only compressing the generator should be enough for most cases.

Thanks for your help !