Error when requiring react-router

It doesn't even load. I get:
Uncaught TypeError: Super expression must either be null or a function, not undefined
in ContextWrapper.js:5
Am I doing anything wrong?

I am also seeing an error in IE8

using the following:
import { Route } from 'react-router';

The issue had to do with using two different versions of react simultaneously...


Added support for Dali data loader

This PR adds the initial support for DALI data loader Fixes https://github.com/argonne-lcf/dlio_benchmark/issues/41

@zhenghh04 I have merged with latest main.


Implement Minswap market cap for MNT

Description: This issue focuses on implementing the Minswap market cap calculation for MNT (Mynth Token). The Minswap market cap is a valuable metric that provides insights into the overall value and performance of MNT within the Minswap ecosystem. To achieve this, we will review and fork the Minswap market-cap repository, follow the provided instructions, and add the necessary implementation for MNT. Finally, we will submit a pull request to contribute our MNT market cap implementation to the Minswap project.
Tasks:

[x] Review the Minswap market-cap repository and its existing implementation.
[x] Fork the Minswap market-cap repository to our organization's GitHub account.
[x] Identify the necessary modifications and additions required to support MNT market cap calculation.
[x] Implement the MNT market cap calculation based on the provided instructions and the specific requirements for MNT.
[x] Test the MNT market cap calculation to ensure accuracy and correctness.
[x] Submit a pull request to the original Minswap market-cap repository with our MNT market cap implementation.

Acceptance Criteria:

The MNT market cap implementation has been added to the Minswap market-cap repository, following the provided instructions and guidelines.
The MNT market cap calculation produces accurate results and is thoroughly tested.
A pull request has been submitted to the original Minswap market-cap repository, providing our MNT market cap implementation for review and potential integration into the main project.

Additional Context:
The Minswap market cap is a valuable metric that helps gauge the value and significance of MNT within the Minswap ecosystem. By implementing the MNT market cap calculation and contributing it to the Minswap project, we can enhance the understanding and analysis of MNT's performance. This improvement will benefit Mynth and Minswap users.

Marking this as complete because it's up to Minswap team now to review


Fix parallel_map docs

Summary
Minor fix to remove unpublished events from parallel map docs. Fixes #11708.
Details and comments

@Mergifyio backport stable/0.46


Sample projects don't open in Visual Studio

The initial issue is that opening from the solution file results in Visual Studio opening with the projects unloaded.
This is fixed by adding a global.json file directing to the .NET Core version installed.
For example - the sample under: 3_AspNetCoreAndApis
Having resolved this, the solution can then not be built reporting project.assets.json not found for each project.
The samples should open and at least build without having to work through these steps.

There is global.json in the root folder of the repo. Edit "version": "3.1.200" to match the highest version number installed on your computer (for VS users, PM Console dotnet --list-sdks` to see versions).
The nuget.config in root folder can also cause grief for VS. Uncheck "IdentityServer Local" in NuGet Package Manager / Package Sources.


The peer count will not go up. peers count: 0/13 Connected

The peer count will not go up.
Peers count: 0/13 Connected
OS: darwin/arm64
Daemon version: 0.28.9
CLI version: 0.28.9
Management: Disconnected
Signal: Disconnected
Relays:
[stun:stun.netbird.io:5555] is Available
[turns:turn.netbird.io:443?transport=tcp] is Available
Nameservers:
FQDN:
NetBird IP: N/A
Interface type: N/A
Quantum resistance: false
Routes: -
Peers count: 0/13 Connected
2024-08-30T18:12:00+09:00 ERRO client/internal/routemanager/systemops/systemops_generic.go:336: Failed to add route reference: adding route reference: with ID: failed to add for prefix 2600:1901:0:adb3::/128: add route to table: failed to add route for 2600:1901:0:adb3::/128: route cmd retry failed: exit status 77
2024-08-30T18:12:00+09:00 INFO client/internal/routemanager/manager.go:135: Routing setup complete
2024-08-30T18:12:00+09:00 ERRO client/internal/engine.go:347: failed creating tunnel interface utun100: [operation not permitted]
2024-08-30T18:12:00+09:00 INFO client/internal/routemanager/manager.go:170: Routing cleanup complete
2024-08-30T18:12:00+09:00 DEBG client/internal/engine.go:1251: removing Netbird interface utun100
2024-08-30T18:12:00+09:00 ERRO client/internal/connect.go:263: error while starting Netbird Connection Engine: create wg interface: operation not permitted

Sorry, It was my configuration issue.


Map reduce index bug

PR Type

Bugfix

Description

In coreax/solvers/composite.py, added logic to keep track of indices in the reduce method of MapReduce class, this resolves the Fix MapReduce solver Indexing bug #779
How Has This Been Tested?

Added test_mapreduce_diverse_selection in tests/units/test_solvers.py. It only passes when MapReduce contains datapoints with indices higher than the size of the leaf_node.
Does this PR introduce a breaking change?

No
Screenshots

(Write your answer here.)
Checklist before requesting a review

[ ] I have made sure that my PR is not a duplicate.
[ ] My code follows the style guidelines of this project.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have performed a self-review of my code.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

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

@qh681248 This is a significant bug fix. Don't forget to add it to the CHANGELOG.

Thanks for adding this analytic test, @qh681248. Your description is very thorough. Please see some initial comments and suggested changes below.
I'll allow time for @tc85324 to review the analytic test as well, and share any thoughts or comments too.

@tc85324 if we haven’t heard from you by Thursday, we’ll assume you’re okay with not reviewing these changes before the v0.3 release. Any changes you request later will be addressed and included in future releases.


Menu problem when add new module

Hi,
I have 2 Role 1) Master Admin 2) Super Admin. When I add a new module name with 'news management' and it shows in 'Master Admin' not show for other users (e.g. Super Admin). I checked 'news management' (e.g. News Management, News Create, Edit News etc. in 'Associated Permissions')  in 'User Management' and 'Role Management'.  But 'News management' show in master admin only not show in 'Super Admin'.
Anyone please me !!

Hello @gunjanbacancy, you probably have added a permission name while adding the menu, which is available for "Master Admin" and not in "Super Admin".

It's working now. Thanks


Allow option or classes for using pickadate's default styles and functions

Reason

Doesn't go inline with their docs e.g I tried as below
$('.datepicker').pickadate({
selectMonths: true,
selectYears: true
});

I didn't get the expected result sad :(

I faced the same issue. If we want to use the datepicker to allow user to choose birthday, it will be very impractical as he has to click the next month or previous month button multiple time before he can find the correct year.

Select in datepicker works now.

cool


Outdated comments in a non-checked out PR cause a console error

rejected promise not handled within 1 second: Error: Illegal argument: line must be non-negative
[c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:112
stack trace: Error: Illegal argument: line must be non-negative
    at y ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:5:1247)
    at new p ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:18560)
    at new p (c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:84:17955)
    at [d:\repos\Microsoft\vscode-pull-request-github\dist\webpack]():\vscode-pull-request-github\src\view\pullRequestCommentController.ts:172:8
    at Array.map (<anonymous>)
    at [d:\repos\Microsoft\vscode-pull-request-github\dist\webpack]():\vscode-pull-request-github\src\view\pullRequestCommentController.ts:170:7
    at Array.forEach (<anonymous>)
    at PullRequestCommentController.addThreadsForEditors ([d:\repos\Microsoft\vscode-pull-request-github\dist\webpack]():\vscode-pull-request-github\src\view\pullRequestCommentController.ts:161:11)
    at PullRequestCommentController.onDidChangeOpenEditors ([d:\repos\Microsoft\vscode-pull-request-github\dist\webpack]():\vscode-pull-request-github\src\view\pullRequestCommentController.ts:232:9)
    at [d:\repos\Microsoft\vscode-pull-request-github\dist\webpack]():\vscode-pull-request-github\src\view\pullRequestCommentController.ts:65:10
    at l.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:64:1712)
    at [c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:94:64933
    at l.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:64:1712)
    at p.acceptDocumentsAndEditorsDelta ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:93:74645)
    at p.$acceptDocumentsAndEditorsDelta ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:93:72836)
    at i._doInvokeHandler ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:97:13801)
    at i._invokeHandler ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:97:13485)
    at i._receiveRequest ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:97:12147)
    at i._receiveOneMessage ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:97:10825)
    at [c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:97:8934
    at l.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:64:1712)
    at s.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:72:19002)
    at [c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:112:34390
    at l.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:64:1712)
    at s.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:72:19002)
    at a._receiveMessage ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:72:23583)
    at [c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:72:21117
    at l.fire ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:64:1712)
    at _.acceptChunk ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:72:15833)
    at [c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:72:14963
    at Socket.A ([c:\Program]() Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:112:13838)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at Socket.push (internal/streams/readable.js:223:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
    at Pipe.callbackTrampoline (internal/async_hooks.js:131:14)

This also causes some comments not to be fully added, so if you try to edit a comment later then there will be more errors and possible bugs.

@alexr00 can you list some verification steps? Thanks.

To verify:

Setup or already have a PR in the following way (can be done from extension or github.com)
a. Make a commit.
b.
Install GitHub Pull Requests and Issue pre-release.
Open the repository from (1) in VS Code and check out any branch except the PR branch.
Go to the Pull Requests view.
Expand the the PR that you made in (1)
Open the file diff from (1c) using the Pull Requests view
Open the developer tools and verify that you don't see the exception in the issue.


Loss route suggested

Hi
Often I also observe, the route ends up in loss as below.  How to avoid that?
Code:
import asyncio
from peregrinearb import load_exchange_graph, print_profit_opportunity_for_path, bellman_ford

loop = asyncio.get_event_loop()
graph = loop.run_until_complete(load_exchange_graph('bitfinex', fees=True))
paths = bellman_ford(graph, 'BTC', unique_paths=True)
for path in paths:
    print_profit_opportunity_for_path(graph, path)

Output:

This is due to imprecision in floating point operations and the problems it causes are not severe enough to warrant e.g. using a different arithmetic implementation.


Reset Password Screen don't have back button on header

Describe the bug
What is the expected behavior?
What are the steps to reproduce?
Go to Password Reset Screen
On the header , there is no back button . also by clinking on cancel button , it is moving to main screen instead of back screen.

Check to see if Close button is in header after icon fixes. We may want to split out main screen instead of back screen to separate issue.


Functions should return nullable objects

Godot doesn't specify if functions return values can be null, so outside of constructors, it means all functions returning an object must do so with ?*T. However, so far I noticed bindings always return *T:
pub fn get_texture(self: anytype) *Texture2D {
    var result:?*Texture2D = null;
    const Binding = struct{ pub var method:C.GDExtensionMethodBindPtr = null; };
    if( Binding.method == null ) {
        const func_name = StringName.initFromLatin1Chars("get_texture");
        Binding.method = Godot.classdbGetMethodBind(@ptrCast(Godot.getClassName(Sprite2D)), @ptrCast(&func_name),<PHONE_NUMBER>);
    }
    Godot.objectMethodBindPtrcall(Binding.method.?, @ptrCast(self.godot_object), null, @ptrCast(&result));
    result = @ptrCast(@alignCast(Godot.getObjectInstanceBinding(@ptrCast(result))));
    return result.?;
}

Returning ?*T is necessary for example if you call sprite.get_texture(), because there could be no texture assigned, and this is a valid use case. Having ?*T would also allow to do if (sprite.get_texture()) |texture| for example.
This could be improved if GDExtension had hints for this though, which I believe was brought up at some point.

Oops wrong repo


Add profile (Mannu)

What does this PR do?

Fixes #(issue)

Type of change

Bug fix (non-breaking change which fixes an issue)
Chore (refactoring code, technical debt, workflow improvements)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How should this be tested?

[ ] Test A
[ ] Test B

Mandatory Tasks

[ ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Checklist

I haven't read the contributing guide
My code doesn't follow the style guidelines of this project
I haven't commented my code, particularly in hard-to-understand areas
I haven't checked if my PR needs changes to the documentation
I haven't checked if my changes generate no new warnings
I haven't added tests that prove my fix is effective or that my feature works
I haven't checked if new and existing unit tests pass locally with my changes

No conflicts. Let me merge it. If possible also drop a star ⭐ to the repository.

yeah sure

If you are familiar with Next JS, I need help with Infinity scroll pagination, if you are willing to help

Actually my exams are going on, So maybe after they end

Cool. No issues. Btw your profile is live https://x.hellofaizan.me/


Add 'Meet the Team' to GitHub.io

We should add a picture and brief bio, as well as a ink to everyones meet the team material, on our GitHub.io page

I could bring in my camera to try and get good headshots for the page.

I reluctantly agree. I HATE having a picture taken, but I will relent for the good of the DTF 💃

Clearly this highlights the need for a reluctant thumbs up emoji.


Need to show highlighted days only, not ranges

Hi,
I am trying to change your code to achieve something that I want but unfortunately things are not going in the right direction. I have an ArrayList and all i want is to highlight the calendar list dates based on the data in the list i.e I don't want any ranges. Can you please help me out..?

+1

+1

+1

+1

+1

+1

+1

dayPickerView.setDateTime(new SimpleMonthAdapter.CalendarDay(startdate.getTime()));
dayPickerView.setDateTime(new SimpleMonthAdapter.CalendarDay(enddate.getTime()));
first is start date and second is end date. call in calendar activity.

@rugved-mahamune not recognized method .setDateTime.

public void setSelectedDateTime(CalendarDay calendarDay){
    if (selectedDays.getFirst() != null && selectedDays.getLast() == null)
    {
            selectedDays.setFirst(null);
            notifyDataSetChanged();
            return;
        }
        selectedDays.setLast(calendarDay);
        if(selectedDays.getLast().getDate().getTime() < selectedDays.getFirst().getDate().getTime()) {
            CalendarDay tmp = selectedDays.getFirst();
            selectedDays.setFirst(selectedDays.getLast());
            selectedDays.setLast(tmp);
        }
        if (selectedDays.getFirst().month < calendarDay.month)
        {
            for (int i = 0; i < selectedDays.getFirst().month - calendarDay.month - 1; ++i)
                mController.onDayOfMonthSelected(selectedDays.getFirst().year, selectedDays.getFirst().month + i, selectedDays.getFirst().day, selectedDays.getFirst().hourOfDay);
        }
        mController.onDaySelect(calendarDay, selectedDays, false);
        mController.onDateRangeSelected(selectedDays);
    }
    else if (selectedDays.getLast() != null)
    {
        selectedDays.setFirst(calendarDay);
        selectedDays.setLast(null);
        mController.onDaySelect(calendarDay, selectedDays, false);
    }
    else {
        selectedDays.setFirst(calendarDay);
        mController.onDaySelect(calendarDay, selectedDays, false);
    }
    notifyDataSetChanged();
}

Add the above function to SimpleMonthAdpter
and the below to DayPickerView
public void setDateTime(SimpleMonthAdapter.CalendarDay dateTime){
mAdapter.setSelectedDateTime(dateTime);
}
sorry I forgot I added these methods.. feel free to ask if any more bugs  :)

Am Trying to do the same but there is extra bracket in your above method and no any method onDaySelect.


doc(data-fetching): add mention of GraphQL Code Generator for end-to-end type safety

Add mention to GraphQL Code Generator to get the best of the GraphQL experience with SWR and graphql-request (cf: https://www.the-guild.dev/graphql/codegen/docs/guides/react-vue)

Hi @shuding,
would this be dependent or conflicting with your current https://github.com/vercel/swr-site/pull/361 PR?


Typo fix

etcd instead etc

@MGoedtel
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#reassign:Nickomang

Thanks @heidihoward !
#sign-off


group-pm: fix colorHashFromString

colorHashFromString() now considers all charecters in the string it can also now return colors with red component in it. Also fixed the cases where the function returned #NaN for very long or empty strings.
Fixes: #3985

@ray-kraesig since this function is only used in GroupAvatar.js should I move it into that.

@jainkuniya the difference isn't exactly visible in the UI
Before:

After:

since this function is only used in GroupAvatar.js should I move it into that?
Also,

desirable properties are tested – e.g., that similar strings have different hashes,or that short and long strings generate valid values.

you meant the opposite right similar strings have similar hashes

since this function is only used in GroupAvatar.js should I move it into that?

While that's the only place it's used now, it's conceptually generic and could reasonably be used elsewhere if there were any call for it. Unless that's going to change, it might as well stay where it is.
(It probably wouldn't be worth the churn to move out, if it were already there. But it's not.)

Also,

desirable properties are tested – e.g., that similar strings have different hashes,or that short and long strings generate valid values.

you meant the opposite right similar strings have similar hashes

Decidedly not! That's often exactly the property you want a hash function not to have; it makes finding collisions easier.
This application doesn't exactly call for a cryptography-grade hash, but it's still desirable that (e.g.) "John Doe, Juan Pérez" and "John Doe, Jean Dupont" have different colors, even though under the current function they wouldn't. Obviously the pigeonhole principle guarantees that this won't be true in the general case, but matches should generally be uncommon.

@ray-kraesig thanks for clarifying, It seems I interpreted 'similar strings' as "John Doe" and
"John  Doe". I've added the suggested modifications.

Bumping in priority because it's apparent that the bug described in the issue is causing a P0 crash, https://github.com/zulip/zulip-mobile/issues/4038

Bumping in priority because it's apparent that the bug described in the issue is causing a P0 crash, #4038. I'll try for a simple fix that can ignore the #NaN output, unless @ray-kraesig if you happen to know if this is very close to mergeable (or you can merge with a few tweaks).

As of the last pass, I think all issues have been resolved. I'll run a couple of additional tests, but it should be mergeable.

Thanks @Maskedman99 and @ray-kraesig!


Fix R2 wildcard etag parsing

This commit addresses issue #2572

Oops thought maybe clicking close would give me an option to merge.

@jasnell @anonrig should I get a review from anyone else? If not, could one of you help me with merging this

Have you run an internal CI job with this update to verify everything works internally? If so, this should be ready to land. If not, let's do that first.


does wsldl supposed with wsl2？

there is a problom when i use pycharm  【At the moment PyCharm supports WSL installations only from Microsoft Store.】https://youtrack.jetbrains.com/issue/PY-32424，so this repo is useful when wsl ，what about wsl2？

Could you try this?:
https://www.jetbrains.com/help/ruby/configuring-remote-interpreters-using-wsl.html#custom_wsl


auth/jwt: RefreshJWT constructor should use JwtRefreshExpiry value

This fixes a bug where the RefreshJWT token
used the JWTExpiry instead of the refresh
one.

thanks a lot!


Broken Link

The link for "Replication with SQL Database Managed Instance (Public preview)" ( http://review.docs.microsoft.com/sql/relational-databases/replication/replication-with-sql-database-managed-instance ) gives a 403 - Forbidden.

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

ID: 3fb7dad4-ff47-5b16-e8ee-0a5e037ea20f
Version Independent ID: 98ec245b-bd8f-bd96-ec6d-0048599246fa
Content: Azure SQL Database feature comparison
Content Source: articles/sql-database/sql-database-features.md
Service: sql-database
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

@cmullican Thanks for the feedback. I am not able to reproduce the 403 error. Is it still occurring?

It is:

'Maybe you are in the authorized group, but the general public isn't?

@cmullican Yes, this is a repo thing. I believe updates are being pushed out but I will forward this on to the content owner to have this looked at. Thank you!

Any update on this?

@CarlRabeler FYI, broken link. Thanks!

fixed

@cmullican We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


feat(Algebra/Group/Even): "Advanced" lemmas about even elements.

Add construction of subgroup of even elements / squares.
Add result that squares (IsSquare) are non-negative.
These results cannot be added to Mathlib.Algebra.Group.Even directly because of import restrictions.
This PR is split off from #16094

[x] depends on: #20271 (uses new names)

Advanced isn't really descriptive. What about Algebra.Group.Submonoid.Even?

Advanced isn't really descriptive. What about Algebra.Group.Submonoid.Even?

That sounds good, but I'm also adding the non-negativity result. Maybe that should go elsewhere? Not sure where the right home for it is. It can't go in Algebra.Group.Even due to import restrictions on order.

What about a file under Algebra.Order.Group? Also note that the diff currently contains unrelated changes. Likely your last merge was botched somehow.

Uhh
I think I messed up the diff somehow
I was just trying to rebase onto the latest changes

What about a file under Algebra.Order.Group? Also note that the diff currently contains unrelated changes. Likely your last merge was botched somehow.

The lemma this is a variation on (mul_self_nonneg) is in Algebra.Order.Ring.Unbundled.Basic. However, import restrictions prevent me from putting the lemma directly into that file (Group.Even imports MonoidHom). Other files such as Algebra.Order.Ring.Basic are about bundled order typeclasses. I've put it at the top of Algebra.Order.Ring.Basic for now, but this doesn't feel like the right solution.

I see you fiddle with Mathlib.lean quite a lot. Do you know about lake exe mk_all?


Change "theme" to "classes" in Settings

Rename settings theme argument to classes
Rename getTheme to getClasses and getComponentTheme to getComponentClasses

Related to #170

LGTM, and Vercel built without issue which is probably the best way to find any oddities.  Thanks!


Migrate to Swift 5.0

@zaltzy Can I work on migrating current code to swift 5?

Go ahead... But I no longer have admin privileges for this repo since I no longer work for Intuit (that's why I'm not maintaining this anymore). You can try creating a PR or just fork this repo and work from there..

@zaltzy Done!

Got my push permissions back :) Merged your PR.
Thank you!


How to export q4f16.onnx

Question
Thanks for providing such a great project, but I have a problem converting the model.
For example:
model_q4f16.onnx

What command is used to create and export such a q4/f16.onnx model?
Can you give me more tips or help? Thank you

I will add it to the conversion script, but you essentially just need to convert the q4 model to fp16 with:
from onnxconverter_common import float16
import onnx
import os

loaded_q4_model = onnx.load_model('./model_q4.onnx')

model_q4fp16 = float16.convert_float_to_float16(
    loaded_q4_model,
    keep_io_types=True,
    disable_shape_infer=True,
)

save_path = './model_q4f16.onnx'
onnx.save(model_q4fp16, save_path,
          convert_attribute=False,
          all_tensors_to_one_file=True,
)


Adding new design property.

#major#

Update the README as well?

Yeah - this should be documented.  Will add.

:+1:


await collection.GetSnapshotAsync() line is not returning to next line in .Net MAUI project

Hi,
While using Firebase.Cloud.Firestore library in .Net MAUI project, i have faced issue in below line, where my code execution stuck at this line indefinitely and did not return to next line:
var snapshot = await collection.GetSnapshotAsync();

Environment details

OS: Android device Emulator
.NET version: 7.0
Package name and version:

Below workaround worked for me where I re-write the code and used ContinueWith() instead of await:
        Task task = collection.GetSnapshotAsync().ContinueWith((t) =>
            {
                if (t.IsCompletedSuccessfully)
                {
                    QuerySnapshot snapshot = t.Result;
                    result = snapshot.Documents.Select((x) => {
                            T obj = x.ConvertTo<T>();
                            obj.Id = x.Id;
                            return obj;
                        }).ToList();
                }
            });

task.Wait();
Thanks!

I will try to reproduce this when I'm back from vacation next Tuesday.

Can you please clarify which library you are using and which version? You mentioned Firebase.Cloud.Firestore library but we don't maintain any such library in this repo. Which Nuget package exactly?
Also, can you confirm that the method that contains the line var snapshot = await collection.GetSnapshotAsync(); is an async method?
With that info I might be able to look before Tuesday.

Hi,
Kindly see the attached snapshot for the request library and version:

Thanks

Thanks, yes we do maintain Google.Cloud.Firestore.
If you could share more about the context where you are exeucting this line of code var snapshot = await collection.GetSnapshotAsync(); that'd be helpful as well to attempt reproduction. The reason I'm asking is because in MAUI code that needs to access user interface elements needs to be executed on the UI or main thread, else it could lead to blocking.
Ideally you could share a small but complete MAUI application that reproduces the problem and we can take it from there. Basically there are many ways in which you could be executing var snapshot = await collection.GetSnapshotAsync(); and it'd be hard for us to try and guess which you are using.

Okay, I've just tried to reproduce this, and experienced everything behaving as expected. Steps I took:

Create a new solution
Create a new MAUI app within the solution - I used .NET 7.0
Remove iOS from the build (as it's not relevant to this reported issue)
Add await Task.Delay(2000); in MainPageOnCountClicked() just after count++, as well as making it async
Run the app in the emulator - it takes a couple of seconds to respond to the button, as expected
Test breakpoints: stepping over the await Task.Delay(2000) behaves as expected
Add Google.Cloud.Firestore dependency (3.3.0)
Hard-code a service account credential (not recommended for production code, of course) and project ID as constants in MainPage
Create a document called "test" in a collection "issue10934", with a field "x" which has a string value
Change code in MainPage to this:

public partial class MainPage : ContentPage
{
    // Adjust as appropriate, of course
    private const string ServiceAccountJson = "...";
    private const string ProjectId = "...";

    private FirestoreDb db;

    public MainPage()
    {
        InitializeComponent();
        db = new FirestoreDbBuilder
        {
            ProjectId = "jonskeet-personal",
            Credential = GoogleCredential.FromJson(ServiceAccountJson)
        }.Build();
    }

    private async void OnCounterClicked(object sender, EventArgs e)
    {
        var docRef = db.Document("issue10934/testdoc");
        var doc = await docRef.GetSnapshotAsync();

        CounterBtn.Text = $"Value: {doc.GetValue<string>("x")}";
    }
}

I then tested the app in the Android Emulator, and it behaves as expected:

- Running without any breakpoints, it updates the UI
- With a breakpoint on `GetSnapshotAsync`, it breaks at the breakpoint, then "step over" cedes control of the IDE while it's fetching, then goes back into the debugger at the `CounterBtn.Txt` assignment statement

So everything looks okay to me - it seems most likely that there's something else going on to do with how you're calling `GetSnapshotAsync` with respect to the threading in MAUI - so we'd need more information to help further.

I would say, however, that we don't really support the Google Cloud Client Libraries on mobile platforms. It looks like it works from this brief test, but there could be all kinds of problems (not least around auth) which we won't be able to help with.

Closing as everything looks fine as far as we can see, and we don't have any extra information to try to reproduce this. We can reopen the issue if more information is provided that suggests it's a problem in the library.


RANGER-3763:The max limit of the requested entities is not configurable in tagsync

This solves the configuration problem of the max limit of the requested entities

Fix is now committed in master branch. Thanks @Hoo199212  for the patch.


Add Spool App to Arbitrum

Revision checks

[ x] Used smart contracts were audited.
[ x] Your Safe App include a manifest.json file at the root with the required data.
[ x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[ x] The app auto-connects to the Safe.
[ x] You are able to trigger and execute one transaction with a Safe.
[ x] RPC requests are optimized (not triggering many requests in a very short time period).

Name/Description

Spool App
Type

Update

Compatible Networks

add arbitrum

IPFS hash/App URL

https://www.app.spool.fi/

Hi there! QA from safe apps here.
While checking the app on arbitrum I have seen a few console errors popping up when trying to perform a deposit:

Then went to the mainnet app that we already have listed as a safe app and unfortunately there seem to be some issues there as well, the app is not opening correctly there due to some issues fetching the manifest:

Could you have a look? Thanks!

@JagoFigueroa Hi, I am the Front End Dev working on this. Seems like the issue on Arbitrum is a RPC issue, and if I am not mistaken that RPC is provided by default from the SafeAppProvider from @gnosis.pm/safe-apps-provider. On Mainnet it seems that SafeAppProvider uses an Infura RPC.

Can confirm that the mainnet app is working now 😄 I think you are right regarding the RPC, let me check this with the team real quick and I'll post an update in a bit.

@JagoFigueroa any update on this?

@JagoFigueroa  any update on this?

Good morning! (and sorry for the delay, crazy last few days) We will try to look into this today, will let you know 😄

Hey @JagoFigueroa, I have optimized the rpc calls. But I'm not sure where the error from the screenshot is coming from. I have performed a transaction and it went through though. 😄

Thank you for the quick action! I no longer see the 429s and was able to perform a transaction as well 😄
All good from our end to add the app after the changes, we should be doing so later today (we will notify here with a message when it is done).
Cheers!

Fantastic. Thank you

@nogster-spool app should be available now


Add option to disable the usage of deviceMangler

The clang 13 distributed with the ROCm packages does not contain the createDeviceMangleContext function. This PR adds the option to disable the usage manually.

Can you verify if explicit multipass still works correctly after this change?

Need machine with CUDA hardware
Build hipSYCL against clang 13 (not ROCm clang)
Compile unit tests with `HIPSYCL_TARGETS="omp;cuda.explicit-multipass:sm_61;hip:gfx906"

Test that device and host backends in unit tests work:
HIPSYCL_VISIBILITY_MASK="omp;cuda" ./sycl_tests # Will select CUDA device and execute tests there
HIPSYCL_VISIBILITY_MASK="omp" ./sycl_tests # Will select CPU device and execute tests there

All the unit tests pass with both configurations:
HIPSYCL_VISIBILITY_MASK="omp;cuda"
hipsycl_omp_cuda_test.txt
HIPSYCL_VISIBILITY_MASK="omp"
hipsycl_omp_test.txt

Please resolve merge conflicts :)


Pause/resume behaviour

Is there a way to pause all the particles/animations in the place they are and later just resume it? If it isn't it would be a great feature for the next version.

Check out the touch example, it is very similar to what you are asking, the example emits only when there is a touch.


Create dataset loader for AM2iCo

NusaCatalogue: https://indonlp.github.io/nusa-catalogue/card.html?am2ico

Dataset
am2ico

Description
We present AM2ICO (Adversarial and Multilingual Meaning in Context), a widecoverage cross-lingual and multilingual evaluation set; it aims to faithfully assess the ability of state-of-the-art (SotA) representation models to understand the identity of word meaning in cross-lingual contexts for 14 language pairs.

License
CC-BY 4.0

#self-assign

Hi @afaji, are you still working on this? I will assume inactivity if there's no reply and will free the assignees. Thanks!

Cleared assignees due to inactivity. Issue is still open for contribution!

#self-assign


Detect broken replica when moving a group of replicas

Relate to #234
Orchestrator waits indefinitely hen running -c relocate-replicas with one or more broken replicas.
Orchestrator should detect the broken replica via a timeout or based on health (replica was 'black' in the gui) and then either:

not start the operation
complete the operation without the troublesome replica (and show a message about it)
abort the operation and restore replication

To clarify, this happens because the replica's TCP connection itself was hanging, correct?


WIP: Add coverage report upload to pre_merge

Description

Uploads coverage report to codacity

Closing as this does not work with VPN


Fancy Zones different layout depending on the screen

📝 Provide a description of the new feature
I would like to be able to add a different fancy zones layout on my secondary screen. At the moment the layout that I apply on one screen is applied to the other one automatically.
Thanks for your work.
If you'd like to see this feature implemented, add a 👍 reaction to this post.

dup #1777 if same problem

@ArKeid0s
do you still have this problem?
Have you tried installing the device drivers for your monitors (if available)?


im still having trouble with mp4 (using lua to launch them)

my code looks like this

im not sure if i put it in wrong if i did then please tell me
i get this error in game

please tell me what i did wrong

i fixed the code but i still get the same error

OH WAIT NEVERMIND IT WORKS NOW LOL


DI and some other changes

Hey, I'm back :D
I've finished the development of DI in the library and added some other things. Biggest changes:

The .AutoQueryable(IAutoQueryableContext) now always returns IQueryable so that all the consumer can choose what to do with it: .FirstOrDefault, .ToList(), ...
The clauses are using a Map now also, like my previous change on the Criterias. The clauses are available in the injectable IClauseValueManager
OrderBy has changed to 'orderby=name,-color,+counter' => starting with a - is descending, + or nothing is ascending. This way, the consumer can choose the ordering of the sort, ex.: first by name asc, then by color desc, then by counter asc
I've removed the wrapwith functionality in favor of a second IQueryable extension: ToPagedResult() and ToPagedResultAsync. I'm going to customize this some more, so that the consumer can choose which properties to include in this IPagedResult. I'm also going to allow to set the row count, total count and next link in the HTTP Headers instead of the return object if this is requesting through a property in the IAutoQueryableProfile.
Sorry for changing all the files again, but I've converted to not using 'this.' anymore. I follow your point that it is kind of useless to always add this.

Not all the previous functionality is working yet, but I wanted to show it already so that you don't do double work on the DI part if these changes were what you had in mind. I haven't created any documentation on how to use it either.

first=true and last=true not implemented yet
I need to write some more tests
Some files/code can be removed, but I've still have to check which are not used anymore
The attributes arent working yet. I've still have to see what the best way to pre-configure the DI is so that the consumer has the least trouble using this package.

Regards,
Nils

Hi @nfdevil,
Thank you for this big contribution, realy.
I'll let you finish before merging.
Very good idea for groupby ;)
i've not started to work on DI.
I'm issuing an hard period of rush at work, so i've not a lot of time to work on it.
I'll have more time after June.
Do you have a discord or other where we can discuss about AQ ? thx

I'm working on my own .NET Core framework at work to simplify the CRUD of my API's that I use to populate my Angular projects. Since building my own filter/field select/... (what AQ does) was hard to do from scratch, I've found your library to be perfect for this.
This is why I'm working on this a bit at work. It will benefit my future projects alot.
I'm currently using the local dll of my version on my framework, so this is great for testing it and fixing some issues with it.
I could install discord, but as I am working on this at work, I'm not able to use the voice function. We could chat on it a bit tho. I've added you on it.
Anyway, I'll try to fix those little points soon.


Crashloopbackoff on v.0.6.1 with *-counter.json

Env:

AWS + Kops
Ubuntu-16.04 hosts
Deployed with
helm upgrade --install node-problem-detector -f node-problem-detector/helm/values/dev/values.yaml --version '1.0' --namespace=kube-system stable/node-problem-detector
values:

---
settings:
  log_monitors:
    - /config/abrt-adaptor.json
    - /config/docker-monitor.json
    - /config/docker-monitor-filelog.json
    - /config/docker-monitor-counter.json
    - /config/kernel-monitor.json
    - /config/kernel-monitor-filelog.json
    - /config/kernel-monitor-counter.json
    - /config/network-problem-monitor.json
    - /config/systemd-monitor-counter.json

image:
  repository: k8s.gcr.io/node-problem-detector
  tag: v0.6.1
  pullPolicy: IfNotPresent

nameOverride: "node-problem-detector"
fullnameOverride: "node-problem-detector"

rbac:
  create: true

resources: {}

annotations:
  sidecar.istio.io/inject: "false"

tolerations:
  - effect: NoSchedule
    operator: Exists
  - key: CriticalAddonsOnly
    operator: Exists

serviceAccount:
  # Specifies whether a ServiceAccount should be created
  create: true
  # The name of the ServiceAccount to use.
  # If not set and create is true, a name is generated using the fullname template
  name: "node-problem-detector"

affinity: {}

Logs:
I1221 12:13:10.771074       1 log_monitor.go:64] Finish parsing log monitor config file: {WatcherConfig:{Plugin:journald PluginConfig:map[source:abrt-notification] LogPath:/var/log/journal Lookback:5m Delay:} BufferSize:10 Source:abrt-adaptor DefaultConditions:[] Rules:[{Type:temporary Condition: Reason:CCPPCrash Pattern:Process \d+ \(\S+\) crashed in .*} {Type:temporary Condition: Reason:UncaughtException Pattern:Process \d+ \(\S+\) of user \d+ encountered an uncaught \S+ exception} {Type:temporary Condition: Reason:XorgCrash Pattern:Display server \S+ crash in \S+} {Type:temporary Condition: Reason:VMcore Pattern:System encountered a fatal error in \S+} {Type:temporary Condition: Reason:Kerneloops Pattern:System encountered a non-fatal error in \S+}]}
I1221 12:13:10.771124       1 log_watchers.go:40] Use log watcher of plugin "journald"
I1221 12:13:10.771202       1 log_monitor.go:64] Finish parsing log monitor config file: {WatcherConfig:{Plugin:journald PluginConfig:map[source:dockerd] LogPath:/var/log/journal Lookback:5m Delay:} BufferSize:10 Source:docker-monitor DefaultConditions:[] Rules:[{Type:temporary Condition: Reason:CorruptDockerImage Pattern:Error trying v2 registry: failed to register layer: rename /var/lib/docker/image/(.+) /var/lib/docker/image/(.+): directory not empty.*}]}
I1221 12:13:10.771215       1 log_watchers.go:40] Use log watcher of plugin "journald"
I1221 12:13:10.771281       1 log_monitor.go:64] Finish parsing log monitor config file: {WatcherConfig:{Plugin:filelog PluginConfig:map[message:msg="([^
]*)" timestampFormat:2006-01-02T15:04:05.999999999-07:00 timestamp:^time="(\S*)"] LogPath:/var/log/docker.log Lookback:5m Delay:} BufferSize:10 Source:docker-monitor DefaultConditions:[] Rules:[{Type:temporary Condition: Reason:CorruptDockerImage Pattern:Error trying v2 registry: failed to register layer: rename /var/lib/docker/image/(.+) /var/lib/docker/image/(.+): directory not empty.*}]}
I1221 12:13:10.771294       1 log_watchers.go:40] Use log watcher of plugin "filelog"
F1221 12:13:10.771364       1 log_monitor.go:56] Failed to unmarshal configuration file "/config/docker-monitor-counter.json": json: cannot unmarshal number into Go struct field MonitorConfig.pluginConfig of type string

most monitors with *-counter suffix fails with the same unmarshalling error.
F1221 12:26:33.696942       1 log_monitor.go:56] Failed to unmarshal configuration file "/config/systemd-monitor-counter.json": json: cannot unmarshal number into Go struct field MonitorConfig.pluginConfig of type string

Leads me to suspect this has something to do with the stable helm chart not configuring something correctly.

Could the issue be with non-quoted numerics in the said JSONs?
https://github.com/kubernetes/node-problem-detector/blob/master/config/systemd-monitor-counter.json#L6

Actually all *-counter plugins are custom plugins. I suspect that you have configured wrongly.

@andyxning I'm using the official helm-chart, I'll take your point into account and check my config.

Hi, I'm happy to understand the problem and make a PR to fix this if someone's willing to guide me.

It might be something missing in the image judging by logs, if you use the stable chart by setting:
settings:
  custom_monitor_definitions:
    systemd-monitor-counter.json: |
      # full indented json here

  custom_plugin_monitors:
    - /custom-config/systemd-monitor-counter.json

(actual json for the file)
the containers crash in validation stage, not marshalling:

F0320 15:30:04.093755       1 custom_plugin_monitor.go:64] Failed to validate custom plugin config {Plugin:custom PluginGlobalConfig:{InvokeIntervalString:0xc0002b7a90 TimeoutString:0xc0002b7aa0 InvokeInterval:5m0s Timeout:1m0s MaxOutputLength:0xc000296cb8 Concurrency:0xc000296cc8} Source:systemd-monitor DefaultConditions:[{Type:FrequentKubeletRestart Status: Transition:0001-01-01 00:00:00 +0000 UTC Reason:NoFrequentKubeletRestart Message:kubelet is functioning properly} {Type:FrequentDockerRestart Status: Transition:0001-01-01 00:00:00 +0000 UTC Reason:NoFrequentDockerRestart Message:docker is functioning properly} {Type:FrequentContainerdRestart Status: Transition:0001-01-01 00:00:00 +0000 UTC Reason:NoFrequentContainerdRestart Message:containerd is functioning properly}] Rules:[0xc00033ec40 0xc00033ed90 0xc00033ee00]}: rule path "/home/kubernetes/bin/log-counter" does not exist. Rule: &{Type:permanent Condition:FrequentKubeletRestart Reason:FrequentKubeletRestart Path:/home/kubernetes/bin/log-counter Args:[--journald-source=systemd --log-path=/var/log/journal --lookback=20m --delay=5m --count=5 --pattern=Started Kubernetes kubelet.] TimeoutString:0xc0002b7ae0 Timeout:1m0s}

"/home/kubernetes/bin/log-counter" does not exist.

Hope this helps, It's working for me in v0.6.3:
my node-problem-detector.values.yaml    helm chart override file uses image v0.6.3
When I had
log_monitors:

/config/kernel-monitor-counter.json
/config/docker-monitor-counter.json
custom_plugin_monitors: []
I'd get crashloop backoff with pod log saying
Error: "Failed to unmarshal configuration file "/config/kernel-monitor-counter.json""
Error: "Failed to unmarshal configuration file "/config/docker-monitor-counter.json""

I switched it to:
log_monitors: []
custom_plugin_monitors:

/config/kernel-monitor-counter.json
/config/docker-monitor-counter.json

and it worked as expected.


Remove CleanWebpackPlugin; Webpack 5 supports clearing the build folder

Since webpack 5, cleaning the build folder is part of the native functionality of webpack. I suggest using the webpack 5 functionality instead of using a plugin to clean the build folder.

Could you assign this issue to me? I can get update the config to include the new feature.

done!


fix(spid): Latch FIFOADDR at correct time

Related Issue: https://github.com/lowRISC/opentitan/issues/15266
This PR fixes a bug for unaligned access in TPM read commands.
fifoaddr is latched with the counter being 'h1F. The counter, however, runs on SPI_CLK, while the latching logic is running on inverted SPI_CLK domain.
As a result, the latching logic captures the fifo address at a cycle earlier with prematured address. So it always assume address[1] as address[0].
This commit fixes the issue by:

Convert sck_fifoaddr_latch into iSCK domain.
To not shift the address one bit more, use sck_cmdaddr_wdata_q rather than sck_cmdaddr_wdata_d.

Random FYI: It looks like we're only guaranteed 2 ns of setup time, which is a relatively small fraction of the clock period (< 5%).

Random FYI: It looks like we're only guaranteed 2 ns of setup time, which is a relatively small fraction of the clock period (< 5%).

SPI_DEVICE ip mandates all the datapath to satisfy half of SPI_CLK period. So all signals starting from posedge of SPI_CLK becomes stable before negedge of SPI_CLK - t_setup .

Random FYI: It looks like we're only guaranteed 2 ns of setup time, which is a relatively small fraction of the clock period (< 5%).

SPI_DEVICE ip mandates all the datapath to satisfy half of SPI_CLK period. So all signals starting from posedge of SPI_CLK becomes stable before negedge of SPI_CLK - t_setup .

I'm talking about what the upstream spi_host will provide us. MOSI is only guaranteed to be stable 2 ns before posedge SPI_CLK. That'll just inform a set_input_buffer constraint ;)

Ah.. I see. If that is true, then we will have big problem on passthrough feature (not this logic though).
I thought that the data is valid right after the negedge of SPI_CLK.

On Oct 4, 2022, at 4:12 PM, Alex Williams @.***> wrote:
Random FYI: It looks like we're only guaranteed 2 ns of setup time, which is a relatively small fraction of the clock period (< 5%).
SPI_DEVICE ip mandates all the datapath to satisfy half of SPI_CLK period. So all signals starting from posedge of SPI_CLK becomes stable before negedge of SPI_CLK - t_setup .
I'm talking about what the upstream spi_host will provide us. MOSI is only guaranteed to be stable 2 ns before posedge SPI_CLK. That'll just inform a set_input_buffer constraint ;)
—
Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/pull/15269#issuecomment-1267704427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJDG3SC7M47WACIP3I6KBDWBS2WTANCNFSM6AAAAAAQ475MDU.
You are receiving this because you authored the thread.

Ah.. I see. If that is true, then we will have big problem on passthrough feature (not this logic though). I thought that the data is valid right after the negedge of SPI_CLK.

For what it's worth, this is only at spec level for SPI TPM. I'm not aware of any standard SPI NOR flash spec for setup time on the device side. However, typical values of recent flash parts are going to be similar (maybe 2 ns for setup and 5 ns for hold). At the same time, those parts are able to do reads at speeds greater than 100 MHz.
Your thoughts about how most SPI hosts behave are probably correct, though. In practice, we may have wide compatibility if we don't require a stable value too close to the negedge, but we should check and make sure we understand expectations.


R1.3

(I meant to merge to my own branch not to r1.3, please ignore)
first success attempt to use OpenCV in Tensorflow C++

Can one of the admins verify this patch?

Closing since this is an accidental merge. r1.3 is closed for commits.


Android Build is not working

When I try to build my flutter application on Android, it returns a connection error related with jitpack.io. I'm working with agora rtc 5.0.1, and it is working with ios.
`* What went wrong:
Execution failed for task ':agora_rtc_engine:generateDebugRFile'.

Could not resolve all files for configuration ':agora_rtc_engine:debugCompileClasspath'.
Could not resolve com.github.agorabuilder:iris-rtc:3.5.2.
Required by:
project :agora_rtc_engine
Skipped due to earlier error
Could not resolve com.github.agorabuilder:iris-rtc:3.5.2.
Could not get resource 'https://www.jitpack.io/com/github/agorabuilder/iris-rtc/3.5.2/iris-rtc-3.5.2.pom'.
Could not GET 'https://www.jitpack.io/com/github/agorabuilder/iris-rtc/3.5.2/iris-rtc-3.5.2.pom'.
Connect to www.jitpack.io:443 [www.jitpack.io/<IP_ADDRESS>] failed: Connection refused (Connection refused)
Could not resolve com.github.agorabuilder:iris-rtc:3.5.2.
Could not get resource 'https://www.jitpack.io/com/github/agorabuilder/iris-rtc/3.5.2/iris-rtc-3.5.2.pom'.
Could not GET 'https://www.jitpack.io/com/github/agorabuilder/iris-rtc/3.5.2/iris-rtc-3.5.2.pom'.
Connect to www.jitpack.io:443 [www.jitpack.io/<IP_ADDRESS>] failed: Connection refused (Connection refused)
Skipped due to earlier error`

Can you try agora_rtc_engine: ^5.3.0?

Can you try agora_rtc_engine: ^5.3.0?

It works! Thank you so much!!


use the scheme and host from x-forward-proto and x-forward-host if the…

…y exits and correct the scheme for Location header during image upload
Signed-off-by: yuzou<EMAIL_ADDRESS>

Before layer is uploaded by docker daemon, distribution will send the Location header with UploadId to docker daemon, but currently, the scheme in location is not correct, it is always http by function 'func (r *Route) URL(pairs ...string)'.
This PR is to use the scheme and host got from URLBuilder in context and if 'x-forwarded-for' or 'x-forwarded-proto' are set, distribution will use them in the Location header.

@RichardScothern, Please also help to check this PR. Thanks a lot.

I'm having deja vu here: https://github.com/docker/distribution/pull/1088#issuecomment-148201172.
route.URL() should return a url with the correct host and scheme. Seems like a bug in that implementation. Have we figured out why that is not working?

@stevvooe , thanks for checking this PR.
route.URL() calls cr.Route.URL() which is 'func (r *Route) URL(pairs ...string)' in package 'gorilla/mux', in that function, it sets the scheme to http if host is not nil:
'if r.regexp.host != nil {
scheme = "http"
'
if the scheme used by client is https, route.URL() will return the scheme as http which is wrong.
in my PR, i uses the host and scheme from app's context.urlBuilder, which sets the correct host & scheme according to both the distribution config and cilent's request also, it checks the x-forwarded-host & x-forwarded-proto and 'host' header in client's request.

@stevvooe , yesterday, i only amended the title of my commit and before that, all the CI tests are passed. after i changed my tile of commit, and trigger the CI again, the CI failed in below tests:
cd "$BASE_STABLE"
gvm use stable && test -z "$(golint ./... | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
Now using version stable
digest/tarsum.go:9:1: comment on exported var TarsumRegexp should be of the form "TarsumRegexp ..."
cd "$BASE_STABLE"
gvm use stable && test -z "$(golint ./... | grep -v Godeps/_workspace/src/ | tee /dev/stderr)"
registry/storage/walk.go:11:1: comment on exported var ErrSkipDir should be of the form "ErrSkipDir ..." returned exit code 1
Note that, i didn't touch those two files...

@stevvooe , trigger the CI again, failed in the same golint test, seems that those two files are not formatted correctly. but those are  not introduced by this PR.

@hopkings2008 : please rebase off master to pick up the lint fix commit

@hopkings2008 My point is that is a bug in gorilla/mux. Let's go fix it there, rather than adding a hack here.

@stevvooe , i think only fix the bug in gorilla/mux is not enough, because if the request from the client contains x-forwarded-host & x-forwarded-proto, we cannot use them. But the URLBuild in app's context  covers the whole thing.

@RichardScothern , thanks for your suggestion, i have rebased off master and now, all the tests are passed.

@hopkings2008 The headers are detected in NewURLBuilderFromRequest.

@stevvooe , yes, the headers are detected in that function, and the URLBuilder is created according to those headers. So, we should use the host & scheme from the URLBuilder. And this change is to use the ones in URLBuilder.

@stevvooe, @RichardScothern , please help to check this kind of fix. And 1160 also meets with this kind of problem.

@hopkings2008 After thinking about this, we need this fix in every method. I'd also like to see a unit test to demonstrate that we've fixed the issue.

@stevvooe , thanks for your suggestion, i will add unit test for this kind of fix.

@hopkings2008 are you still working on this? Have you had time to look at the unit test?

@thaJeztah ,yes i am stil working on this. And currently, i am add the test cases, will send my pr for it. Sorry for late response. :)

Thanks @hopkings2008! I was browsing through issues/PRs and noticed this one seemed to stall, so thought I'd check :+1:

@thaJeztah ,thanks for your checking. i will send my PR next week.

Current coverage is 57.53%

Merging #1097 into master will decrease coverage by -0.02% as of d724bb1

@@            master   #1097   diff @@
======================================
  Files          116     116
  Stmts        10468   10470     +2
  Branches       718     719     +1
  Methods          0       0
======================================
- Hit           6025    6024     -1
- Partial        718     719     +1
- Missed        3725    3727     +2

Review entire Coverage Diff as of d724bb1

Uncovered Suggestions

+0.31% via ...ge/driver/gcs/gcs.go#185...216
+0.31% via ...ge/driver/gcs/gcs.go#104...135
+0.23% via ...ge/driver/gcs/gcs.go#469...492
See 7 more...

Powered by Codecov. Updated on successful CI builds.

@stevvooe and @thaJeztah , please help to remove this change again. I have added the related test cases and all the ci/ut has passed.
Note that the janky fail is because 'echo 'error: daemon failed to start' error: daemon failed to start'

@hopkings2008 I restarted Janky, but it looks like it's failing for all PRs on that point, so it's probably not related?

@thaJeztah , i think it is not related to my PR. the former failed case is in running engine from docker-integration.
"docker run -d -it --privileged -v /docker-versions.AMk7E/docker-master/docker:/usr/local/bin/docker -v /go/src/github.com/docker/distribution:/go/src/github.com/docker/distribution -e DOCKER_GRAPHDRIVER=aufs -e EXEC_DRIVER= distribution/docker-integration ./run_engine.sh"

@hopkings2008 yes, I noticed CircleCI is running correctly, but all Janky builds are currently failing. I don't know the status on that (I'm not a maintainer in this repository)
@stevvooe is Janky still used in this repository, or is only CircleCI relevant?

@hopkings2008 @thaJeztah at the moment, janky is not relevant, only CircleCI

@BrianBland thanks for the clarification. and @thaJeztah , i think my change for the problem is safe now.

LGTM

@stevvooe , thanks for your checking. Could you please help to merge this PR?


Using Descriptor Sets Project - animate does not work

GPU: GeForce GTX 680
Driver: 416.34
Platform: Windows 10 17135.345, Visual Studio Community 2017
In the descriptor sets project, the animate checkbox doesn't do anything.  I am not sure what it is supposed to do, but checking it and unchecking it there is no difference.  Although the FPS does go up a bit when the box is not checked.  There were no validation messages.

The cubes should slowly rotate if that option is checked. Together with the other problem you reported I can imagine that the latest game ready driver has broken something in the Vulkan implementation. I'll have to check that.

Tested this on a radeon and in debug mode the boxes still do not animate, but in release mode they do.


Update: Initial content

Updated Content

@gkanishk Please accept the pr

@gkanishk Please accept the pr

@SriV-dya is the app working locally. This show page not found inside deployment preview

@gkanishk I'll just check that!

try to create a build if everything works fine

@tanaypratap we need to change Netify's build configurations like build command as initially repo was HTML based and now it's codebase is Gatsby based.
Here's the test deployment link which @prerana1821 has hosted.

Ack. I'll change it and reply here.

Merged inside #2


Lists render incorrectly in preview pane

Example input/ouput of corrupted list rendering
Markdown intellij plugin version: 0.9.7

## Title
* List
    * List Item
    * List Item
    * List Item
    * List Item

## Title
* List
    * List Item
    * List Item
    * List Item
    * List Item
    * List Item
    * List Item
        * List Item
    * List Item
    * List Item

It's a pegdown bug. The plugin is using it for parsing. I forked this plugin, upgraded pegdown, fixed a few bugs, gave it a GitHub makeover and added some much needed features.
Try it out: MultiMarkdown

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.

For those landing here and noticing that numbered lists don't nest correctly, the respective bug for the official (and still-supported) Jetbrains markdown plugin is here:
https://youtrack.jetbrains.com/issue/JT-21112#comment=27-1275299


Sentinel via Azure Monitor REST API Data Connector version 1.0 from Noname Security

Sentinel via Azure Monitor REST API Data Connector
version 1.0
Author Noname Security (Noname Gate Ltd.)

@microsoft-github-policy-service agree [company="Noname Gate Ltd."]
Best Regards
Ryan B
Technical Director, Strategic Solution Architectures
Ethical Noname API Security Expert
On Thu, Nov 3, 2022 at 9:29 AM microsoft-github-policy-service[bot] <
@.***> wrote:

@nniryanb https://github.com/nniryanb please read the following
Contributor License Agreement(CLA). If you agree with the CLA, please reply
with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/Azure/Azure-Sentinel/pull/6553#issuecomment-1302366790,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVQWCXMKXDEIWTLJP6JUP2LWGPR7VANCNFSM6AAAAAARWKE6SA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey @nniryanb, can you please provide the sample data to test the queries. You can refer to the sample data available in this folder and add the sample for this connector in same folder, thanks.

what is the status?

@nniryanb,  Sample data file data must be in the form of array.

This is how the message is sent via the python SDK
log_type = 'NonameAPISecurityAlert' 3 4# An example JSON web monitor object
5json_data = [{ 6 "data": { 7 "host": "mockapi.nonamesec.com", 8 "id":
"10683858915603015453", 9 "method": "GET", 10 "path":
"/httpbin/user-agent", 11 "self": "
https://mockapi.nonamesec.com/httpbin/user-agent", 12 "ts":
"2022-10-11T10:18:03.000Z", 13 "type": "New API" 14 }, 15 "type": "change"
16}]
On Tue, Nov 15, 2022 at 10:33 PM v-sabiraj @.***> wrote:

@nniryanb https://github.com/nniryanb, can you please provide sample
data in correct format, so that queries would work, thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/Azure-Sentinel/pull/6553#issuecomment-1316447802,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVQWCXLPVTPYGWJC2UDRJM3WIR53BANCNFSM6AAAAAARWKE6SA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Best Regards
Ryan B
Technical Director, Strategic Solution Architectures
Ethical Noname API Security Expert

Are any additional changes required ?

Hey @nniryanb, can you please check on the changes and update, thanks.

Hey @nniryanb, can you please resolve the comment provided, thanks.

please confirm the requests are now resolved

Hey @nniryanb, the id changes are good, can you please update this as we need to add hyperlink for the documentation. Please refer this template to modify this.

At line 52 in data connector template, thanks.

Hey @nniryanb, please replace this line 52 with the provided text, this will pass the validation.
"permissionsDisplayText": "read permissions to shared keys for the workspace are required. See the documentation to learn more about workspace keys.",

@nniryanb, please update the branch from master to pass this check [CodeQL / Analyze (csharp)]

note that once this pull request is completed, we intend to clone the offer to a different offerid in the SolutionMetadata.json file, that offer id for Azure Government cloud will be nonamesecurity_sentinelazuregovcloud instead of nonamesecurity_sentinelsolution

@nniryanb, just added the hyperlinks, thanks.

@nniryanb, rest things are good, just make the small change that applies just for tier in data connector Metadata. We can procced to merge, Thanks.

@nniryanb, merging this PR please follow these guidelines for publishing the solution, thanks.


Add support for preset close address on inbound channels too

It's now possible to set a close address when opening or cooperatively closing a channel from the current node. It's not possible to define a close address for remotely initiated channels though.
The particular use case I have in mind is running LND nodes backed by a Bitcoin Core wallet, where all on-chain funds should come from and go to the Bitcoin node wallet.

Sounds reasonable. Are there any issues or pull requests I should be following to learn more about what has been previously discussed about channel acceptance hooks?

So these are already checked in as is, here's where the current implementation lives: https://github.com/lightningnetwork/lnd/blob/master/chanacceptor/interface.go. The only other on going work in this area is to return custom reject messages.


"loadBalancerKey" value is not  accessble in subclass of IRule.java

Hi All,
iIm setting FilterConstants.LOAD_BALANCER_KEY in Zuul Pre Filter but not able to access in IRule sub classes. May i know what value we need to set for FilterConstants.LOAD_BALANCER_KEY? is it serviceId or route or etc..
Please find below spring cloud version ,pre-Filter and IRule sub-class.
Thanks in advance.
springCloudVersion=Edgware.SR4
springBootVersion=1.5.10.RELEASE
@Slf4j
@Component
class PreAddLoadBalanceKeyFilter extends AbstractZuulFilter {
PreAddLoadBalanceKeyFilter() {
super(PRE_ROUTING_HANDLING, 1111);
}
@Override
public boolean shouldFilter() {
return true;

}
@Override
protected void execute() {
final RequestContext requestContext = RequestContext.getCurrentContext();
RequestContext.getCurrentContext()
    .set(FilterConstants.LOAD_BALANCER_KEY, "service-v1");

}
}
@Slf4j
@Component
@Primary
public class CusctomRoundRobbinRule extends RoundRobinRule {
@Override
public Server choose(Object o) {
return choose(getLoadBalancer(), o);
}
public Server choose(ILoadBalancer lb, Object key) {
log.info("loadblancekey::"+(String)key);
return server;

}
}
6.11 How to Provide a Key to Ribbon’s IRule
If you need to provide your own IRule implementation to handle a special routing requirement like a canary test, you probably want to pass some information to the choose method of IRule.
com.netflix.loadbalancer.IRule.java.
public interface IRule{
public Server choose(Object key);
:
You can provide some information that will be used to choose a target server by your IRule implementation like the following:
RequestContext.getCurrentContext()
.set(FilterConstants.LOAD_BALANCER_KEY, "canary-test");
If you put any object into the RequestContext with a key FilterConstants.LOAD_BALANCER_KEY, it will be passed to the choose method of IRule implementation. Above code must be executed before RibbonRoutingFilter is executed and Zuul’s pre filter is the best place to do that. You can easily access HTTP headers and query parameters via RequestContext in pre filter, so it can be used to determine LOAD_BALANCER_KEY that will be passed to Ribbon. If you don’t put any value with LOAD_BALANCER_KEY in RequestContext, null will be passed as a parameter of choose method.

This is not the spring cloud issue tracker.

same problem, don't know how to figure it out. can anyone be mercy enough to tell me how to do routing based on a specific key value with or without using zuul. I didn't use zuul in my case though.

maybe  this can help  https://github.com/spring-cloud/spring-cloud-netflix/issues/1272


Is it posible to use multiple buttons at the same page?

Here is an example: sanboxcode
I added 2 buttons (single order and subscription order) but just one works, the dispatch method to reset the options don't look like a good solution in this case,  this is possible? could be nice to have this for some cases.
Thanks.

Hi @yocmen, currently the PayPal JS SDK does not support rendering an Orders button and a Subscriptions button on the page page. Each of these button types require different query params and have different eligibility requirements. And the JS SDK is currently designed to only support one script to manage all the components on the page.
I wanted to mention that it is possible to render multiple paypal buttons on the same page that share the same script parameters. We just don't support rendering multiple buttons that require different query params.

@gregjopa what's the best practice to have Capture buttons and subscription buttons on the same page? Should we just re-render the PayPalScriptProvider with new options?


Preferred language selector at Join Form and by location.

Offer a choice of language on sign up, and add an option for admin to "enable automatic language setting by user location".

Language is already automatically detected by the browser's language - I believe this is correct way of auto-detecting the language. If member changes site language it is remembered for logged in users.
So it is already auto-detected and remembered for logged-in user and there is a way to change it as well. For guests it is also remembered but in the cookies.


Missing config.json file

Hello! I am using your library for my thesis, and I found a bug when installing the library.
When installing it using with pip install . the file config.json seems to be missing. Copying it from the pbdl folder to the lib/pbdl folder, and installing again solved the issue. Thanks for your work :)

Sorry for the late reply. It should work now :)


Memory Layout for Graphs

As a co-founder of https://busradar.com I was working on a similar solution but it was not as good as itinero. I would like to understand the memory layout of the graphs.
I had a look to Graph.cs and DirectedGraph.cs
In my understanding...
Graph.cs

Structures the edge as double linked list.
If an edge is removed the slot is "lost"
You can undo the fragmentation by calling "compress"

DirectedGraph.cs

I have problems to understand the structure, I guess that they the edges are stored in continuous memory to improve memory locality and to improve performance.
But this would mean that the pointers to the first edges are updated after an edge is added or removed and I don't see it in memory.

Can you clarify this for me or do you have a good paper?

You are basically correct in you assumptions on graph.cs. Over the years I have found some room for improvement but it has to stay like this for now because of backwards compat. The biggest improvement is to have the vertices point to the last edge added not the first. This saves an enumeration of all existing edges for a vertex when adding new edges.
As for the directed graph, you have vertices that point to their first edge and have a count with the # of edges. There are always a # of free slots allocated for edges per vertex as a power of 2. When the edge count exceeds that count they are all copied to the end of the edges array. There is always as much space reserved for each vertex's edges as the first power of 2 larger than the # of edges.
Trim() again reclaims all empty slots and compres makes the graph readonly by removing all empty slots for each vertex with # of edges not equal to a power of 2.
This is for memory, not sure about all the details, it's been a while since I built this.


Update README.md

I have amde a refined and visually engaging version of your LeetCode Daily October Hacktoberfest 2024 README by enhancning the structure, added more emojis, and ensured clarity for contributors.
🚀 What does this PR do?

Adds solution for LeetCode Daily Challenge on (Day and Date) in (Programming Language).
Briefly explain the approach taken to solve the problem.

📝 Issue Reference:

Fixes issue: # (Mention the issue number this PR solves)
🔍 Checklist:
Please ensure the following before submitting your PR:

[ ] I have placed my solution in the correct folder (solutions/dayXX/).
[ ] My code follows clean coding practices and is efficient.
[ ] I have added comments in my code to explain the approach.
[ ] I have updated the README.md for the specific day with a brief explanation of my solution.
[ ] I have tested the solution on LeetCode and it works correctly.

🔧 Solution Details:

Language Used: (e.g., Python, Java, C++, etc.)
Time Complexity: (e.g., O(n log n), O(n), etc.)
Space Complexity: (e.g., O(1), O(n), etc.)

🌟 Additional Notes (if any):

You can only add solutions to this repo, and not edit any other files. Hence this PR is not merging.
Thanks


Resolve new unknown cfg warning

Description of changes
See https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html#checked-cfg-names-and-values

Cargo semver checks failure is not due to this change


displaying non ascii characters is broken

Either on my galaxy S or on my asus transformer, characters like é, è, ü and others are just not displayed at all, typing them works, i can check this for example by typing in a shared terminal (with screen) and characters are correctly sent, it's just displaying that just not happen. I think it needs to be able to manage utf-8.
https://github.com/jackpal/Android-Terminal-Emulator/blob/master/src/jackpal/androidterm/model/Screen.java
storing characters as byte is probably the initial limitation to get ride of.

UTF8 support is coming soon, thanks to a series of patches from Steven Luo.

nice!
Le 10 oct. 2011 03:05, "Jack Palevich" <
<EMAIL_ADDRESS>a
écrit :

UTF8 support is coming soon, thanks to a series of patches from Steven Luo.
--
Reply to this email directly or view it on GitHub:
https://github.com/jackpal/Android-Terminal-Emulator/issues/36#issuecomment-2342133

Partial UTF-8 support is available in 1.0.33. You must enable it in "Preferences" and then reset the terminal.
I say "Partial" because it doesn't handle combining diacritical marks, or right-to-left fonts, and things like that.

Nice i'll update asap that's very good news.
On 22 Oct 2011 14:43, "Jack Palevich" <
<EMAIL_ADDRESS>wrote:

Partial UTF-8 support is available in 1.0.33. You must enable it in
"Preferences" and then reset the terminal.
I say "Partial" because it doesn't handle combining diacritical marks, or
right-to-left fonts, and things like that.
--
Reply to this email directly or view it on GitHub:
https://github.com/jackpal/Android-Terminal-Emulator/issues/36#issuecomment-2489905

Here's the APK if you want to side-load it.
The version on market will probably take a few hours to update.
On Sat, Oct 22, 2011 at 5:46 AM, tshirtman
<EMAIL_ADDRESS>wrote:

Nice i'll update asap that's very good news.
On 22 Oct 2011 14:43, "Jack Palevich" <
<EMAIL_ADDRESS>wrote:

Partial UTF-8 support is available in 1.0.33. You must enable it in
"Preferences" and then reset the terminal.
I say "Partial" because it doesn't handle combining diacritical marks, or
right-to-left fonts, and things like that.
--
Reply to this email directly or view it on GitHub:
https://github.com/jackpal/Android-Terminal-Emulator/issues/36#issuecomment-2489905

--
Reply to this email directly or view it on GitHub:
https://github.com/jackpal/Android-Terminal-Emulator/issues/36#issuecomment-2489919


bash command won't run unless terminal=true

I'm using BitBar to run defaultbrowser (https://github.com/kerma/defaultbrowser).
#!/bin/bash

echo "💊"
echo "---"
echo "Safari | terminal=true bash='defaultbrowser safari'"
echo "Firefox | terminal=true bash='defaultbrowser firefox'"
echo "Chrome | terminal=true bash='defaultbrowser chrome'"

If I set terminal=false, nothing happens. Set it back to terminal=true, Terminal opens, script runs.
Bug or feature – Any thoughts?

Have you tried to give the full path to 'defaultbrowser'? e.g. bash='/usr/local/bin/defaultbrowser safari'

Thanks for the tip, but yes, I gave that a try as well – no luck.

@don1138 I had the same issue, solved it with:
echo "Boop | bash=/bin/zsh param1=-c param2='open /Applications/Boop.app' terminal=false"


Its not working with expo, any advice  to make it work ? or any alternative to get the job done?

Its not working with expo, any advice  to make it work ? or any alternative to get the job done?

Its not working with expo, any advice to make it work ? or any alternative to get the job done?

Did you figure it out to make it work with expo?

Its not working with expo, any advice to make it work ? or any alternative to get the job done?

Did you figure it out to make it work with expo?

nope!

then get back to work! lol


Replace self with cls in classmethods for consistency

This PR updates the code to use "cls" as the first argument for class methods for improved readability and consistency with community conventions.

Nice find!


Update kissfft to fix stdint.h issue on Windows

This fix tries to address the issue raised in #30447
where kissfft compile error on Windows 10 + VS 2019.
This fix updates kissfft to the latest commit to fix the issue.
This fix fixes #30447.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

It looks like the new version is causing the following error:
tensorflow/lite/experimental/microfrontend/lib/window_util.c(39): error C2065: 'M_PI': undeclared identifier
Can you try adding a local WINDOW_PI definition in that file and changing the one place in the code to use it? That's what we had to do for this similar case:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/window_util.cc#L23

@petewarden, undefined M_PI is unrelated to kissfft and should be fixed by now.


docker image pull outtime

What is your Scenario?
I want to download docker image for testcafe
What is the Current behavior?
docker pull outtime
What is the Expected behavior?
it have to be download successfully
What is the public URL of the test page? (attach your complete example)
it desn't matter
What is your TestCafe test code?
it desn't matter
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
1.you should use docker to pull testcafe image
TestCafe version
lastest
Node.js version
latest
Command-line arguments
docker pull testcafe/testcafe
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response

。。


Variation required message escaping quotes

The variation validation gives an error message such as:
"Weight" is required
The quotes should not be escaped.

I'm getting this when i have a variation set up for a product and don't select it when trying to add it to the car.

I've spent some time debugging this and it's a rather tricky subject.
The SilverStripe Form class encodes error messages to XML at different locations. In our case, the form has a DropDown field for the variation attribute and the form validates this field accordingly and adds it to the errors (it's getting encoded in this process, see source).
This is fine and works as usual, but once the validation fails, the form gets re-generated (via template) and populated with the existing error messages in the session. At that moment in time, the form no longer contains the DropDown field and the error message gets added to the outer form via Form->setMessage, where it get's encoded a second time! Source
I guess this is partially related to https://github.com/silverstripe/silverstripe-framework/issues/3774 and could probably be fixed by refactoring VariationForm.


Make MetricRegistry.registerAll(String prefix, MetricSet metrics) public

This version of registerAll allowing for a prefix is currently private but should be public, IMHO. For example, just adding some of the JVM metricsets to a registry leaves you with a hodgepodge of inconsistently named metrics which are hard to match to their respective domain at a first glance. Some are a bit generically phrased, a name collision is also possible. So it would be nice to be able to prefix them with "gc", "threads", etc..

This is a very common source of confusion… MetricSet implements Metric, so register(String, T extends Metric) can be called with a MetricSet, and it isn't necessary to change the visibility of registerAll(String, MetricSet) in order to access this functionality.

Ah, I see. Thanks for the quick reply!


Plugin: Integrate ELK stack for log analysis

Won't do. We should encourage users to use cloud services


Docker image espressif/idf-rust:all_<IP_ADDRESS> does not contain espflash for CI

Docker image espressif/idf-rust:all_<IP_ADDRESS> does not contain espflash which is useful for CI task when generating single file binaries:
cargo espflash save-image --chip esp32 --merge --release out.bin
error: no such command: `espflash`

        View all installed commands with `cargo --list`

Consider installing espflash during building image from binary.
Workaround:
cargo install cargo-espflash --git https://github.com/esp-rs/espflash.git

Closed by #204


Feat: add the CloudShell feature

Signed-off-by: barnettZQG<EMAIL_ADDRESS>Description of your changes
Provides per-user Cloud Shell in VelaUX where users can execute vela or kubectl commands. Help users to quickly query information and perform advanced operations through Shell style, it includes:

All the capabilities of Vela CLI (within the scope of authority), users can not care about the kubeconfig and permissions.
Highlights:

vela exec
vela logs
vela status
vela up

The ability of kubectl CLI (within the scope of authority);
Call the VelaUX API via cURL;

This feature is based on the CloudTTY, Users should enable the addon before using it.
Fixes #4052
I have:

[x] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

Thanks @barnettZQG to adopt https://github.com/cloudtty/cloudtty


chore: remove motion_common dependency

Description
https://github.com/autowarefoundation/autoware.universe/issues/2229
remove motion_common dependency which is autoware.auto's common package from planning/control/simulator packages.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I confirmed that planning simulator works well locally.

@rej55 Could you approve please.


Make Rav1dPicAllocator fully safe

This should be possible, leaving the only unsafe in the Dav1dPicAllocator conversions, but it's fairly tricky, so we can save it for later.

Is this done now?

Is this done now?

No.  I wasn't planning on doing this unless someone wanted it.  The current API is unsafe, while what this issue suggested was a rewrite to make the API fully safe from Rust.

Ah I see, I think that could go along with a safe Rust API, if you're only using the C API then would it even make sense to try to make this fully safe?

Ah I see, I think that could go along with a safe Rust API, if you're only using the C API then would it even make sense to try to make this fully safe?

Yeah that would make sense to go together.  You're right, the C API wouldn't get safer from this (though internally we'd use the Rust API for the default, and that's what usually used).


Small feature request

Hello everyone.
This project is about adding 3 modules in AudioNodes from NeXyon.
The modules are:

Note input (uses ABC Notation in the NON extended form) - Used to alter an Oscillator input frequency
Node input Sequencer - Used to put Node inputs in order and play them
Module index number - Used to refer to a Note input from the Oscillator it gets connected to. Same thing as specifying which instrument will play the specified notes.

E.G.: let's pretend i have a kick, i call it KS.
Now i add a bass, index BS.
Then, the KS ABC content should be "cccc" (four C notes, 1/4 each)
And the BS will contain "CcCcCcCc" (eight notes, 1/8 each - transposes one octave)
In the sequencer, I'll write "KS, KS BS, BS"
Comma is used to split bars, more indices mean play simultaneously, time shifting (NOT stretching, neither transposing) could be described as +/- ev/be/ba (single event, beat, bar) and a number.
Note: the Note input shouldn't be directly connected to the osc, in fact it and should have no i/o sokets, while the sequencer should only output to the Note input.
This means, in the Note input node, I'll have to specify the Module index number(s) to plug to the Oscillator to.

What you're asking for is far from a small feature... Since this is anyway only a demo that has no real use, I'll not keep developing it. Sorry.


Integrate anvil into mocktimism

This is a subtask of https://github.com/ethereum-optimism/mocktimism/issues/9
Depends on following issues
https://github.com/ethereum-optimism/mocktimism/issues/5
https://github.com/ethereum-optimism/mocktimism/issues/4
https://github.com/ethereum-optimism/mocktimism/issues/49
Description
Once anvil is ready we want to replace geth and opgeth with anvil and opanvil. We should be able to replace l1 with anvil before op-anvil is ready
This does not include hooking anvil up to the mocktimism toml configuration. For now anvil should be hardcoded. This work is captured in https://github.com/ethereum-optimism/mocktimism/issues/28
Tasks

[ ] Replace l1 node with anvil
[ ] Replace l2 node with anvil with optimism flag passed in
[ ] Write a simple integration test between op-node and anvil

Merged into #9 as its currently a duplicate


Add SPIRV function declaration utils

The Changes in python/__init__.py and utils/sycl.cpp are duplicated with the PR #32. Could we remove these two files?

I will rebase the PR after the other merged first.


Do not stop MockLogAppender instances

When JUnit tests run concurrently they are mostly isolated but they do share static state. Tests generally don't rely on static state, with the notable exception of when they manipulate the logger to test the logging behavior of the code under test. This leads to problems if say test 1 stops a test log appender, then test 2 causes a logging message which attempts to append to that logging appender. The logging system will generate an error which leads to spurious failures in test 2. I previously attempted to avoid these problems by ensuring that test log appenders are removed before they are stopped. However, that doesn't completely eliminate race conditions as the list of appenders maintained by the logging system is essentially a copy-on-write array list. That means test 2 can get a reference of the appender list, then test 1 can remove and stop an appended, but test 2 still has a reference to a version of the list that contained the now stopped appender. I have now come to the conclusion that the easiest way to fix this problem (without mucking with the implementation details or concurrency properties of the logging system itself) is to not stop the test appenders. They maintain no external state so they can be safely removed without being stopped and they will just be garbage collected and everyone will be happy.
Related Issues
Resolves #10799
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @andrross  for persisting to get this one fixed

When JUnit tests run concurrently they are mostly isolated but they do share static state.

So this is my understanding of how we do that:

we run test suites concurrently by forking JVMs
we never run test suites (or tests with same suite) concurrently within same JVM

The static state between tests should not be shared between JVMs but it is possible that we don't clean up properly in after some test suites so this problem emerges.

@reta You're right. I didn't realize all test concurrency happened via forked JVMs, but some experimentation definitely shows that to be true.
I'll dig into this some more, but another way this could be happening even within the context of a single test is that SimpleNioTransportTests.testTracerLog is triggering a log message to happen on a different thread that executes concurrently with the log appender remove/stop, which in theory is possible because we don't stop the services or thread pool in testTracerLog() method itself and that happens in the tearDown() method. Regardless, I'll close this PR because there is likely a different solution here.