Find my mouse causes odd behaviour when holding down keys in game

Microsoft PowerToys version
0.49.1
Running as admin

[ ] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce

Enable Find My Mouse in settings
Launch a game - tested using Battlefield 1 and Battlefield V
Enter a game and hold down a key. In Battlefield V it's easiest to test by joining a practice game and holding Tab to bring up the score board

✔ Expected Behavior
Holding down a key causes the usual behavior, ie:

Holding down Tab opens the scoreboard and dismisses it when Tab is released
Holding down W causes the character to walk forward until W is released

❌ Actual Behavior
Instead of a hold action the game seems to receive multiple keypresses, for the above examples:

Holding down tab causes the score board to flash on and off
Holding down W causes the character to walk forward a little and stop. To continue walking need to release the key and press it again

Disabling Find My Mouse in settings causes behaviour to revert to normal. The bug occurs in both Full screen and windowed mode for the game
Other Software
No response

@cmbrad do you have keyboard manager enabled with any mappings?


Updated UnBox2D To new system

Hey there!
I've updated your repo to reflect the new changes I did to the UnBox2d Library.
Basically instead of creating different types of game objects and unbox instances, I've combined that all again.
And instead of that there's a Box2dBehaviour which holds the physics object. (This is how it's done in Unity and I should have done that in the repo directly as well).

I didn't find any issues with this latest update. Thank you!


More intuitive same-line placement for list-like values

This diff tries to add more intuitive/reasonable placement for values in certain situations. In particular, if we have list-like literals that are too long to fit on a line, we often want the open/close brackets of the literal to be on the same line as the surrounding structure, rather than be entirely on their own line. An example is:
foo([
    1,
    2,
    ...
    10,
])

The naive way of using groups would cause the [ and ] to each be on their own lines, due to how group splits from the outside in. This adds optimizations/special cases for this style of formatting in Assigns (and the closely related AnnAssigns and AugAssigns), Calls, Returns and Yields.
There are fairly extensive tests for the new behavior, but let me know if there's any other cases you'd like to see! In particular there's tests for non-list-like expressions to make sure that "normal" wrapping works as indended, and tests for the various kinds of assignments. There's still some work for how we handle complex (multi-part) strings, but I think that's mostly unrelated to this diff.
I also tried to comment it so it'd be easier to read through in the future, but let me know if there's any part that is confusing or could have better comments!

I've been super busy the last couple of weeks, sorry! I'll try and find some time to review this properly soon, but I'd just offer a word of caution with conditionalGroup: it can be quite computationally expensive as it basically causes exponential branches in the doc printer.

No rush!
Regarding conditionalGroup, I'd love any suggestions for simpler alternatives of how to implement this behavior! I got the ideas for this from looking at the implementation of function call formatting in the js formatter in the main Prettier repo. From my understanding of how group works, it doesn't seem possible to get this behavior any other way, but I'd love to hear any ideas you have!
And regarding the exponential time complexity, my understanding from reading doc-printer.js is that this has basically the same properties as normal group. In particular, my understanding of the algorithm is:

See if the first conditional state fits flat
If not, try the next conditional state, again flat
If we get to the last conditional state and it doesn't fit flat, then try breaking that one.

Additionally, it doesn't look like the fits function does any backtracking or breaking of groups (or looking at subsequent expanded states of groups).
Given this, I don't think nested conditionalGroups actually are exponential? But I could definitely be wrong!

@azz if you have some time, it'd be awesome if you could take a glance over some of this! I think the most relevant parts to look at would be the printExpandingValue and printMultiAssignment functions :)

Also r.e. complexity, I have never actually done the analysis on the code, I think it was @vjeux who mentioned that it was exponential? I seem to recall performance issues in Prettier JS due to it but I could be mistaken.


Adding matlab repo + Matlab Script to detect Objects

Can one of the admins verify this patch?

Benjamin, let me know when you merge this. I want the script to go with the repo.

Can one of the admins verify this patch?

I'm a little hazy on adding Matlab code to this repo...
We won't be running Matlab code because eventually this code will be running on board the plane. (Matlab can't run on that)
@sarimzafar @benjaminwinger  I propose we put this in a separate branch if this is really needed (one that is never merged). I understand using Matlab to test concepts,  but ultimately things should be in c++.

@sarimzafar anyway to convert that into c++?

@chrishajduk84  This code is only for reference. Yes, we would not be running it but this is prototype code and incredibly useful for building and dealing with testcases.


Add check for EOF error for fastq.gz + showing number of lines/sequences in header

Orignal conversation: https://github.com/qiita-spots/qiita/issues/3047

As we are considering doing this; it might be worth also reporting the number of lines/sequences - from https://github.com/qiita-spots/qiita/issues/1900

Fixed in https://github.com/qiita-spots/qtp-sequencing/pull/41


Request for dataset used in UAI7_evaluate.py

Hi Dr. Li, thank you for your great work. I am trying to understand how GNO works. I am wondering whether it would be convenient for you to provide the dataset used in UAI7_evaluate.py. It seems the datasets you provided don't include this one. Thank you in advance!

Sorry for the long delay. I think the dataset is the Darcy_421.zip https://drive.google.com/drive/u/2/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt-


Can't update package (swiftlint)

Hi,
I've encountered following issue when installing swiftlint via brew:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed!

I believe brew may be having some CDN issues as I can't pull anything with it either at the moment. ☹

That's what I thought but I wanted to make sure because I can "update" from my device.

+1
I can brew update without any issue on my local machine but on Bitrise it seems to fail most of the time.

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed!

Is this really a swiftlint problem? This looks like a network problem? brew-install just fails, right?

This started failing for us this morning. Our first failed build because of this was 2019-07-29T10:36:19Z

+1 to being able to brew update on my local machine but all of my org's builds failing on Bitrise.

It looks like things are working again?

we are still seeing issues installing swiftlint via the bitrise brew install step

@beadyui can you check if the same problem is persistent if you're using a Script step to do this instead of the brew install step?

we have a step that runs brew install Caskroom/cask/soundflower and then runs some config which we run from a bash script runner.. this is intermittent, if it does succeed then its considerably longer than a few days ago (84 seconds vs 475)
we also have a step that installs swiftlint via the brew install step and this seems to be failing with the following error:
$ brew update
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly

Hi @beadyui, thanks for explaining, I'm specifically asking you try installing swiftlint from a Script step instead of the brew-install step. Can you please try if that makes a difference? It would greatly help us understanding the problem.

seemed to work just fine using the bash script runner this time:
+------------------------------------------------------------------------------+

| (3) install swiftlint                                                        |
+------------------------------------------------------------------------------+
| id: script                                                                   |
| version: 1.1.5                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: bash                                                                |
| time: 2019-07-30T05:58:20-07:00                                              |
+------------------------------------------------------------------------------+
|                                                                              |
+ brew install swiftlint
==> Downloading https://homebrew.bintray.com/bottles/swiftlint-0.34.0.high_sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/3b/3bbcaeba385f2d8b8e0353c33079aa650a410f9c4eb9184c439154906ef4edc0?__gda__=exp=1564492226~hmac=93a0594f82d4f960c8af133f3533d0155bb3e863c491530e951eebb695f289db&response-content-disposition=attachment%3Bfilename%3D%22swiftlint-0.34.0.high_sierra.bottle.tar.gz%22&response-content-type=application%2Fgzip&requestInfo=U2FsdGVkX19N01YrTlnMvPjZkMQZoFS5bIKBiSV4-wRrSxYgpxZvO8w1pnQlMOhWgMmtNUpN47rHyHvhi1tbtb0FXzT33C8kSLJQAJ3mxi0O-ZXXbES0xKezaea4V1qm3VSuaVMqzADaOeOm8XMM5g&response-X-Checksum-Sha1=f78ac454bfb9e35cabc5041ec6754ea903757387&response-X-Checksum-Sha2=3bbcaeba385f2d8b8e0353c33079aa650a410f9c4eb9184c439154906ef4edc0
==> Pouring swiftlint-0.34.0.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/swiftlint/0.34.0: 6 files, 17.3MB
|                                                                              |
+---+---------------------------------------------------------------+----------+
| ✓ | install swiftlint                                             | 11 sec   |
+---+---------------------------------------------------------------+----------+

but the next step failed for this build:
+------------------------------------------------------------------------------+

| (4) install soundflower                                                      |
+------------------------------------------------------------------------------+
| id: script                                                                   |
| version: 1.1.5                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: bash                                                                |
| time: 2019-07-30T05:58:30-07:00                                              |
+------------------------------------------------------------------------------+
|                                                                              |
+ brew install Caskroom/cask/soundflower
==> Tapping caskroom/cask
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
Error: Failure while executing; `git clone https://github.com/Caskroom/homebrew-cask /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask --depth=1` exited with 128.
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | install soundflower (exit code: 1)                            | 309 sec  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-script/issues             |
| Source: https://github.com/bitrise-io/steps-script                           |
+---+---------------------------------------------------------------+----------+

so it seems like its intermittent, hope that helps

Hi everyone, please let us know if you continue to experience brew issues today. Thanks! 😄

Issue was fixed a long time ago. Let's close it!

Issue was fixed a long time ago. Let's close it!


Direct messages cause notification icons to appear on each team, which don't clear until clicked on each team

[x] Did you read CONTRIBUTING.md?

Hey @yuya-oc, we currently have the problem, that we have two teams with the same users.
So basically the unread count is increased in both teams, for every direct message.
Now that I found out, that you are getting the unread count by parsing html, would you be open to a PR with more direct approach and retrieving the unread count directly with the API?
Anyway, thank you for your work on the client. I would look forward to a possible collaboration.
/cc @crspeller @it33

Sure, currently the client parses html (btw, the part you linked is for 'unread channels'. The mention count is gotten from sidebar and mention-highlight).
Of course PR is welcome. However, probably that makes breaking change, so it might take long time to review. Then, unfortunately I don't know well about the API, so I can't tell enough advise to implement.

Thanks @leipert for the feedback. Very much appreciated,
We have a related issue that was recently opened in the /platform repo: https://github.com/mattermost/platform/issues/3529. The team is open for suggestions on the expected behaviour when handling direct message lists across multiple teams. Feel free to add your thoughts by participating in the discussion.

Adding repro steps from @jfpreusse-bhvr:
Summary
When receiving a direct message, a red notification icon is added to all tabs and can only be cleared by opening the message on each team.
Steps to reproduce
This is for the Windows Desktop Application version 1.3.0.

Open the Windows Desktop Application and make sure you have joined more than one team (you should have multiple tabs in the application).
Ask someone to send you a direct message.

Expected behavior
The direct message notification icon should be displayed on one team only (e.g. the main team on the server, or make this a user preference), or at least be cleared for all tabs when read on one of the teams.
Observed behavior
The direct message notification icon is displayed on all the teams. The user must open the message in each team for all notification icons to be cleared.

So, in taking a cursory look at this, is there a reason to map the notifications to all teams rather than just the first team?  i.e.
src/browser/index.jsx:
var views = this.props.teams.map(function(team, index) {
      if (index > 0) return;        // only send to the first team????
      var handleUnreadCountChange = function(unreadCount, mentionCount, isUnread, isMentioned) {
        thisObj.handleUnreadCountChange(index, unreadCount, mentionCount, isUnread, isMentioned);
      };
      var handleNotificationClick = function() {
        thisObj.handleSelect(index);
      }
      var id = 'mattermostView' + index;
      var is_active = thisObj.state.key === index;
      return (<MattermostView key={ id } id={ id } style={ thisObj.visibleStyle(is_active) } src={ team.url } name={ team.name } onUnreadCountChange={ handleUnreadCountChange }
                onNotificationClick={ handleNotificationClick } ref={ id } active={ is_active } />)
    });

For earlier mattermost servers, it was necessary because users were separately managed by each team even if they exist in the same server.
Then, the code you pointed is the wrong part. views is actually an array of <webview> and they just report their unread counting. The appearance of counting is managed by <Tabbar> component. Sure, the simple mapping causes this problem, so need to organize the counting.

Mattermost has a feature in review where teams belonging to the same server would appear on the sidebar, left of the channels.

I think once the sidebar for teams gets implemented, we can much more easily streamline how notifications across teams work. Hence, adding a Pending label to this issue for now

Adding server label as this is blocked by the teams sidebar on the server side.

Adding my suggestion from the closed issue 3529.
Here's how I think this should work. This is one of the most annoying issue for us since we're all part of multiple teams.
Suppose that:

User A is part of teams X and Y (default team is X)
User B is part of teams X and Z (default team is X)

What should happen:

When user A writes to User B from team X, User B should receive the notification under team X.
When user A writes to User B from team Y, User B should receive the notification under team X (his default team).

To me this makes a lot of sense since I generally talk to another user from the team which makes the most sense for the topic I want to discuss.

@leipert @drmikecrowe @jfperusse-bhvr This issue should be resolved in Mattermost 3.6 with the new multi-deployment support through team sidebar. The release will be on January 16th.
With the new release, all of your teams will be visible on the left-hand sidebar as an additional team, and therefore you no longer need a separate tab for each team. To update your team management tabs, simply go to File > Settings or click Ctrl+Comma on your keyboard to visit the App Settings page.


Resolve Ruby Version Conflict

This PR resolves the version lock by removing the .ruby-version file as well as reverting the gemfile spec to allow versions greater than or equal to 2.6 which triggered bundle errors when attempting to use the <IP_ADDRESS> version on a project using ruby v2.7.4. Also reverts the unit-test.yml file to allow for ruby versions greater than 2.6 as well.

Thanks @andrew-pickin-epi - no worries, I thought it best to keep you in the loop nonetheless! 🙏


Postgres fixture and authors

These two minor commits tidy up some tests and add authors to more files.

the pg_api_ fixture function removes some repeated setup from the CQL tests.
authors are added to further files
The tests should pass and file comments look correct.

All the tests are green.  The fixture reduces code duplication.  Merging.


remove kibana proxy manifest

moved to other repo https://github.com/openshift-assisted/opensearch-infra/pull/8

FYI @danmanor

/cc @osherdp


[GOBBLIN-980] Fix AzkabanClient always throwing exception when cancelling flow

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-980

Description

[x] Here are some details about my PR, including screenshots (if applicable):

CancelFlowCallable returns an AzkabanSuccess, which fails the equals check, causing it to throw an exception even though cancel was successful. This changes it to instead use isAssignableFrom to allow subclasses as well.
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Trivial change
Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2826 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #2826      +/-   ##
============================================
- Coverage     45.64%   45.63%   -0.01%
+ Complexity     8975     8973       -2
============================================
  Files          1902     1902
  Lines         71283    71284       +1
  Branches       7862     7862
============================================
- Hits          32534    32530       -4
- Misses        35760    35762       +2
- Partials       2989     2992       +3

Impacted Files
Coverage Δ
Complexity Δ

...n/service/modules/orchestration/AzkabanClient.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...in/java/org/apache/gobblin/cluster/HelixUtils.java
35.51% <0%> (-3.74%)
12% <0%> (-1%)

.../limiter/RedirectAwareRestClientRequestSender.java
84.88% <0%> (-2.33%)
17% <0%> (-1%)

...e/gobblin/runtime/locks/ZookeeperBasedJobLock.java
63.33% <0%> (-1.12%)
15% <0%> (-1%)

...main/java/org/apache/gobblin/util/HadoopUtils.java
30.2% <0%> (-0.68%)
24% <0%> (-1%)

.../org/apache/gobblin/cluster/GobblinTaskRunner.java
65.27% <0%> (+0.46%)
30% <0%> (+1%)
:arrow_up:

...main/java/org/apache/gobblin/yarn/YarnService.java
15.68% <0%> (+0.84%)
4% <0%> (+1%)
:arrow_up:

...lin/util/filesystem/FileSystemInstrumentation.java
92.85% <0%> (+7.14%)
3% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Identity default FallbackPolicy interferes with StatusCodePages 404 middleware

Description
The linked page's code is incorrect, and its wording could be improved.
When one uses Identity and "secure by default" config - i.e. builder.Services.AddAuthorization(x => x.FallbackPolicy = x.DefaultPolicy); - then attempts to access a non-existent page will go to the login page instead of the error/404 page.
To force requests to go to the error/404 page instead, the linked page's code is given as a solution. But it doesn't work. Perhaps some changes were made in the last few aspnet versions?
This does work:
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization.Policy;

public class SampleAuthorizationMiddlewareResultHandler : IAuthorizationMiddlewareResultHandler
{
    private readonly AuthorizationMiddlewareResultHandler _defaultHandler = new();

    public async Task HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
    {
        if (!authorizeResult.Succeeded &&
            authorizeResult.Challenged &&
            context.GetEndpoint() == null)
        {
            // Return a 404 to make it appear as if the resource doesn't exist.
            context.Response.StatusCode = StatusCodes.Status404NotFound;
            return;
        }

        await _defaultHandler.HandleAsync(next, context, policy, authorizeResult);
    }
}

Also, the "secure by default" docs linked above should be updated to mention this gotcha, else the app doesn't behave as expected. In this scenario, that page is misleading as it states:

The fallback authorization policy requires all users to be authenticated, except for Razor Pages, controllers, or action methods with an authorization attribute. For example, Razor Pages, controllers, or action methods with [AllowAnonymous] or [Authorize(PolicyName="MyPolicy")] use the applied authorization attribute rather than the fallback authorization policy.

It should state that there is one case where the [AllowAnonymous] attribute is ignored, and that should link to the doc discussed above.
Similarly, the status code pages doc should include a warning box with the same note.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/customizingauthorizationmiddlewareresponse?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/customizingauthorizationmiddlewareresponse.md
Document ID
d0147dca-5a50-c83b-ae92-8a7c4ea4f69f
Article author
@Rick-Anderson

@adityamandaleeka and @mkArtakMSFT should be assigning reviewers now.

I've been caught by this problem too. Have spent several hours before tracking it down to this issue, so a resolution would help.
Personally, I think it needs a code update to change behaviour as you would not expect the 404 page to be behind a login check.


Add naive csharp project support for vsxmake

Note
This is a very naive and basic support for C# only in windows, and much much far from completely supports C# ecosystem like .Net Core or more advanced topics.
Motivation
I'm learning TheCherno's Game Engine Series courses. In the video Cherno uses premake as build tool. I decide to use xmake since it's getting popular in Chinese game & graphics development community. Everything works fine until the course step into C# Scripting and xmake hasn't supported csharp yet #1539. So I have to modified the xmake to make it work.
How it works in short
When building vsxmake solution, xmake generates .sln and .vcxproj files that uses XML (via customized template). When builds the target project, it uses MSBuild to analyze the .vcxproj. In the .vcxproj template it imports the Xmake.targets and the latter one use <Target> semantic to override the real build actions like config, build, clean, etc.
To support CSharp project, here’s the work that needed:

Frontend: Add languages/rules for csharp (not completely done)
Modified the .sln files to recognize the .csproj
Add .csproj XML templates to generate the .csproj file
Backend: Add cross-platform compiling pipeline. (of course not done since it’s too hard and too much work to make it done)

For step 1, currently  set_languages(csharp) and add_files("xx.cs") works fine, and set_kind only supports binary and shared.
For step 2 and 3, currently MSBuild.exe can parse the .sln and .csproj correctly. IntelliSense and Property setting window works fine (tested on VS2022 and Rider 2023.3.1).
For step 4, currently I use the Microsoft.CSharp.targets instead of Xmake.CSharp.targets to build targets, which means it doesn’t override the default build actions. Thus the build actions in the rules/csharp/xmake.lua will not be executed at all.
Optimizations & bug fixes

The project reference in #target#.vcxproj is commented since initial commit. I don’t see why since uncomment it also works fine. For .vcxproj it’s just a slight improvement when using IDE. However for .csproj, it’s a necessary semantic otherwise IntelliSense disfunctions when referencing another C# project via add_deps(...).
set_objectdir("...") doesn’t work correctly on .vcxproj because of hard-coded path, now it works fine.
In project property window, language standard display of c++20 is not correct. (expected: c++20, actually is: c++latest)

Maybe these changes can be extracted as another new pull request.
Test
xmake project -k vsxmake

CSharpTest.zip
Future work
Due to the limitation of time and my ability, there are many things that to be working on, and needs community collaborations:

When writing #target#.csproj, Xmake.Common.props and Xmake.Csharp.targets(this file is not deployed), I take C++ project template files for reference. Thus in these files many C++ settings are left. I didn’t delete them for the reason of compatibility (lol, too noob to fully understood the xmake c++ build pipeline and relevant api mechanics). These legacy code should be cleaned up.

For the similar reason, files in languages/csharp/ and rules/csharp also contain a lot legacy code that copy from c++ corresponding files that should be cleaned up.

Backend compilation override, and cross-platform, more C# ecosystem support and more apis for C# builds.

External reference

Premake implementation of .csproj file
MSDN of MSBulid and .csproj XML

I tried it and it worked, but it didn't call the xmake command to compile the cs project, but directly used vs to build it.
If so, you should implement it in vs project generator (xmake project -k vs) instead of vsxmake.
The vsxmake generator is only used to wrap xmake cli. The xmake command is directly called in the vs project to compile the csharp program.

I tried it and it worked, but it didn't call the xmake command to compile the cs project, but directly call vs to build it.
If so, you should implement it in vs project generator (xmake project -k vs) instead of vsxmake.
The vsxmake generator is only used to wrap xmake cli. The xmake command is directly called in the vs project to compile the csharp program.

Thanks for the reply. I am aware of the fact that it not completely fits in the vsxmake build paradigm. I am trying to figure out a
good way to orchestrate them and there's no doubt that it needs deeper understanding of how xmake build cli functions in the backend and how C# build toolchain works and furthermore to abstract and integrate it into xmake backend. That's a lot of work and it takes time.
Present build backend is definitely more fittable to the vs proj generator. However I will work on vsxmake first since it's more recommendable to use than the old vs in the wiki (although it's easier to implement than vsxmake).
I might be too reckless to pull this unaccomplished request just for helping somebody like me out. At the moment just left it for some time until everything is done:

[ ] C# build backend integration into xmake
[ ] Use Xmake.CSharp.targets instead of Microsoft.CSharp.targets in .csproj template.
[ ] csflags support and LangVersion support

I think it's worth a shot to implement it in for the vs project generator first since it's not going away (vsxmake generator doesn't fully replace it) and it would be great to have C# support in both native vs project and vsxmake/xmake backend.

I think it's worth a shot to implement it in for the vs project generator first since it's not going away (vsxmake generator doesn't fully replace it) and it would be great to have C# support in both native vs project and vsxmake/xmake backend.

right, we can make vs generator to support csharp first.

I think if you want to use xmake as a build system for C#, you should start with csc (compilation tool), if you simply generate MSbuild project from xmake.lua, then this process may not make much sense, because MSbuild is simple and clear enough (at least in my opinion).

I think if you want to use xmake as a build system for C#, you should start with csc (compilation tool), if you simply generate MSbuild project from xmake.lua, then this process may not make much sense, because MSbuild is simple and clear enough (at least in my opinion).

Thanks for the advice. I know csc.exe. If you check the output log (set detail mode to at least normal) of c# project in vs you will see that it's calling csc.exe with source files plus some compilation options. My initial purpose was to make c# scripting orchestra with xmake and vs2022/rider so I just stopped when msbuild parse .csproj correctly. I haven't go that deep into xmake's compiler backend to see how it works. Furthermore c# ecosystem also have .Net core which might use ''dotnet build'' command. That should be taken into consideration becsuse it's more cross-platform than the old framework one (expired and no more update/newer version), especially when it comes to integrating to a cross-platform build system. Unfortunately at present I am busy doing other stuff and don't have not enough time for this pr. I will accomplish it in the future but I can't make time promise.

Hello, are there any updates on this PR?

Hello, are there any updates on this PR?

No updates yet. Too busy to spend time on this. It's been almost a year and xmake has updated serveral versions. This PR needs more work and considerations to deploy. I will try to make some updates in next year.


JS: Promise.catch incorrectly highlighted as keyword

(Original issue 1305 created by None on 2016-11-21T17:42:19.542820+00:00)
Catch is a keyword in JavaScript. However, it is also a legal function name and is used by the Promise standard to register a catch handler. Pygments incorrectly highlights the catch method as keyword even if it is none.
Example:
#!javascript

function fib(num) {
	if (num <= 2) {
    	return 1;
	}

	return fib(num - 1) + fib(num - 2);
}

parallel.run(fib, 100) |$\label{code:parallel-run}$|
	.catch(error => console.error(error))
	.then(result => console.log(result));

Expected Behavior: Catch is not highlighted as keyword
Actual Behavior: Catch is highlighted as keyword

This applies to all keywords-as-properties. Downstream issue on Wikipedia: https://phabricator.wikimedia.org/T249029

This applies to all keywords-as-properties. Downstream issue on Wikipedia: https://phabricator.wikimedia.org/T249029

Not being an expert on Javascript or anything, but is it reasonable to assume that those keywords would all start with a . when they are function names, or is it possible they'll appear as "normal" function calls like catch (foo);? If it's as easy as checking for a leading . then I think we can make this work, but if it requires more context then we'll have a hard time fixing this.

Not being an expert on Javascript or anything, but is it reasonable to assume that those keywords would all start with a . when they are function names, or is it possible they'll appear as "normal" function calls like catch (foo);? If it's as easy as checking for a leading . then I think we can make this work, but if it requires more context then we'll have a hard time fixing this.

I think checking for a leading . would certainly indicate they are being used as properties and not keywords, so guarding against that would be an improvement.
It is also possible for there to be whitespace preceding the ., such as
promise.then().
  catch()

although this style is fairly uncommon.
I imagine there is a limit to how precise you can be without using an actual JS parser.

I think checking for a leading . would certainly indicate they are being used as properties and not keywords, so guarding against that would be an improvement.
It is also possible for there to be whitespace preceding the ., such as
promise.then().
  catch()

although this style is fairly uncommon.
I imagine there is a limit to how precise you can be without using an actual JS parser.

There's really now way to detect a case like the second one for us -- we're not a JavaScript parser; we're fully regex based with no to minimal context :( I'll see if I can fix the leading . case though, I hope that's doable without too much fallout.

There's really now way to detect a case like the second one for us -- we're not a JavaScript parser; we're fully regex based with no to minimal context :( I'll see if I can fix the leading . case though, I hope that's doable without too much fallout.


erratic relatedDependencies behaviour

Hi,
I am seeing erratic behaviour when scanning the same set of artifacts over and over again.
This is when there are multiple artifacts with the same (vulnerable) (bundles) dependencies.
Situation:
app_a.war contains handlebars-2.0.0.js
app_b.war contains handlebars-2.0.0.js
Both wars are components in the same application, let's say a customer facing war and a operator facing war both using a common backend rest api (left out for simplicity).
Scanning with dependency check delivers XML report along the following lines:
<dependency isVirtual="false">
	<fileName>app_a.war: handlebars-2.0.0.js</fileName>
	<filePath>/var/lib/jenkins/workspace/middleware_develop/target/app_a.war/apidocs/lib/handlebars-2.0.0.js</filePath>
	<md5>501c421a9bc201f50c76c8d28af0cb36</md5>
	<sha1>f25d39dc72774e392d55d98dd1d1285b1e213809</sha1>
	<sha256>7cb481a09730ac4f570ec37702f2fa70ce197bec81100565c6817eb13666a796</sha256>
	<relatedDependencies>
		<relatedDependency>
			<filePath>/var/lib/jenkins/workspace/middleware_develop/anotherfolder/app_b.war/apidocs/lib/handlebars-2.0.0.js</filePath>
			<sha256>7cb481a09730ac4f570ec37702f2fa70ce197bec81100565c6817eb13666a796</sha256>
			<sha1>f25d39dc72774e392d55d98dd1d1285b1e213809</sha1>
			<md5>501c421a9bc201f50c76c8d28af0cb36</md5>
		</relatedDependency>
	</relatedDependencies>

When using vulnerability aggregators or reporting tools, this hides app_b.war from the results most of the time as these
tools do not usually look at relatedDependencies.
Problem is 2 that sometimes dependency check flips the order around:
<dependency isVirtual="false">
	<fileName>app_b.war: handlebars-2.0.0.js</fileName>
	<filePath>/var/lib/jenkins/workspace/middleware_develop/target/anotherfolder/app_b.war/apidocs/lib/handlebars-2.0.0.js</filePath>
	<md5>501c421a9bc201f50c76c8d28af0cb36</md5>
	<sha1>f25d39dc72774e392d55d98dd1d1285b1e213809</sha1>
	<sha256>7cb481a09730ac4f570ec37702f2fa70ce197bec81100565c6817eb13666a796</sha256>
	<relatedDependencies>
		<relatedDependency>
			<filePath>/var/lib/jenkins/workspace/middleware_develop/app_a.war/apidocs/lib/handlebars-2.0.0.js</filePath>
			<sha256>7cb481a09730ac4f570ec37702f2fa70ce197bec81100565c6817eb13666a796</sha256>
			<sha1>f25d39dc72774e392d55d98dd1d1285b1e213809</sha1>
			<md5>501c421a9bc201f50c76c8d28af0cb36</md5>
		</relatedDependency>
	</relatedDependencies>

Is this expected / intended behaviour? I myself have (implicit) expectations:

Different scanned wars/artifacts should always be reported seperately.

If that's not reasonable / fair, then at least:

Any grouping / relating should be constant / predictable.

If that’s not possible, then at least:

Output the filename property also for the related dependencies / artifacts and output also the related dependencies as vulnerable in the html report / summary to avoid false negatives.

In the first example above it’s almost impossible to extra the “app_b.war” as filename for the related dependency.
Are these reasonable / doable expectations, or should we just exptect aggregators to look at the md5/sha1/sha256 and all relatedDependencies to "ungroup" / "unrelate" these items?
It's not only aggregators, also the html report looks different making it hard for the human eye to detect that we are in fact looking at identical reports.
Didn't know if I should mark it as bug or question or feature request.
Valentijn

Thanks for the report. I know why this is seeming inconsistent and we will work on improving the consistency.

This is currently expected behavior that the same JS file in multiple WARs would be bundled. However, I agree that this probably should not be the case.  We can add some checking to eh bundling mechanism to correct this behavior.
We are apparently missing some a sorting/ordering mechanism as part of the bundling that is causing this behavior. While we plan on correcting item 1 - I can see scenarios where this still might occur so we need to review the logic and ensure we have a consistent ordering.
Adding the fileName node can be added in addition to the changes. While that could be parsed, it is easy enough to make the output a little more verbose.

Thanks for the quick response, to be sure some extra info:

It's also happening for .jar files inside multiple wars (not saying you stated otherwise, just mentioning it)
I think ordering can be fixed as long as no wars are added or removed, but it would be acceptable if in that case something would change a bit. To be honest, fixing the ordering would already solve my immediate problem of findings opening/closing in defect dojo.
Nice.

Parsing the full filepaths in the reports turns out not be straightforward, so I went ahead and created a PR to add the filename for related dependencies to the xml+json reports.
Please let me know if this is something that you could see merged, as I will be using it in my setup.

This should be resolved with the pending 6.0.0 release.

@jeremylong only item 3 is fixed. Item 1 and 2 (too much bundling and ordering) are not fixed.


Update sunsynk-power-flow.js

Add functionality to hide solar in no PV installed

Would github not automatically merge the changed lines of code only?
Not a github expert myself so not 100% sure how it works

I've incorporated your changes. Thanks


gh action: Haskell/actions/setup is getting deprecated

I saw this with another repo:
Run haskell/actions/setup@v1
Warning: As of 2023-09-09, haskell/action/setup is no longer maintained, please switch to haskell-actions/setup (note: dash for slash).
***************************************************************************
**                                                                       **
**              This action is DEPRECATED.                               **
**                                                                       **
**              Please use haskell-actions/setup instead.                **
**                                                                       **
**              (Note the dash instead of the slash.)                    **
**                                                                       **
***************************************************************************
´´´

So we should at some point change to `Haskell-actions/setup` it seems.

Yes, indeed, I don't know what I was thinking. I thought I checked. Nevermind.


MNT: Re-rendered with conda-smithy 3.1.12 and pinning 2018.10.03

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


error while running running collect command

i received this error while running the collect command
Traceback (most recent call last):
File "cloudmapper.py", line 68, in
main()
File "cloudmapper.py", line 52, in main
module = importer.find_module(command_name).load_module(full_package_name)
File "", line 398, in _check_name_wrapper
ImportError: loader for collect cannot handle commands.collect

Are you on Windows?  I did a quick google search and this was one of the top hits: https://stackoverflow.com/questions/45489289/python-importerror-loader-for-module-cannot-handle-mp-main
I just added the collect command yesterday and only tested it on my macOS system.

Hi 0xdabbad00
No I am on Mac OS
ProductName:	Mac OS X
ProductVersion:	10.13.4
BuildVersion:	17E199
i think this is an issue with latest code commits, would be possible for you to check?

This second issue is a bug, I'm fixing now.  I'm still not sure on the first issue though where you ran on macOS.

The second issue should be resolved with the ec2-describe-images.json.
For the first issue on your macOS system, maybe ensure you are inside a virtualenv environment and ensure you have a ./commands/collect.py file, which is this one: https://github.com/duo-labs/cloudmapper/blob/master/commands/collect.py

actually i ran the virtualenv with python2.7 for the first issue and it worked so i guess issue is to run with python3

I'm actually running into this same issue still. macOS 10.12.6 with Python 3.6.5 within a venv. The fix was as simple as replacing the importer.find_module line (54 atm) with module = importlib.import_module(full_package_name). Had to go and clean up a bunch of print "foo" statements as well, though.

Hello, I'm having the same error while collecting the data :
I'm running it on a vm ubuntu16 with a python 2.7.12

Traceback (most recent call last):
File "cloudmapper.py", line 72, in
main()
File "cloudmapper.py", line 55, in main
module = importlib.import_module(full_package_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/hind/cloudmapper/commands/amis.py", line 7, in
from shared.nodes import Account, Region
File "/home/hind/cloudmapper/shared/nodes.py", line 27, in
from netaddr import IPNetwork, IPAddress
ImportError: No module named netaddr

Do you have an idea to solve this problem, please ? Thank's !

I tried the command that you recommanded (even if i'm not on Mac OS)  :

./commands/collect.py

But, I got a permission denied while executing it, even if I'm sudo

@Hindmalti It looks like you didn't follow the instructions to run inside a pipenv shell.  You need to run:
pipenv install --skip-lock
pipenv shell

Please see the rest of the instructions for setup.


Menu Bar Icons Too Narrow

Fixes Issue 94 by setting a minimum pixel width for the search bar.
Visible on the map page.
Before:

After:

@jroper-scottlogic Thanks for the contribution! Flagging that the issue is with the icons in the filter, download, and saved buttons, not the search bar.
I've been working on my own PR to add the save button. I ran into some merge conflicts but will probably get them resolved and pushed tomorrow. You might want to wait until then. Maybe tackle #89 in the meantime?

use tailwind styles as well

@jroper-scottlogic Thanks for the contribution! Flagging that the issue is with the icons in the filter, download, and saved buttons, not the search bar.
I've been working on my own PR to add the save button. I ran into some merge conflicts but will probably get them resolved and pushed tomorrow. You might want to wait until then. Maybe tackle #89 in the meantime?

Thanks for suggestion, will get on it!

fixed with search bar change


Update howto-conditional-access-policy-azure-management.md

Made formatting changes to improve readability for highlighting the differences in what conditional access app to select for the different clouds

@jayhaddad : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Thanks for the proposal but we are going to keep it as is for now. #please-close


⚠ Samsung has degraded performance

In dac42b9, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2602 ms

Resolved: Samsung performance has improved in d623998.


HHH-10984 Change multiLoad sessionCheckingEnabled default value is true and Fix few bugs.

#Issue : https://hibernate.atlassian.net/browse/HHH-10984

Going to reject this PR and address it as discussed on Jira.


Translation error: User Experience "Premium" is "Paid-in surplus" in Spanish.

I don't know if this is the right place to report it, but...
I guess someone translated Premium without context, and in Spanish we can choose between "Basic", "Essential" and "Paid-in surplus" user experiences.
It is incredibly funny (when read in Spanish, at least), but it also makes it look like that no-one in Microsoft Spain has ever used this option, and that doesn't give much confidence.

Note: I found this error in the current sandbox version.

Thanks, I will pass it on to the owning team. I'll not track it here since this repo is only used for AL development and app extensibility related issues.


[Feature Request] groovy集成

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
http://www.groovy-lang.org/documentation.html
Additional context
No response

https://www.cnblogs.com/Ming8006/p/10870696.html

https://www.cnblogs.com/jizha/p/5027695.html

excel操作
https://www.codenong.com/8057870/
https://github.com/ssadedin/excelcatgory

https://blog.csdn.net/feiqinbushizheng/article/details/108580652

https://juejin.cn/post/6932778923491065864


Charlie/readme2

[x] Updated UML
[x] Added more resources

Codecov Report

Merging #56 (c0bb1a8) into dev (8ebcfe6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev      #56   +/-   ##
=======================================
  Coverage   51.91%   51.91%
=======================================
  Files           8        8
  Lines         183      183
  Branches       23       23
=======================================
  Hits           95       95
  Misses         81       81
  Partials        7        7

Continue to review full report at Codecov.

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


Fixes changelog typo

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Need Doc update
no

Describe your change
This Pull Request addresses a typo on the changelog.

Thanks!


Separate WorkspaceFactory to Toolbox Editor and Workspace Editor

Currently the toolbox and workspace is edited in the same view. Create another tab that separates the workspace factory view into two separate views. Necessary for refactor.

Done?


Add Monai's UNETR

Benchmarking from monai's unetr implementation
In experiments/vision-transformer/unetr/results, the row headers are the source models, and the column headers are for the cell-type-wise inference

PS: models from torch-em and monai (both training from scratch) have been tried for 10k iterations for two cell types

We finally have the benchmarking results. The script now looks good to go (the negative values occured how, I am not sure - but they were with a pretty shallow training - for 1k iterations previously). The current results are with 100k iterations (more details of the training heuristic in the sheet linked above)


Add a torch.cuda.empty_cache() in utils.save_checkpoint

What does this PR do?
Adds a empty_cache() to clear the cache right before checkpointing. Some amount of memory is used by NCCL during checkpointing and if we are operating near the total memory of the GPU, empty_cache() can help clear unused memory and allow checkpointing to succeed.
What issue(s) does this change relate to?

Before submitting

[ ] Have you read the contributor guidelines?
[ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[ ] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[ ] Did you update any related docs and document your change?
[ ] Did you update any related tests and add any new tests related to your change? (see testing)
[ ] Did you run the tests locally to make sure they pass?
[ ] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

Can we do this in save_checkpoint in checkpoint.py instead? That way if a user directly calls API, it will also run

Done!


editor with jsx warnings

Describe the bug
I just created a new react project and I got this warnings
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-8pfgsb?file=src%2FApp.tsx&terminal=dev
Steps to reproduce

create a new project
wait for installation
Observe

Expected behavior
No warning should display with correct tsconfig about jsx
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 126
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 109901867,
  "usedJSHeapSize": 107615847,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 70dbe416

Additional context
No response

This issue is being discussed in #1465.

thanks @BlessYAHU .


Add support for Emscripten version 3.1.57

Emscripten has removed some exported functions and replaced them with pure JS functions. They still reference native methods though, they just have a different name and the JS method is just an alias for the native function.
This PR adds the ability to add function aliases for exported Emscripten functions, since Emscripten renamed some exports on their side, see https://github.com/emscripten-core/emscripten/pull/21555
This change is backwards compatible.

@mathetake that would also be fine, but that does mean that any wasm file compiled with Emscripten < 3.1.57 will suddenly stop working after upgrading Wazero without a clear indication why.

yeah, that's unfortunate but as long as we put that in the release note, this should be good

@mathetake I have removed the backwards compatible code. Can you tell me how you compile the .wat files? When I use wabt I get a different output, but perhaps that has to do with wabt options and/or version.

pushed the fix!


Idea: Add a function Apify.fail(message) to finish actor run

This would be useful for two reasons:

Actors with "restart on error" might keep restarting, even though the error might never be resolved, e.g. because INPUT data is invalid or some setting is wrong. Due to the "restart on error" setting, the actor will just keep restarting forever.
The user will be able to see a descriptive error message why the actor failed, and thus will not need to search in log etc.

We could implement easily by adding an extra parameter to the Abort run API endpoint, and just exposing this call in Apify SDK as:
await Apify.fail('Something went wrong');

Locally, the SDK would just exit the actor proces with non-zero status code and print something to log.

Actually it will be cleaner to add a new API endpoint instead.

Perhaps a general Apify.exit([code], [msg]) function would be more useful, developers could report to user what happened

What is the currently accepted way of doing this? I'm try/catching and throwing errors but it still reads as "succeeded"

@wallawe throwing an uncaught exception will cause the actor to fail, since it exits the process with a non zero exit code. Are you seeing a different behavior?
Basically, any other exit code than 0 is a fail. You can also process.exit(9) or some such.

Thanks for your response, I was just console.loging the error in my catch statement, so I'm going to use process.exit(9) there and hopefully that will work.

If you just want the actor to fail, there's no need to catch and console.log the error in the first place. It will get printed to the log anyway and the process will automatically exit afterwards.


can I have your old version of training?

can i have your old version of multigpu code? I had wrote my project bsed on your old VERSION and dont have time to update.

Why don't you check out an earlier version from github?


Added Hover effect in social media icons - footer

Added hover effect to social media icons #190

Title:  Added hover effect to social media icons
Issue No.: #190
Close #190

Screenshots/Video (mandatory)
https://github.com/user-attachments/assets/2ffdc30f-09fa-416b-be8c-970f27af709f

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have created a helpful and easy-to-understand README.md if it's a new page/tech stack.
[x] I have gone through the contributing.md file before contributing.

Additional context (Mandatory):
Enhanced look due to hover effect
Are you contributing under any Open-source programme?

[x] I'm a GSSOC-EXT contributor
[x] I'm a HACKTOBERFEST contributor

Please push again check your conflicts ->

Hello @tanishirai, You have still some conflicts.


Update proactive-diagnostics.md

Important: This PR should be merged together with a modified image (sent by email).

@harelbr : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Not able to execute npx cypress-slack-reporter - find mochareports

Hi!
Thanks so much creating this plugin! 🥇 💯 👍
I'm having issues running the execution part npx cypress-slack-reporter
npx cypress-slack-reporter Error: Cannot find test report @ /Users/ronakchovatiya/Documents/Work/.../mochareports
Specifically
Set the following environment variables in your localhost or CI configuration. 🤔
i've created config.env.test file  with my slack webhook
$SLACK_WEBHOOK_URL - The full URL you created in the last step
where does the export go?
$ export SLACK_WEBHOOK_URL=yourWebhookUrlHere -
Execution
$ npx cypress-slack-reporter --help - this works
Steps performed

yarn add cypress-slack-reporter --dev
yarn add mocha @5.4.2 (instead of the latest 6 which gave error)
yarn Added all of mochawesome reports (if i add the --reporter flag it works and i do get a html report)
Created Slack app and Webhook URL / Oauth
added code snippets for cypress.json and reporterOpts.json
I'm not using CIRCLE CI - need it to just run locally for now then will add gitlab later

Guess the main issue I'm faceing not know how to hook up the config.test.env file in my react app and error message for not finding mochareports i even created folder with same name in the specified place.
P.S - i've tried the same steps for the example repo you've created react-ts-testing-example  Which has all setup - i am able to run the website locally and normal cypress test pass.. But 😓 not able to run npx cypress-slack-reporter
System Info
MacOS
Cypress : 3.3.0
"cypress-slack-reporter": "^0.2.6",
"mocha-multi-reporters": "^1.1.7",
"mochawesome": "^3.1.2",
"mochawesome-merge": "^1.0.7",
"mochawesome-report-generator": "^3.1.5",
--
Thanks again! 🙏

Hey buddy, thanks for using my plugin! woop woop!
Let's see what we can sort.

yarn add mocha @5.4.2 (instead of the latest 6 which gave error) -

Yeah Mocha 6 errors with mocha-multi-reporters, I have fixed it in a fork, and it is available here https://www.npmjs.com/package/cypress-multi-reporters

i've created config.env.test file with my slack webhook
$SLACK_WEBHOOK_URL - The full URL you created in the last step
where does the export go?
$ export SLACK_WEBHOOK_URL=yourWebhookUrlHere -

config.env.test is actually used for the projects tests, and isn't read by the npm module.
The plugin reads it with process.env here
You need it available to the shell you are executing your program from.
if you run the command export SLACK_WEBHOOK_URL=https://hooks.slack.com/services/AAA/BBB/CCC at the command line, and then run echo $SLACK_WEBHOOK_URL it should return your incoming webhook. However we need to look at why we can't find the report file(s).

I'm having issues running the execution part npx cypress-slack-reporter

npx cypress-slack-reporter Error: Cannot find test report @ /Users/ronakchovatiya/Documents/Work/.../mochareports

If you run it with npx cypress-slack-reporter --logger, it will output the directory we are trying to read the report file from.
The report folder will need 2 things, a mochawesome html report, and a mochawesome json report. It uses the json report to ascertain the test results, and choose which message to send, and the html report is used when constructing the artefact URL's from circleci.
Let me know how it goes!

@rchovatiya88 start with passing --logger flag and let me know what the contents of the reportDir that the logger info provides

P.S - i've tried the same steps for the example repo you've created react-ts-testing-example Which has all setup - i am able to run the website locally and normal cypress test pass.. But 😓 not able to run npx cypress-slack-reporter

Do you get the same error in this project about being unable to find the report, or does it complain about the webhook url not being set? If the latter then this should hopefully help!
➜  export SLACK_WEBHOOK_URL=yourWebhookUrlHere
➜  echo $SLACK_WEBHOOK_URL
yourWebhookUrlHere

Thanks for quick reply!
so Logger  shows it should be same not why it can't find it...
ciProvider:- circleci
vcsProvider:- github
reportDirectory:- /Users/ronakchovatiya/Documents/Work/client/mochareports
videoDirectory:- /Users/ronakchovatiya/Documents/Work/client/cypress/videos
screenshotDirectory:- /Users/ronakchovatiya/Documents/Work/client/cypress/screenshots

Error: Cannot find test report @ /Users/ronakchovatiya/Documents/Work/client/mochareports```

np, on the lappy doing some bits and bobs - have you got both a .json & .html file in /Users/ronakchovatiya/Documents/Work/client/mochareports?

Looks like the error message is coming from this function, so it can't find the html report, can you show me the output of ls /Users/ronakchovatiya/Documents/Work/client/mochareports
export function getHTMLReportFilename(reportDir: string) {
  const reportHTMLFullPath = getFiles(reportDir, ".html", []);
  if (reportHTMLFullPath.length === 0) {
    throw new Error(`Cannot find test report @ ${reportDir}`);
  } else if (reportHTMLFullPath.length >= 2) {
    throw new Error(
      "Multiple reports found, please provide only a single report"
    );
  } else {
    reportHTMLFilename = reportHTMLFullPath
      .toString()
      .split("/")
      .pop() as string;
    return reportHTMLFilename;
  }
}

ah /mochareports is manual folder i created, it doesn't have any files.

ahhh right, yeah that'll do it, if you run cypress, with the reporterOpts as described in the readme, you would need to do the following to generate the necessary reports
combine-reports:
	npx mochawesome-merge --reportDir cypress/reports/mocha > mochareports/report.json

generate-report:
	npx marge mochareports/report.json -f report -o mochareports

slack-alert:
	npx cypress-slack-reporter --logger

If you want to test it out, pop these two files in your mochareports folder and you should be able to send the slack message
https://github.com/YOU54F/cypress-slack-reporter/tree/master/src/slack/test/jsonTestPass

Superb!! it worked 👍  Thanks so much!
Now on to running cypress on MsEdge on my Mac 🤗

only if someone(you!!) had written a blog post about how to do that haha 🙏 Thanks for all your contributions! i owe a cup of☕ or 🍺 next time you're in NYC 😺

Cheers buddy! Glad it has worked for you! Good luck with Edge!
Thanks for the offer of a coffee! I've only been to America once (to NYC for a work conference) but plan on going out there with the wife soon, so you never know, might take you up on that 😆

can somebody let me know where we can add SLACK_WEBHOOK_URL in package.json?

can somebody let me know where we can add SLACK_WEBHOOK_URL in package.json?

You need it as an env var in your shell, not in your package json.

can somebody let me know where we can add SLACK_WEBHOOK_URL in package.json?

You need it as an env var in your shell, not in your package json.

I am not able to pass --env SLACK_WEBHOOK_URL=yourWebhookUrlHere or export it in cypress.json. Can you please let me know how to pass it in shell?

Thanks for this wonderful package @YOU54F. Can we update this with following things if possible-
1.Adding the html link as well in slack message to see mochawesome report in URL
2.Total no of tests- How many passed, how many failed , how many skipped

can somebody let me know where we can add SLACK_WEBHOOK_URL in package.json?

You need it as an env var in your shell, not in your package json.

I am not able to pass --env SLACK_WEBHOOK_URL=yourWebhookUrlHere or export it in cypress.json. Can you please let me know how to pass it in shell?

Run export SLACK_WEBHOOK_URL=yourWebhookUrlHere in Mac or Linux
Or set SLACK_WEBHOOK_URL=yourWebhookUrlHere if running windows
Prior to running cypress-slack-reporter

Thanks for this wonderful package @YOU54F. Can we update this with following things if possible-
1.Adding the html link as well in slack message to see mochawesome report in URL

There is a link to the mochawesome report via a button which opens a url if using circleci

2.Total no of tests- How many passed, how many failed , how many skipped

There isn’t how many skipped, I can add that, but there is how many passed and failed. See the main readme for screenshots of the messages. Hope that helps

Thanks @YOU54F for the ideas, i created one sh script to run SLACK_WEBHOOK_URL just before cypress-slack-reporter.
But i am not getting proper test report when i ran  this in circleci. I got a json page with message as artifact not found. Any suggestion on that on how to fix it?


Add test module target on Makefile

What this PR does / why we need it:
Add test-mod target on Makefile in case run test for specific modules/dirs.
Test with DIR=pkg/app/api make test-mod command.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Not sure why do we need this?
Just running make test and Bazel automatically detects what should be tested.

Not sure why do we need this?
Just running make test and Bazel automatically detects what should be tested.

not sure what when wrong but on my local, make test usually run all the test on a newly opened terminal session 🤔 So I thought at least specific which dirs/modules of tests should be run bring better development experience.

/approve

@nghialv I somehow figured out what happened on my local, rebuild/rerun test occurred on switching between editor's terminal ( Vscode ) and os's terminal  👀
did it occur on your end 👀 ( update .bazelrc may resolve this issue )
ref: https://github.com/bazelbuild/intellij/issues/789

@khanhtc1202 lol. It worked perfectly for me. I am using the same zsh for both terminal and VScode.


Marketplace: README headings change id after visiting "Rating&Review" (ssr=false)

VSC Marketplace pages
Steps to Reproduce:

Go to a page for a VSC extension: Select By
"Overview" tab is selected and URL has no ssr property in the query string or anchor name
Select the "Rating & Review" tab
Select the "Overview" tab. Now URL has ssr=false property in the query string and the anchor name #overview
Inspect the id of one of the headings
The id has changed compared to Step 2 and there is a class link-header added.

The id now has a prefix of user-content- and that will break the internal links like [overview](#overview)
Changing the ssr property to ssr=true shows the original html page.

I have updated the extension with internal links and the link href shows #move-by, but when clicked the anchor name is #user-content-move-by. Now the page scroll behavior is different for the internal links compared to the page with ssr=true.
What is the use of ssr query property for the Overview tab?

@sandy081 do you know to whom to forward this?

@prashantvc can you take a look at this?

Thanks for reporting the bug @rioj7. ssr is an internal flag we use on the marketplace; don't think I can share here :)
We will prioritise this bug for next sprint


Proposal: gray out or hide/disable Hunts that user has already visited

what do you think? that way user who is logged in can filter on Hunts that they haven't seen yet

I like this idea. The simplest way to signify whether the user has visited a link is to use the :visited CSS pseudo-class. I.e. let the browser change the colour of the link once it's been visited. WDYT?

I like the idea of using the :visited pseudo-class. Since one might want to revisit a recent hunt I would not hide or disable those but rather just signal the user that she/he already visited the respective hunt.
When using the pseudo-class, do you think using the same color in a different tone? So since we use text-gray-500 for our regular links I would suggest using text-gray-300 or even text-gray-200. What do you think?

I'm open to whichever colour/shade as long as it conveys to the user clearly that the link has been visited. Google uses purple to do that.


mocking v2 async storage in jest

You want to:
Trying to write some tests around my code with the v2 version but having a bit of trouble mocking out the native module. Some direction here would be great as i think it is a bit different to how legacy is mocked.

@Krizzu I wrote a basic mock implementation which so far seems to be working just fine 🙂 I'd really appreciate it if you could take a quick look to be sure there's nothing missing. Thanks a lot!!

@JoseLion
This looks legit. Unfortunately, I'm putting v2 on hold from my side, but feel free to open PR.


feat: Implement File-Size-Based LRU Cache and Introduce Configurable Parameters

This PR introduces a significant overhaul of our caching mechanism by shifting to a real file-size-based Least Recently Used (LRU) strategy. Additionally, it adds two new configurable parameters to enhance control over the cache behavior and efficiency:
max_size: This update adds a new command-line argument --max-size that allows configuration of the cache's maximum capacity in bytes. This parameter is crucial for managing memory utilization based on the available system resources.
bucket_size: A new command-line argument --bucket-size has been introduced, enabling the specification of the bucket size for the cache. This parameter influences the granularity of cache management and can impact performance, particularly in environments with high transaction rates.

Codecov Report
Attention: Patch coverage is 57.95455% with 37 lines in your changes are missing coverage. Please review.

Project coverage is 58.41%. Comparing base (ec319ac) to head (3dec871).

Files
Patch %
Lines

server/src/main.rs
0.00%
28 Missing :warning:

server/src/cache.rs
86.36%
2 Missing and 4 partials :warning:

server/src/storage/s3_storage_connector.rs
77.77%
1 Missing and 1 partial :warning:

server/src/storage/mock_storage_connector.rs
80.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
- Coverage   58.89%   58.41%   -0.48%
==========================================
  Files          10       10
  Lines         956     1010      +54
  Branches      956     1010      +54
==========================================
+ Hits          563      590      +27
- Misses        324      348      +24
- Partials       69       72       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[LDA] - (Mods) Create Filter module

Create a Filter Module (LuxFilter)
The Filter Module will provide users with tools to organize and manage their photo collection effectively. Users will be able to filter, rate, and sort their photos, making it easier to curate their best images and manage large libraries.
Goals

Photo Filtering: Enable users to filter their photos based on various criteria such as rating, tags, metadata, and status.
Rating System: Allow users to rate their photos, making it easier to identify their favorite images.
Approval Workflow: Provide options for users to mark photos as "accepted," "rejected," or other custom statuses to streamline the curation process.

Features of the Filter Module

Filtering Tools:

By Metadata: Allow filtering based on metadata such as date, camera type, location, and file type.
By Rating and Tags: Provide users with the ability to filter photos based on their rating (e.g., 1 to 5 stars) or specific tags they have assigned.
Custom Criteria: Allow users to define custom filters to fit their specific workflow requirements.

Rating and Tagging System:

Users can rate each photo on a scale from 1 to 5 stars, helping to sort and prioritize images.
Allow users to assign tags to photos, enabling easy categorization and quick searching.

Approval and Sorting Workflow:

Approval Status: Allow users to mark photos as "accepted," "rejected," or other custom status labels.
Sorting Options: Provide options to sort photos by rating, approval status, date, or custom criteria.

Acceptance Criteria

[ ] #59
[ ] Users can rate and tag photos for easy organization.
[ ] Users can mark photos with approval statuses to streamline their workflow.
[ ] Sorting options allow users to arrange photos based on various attributes.

Technical Notes

Performance: Ensure that the filtering engine can handle large photo libraries efficiently without significant lag.
User Interface: Design an intuitive interface that allows users to easily apply and modify filters, ratings, and approval statuses.
Scalability: Ensure that the system can scale as the user's photo library grows, maintaining quick response times for filtering and sorting actions.

Task selected
I would initialized an new project .NET Class Library which will carry on all these features & mechanisms


how to show QRCode in image

i am getting this in uri response file:///data/data/com.qrcode/cache/ad58bfa6-994b-48df-9b9a-c6b79d3ef498.png
how can i show with this uri in image i did {{uri:file:///data/data/com.qrcode/cache/ad58bfa6-994b-48df-9b9a-c6b79d3ef498.png}}
but nothing happend

@zainbinfurqan Hey, what is your device model and OS version?

It works fine on iOS 13 but may fail on iOS 14 due to this issue
Can you confirm that other local images are rendering properly?


Help Required in custom component

Hi all,
I was trying to make a custom component to select weekdays. But i am unable to find what to be send in valuechange and value of custom component. Attaching the custom component.
custom-check-box.zip

It is working if you put this custom component twice or three time in a single form.?


Mapped types

TODO:

[ ] infer mapped types
[ ] test utility types like Pick<T, K>

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (81bda9b) 76.95% compared to head (b2a4d3c) 76.98%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

src/Escalier.Parser/Parser.fs
86.48%
5 Missing :warning:

src/Escalier.Data/Library.fs
50.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   76.95%   76.98%   +0.03%
==========================================
  Files          16       16
  Lines        4304     4341      +37
  Branches      519      524       +5
==========================================
+ Hits         3312     3342      +30
- Misses        992      999       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use millisecond time resolution for lingering tasks

Closes #299.

@shamsimam - I updated an existing unit test to also test the sub-minute resolution.

That's a... feature? Good find!
On Wed, Nov 8, 2017, 4:09 PM Nick Vrvilo<EMAIL_ADDRESS>wrote:

@DaoWen commented on this pull request.
In scheduler/src/cook/mesos/scheduler.clj
https://github.com/twosigma/Cook/pull/519#discussion_r149797291:

@@ -1052,30 +1051,36 @@
(reconcile-jobs conn)
(reconcile-tasks (db conn) driver framework-id fenzo)))))

+;; Unfortunately, clj-time.core/millis only accepts ints, not longs.
+;; The Period class has a constructor that accepts "long milliseconds",
+;; but since that isn't exposed through the clj-time API, we have to call it directly.
+(defn millis->period
@wyegelwel https://github.com/wyegelwel - Found the problem! I didn't
realize that Clojure was dynamically coercing my longs to ints...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twosigma/Cook/pull/519#pullrequestreview-75249939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZnHTR-2DZ13RwTGmHKnD0_zTJb39oQks5s0hiQgaJpZM4QL6c2
.

@shamsimam - I feel good about merging this now that I've added the extra unit test scenarios with a max-runtime duration exceeding Integer/MAX_VALUE milliseconds.

@shamsimam - Feedback addressed.


[1548] v6.1.0 changelog

Resolves #1548, has already been reviewed by @esoterik so we'll be merging this following squash / rebase.

Squashed and rebased, just waiting for a green build to merge.


How to use with Kotlin?

How to use with Kotlin?

Kotlin is not supported yet.
Sent from a mobile device
On Wed 2 May, 2018, 12:26 PM Sumit Chakole<EMAIL_ADDRESS>wrote:

How to use with Kotlin?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ragunathjawahar/android-saripaar/issues/215, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABFs0rLvg_eeXvuNFUifKTKWXbxA9_k_ks5tuVifgaJpZM4Tu8d1
.

Have you added Kotlin support?

@TanyaArora I haven't, PRs are welcome :)


GTA vice City crash when WindowModeBorder enable

GTA vice City crash when WindowModeBorder enable
This issue only happened in newest (2023) release
A version of 2021 is not having these issue
The exact commit where issue was introduced 👉 https://github.com/elishacloud/dxwrapper/commit/e7a37a6fee2c9dbfbb1cbaa8b43c6c43895fe887
For testing purpuse, I make a zip file to extract clean GTA-VC (asuming game version 1.0 & no-cd exe is installed) 👉 for_testing_only-WindowModeBorder-issue.zip
.
.
see
https://github.com/user-attachments/assets/1be6bad8-8cba-43b3-94b8-901bdf8008de

Ok, here is the latest build with that change reverted.  Let me know if this works:  dxwrapper.zip

Ok, here is the latest build with that change reverted. Let me know if this works: dxwrapper.zip

yes! it is working.....

I reverted that commit as it did not do what I wanted anyways and it caused this issue.  The latest unreleased build should have this fix.  Thanks for reporting this.

Its now working....
also EnableWindowMode in GTA-San Andreas is also working now which is not working previously....
but one issue in GTA-San andreas, you can see extra black space in gtasa (which is not in DxWrapper 2021 version)

@elishacloud the issue which is described in the title is solved now...... So you can close this issue...
I will soon to create new issue of GTA- San Andreas with some other details

Closing issue.


workflows/codeowners: Dry mode for now

Apparently it started requesting reviews from code owners already because the DRY_MODE from the global env was overridden in the local job declaration: https://github.com/NixOS/nixpkgs/pull/347354#event-14570645380
The intention when introduced in https://github.com/NixOS/nixpkgs/pull/336261 was to still run it in full dry mode for now.
This change fixes the behavior, making sure it always runs in dry mode.

Add a :+1: reaction to pull requests you find important.

Merging this to avoid it triggering more review requests while figuring things out


Prompt users to open Readme on developer's request

📝 Provide a description of the new feature
There are currently themes and extensions that has this issue (eg. Dribbblish Dynamic) where the users are required to install the theme/extension locally or to take extra steps before installing, and that Marketplace installation doesn't work properly for them.
In order for theme/extension developers to not feel discouraged from publishing to Marketplace, I'd suggest making an additional field on the manifest format that requests Marketplace to open its Readme and read the requirements before installing (boolean value).
➕ Additional Information
Currently I can think of a few ways to do this:

For the specified theme/extension, replace the Install button on Cards to the GitHub icon, on click it would prompt the user with a modal which would open the Readme externally (on their browser etc.).

This means that users will have to install said theme/extension via the CLI.

We could also use the GitHub icon but open the Readme inside Marketplace itself, with a notification shown that tells the user to read the Readme beforehand and then they can install the theme/extension using the button inside the Readme page.

This means that users can still install said theme/extension via Marketplace, and the extension/theme devs can include whether it should be installed Marketplace or not.

@kyrie25 Rather than having it open up the entire readme, could we instead allow the extension/theme owners to open any .MD file in the repo to allow more room for customization

The general idea is that it prevents themes/extensions breaking from installing on Marketplace so yeah whichever works.

What doesn't work when installed via marketplace? Themes have the "include" array to bundle extensions in them.

What doesn't work when installed via marketplace? Themes have the "include" array to bundle extensions in them.

Stuff like Dribs Dynamic, Default not working properly since it requires libraries to be loaded early, themes/extensions that requires extra patching in config-xpui

Ah, right, didn't think of that. I think it's probably easier to support just having it open externally and make them install via cli. Otherwise you'll have people with weird hybrids


Apply PHP 8.2's SensitiveParameter attribute to Uri::withUserInfo()

Q
A

Documentation
no

Bugfix
no

BC Break
no

New Feature
yes

RFC
no

QA
maybe

Description
Technically the $password will end up in the URI anyway when stringifying it.
Adding the Attribute is simple though and absolves the reader from needing to
consider whether not having the attribute in this specific instance is safe or
not.

I've searched the codebase for “password“, “auth” and “secret” and this is the only place where the attribute makes sense.

Error: There must be exactly one space between parameter type hint and parameter $password.

That likely is a bug in PHP CodeSniffer?


Order template sides based on order

Description (what's changed?)
Go to the template library. It will reflect the state of the sides ordering in admin.

Task linked: CU-86ayg0qhr Send the Order field when creating and updating a template side and order the template sides in Ablo Demo and client dashboard.

Task linked: CU-86ayg0qhr Send the Order field when creating and updating a template side and order the template sides in Ablo Demo and client dashboard.


CLOUDP-59682: Enable security on C/OM

Proposed changes
Jira ticket: CLOUDP-59682
Checklist

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

@andreaangiolillo did a small change here so RFAL


Bingo Winner Array range issue

Sometimes the winner array random integer is out of range.
This is due to using LEN(bingoArry) are part of the Range for the random Int.
Need to look into how to fix this, as it means the Range is greater then the Entry Array and will error out if it selects the one number above the array length.

Issue fixed.
just subtracted 1 from the total length of the results Array.


Fix gh release section of workflow

Based on:
https://github.com/napari/napari/blob/406aa9c8b09802dd8dfc9ee3b26c5357c569277b/.github/workflows/make_release.yml#L48-L57

One day we will add CI testing on PRs, but today is not that day. 😜


VCV Rack: Create logo for use on plugin faces

I think probably just use the same logo as is used for the YouTube watermark ...

Nope. Going with the "engraved/embossed" plastic look (a la 1975 PDP-11s).


chore: release 0.15.8

:robot: I have created a release beep boop
@contract-case/case-connector: 0.7.5
0.7.5 (2024-05-16)
Features

Add case-boundary into the connector package (072222f)
Add internal config parameters to control whether verification is async or not (6882739)
Implement and expose contract verifier (ea460cd)

Bug Fixes

Correct typing issue with trigger handles (c7c4b47)
Ensure that response ID is present in the maintainer logs (bcda125)
Fix issue where the verification endpoint wasn't exposed (df36ba3)
Remove call to deprecated function, avoiding warning (6b7ea08)
Start the ContractCase server on a random port (4c5d431)
Use case-connector instead of case-boundary (ecc1c9a)

Dependencies

The following workspace dependencies were updated

dependencies

@contract-case/case-core bumped from 0.15.6 to 0.15.7
@contract-case/case-entities-internal bumped from 0.15.6 to 0.15.7

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0

@contract-case/cli: 0.1.13
0.1.13 (2024-05-16)
Bug Fixes

Bump version of case-boundary to v0.11.0 (834951b)
Use case-connector instead of case-boundary (ecc1c9a)

Dependencies

The following workspace dependencies were updated

dependencies

@contract-case/case-connector bumped from 0.7.4 to 0.7.5
@contract-case/case-core bumped from 0.15.6 to 0.15.7

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0

@contract-case/contract-case-jest: 0.11.7
0.11.7 (2024-05-16)
Features

Add internal config parameters to control whether verification is async or not (6882739)

Bug Fixes

Bump version of case-boundary to v0.11.0 (834951b)
Ensure tests can run even if there's no verfications (827ee89)
Use case-connector instead of case-boundary (ecc1c9a)

Dependencies

The following workspace dependencies were updated

dependencies

@contract-case/case-connector bumped from 0.7.4 to 0.7.5
@contract-case/case-entities-internal bumped from 0.15.6 to 0.15.7
@contract-case/case-example-mock-types bumped from 0.15.6 to 0.15.7
@contract-case/cli bumped from 0.1.12 to 0.1.13

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0

@contract-case/eslint-config-case-maintainer: 0.1.0
0.1.0 (2024-05-16)
⚠ BREAKING CHANGES

Update requirements for eslint to 8.56.0 and above

Miscellaneous Chores

Update requirements for eslint to 8.56.0 and above (72ff9e6)

0.15.8
0.15.8 (2024-05-16)
Features

Add case-boundary into the connector package (072222f)
Add internal config parameters to control whether verification is async or not (6882739)
Implement and expose contract verifier (ea460cd)

Bug Fixes

Prevent server waiting for keepalive timeout on http verification (7cebbf0)
Remove current-git-branch, allowing webpack to roll up the package (0078083)
Significantly improve trigger configuration error messages (c494726)
Start the ContractCase server on a random port (4c5d431)
Tidy up logging by demoting some noisy logs to deepMaintainerDebug from maintainerDebug (b9c5548)
Use case-connector instead of case-boundary (ecc1c9a)

@contract-case/case-core: 0.15.7
0.15.7 (2024-05-16)
Features

Add internal config parameters to control whether verification is async or not (6882739)

Bug Fixes

Prevent server waiting for keepalive timeout on http verification (7cebbf0)
Remove current-git-branch, allowing webpack to roll up the package (0078083)
Significantly improve trigger configuration error messages (c494726)
Tidy up logging by demoting some noisy logs to deepMaintainerDebug from maintainerDebug (b9c5548)

Dependencies

The following workspace dependencies were updated

dependencies

@contract-case/case-entities-internal bumped from 0.15.6 to 0.15.7

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0

@contract-case/case-entities-internal: 0.15.7
0.15.7 (2024-05-16)
Miscellaneous Chores

@contract-case/case-entities-internal: Synchronize ContractCase versions

Dependencies

The following workspace dependencies were updated

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0

@contract-case/case-example-mock-types: 0.15.7
0.15.7 (2024-05-16)
Miscellaneous Chores

@contract-case/case-example-mock-types: Synchronize ContractCase versions

Dependencies

The following workspace dependencies were updated

dependencies

@contract-case/case-entities-internal bumped from 0.15.6 to 0.15.7

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0
@contract-case/test-equivalence-matchers bumped from 0.15.6 to 0.15.7

peerDependencies

@contract-case/test-equivalence-matchers bumped from 0.15.6 to 0.15.7

@contract-case/test-equivalence-matchers: 0.15.7
0.15.7 (2024-05-16)
Miscellaneous Chores

@contract-case/test-equivalence-matchers: Synchronize ContractCase versions

Dependencies

The following workspace dependencies were updated

dependencies

@contract-case/case-entities-internal bumped from 0.15.6 to 0.15.7

devDependencies

@contract-case/eslint-config-case-maintainer bumped from 0.0.3 to 0.1.0

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/case-contract-testing/contract-case/releases/tag/v0.15.8 :sunflower:

:robot: Release is at https://github.com/case-contract-testing/contract-case/releases/tag/%40contract-case/case-entities-internal-v0.15.7 :sunflower:

:robot: Release is at https://github.com/case-contract-testing/contract-case/releases/tag/%40contract-case/test-equivalence-matchers-v0.15.7 :sunflower:

:robot: Release is at https://github.com/case-contract-testing/contract-case/releases/tag/%40contract-case/cli-v0.1.13 :sunflower:

:robot: Release is at https://github.com/case-contract-testing/contract-case/releases/tag/%40contract-case/contract-case-jest-v0.11.7 :sunflower:


Add docs

[ ] Fixes #17.

Changes proposed in this pull request:

Add Sphinx docs
Use Doctr to upload to gh-pages automatically

@Niemeyer-Research-Group/ChemKED

Codecov Report

Merging #43 into master will decrease coverage by 0.18%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
- Coverage   96.76%   96.57%   -0.19%
==========================================
  Files           5        5
  Lines         247      263      +16
  Branches       74       74
==========================================
+ Hits          239      254      +15
  Misses          4        4
- Partials        4        5       +1

Impacted Files
Coverage Δ

pyked/validation.py
92.24% <ø> (-0.87%)
:arrow_down:

pyked/chemked.py
100% <100%> (ø)
:arrow_up:

pyked/utils.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Could you explain the flip in extract_image_features

Hello. Thank you very much for releasing the scripts and sharing your great work. The performance of your work is very impressive.
As I tried to follow through the usage of your work,  I stumped upon the setting of flip in extract_image_features (Line 47 )...
Could you please help explain what is the function of flip in extract_image_features?  Is it flipping the left and right?   Also, it would be nice if you would explain how to assign this variable ?...

Hi @GabbySuwichaya,
First of all, thanks for your nice words and apologies for the lack of documentation in this function.
The function extract_image_features receives as an optional parameter a list of boolean values that indicates wether the image should be flipped or not before extracting features. This is a horizontal flip (left to right), and the length of this list should be equal to the number of images in the dataset.
This is used for data augmentation, not only at training time, but also at test time. For example, you can extract both representations per image (with and without flip) and average them, which in some cases might bring nice improvements. You could even add vertical flipping if that makes sense for your particular task.
Eventually, you can also replace line 71 with if flip: and then use flip as a flag to activate or deactivate flipping. In this case, if you want to activate data augmentation you would call this function twice with flip=False and flip=True and average the outputs.
I hope this answered your question.

@almazan  Thank you so much for the information. Yes, I can see the use of the flip mode now.


dublicate require statements

There are 2 identical statements providers = require(config.auth.providersConfigPath) in applyStrategies.js. First one before try block, and another one inside.
It looks like mistake for me. Second require will never catch error since it would be thrown on first one.

That looks like the correct assessment. I'll correct it.


Add DCO checks

Done!
FYI - This setting can be changed at https://github.com/organizations/SymbiFlow/settings/installations/76781

@mithro Great, thanks


Convert to v2 addon

Follows Porting an Addon to V2 guide

I was remembering the wrong PR. Let's do this!


Change logic for CrudModule form view index

Previously, the table row control inside the CrudModule form was based on the rowsPerPage attribute from useTable. However, when a filter was active and the table rows length changed, the row control still rendered the previous value. For example, if the rowsPerPage number was 10 but the table displayed only one row when filtered, the control displayed Row n/10.
To change this behavior and display the correct number of rows, the control number is now based on the length of the data array present on the useTable returned object.

Closin this PR as the solution was implemented on another one.


SciMLStyle format for short begin end block

@ChrisRackauckas could the rule that sends
rn = @reaction_network begin
     k/$V, A + B --> C
end k

to
rn = @reaction_network begin k / $V, A + B --> C end k

be changed to keep the former?

It could be, I don't know how to go about doing that. Ask in the JuliaFormatter issues?


⚠ Orpheus has degraded performance

In 197d5ab, Orpheus ($OPS) experienced degraded performance:

HTTP code: 200
Response time: 1155 ms

Resolved: Orpheus performance has improved in ba77ade.


error when trying emulating rules

is the structure changed for the rules?
NX   ENOENT: no such file or directory, scandir '/home/mostafa/Documents/Firebase-NX/apps/rules/src/controllers'

fixed


AttributeError:

def create_public_ip_address(network_client):
public_ip_addess_params = {
'location': LOCATION,
'public_ip_allocation_method': 'Dynamic'
}
creation_result = network_client.public_ip_addresses.create_or_update(
GROUP_NAME,
'myIPAddress',
public_ip_addess_params
)
return creation_result.result()

creation_result = network_client.public_ip_addresses.create_or_update(

AttributeError: 'PublicIPAddressesOperations' object has no attribute 'create_or_update'
i get this error when running the above function ?

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

ID: cef185ad-d91d-cfa2-e9f9-a2430a7cc37d
Version Independent ID: 2fc1caf2-65d5-2bfb-79e7-13d46a02b6e6
Content: Create and manage a Windows VM in Azure using Python - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/python.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

@L00092054
Thanks for your Question! We are currently investigating and will get back on this.

@L00092054 - Thanks for reaching out.
It looks like the article hasn't updated in few years.  so the product team is planning to archive it.
This is probably a better resource for Python: Azure VM Sample
Try this and let us know if it works. Thank you.

I hope that the issue is resolved for you. At this moment, since there are no updates for the doc, we will now proceed to close this thread.
If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


torch.cuda.OutOfMemoryError: CUDA out of memory When loading timm.create_model("resnet18_cifar10", pretrained=True)

Hi @edadaltocg  thanks for sharing the codes. How to inference of cifar10 test set via your pretrained models?
I'm trying to load and normally evaluate with resent18_cifar10. I have a VRAM 16 and Memory 64. No matter what eval batch size I use, eventually this throw an Out-of-Memory error!
import detectors
import timm

model = timm.create_model("resnet18_cifar10", pretrained=True)

But when I use timm from hf and even batch size 1024 it's not throwing memory error. Any thought?
import timm
m = timm.create_model('resnet18', pretrained=True, num_classes=10)

Thank you

Hi @DeepOceanDeep
Can you check the input image size and the input pre-processing function, please?
The first convolutional layer of the resnet18_cifar10 model has a smaller kernel size given the small size of Cifar images, (3,3) vs (7,7) of timm. So, if you input a larger size image, it is possible that the intermediate representations are larger than the available VRAM.

Thanks @edadaltocg  I'm using cifar10 and size 32
from torchvision.transforms import v2
def ld_cifar10():
    """Load training and test data."""
    train_transforms = v2.Compose(
        [v2.ToImage(),
         v2.ToDtype(torch.float32, scale=True),
         v2.Resize((32,32), antialias=True),
         v2.RandomCrop(32, padding=4),
         v2.RandomHorizontalFlip(),
         normalize
         ]
    )

    test_transforms = v2.Compose(
        [v2.ToImage(),
         v2.ToDtype(torch.float32, scale=True),
         normalize
         ]
    )
    train_dataset = torchvision.datasets.CIFAR10(
        root="C:/datasets/cifar10", train=True, transform=train_transforms, download=False
    )
    test_dataset = torchvision.datasets.CIFAR10(
        root="C:/datasets/cifar10", train=False, transform=test_transforms, download=False
    )
    train_loader = torch.utils.data.DataLoader(
        train_dataset, batch_size=128, shuffle=True, num_workers=2, drop_last=True
    )
    test_loader = torch.utils.data.DataLoader(
        test_dataset, batch_size=128, shuffle=False, num_workers=2, drop_last=True
    )
    return EasyDict(train=train_loader, test=test_loader)

It does not give Out-of-Memory right away. But after a couple of minutes, I can see that my Memory is running out, not the GPU memory.

@edadaltocg any thought on this? or possible way to use checkpoints?

The checkpoints are available at https://huggingface.co/edadaltocg/resnet18_cifar10.
FOr checkpoints on other models you can check the models section at https://huggingface.co/edadaltocg.

Thanks!

Could you also share the transform_test, please?

Thanks @edadaltocg  This is my transform
`
transform_test = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
])
testset = torchvision.datasets.CIFAR10(root='./data', train=False, download=True, transform=transform_test)
testloader = torch.utils.data.DataLoader(testset, batch_size=128, shuffle=False, num_workers=2)`

I used the following and it shows 94% now. Very interesting that a few floating point numbers changes the results this much! Thanks again & I'll make sure to cite the repo for the checkpoints used. 💯
transform_test = transforms.Compose([
    transforms.ToTensor(),
    transforms.Normalize(   mean=[0.491, 0.482, 0.446],
                            std=[0.247, 0.243, 0.261]),
])


Off Topics : Odoo 12

Hi,
I do not know how to contact you for a request, so I post my message here and am sorry.
With the services you offer (Let's Encrypt, Portainer, Nextcloud, Wordpress), I try to make Oddo 12 work by taking the examples of docker-compose.yml and .env but in the end it does not work.
Can you open a space for a solution for Odoo 12. https://hub.docker.com/_/odoo/
A very big thank you to you and sorry to the post that is not appropriate in section
Best regards

You can write to:
<EMAIL_ADDRESS>