Heap sort Using Java

I want to work on this Can you Please assign it to me.

Sure go ahead

Hey @Princeton21 I Created a pull request for it #432 Kindly Check it :)


Closes: #1 Updated validations.py script

Updated validations.py
Fix username function so that it returns false if name begins with dots, uderscores or numbers
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Updated validations.py script


4013 Invalid intent(s)

Howdy,
I can't seem to get Discordo to login via a bot account I created. I get the 4013 Invalid intent(s). I gave the bot full admin rights and enabled all the intents then generated a new key and ran it with:
./discordo --token "Bot XXXXXXXXXXXXXXXXXXXXXX"
But still no luck. Any suggestions?

Actual error:
2022/09/01 13:17:43 Gateway error: websocket: close sent
2022/09/01 13:17:43 websocket closed, reason: 4013 Invalid intent(s).

Did a pull against main and rebuilt. Got me past the token error, but now having another issue. Will create a new issue for it ;-)


From one query result, updating other (watch) queries.

Hi guys. A few weeks ago, I had a discussion in slack #general about the best approach for this use case:
We have several watchQueries observing large lists of entities. When we receive a push notification that a new entity has been created, we want to fetch that new entity and update (append to) those watchQueries, without refetching their entire collections.
As of a few weeks ago, the best solution appeared to be to model that single-entity fetch as a mutation, and use updateQueries to iterate through and append to live, applicable watchQueries. It was also mentioned that fetchMore might solve this more nicely. Looking at the initial implementation of fetchMore (specifically, updateQuery), it looks like I’d have to keep a registry of active watchQueries myself, so as to call updateQuery on each of them?
Is there something else tracking a better story for this use-case?

Generally, you should have a single (large) query you'd have to update with the new entity and the other smaller queries would get the update due to the reactive store if they are subsets of the larger query.
There are some cases where this won't happen automatically. For example, if you have a query that fetches all todo items, another that fetches only todo items of a certain type and you fire off a query that gets a new todo item of the special type, you'll have to fetchMore on both of the queries since it isn't possible to automatically add the queries to both lists in a non-application-specific way.
If this is not possible, you could do what you just described. Would have any ideas as to how we could potentially improve this particular usecase?

We have a Todo entity with a state attribute (a lengthy enum). Our apollo server exposes a todos(stateGroup) resolver, and several components of our app listen (watchQuery) to different Todo state groups, which overlap but are not strict super/subsets.
Some of these components are actual React components (typically list views), and some are background 'services' which need to act on CRUDs of Todos of a particular stateGroup.
Once we add push-notifications to this, some interesting complexities come up:

We want to insert novel Todos into the appropriate watchQueries that are already running, preferably without triggering a complete refetch of those queries. This probably means we have to re-implement some of the server-side resolver logic of state -> stateGroup, but this isn't terribly ugly. (same applies for deletions)

When we update a Todo, we want to re-evaluate which queries it should subscribe to. This actually already seems to be a problem today: if one component performs a todos('created') query for a certain result set, and another component performs a todo('123') query (or mutation) which updates the local copy of Todo 123 to a state that is no longer 'created', the todos('created') query still includes that Todo.

This obviously can also happen if todos('filter1') yields a collection, and later todos('filter2') retrieves another collection which overlaps (and therefore updates) some of the entities in the first collection, possibly making them ineligible for filter1 (but doesn't remove them from the query result).
We overcome this today by doing "post-filtering" of apollo query results. Effectively, we endeavor to maintain our apollo query collections as supersets of their original query parameters, and let the components consuming results do last-minute re-filtering.

Some of our queries might specify different selection sets. In order properly employ updateQueries, we have to have the right (or at least a superset?) of the selection set for that specific query. Not a big deal.

We're up-and-running with the updateQueries approach. Our push-notification listener performs a mutation, with a somewhat complex updateQueries block. We also track (i.e., keep a Set() of) all watchQueries that yield a Todos collection.

@igrayson in 0.5 you should be able to use the reducer option to watchQuery for this.


feat: implement posgres style encode/decode

closes #3125

Need help with test failure, couldn't understand what it means:
thread 'sql::expr::test_encoding_expressions' panicked at 'called `Result::unwrap()` on an `Err` value: Context("simplify_expressions", Internal("Optimizer rule 'simplify_expressions' failed, due to generate a different schema, original schema: DFSchema { fields: [DFField { qualifier: None, field: Field { name: \"encode(Utf8(\\\"tom\\\"),Utf8(\\\"base64\\\"))\", data_type: Binary, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} } }], metadata: {} }, new schema: DFSchema { fields: [DFField { qualifier: None, field: Field { name: \"encode(Utf8(\\\"tom\\\"),Utf8(\\\"base64\\\"))\", data_type: Utf8, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} } }], metadata: {} }"))', datafusion/core/tests/sql/mod.rs:556:38

666f6f

This is probably because decode returns binary

@alamb I think I got everything, can you check?

Looks great to me -- thank you @ozgrakkurt
I also made a PR to add these functions to the user guide: #6856

no problem, thanks as well!


Add github actions to create bundle and publish

Add a github action to publish both releases and latest snapshot, and also to check if the PRs does not break the definition.

Already done, would open new issues for other steps which are more concrete.


Allow strings in Python interface for Client.run_script, Client.run_script_multiGPU

Description
The code is almost all there to allow users to pass single keys for the inputs and outputs parameters as a string rather than a list containing one string. We could allow this in Python with only minor changes.
Justification
Users can benefit from increased flexibility.
Implementation Strategy
Update the type hints, docs, and typecheck() calls to support the expanded options.

Consensus is just to make the change aligns with rest of Python API.


Client config providing

resolve #45
Guys, need your opinion. Look at CharactersCoreComponent.Factory, please

LGTM


Maofly

Name: maofly (漫画猫)
Link: https://www.maofly.com/
Language: Chinese

The site seems to be down.

looks like it's permanent https://github.com/tachiyomiorg/tachiyomi-extensions/pull/15108


Colouring of output generated by the hook script is lost

BEGIN RANT
First of all, I was overjoyed to find this! Thanks for doing this! :heart:
I've tried putting verbose instructions (like in this SO post) in our CONTRIBUTING guide to set up our recommended gith-hooks -- but some people just ignore it and get very annoyed when the CI fails their PR because they pushed badly formatted code.
Hopefully, just doing mix git_hooks.install would make things easier :crossed_fingers:
END RANT

I like to run credo right after I commit, but I lose the beautifully colorized credo output when the hook runs via the mix task :slightly_frowning_face:
Steps to reproduce
My relevant config.exs
config :git_hooks,
  verbose: true,
  hooks: [
    pre_commit: [
      mix_tasks: [
        "format --check-formatted"
      ]
    ],
    post_commit: [
      mix_tasks: [
        "credo --strict"
      ]
    ]
  ]

Expected result
Something like this :rainbow: (image).
But got this: (image)
No colors

Hi @oyeb, glad to hear you are enjoying this project!
I agree, it's better to have an automated git hook, people usually just ignore this best practices.
Remember that doing the gooks will be installed automatically after the dep is compiled, so even not doing mix git_hooks.install the hooks will be installed automatically.
I'll take a look so the output color of the tasks wont be overrided.

Remember that doing the gooks will be installed automatically after the dep is compiled, so even not doing mix git_hooks.install the hooks will be installed automatically.

Oh, that's neat! How is that implemented? Is it due to this line?

Oh, that's neat! How is that implemented? Is it due to this line?

Exactly 👍

I wish this could be fixed sooner, but better late than never.
I added support to run mix tasks, and they will provide the same user feedback (thinking of terminal colors) as running then manually 🎉
For reference, see the module documentation: https://github.com/qgadrian/elixir_git_hooks/blob/master/lib/tasks/mix.ex


Labels Bug

Before this PR, drawing labels and then sending atomLabelsShown false would not remove the labels.  This was an oversight when doing the performance PR and not clearing the whole scene every render.

I think I was waiting on a review for this that might have happened in Slack.  I'm going to go ahead and merge this and create a new release.


Improve README

TL;DR
Updated README with comprehensive project overview, architecture details, and setup instructions.
What changed?

Added a detailed description of the Indexer and its purpose
Included an architecture diagram and explanations of the five main components
Added "Getting started" section with prerequisites and usage instructions
Included information about metrics exposure

How to test?

Clone the repository
Follow the updated setup instructions in the README
Verify that all new sections are present and contain accurate information
Check that the architecture diagram is visible and properly formatted

Why make this change?
This update provides a more comprehensive introduction to the Indexer project, making it easier for new users and contributors to understand its purpose, architecture, and setup process. The added information will help streamline onboarding and improve the overall project documentation.

#74  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AmineAfia and the rest of your teammates on  Graphite


[BUG]

Reporting an Issue or Missing Feature
I'm trying to get PnP Get-PnPSiteTemplate and Invoke-PnPSiteTemplate to work, but as all of you have described i run into this error. I can't downgrade to 7.0 so it looks as though i can't get this to work at all.
If i try to use Get-PnPSiteTemplate and save that file to SharePoint it dosen't create any files, if i try to save locally in my Function app it dosen't create any files. So that seems to not work at all. If i run it on my own machine it works as it should.
If i then try and run Invoke-PnPSiteTemplate it does actually look like it works but again it dosen't. It runs and do add the template to a site, but not all. The left menu dosen't get finished, pages don't get changes and so on. Again if i run it on my own machine it works.
So is it really the correct conclusion that PnP provisioning from a Azure function cannot work, and all we can do is wait on updates?
Is there any alternatives to PnP provisioning because i'm actually not that keen on using PnP seeing as it dosn't seem like a good idea to build business solutions on?
Expected behavior
Being able to both extract a template and add a template to a SharePoint site with PnP provisioning
Actual behavior
ERROR: Could not load type 'Microsoft.Extensions.Logging.Abstractions.Internal.NullScope' from assembly 'Microsoft.Extensions.Logging.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
And no files are being created and when adding a template to a site it dosen't add all as it does when running it on my own machine.
Steps to reproduce behavior
Create an Azure functions app version 4.0 and set it to use PowerShell 7.2
Add PnP.PowerShell 1.* to the requirements.psd1 file.
Create a basic function that just tries to execute Connect-PnPOnline. Ensure it logs error info.
Add either Get-PnPSiteTemplate or Invoke-PnPSiteTemplate to the script
Deploy the function to the cloud and execute via your API. (<app_url>/api/<func_name>)
Wait a bit for logs to save, then go to monitor log menu for that function.
View its logs and observe error.
What is the version of the Cmdlet module you are running?
PnP.PowerShell 1.*, PowerShell Core 7.2
I also tried with the nightly builds
Which operating system/environment are you running PnP PowerShell on?

[ ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ x] Azure Functions
[ ] Other : please specify

Closing as duplicate with #2136. Please follow the thread there.


Allow resigning from games

Shiba from our Discord suggested that we should add a resign feature to games. I think this would be nice to have for games.
I think this would need some way to confirm your resignation as well so that players could not accidentally resign.

do you mind assigning this to me? I can give this a shot


Polar bug redux

I've now gotten three separate reports from users that various simulations have proven unstable, usually originating at the pole. Based on my reading of the reports there seems to be a common theme of using excise_polar_flux, and the affected versions seem to be 2024.9 and up.  Please feel free to post plots or diagnostics in this issue, because I am having a very hard time reproducing the issue on any of my builds or hardware.
Given the common theme, I'd first advise disabling excise_polar_flux -- and if that doesn't work, revert to 2024.5.1 unless you need the new features in 2024.9 (which included very little for ideal GRMHD except excise_polar_flux).  If simulations fail with 2024.5.1 please let me know, since I'm working under the assumption this is a 2024.9 thing.
Two other mitigations to try, if you need excise_polar_flux to stay on or continue to experience the issue in 2024.5.1:

Lowering the CFL condition, in case the issue is timestep related
Using the imex driver, in case the issue is related to boundary conditions (i.e., #128)

If either of these helps I'd be very interested to know.
Currently the PR #126 just disables excise_polar_flux by default with warnings, but any real work toward fixing this thing should end up there, i.e. in the branch fix/excise-flux-bad

Oops, one fix does not mean the fix.  Leaving this open until we can either confirm the race condition fix eliminates issues, or find the rest of the gremlins responsible.


Develop

updated to java 8

Codecov Report

Merging #13 into master will increase coverage by 0.33%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   32.39%   32.73%   +0.33%
==========================================
  Files          34       34
  Lines         392      388       -4
  Branches       21       18       -3
==========================================
  Hits          127      127
+ Misses        259      255       -4
  Partials        6        6

Impacted Files
Coverage Δ

...lbertopeam/infrastructure/concurrency/UseCase.java
73.91% <ø> (ø)
:arrow_up:

...peam/apparchitecturelibs/notes/NotesPresenter.java
0% <0%> (ø)
:arrow_up:

...nfrastructure/concurrency/UseCaseExecutorImpl.java
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


HADOOP-16193. add extra S3A MPU test to see what happens if a file is created during the MPU

HADOOP-16193. add extra S3A MPU test to see what happens if a file is created during the MPU
Change-Id: I15942ff8c7a772e1bf718bccbe4a249d20fa3ef2

Tested: S3 ireland. Remember to use -Dscale when running this test suite, even though this case isn't a slow one

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
22
Docker mode activated.

_ Prechecks _

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1004
trunk passed

+1
compile
29
trunk passed

+1
checkstyle
20
trunk passed

+1
mvnsite
34
trunk passed

+1
shadedclient
647
branch has no errors when building and testing our client artifacts.

+1
findbugs
44
trunk passed

+1
javadoc
24
trunk passed

_ Patch Compile Tests _

+1
mvninstall
28
the patch passed

+1
compile
27
the patch passed

+1
javac
27
the patch passed

+1
checkstyle
16
the patch passed

+1
mvnsite
31
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
684
patch has no errors when building and testing our client artifacts.

+1
findbugs
46
the patch passed

+1
javadoc
19
the patch passed

_ Other Tests _

+1
unit
275
hadoop-aws in the patch passed.

+1
asflicense
25
The patch does not generate ASF License warnings.

3052

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  findbugs  checkstyle

uname
Linux a628993d296c 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 091a664

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

findbugs
v3.1.0-RC1

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/1/testReport/

Max. process+thread count
446 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Aaron has reported a failure, marking as failed

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
57
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1125
trunk passed

+1
compile
33
trunk passed

+1
checkstyle
19
trunk passed

+1
mvnsite
42
trunk passed

+1
shadedclient
784
branch has no errors when building and testing our client artifacts.

+1
javadoc
21
trunk passed

0
spotbugs
55
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
54
trunk passed

_ Patch Compile Tests _

+1
mvninstall
35
the patch passed

+1
compile
32
the patch passed

+1
javac
32
the patch passed

+1
checkstyle
15
the patch passed

+1
mvnsite
32
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
713
patch has no errors when building and testing our client artifacts.

+1
javadoc
21
the patch passed

+1
findbugs
66
the patch passed

_ Other Tests _

+1
unit
277
hadoop-aws in the patch passed.

+1
asflicense
25
The patch does not generate ASF License warnings.

3426

Subsystem
Report/Notes

Docker
Client=18.09.8 Server=18.09.8 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 0b7b25039e89 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / cd967c7

Default Java
1.8.0_212

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/2/testReport/

Max. process+thread count
411 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
81
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1305
trunk passed

+1
compile
40
trunk passed

+1
checkstyle
23
trunk passed

+1
mvnsite
46
trunk passed

+1
shadedclient
822
branch has no errors when building and testing our client artifacts.

+1
javadoc
25
trunk passed

0
spotbugs
70
Used deprecated FindBugs config; considering switching to SpotBugs.

-1
findbugs
67
hadoop-tools/hadoop-aws in trunk has 1 extant findbugs warnings.

_ Patch Compile Tests _

+1
mvninstall
39
the patch passed

+1
compile
37
the patch passed

+1
javac
37
the patch passed

+1
checkstyle
21
the patch passed

+1
mvnsite
45
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
901
patch has no errors when building and testing our client artifacts.

+1
javadoc
27
the patch passed

+1
findbugs
74
the patch passed

_ Other Tests _

+1
unit
294
hadoop-aws in the patch passed.

+1
asflicense
28
The patch does not generate ASF License warnings.

3951

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 2b6db0ae4f72 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / c7c7a88

Default Java
1.8.0_212

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/3/artifact/out/branch-findbugs-hadoop-tools_hadoop-aws-warnings.html

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/3/testReport/

Max. process+thread count
349 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/3/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
168
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1411
trunk passed

+1
compile
38
trunk passed

+1
checkstyle
30
trunk passed

+1
mvnsite
55
trunk passed

+1
shadedclient
902
branch has no errors when building and testing our client artifacts.

+1
javadoc
28
trunk passed

0
spotbugs
64
Used deprecated FindBugs config; considering switching to SpotBugs.

-1
findbugs
62
hadoop-tools/hadoop-aws in trunk has 1 extant findbugs warnings.

_ Patch Compile Tests _

+1
mvninstall
35
the patch passed

+1
compile
36
the patch passed

+1
javac
36
the patch passed

+1
checkstyle
21
the patch passed

+1
mvnsite
42
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
934
patch has no errors when building and testing our client artifacts.

+1
javadoc
29
the patch passed

+1
findbugs
74
the patch passed

_ Other Tests _

+1
unit
295
hadoop-aws in the patch passed.

+1
asflicense
36
The patch does not generate ASF License warnings.

4268

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux ec74f0e23d67 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / e20b195

Default Java
1.8.0_212

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/4/artifact/out/branch-findbugs-hadoop-tools_hadoop-aws-warnings.html

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/4/testReport/

Max. process+thread count
323 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/4/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
103
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1257
trunk passed

+1
compile
31
trunk passed

+1
checkstyle
21
trunk passed

+1
mvnsite
35
trunk passed

+1
shadedclient
775
branch has no errors when building and testing our client artifacts.

+1
javadoc
24
trunk passed

0
spotbugs
55
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
54
trunk passed

_ Patch Compile Tests _

+1
mvninstall
31
the patch passed

+1
compile
26
the patch passed

+1
javac
26
the patch passed

+1
checkstyle
17
the patch passed

+1
mvnsite
30
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
805
patch has no errors when building and testing our client artifacts.

+1
javadoc
22
the patch passed

+1
findbugs
59
the patch passed

_ Other Tests _

+1
unit
281
hadoop-aws in the patch passed.

+1
asflicense
30
The patch does not generate ASF License warnings.

3693

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 57d7b489d4ad 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / b0131bc

Default Java
1.8.0_212

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/5/testReport/

Max. process+thread count
340 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/5/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
91
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1235
trunk passed

+1
compile
37
trunk passed

+1
checkstyle
23
trunk passed

+1
mvnsite
37
trunk passed

+1
shadedclient
772
branch has no errors when building and testing our client artifacts.

+1
javadoc
24
trunk passed

0
spotbugs
58
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
55
trunk passed

_ Patch Compile Tests _

+1
mvninstall
32
the patch passed

+1
compile
26
the patch passed

+1
javac
26
the patch passed

+1
checkstyle
17
the patch passed

+1
mvnsite
30
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
848
patch has no errors when building and testing our client artifacts.

+1
javadoc
27
the patch passed

+1
findbugs
76
the patch passed

_ Other Tests _

+1
unit
93
hadoop-aws in the patch passed.

+1
asflicense
30
The patch does not generate ASF License warnings.

3551

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 5608c1a354dd 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / e356e4f

Default Java
1.8.0_222

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/6/testReport/

Max. process+thread count
306 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/6/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
107
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1214
trunk passed

+1
compile
30
trunk passed

+1
checkstyle
22
trunk passed

+1
mvnsite
36
trunk passed

+1
shadedclient
812
branch has no errors when building and testing our client artifacts.

+1
javadoc
24
trunk passed

0
spotbugs
58
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
56
trunk passed

_ Patch Compile Tests _

+1
mvninstall
32
the patch passed

+1
compile
26
the patch passed

+1
javac
26
the patch passed

+1
checkstyle
19
the patch passed

+1
mvnsite
31
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
833
patch has no errors when building and testing our client artifacts.

+1
javadoc
22
the patch passed

+1
findbugs
61
the patch passed

_ Other Tests _

+1
unit
70
hadoop-aws in the patch passed.

+1
asflicense
28
The patch does not generate ASF License warnings.

3508

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/7/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux a74ea948554c 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 094d736

Default Java
1.8.0_222

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/7/testReport/

Max. process+thread count
342 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/7/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

LGTM!

Merged.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
13
https://github.com/apache/hadoop/pull/609 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/609

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/8/console

versions
git=2.7.4

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
49
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1273
trunk passed

+1
compile
36
trunk passed

+1
checkstyle
24
trunk passed

+1
mvnsite
42
trunk passed

+1
shadedclient
875
branch has no errors when building and testing our client artifacts.

+1
javadoc
28
trunk passed

0
spotbugs
71
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
69
trunk passed

_ Patch Compile Tests _

+1
mvninstall
35
the patch passed

+1
compile
30
the patch passed

+1
javac
30
the patch passed

+1
checkstyle
21
the patch passed

+1
mvnsite
34
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
901
patch has no errors when building and testing our client artifacts.

+1
javadoc
26
the patch passed

+1
findbugs
70
the patch passed

_ Other Tests _

+1
unit
86
hadoop-aws in the patch passed.

+1
asflicense
32
The patch does not generate ASF License warnings.

3722

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/9/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux f9dc8f84311c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 3329257

Default Java
1.8.0_222

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/9/testReport/

Max. process+thread count
411 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/9/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
42
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1
mvninstall
1102
trunk passed

+1
compile
34
trunk passed

+1
checkstyle
24
trunk passed

+1
mvnsite
36
trunk passed

+1
shadedclient
728
branch has no errors when building and testing our client artifacts.

+1
javadoc
27
trunk passed

0
spotbugs
62
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
60
trunk passed

_ Patch Compile Tests _

+1
mvninstall
33
the patch passed

+1
compile
32
the patch passed

+1
javac
32
the patch passed

+1
checkstyle
21
the patch passed

+1
mvnsite
33
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
744
patch has no errors when building and testing our client artifacts.

+1
javadoc
28
the patch passed

+1
findbugs
66
the patch passed

_ Other Tests _

+1
unit
84
hadoop-aws in the patch passed.

+1
asflicense
29
The patch does not generate ASF License warnings.

3210

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-609/10/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/609

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 43ade3e885eb 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 915cbc9

Default Java
1.8.0_222

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/10/testReport/

Max. process+thread count
447 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-609/10/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

ok, if this doesn't work as is -what should our next step be?


on Fedora 38 A^T offs and addr based BRGEMM is Segfaulting

compiled with GCC 12.2.1 or clang 15.0.4. Stack size is 64MB
[xgemm]$ LIBXSMM_VERBOSE=-1 ./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 nobr 1 0 1 0
------------------------------------------------
RUNNING (100x100) X (100x100) = (100x100), F64, BR=1
------------------------------------------------
LIBXSMM-JIT-DUMP(ptr:file) 0x7f680a101000 : libxsmm_abi1_clx_f64_tn_100x100x100_100_100_100_a1_b1_p0_br0_sa0_sb0_uh0_si0_tc-abid_avnni0_bvnni0_cvnni0.mxm
function pointer address: 7f680a101000
0.000626s for creating jit

Printing Norms:
L1 reference  : 7083.680000000000291038305
L1 test       : 7083.680000000000291038305
L2 abs.error  : 0.000000000000027027968992
L2 rel.error  : 19.286821854641154061482666
Linf abs.error: 0.000000000000001776356839
Linf rel.error: 8.240000000000000213162821
Check-norm    : 0.000000000000000305198052

0.000032s for libxsmm
61.971229 GFLOPS for libxsmm
max. error: 0.000000
------------------------------------------------

 Total Max Error 0.000000

LIBXSMM_VERSION: generalize_opA_opB_in_gemm-1.17-3358 (25693470)
CLX/DP      TRY    JIT    STA    COL
   0..13      0      0      0      0
  14..23      0      0      0      0
  24..64      0      0      0      0
    > 64      1      1      0      0
Registry and code: 13 MB + 12 KB (gemm=1)
Command: ./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 nobr 1 0 1 0
Uptime: 0.005484 s
[xgemm]$ LIBXSMM_VERBOSE=-1 ./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 strdbr 1 0 1 0
------------------------------------------------
RUNNING (100x100) X (100x100) = (100x100), F64, BR=1
------------------------------------------------
LIBXSMM-JIT-DUMP(ptr:file) 0x7f5ef9225000 : libxsmm_abi1_clx_f64_tn_100x100x100_100_100_100_a1_b1_p0_br3_sa80000_sb80000_uh0_si0_tc-abid_avnni0_bvnni0_cvnni0.mxm
function pointer address: 7f5ef9225000
0.000101s for creating jit

Printing Norms:
L1 reference  : 7083.680000000000291038305
L1 test       : 7083.680000000000291038305
L2 abs.error  : 0.000000000000027027968992
L2 rel.error  : 19.286821854641154061482666
Linf abs.error: 0.000000000000001776356839
Linf rel.error: 8.240000000000000213162821
Check-norm    : 0.000000000000000305198052

0.000030s for libxsmm
65.605783 GFLOPS for libxsmm
max. error: 0.000000
------------------------------------------------

 Total Max Error 0.000000

LIBXSMM_VERSION: generalize_opA_opB_in_gemm-1.17-3358 (25693470)
CLX/DP      TRY    JIT    STA    COL
   0..13      0      0      0      0
  14..23      0      0      0      0
  24..64      0      0      0      0
    > 64      1      1      0      0
Registry and code: 13 MB + 12 KB (gemm=1)
Command: ./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 strdbr 1 0 1 0
Uptime: 0.005421 s
[xgemm]$ LIBXSMM_VERBOSE=-1 ./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 addrbr 1 0 1 0
------------------------------------------------
RUNNING (100x100) X (100x100) = (100x100), F64, BR=1
------------------------------------------------
LIBXSMM-JIT-DUMP(ptr:file) 0x7fcae6ee9000 : libxsmm_abi1_clx_f64_tn_100x100x100_100_100_100_a1_b1_p0_br1_sa0_sb0_uh0_si0_tc-abid_avnni0_bvnni0_cvnni0.mxm
Segmentation fault (core dumped)
[xgemm]$ LIBXSMM_VERBOSE=-1 ./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 offsbr 1 0 1 0
------------------------------------------------
RUNNING (100x100) X (100x100) = (100x100), F64, BR=1
------------------------------------------------
LIBXSMM-JIT-DUMP(ptr:file) 0x7f7fc8fed000 : libxsmm_abi1_clx_f64_tn_100x100x100_100_100_100_a1_b1_p0_br2_sa0_sb0_uh0_si0_tc-abid_avnni0_bvnni0_cvnni0.mxm
Segmentation fault (core dumped)

[xgemm]$ ulimit -a
real-time non-blocking time  (microseconds, -R) unlimited
core file size              (blocks, -c) unlimited
data seg size               (kbytes, -d) unlimited
scheduling priority                 (-e) 0
file size                   (blocks, -f) unlimited
pending signals                     (-i) 255421
max locked memory           (kbytes, -l) 8192
max memory size             (kbytes, -m) unlimited
open files                          (-n) 1024
pipe size                (512 bytes, -p) 8
POSIX message queues         (bytes, -q) 819200
real-time priority                  (-r) 0
stack size                  (kbytes, -s) 65532
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 255421
virtual memory              (kbytes, -v) unlimited
file locks                          (-x) unlimited

This the offset code, however, what is strange the rsp is sub 3x it should be only 2 times I guess?
 Otherwise, I can take a look at reducing the stack memory consumption on the library's side. Worst case, it's becomes a POC (enabled by environment variable or at compile-time); just to check if adjusting the library code can help.

I think we should look into reducing stack usage where-ever we can.
The examples above should be in the KB range and I believe there bugs in the GEMM kernels (as I pointed out, it seems to allocate 0x138880 * 0x138880 ( addr 0x65 and addr 73) are imuls on the same registers. This is ~ 6 GB or so. But we need only 160 KB (80 KB for A and 80 KB for B). @egeor  should look into this.
Having said this, large BRcount we still after fixing this bug run into issue (default statck size is 8MB). I have an idea how to "fix" this and I have to detail it at some point.

This was a CP error form my side not reseting a register when calculating the B size (only on x86 this CP typo), commit 991489a91381bf4c4a16f6edd3cc3618e43e8b8b fixes this

I guess the issue is still open, it's not fully fixed (I still 3x 80kb) :
./gemm_kernel 100 100 100 100 100 100 1 1 0 0 1 0 nopf F64 offsbr 1 0 1 0
XDIS 53: BINARY    BASE       4881EC80380100           sub rsp, 0x13880
XDIS 5a: DATAXFER  BASE       4889A570FFFFFF           mov qword ptr [rbp-0x90], rsp
XDIS 61: DATAXFER  BASE       4C8B55A8                 mov r10, qword ptr [rbp-0x58]
XDIS 65: BINARY    BASE       4D69D280380100           imul r10, r10, 0x13880
XDIS 6c: BINARY    BASE       492BE2                   sub rsp, r10
XDIS 6f: DATAXFER  BASE       488965A0                 mov qword ptr [rbp-0x60], rsp
XDIS 73: DATAXFER  BASE       4C8B55A8                 mov r10, qword ptr [rbp-0x58]
XDIS 77: BINARY    BASE       4D69D280380100           imul r10, r10, 0x13880
XDIS 7e: BINARY    BASE       492BE2                   sub rsp, r10


fix: Change iOS bundle id

Codecov Report

Merging #3148 (bf0cb53) into develop (c0ab58a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop   #3148   +/-   ##
=======================================
  Coverage     6.37%   6.37%
=======================================
  Files          249     249
  Lines        12518   12518
=======================================
  Hits           798     798
  Misses       11720   11720

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


Make _make_new_gettext and _make_new_ngettext public

I am currently using:
aiohttp
with aiohttp_jinja2
which provides integration with jinja2
with its i18n extension activated
with translations managed by babel
which is a superset of gettext
My goal is to implement per-HTTP-request localization of the messages.
I may have misunderstood how these 6 libraries interact together for i18n, but it seems it is not possible to internationalize template rendering per-request (ie with a different language for example for each HTTP request/response).
Calling jinja2.install_gettext_translations or jinja2.install_gettext_callables is not practical as they impact the entire HTTP environment (across all asynchronous requests/responses).
A temporary workaround for me as been to deploy into the context of each template rendering (the context dictionary argument) the gettext and ngettext methods from the translations object that fits this request's particular language.
This solution works as intended, as the context dictionary is local to each HTTP request. However this workaround has a limitation: I do not benefit from jinja i18n new-style message-formatting (with arguments) functionalities. These are provided by 2 private jinja2 functions which "wrap" gettext and ngettext to provide these new functionalities:
_make_new_gettext and _make_new_ngettext
A better solutioin is to provide an install_gettext_callables function that installs them in a context dictionary (and not in a global environment).
I hope I have not misunderstood jinja2's internal architecture and intent.

In fact the first alternative seems desirable, as I can cache myself these 2 wrapper functions per locale (to avoid rebuilding them each time).
The second alternative does not allow this.

Sorry, I don't think I can help you with this. I have a feeling the issue is with gettext/babel not being unique to each async request, nothing to do with Jinja. I don't plan to make those patch functions public, do not rely on them continuing to exist.

Are you suggesting the right solution is to provide a dedicated jinja environment to process each HTTP query?

As stated above, I'm suggestion you look at how async interacts with gettext, not Jimja.

My (limited) understanding is that gettext and its wrapper babel do not have any issue with asyncio concurrency, if properly used. By properly, I mean, if I do not use the global gettext function but the gettext/babel.Translations.gettext methods on a set of gettext/babel.Translations pre-loaded (one per locale used by the website). This works great, you can have as many concurrent requests ongoing across many different locales, each locale having its own translation "context" properly isolated in a gettext/babel.Translations object. That's the workaround I am current using (writing myself the correct Translations.gettext method for that locale into the template context dictionary).
But jinja and aiiohttp_jinja2 seem to assume a gettext/babel.Translations object is unique. This is not the case in a multilingual website.

Sorry, this is not the place to have this conversation. I know very little about async, aiohttp, gettext, or babel. All of those are other projects, not Jinja.

I quoted these libraries only to provide the full context of my analysis as I may be wrong, I am not an expert there.
But my point above is that the issue is indeed within Jinja i18n extension, and has nothing to do with asyncio, gettext, babel or any other libraries. Because:

Jinja2 provides an i18n extension that provides better (new-style) gettext functions for jinja templating (this does not come from any other library, this is your invention and it is great)
However it restricts these to being global to the entire templating engine environment

These 2 points emanate from Jinja2 and no other library made these choices.


Add a button to change the category of the jokes.

https://github.com/sopra-fs23-group-22/sopra-fs23-group-22-client/commit/fa22515e5b30e7118fe28002ed66c407ca6444de
a preliminary version of the joke generator

https://github.com/sopra-fs23-group-22/sopra-fs23-group-22-client/commit/37d4f6536d273515a02a2ae9a9a40713a54e3dc7
embed the joke generator to the main branch, updating the format using custom pop up component


Please List All the Plugins and Additional Stuff U used

This is the error i get when opening ur patcher , i fixed some knowing what the errors are but am confused about the rest

Hi @MFRSiam - Thank you for your feedback! You are right, the patch has some dependencies that need to be installed.
We plan on updating the README.md file with the right steps to make it work. In the meanwhile, here's what you need.
Externals:

nn~ (https://github.com/acids-ircam/nn_tilde) + musicnet.ts, darbouka_nl.ts, percussion.ts models

From the Max Package Manager:

Zsa.Descriptors
modulo
Fluid Corpus Manipulation

Also, make sure you place this unzipped folder on the Max search path (Max>Options>File Preferences...).


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=370771329
https://github.com/Azure/azure-cli-extensions/commit/6b9b2a9706fef32ab74f711d8626f2dfebfdd6e4

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile)

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


[core] Add use client directive to all components in a new build step

Part of https://github.com/mui/material-ui/issues/34905
Next.js 13 considers all components in the app directory server components by default, requiring client components to be identified with a 'use client' directive.
A new build step similar to yarn docs:api:build will be added to add 'use client' to all Material UI, Base UI and Joy UI components

I looked into this for one of my packages, and decided to NOT do it as part of the core module because it's too platform specific. The use client directive is not a generic JS directive, but rather a Next.js specific one.
I do, however, wish that MUI implemented a more SSR-friendly approach for components. Especially for super common ones like Box, Stack, Divider, and others that force us to go client-side just because of refs. Even in cases where all we use them for are just as a replacement for default flexbox / divs.
Your best bet would be to just use client in a wrapper component where you reference those components.

Any updates ?

I think we can instead create a script specifically for this purpose. Taking reference from similar offerings, e.g. Chakra UI has a dedicated package @chakra-ui/next-js for Next.js integration. Not exactly related to use client but the idea is similar. Perhaps MUI can do something similar?

@altechzilla Thanks for sharing ~

The use client directive is not a generic JS directive, but rather a Next.js specific one

You are right that it is not part of normal JS, but to my understanding it is specific to React Server Components (per the related RFC) and not Next.js, it's just that this issue is highly visible in Next 13 apps because the new app directory makes full use of RSC!

I do, however, wish that MUI implemented a more SSR-friendly approach for components. Especially for super common ones like Box, Stack, Divider

Making these common components (layout components in particular) work as React Server components is definitely on the agenda!

Chakra UI has a dedicated package @chakra-ui/next-js for Next.js integration.

@mwskwong Thanks for sharing this, I'll try it out ~

I think MUI can instead publish a script to handle this as a separate package instead

At this point, we're just trying to get the MUI libraries working out of the box in a Next 13 app directory without requiring any extra installation steps or config changes!

Chakra UI has a dedicated package @chakra-ui/next-js for Next.js integration.

@mwskwong Thanks for sharing this, I'll try it out ~

I think MUI can instead publish a script to handle this as a separate package instead

At this point, we're just trying to get the MUI libraries working out of the box in a Next 13 app directory without requiring any extra installation steps or config changes!

Which is the best DX IMO. I think there are other projects already start doing it. If I have to say, I will properly think MUI Joy is the best place to start. I would imagine it is more approachable than doing it in MUI Material v6.

As a temporary workaround, I have setup something that utilizes TypeScript path aliases to provide the behaviour we want.
First, create a file (I've called it material.ts) with the following content:
"use client";

// "node_modules" is required here to make sure we don't go into a recursive loop with the path alias.
export * from "node_modules/@mui/material";

Second, in the tsconfig.json file, add a new entry to compilerOptions.paths which looks like this:
{
    "compilerOptions": {
        "paths": {
            "@mui/material": [
                "./src/material"
            ]
        }
    }
}

With this, when @mui/material is imported from any files of your project, it will instead import it from the file you created, which specifies that anything from here is a Client Component.

As a temporary workaround, I have setup something that utilizes TypeScript path aliases to provide the behaviour we want.
First, create a file (I've called it material.ts) with the following content:
"use client";

// "node_modules" is required here to make sure we don't go into a recursive loop with the path alias.
export * from "node_modules/@mui/material";

Second, in the tsconfig.json file, add a new entry to compilerOptions.paths which looks like this:
{
    "compilerOptions": {
        "paths": {
            "@mui/material": [
                "./src/material"
            ]
        }
    }
}

With this, when @mui/material is imported from any files of your project, it will instead import it from the file you created, which specifies that anything from here is a Client Component.

That's a good idea, and it does work. Unfortunately, it breaks tree shaking so the entire @mui/material is bundled

This SWC plugin can match which components to insert the 'use client' directive based on the incoming path.
https://github.com/coder-xiaotian/swc-useclient

I think we could do the same in MUI X, issue created https://github.com/mui/mui-x/issues/9833.

Another thought, it feels that it would be great to move our Next.js from Pages Router to App Router, so that we are forced to add "use client" on all the demos of our docs that need them https://www.notion.so/mui-org/docs-infra-Migrate-docs-to-Next-App-Router-f95ecaead5c34d52bb7256446a83b014. I had cases today, where I copied the demo, and  then had to add the mention, frustrating.


Clear all POMs of unused dependencies

Almost all of the POM files contains unused dependencies which should be removed
For example see engines-hdbti - https://github.com/SAP/xsk/blob/main/modules/engines/engine-hdbti/pom.xml
It contains some dependencies that might not be needed (ie websockets, bpm, graalvm)

This issue is closed as the project is no longer maintained


Missing options

Some options seem to be missing in python-rocksdb.
For example, https://github.com/facebook/rocksdb/wiki/Setup-Options-and-Basic-Tuning supports setting 'bottonmost_compression' (the compression type used for the nth level). But python-rocksdb only supports setting 'compression' (the compression type used for the first n-1 levels).
Is there any way to set these missing options?

@ArtanisCV
I will try to look at this issue in these days.


Add support for new Python versions

Currently Python 3.5 is the newest tested version. Add support and CI for:

[x] Python 3.6
[x] Python 3.7

Looks like it works without changes!


Amended README.md

Just made some amendments as I realised it was copied directly from your reddit post. Thanks for the program friend

No problem. This is actually the first time I've contributed anything here on here. Did you merge my commits or just change the file yourself? I'm trying to figure out if the merge should have closed itself or if i have to do it myself each time haha

Actually, it is my first time using Github, and I wasn't aware of the 'Merge' feature so I manually made the changes.  Oh well...


Request blocked until cancelled. Gracy overrides httpx timeout default value.

Note: Update/solution below

Hi,
Today I had Gracy hang on a GET request for 75 minutes until I stopped it manually.
Can you say if Gracy changes httpx's default timeout values?
Httpx say they have a default timeout of 5 seconds on any request.
That means Gracy should time out after 5 seconds, too.
(They say it here)
I remember that the previous issue with the 504 retry I had timed out after
60 seconds when the server side gateway timed out,
so for some reasons the httpx default timeout is not enforced.
Of course, it would make sense to set the timeout from Gracy for slow APIs, the promised httpx default is way too short
to reliably capture an API result. I've not seen anything in the docs about defining timeouts, yet...
The API code is the same as in this issue
This is the trace from when I pressed Ctrl-C to stop the hanging job.
I'm using Python 3.11.1 on a raspberry Pi and these libraries
anyio==3.6.2
certifi==2022.12.7
gracy==1.11.2
h11==0.14.0
httpcore==0.16.3
httpx==0.23.3
idna==3.4
rfc3986==1.5.0
sentry-sdk==1.16.0
sniffio==1.3.0
urllib3==1.26.14

Stack Trace
SSLWantReadError: The operation did not complete (read) (_ssl.c:2546)
  File "anyio/streams/tls.py", line 130, in _call_sslobject_method
    result = func(*args)
  File "ssl.py", line 921, in read
    v = self._sslobj.read(len)

CancelledError: null
  File "radio.py", line 202, in <module>
    asyncio.run(main(days=7))
  File "asyncio/runners.py", line 190, in run
    return runner.run(main)
  File "asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
  File "asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
  File "radio.py", line 183, in main
    pl = await playlistapi.get_playlist(station=station, playlist_dt=playlist_dt_hour)
  File "radio.py", line 149, in get_playlist
    return await self.get(PlaylistApiEndpoint.GET_PLAYLIST, params)
  File "gracy/_core.py", line 322, in get
    return await self._request("GET", endpoint, endpoint_args, *args, **kwargs)
  File "gracy/_core.py", line 313, in _request
    return await graceful_request
  File "gracy/_core.py", line 186, in _gracify
    result = await request()
  File "httpx/_client.py", line 1533, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "httpx/_client.py", line 1620, in send
    response = await self._send_handling_auth(
  File "httpx/_client.py", line 1648, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "httpx/_client.py", line 1685, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "httpx/_client.py", line 1722, in _send_single_request
    response = await transport.handle_async_request(request)
  File "httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "httpcore/_async/connection_pool.py", line 253, in handle_async_request
    raise exc
  File "httpcore/_async/connection_pool.py", line 237, in handle_async_request
    response = await connection.handle_async_request(request)
  File "httpcore/_async/connection.py", line 90, in handle_async_request
    return await self._connection.handle_async_request(request)
  File "httpcore/_async/http11.py", line 112, in handle_async_request
    raise exc
  File "httpcore/_async/http11.py", line 91, in handle_async_request
    ) = await self._receive_response_headers(**kwargs)
  File "httpcore/_async/http11.py", line 155, in _receive_response_headers
    event = await self._receive_event(timeout=timeout)
  File "httpcore/_async/http11.py", line 191, in _receive_event
    data = await self._network_stream.read(
  File "httpcore/backends/asyncio.py", line 34, in read
    return await self._stream.receive(max_bytes=max_bytes)
  File "anyio/streams/tls.py", line 195, in receive
    data = await self._call_sslobject_method(self._ssl_object.read, max_bytes)
  File "anyio/streams/tls.py", line 137, in _call_sslobject_method
    data = await self.transport_stream.receive()
  File "anyio/_backends/_asyncio.py", line 1265, in receive
    await self._protocol.read_event.wait()
  File "asyncio/locks.py", line 213, in wait
    await fut

If you are not changing the httpx timeout defaults, maybe this is an issue with httpx and not Gracy.

Update:
I had a look at the code and it seems that Gracy does override the timeout by setting it to None.
from "_core" : class Gracy(Generic[Endpoint]):
def _create_client(self, **kwargs: Any) -> httpx.AsyncClient:
    base_url = getattr(self.Config, "BASE_URL", "")
    request_timeout = getattr(self.Config, "REQUEST_TIMEOUT", None)
    return httpx.AsyncClient(base_url=base_url, timeout=request_timeout)

Maybe it would be a good idea to add a "REQUEST_TIMEOUT" line to the example code.
So it becomes easier to understand where to set the timeout, why the code may hang if you don't set one and that users are encouraged to think about what an acceptable timeout for their use case is.
If not, maybe set the default timeout to "DEFAULT_TIMEOUT_CONFIG " from "httpx/_config.py" instead of None if
"REQUEST_TIMEOUT" is not present in the config so it behaves like httpx normally does.

As you figured it out already. You can modify the timeout by setting a value in the config here:
class Config:
        BASE_URL = "https://example.com"
        REQUEST_TIMEOUT = 10 # Here

I agree we need to add it as an example

If not, maybe set the default timeout to "DEFAULT_TIMEOUT_CONFIG " from "httpx/_config.py" instead of None if
"REQUEST_TIMEOUT" is not present in the config so it behaves like httpx normally does.

This is a good point. Let me think more about it.


Array boundary

1-Temporary creating is done in : statements.rs, whenever an AllocDynamic expression is made
2-ArrayLength expressions are replaced in expression.rs, whenever an array subscript or array length is called/
3- pops/pushes are handled in array_boundary.rs, there is a function that is called after every push or pull to modify the temp.

@salaheldinsameh, please squash your commits into a few ones that make sense for your PR. In addition, don't forget to sign your commits.


add --json flag on env var & env logdrain cmds

What does this PR do?
Adds --json output to all commands that hadn't yet implemented it. This PR also makes all commands inherit from SfCommand to increase parity of SF CLI commands.
What issues does this PR fix or reference?
@W-10241302@
@W-10241266@
@W-10241308@
@W-10241309@
Misc to-do:

[x] inherit SfCommand class
[x] add --json output on missing commands
[x] update readme

@saracope I'm going to rebase these into main since they are green, I just need an approval on the PR


missing permission for some Android versions

Discovery fails on some Android builds due to missing NEARBY_DEVICES permission in the manifest:

An easy workaround is to add this permission into the manifest of the app that uses the package

Thanks for reporting this. A PR with this update would be appreciated :)

yes when I get to it - for now I just wanted to document it.
On Sun, Jul 9, 2023 at 1:49 PM Nimrod Dayan @.***>
wrote:

Thanks for reporting this. A PR with this update would be appreciated :)
—
Reply to this email directly, view it on GitHub
https://github.com/Nimrodda/flutter_nsd/issues/45#issuecomment-1627821010,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGPGOR4CYDKKIP3S74I5Q3XPMKMXANCNFSM6AAAAAA2CDTCAQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


How do I enable both 2.4G and 5G AP capabilities on the ESP32-C5 (IDFGH-13908)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
How do I enable both 2.4G and 5G AP capabilities on the ESP32-C5，
And in the use of automatic switching or need to be in the program at a certain interval to switch channels

Hi @Sail-211010
ESP32-C5 only support DBSC (Dual-Band Single Concurrent) not support DBDC (Dual-Band Dual Concurrent).
Thanks.

OK,Understood. Thank you.


docs/authorization.md contains incorrect indenting

docs/authorization.md contains incorrect indenting for the "Policy File Format" properties, which causes the markdown render it as a paragraph instead of a list.
Also the property namespace should be ns according to the example.

/cc @erictune

#dibs

@hatchan Which example says to use ns as the property name?

@mikebrow I'm guessing this has been resolved since reporting this issue

kk thx... was about to look at the blame hist.  Cheers.

File in question live here now:
https://github.com/kubernetes/kubernetes.github.io/blob/master/docs/admin/authorization.md
and it looks fine.


Output audio is shorter than input audio

Hello,
Each input file in my dateset is 6 seconds long but the output samples are 3 seconds long, what should I change to make the output time same as the input?
Also the results are bad are there any settings should I change?

Which output samples do you have the problem development set or evaluation set?
And let me show your input and output samples.

I have a custom dataset, I didn't use VCC dataset.
samples:
samples.zip
I changed the spkr.yml file as you described in the README, I have two speakers only both are males, spkr.yml file:
aziz:   minf0: 90   maxf0: 250   npow: -20 kalbani:   minf0: 70   maxf0: 240   npow: -20

The input waveform has two channels. The script only supports single channel audio file.

How to convert the input to single channel to work with crank?

Using sox is easy way.
sox input.wav -c 1 output.wav remex 1

the development set are 3 seconds long, i think thats how it supposed to be. the evaluation waveform will be generated after stage 7 i guess?


[AutoPR cdn/resource-manager] [Hub Generated] Review request for Microsoft.Cdn to add version stable/12341234123412

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5815

(message created by the CI based on PR content)


Don't add the grey outline when hovering a selected highlight

When playing with a pen, I noticed that sometimes a free highlight has still its gray outline when an other one is drawn: for any reason the pointerleave event isn't triggered.

/botio integrationtest


Support node 20, prom-client 15.x

This PR adds node 20 on actions for test, also changes the prom-client version in peer-dependencies to allow prom-client 15.x
From prom-client 14.x to 15.x just drops some node versions that this package doesn't specify support for.

Thank you for PR. Can you please change commit name to satisfy https://www.conventionalcommits.org/en/v1.0.0/
For your case it will be fix: add node 20 and prom 15 support
It will let to create changelog and release automatically.

Closed to changes in https://github.com/iamelevich/opossum-prometheus/pull/53

Thanks!
Apologies for not answering to the change requests. I opened the PR with my work account and didn't see the messages until today


Test reporting

Research a solution to implement test reporting for our test automation project.

It seems problematic to generate decent test run report for unittest.
On GutHub Actions tests executed using pytest, there are few good options for reports with pytest, so it maybe better option for us to switch to pytest and have all benefits it provides, including running tests by markers.
We could use pytest-html-reporter or allure then.


Build pipeline

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


conceal makes some some characters unreadable

Not sure if this is a vim bug or a or a issue with the plugin. However the characters that are concealed become unreadable due to the color change after being concealed. I have tried this out with many different color schemes with mostly the same results.

The one work around I was able to figure out was to run this command after starting vim and it will change the concealment characters back to the default terminal colors in my case white. I tried adding this to both the theme and the my vimrc and wasn't able to make the change happen on startup.
:highlight Conceal ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE

I am trying to replicate this issue on my other workstation now and I am unable to I have a suspicion that it may be another plugin that is conflicting. This workstation has a different vim config than the other one, I will try systematically disabling plugins until I can figure out what's conflicting.

It appears the plugin Yggdroot/indentLine was overwriting the conceal highlight with a dark color.

I had the same issue, and adding highlight Conceal ctermbg=NONE ctermfg=NONE guibg=NONE guifg=NONE fixed it for me.


incomplete unquoted-text definition

Currently the definition of an unquoted-text is as follows:
unquoted-text        ::= ([^{] | '\{')+;

source: https://github.com/projectfluent/syntax/blob/master/fluent.ebnf#L28
For most cases this is fine, however when just relying on this definition it breaks in following example:
opened-new-window = { brandName[gender] ->
 *[masculine] { brandName } otworzyl nowe okno.
  [feminine] { brandName } otworzyla nowe okno. }

In the example given above, it will read the entire line, including the '}' character, which is actually the closing bracket of the root placeable. This problem is fixed if you define an unquoted-text as follows:
unquoted-text        ::= ([^{}] | '\{' | '\}')+;

Thanks for the report! member is currently defined with the final new line on its end. I've created the 0.3 milestone to focus on the white spacing rules in the syntax. I'll come back to this issue then.

This was fixed by #32. We changed the syntax of multiline strings by removing the leading | and requiring indentation.


Deprecated methods used in home assistant (unsupported starting october 2022)

Hello,
Thank you for your work, this is a great integration for home assistant.
I deployed it successfully yesterday :)
Just had this warning, that indicates end of support by home assistant for certain methods used (warning pasted at the bottom)
Can you please dig in and ensure support past october?
I remain available if you need tests / infos.
Thank you,
--
2022-07-18 11:01:22 WARNING (MainThread) [homeassistant.components.number] custom_components.xiaomi_miot_raw.number::MiotNumberInput is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Any news regarding this issue ?
according message one month left to fix this

This fix removes the error.
Replace the file along the path of custom_components/xiaomi_miot_raw/number.py
number.py.zip


Provide Download for Helm on Apple Silicon

We will need to wait for a builder in Go for Apple Silicon. Issue for it is at https://github.com/golang/go/issues/39782

go 1.16 is released and should support it, see https://blog.golang.org/go1.16


Initial operator to manage standalone osin server

@openshift/sig-auth

/retest

/retest

/retest

/retest

/retest

/hold
for removing some of the extra stuff, e.g. in hack

I think it's a proper start. i'll save the nits for when we start filling everything in. /lgtm

/lgtm

/hold cancel
Discussed on slack, will worry about clean up after beta.


Update greased_line_ribbon.md

Typo + updated PGs

I have to stop denying the need of glasses anymore…
Dňa po 23. 10. 2023 o 17:40 Raanan Weber @.***>
napísala(a):

@.**** commented on this pull request.
In
content/features/featuresDeepDive/mesh/creation/param/greased_line_ribbon/greased_line_ribbon.md
https://github.com/BabylonJS/Documentation/pull/998#discussion_r1368889804
:

@@ -1,5 +1,5 @@

-title: GreasedLineRibbon - a non camera facing version on GreasedLine
+title: GreasedLineRibbon - a non camera facing version oF GreasedLine
⬇ Suggested change
-title: GreasedLineRibbon - a non camera facing version oF GreasedLine
+title: GreasedLineRibbon - a non camera facing version of GreasedLine
—
Reply to this email directly, view it on GitHub
https://github.com/BabylonJS/Documentation/pull/998#discussion_r1368889804,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYKGHILGSO4JNWMHOI75GTYA2FVTAVCNFSM6AAAAAA6MIHJOWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMOJSHEYDGNJWGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


DELIVERY_SIGNATURE_INVALID

Error from server<EMAIL_ADDRESS>error from server: DELIVERY_SIGNATURE_INVALID

This was happening a long time ago in #8 but it was apparently fixed then.
As discussed in #134, it has been happening again to a lot of people lately. It has happened to at least four of my contacts now, three of whom are on the default server. It has also happened to some of @burdges contacts.
When it happens, it affect's all of the person's contacts at once: the server rejects all messages to them. In three of the cases, they can still send messages, but in another case messages from them are delivered but yield a "Failed to decrypt" message.
Looking at https://github.com/agl/pond/blob/84192035288a40deeed55e798c4a2d4236029570/server/server.go#L1184 I see that the group is being read from the account object before account.Lock() is called at https://github.com/agl/pond/blob/84192035288a40deeed55e798c4a2d4236029570/server/server.go#L1191 which seems wrong. But I don't see how that could cause this problem, unless two revocations are being processed at the same time (which I don't think should be able to happen).

Should we declare this issue resolved now?

Just encountered a similar issue in which my contacts all broke with DELIVERY_SIGNATURE_INVALID.   I'll try to debug it, but looks nasty..
We'd many strange pond occurrences during the Tor developer meeting, which might've done weird shit with a generation update, but the revoke that actually broke pond was afaik yesterday.

I've found a pointer towards the bug :
A new pond test account paired with an old pond test account via manual pairing just attempted to send a message, but got :
Mar 17 11:09:02: Starting message transmission to<EMAIL_ADDRESS>Mar 17 11:10:20: Failed to read from<EMAIL_ADDRESS>read tcp <IP_ADDRESS>:9150: i/o timeout
Mar 17 11:10:20: Next network transaction in 59.74s seconds
Mar 17 11:11:20: Starting fetch because of timer
Mar 17 11:11:20: Starting fetch from home server
Mar 17 11:12:01: Next network transaction in 14m14.614s seconds

Except the message did arrive in tact at the old pond test account.  These state files are not sensitive and I can transfer them.

We've very occasionally had this error message too :
Failed to decrypt message: ratchet: duplicate message or message delayed longer than tolerance

There is seemingly a race condition in which duplicate messages can be sent, maybe by spamming Transact Now alone, probably not just quitting and restarting Pond, but maybe also by Tor dropping the circuit.

In the short term, I'd suggest that people try to be on a stable network connection, and avoid quitting pond, when they revoke contacts.  I suspect this is more due to Tor dropping the circuit than anything the user does with transact now.


[WIP] documentation

Can we merge it @MartkCz ?

It's not final yet

We can merge and prepare it to stable version


Android drm support to exoplayer

drm support to android-exoplayer
added new props for exoplayer

drmName : enum('widevine', 'playready', 'cenc')
2.drmUrl : string
3.drmHeader: Object

Can you provide some sample media and the necessary DRM info so I can test this?

You can create Widevine test content by using the google uat server and shaka packager.
This should give you all the info you would need:
https://google.github.io/shaka-packager/html/tutorials/widevine.html


chore: update ruby gems

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Incorporate node-heapdump into appmetrics

Intention is this be used as require("appmetrics/heapdump")?

@sam-github It can be used like that, but I think the main intention is that it will be built-in for appmetrics to use, the fact that it can be used standalone is more of a side effect.

@sjanuary OK, so it won't be advertised to appmetrics users?
I want to use it in strong-supervisor, it will allow us to remove a dependency on heapdump, which is a compiled module. That's OK, right?

That's fine, it should work exactly the same as heapdump at the 0.3.7 level, unit tests run fine  We may be out of date for a bit if any updates go into heapdump, but it's a pretty mature codebase so I don't think we need to worry too much about that.

LGTM


Relax to ruby2.4 version

I'm merging now, I'll take care of any comments after the fact, if needed :shrug: :sweat_smile:


#920 copy causing pause with multiSelect

https://github.com/vitmalina/w2ui/issues/920
I refactored the code to only trigger the copy on ctrl/cmd + c/x and pulled the two keys into the one code path to avoid doing to much restructuring.

The reason to do copy paste on ctr (or cmd key) not on combination of ctr + c (cmd + c) is because of Safari. In case of safari, it would not do the copy paste. However, it should be much faster in current master branch. I have tested with 3k records and copy paste should take fraction of the seconds.
Please download from master branch and see if it is any better for you.

Oh I see Safari triggers the actual copy before the keydown event fires in the browser =/ Thanks, I'll have a go with master.
Could possibly check for safari then, so at least the unneeded copies are limited to the one browser?
isSafari  : (navigator.userAgent.toLowerCase().indexOf("safari") > -1 &&
                 navigator.userAgent.toLowerCase().indexOf('chrome') == -1),

I think that checking if it is safari sounds like a plan. Can you submit updated pull request?


CLI tool to check syntax

Please document a tool that can be used to check Ron syntax. As more apps are adopting ron, it would be really great to not need (1) an entire rust sample app or (2) a full blown IDE with extension, to do basic syntax checking.

maybe this doesn't even make sense, if it needs a rust struct to know what the right format is.

Thanks, I think that answers my question pretty completely. No need to keep this open.


SimpleForm Input focus is/isn't set

Hello there,
I am using UI5 version 1.54.
When I have a SimpleForm on the first page and the first input field does not have the focus. When I navigate to the second page the input field on the second page has the focus.
Here is an example:
https://plnkr.co/edit/yvSAdRheI0JYjXm52twH?p=preview
Also I have a question: Is there a way to control this behavior? A lot of our customers doen't want to see the keyboard on their smartphones when the navigate to a form. The keyboard appears because the focus is set to the first input field (see my example). How can I disable this behavior?
Regards
jan

@Myge91
My colleagues will check this behavior via #1870314430 and updates will be posted here as well

The first control of the page should get the focus (button).
Possible Solutions:
If you don't want to use the auto-focus feature you can disable it with:
<App id="app" autoFocus="false">
See: https://openui5.hana.ondemand.com/#/api/sap.m.NavContainer

You can use two different views which have their own controller each.
Give both buttons an ID: id="button1" / id="button2 in the XMLView.
Then you can set the focus manually in "onAfterRendering" on the control you want.

Give both buttons an ID: id="button1" / id="button2 in the XMLView.
You can attach an event "afterNavigate" to set the focus on the desired control.
Example:

this.app.attachEvent("afterNavigate", function(oEvent) {
	let oCurrentPage = this.app.getCurrentPage();
	this.getView().byId(this.app.indexOfPage(oCurrentPage) === 0  ? "button1" : "button2").focus();
}.bind(this));

Best regards,
Sven

A lot of our customers doesn't want to see the keyboard on their smartphones when the navigate to a form

The focus behavior can be controlled within onAfterShow: https://stackoverflow.com/a/48559689/5846045. In our case, it could be set on a button or some other control that doesn't trigger soft keyboard to pop up.


[Snackbar] prop "key" is not passed to child components

We are using the current 5.0.0-alpha.27 version of material-ui core. When trying to use the "key" prop on the Snackbar as documented (https://next.material-ui.com/api/snackbar/#main-content) we get the following react warning:

I am not sure if we are doing a mistake on our side, but to me it looks like react tells me, there should not be a prop named "key".
"react": "^17.0.1",
"react-dom": "^17.0.1",

From https://reactjs.org/warnings/special-props.html :

Most props on a JSX element are passed on to the component, however, there are two special props (ref and key) which are used by React, and are thus not forwarded to the component.
For instance, attempting to access this.props.key from a component (i.e., the render function or propTypes) is not defined. If you need to access the same value within the child component, you should pass it as a different prop (ex: ). While this may seem redundant, it’s important to separate app logic from reconciling hints.

Are you using <Snackbar key={key} /> or <Snackback {...propsWithKey} />? What React version are you using? In the future, please follow the issue template.
It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-next), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Ok, i tried a minimal setup and can reproduce it. Here you can find the repository https://github.com/patsimm/minimal-snackbar-key-issue . I just copy-pasted the example at https://next.material-ui.com/components/snackbars/#transitions and it gives me the error I described above.

Also could reproduce on codesandbox: https://codesandbox.io/s/material-ui-issue-forked-wfel4

The bug reproduction can be simplified down to
import * as React from "react";
import PropTypes from "prop-types";

function Bug() {
  return
bug
;
}

Bug.propTypes = {
  key: PropTypes.any
};

export default function Demo() {
  return <Bug key="foo" />;
}

https://codesandbox.io/s/simplesnackbar-material-demo-forked-glkhp?file=/demo.js:0-220
The issue is with:
https://github.com/mui-org/material-ui/blob/54f0fc17d6fe90332a1412b96aad648188069a10/packages/material-ui/src/Snackbar/Snackbar.js#L294-L300
Maybe this diff would be enough?

diff --git a/docs/pages/api-docs/snackbar.json b/docs/pages/api-docs/snackbar.json
index db3f041629..ba8e1aca14 100644
--- a/docs/pages/api-docs/snackbar.json
+++ b/docs/pages/api-docs/snackbar.json
@@ -14,7 +14,7 @@
     "ClickAwayListenerProps": { "type": { "name": "object" } },
     "ContentProps": { "type": { "name": "object" } },
     "disableWindowBlurListener": { "type": { "name": "bool" } },
-    "key": { "type": { "name": "any" } },
+    "key": { "type": { "name": "custom", "description": "() => null" } },
     "message": { "type": { "name": "node" } },
     "onClose": { "type": { "name": "func" } },
     "open": { "type": { "name": "bool" } },
diff --git a/packages/material-ui/src/Snackbar/Snackbar.js b/packages/material-ui/src/Snackbar/Snackbar.js
index 62e4d39ec7..b71e6d535c 100644
--- a/packages/material-ui/src/Snackbar/Snackbar.js
+++ b/packages/material-ui/src/Snackbar/Snackbar.js
@@ -297,7 +297,7 @@ Snackbar.propTypes /* remove-proptypes */ = {
    * e.g. <Snackbar key={message} />, otherwise, the message may update-in-place and
    * features such as autoHideDuration may be canceled.
    */
-  key: PropTypes.any,
+  key: () => null,
   /**
    * The message to display.
    */
diff --git a/packages/typescript-to-proptypes/src/generator.ts b/packages/typescript-to-proptypes/src/generator.ts
index ae709f6cd3..cbd561f29e 100644
--- a/packages/typescript-to-proptypes/src/generator.ts
+++ b/packages/typescript-to-proptypes/src/generator.ts
@@ -161,6 +161,10 @@ export function generate(component: t.Component, options: GenerateOptions = {}):
     }

     if (propType.type === 'any') {
+      if (context.propTypeDefinition.name === 'key') {
+        return '() => null';
+      }
+
       return `${importedName}.any`;
     }

diff --git a/packages/typescript-to-proptypes/test/injector/should-include-filename-based/output.js b/packages/typescript-to-proptypes/test/injecto
r/should-include-filename-based/output.js
index ed64a09559..7e2c223844 100644
--- a/packages/typescript-to-proptypes/test/injector/should-include-filename-based/output.js
+++ b/packages/typescript-to-proptypes/test/injector/should-include-filename-based/output.js
@@ -9,7 +9,7 @@ Snackbar.propTypes = {
   /**
    * some hints about state reset that relates to prop of this component
    */
-  key: PropTypes.any,
+  key: () => null,
 };

 export { Snackbar };

I haven't figure out: why now.

I haven't figure out: why now.

Ok, we are good. The why is that we were doing this in v4 <WithStyles(Snackbar) key="foo">, but the prop-type was only applied to Snackbar, not WithStyles(Snackbar). So we never reached this case: https://codesandbox.io/s/simplesnackbar-material-demo-forked-glkhp?file=/demo.js:0-220.

I'll make a PR. Your code solves it.


Add __toString method to Document, Fixes #86

This commit adds a toString method to Document.php, allowing one to use echo $document instead of `echo $document->saveHTML()

Thanks! I'm working on getting test coverage back close to 100%, would you mind adding a unit test for comparing echoing a Document vs. calling saveHTML()?


FEAT: Add Dark Mode theme

Screenshots

fixes: In Dark theme the drawer component is getting weird

Thank You @Tejinder15 for pointing this out but the drawer component is part of the component library and dark mode is not made for that as of now. The dark mode is only for the documentation site. When I add dark mode for CL also it would get fixed.


Day50: Power of Four - Recursion

Power of Four
https://leetcode.com/problems/power-of-four/
Given an integer n, return true if it is a power of four. Otherwise, return false.
An integer n is a power of four, if there exists an integer x such that n == 4x.

Example 1:
Input: n = 16
Output: true
Example 2:
Input: n = 5
Output: false
Example 3:
Input: n = 1
Output: true


Campaign | Poster: Display routes

Similar to routes for doors https://github.com/verdigado/gruene_app/issues/170 and flyers #270 , routes should be shown for posters too. They are read-only for users and are provided via the cockpit. Routes can be toggled on or off via the submenu #267.
Color definition: #282

Prototype: https://www.figma.com/proto/7wE0Iveas3GGb8u4oL0714/App-Design-Mitglieder-App-(1)-(Copy)?node-id=2683-13792&t=b8swD5IOAFfZ0OSo-1
API reference: https://github.com/verdigado/gruene-api/issues/42
Pollion reference: https://github.com/pollion/sunflower-app/issues/133

Please review issue description and move to "Ready for Development" @leagerndt @JuliaFreitagBGSt


cf_xarray can't identify latitude and longitude in CONUS404

cf_xarrray can't identify the latitude/longitude variables in CONUS404 with ds.cf["latitude"] and ds.cf["longitude"].
If you check the methods for cf_xarray, you will see that we do not include standard_name, our long_name is not exactly 'longitude'/'latitude', and there are multiple variables with the unit degree_east/degree_north. See below for longitude printout of 3 conflicting variables:

Is this a know/accepted issue or could we update the CONUS404 metadata to be more compatible with cf_xarray?

long_name has no meaning in CF, we should definitely be including "standard_name" for time, longitude and latitude!
Super easy to change since we have Zarr format!

Do you have a notebook that represents how to do this? I think I've seen the process, but it's been awhile, and I'd like to try to update the metadata to refresh myself (and then add the notebook to our repo as a demo).

@amsnyder , @rsignell-usgs  I've updated the on-prem metadata for the CONUS404 hourly, monthly, daily, and daily_xtrm datasets to include standard_name on the lat and lon variables. If this works correctly now then we can push the zmetadata files to their cloud locations.

I tested the dataset on Caldera with ds.cf['latitude'] (like @rsignell-usgs originally used) - I think cf_xarray allows all coordinates that match any of the criteria specified in the link above to be returned (using standard_name, long_name, and units), so I am getting back latitude, lat_u, and lat_v because they all have the unit degree_north.
However, I can get just the coordinate lat back if I use ds.cf.standard_name['latitude'] so I think that addition should work.
However, I think you accidentally labeled lon_u with the standard_name 'longitude' instead of lon. Could you fix that when you get the chance and I'll test again @pnorton-usgs ?

@amsnyder I took a look at the zmetadata but the lon variable is correctly marked with the standard_name attribute; the lon_u variable does not have that attribute. The ds.cf.standard_names command returns:
{'latitude': ['lat'],
 'longitude': ['lon'],
 'time': ['time'],
 'projection_x_coordinate': ['x'],
 'projection_y_coordinate': ['y']}

I just tested and it seems to be working. Feel free to push the changes up to the cloud dataset!

@amsnyder - I've pushed the zmetadata updates for hourly (cloud and osn), monthly (cloud), and daily (cloud). I verified that each dataset, when opened, has standard_name for latitude and longitude.

Thanks @pnorton-usgs !


Incomplete Integrals

Could you please add the incomplete elliptic integral of the second kind? Or is that too difficult? Trying to figure it out now and can't figure out how to do it.

Hi Zane, it's a good idea, but I haven't spent much time digging into the literature and thinking about implementing this.
My understanding is that the modern approach is to convert classic elliptic integrals into Carlson symmetric form, and just implement the Carlson integrals.
Please let me know if you find pseudocode listings for how to implement the Carlson symmetric integrals robustly.

The efficient way to implement these is discussed in Carlson's proceedings Elliptic Integrals: Symmetry and symbolic integration, from the 1997 Turin conference on the centennial of Tricomi's birth. The duplication formulas are summarized at e.g. https://dlmf.nist.gov/19.26#iii

Hi, I landed here as I needed incomplete integrals to compute equidistant points on an ellipse (same arc length). In case this can help anyone else, I came across this numerical integration method which is not exact but was good enough for my use-case: https://stackoverflow.com/a/6972434. Here is my JS implementation:
export const getEquidistantPointsOnEllipse = ({
  r1,
  r2,
  numberOfPoints,
  deltaTheta = degToRad(1)
}) => {
  // we want to avoid calculating the inverse of the incomplete elliptic integral of the second kind
  // https://math.stackexchange.com/questions/172766/calculating-equidistant-points-around-an-ellipse-arc
  // could only find complete elliptic integrals in JS
  // https://github.com/duetosymmetry/elliptic-integrals-js/issues/2
  // we trick by integrating the arc perimeter manually and marking the points as we do
  // https://stackoverflow.com/questions/6972331/how-can-i-generate-a-set-of-points-evenly-distributed-along-the-perimeter-of-an
  // # dp(t) = sqrt( (r1*sin(t))^2 + (r2*cos(t))^2)
  // # circ = sum(dp(t), t=0..2*Pi step 0.0001)
  // # n = 20
  // # nextPoint = 0
  // # run = 0.0
  // # for t=0..2*Pi step 0.0001
  // #     if n*run/circ >= nextPoint then
  // #         set point (r1*cos(t), r2*sin(t))
  // #         nextPoint = nextPoint + 1
  // #     next
  // #     run = run + dp(t)
  // # next
  const integralSteps = Math.round((Math.PI * 2) / deltaTheta)
  const dp = t =>
    Math.sqrt(Math.pow(r1 * Math.sin(t), 2) + Math.pow(r2 * Math.cos(t), 2))
  const circ = compose(
    sum,
    map(step => dp(step * deltaTheta))
  )(range(0, integralSteps))
  // then gather equi-arcdistant points along the ellipse
  let run = 0
  let nextPoint = 0
  let points = []
  for (let i = 0; i < integralSteps; i++) {
    const t = i * deltaTheta
    if ((numberOfPoints * run) / circ >= nextPoint) {
      points.push({
        radAngle: t,
        x: r1 * Math.cos(t),
        y: r2 * Math.sin(t)
      })
      nextPoint++
    }
    run += dp(t)
  }
  return points
}

Hi @tibotiber, thanks for the message. I am open to implementing additional functions like incomplete integrals, their inverses (for example the Jacobi sn() function), and related functions (like the Jacobi am() function). I would avoid algorithms that rely on direct quadrature because they do not have the convergence guarantees that iterative ones enjoy (e.g. based on duplication formulas or the AGM), rather they converge with the step size of the quadrature routine, making their speed depend on the argument.
I would suggest that you take a look at https://en.wikipedia.org/wiki/Jacobi_elliptic_functions#Definition_as_trigonometry:_the_Jacobi_ellipse and see if you can rephrase your problem in terms of am(), which enjoys a rapidly converging iterative algorithm, which I've seen in the literature.


Git err in install

Hello,
i get the following error message when trying to install the vagrant box
OS : Fedora 26
[thieryl@localhost mage2]$ bash init_project.sh
[2017-09-14 21:14:15] Checking requirements [/home/thieryl/Projects/VAGRAMT/mage2/scripts/host/check_requirements.sh]
[2017-09-14 21:14:15] >  Installing PHP [/home/thieryl/Projects/VAGRAMT/mage2/scripts/host/install_php.sh]
[2017-09-14 21:14:15]     >  Automatic PHP installation is not available for your host OS. Please install any version of PHP to allow Magento dependencies management using Composer. Check out http://php.net/manual/en/install.php [/home/thieryl/Projects/VAGRAMT/mage2/scripts/host/install_php.sh]
[2017-09-14 21:14:15] Installing missing vagrant plugins [init_project.sh]
[2017-09-14 21:14:15] Generating random IP address, and host name to prevent collisions (if no custom values specified) [init_project.sh]
[2017-09-14 21:14:15] Checking out CE repository [init_project.sh]
[thieryl@localhost mage2]$ [2017-09-14 21:14:19] Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists. [Unknown source file]

[thieryl@localhost mage2]$

Hi, please make sure you have SSH keys generated and associated with your github account (see requirements section).
Make sure to install any version of PHP on your host (is required for composer only)


Display flex - problem with height of item

There is two main problem:
Documentation don't have information in install page about this library:
https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.2.0/imagesloaded.pkgd.min.js
If display flex is used on 'filtr-item' then height on container is wrong calculate.

Hi triloworld.
I have the same issue.. Have a found a solution ?

No. Just find that i need fixed height. This problem have multiple possible answear.
Do you have image in it? Check if it have width or height fixed in img tag or by using imagesloaded.pkgd.min.js
Is there all class and they not misspelled? I have issue because documentation don't say what is mandatory and what not.
Flex is rather not possible to use right now (don't know why calculation of container creating such a problem)
You can try apply display:inline-block;
You can add transform: translateZ(0) and pespective: 1000 and backface-visibility: hidden; if this fix can help.

I have same problem with

Where all the bootstrap cards are in a single row, with a fixed width (50%) so they do wrap...
With MixItUp there's no issue...


Rainbow Plots For Bad Loss!

Dear author, can you please provide the code to plot the rainbow  of the four bad loss functions

Hi! For the bad loss functions' rainbow plots, you can simply replace the lines of loss function and corresponding gradients in the rainbow plot code. In this way, you can easily get rainbow plots for any bad loss you want to try.


Should we support reverse engineering?

Just want to hear the ideas out there;
There is a lot of effort that went into supporting reverse engineering of pipelines and to keep supporting it we need to be a lot more thorough reviewing PRs and spend time testing and making sure that all new things are reversible. At the same time, we have a lot to catch up: config repos, auth plugins, roles.
Is reverse engineering a feature we want to keep in gomatic? Is the effort on maintaining it compatible with the value it brings?

Just to say, I starred this repo instead of similar ones because of the reverse engineering.

Yes please, stay with reverse engineering! It is a very valuable feature to our project.


BAU: Prepare for migrating to Concourse

This pull requests has the following changes.

Upgrade Gradle from 5.0 to 6.0 for future proof.
Replace compile with implementation. This change is needed to avoid failing with an error in Gradle 7.0 and to resolve a warning message from Gradle 6.0.
Upgrade AssertJ and Mockito Core libraries to the latest versions. These changes are needed to avoid picking up dependencies which will not be supported beyond OpenJDK 11. These libraries have been moved to testImplementation as these libraries are used for unit test cases only.
Add credentials to publishing reposistory config. This change is necessary to allow publish task to be executed in Concourse. This will allow Gradle to publish the package to a remote Artifactory.

Author: @adityapahuja

Travis is failing due to us running the build with Java8 which suggests we may need to support it. Is that the case or can we drop it?

I forget to add a last commit which is to update Travis to use OpenJDK 11 only. We do not use Java 8 and 9 anymore.


Relate Use Cases to User Stories

Many use cases do not have information on what user stories they relate to

I looked through our use cases.
All of the use cases we have do contain the user story they relate to (All but i think - J1). Could someone ask Alex about this?