Add bark into bettertransformer

What does this PR do?
This PR aims at integrating Bark, a TTS model, to bettertransformer.
The original bark implementation  uses SDPA to get significant speed improvement. An internal benchmark has also shown that transformers's Bark could greatly benefit from an integration into bettertransformer.
The two types of SelfAttention of the original Bark (causal self-attention and full self-attention) have been integrated into a single BarkSelfAttention class.
Bark was designed and trained by Suno-AI team and is made of 4 main components:

A semantic model  (also named text model), i.e a causal autoregressive transformer (GPT2-like), which takes into input a tokenized text
A coarse acoustics model (also named coarse model), also a causal autoregressive transformer, taking into input the results of the last model. It aims at regressing the first two audio codebooks necessary to encodec.
A fine acoustics model (fine model), this time a non-causal autoencoder transformer, which iteratively predicts the 6 last codebooks based on the sum of the previous codebooks embeddings.
having predicted 8 codebooks channels of encodec, Bark uses encodec to generate the output audio array.

TODO

[ ] Make sure that the current test list is relevant and that tests pass.
[ ] Make sure bark_wrapped_scaled_dot_product and BarkAttentionLayerBetterTransformer are well implemented.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Hi @fxmarty , I hope you are doing well!
I've updated the bark_wrapped_scaled_dot_product method and some of my code/comments, according to your comments!
I still get small numerical differences when testing fp16, though.
I investigated a bit, and found that it was due to small numerical differences between the original self-attention and flash attention which accumulate when passing through Bark's fine submodel (see here for an overview of Bark!) which, during the generation pass, adds its outputs again and again, amplifying the numerical differences.
I still have to check if it produces huge qualitative differences between the generated waveform, but I don't think it's possible to pass this test. WDYT?

Hey @fxmarty ,
Indeed I have no issues with fp32, the tests are running well!
I tried using the context manager, with no amelioration tbh. Also, the outputs are waveform, with low value (output_bt.abs().max()=0.26). Thus using the mean relative difference is giving higher results (around 0.7). Using mean difference it's around 0.015!
For now I've set the tests fp16 with a high tolerance on mean difference, they pass, but I can reconsider it if you want.

Hi @fxmarty,
I've corrected some of the code with respect to optimum recent changes!
Let me know if I can do anything else!

It's good thanks! Sorry for merging my PR first!


Fix InclusiveRepositoryContentDescriptor.includeGroupAndSubgroups

Using includeGroupAndSubgroups in exclusiveContent blocks breaks dependency resolution as upcall to other repositories not negated properly.
Fixes #26569

Thank you for your contribution!
Please add tests to cover your changes.


style: 变量调整

English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Built its own designer, fully self-validated

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Background and solution

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@jxhhdx 麻烦描述清楚修改的相关背景，是什么原因需要修改，为什么这样修改。

当前看是修改了一个单词拼写错误？

当前看是修改了一个单词拼写错误？

是的

当前看是修改了一个单词拼写错误？

是的

好的，感谢贡献


Set connection debug mode on StandardServiceContainer through class-w…

Alternative implementation of https://github.com/propelorm/Propel2/pull/1873, see discussion there

Codecov Report

Merging #1874 (9116629) into master (ba9abb9) will decrease coverage by 20.63%.
The diff coverage is 81.81%.

@@              Coverage Diff              @@
##             master    #1874       +/-   ##
=============================================
- Coverage     87.61%   66.97%   -20.64%
- Complexity     7807     7809        +2
=============================================
  Files           227      227
  Lines         21144    21064       -80
=============================================
- Hits          18525    14108     -4417
- Misses         2619     6956     +4337

Flag
Coverage Δ

5-max
66.97% <81.81%> (-20.64%)
:arrow_down:

7.4
66.97% <81.81%> (-20.64%)
:arrow_down:

agnostic
66.97% <81.81%> (+0.01%)
:arrow_up:

mysql
?

pgsql
?

sqlite
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ctiveQuery/QueryExecutor/AbstractQueryExecutor.php
52.94% <0.00%> (-47.06%)
:arrow_down:

...l/Runtime/Connection/ProfilerConnectionWrapper.php
0.00% <ø> (ø)

src/Propel/Runtime/Connection/StatementWrapper.php
39.58% <75.00%> (-22.92%)
:arrow_down:

...rc/Propel/Runtime/Connection/ConnectionWrapper.php
73.61% <77.77%> (-22.66%)
:arrow_down:

...time/ServiceContainer/StandardServiceContainer.php
87.16% <100.00%> (+0.54%)
:arrow_up:

src/Propel/Runtime/ActiveQuery/PropelQuery.php
0.00% <0.00%> (-100.00%)
:arrow_down:

...el/Runtime/Validator/Constraints/DateValidator.php
0.00% <0.00%> (-100.00%)
:arrow_down:

...nerator/Builder/Om/TableMapLoaderScriptBuilder.php
0.00% <0.00%> (-100.00%)
:arrow_down:

...ggregateColumn/AggregateColumnRelationBehavior.php
0.00% <0.00%> (-97.30%)
:arrow_down:

...e/ActiveQuery/SqlBuilder/InsertQuerySqlBuilder.php
0.00% <0.00%> (-96.16%)
:arrow_down:

... and 128 more

Continue to review full report at Codecov.

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

I am fine with this approach
As soon as we decided we should also adjust docs IMO.

Setting debug mode through the StandardServiceContainer now also allows to set the connection in profiler mode. Similarly to setting debug mode on the ConnectionWrapper, this is done through a static flag in ConnectionFactory.
This allows users to easily use profiled connections (which outputs query execution time) without having to  fumble around with Propel internals. Current method is:
        /** @var ConnectionManagerSingle */
        $manager = Propel::getServiceContainer()->getConnectionManager('default');
        $config  = $manager->getConfiguration();
        $config['classname'] = ProfilerConnectionWrapper::class;
        $manager->setConfiguration($config);


Allowing for custom name of the scratch buffer

For now, the scratch buffer is named __Scratch__
I would like to change that to gain support for the vim-markdown plugin by renaming it scratch.md for example.
I've seen in the code that it might be easily implementable if the name of a scratch buffer doesn't always have to be equal to __Scratch__
I will try to do a pull request as soon as possible.
Also, I might help you on other issues as I really like the concept of a scratch window for example for todo list perposes (which is why I wanted markdown in the first place)

Hi @Narice,

I would like to change that to gain support for the vim-markdown plugin by renaming it scratch.md for example.

Can you get the features you need by setting the buffer's filetype? (There is an option for this.)


Canton Lucerne data not open?

If you like issues with such titles better, be my guest.
https://github.com/openaddresses/openaddresses/commit/ff323780873165c8e4d2b333bf8ac0f8957bb9ac
The canton Lucerne has no open geo data of any kind, distribution of this violates numerous statues and laws.

Thanks for your helpful contribution, @simonpoole. We'll look into it!

I think this relates to the discussion we had regarding the model in US: if the data is available from a public access REST server on the official server of the canton, it should be possible to import this and remove it in case there is a request to do so.


Docker build fails on release

See log - https://github.com/UpstreamDataInc/goosebit/actions/runs/10709345170/job/29693758319

I assume GITHUB_REF_TYPE is not set to tag because the workflow is triggered by the completion of the PyPI workflow and no tag push. I will have to look into that tomorrow.


alias filtering example

It would be good to show an example where a specific certificate is selected from the keystore by specifying the certificate alias. I am not sure this certificate selection/filtering by alias actually works; I have a keystore containing multiple certificates, and sometimes spark ends up apparently selecting a self-signed PrivateKeyEntry certificate from the keystore instead of the properly signed cert despite the fact that I am passing in the certificate alias for the correctly signed cert.

Hi @mpkusnierz, I haven't touched this repo in 7 years. Maybe you want to come over to https://github.com/javalin/javalin and https://github.com/javalin/javalin-ssl ? 😊


Research patching ELF UPX

https://github.com/secretsquirrel/the-backdoor-factory#the-backdoor-factory-is-no-longer-maintained-or-supported


WorldEdit & Schematica incompatibilities

So, turns out, if you export schematics through world edit and load them with schematica, this can happen.

Same thing, if you save a schematic with Schematica and load it with WorldEdit:

So, I'm removing WorldEdit for now from the readme until someone figures it out

I was having trouble with this by saving things with schematica. Can't remember if I had world edit or not though. It was a little while ago.


Defund

Thanks for all your work! Can you add the city of Lansing as well as Brighton.

Hi @evelynn22, thanks for your interest in adding Brighton to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Messages should follow our email style guidelines. Remember that messages must be specific to your locale and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
There is an open request for Lansing at https://github.com/defund12/defund12.org/issues/979. If you have additional messaging you’d like to provide for Lansing, please do so at that issue.
Your request will be closed until you reply with the necessary content. Thank you!


[Feature request]: Add request body definition to custom endpoints

Package name
payload-openapi
Description
Hello !
I've noticed that the requestBody definition is not present in the custom endpoint definitions.
I looked at the code and indeed, it seems that they are not handled, whereas the generated endpoints do include the requestBody.
Any plan on supporting this soon ?
Thanks a lot

@teunmooij Can we have a review of the PR for this enhancement? Cheers!


Build tink project as prequisite to CLI tools

CLI tools depends on tink CLI.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.8

/lgtm


EVEREST-278: improve connection errors message

EVEREST-278
Check connection to Everest early

Codecov Report

Merging #107 (4bda492) into main (739e14a) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main    #107      +/-   ##
========================================
- Coverage   5.30%   5.25%   -0.05%
========================================
  Files         10      10
  Lines       2716    2739      +23
========================================
  Hits         144     144
- Misses      2550    2573      +23
  Partials      22      22

Files Changed
Coverage Δ

pkg/install/operators.go
5.11% <0.00%> (-0.19%)
:arrow_down:

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


[KO-111] Adding script to collect logs of Aerospike cluster

I think scraper not scrapper.

Done!

This will be converted to a tool and will be added in a different repo.


Update deepLearning.html

I added resources for deepLearning

Hey @prachi237
Just the way we had commented out books and videos to categorize, create a comment called github repo under which add the repositories as separate titles


Add O_NDELAY for apple

Thanks! Looks like CI is failing though?

I don't have any idea about the CI failing.
Maybe should I simply copy O_NONBLOCK value to O_NDELAY, instead of assigning?

@alexcrichton Any thought?

I've found that all I need is unification of BSD flags.
I'll make another PR for that.


AidStream producing empty file: one to watch (rare?)

AidStream produces empty file: error picked up by Rory via Validator (see screenshot below). Fixed by republishing but maybe one to watch. This was for http://www.aidstream.org/files/xml/ftm-291333-activities.xml

Aidstream has produced another empty file - https://aidstream.org/files/xml/redeenkind-activities.xml for Stichting Red een Kind
Are you able to investigate here?

Also Viva
https://aidstream.org/files/xml/viva-activities.xml


Adding songs to Now Playing changes the currently playing song

It shouldn't do that by default. Make it an option or something, maybe? It's annoying.

It looks like I got it fixed with this change:  d8b4a512a903f685f5be09e3ba3d68356225ac7e


Prevent dcos_vol_setup from formatting partitions while services are starting

High Level Description
This PR updates the dcos_vol_setup.service dependencies so that it starts as early as possible in the boot sequence. It also simplifies dcos_vol_setup.sh - the systemd manipulations and /var/log migration are no longer necessary now that dcos_vol_setup.service is running early.
Because dcos_vol_setup.service did not include DefaultDependencies=no, it was implicitly running with After=basic.target which is fairly late in the systemd targets. Many other services are started after basic.target - like dockerd and chrony - which in some cases were left in a bad state because file systems were being formatted while the services were initializing.
Coincidentally, dcos_vol_setup was failing prematurely because it was receiving SIGPIPE when trying to write to stdout/stderr when systemd-journald was restarted (https://bugs.freedesktop.org/show_bug.cgi?id=84923). systemd-journald was being restarted in two places:

dcos_vol_setup.sh - this PR removes all systemctl usage from dcos_vol_setup.sh
cloud-final.service - the userdata generated by dcos_generate_config.sh --aws-cloudformation includes a runcmd directive systemctl restart systemd-journald:

"runcmd":
- - |-
    systemctl
  - |-
    restart
  - |-
    systemd-journald.service
- - |-
...

Related Issues

DCOS_OSS-1043 dcos_vol_setup fails to set up /var/log - breaking cronyd and navstar

Checklist for all PR's

[  ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: This PR fixes an intermittent failure that happens early in the boot up of AWS instances and cannot be reproduced at will.
[ x] Read the DC/OS contributing guidelines
[ x] Followed relevant code rules Rules for Packages and Systemd: I recognize that Before, After, etc are discouraged, but I don't know of another way to ensure early execution of dcos_vol_setup.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and Review Process
What is the review process and when will my changes land?
All PRs require 2 approvals using github's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

systemd-analyze plot charts from before and after the changes in this PR were applied. Note the active period of dcos_vol_setup.service in relation to other systemd services.

@lloesche, please review. Do you know who else I might add to this review? Thanks.

Changes from https://github.com/dcos/dcos/pull/1818 should be merged into this PR. Specifically commit c9fc3769bd6457f6dcd7e70f61c1ce167eb0e577.

I think we would need more than -o pipefail if dcos_vol_setup is not running well in front of other services that use the filesystems it is formatting.
My understanding of -o pipefail is that it changes the way the shell sets the exit status for a pipeline: without pipefail set (the default), ${?} will be the exit status of the last command in the pipeline. With pipefail set, ${?} will be the exit status of the first process in the pipeline with a non-zero exit status.
The SIGPIPE that I observed by running dcos_vol_setup with trace would happen on single-command lines, like 'echo something' when writing to stdout, and would not be affected by -o pipefail
In either case, the random dcos_vol_setup deaths are prevented by not bouncing systemd-journald while dcos_vol_setup is active. This PR achieves that partly by removing the restart in the script and partly by running dcos_vol_setup before the cloud-init runcmd executes (in cloud-final.service).

Sorry you're right. What I intended was to trap '' PIPE so that when the script loses it's stdout reader it won't get killed. pipefail has nothing to do with that.
Like I mentioned we can't get rid of the journald restart because we're creating the /var/log/journal directory which makes it so that the journal is being persisted. Otherwise all previous logs will be gone after a reboot.

Thinking about it, we would now mount /var/log into a non-empty directory. It technically works but feels a bit dirty.
I could see users running into issues/it causing confusion in situations where for some reason the EBS is not present on the system, the mount fails but nobody notices and services start writing to the root device.
@lingmann what's your thoughts on this? Also could you be second reviewer please as you wrote the initial version of this script.

My latest commit incorporates everything that we discussed.

I did omit the explicit directory creation for chrony and audit, since these directories are created by the yum package. Now that we are migrating the original /var/log contents again, those directories and any others that were there are left intact.

I will admit that I'm not especially fond of the noncritical addition, although I do appreciate that it adds resiliency for activity that may be out of our control. Before this PR there were two places where journald was restarted, both of which we are now insulated from:

Within dcos_vol_setup. The latest commit uses systemctl kill --signal SIGUSR1 instead to achieve journal persistence.
From cloud-final.service (via userdata, assuming the CF templates created by --aws-cloudformation). The updated systemd dependency (on local-fs-pre) means that dcos_vol_setup is finished before cloud-final.service is activated.

Any tactics above and beyond these two changes are only there to protect against journald restarts that subsequent image layers might perform, which take place during local-fs-pre.target. I'm just not sure if the additional protection is worth the layer of obscurity and whatever weight may be imposed by toggling -e so frequently.

I discovered a way to more easily reproduce this issue: the SIGPIPE will only happen when the script is writing to stdout/stderr, so make it write often! The script/service failed for me 100% of the time if I added this line immediately after the systemctl restart:
for i in {1..100}; do echo "I'm speaking up. what are you going to do about it?"; done

And yes, the service did not fail when I replaced the systemctl restart with a SIGUSR1 poke.

So, I would appreciate if you would reconsider the noncritical change, but I'm generally happy with where this request is now. Let me know how your testing goes.

Thanks for the PR @scareything. I likely don't have time to review this week, but would like to expand the net and see if there are some other people that could take a look... @spahl @klueska @amitaekbote @BenWhitehead @mellenburg are all good candidates for a review. Any thoughts ya'll?

@mesosphere-mergebot bump-ee

@scareything can you rebase on master please?

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

Hello @lingmann, could I ask that you give this a look this week if you have time? Thanks!

Hello to anyone who is watching this PR, I'm hoping that one more approved reviewer can take a look at the changes to these two files.
@lingmann @spahl @klueska @amitaekbote @BenWhitehead @mellenburg
This is an important fix for my team, it causes us a lot of plain when we stand up or scale up DC/OS clusters.
I suspect a fair number of other DC/OS users may not be aware that they are affected by it. For example, when docker fails to start because of this issue it prevents the mesos agent from starting and the node never joins the cluster (even in an unhealthy state), so you end up paying for EC2 instances that are not joined to the cluster. Without a comprehensive monitoring solution it os very easy for this to go unnoticed.
Thanks for taking a look when you get a chance.

@scareything sorry this PR is taking longer than usual. We're currently all hands on deck releasing DC/OS 1.10.0. Which isn't an excuse for our lack of status updates. That said our Director of Test and Release Engineering let me know last week already that this PR will be included in 1.10.1. There's been quite a bit of activity around it in our Slack. Much more than is visible in the public Github. Unfortunately we're not exposing that activity very well.

@lingmann Yes, definitely.


fix: update signing step

Update signing step
Signed-off-by: Subin Shekhar<EMAIL_ADDRESS>PR summary
Update signing step
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.5.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create Get-CsSdgBulkSignInRequestStatus.md

Hi @Chandranshu-Singh, can you please provide some descriptions for these parameters?

Our customers will not be sure of what the parameters do. Thanks for putting this file in the correct filepath

These are some optional parameters that were picked up by the tool used to generate the MD file. We don't need these parameters. Since they got added by the tool, I left them there. Please feel free to remove. I don't have a description for them, as I don't know what they do.

@Chandranshu-Singh , why are these parameters optional? If they are not needed, can your team disable them in the Teams PowerShell Module? We can delete the parameters from the documentation once they are removed from the Teams PowerShell Module. Any parameter that is available to customers in the Teams PowerShell Module must have corresponding documentation. We can't leave any parameter descriptions blank due to the risk of customer escalations

@michbrown-png I have updated the PR, removed the parameters from documentation, these parameters were not added by us, so we will follow up with the Teams Admin Gateway team on why these were added. These seem like some hidden / internal params, which we don't need for our functionality.


remove deploy file from laravel preset

Removing files from preset only meant for kool deploy which by itself doesn't make sense to have in the current default preset.
Later when we better structure and document the deploy feature we shall revisit such files.

well while i agree the main idea was for using on kool cloud, i think it's still good for people that wants to deploy so their cloud env... i'm ok with removing as we don't have it documented... but we might want to re-introduce it even without kool cloud with some good docs...

@dbpolito I hear you! Indeed we can provide it as a helper for self-deploying. The idea in the back of my mind right now is introducing a secondary preset laravel:deploy so we have the necessary files. Let's put that in the roadmap soonish.


Improve the support of JUnit XML report

JUnit XML
Rework the JUnit XML reporting feature. After a couple of tests, the XML report output is not compliant with the "standard"
I try to make it more compliant without breaking the great first solution!
I took inspiration from the pseudo specification and SBT implementation.
One important point is that Maven and SBT are producing one output file per <testsuite> a.k.a. per test (spec...) class
while this solution (original) is producing one <testsuites> output file for the entire module. The specification supports it. We should keep this approach.
In this PR:

Follow the "specification" provided in https://github.com/testmoapp/junitxml
Fix the failure/error reporting as there is not necessarily an exception and error message provided (optional)
Call the junit report from testLocal
Make sure all the test module types call the same code for junit report: TestModule, ScalaJSModule, ScalaNativeModule

Resources

Specification (more or less): https://github.com/testmoapp/junitxml
Sbt Inspiration: https://github.com/sbt/sbt/blob/72bfb3f45ab346ddf3558bc23853dfbb9392cc55/testing/src/main/scala/sbt/JUnitXmlTestsListener.scala

Maven output
One output per test class: target/surefire-reports/TEST-io.ultra.AppTest.xml
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" name="io.ultra.AppTest" time="0.009" tests="4" errors="1" skipped="0" failures="2">
  <properties>
    <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
    ...
    <property name="java.class.version" value="55.0"/>
  </properties>
  <testcase name="testApp" classname="io.ultra.AppTest" time="0"/>
  <testcase name="testFailAssertionApp" classname="io.ultra.AppTest" time="0.003">
    <failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at io.ultra.AppTest.testFailAssertionApp(AppTest.java:41)
</failure>
  </testcase>
  <testcase name="testFailApp" classname="io.ultra.AppTest" time="0">
    <failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at io.ultra.AppTest.testFailApp(AppTest.java:46)
</failure>
  </testcase>
  <testcase name="testErrorApp" classname="io.ultra.AppTest" time="0.001">
    <error message="big error" type="java.lang.RuntimeException">java.lang.RuntimeException: big error
	at io.ultra.AppTest.testErrorApp(AppTest.java:51)
</error>
  </testcase>
</testsuite>

mill test output Examples vs SBT
UTest
    {
      "fullyQualifiedName": "foo.FooTests",
      "selector": "foo.FooTests.simple",
      "duration": 26,
      "status": "Success"
    },
    {
      "fullyQualifiedName": "foo.FooTests",
      "selector": "foo.FooTests.escaping",
      "duration": 0,
      "status": "Success"
    }

ZIO test
    {
      "fullyQualifiedName": "io.ultra.uniq.indexer.ATestSuite",
      "selector": "root - test-case-1",
      "duration": 16,
      "status": "Success"
    },
    {
      "fullyQualifiedName": "io.ultra.uniq.indexer.ATestSuite",
      "selector": "root - sub-suite - test-case-2.1",
      "duration": 17,
      "status": "Success"
    },
    {
      "fullyQualifiedName": "io.ultra.uniq.indexer.ATestSuite",
      "selector": "root - test-case-2",
      "duration": 18,
      "status": "Success"
    },
    {
      "fullyQualifiedName": "io.ultra.uniq.indexer.ATestSuite",
      "selector": "root - sub-suite - test-case-2.2",
      "duration": 17,
      "status": "Success"
    },

sbt output:
<?xml version='1.0' encoding='UTF-8'?>
<testsuite hostname="ultra-lapttop-roro" name="io.ultra.uniq.indexer.ATestSuite" tests="4" errors="0" failures="0"
           skipped="0" time="1.045" timestamp="2024-04-24T17:27:38">
    <properties>
        <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
        ...
        <property name="jna.nosys" value="true"/>
        <property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
        <property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
        <property name="jna.platform.library.path"
                  value="/usr/lib64:/lib64:/usr/lib:/lib:/usr/lib32:/usr/lib/opencollada:/opt/intel/oneapi/tbb/latest/lib/intel64/gcc4.8:/opt/intel/oneapi/compiler/latest/linux/lib:/opt/intel/oneapi/compiler/latest/linux/compiler/lib/intel64_lin"/>
        <property name="java.vendor.url.bug" value="https://github.com/adoptium/adoptium-support/issues"/>
        <property name="user.dir" value="/home/rogilles/sandbox/ultra/platform"/>
        <property name="os.arch" value="amd64"/>
        <property name="grouping.with.qualified.names.enabled" value="true"/>
        <property name="idea.managed" value="true"/>
        <property name="java.vm.info" value="mixed mode"/>
        <property name="java.vm.version" value="11.0.23+9"/>
        <property name="java.class.version" value="55.0"/>
    </properties>
    <testcase classname="io.ultra.uniq.indexer.ATestSuite" name="root - test-case-1" time="0.256">

    </testcase>
    <testcase classname="io.ultra.uniq.indexer.ATestSuite" name="root - test-case-2" time="0.272">

    </testcase>
    <testcase classname="io.ultra.uniq.indexer.ATestSuite" name="root - sub-suite - test-case-2.1" time="0.259">

    </testcase>
    <testcase classname="io.ultra.uniq.indexer.ATestSuite" name="root - sub-suite - test-case-2.2" time="0.258">

    </testcase>
    <system-out><![CDATA[]]></system-out>
    <system-err><![CDATA[]]></system-err>
</testsuite>

scalatest
FreeSpec
    {
      "fullyQualifiedName": "io.ultra.cloudevent.ATestSuiteFreeSpec",
      "selector": "A Set when empty should have size 0",
      "duration": 2,
      "status": "Success"
    },
    {
      "fullyQualifiedName": "io.ultra.cloudevent.ATestSuiteFreeSpec",
      "selector": "A Set when empty should produce NoSuchElementException when head is invoked",
      "duration": 1,
      "status": "Success"
    },
    {
      "fullyQualifiedName": "io.ultra.cloudevent.ATestSuiteFreeSpec",
      "selector": "A Set when non-empty should have size > 0",
      "duration": 0,
      "status": "Success"
    }

sbt output:
<?xml version='1.0' encoding='UTF-8'?>
<testsuite hostname="ultra-lapttop-roro" name="io.ultra.cloudevent.ATestSuiteFreeSpec" tests="3" errors="0" failures="0"
           skipped="0" time="0.016" timestamp="2024-04-24T18:08:19">
    <properties>
        <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
        <property name="java.specification.version" value="11"/>
        ...
        <property name="java.class.version" value="55.0"/>
    </properties>
    <testcase classname="io.ultra.cloudevent.ATestSuiteFreeSpec" name="A Set when empty should have size 0"
              time="0.014">

    </testcase>
    <testcase classname="io.ultra.cloudevent.ATestSuiteFreeSpec"
              name="A Set when empty should produce NoSuchElementException when head is invoked" time="0.0">

    </testcase>
    <testcase classname="io.ultra.cloudevent.ATestSuiteFreeSpec" name="A Set when non-empty should have size > 0"
              time="0.002">

    </testcase>
    <system-out><![CDATA[]]></system-out>
    <system-err><![CDATA[]]></system-err>
</testsuite>

FlatSpec
    {
     "fullyQualifiedName": "io.ultra.cloudevent.ATestSuiteFlatSpec",
     "selector": "root should work 1",
     "duration": 16,
     "status": "Success"
   },
   {
     "fullyQualifiedName": "io.ultra.cloudevent.ATestSuiteFlatSpec",
     "selector": "root should work 2",
     "duration": 0,
     "status": "Success"
   },

sbt output:
<?xml version='1.0' encoding='UTF-8'?>
<testsuite hostname="ultra-lapttop-roro" name="io.ultra.cloudevent.ATestSuiteFlatSpec" tests="2" errors="0" failures="0"
           skipped="0" time="0.017" timestamp="2024-04-24T18:08:19">
    <properties>
        <property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
        ...
        <property name="java.class.version" value="55.0"/>
    </properties>
    <testcase classname="io.ultra.cloudevent.ATestSuiteFlatSpec" name="root should work 1" time="0.017">

    </testcase>
    <testcase classname="io.ultra.cloudevent.ATestSuiteFlatSpec" name="root should work 2" time="0.0">

    </testcase>
    <system-out><![CDATA[]]></system-out>
    <system-err><![CDATA[]]></system-err>
</testsuite>

If including explicitly set environment variables in the report is required/wanted, we could use forkEnv which is what all non-local test targets use.

Hi @lefou
I'm sorry but I don't get it :cry:
What do you mean should I update/fix something in my PR?
Sorry

Hi @lefou
I give it a try tell me what you think about it :hugs:

@romain-gilles-ultra I just realized, that the JUnit XML contains "properties" but I thought of "env vars", which is a completely different thing. So I guess we should revert to your previous solution. Sorry about that.

I think I can keep the system props as the <properties> section is dedicated to that

Hi @lefou
I fact after checking the do we can use property to capture env variables values: https://github.com/testmoapp/junitxml?tab=readme-ov-file#properties-for-suites-and-cases

Properties can be included for suites and cases to record additional information, such as version numbers,
environment variables or links to CI pipelines.
I thinks we can keep this version as it join the environment variables with the system properties no?

We can/should keep the Java system properties, although I'm not 100 percent certain, that they will be accurate. Since we spawn a new Java process to run the tests, there is a change some system properties are different. It would be cool, if we could either return the actual used properties from the test run or write the report file from the test runner process. Both requires more work, so we can keep it for another PR.
Regarding the environment variables, I we want include them in the report, we should prefix them (e.g. with sys.env. or something like that). Otherwise, there collisions/shadowing can occur. We can defer to some later PR too, until there is a demand for it.

I can prepare the code to use properties ... But keep the way the properties are fed for another iteration

Sound good to me.


A short description of the bug

Describe the bug
When deny pattern is added with wildcard (*), datahub ingestion fails with an error. When deny pattern is removed, there is no error.
To Reproduce
Add deny pattern as '*_tmp':
source:
    type: trino
    config:
        host_port: 'port'
        database: db
        username: user
        include_views: false
        include_tables: true
        profiling:
            enabled: false
            profile_table_level_only: true
        stateful_ingestion:
            enabled: false
        password: pswd
        schema_pattern:
            allow:
                - afd
                - asd
                - acd
                - abc
        table_pattern:
            deny:
                - '*_tmp'

Error I get:
⏳ Pipeline running successfully so far; produced 1 events in 10.91 seconds.
2024-07-24 08:55:02,063 INFO sqlalchemy.engine.Engine SELECT "table_name"
FROM "information_schema"."tables"
WHERE "table_schema" = ? and "table_type" != 'VIEW'
[2024-07-24 08:55:02,063] INFO     {sqlalchemy.engine.base:1863} - SELECT "table_name"
FROM "information_schema"."tables"
WHERE "table_schema" = ? and "table_type" != 'VIEW'
2024-07-24 08:55:02,064 INFO sqlalchemy.engine.Engine [dialect trino+rest does not support caching 0.00121s] ('macroeconomic_public_data_sodra_raw',)
[2024-07-24 08:55:02,064] INFO     {sqlalchemy.engine.base:1868} - [dialect trino+rest does not support caching 0.00121s] ('macroeconomic_public_data_sodra_raw',)
[2024-07-24 08:55:02,121] ERROR    {datahub.ingestion.source.sql.sql_common:385} - macroeconomic_public_data_sodra_raw => Tables error: nothing to repeat at position 0
Traceback (most recent call last):
  File "/tmp/datahub/ingest/venv-trino-2b9c1ab97dc6cd7f/lib/python3.10/site-packages/datahub/ingestion/source/sql/sql_common.py", line 694, in loop_tables
    if not sql_config.table_pattern.allowed(dataset_name):
  File "/tmp/datahub/ingest/venv-trino-2b9c1ab97dc6cd7f/lib/python3.10/site-packages/datahub/configuration/common.py", line 247, in allowed
    if re.match(deny_pattern, string, self.regex_flags):
  File "/usr/local/lib/python3.10/re.py", line 190, in match
    return _compile(pattern, flags).match(string)
  File "/usr/local/lib/python3.10/re.py", line 303, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/local/lib/python3.10/sre_compile.py", line 788, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/local/lib/python3.10/sre_parse.py", line 955, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
  File "/usr/local/lib/python3.10/sre_parse.py", line 444, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
  File "/usr/local/lib/python3.10/sre_parse.py", line 669, in _parse
    raise source.error("nothing to repeat",
re.error: nothing to repeat at position 0

Expected behavior
Ingestion runs fine and ignores tables which ends with _tmp

@edkry, your regexp pattern is invalid as it starts with a raw wildcard (star) character, and as the error says, there is nothing to repeat.
Correctly, it should be: .*_tmp

Thanks


Does the WANN method work on toy regression data？

Does the WANN method work on toy regression data（make_regression_da）? Can you give an example? I tried it myself, it didn't work well

Hi @jackstramp,
Thank you for your interest in the ADAPT library!
Here is an example for WANN on make_regression_da. Indeed, WANN is a supervised DA method which uses a small batch of labeled data from the target domain. To make WANN works ("well") you need to pass the target labels in both source and target entries:
from adapt.utils import make_regression_da
from adapt.instance_based import WANN

Xs, ys, Xt, yt = make_regression_da()
model = WANN(Xt=Xt[:3], yt=yt[:3], random_state=0)
model.fit(np.concatenate((Xs, Xt[:3])),
          np.concatenate((ys, yt[:3])), epochs=600, verbose=0)
model.score(Xt, yt)

Then to visualize the results:
import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(-1, 1, 100)
yp = model.predict(x.reshape(-1, 1))

plt.scatter(Xs, ys, s=model.predict_weights(Xs).ravel()**3, label="weighted source")
plt.plot(Xt, yt, ".", c="C1", label="target unlabeled")
plt.plot(Xt[:3], yt[:3], ".", c="k", label="target labeled")
plt.plot(x, yp, c="r", "predictions")

You get this figure:

Note that make_regression_da is a counter-example for most instance-based DA, here WANN is behaving correctly by increasing the weights of source data close to the target but, in this particular example, the optimal weighting would do the opposite. In fact, this toy problem has been tailored for TrAdaBoostR2 which works well in this case.

Thank you for your reply, I still have two questions,
1,  for “model = WANN(Xt=Xt[:3], yt=yt[:3], random_state=0)“, the target labels have passed to model, so  in the fitting stage, Is the concatenate operation necessary? Can we only pass the source labels to the fit function ?
2.  About "make_regression_da is a counter-example for most instance-based DA" and "the optimal weighting would do the opposite", Can you explain more in detail？
Thank you very much again

For question 1:
Yes, indeed, the target labels are already given to the model in "WANN(Xt=Xt[:3], yt=yt[:3])", it would be better to make the concatenation with the source inside the WANN fit function. We will correct this in a future version.
For question 2:
The general assumption made by instance-based method is that: "two close data points in the input space "X" should have close labels "y" independently from the fact that the data points comes form the source or the target domain" (this example is suited for instance-based methods: sample 1d).
In the make_regression_da example the source and target data points close to zeros have very different y values which is not in line with the general instance-based DA assumption.

Thanks a lot


Enable journal merger by default for operation atomicity

What changes are proposed in this pull request?
This change enables the journal merger by default. Also it corrects a typo in the property key name.
Why are the changes needed?
Fixes https://github.com/Alluxio/alluxio/issues/16310
Does this PR introduce any user facing changes?
When a failover happens, there should no longer be chance that a standby master starts with parts of an operation seen and other parts lost. The user should not experience anything but the absence of atomicity errors.

Closed due to https://github.com/Alluxio/alluxio/pull/16345


make interesting_times_tearsheet timespans user configurable

A user might want to generate plots and risk metrics for a specific timespan not included in the default dates in interesting_times.py

Should already be possible, e.g.
import pyfolio as pf

pf.interesting_periods.PERIODS['custom'] = (pd.Timestamp('20130101'),
                         pd.Timestamp('today'))


Specialization of Opentime based around 'flicks'

Based on:
https://github.com/OculusVR/Flicks
Right now RationalTime is a double over a double.  We'd like to build an implementation of opentime that works with Flicks instead to see how that holds up compared to our current approach.

Summarizing some in-person & email threads on this subject from a while ago:

Would we store RationalTime as just an integer, measured in flicks, without a rate?
Would we store RationalTime's rate instead as a tick duration, measured in flicks?
Storing a recognizable rate like "24" or "60" is more human-friendly than storing a tick duration in flicks (e.g. at 24 fps, each frame is 29400000 flicks).
Will future video or audio rates (or combinations of the two) continue to be evenly divisible by 1 flick?

As representing time points at known media rates is what flicks does, and opentime is intended to represent time points at known media rates, as well as time points at arbitrary locations possibly between flicks samples, and future rates may not be evenly divisible by 1 tick, I think the closing argument is that flicks is not a suitable representation at a mathematical level.


Block Elements not rendering correctly with AtlasEngine enabled

Windows Terminal version
1.16.2642.0
Windows build number
10.0.22000.0
Other Software
No response
Steps to reproduce
In PowerShell with the default Cascadia Mono font, run: Write-Host "`u{2595}`u{2594}`n`u{2595}`u{2581}"
Expected Behavior
In version 1.15.2525.0 or 1.16.2642.0 with AtlasEngine disabled:

Actual Behavior
The top is cut off:

Might be some underlying issue as #14022

Note to self/team: The block character scaling technique in _getCachedGlyphLayout is inherently flawed as I realized yesterday. What it does is:

Get the glyph's advance width/height
Resize to match the cell size

This doesn't work with fonts that use side bearings for block characters. A better way would be to assume that all fonts that define any block character also probably define the U+2588 Full Block character. That way we can do:

Get the font's full block glyph
Get the actual size including side bearings of the full block
Resize to match the cell size but apply the scale to the given glyph instead

@lhecker, while I agree your change is correctly called righer-er, I think we need a even-more-righter-er followup as my issue is not resolved. I'm built from source at bfd480b. U+2594 seems to be causing problems and doesn't seem to be in the torture test.
Write-Host "`u{2595}`u{2594}`n`u{2595}`u{2581}"
Write-Host "`nXXX`n`u{2594}`nXXX`n"

Atlas Off:

Atlan On:

@Dan-Albrecht Somewhat "late" in the development cycle I changed the algorithm so that it doesn't touch characters found in the given user font. My intention was that glyphs in the user's font remain untouched. If we don't do that this leads to other display issues (incorrect alginment, etc.). U+2594 is part of Cascadia Mono and so it won't get "adjusted" to fit the cell and I forgot to re-test it as part of the PR, focusing only on Consolas, etc.
Not sure what to do about this issue now: I should try to see if it helps to round up ascend/descend after all. Otherwise we'll either have to wait for the next big AtlasEngine update which brings support for overlapping glyphs, or support for line height adjustments (which I'm submitting tomorrow).


Enable breakpoints in 'with' augmentations for class types

Close #551
I could successfully validate my fix with @dsyme minimal repro code once my F# SDK has been clobbered :v:
It seems the doc is wrong:

version is not 5099 but 9055
I'm not sure about it, but I think that most msbuild commands to test in VS in release are already included in appveyor script. So I guess the procedure might be simplified.

Hi @dedale, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Mmm, it seems it works only once. If I disable the breakpoint, I cannot set it back again :worried:

Thanks @dedale ! Have you debugged into it to see why subsequent breakpoint sets aren't working?

No, I only tried in release. To debug, I will need two VS instances I guess?
Load fsharp.sln in first instance and attach to second instance?

You should do a debug build of the repo, then launch an instance of VS which loads those bits.  The EnableOpenSource project should allow you to do that.
Attach your original instance to the debug instance, then run through the scenario and see if/how setting the second BP fails

OK, I'll try this.

Hi @dedale - I looked into this a bit today.  Your change is valid, and indeed fixes a breakpoint-setting bug, but AFAICT it doesn't fix #551 at all :smile:
The additional field you are capturing and walking corresponds to the copy expression in a record "copy and update" expression.  So whereas one could not previously set a breakpoint here:
type Rec = { X : int }

let copyRec (r1 : Rec) (r2 : Rec) n =
    {
        (if n % 2 = 0 then
            r1 // <-- try to set BP here
         else
            r2)
        with X = n
    }

With your change this now works.
Before:

After:

Nice job!  My only suggestion would be to give this a better name: instead of os, something like copyExprOpt.

Thanks @latkin for your help. I'll amend my commit tonight to update PR.
For #551 I tried to debug but I could not understand more about the bug.
On Thu, Sep 3, 2015, 04:30 Lincoln Atkinson<EMAIL_ADDRESS>wrote:

Hi @dedale https://github.com/dedale - I looked into this a bit today.
Your change is valid, and indeed fixes a breakpoint-setting bug, but AFAICT
it doesn't fix #551 https://github.com/Microsoft/visualfsharp/issues/551
at all [image: :smile:]
The additional field you are capturing and walking corresponds to the copy
expression in a record "copy and update" expression. So whereas one could
not previously set a breakpoint here:
type Rec = { X : int }
let copyRec (r1 : Rec) (r2 : Rec) n =
{
(if n % 2 = 0 then
r1 // <-- try to set BP here
else
r2)
with X = n
}
With your change this now works.
Before:
[image: image]
https://cloud.githubusercontent.com/assets/5943573/9649330/544f4d4c-51a8-11e5-99ad-3fd868611e6c.png
After:
[image: image]
https://cloud.githubusercontent.com/assets/5943573/9649332/5f5e816c-51a8-11e5-997e-df1609b206a3.png
Nice job! My only suggestion would be to give this a better name: instead
of os, something like copyExprOpt.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/608#issuecomment-137304282
.

@dedale just change the commit message, the commit is good! :+1: great fix

I went ahead and made the requested changes before merging, thanks!

Ok thanks
Sorry I could not merge earlier.
On Thu, Sep 3, 2015, 18:57 Lincoln Atkinson<EMAIL_ADDRESS>wrote:

Closed #608 https://github.com/Microsoft/visualfsharp/pull/608 via
02ff9c3
https://github.com/Microsoft/visualfsharp/commit/02ff9c3ffcc803c094e9a6a1e6927081ef1aa5c3
.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/608#event-400294923.


[SKIP] Indent & whitespaces

I have fixed the PR as your comment.
[SKIP] is what I usually use to skip the CI.

I see ... we use [ci skip], but you shouldn't be worrying about that.

OK, thanks for accepting.


Hotkeys - Browser Compatibility

Text entry fields (username, password, root post, reply to post) only allows limited character entry (it seems random, if I slam my hands all over the keyboard maybe 1 out of 10 entries works). Can copy/paste text into each field.
Firefox 38.5.0
Windows 7 SP1

also Java version 8 update 66, if that matters

Not using java thankfully so that doesn't matter.

Also impacts Chrome F5 button.

For now, I've disabled the hotkeys entirely until we can figure this out.

I believe this is fixed now with latest angular build, so I'm re-enabling hotkeys. Let me know if you still see issues.


0.32 "released" but not available on npm

0.32 seems to be released and is referenced everywhere as such for a few days now, but it is not available on npm yet.

There is a regression about image cache and they are working it out
https://github.com/facebook/react-native/issues/9431#issuecomment-241248540

Yup, here's some explanation https://twitter.com/grabbou/status/768491901846687744


Did not recognized active application (Third party Game)

What are you experiencing an issue with?

[x] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[x] Other, (Fill in another type of issue here)

Expected behavior:
Aurora should recognized active application or game. but its always in desktop mode
Actual behavior:
Its always in desktop mode
How often does this problem occur?
every time
Please describe the steps to reproduce this issue:
1 add one game (like Playersunknown Battlegounds or Diablo 3)
2 Conficurate some keys in Aurora
3 Start game
4 See, that nothing happend
What is the version of Aurora you are experiencing this issue with?
6.0 and 6.0 v2
(windows10 64bit)
Does the previous version of Aurora have this issue?
dont know
Please include any logs, screenshots, or files that are related to this issue:
Dont know, what did u need. its only dont recognized the front-application. i have tested it with google chrome, and it works fine.. only with this game not..

Can you post the log file? You can open the folder through the settings in Aurora. Also, what is the full name of the versions you tried? Because there are multiple 6.0's and 6.0 v2's

beta v0.6.1-dev2
i have tried to go back to official version, but the wont start after i started the 0.6.1-dev2 one time.
Here is my log:
https://pastebin.com/CxN7RNR6

To go back you need to delete %appdata%/Aurora/Config.json

Now iam back to v0.6.0b - and diablo works fine, thx :)
but Playerunknowns battlegrounds are not recognized :(

The issue should be sorted through the PR #738, the changes will be included in the next release.

Hey, i have the reason why, it dont work:
If i start the game over steam (Shortcut on Desktop) it did not worked.
But if is start the Game.exe directly Aurora leave the Desktop-Mode and switch in my PUBG directly!

But i cant play without steam (PUBG need Steam :( )

So.. maybe i need a nother "exe"-path or i need other setups for this game?

@busaku I had it detecting properly when running PUBG as admin through steam fine with the changes I referred to from #738

How did u start it over steam as an administrator?
If i say TslGame -> RightClick -> Setup -> Compatibility -> Run as Administrator
It did not detected from aurora and it did not work . Got an error ingame: "Failed to initialize STEAM"
Did u use another method to run it as an admin?

I set it to run as admin in compatibility and launched it through steam

yh... then i got bouth errors.. no aurora, no game :D
did u use TslGame.exe or TslGame_BE ?

TslGame.exe

yh, everything i try: I got the same error.. No Steam, No Aurora ;)
But in the other thread you say u fix it in the next version. so iam looking forward to it ;)
thanks in advance for your help

The running as admin was just to demonstrate that the changes in the pr worked, you do not need to run it as admin.

ah, okay :)
thank u - and nicework - i love aurora :)


permission issue

Users who are not logged-in get this error "You do not have permission to do that." but once you log-in, it does not show again

Fixed in next version which will be released today :)


Step 5 console error

I get this error when I try to do step 5. I tried to upgrade pip using 'python -m pip installs --upgrade pip' but still doesn't works.

This issue has been fixed by deleting pylab in requirement.txt, you can download the new version of requirement.txt

This issue has been fixed by deleting pylab in requirement.txt, you can download the new version of requirement.txt

thanks, issue fixed but I have new which I will have to fix by myself. Google is making all the takeout data in my language (polish) and yeah... I will have to edit the script so this will work for me as well but I think this will be a good lesson to learn some python. thank you again.


🐛 PCManFM could not select path anymore + Java applications freeze the system upon selecting text

branch
stable
Architecture
x86_64
Description
Hi guys,
sorry to bother you but I do have a system-breaking issue on my side and I am curious whether this applies to your systems as well. My system lags while using Java-based applications and also freezes the system when selecting more than 2 sentences of text within the application by mouse (when the selection is done via keyboard, everything is fine). I tested it with BurpSuite and https://github.com/skylot/jadx/wiki/jadx-gui-features-overview. Furthermore, my PCManFM can not select any text anymore (e.g. the path to a file). I feel this is related to this issue. I tested several combination with themes and Java versions, etc.
Do you know something about that or even face any similar issues?
Thank you in advance!
Reproduction steps
1. Open Java-based app such as BurpSuite or JADX-Gui.
2. Open a view with more than 2 sentences of text and select them.

or

1. Open PCManFM
2. Try to select the path with the mouse

Screenshots
No response
Logs
No response

The qt version of pcmanfm seems to work fine, so probably this is something affecting GTK mostly. I think it affects both, gtk4 (tried with pamac) and gtk3 (pcmanfm)

It starts working as soon as I kill wl-clip-persist. Also found an issue on their side: https://github.com/Linus789/wl-clip-persist/issues/3
Will go to "regular" clipboard only, which should solve the immediate problem.


java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference

Basic Information
EasyPermissions version: 3.0.0
Describe the problem
I haven't reproduced this problem, which is reported online.
Code and logs
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference
    at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3887)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:156)
    at android.app.ActivityThread.main(ActivityThread.java:6605)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:999)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:889)
Back traces ends.

@jhwsx so there's nothing in that stacktrace that references easypermissions, what makes you suspect this is a bug in the library?

The behavior trace of users is related to permission request process, which is backed by EP. Actually, I am not 100% sure that it is a problem of EP, which I, however, simply am apt to.
I will be sorry if it really isn't a problem of EP.

@samtstern Could you please help me exclude that it's a problem of EP?

@jhwsx sorry given that you can't reproduce this in your own testing it's not going to be possible for me to debug it,.


Add a delay before sending email

Hello,
In some case we got error in the email when alerting:
"We have HAR files nd need to rebuild the tree"
But when checking on the website few minutes after, all the comparison is done.
Looks like we need to had more time before sending the email.
BR

This issue should be fixed by that: https://github.com/Lookyloo/lookyloo/commit/4143d5f249b6c567f0b1f96b53807d890a2e7f47


Other Request for Funding: Backup Jupyterhub for Astropy workshop

Full name
David Shupe
Purpose
In past Astropy workshops at AAS meetings, we have relied upon mybinder.org to provide a backup workshop environment for those participants who were not able to install the Python environment on their laptops before the event. With the withdrawal of support from Google earlier this year, mybinder.org has become much slower and less reliable.
This funding request is for provisioning a Jupyterhub with the Astropy workshop environment and notebooks pre-installed. We still prefer that participants install their own environment on their laptops, so this will serve as a backup. We would like to deploy this Jupyterhub for testing in mid-December, scale it up to accommodate workshop participants (max 50) at the AAS 243 workshop on January 7, 2024, leave it up for a week afterwards, and then shut it down for good.
We plan to follow the Zero to Jupyterhub guide for AWS EKS due to familiarity.
Budget
I found it difficult to make a precise estimate using an online AWS calculator. The result it gave me was $76 for one month for one AWS EKS cluster.
Given the uncertainties, I would like to make this request for $300 USD, and to be reimbursed for whatever the actual amount turns out to be (likely to be less than this amount).

The finance committee approves this request.  Please submit your expenses to the Moore project on open collective.

Submitted to opencollective.
@hamogu was spot-on. In the end we used SciServer as the backup for the workshop participants who didn't install the workshop environment. I counted at least three people using it. Our colleagues who run the NAVO workshop had an image set up on SciServer, and we just told people to do pip install -r requirements.txt into there.
My attempts for make a Jupyterhub instance stalled out, because I could not get my power-user account to have the proper credentials to control the Kubernetes cluster from the command line. SciServer is a better alternative, since the Astropy Project doesn't have to maintain it, and workshop participants can keep using it long after the workshop is over.


How to get position and setImage at SubsamplingScaleImageView?

I have a GridView and then click it, go to FullScreenActivity.
GridView clicklistener,
public void onItemClick(AdapterView<?> parent, View v, int position, long id) {       Intent i = new Intent(getApplicationContext(), FullImageActivity.class);       i.putExtra("id", position);       startActivity(i); }
FullScreenActivity
Intent i = getIntent(); int position = i.getExtras().getInt("id"); SubsamplingScaleImageView imageView = (SubsamplingScaleImageView)findViewById(R.id.imageView); imageView.setImage(ImageSource.resource(position)); // error

This is a question for StackOverflow.

How to solve this question? Sir..

position is an index, not a resource identifier. This is not a bug in this library, please ask this kind of question on StackOverflow.

Thanks, Sir. I solve this error. 😄 But I have another problem. SubsamplingScaleImageView is look good and can use double tap to zoom in and out in my phone. But @ Tablet Screen Size, SubsamplingScaleImageView  is not look good and can't use double. How to get for those screen size reasonable?


Runtime size changes

It would be nice to be able to change the size and max_overflow parameters at runtime. This would be useful for situations where you have long-running processes that it would be inconvenient to be interrupted by a node reboot. I suspect, however, that this change would be more complicated than a simple:
update_size(PoolPid, Size, MaxOverflow) ->
  gen_server:call(PoolPid, {update_state, {Size, MaxOverflow}}).

handle_call({update_state, _From, {Size, MaxOverflow}}, State) ->
  UpdatedState = State#state{size=Size, max_overflow=MaxOverFlow},
  {reply, ok, UpdatedState}.

but I could be over-thinking it. I'm wondering about issues like: what happens if you shrink the pool size, do you kill workers? Just wait for them to be returned to the pool and then gracefully dismiss them? What happens if you raise the base pool size, do you pre-populate again?
Thoughts?

Any updates on this?


Fix issue #43: Cleanup/fix Repository.close() usages & Fix issue #64: Disable auto-GC in tests

Travis build passed: https://travis-ci.org/vackosar/gitflow-incremental-builder/builds/449087725


Service disruption: Attempts to reply to Discourse by email bounce

Summary
Email replies to Discourse bounce
Expected results
!. Compose email reply to a Discourse topic/thread/whatever-they-are
2. Send
3. Reply is accepted and included in the discussion
Actual results

Compose, as above
Send, as above
Receive SMTP-time bounce message from one's own SMTP service

Priority requested

Urgency: [high]
Requested deadline: 2019-04-22

Other details
This appears to be what the Discourse SMTP server is sending my mail server:
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host eforward3a.registrar-servers.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<EMAIL_ADDRESS>unknown user:
<EMAIL_ADDRESS>
So, it's clear enough to infer that the bit between the plus symbol and the at symbol is unique to the specific message to which one is trying to reply, and that there would not be a user with the entirety of that local part in any lookup table. Everything to the left of the @ is meant to be handled only by the local mail system. Plus addressing, as I understand it, is meant to be able to accomodate this sort of thing, but it may require some tweaking to the receiving MTA configuration to allow it to pass on through to discourse.

I started to look closer at this but didn't get to finish before today's scheduled power outage at RIT. I hope to fix email replies no later than the end of the week.

I made progress today. This was never working because I misunderstood the Discourse documentation. I never had a mailbox set up to receive the email replies.
I dug deeper and found out Discourse offers a Docker image to handle incoming email replies. I followed the provided instructions for the image but emails are not making it to the container. I need to investigate why since it is not an issue at the DNS level, as far as I can tell.
Some links for me to remember later:

Straightforward direct-delivery incoming mail - meta.discourse.org
Start a New Topic via Email - meta.discourse.org

Looking into this again today. Hope to have an update soon.

Still hitting a wall with this. I'm using the official mail-receiver image to set up incoming email, but emails never make it to the Discourse host. There could be a number of things going on here, but here are my notes from today:

Opened port 25 on host
Tested MX records, seems ok?
Not clear if I need to set a SPF record or not, but doesn't seem to be interfering
Sent an outgoing email to check DNS settings, and it seems to be right
Found a SPF validator tool but not sure how helpful this is right now
Rejected email should show up in admin interface here
Will need to tweak reply by email settings once email actually makes it to the host

My next thing to try is creating a new domain specific for receiving mail instead of using the root domain. Perhaps the SendGrid outgoing mail rules are interfering with incoming mail (which doesn't make sense because MX records only deal with incoming mail). But I'm running out of options… :neutral_face:
Shell commands to remember
# keep checking if incoming mail arrives to mail-receiver container
watch -b -c -d -n 5 -p ./launcher logs mail-receiver

# any time I make changes to mail-receiver container env
./launcher rebuild mail-receiver

# mail-receiver container env
vim containers/mail-receiver.yml

Fixed!
Reply-by-email and starting new threads by email is now working. The issue was that DigitalOcean maintains a firewall a level about the Linux Droplet level. When updating ports (such as opening port 25 for incoming email), the firewall needed to be updated from the DigitalOcean admin interface in addition to opening it on the host with ufw.
A Runbook PR is coming soon to add this to the existing Discourse Runbook page. That PR will close this issue. :clapper:


WCAG 3 APCA Lc contrast calculations

Description
As the method of calculating contrast that is referenced in WCAG 2 has shown to not be very good at telling us contrast information that would be real world applicable, it would be helpful to get APCA Lc calculations included in the same tools.
Why do you need this feature?
My organisations need to (legally) follow the guidelines in WCAG 2.x, but we would also like to have contrasts that are actually readable. We would like to also see APCA-calculations, as it is likely that WCAG 3 will in 3-4 years be the legally required standard. We also know that (even if the algorithm is in beta) APCA-calculations is probably the best option we have to try to to make colour combinations that do not exclude.
Additional context

Nice to have the option to decide what font size and weight the foreground colours should be calculated for, and make 16px 400/normal be the default.
Nice to have the contrast calculation in a colour-system grid, pairing all colours in a system against each other

APCA is already a supported method of contrast generation in Leonardo. In the UI you can access this option in the Theme Settings menu.

In the Leonardo JavaScript module,  you can define or set the method using the formula argument, which is 'wcag2' by default. Set to 'wcag3' for the APCA formula.  See the Paramus/setter in theme.JS here https://github.com/adobe/leonardo/blob/main/packages/contrast-colors/theme.mjs
Note: this apparently was not documented in the Readme when the API was added in for APCA. I will log a different issue to resolve that.

have the APCA calculations been verified lately? When I test the same combo of colors in leonardo vs other tools, the calcs in leonard are wrong


Refactor test running for reduce CI time

Description
This PR refactors how tests are performed.
It shortens the setup test environment by prebuilding the wheel and installing napari from the wheel in tox.
It also introduces a multistage build. In the first step, only two tests are executed (python 3.8 and 3.11 on linux), and if they pass, then all other tests are performed. This increases total time since the push to pass all tests, but if the commit contains an obvious error, it consumes only two runners.
Since this PR, not all tests are run using code coverage as it slowdown test by 20-30% (see tables bellow).
Also, test are split into two groups (this one uses qapp/qtbot fixtures, and this is without it). To do not execute double times tests that are backend agnostics. This reduces tox run by 3-5 minutes.
This PR introduces using reusable workflows to keep pull_request and comprehensive tests synchronized.
This PR move uploads to codecov to separate steep (where all reports are combined and uploaded). To remove the flaky factor of codecov. Even if upload to codecov fails, there is a need to restart short job instead of multiple long test runs.
Here table with comparison how enable coverage slowdown test execution.
It is from only single run (I will trigger workflow more time to get better results)
But results are consistent (with previous run with different set of jobs).
It shows that proper selection which jobs need to be run under coverage may be significant thing to speedup tests.

name
setup
setup std

ubuntu-latest py 3.10 pyside6
00:01:08
00:00:08

ubuntu-latest py 3.11 pyside6
00:01:14
00:00:07

windows-latest py 3.8 pyqt5
00:01:29
00:00:08

ubuntu-20.04 py 3.8 pyqt5 min_req
00:01:05
00:00:16

macos-latest py 3.9 pyqt5
00:01:30
00:00:09

windows-latest py 3.8 pyside2
00:01:26
00:00:12

ubuntu-latest py 3.9 pyqt6
00:01:07
00:00:10

ubuntu-latest py 3.9 pyside6
00:01:17
00:00:10

ubuntu-latest py 3.10 pyqt5
00:01:04
00:00:06

ubuntu-latest py 3.11 pyqt5
00:01:08
00:00:07

ubuntu-latest py 3.10 pyside2
00:01:08
00:00:09

ubuntu-latest py 3.8 pyside2
00:01:08
00:00:06

ubuntu-latest py 3.8 pyqt5
00:01:02
00:00:07

ubuntu-latest py 3.9 pyside2
00:01:11
00:00:09

ubuntu-latest py 3.9 pyqt5
00:01:04
00:00:09

name
cov all mean
cov all std
no cov all mean
no cov all std
all%

ubuntu-latest py 3.10 pyside6
00:15:42
00:03:01
00:11:10
00:00:57
71.13

ubuntu-latest py 3.11 pyside6
00:14:30
00:02:02
00:10:12
00:01:31
70.34

windows-latest py 3.8 pyqt5
00:14:54
00:01:46
00:11:36
00:01:27
77.85

ubuntu-20.04 py 3.8 pyqt5 min_req
00:14:21
00:02:09
00:10:12
00:00:50
71.08

macos-latest py 3.9 pyqt5
00:24:26
00:00:50
00:19:55
00:00:42
81.51

windows-latest py 3.8 pyside2
00:13:38
00:02:40
00:12:42
00:01:01
93.15

ubuntu-latest py 3.9 pyqt6
00:16:21
00:03:12
00:11:27
00:02:03
70.03

ubuntu-latest py 3.9 pyside6
00:17:16
00:02:43
00:11:18
00:01:09
65.44

ubuntu-latest py 3.10 pyqt5
00:14:55
00:01:31
00:11:47
00:01:20
78.99

ubuntu-latest py 3.11 pyqt5
00:14:38
00:02:22
00:09:35
00:00:49
65.49

ubuntu-latest py 3.10 pyside2
00:15:49
00:02:38
00:10:37
00:00:48
67.12

ubuntu-latest py 3.8 pyside2
00:16:11
00:02:03
00:12:01
00:01:08
74.25

ubuntu-latest py 3.8 pyqt5
00:15:14
00:02:07
00:10:55
00:01:09
71.66

ubuntu-latest py 3.9 pyside2
00:15:46
00:02:29
00:11:50
00:01:56
75.05

ubuntu-latest py 3.9 pyqt5
00:14:54
00:02:16
00:11:18
00:01:41
75.84

name
cov qt mean
cov qt std
no cov qt mean
no cov qt std
qt%

ubuntu-latest py 3.10 pyside6
00:11:13
00:02:10
00:08:17
00:00:49
73.85

ubuntu-latest py 3.11 pyside6
00:10:15
00:01:06
00:07:37
00:01:07
74.31

windows-latest py 3.8 pyqt5
00:09:31
00:01:03
00:07:43
00:00:57
81.09

ubuntu-20.04 py 3.8 pyqt5 min_req
00:10:27
00:01:32
00:07:34
00:00:39
72.41

macos-latest py 3.9 pyqt5
00:19:59
00:00:59
00:17:06
00:00:49
85.57

windows-latest py 3.8 pyside2
00:08:52
00:01:34
00:08:26
00:00:36
95.11

ubuntu-latest py 3.9 pyqt6
00:11:44
00:02:10
00:08:32
00:01:32
72.73

ubuntu-latest py 3.9 pyside6
00:12:15
00:01:38
00:08:25
00:00:52
68.71

ubuntu-latest py 3.10 pyqt5
00:10:32
00:01:02
00:08:40
00:01:02
82.28

ubuntu-latest py 3.11 pyqt5
00:10:20
00:01:32
00:07:05
00:00:36
68.55

ubuntu-latest py 3.10 pyside2
00:11:12
00:01:51
00:07:42
00:00:32
68.75

ubuntu-latest py 3.8 pyside2
00:11:31
00:01:23
00:08:55
00:00:54
77.42

ubuntu-latest py 3.8 pyqt5
00:10:50
00:01:28
00:08:00
00:00:46
73.85

ubuntu-latest py 3.9 pyside2
00:11:22
00:01:38
00:08:47
00:01:22
77.27

ubuntu-latest py 3.9 pyqt5
00:10:52
00:01:50
00:08:19
00:01:09
76.53

name
cov no qt mean
cov no qt std
no cov no qt mean
no cov no qt std
no qt%

ubuntu-latest py 3.10 pyside6
00:04:56
00:00:53
00:03:17
00:00:17
66.55

ubuntu-latest py 3.11 pyside6
00:04:28
00:00:28
00:02:59
00:00:26
66.79

windows-latest py 3.8 pyqt5
00:05:44
00:00:36
00:04:12
00:00:37
73.26

ubuntu-20.04 py 3.8 pyqt5 min_req
00:04:13
00:00:38
00:02:46
00:00:15
65.61

macos-latest py 3.9 pyqt5
00:07:08
00:00:30
00:06:10
00:00:39
86.45

windows-latest py 3.8 pyside2
00:05:04
00:01:03
00:04:25
00:00:27
87.17

ubuntu-latest py 3.9 pyqt6
00:04:50
00:00:48
00:03:13
00:00:33
66.55

ubuntu-latest py 3.9 pyside6
00:05:03
00:00:41
00:03:05
00:00:17
61.06

ubuntu-latest py 3.10 pyqt5
00:04:42
00:00:28
00:03:29
00:00:22
74.11

ubuntu-latest py 3.11 pyqt5
00:04:40
00:00:43
00:02:46
00:00:14
59.29

ubuntu-latest py 3.10 pyside2
00:04:58
00:00:49
00:03:05
00:00:14
62.08

ubuntu-latest py 3.8 pyside2
00:04:49
00:00:36
00:03:22
00:00:19
69.90

ubuntu-latest py 3.8 pyqt5
00:04:33
00:00:36
00:03:06
00:00:17
68.13

ubuntu-latest py 3.9 pyside2
00:04:44
00:00:44
00:03:16
00:00:30
69.01

ubuntu-latest py 3.9 pyqt5
00:04:34
00:00:50
00:03:07
00:00:27
68.25

References
Type of change

[x] Maintenance (changes required to run napari, tests, & CI smoothly)

Faster CI !!!!
Does this just reduce wall-time by parallelizing ?

Does this just reduce wall-time by parallelizing ?

for now I experiment with split Qt and non Qt tests to run non Qt tests once (not for each backend as it is now).
I also implement moving coverage upload to separate steep, to not have fail of test job on covdecov server faliture. Also restart of codecov upload will be cheaper.
The last part will be measure coverage.py impact on running of test and if is significant hen maybe do not run coverage job on every test run.

I don't know if that helps, but you should be able to see the new matrix time breakdown here

aren't we duplicating tests with and w/o coverage ?
Like

PR Test / macos-latest / macos-latest py 3.9 pyqt5 coverage
PR Test / macos-latest no cov / macos-latest py 3.9 pyqt5 false
Is there a need to do a no-coverage test if we have a covered one ?

aren't we duplicating tests with and w/o coverage ? Like
* PR Test / macos-latest / macos-latest py 3.9 pyqt5 coverage

* PR Test / macos-latest no cov / macos-latest py 3.9 pyqt5 false
  Is there a need to do a no-coverage test if we have a covered one ?

Yes. I do it temporary to compare differences in time executions.

+1 feel free to merge as is, we can refine later.

Thanks @Czaki, this has been ready to merge for 24+ hours, and as I'm guessing you do not like to merge your own PRs, I'm going to press the button.


Error on relationships serialization

Hi guys, there is an issue when trying to serialize a relationship:
render json: @user, include: :likes

Where likes is defined in the User model as:
has_many :out, :likes, type: :LIKES, model_class: User, unique: true

I obtain this error:
undefined method `serializable_hash' for #<Neo4j::ActiveNode::HasN::AssociationProxy:0x007ff600c869c0>

Thanks

Fix made and pushed to 5.1.x branch.  Will release a 5.1.4 when this build passes:
https://travis-ci.org/neo4jrb/neo4j/builds/77017130

5.1.4 released!  Give that a try and let us know how it works.
Thanks for catching this!

Yes I confirm it works great. Thank you :+1:

Yay!  Thanks for letting me know!


Event handler not receiving event

I have an umbrella app that contains 2 apps. I'm using Elixir 1.8.1, which I understand isn't officially supported by extreme and would be happy to switch back if I need to.
The first app receives HTTP input and generates a command. The aggregate accepts the command and generates an event that is published to the event store. The aggregate then processes the event to update its internal state.
I am attempting to configure an event handler in the second app to process the same event and perform some other work (just log for now). I can see that the event handler is starting up and subscribing to the event store, but the events don't come in.
My event handler:
defmodule Driven.Worker do
  @moduledoc """
  Listens for events and acts on them
  """

  use Commanded.Event.Handler, name: "DrivenHandler"
  alias Api.Events.UserRegistered
  require Logger

  def handle(%UserRegistered{}, _metadata) do
    Logger.info("Handling Driven event")
    :ok
  end
end

I've tracked the event down to Extreme.Subscription.def handle_cast/2 when the status is :subscribed. I can't tell where the message goes from there.
I'm going to keep looking into it, but I'd appreciate any pointers anyone might have.

The only thing I've been able to figure out so far is that if I shutdown my app and rename the handler, the event comes through when I start the app back up. Subsequent events to not come through.

I'm now on Elixir 1.7.4 and EventStore 4.0.3 (using EventStore protocol 4), but thing don't seem to have changed.
It's looking like my event handler creates and/or joins a "persistent subscription", but the event that appears for the persistent subscription is mostly nil values. There is another event that appears at the same time that is not a persistent subscription event, but it contains all the correct values. Because that second event is not a persistent subscription event it doesn't get delivered to my event handler.
Here are those 2 events
%Extreme.Msg.PersistentSubscriptionStreamEventAppeared{
  event: %Extreme.Msg.ResolvedIndexedEvent{
    event: %Extreme.Msg.EventRecord{
      created: nil,
      created_epoch: nil,
      data: nil,
      data_content_type: nil,
      event_id: nil,
      event_number: nil,
      event_stream_id: nil,
      event_type: nil,
      metadata: nil,
      metadata_content_type: nil
    },
    link: %Extreme.Msg.EventRecord{
      created:<PHONE_NUMBER>07912100,
      created_epoch:<PHONE_NUMBER>791,
      data: "0<EMAIL_ADDRESS>      data_content_type: 0,
      event_id: <<45, 191, 11, 100, 38, 238, 146, 67, 172, 41, 182, 7, 226, 190,
        204, 181>>,
      event_number: 14,
      event_stream_id: "$ce-commandeddev",
      event_type: "$>",
      metadata: "{\"$v\":\"3:-1:1:3\",\"$c\":9337794,\"$p\":9337794,\"$o\":\"commandeddev-fooo@example.com\",\"$causedBy\":\"8edfd556-6faf-7741-9fd6-400139dbf69a\"}",
      metadata_content_type: 0
    }
  }
}

%Extreme.Msg.StreamEventAppeared{
  event: %Extreme.Msg.ResolvedEvent{
    commit_position: 9338354,
    event: %Extreme.Msg.EventRecord{
      created:<PHONE_NUMBER>07640860,
      created_epoch:<PHONE_NUMBER>764,
      data: "{\"email_address\":\"fooo@example.com\",\"password\":\"<supersecret>\"}",
      data_content_type: 0,
      event_id: <<86, 213, 223, 142, 175, 111, 65, 119, 159, 214, 64, 1, 57,
        219, 246, 154>>,
      event_number: 0,
      event_stream_id<EMAIL_ADDRESS>      event_type: "Elixir.Api.Events.UserRegistered",
      metadata: "{\"$causationId\":\"77cfc3bf-7346-4124-8f32-9efd0ed57831\",\"$correlationId\":\"3ef252d2-dfda-423d-942e-e88dca21749a\"}",
      metadata_content_type: 0
    },
    link: %Extreme.Msg.EventRecord{
      created:<PHONE_NUMBER>07912100,
      created_epoch:<PHONE_NUMBER>791,
      data: "0<EMAIL_ADDRESS>      data_content_type: 0,
      event_id: <<45, 191, 11, 100, 38, 238, 146, 67, 172, 41, 182, 7, 226, 190,
        204, 181>>,
      event_number: 14,
      event_stream_id: "$ce-commandeddev",
      event_type: "$>",
      metadata: "{\"$v\":\"3:-1:1:3\",\"$c\":9337794,\"$p\":9337794,\"$o\":\"commandeddev-fooo@example.com\",\"$causedBy\":\"8edfd556-6faf-7741-9fd6-400139dbf69a\"}",
      metadata_content_type: 0
    },
    prepare_position: 9338354
  }
}

Still looking. Any thoughts or insights would be helpful.

If you can create an example repo exhibiting the issue then I can take a look for you.

I have created this repo that reproduces the problem on my machine (MacBook Pro, MacOS 10.14.3)
https://github.com/losttime/commanded_poc
I'd appreciate any insight into what I may have done wrong.

@losttime I've finally tracked down the root cause of the issue, it's because the aggregate identity (and stream name) contains an at (@) symbol.

I have confirmed that you are correct.
Would you suggest I focus on coming up with a more suitable way to key the entities (because I admit my attempt was pretty naive), or help identify why the presence of @ is so troublesome and how to overcome it?

For now I'd suggest using an alternative identity (e.g. UUID.uuid4()) while I investigate why @ causes a problem.


Fix sidebar's color

Description
The sidebar's color remains the same as the original color even when the error message is displayed.

Related issue(s)
Fixes #989

/rtm

Hi @helios2003
Could you fix this issue: https://sonarcloud.io/component_measures?id=asyncapi_studio&pullRequest=990&metric=new_duplicated_lines_density&view=list
thanks

Sure @Amzani, I will try resolving it.

Hi @Amzani, from what I understand I need to refactor the last 46 lines in apps/studio-next/src/state/files.state.ts. Is that right?

@helios2003 , the file apps/studio-next/src/state/files.state.ts contains a duplicate line of code.
Pinging @Shurtu-gal : could you assist @helios2003 in fixing this as you have recently pushed this.

The problem is that the following lines are the same and it should be as we want to introduce minimal changes while migrating. At least the states are fine as it is.
https://github.com/asyncapi/studio/blob/f9fbf2d9f4d5e26fcc8914583622c47f7e6c3719/apps/studio-next/src/state/files.state.ts#L212-L255
https://github.com/asyncapi/studio/blob/f9fbf2d9f4d5e26fcc8914583622c47f7e6c3719/apps/studio/src/state/files.state.ts#L212-L255
@Amzani is there any way this rule can be disabled 🤔

@helios2003 @Shurtu-gal as we are migrating code to studio-next we can add studio-next directory in .sonarcloud.properties / sonar.cpd.exclusions

@Shurtu-gal  should I add this as a part of the PR or the change should be done by the maintainer itself?

You can do it in this PR itself.

@Amzani, @Shurtu-gal the changes have been made.

@Amzani, @Shurtu-gal the changes have been made.

Great!! Thanks 🤗

@Amzani @Shurtu-gal what about adding studio to the Sonar exception list? Since studio-next is going to see a lot of activity and by ignoring duplicates in studio we can make sure the studio-next is duplicate free.

@KhudaDad414 it is already there I believe.

Maintainers, if the PR is fine, can it be merged?

/rtm

/rtm

this PR did not result in a release because it did not contain a changeset. https://github.com/asyncapi/studio/pull/990#issuecomment-1983569187
@Amzani now I understand your frustration. 🤦


Add Simplified Chinese Translation

Add Simplified Chinese translation
Support the Chinese glyph in ImGUI
Add the Korean and Simplified Chinese translator in README file

Thanks!
I really appreciate your work, but there is a problem: Japanese fonts and chinese fonts are different.

https://heistak.github.io/your-code-displays-japanese-wrong/
I'd like to implement in proper way, in other words: use different fonts for chinese UIs.
I'll merge this PR when it's ready, thanks!

Thanks @GuangChen2333  a lot for your awesome translation!
I just find perhaps here's a little typo guide_cyan,情色.

Thanks @GuangChen2333  a lot for your awesome translation!
I just find perhaps here's a little typo guide_cyan,情色.

Hahahahaha, really funny typo😂 I had fixed it.


fix(utility): add field.dumper to "AttrsMixin._dumps()"

Pull Request Test Coverage Report for Build 877003949

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.618%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/utility/attr.py
0
2
0.0%

Totals

Change from base Build 874715738:
0.0%

Covered Lines:
4251

Relevant Lines:
5273

💛  - Coveralls


ADDED SAMPLE APPLICATION

I added the book info sample application to the octarine documentation
Signed-off-by: was-coder<EMAIL_ADDRESS>Description
This PR fixes #1490
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Nice work

Thanks Karen 😊
On Tue, Sep 1, 2020, 18:42 Efereyan Karen Simisola<EMAIL_ADDRESS>wrote:

Nice work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/pull/1511#issuecomment-685024933,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APC7XKADILAGSC2CKJ5JAC3SDUXA5ANCNFSM4QRY24CA
.

Thanks @leecalcote
On Wed, 2 Sep 2020 at 00:18, Lee Calcote<EMAIL_ADDRESS>wrote:

Merged #1511 https://github.com/layer5io/meshery/pull/1511 into master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/pull/1511#event-3716667559, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APC7XKGVU7KGCXEHLEZOZLLSDVJIFANCNFSM4QRY24CA
.


Baseline code

Hi. Could you share the baseline code that on your datasets, for example, SR-GNN? Because I cannot run the baseline code on your datasets.😭

For the code of baselines, please refer to the official implementations.
To run the baseline code on our datasets, you can convert our datasets to their format.
Besically, you just need to augment the sessions and store them as pickle files.
You may also need to shift the item IDs because our item IDs start from 0 and theirs may start from 1.

For the code of baselines, please refer to the official implementations. To run the baseline code on our datasets, you can convert our datasets to their format. Besically, you just need to augment the sessions and store them as pickle files. You may also need to shift the item IDs because our item IDs start from 0 and theirs may start from 1.

Yes, I try to convert your datasets to their format, such as augment the sessions, shift item IDs and store them as pickle files. But the SR-GNN results I ran on your transformed dataset are quite different from those shown in your paper. So could you share your transformed datasets?


Fix log rotation description in the logging doc

To address https://github.com/kubernetes/kubernetes/pull/40634#issuecomment-303478050

This change is

/cc @piosz @fgrzadkowski

@chenopis I swear when I'm creating the PR the checkbox "Allow edits from maintainers" is checked, but after PR is created, it's unchecked. That's what I was missing, sorry

@chenopis @fgrzadkowski Addressed comments, PTAL

@fgrzadkowski or @piosz does this have tech lgtm?

@chenopis Now it does :)


fix: upgrade semver package

Resolve vulnerabitlity by setting version of semver package to 7.5.4.
Also remove trailing period in README file, which may fix the issue we have seen with it not getting generated properly.
Resolves #193

:tada: This PR is included in version 2.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix homepage

Fix homepage

Usama[frontend]#1: Added components for genres, recently uploaded, for you and updated styling to make it responsive
https://github.com/awaazo/awaazo/assets/50121574/8483764d-5650-4195-a308-7dd88060593e


Cannot pass through NAT when using weave as docker network plugin

Assume I have a machine named host-external with docker engine installed, and a KVM instance named host-internal running on this machine which is using default network (NAT mode) and also with docker engine installed.
According to the official tutorial, I connect this 2 hosts using the following commands:
host-external# weave launch
host-external# eval $(weave launch)
host-external# docker run -it --rm --name aaa alpine sh  # tag-aaa
host-internal# weave launch <ipaddr of host-external>
host-internal# eval $(weave launch)
host-internal# docker run -it --rm --name bbb alpine sh  # tag-bbb
After connected, no matter I ran ping aaa inside container bbb or I ran ping bbb inside container aaa, both of them worked well!
However, for the 2 commands above marked with #tag-aaa and #tag bbb, if I replace them with the following commands respectively (specifying which network mode I want to use):
host-external# docker run -it --rm --net=weave --name aaa alpine sh  # tag-aaa
host-internal# docker run -it --rm --net=weave --name bbb alpine sh  # tag-bbb
Then, no matter I ran ping aaa inside container bbb or I ran ping bbb inside container aaa, neither of them worked. What is the problem?

Well, fixing this issue requires both formatted hostname and specifying DNS search. I'll close it.


On mobile side-bar links take too much space

Side bar links should be turned to a drop-down or collapsible menu on mobile sizes to avoid excessive scroll

added a hamburger menu for side bar content, doesn't look that great needs further tinkering but works for the moment


WIP: RB5 updates for M3 release

This is to give current state of RB5 updates. It is WIP for now.

For the reference, with Mesa 20.3.0-rc2:
Piglit quick testsuite. 22423 pass, 1621 fail, 166 crash, 32244 skipped
OpenGL ES CTS: 26045 pass, 28 fail, 1686 not supported


[MRC Documentation] Generate book via automated cargo docs for MRC

Tasks:
Cargo enables generating book out of comments with specific format i.e. /// . For MRC

[x] Setup scripts to generate book via cargo docs
[x] Setup workflow to generate mrc book
[ ] Update Readme with information on how to write document-able comments

Acceptance Criteria:

[x] Scripts be able to generate only MRC related cargo book and removing substrate docs in between
[x] MRC rust docs should only contain information on MRC related pallets

Tests:

[x] Run workflow to ensure docs are getting generated and committed to gh-pages branch
[x] Configure a placeholder github pages for mrc

Info: The entry point to gh-pages can be the mrc_runtine documentation that links to everything https://github.com/LibertyDSNP/mrc/tree/gh-pages/mrc_runtime
Closes: #84

This PR layout the base setup for rustdocs for mrc


Text generation?

Hi, is it planned to add the function of generating text in the form of a texture using  Metal API?. What methods do you know for generating text using metal? I would be very happy if you gave an example. My goal is to overlay the effect of fire on the text. thanks for the answer

I don't know how to render text directly in metal, tho we got the TextPIX that renders in SpriteKit!
http://pixelkit.net/docs/Classes/TextPIX.html

I've fixed the TextPIX in the latest version of PixelKit 0.6.4

Here's an example of text with fire:
let res = PIX.Res.cgSize(view.bounds.size) * PIX.Res.scale

let textPix = TextPIX(res: res)
textPix.text = "PixelKit"
textPix.font = .monospacedSystemFont(ofSize: 200, weight: .bold)

let noisePix = NoisePIX(res: res)
noisePix.colored = true
noisePix.zoom = 0.1

let feedPix = textPix._feed(0.8) { feedPix -> (PIX & PIXOut) in
    return feedPix._displace(with: noisePix, distance: 0.1)
}

let gradientPix = GradientPIX(res: res)
gradientPix.colorSteps = [
    ColorStep(0.0, .black),
    ColorStep(1 / 3, .red),
    ColorStep(2 / 3, .yellow),
    ColorStep(1.0, .white)
]

let lookup = LookupPIX()
lookup.inPixA = feedPix
lookup.inPixB = gradientPix

finalPix = lookup + textPix
finalPix.view.frame = view.bounds
view.addSubview(finalPix.view)

Omg, you saved me many hours, thanks!!!!


Nuget.org package

I've uploaded the xmlunit-core nuget package to nuget.org so I can reference it in a project instead of having to use a lib folder for the dll.
It's sat here: https://www.nuget.org/packages/xmlunit-core/2.0.0-alpha-01
and here: https://www.nuget.org/packages/xmlunit-constraints/2.0.0-alpha-01
I can transfer ownership of the nuget.org ID/package if you like, or if you have no plans to put it onto nuget.org I can change the project ID on nuget.org, either way it's probably best you own the original as I won't be updating it using a CI or automated build script so it could get out of date..

See #13 and #5 - yes, we do want to publish nuget packages ourselves :-)
It would be great if you could help us integrating package creation into the build process and transfer ownership after that.
Many thanks!

I got the beginnings of a travis.yml file working here:
https://github.com/yetanotherchris/xmlunit.net/blob/master/.travis.yml
Unfortunately when I try to nuget pack it says this feature isn't supported. It also shows your API key in the Travis command log which isn't good, I had it in my repository settings but it looks like hiding sensitive environment variables is a bit of work.
Maybe you could get your Appveyor to do these steps after the build? It's really just a case of doing:

nuget pack ./src/main/net-core/XMLUnit.Core.csproj
nuget pack ./src/main/net-constraints/XMLUnit.Constraints.csproj
nuget push *.nupkg -ApiKey {your-api-key-from-nuget.org}

Thanks.
xbuild should already be running the unit test (I've added some crude exec based solution directly into the project files of the tests).
Appveyor offers Nuget package deployment and even hosting themselves, I'll look into that a little bit deeper during the weekend.
I was looking for a solution that created the packages but doesn't publish them during the build process, I'm happy with publishing things manually.  There already are nuspec files inside the nuget subdir of xmlunit.net and I'd like to reuse them (we used to create packages with the NAnt build).

appveyor now builds nuget packages, for example https://ci.appveyor.com/project/bodewig/xmlunit-net/build/job/oyj411yv8x5hs2q2/artifacts
I think the contents are pretty much what one would expect, but please verify.
I'll need to figure out how to make the feed work properly, but the packages are there.  Once the feed is working I'll link to them as CI SNAPSHOT packages until I'm ready to cut a real alpha release (which shoudn't be too far away).
The "real" releases will be published to nuger.org.

Looks good to me, I can delete the nuget.org id whenever it's ready for the official feed.

Thank you. I'll ping you when I'm ready to prepare a real alpha.

PING :-)
I've got a pretty clear idea of how to attack the last remaining issue and plan to cut our first official alpha release in the next week or two.

I've transferred it across, feel free to remove me from the nuget packages

Thanks, got it.  I don't see any reason to remove you.

OK, alpha-02 is up.
I've just realized after uploading the packages that our nuspec files used different ids than you have used.  Even worse, ours are inconsistent.  In the future I'll use XMLUnit.Core and XMLUnit.Constraints with capital M and L.
I'm not sure whether there is a way to merge different package ids.

all three packages (Constraints are available for NUnit2 and NUnit3) seem to be correct now.


Error

Dear All,
I would like to know how to fix the following problem:
When I try to execute the following command: fab localhost devstack_single_machine
It gives me the following error :  Fatal error: openstak is not fully functioning check the service with 'nova-manage service list'  command

Thanks for your help and time


Getting error starting Lama Cleaner

When I double click win_start I get this: error: python.exe- Entry Point Not Found. Can you please help me.
PS: I am running a windows desktop installer version

Do you enable xformers when run win_config.bat? This error maybe caused by you enabled it and xformers is not installed

I disabled it but the error is still showing everytime. The Lama GUI opens up after giving the "Ok". Everything works except few of the models especially paint by example. Loading that model always fails. Maybe something messed up the script.

What error do you get when using the Paint by Example model?

What error do you get when using the Paint by Example model?

The error I was getting was a text in red color " Model Failed to Load". Finally for a last try I deleted the zip folder completely and re extracted everything including the 'models' to a new location. That "Entry point Not Found" error still pops up on start but now all the models are working correctly; especially paint by example:-) Glad it worked. Thank you so much mate.


Sum All Primes challenge giving me infinite loop error

Challenge Name

https://www.freecodecamp.com/challenges/sum-all-primes
Issue Description

My code works when I transfer the code to a text editor and run a console.log in Firefox. On FCC website the code works fine when I run the function with a value of 10, ie sumPrimes(10); it even works fine with a value of 200, but when I run the function with a value of 977, sumPrimes(977); I get an error which says potential infinite loop at line 5, which is where I declare the counter variable.
Browser Information

Browser Name, Version: Firefox version 42.0
Operating System: Mac OS X version 10.6.8
Mobile, Desktop, or Tablet: laptop

Your Code
// If relevant, paste all of your challenge code in here
function sumPrimes(num) {
  var sum = 0;
  for (var i = 1; i <= num; i++) {
    var counter = 0;
    for (var j = 1; j <= i; j++) {
      if (i % j === 0) {
        counter ++;
      }
    }
    if (counter === 2) {
      sum += i;
    }
  }
  return sum;
}

sumPrimes(10);

Screenshot

Your code works fine for me. See here

I tried your link, but I'm still getting the same error. Maybe it's something with my computer

Your code works fine for me on the FCC too. I tried it using Chrome and then Edge, and all tests passed.

I got the code to work on my windows computer, running chrome. I guess it must have been something with Firefox on my macbook.