Windows Support

I know that windows support isn't planned, but it actually works, besides a bug
Environment

Windows 10
Cmder

Report

Need to do a double stroke to send commands and write text.

To be clear with double stroke you mean you have to press the particular key twice in order to send a command?

yes,  sorry for late response.

Seems to work correctly using the Windows PowerShell.

I'm not noticing the double stroke bug you mention. (using windows 10 and commander as well)

Works great for me on CMD and Powershell, latest Win 10

Could you please elaborate on your installation process on Windows?

@hoetz  how did you install it on Windows?

@radzio yep go get

@hoetz I ran go get -u github.com/erroneousboat/slack-term as stated in the installation guide but there was no output of any kind, even with administrative rights. Did it work for you on Windows 10?


Stream shader motion

Proposal Title
Stream shader motion
Context and Problem Statement
Want to stream shader motion to multiple people.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Create a membrane Pipeline app for ShaderMotion and multiple people
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

for each person send shader motion frames

If this enhancement will not be used often, can it be worked around with a few lines of script?
Not trivial
Positive Consequences
No response
Negative Consequences
No response
Is there a reason why this should be core and done by us?
I can move this forward.
References

Membrane framework

Derivative License
Copyright (c) 2020-2021 V-Sekai contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

e2f2041b3a45d828f2ee354bbabd3ed36a24bbd1


Bit scientist patch 1

Looks good, but please update the PR description to contain meaningful description becase we generate release notes based on PR title

Closing as duplicate of https://github.com/Deci-AI/super-gradients/pull/1398


Unable to close channel with misconfiguration

Summary of Bug

Unable to close channel with misconfiguration.
I created IBC channel but the destination channel show as the channel-id I use for other IBC path (that one works well)
Not sure if it's error while creating this one.
Which results in transferring token failed.
I try closing channel following this doc:
https://hermes.informal.systems/advanced/troubleshooting/patch-gaia.html
https://hermes.informal.systems/documentation/commands/tx/channel-close.html
But still got error "user cannot close channel"
How can I close channel with misconfiguration.
Version

hermes 1.8.2
Steps to Reproduce

Acceptance Criteria

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Is this for a live chain or a development app you are building yourself?
The patch instructions above only work if you running your own devnet, but not for a testnet or livenet.

I see, it's our live chain on mainnet which create IBC path with Hermes.
If it's on mainnet, is there anyway to close the channels we created.
By the way, I think there's something error when I try to create channels.
The working path:
Our chain <> Chain A
channel-0 <> channel-xxx
Our chain <> Chain B
channel-1 <> channel-yyy
Then there's a trouble path comes up like
Our chain <> Chain B
channel-0 <> channel-zzz
So the token sent through channel-zzz got stucked as the destination channel is channel-0, which actually belong to Chain A path.


[SPARKTA-421][WEB]:Show a modal when user clicks to create a policy

Show a modal when user clicks to create a policy in order to configure basic and advanced info

LGTM


Custom HUD Element Not Displaying in Lanthanum

I am attempting to add a custom HUD element to my Fabric mod, but it is not displaying in-game. It's supposed to appear at the screen, but currently, nothing shows up.
To Reproduce
Steps to reproduce the behavior:

Launch the game
Enter a world
The HUD is expected to display, but it does not appear.The HUD should display a bottle bar at the screen.

Environment
Minecraft version: 1.19.4
Fabric Loader version: 0.14.24
Fabric API version: 0.87.1
OS: (MacOS Sonoma14.0)

@DavidPisces come on


Submit form changes in textarea from Sublime

I am wondering, is it possible to submit form via Sublime?
Use case
If I am having opened code from textarea via GhostText in Sublime, and I edited something.
Now I want to submit these changes to original textarea which is inside .
So I hit some shortcut and these data will be submited via form action.
Solutions

Extracting  action url and then send it from Sublime (which should be possible. I saw some httprequest addon for Sublime).
Sending action to Chrome from Sublime. And this action will submit this form inside Chrome.

Refreshing data from textarea, after submiting form (in case, when you send form and page will redirect back to original with same textarea, but new data inside).
Is this idea possible for impelmenting?

This feature has already been discussed here #44


Upgrade causing stack overflow error

I have upgraded from v1.0.7 to v1.0.9 and am now getting these build failures when building using eas. I believe it is an issue with v1.0.8 but I am not sure.
/home/expo/workingdir/build/node_modules/react-native-screenshot-prevent/android/src/main/java/com/killserver/screenshotprev/RNScreenshotPreventModule.java:28: error: cannot find symbol
      final Activity activity = this.reactContext.getCurrentActivity();
            ^
  symbol:   class Activity
  location: class RNScreenshotPreventModule

Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

thx. upload fix to npm in version 1.0.10. pls - check

Still get an error after upgrading to 1.0.10 @killserver

Still get an error after upgrading to 1.0.10 @killserver

thx. fix this bug in 1.0.11 version. pls - try

Thankyou @killserver
Android build has succeded, Im testing on android and IOS. I will update to you soon.


Support password encrypted Token for github/gitlab/...

The fw import feature supports API imports. Currently the token is plain text. It would be nice to support password encrypted tokens and prompt the user when the import feature is actually needed.

Alternatively there's really no need (that I see) to have the token persisted in the configuration. Why not just request it as password input when necessary/on-demand?
If you're getting a password from your password manager when you need the feature, you might as well just get the token out of it and done.


Using dill to pickle a momba object

We've been trying to pickle momba objects using dill, and we're getting the following error:
ValueError: ('/', <function  at 0x000002C6602D1F30>) is not a valid ArithmeticBinaryOperator
We're just wondering if you have successfully pickled momba objects, and if you have any pointers.

I did just try to pickle a Momba object – there is some problem with the way the enums for the operators are defined. I suspect this to be caused by the use of lambda functions. However, the error message is different than the one you got. Could you provide a minimal example for reproducing the error such that I can further investigate it?

Apologies for the delayed reply; I was trying to track down where the error was coming from.
When I run the following script:
from momba.model.expressions import ArithmeticBinary
from momba.model.operators import ArithmeticBinaryOperator
import dill as pickle

class VariableState:
    def __init__(self):
        self.probability = ArithmeticBinary(ArithmeticBinaryOperator.REAL_DIV, 1, 6)

var_state = VariableState()

with open("bug.txt", "wb") as writefile:
    writefile.write(pickle.dumps(var_state))

with open("bug.txt", "rb") as readfile:
    new_vars = pickle.load(readfile)

print(str(new_vars))

I get the following message back:
Traceback (most recent call last):
  File "---\bug.py", line 15, in <module>
    new_vars = pickle.load(readfile)
  File "---\Python\Python310\site-packages\dill\_dill.py", line 313, in load
    return Unpickler(file, ignore=ignore, **kwds).load()
  File "---\Python\Python310\site-packages\dill\_dill.py", line 525, in load
    obj = StockUnpickler.load(self)
  File "---\Python310\lib\enum.py", line 385, in __call__
    return cls.__new__(cls, value)
  File "---\Python310\lib\enum.py", line 710, in __new__
    raise ve_exc
ValueError: ('/', <function <lambda> at 0x000002A69E2CC3A0>) is not a valid ArithmeticBinaryOperator

The error comes when it tries to read the object back in (rather than writing it to the file), and it looks like it just can't process the ArithmeticBinaryOperator REAL_DIV. When I just dump the file as in the code below, I get no error.
from momba.model.expressions import ArithmeticBinary
from momba.model.operators import ArithmeticBinaryOperator
import dill as pickle

class VariableState:
    def __init__(self):
        self.probability = ArithmeticBinary(ArithmeticBinaryOperator.REAL_DIV, 1, 6)

var_state = VariableState()

with open("bug.txt", "wb") as writefile:
    writefile.write(pickle.dumps(var_state))

Thanks for the example.
Pickling should now work with the most recent Git version of Momba. Could you try to verify that everything works?
I will prepare a release in the next days.

It's working beautifully on my machine. Thank you!

The few days took longer than anticipated but the fix is now included in version 0.6.2. :)


Foxy CI should run on Foxy branch changes

Title is self explanatory :)

Merging this with faling CI as the changes gh action didn't seem to take effect


Unable to use drag and drop functionality inside of TransformWrapper

Describe the bug
I'm trying to use react-zoom-pan-pinch with react-dnd but items nested within the  are not responding to drag events. I've tried disabling panning to see if that helps but I am still unable to drag items. Items are responding to other mouse events such as mouseOver, click, mouseDown, mouseUp etc. I'm also seeing the canDrag() value from react-dnd for the draggable item returning as true. The native onDrag prop on elements within the  are also not triggering an event.
Expected behavior
I would like to be able to able to both zoom, pan and drag and drop items within the
Desktop (please complete the following information):

OS: MacOs
Browser: Chrome
Version: 3.4.3

I have a similar bug in Next.js, I cannot drag a image inside of TransformWrapper.
If I open developer tools everything works fine (zoom in, zoom out, drag).
Tried the same code in React app and there everything works properly. Any idea what can be a problem?

Here is Workaround if u want to use it with react-dnd:
1. declare a state variable which deactivates the TransformWrapper:
 const [transformWrapperDisabled, setTransformWrapperDisabled] = useState(false)
2. use the variable on the TransformWrapper component:
<TransformWrapper disabled={transformWrapperDisabled}>
3. use these event listener on the Draggable Element to enable and disable state:

onMouseDown -> which sets the state to true
onDragEnd -> which sets the state to false
onMouseUp -> which sets the state to false

For example, if this div is the root of your draggable component, it could look like this:

...

One more thing I had to struggle with:
If you use a CustomDragLayer for previewing the dragged component, you might encounter offset issues. This is because the TransformWrapper uses translate, which confines the DragLayer to the width and height of the TransformWrapper. This limitation does not apply to monitor.getInitialSourceClientOffset from the useDragLayer hook. Therefore, you can wrap the DragLayerComponent with a Portal component (I use mui/react). It likely also works with createPortal() from react-dom.


EF 3.1 not able to understand relationship that worked in 2.2

I have an existing AspNet Core application that I'm trying to upgrade from 2.2 to 3.1. The project can be found here. I have tried several things, all of them resulting in some error. It seems like it is unable to understand an existing relationship between the following two entities, specifically the User property and the EventSignups property:
public class EventSignup
{
    public Guid Id { get; set; }

    public Guid EventId { get; set; }

    public Event Event { get; set; }

    public string UserId { get; set; }

    public MemberUser User { get; set; }

    [Required]
    public DateTime SignedUpAt { get; set; }

    public DanceRole Role { get; set; }

    public string PartnerEmail { get; set; }

    public MemberUser Partner { get; set; }

    public int Priority { get; set; }

    public Status Status { get; set; }

    public string PaymentId { get; set; }

    [ForeignKey(nameof(PaymentId))]
    public Payment Payment { get; set; }

    public ICollection<EventSignupAuditEntry> AuditLog { get; set; } = new List<EventSignupAuditEntry>();

    public ICollection<Presence> Presence { get; set; } = new List<Presence>();

    public ICollection<QuestionAnswer> Answers { get; set; } = new List<QuestionAnswer>();
}

public class MemberUser : IdentityUser
{
    [PersonalData]
    public string FullName { get; set; }

    public ICollection<Payment> Payments { get; set; } = new List<Payment>();

    public ICollection<MemberUserRole> UserRoles { get; set; } = new List<MemberUserRole>();

    public ICollection<EventSignup> EventSignups { get; set; } = new List<EventSignup>();

    public bool ExemptFromTrainingFee { get; set; }

    public bool ExemptFromClassesFee { get; set; }
}

Steps to reproduce
Clone the project to a computer with DotNetCore 3.1 installed and start it up. It will try to run a query but get the following issue:
System.InvalidOperationException: 'Unable to determine the relationship represented by navigation property 'EventSignup.User' of type 'MemberUser'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.'

It should be using the UserId property as the foreign key, but no matter what I try to do it does not seem to use it, and any migration I attempt seems to add a new column, MemberUserId, instead.
I have tried to call dotnet ef migrations add UpgradeTo31 just to see if that sorts out the problem, but it does not. It now adds a new column to the database table called MemberUserId and it tries to use this column as the foreign key, which will mess up all the existing data already stored in the database.
Further technical details
EF Core version: 3.1
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework:NET Core 3.1
Operating system: Windows 10
IDE: Visual Studio 2019 16.4

I managed to reproduce the problem in a much smaller codebase, which you can find here: https://github.com/mariusGundersen/EntityFrameworkUpgradeProblem
How to reproduce:

Clone the project above
Run dotnet ef migrations add UpgradeTo31

The error returned is this:
Unable to determine the relationship represented by navigation property 'EventSignup.User' of type 'MemberUser'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

Now, I might try to do what the error tells me to do, and add the following to OnModelCreating:
                signup
                    .HasOne(s => s.User)
                    .WithMany()
                    .HasForeignKey(s => s.UserId)
                    .HasPrincipalKey(s => s.Id)
                    .IsRequired(false);

Unfortunately this results in the following migration file, where a new foreign key is added:

    public partial class UpgradeTo31 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "MemberUserId",
                table: "EventSignups",
                nullable: true);

            migrationBuilder.CreateIndex(
                name: "IX_EventSignups_MemberUserId",
                table: "EventSignups",
                column: "MemberUserId");

            migrationBuilder.AddForeignKey(
                name: "FK_EventSignups_MemberUsers_MemberUserId",
                table: "EventSignups",
                column: "MemberUserId",
                principalTable: "MemberUsers",
                principalColumn: "Id",
                onDelete: ReferentialAction.Restrict);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropForeignKey(
                name: "FK_EventSignups_MemberUsers_MemberUserId",
                table: "EventSignups");

            migrationBuilder.DropIndex(
                name: "IX_EventSignups_MemberUserId",
                table: "EventSignups");

            migrationBuilder.DropColumn(
                name: "MemberUserId",
                table: "EventSignups");
        }

This is wrong since it there is already a foreign key using the column UserId, so this extra foreign key is not necessary.

@mariusGundersen I'm not sure why this relationship isn't being picked up by convention--I will discuss with the team. However, picking this up by convention would also result in mapping EventSignups as the inverse navigation. This means the equivalent explicit configuration is something like:
signup
    .HasOne(s => s.User)
    .WithMany(e => e.EventSignups)
    .HasForeignKey(s => s.UserId)
    .HasPrincipalKey(s => s.Id)
    .IsRequired(false);

If EventSignups is not mapped in this relationship, as is the case with your mapping above, then EF creates a new relationship for this navigation property, which results in the additional FK.


CUDA 10

@yangxue0827 I have installed cuda 10.0 on my system,it works fine but  while training it shows no CUDA-capable device is detected and runs on cpu

In train.py , i made this change os.environ["CUDA_VISIBLE_DEVICES"] = '0', then it works in GPU, But it tooks so much time to train

multi-gpu training is suppport, please refer here.
@vasanththangavel


Fix typo

Hi @elfotografo007,
Thanks for your contribution 🙏 .
If you can sign off your commit as described here https://github.com/vmware-tanzu/secrets-manager/pull/154#issuecomment-1670230597, I will happily approve it.
For more details, you can check the DCO agreement: https://cla.vmware.com/dco
Thanks again,
Best,
Volkan.


[Linux] Font rendering problem

Hi @eliasdaler!
Today I treid to setup Imgui and SFML on my linux machine (newest Manjaro Deepin) but an unexpected problem occured. The imgui font isn't rendering properly, I can see only some glitches, like on the screenshoot. I asked @ocornut about it but he only said that I should ask you.
Here's the screenshoot.

My main.cpp looks exactly like this one from the readme so the problem isn't probably there.
my cmakelists.txt file looks like this :
cmake_minimum_required(VERSION 3.7)
project(untitled)

set(CMAKE_CXX_STANDARD 14)

set(SOURCE_FILES main.cpp)

#detect and add all imgui files
file(GLOB imgui_src "imgui-master/*.*" )
file(GLOB imgui_sfml_src "imgui-master/imgui-sfml-master/*.*" )
file(GLOB fonts "imgui-master/extra_fonts/*.*")
#prepare executable
add_executable(untitled ${SOURCE_FILES} ${imgui_src} ${imgui_sfml_src} ${fonts})

# Detect and add SFML
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules" ${CMAKE_MODULE_PATH})
#Find any version 2.X of SFML
#See the FindSFML.cmake file for additional details and instructions
find_package(SFML REQUIRED network audio graphics window system)
if(SFML_FOUND)
    include_directories(${SFML_INCLUDE_DIR})
    target_link_libraries(untitled ${SFML_LIBRARIES} ${SFML_DEPENDENCIES})
endif()

# OpenGL
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
if (OPENGL_FOUND)
    target_link_libraries(untitled ${OPENGL_LIBRARIES})
    # or: target_link_libraries(${EXECUTABLE_NAME} ${OPENGL_gl_LIBRARY})
    target_link_libraries(untitled m)  # if you use maths.h
endif()

I also tried solutions mentionek in #23 , they didn't help too.
Thanks a lot for any help!

Hi. What SFML version are you using? The same problem was once fixed by one user when he updated SFML to latest version.
If you're using the latest version and the problem still exists, can you please show me minimal reproducing example? It will help a lot for tracking the bug.
And the last thing: try calling target.resetGLStates(); just before calling ImGui::Render(). This seems to solve 99% of errors and I'll add this call to ImGui-SFML soon.

It looks like adding this fixed the problem.

And my version of SFML is 2.4.2. Anyway, thanks a lot for help!

Haha, that call is really a solution to most problems. I'll create ImGui::SFML:: Render (sf:: RenderTarget&) function which will call resetGLstates soon.

Still having this issue. Did you mean resetting the window, or something else?
		window.clear(); 		window.draw(shape); 		window.resetGLStates(); 		ImGui::Render(); 		window.display();

Yeah. Does new example which uses ImGui::SFML::Render not work as well?

Same problem, unfortunately. White boxes.
Are there any objects/details you'd like me to provide?

What system are you using? Are you sure you're using the latest SFML version? Can you try and build OpenGL examples from ImGui and see if they run correctly?

Windows, x86 Release
It was downloaded within the last ~two weeks.
They're running just fine-- certainly no font issues, although the issue in this example only happens after pushing a font, which the examples don't do AFAIK.

Windows, x86 Release. It was downloaded within the last ~two weeks, so almost definitely.
OpenGL examples don't really interact with the font much, and seem to be fine.

But they display some text, so if it works, then there's nothing wrong with your graphics card drivers.
How does this line cause troubles? Did you try it and something worked? Because honestly it works fine for me and for a lot of people who used the binding, so it's pretty hard to track the problem...

I can provide code, but other than that, I'm not really sure what other diagnostics I have.
The program crashes without the GetTexData() function, I should probably add. The 'pixels' character has a hex value of 255, which could explain why the boxes are all white squares, if my understanding of what 'pixels' does is correct.
Any ideas?

Are you calling ImGui::SFML::Init? It's very important. I understand that using other fonts is not supported right now with ImGui-SFML, but does default example work?

Sorry for the late reply.
The default font works, yeah-- just using your own fonts seems to result in white-cubes of death/doom/disaster/any other negative adjective that begins with 'd'.
And yeah, we use the initialization function. Here, fullcode, if you want to give it a peek of your own. The odd thing is that I specifically remember font-loading to work perfectly well back on the Linux platform-- although I no longer have access to the old code that I used there, so I'm unable to provide whether this is a platform-specific issue or not.
Any more ideas, by chance?

Thanks for the minimal example, I see what I can do soon. :)

Thanks, Elias! Let me know what you find.

Thanks, Elias! Do let me know what you find; I've been squirming with this one for quite some time now.
Cheers!

Okay. I hope it's not urgent. I'm quite busy with the studying, but I might have some time to work on the problem today.

@MonkahTV check it out, looks good to me.

Solid. Cheers, Elias!

Glad it worked for you. :)


Mass minting page - adjust size

After opening mass minting, it looks like this on my Chrome browser:

Needs change:
I would suggest adjusting the size so the button "next". so you can see it all without scrolling down a bit.

related with
#6034

continue to

#7210


[HUDI-2215] Add rateLimiter when Flink writes to hudi.

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request

Add rateLimiter when Flink writes to hudi. It can write hudi more smoothly during the bootstrap phase.

Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run travis


[SPARK-31082][CORE] MapOutputTrackerMaster.getMapLocation should handle last mapIndex correctly

What changes were proposed in this pull request?

In getMapLocation, change the condition from ...endMapIndex < statuses.length to endMapIndex <= statuses.length.
Why are the changes needed?

endMapIndex is exclusive, we should include it when comparing to statuses.length. Otherwise, we can't get the location for last mapIndex.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Updated existed test.

ping @cloud-fan @JkSelf Please take a look, thanks!

Test build #119548 has started for PR 27850 at commit 989a693.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24280/
Test PASSed.

Test build #119548 has finished for PR 27850 at commit 989a693.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119548/
Test PASSed.

Good catch!  LGTM

thanks, merging to master/3.0!

thanks all!


Replace gulp-insert for gulp-footer

Bithound detected that gulp-insert is in gulp-blacklist, switched to gulp-footer as suggested.

Current coverage is 100% (diff: 100%)

Merging #7 into master will not change coverage

@@           master    #7   diff @@
===================================
  Files           1     1
  Lines          28    28
  Methods         6     6
  Messages        0     0
  Branches        7     7
===================================
  Hits           28    28
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update dd0886c...c91d10d


s3 Buckets BUCKET_OWNER_PREFERRED

Is your feature request related to a problem? Please describe.
The created s3 buckets are set to BUCKET_OWNER_PREFERRED which is not the default. I was wondering why that is.
Describe the feature you'd like
Setting the Object Ownership to BUCKET_OWNER_ENFORCED (which is the default).

Thank you for your interest in Landing Zone Accelerator (LZA) on AWS!
Do you see this with all LZA created buckets or some LZA buckets?
Which version of LZA do you currently observe this on?

@nagmesh We are using 1.6.1 . As you can see its set here:
https://github.com/awslabs/landing-zone-accelerator-on-aws/blob/acb6f296bf996993945a54ca2907badfd9ee2020/source/packages/%40aws-accelerator/constructs/lib/aws-s3/bucket.ts#L174
https://github.com/awslabs/landing-zone-accelerator-on-aws/blob/acb6f296bf996993945a54ca2907badfd9ee2020/source/packages/%40aws-accelerator/accelerator/lib/stacks/bootstrap-stack.ts#L544

Is there any update to this enhancement?? S3 buckets created by LZA should default to AWS S3 bucket settings following AWS best practices. AWS even mentions to disable ACLs and it doesn't seem like they're being leveraged within the solution but I could be wrong.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/ensure-object-ownership.html


Add Scaleway S3 provider

@tib S3 implementation in Scaleway mostly "standard", so s3cmd and other S3 CLI utilities works out of the box. As for PR, this code is working in my project right now:
app.fileStorages.use(.scalewayS3(credentialProvider: <credential>,
                                 region: .other("nl-ams"),
                                 bucket: "smartload-photos"), as: .scaleway)

Note. AWS regions come from Soto, so I haven't found a way to include Scaleway S3 regions in the enum. But that doesn't seem like a big problem.
s3cmd output:
~$ s3cmd ls s3://smartload-photos
2021-05-16 14:02       186127  s3://smartload-photos/1a7a26cb8d7542f99cfccd91247769da.png

Thank you for this amazing library!

P.S. DigitalOcean S3 implementation is on the way. :)

Sounds really good, I just merged the code, will create a new release later on today. Thanks again. :)


Skip telemetry when running in non-interactive shell

appcenter-cli blocked for telemetry permission when running in CI. I couldn't answer Y if I wanted to, so I think it should skip the prompt and assume no telemetry when running non-interactively.

running into this while trying to get CI setup -- any workarounds for the time being?

I found some tricks to make it work in a CI environment (CircleCI in my case).
To avoid the telemetry question, I snooped around in the code and found:
https://github.com/Microsoft/appcenter-cli/blob/48cbf64dc384e6dcc33b8d7ef19eee509f0923be/.travis.yml#L8
To avoid logging in, I used:
https://github.com/Microsoft/appcenter-cli/blob/29a0714752dd1d55fe34582974a3454e2e47074f/src/util/profile/environment-vars.ts#L4
Also note that Yarn global packages are not supported by default. I used the following to work around it:
echo 'export PATH=$(yarn global bin):$PATH' >> $BASH_ENV
source $BASH_ENV
yarn global add appcenter-cli

You should also be able to switch telemetry off with the following command:

appcenter telemetry off

This will save a .json file using the same mechanism as then you answer Y or N.
Looking in the code - if should already skip the question if you're not interactive:
  if (!terminal.isInteractive()) {
    return Promise.resolve(false);
  }

So I'm going to convert this to a Bug rather than a Feature Request :)

appears: --disable-telemetry is a thing

As export-mike said, passing the flag --disable-telemetry solves this issue. Alternatively, --quiet can be passed to enable telemetry but not ask any interactive question.


Setting the tracker exposure in Windows can randomly crash the PSMoveService

Pulling this out from issue #24, since this is still a problem:
There is a nasty multithreading related crash in PSMoveService when running in Windows I found when adjusting the exposure in in the tracker config tool.
It turns out that there is a bug in libusb's windows implementation of the transfer request queue that isn't multithreading safe. Specifically in windows_handle_events. It's getting a pointer to a transfer_priv out of the transfer request queue while the list is locked, but then reading from that pointer after the lock is release. That means if another thread comes along and writes another transfer request it could stomp the memory that that transfer occupies.
And in fact this happens when you set the exposure while the video stream is running. The video transfer thread is issuing bulk transfer requests when the main thread can come along and inject a control transfer request (i.e setting the exposure or some other camera property). We didn't notice this before in psmoveapi because we set the exposure and then start the video transfer.
We can fix this one of a few ways. I think the simplest thing to do though is just get the lastest version of libusb and see if this crash is fixed. It looks like windows_usb.c has been largely refactored in latest version (the filename is now windows_winusb.c). If we don't want to do that we could fork libusb and spot fix the issue too.

Any objection to pointing thirdparty/PS3EYEDriver to inspirit/master then closing this issue?

Nope, sounds good to me.


for...in doesn't handle identifier initializer

for (x in y) {}

Throws at
const variable = (statement.initializer as ts.VariableDeclarationList).declarations[0];

Expected Result:
for ____key in pairs(y) do
    x = ____key
end

Fixed in #711.


[MWPW-152181] Tabbing gets "stuck" after second instance of merch-card CTAs, within a segment blade

Allow the default tab action to proceed if the current focused element is from the last merch card.
Resolves: MWPW-152181
Test URLs:
Before: https://main--milo--adobecom.hlx.page/drafts/rosahu/rosahu
After: https://mwpw-152181-2--milo--rohitsahu.hlx.page/drafts/rosahu/rosahu

Hi @RosaHu /libs/features/mas/* are source files, you need to include also generated dependencies. pages are loading files from /deps/mas/*, so those should be updated and included in the PR
cd libs/features/mas
npm run build

should do the trick. I noticed that from /web-components 'npm run build' seems to not work properly, maybe you could fix that? but it's an optional request.

Done.
Also, "npm run build" work fine from web-components as well

Hi @rohitsahu I tried to test it on the prod page where the bug was reported and it seems to still not work with your changes, could you please take a look?
https://main--cc--adobecom.hlx.live/products/photoshop/free-trial-download?milolibs=mwpw-152181-2--milo--rohitsahu

I've validated the issue on the Milo pages using the fork branch, and the issue has been resolved. The pull requests have been updated with the 'Ready for Stage' label.
Jira Ticket: https://jira.corp.adobe.com/browse/MWPW-152181


Deprecation of python code and another step towards lua-based iron

This effectively deprecates the python code so it can be replaced by lua code.

Will fix tests later this week, then merge.


Adding a link to PowerBI Playground would be nice !

Hi everyone,
I was asking for help when a link to PowerBI Playground was sent to me by the Microsoft support
=> https://playground.powerbi.com/en-us/
This would certainly help to have a small word about this on this page.
Best Regards,
Julien

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

ID: 54016cab-2de5-0d30-2dfa-ee386dcfb881
Version Independent ID: 4e464b91-bc16-270d-cd51-9bfa396c0326
Content: Embed content in your Power BI embedded analytics application - Power BI
Content Source: powerbi-docs/developer/embedded/embed-sample-for-customers.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @mberdugo
Microsoft Alias: monaberdugo

Thanks for your suggestion, @JulienFJaji
I'll add a sentence about the playground in the "Developing your app" section.


Functional version

Resolve RN Android library to 0.65.1 following 4/11/22  Maven repo update that uses the conflicting 0.71.x
Updated ViroConstants to ViroTrackingStateConstants
npm uninstall eslint (there could be a less violent way of keeping it)

Should be fixed by #64 when it gets merged in. If you have an android phone, it would be greatly appreciated to help me with #64!

I've just merged in #64. Closing this one as a duplicate, but thank you for your work! 😄


Enhance functionality related to pgws and fips to be oblivious to specific cidr

A pgws/fips are network interface dependent, and are oblivious to the exact cidr of an external address.
Certain functionality, as AllowedConnectivity(src, dst Node) *common.ConnectionSet of RoutingResource requires two Nodes, which specifies specific cidr.
The relevant functionality needs to be enhanced to be oblivious to the exact cidr and be dependent only in the specific network interface and the same for all external addresses.
(see https://github.com/np-guard/vpc-network-config-analyzer/pull/320#discussion_r1456980112)

will be resolved by PR #372
Required update for explainability computation - avoid calling getContainingConfigNode  for the input nodes of getRoutingResource

opened small PR to update explainability code: https://github.com/np-guard/vpc-network-config-analyzer/pull/383


[Discussion] Azure Functions Runtime release 3.0.15277

Discussion issue for the Azure Functions runtime release 3.0.15277: https://github.com/Azure/azure-functions-host/releases/tag/v3.0.15277

Closing as duplicate.

Closing as duplicate.


Update Haskell Package Set

This PR is test-built by Hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll fix up the remaining errors and merge it on Friday, 2019-12-27 20:00 CET. You can watch this live on Twitch: https://www.twitch.tv/peti343. If you'd like to chat with me (and others) during the stream, you're welcome to use the Twitch chat or join the #haskell4nix voice conference.

I'll make another attempt to merge this code to master on Friday, 2019-12-27 20:00 CET. Last Friday, we couldn't do it because Hydra was down. Please join in at https://www.twitch.tv/peti343 if you'd like to take part.


As a Metric user I want opendata DB networking deb package to install correct dependencies

Currently xroad-metrics-networking package does not include required dependencies.
As it was mentioned in https://github.com/nordic-institute/X-Road-Metrics/pull/15 pull request package needs to depend on "r-cran-rodbc" and "odbc-postgresql", and the following dependencies should not be required anymore: "r-cran-rpostgresql" and "r-cran-dbi"

@VitaliStupin Thanks. Fixing it

This was fixed with v1.1.1.


Expose SelectTrackFX to ReaScripts

I needed this for my "Select track FX by name" script. While I ended up writing a simplified version of SelectTrackFX's logic in Lua, SWS's chunk parsing implementation is more robust and easier to reuse.

:white_check_mark: Build sws 243-master completed (commit https://github.com/reaper-oss/sws/commit/34fdb12764 by @cfillion)

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2019, ARCH=x64

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-cf_selecttrackfx-34fdb127.exe

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=armv7l

build/sws-<IP_ADDRESS>-Linux-armv7l-cf_selecttrackfx-34fdb127.tar.xz

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=aarch64

build/sws-<IP_ADDRESS>-Linux-aarch64-cf_selecttrackfx-34fdb127.tar.xz

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=x86_64

build/sws-<IP_ADDRESS>-Linux-x86_64-cf_selecttrackfx-34fdb127.tar.xz

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2019, ARCH=x86

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-cf_selecttrackfx-34fdb127.exe

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=i686

build/sws-<IP_ADDRESS>-Linux-i686-cf_selecttrackfx-34fdb127.tar.xz


Address OAuth token expiring every 7 days

This is happening because app is not published and is in testing mode.

Privacy policy
App name
Check required permission
Record video (???)

Could have a script that automates the UI

Solution 1: Publish the app

do not feel the need to, I don't intend to share this app publicly using my personal Google account
Solution 2: Use service account
do not want to, I use everything on my personal account, changing to service account would be too much work
Solution 3: Automate the token refresh UI interaction
tinkered around with selenium, apparently Google OAuth2.0 flow detects UI automation.
No viable options as of 2023 May


Bump hg38 VEP version to 94

Hi @chapmanb, @matthdsm
The following line needs to be changed to ensembl: homo_sapiens_merged_vep_94_GRCh38, otherwise hg38 runs will fail when VEP annotations are enabled:
https://github.com/bcbio/bcbio-nextgen/blob/cf727ffa48937bd9d1063dfe320fdb6b304e5b8b/config/genomes/hg38-resources.yaml#L6
Thank you in advance!
In a somewhat related matter, any tips on how to have a local bcbio repo I can tweak, test, and then maybe submit a PR? Currently, any change I make to my local installation is thrown away on every bcbio upgrade. Is there a development guide I may have missed?
Thank you again!
-- Paulo

Paulo;
Thanks much for the fix on the VEP versions in resources.
For development, we suggest making a fork and installing into either a separate non-tool environment or directly into your test environment with bcbio_python setup.py install:
https://bcbio-nextgen.readthedocs.io/en/latest/contents/code.html#development-infrastructure
Since the changes are outside of the installation, this avoids overwriting your updates so you can apply them after an update.
Please let us know if we can improve the documentation or help with any development issues. Thanks again.

Thank you @chapmanb for accepting my PR, and for the pointer to the development docs, somehow I had totally missed that!
Cheers!


update nested property

I have a model looking like this:
import { Model } from '@vuex-orm/core';

export default class Text extends Model {
  static entity = 'texts';

  static fields() {
    return {
      id: this.increment(),
      text: this.string(''),
      style: this.attr({
         opacity: this.number(0),
         fontFamily: this.string(''),
         ....
      }),
    };
  }
}

Is there a way to update the nested style properties?
I tried something like:
export const setTextProperty = (id, value) => {
  Text.update({
    where: id,
    data: value,
  });
}

And then:
const value = { style: { opacity } };
setTextProperty(item.id, value);

What works, but deletes the rest of my nested properties, so i would have to retrieve and assign them all before and it also passes the whole object as payload. Is there a better and more elegant way? Thanks for your help!

@sinasita Hi! Thank you for the feedback! The easiest way to update the Object (or Array) is to define the data property at Update method as closure. You could update the Object like this!
Text.update({
  where: id,
  update (text) {
    text.opacity = 1
  }
})

Ok that helped me, thanks a lot! Anyway, there was a little mistake in in your proposal:
setTextProperty =  (id, property, value) => {
  Text.update({
    where: id,
    data(text) {
      text.style[property] = value;
    },
  });
};

I changed the update(text) for data(text)...
And i needed the property value to be flexible .
vuex-orm is great! thanks for all the effort!

Oh sorry for my typo! And thanks for the fix. IT'll help somebody else having same trouble ;)


fix typos

Explain your changes
Suppose there is a related issue with enough detail for a reviewer to understand your changes fully. In that case, you can omit an explanation and instead include either “Fixes #XX” or “Updates #XX” where “XX” is the issue number.
Checklist

[x] I have read the “Pull requests” section in the contributing guidelines.
[x] I agree to the terms within the code of conduct.

Thanks @farshad-nejati - unfortunately it seems the validator isn't passing on this one


Some small cleanups for enum macros

Switch TODO to trybuild per @dtolnay.
Use a more idiomatic syntax.
Rename the crate to be slightly more general.

:umbrella: The latest upstream changes (presumably 630bd498e77e39941ea933d13198d4e7a01043d3) made this pull request unmergeable. Please resolve the merge conflicts.

Closing this out as its been sitting here for a looong time. Feel free to re-open.


Cross browser check on release features

No ie 11
Yes edge, ff, chrome, safari

Browser support documented at https://docs.google.com/spreadsheets/d/1IOQddXa-Q0kYcJ76rhqvHd-8dKxrKQDVmRxXrKgcxBs/edit?usp=sharing.


drivers: sensor: adxl345: Update driver to use i2c_dt_spec

Simplify driver by using i2c_dt_spec for bus access.
Signed-off-by: Benjamin Björnsson<EMAIL_ADDRESS>

@carlescufi merge ping


Instance: USP Course; Diego Almeida-Silva

Cloud Computing Instance Flavor
g3.xl - GPU instance (32 CPUs, 125 GB RAM and A100 GPU)
Description
I am a postdoctoral fellow at the Miguel Lillo Museum of Natural Sciences (Tucumán, Argentina). I am currently enrolled in the SlicerMorph Short Course at the University of São Paulo.
ORCID
0000-0002-9186-4685
Email
U2FsdGVkX18GreVySaIhYtkSD3TzIsxQ8qCWnH9ry0Hgjq3W5kPIYbM1KVdS+Mcc
Confirm Email
U2FsdGVkX18GreVySaIhYtkSD3TzIsxQ8qCWnH9ry0Hgjq3W5kPIYbM1KVdS+Mcc
Instance Name
instance-127
The instance name is derived from the GitHub issue number using the template instance-NNN. The instance may also be located in the exosphere interface using this name.
Volume Name
My-Data-127
The volume name is derived from the GitHub issue number using the template My-Data-NNN. The volume may also be located in the exosphere interface using this name.

/create


Integration into an already running server

Hi i hope this is the place to post this I have an already running server I host with a friend through stardews integrated hosting however I'm heading away for about 2 weeks and I'd like to keep it up for her but most mods I've tried seem to not work unfortunately I'm wondering if maybe there's a way to integrate this onto my already running server if it's possible or if this is only usable for new servers any guidance is appreciated

I think that should work just fine, but you should backup your save first to be safe.
Here are the steps: Install SMAPI (if you haven't already). Download the latest build of the mod (the zip file at the top level of this repository) and extract the folder from inside it. Drop that folder into your SMAPI Mods folder. I just updated the build to match the latest source code, so it should be good to go. When you run the game with the mod installed for the first time, it'll generate a new farm called "Stardew" by default. After that, close the game, navigate to the mod folder, and edit the config file. Change the name of the farm specified in the config file to the name of your farm (along with other configuration details). The name must be exact (case sensitive, punctuation sensitive, etc). Next time you run the game, it should open your farm.
Your character (the host) will become automated, doing very little besides what's absolutely required for progression. There may still be some missing features regarding story progression (this mod is still not well tested), so your friend might not be able to progress in the storyline, depending on how far along your farm is.
Let me know if you run into any issues in this process.

Oh, and one issue that I hadn't considered is the crop saver. It only works on newly planted crops. Any preexisting crops at installation time will not be recognized as player-planted, so it won't affect them. In addition, when you want to uninstall the mod later, it won't be able to "undo" all of its effects on the saved crops. Of course, once those crops are harvested, it should be a non-issue.


WIP: added colors option to grow_labels

Closes #8517
What does this implement/fix?
Added colors option to mne.grow_label() to avoid error message for large number of seeds.
Additional information

can you update a test?

LGTM -- can you update latest.inc and remove WIP from the title if you're happy and we'll merge? Thanks @olafhauk

Thx @olafhauk !


FRQ 3 Review Ticket

FRQ 3 Review Ticket
Grade
2.8/3
FRQ

[x] College Board 2019 FRQ 3

Hacks

[x] Calculator.java

[x] CalculatorApiController.java

[x] Finish rpnToResult for Calculator

[x] Add unbalanced parenthesis check and in original FRQ, or other error checks.

Graded by Bailey Say and Andrew Meng: 2.8


Value error in loading the dataset

Hi,
Thank you for a great paper. I am trying to run GEARS on the scRNA dataset below, and I am getting the following error message.
Link: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE217066https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE217066.
Colab Notebook: https://colab.research.google.com/drive/1dABqk0goiz0rfj6etrOJK-zXfBn
Error:

Hi, the colab notebook link doesn't seem to be working. From the image you shared it looks like maybe the control condition wasn't set correctly?

Closing because of lack of activity


Is there a plan to support IPV6 ?

Outbound some connection can send throng IPV6 address, via route rules.

Done
https://github.com/aleskxyz/reality-ezpz/pull/118


Add SwiftUIX

[x] Implement SearchBar (iOS only, tvOS is not supported)

Will wait for search page redesign.

Will wait for search page redesign.

There's bugs when put SearchBar in .navigationSearchBar.

There's bugs when put SearchBar in .navigationSearchBar.


[Bug] 502 & Url read failure

Checklist

[X] My issue was not mentioned by others, and it is not a duplicate issue.

Description
Hey! In Genshin I get 502 and after paste the URL new i get Warn that the parsing can't be done.
Reinstall, clear all data and caches, don't help
Reproduction Steps
Just Refresh
Expected Behavior
No response
Screenshots
No response
Starward Version
0.12.1
Windows Version
Newet
Log
[13:13:22.507] [INFO]
Welcome to Starward v0.12.1
System: Microsoft Windows NT 10.0.22631.0
Command Line: E:\Starward_Portable_0.10.4_x64\Starward_Portable_0.11.6_x64\Starward\app-0.12.1\Starward.dll

[13:13:22.737] [INFO] Starward.Services.DatabaseService
Database path is 'E:\Starward_Portable_0.10.4_x64\Starward_Portable_0.11.6_x64\Starward'

[13:13:22.999] [INFO] Starward.Services.DatabaseService
Database version is 9, target version is 9.

[13:13:23.121] [INFO] Starward.Pages.MainPage
Last game region is hk4e_global

[13:13:23.151] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hk4e_global

[13:13:23.765] [INFO] Starward.Pages.GameLauncherPage
Game install path of hk4e_global: "E:\Genshin Impact game"

[13:13:23.784] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hk4e_global is "4.8.0".

[13:13:24.725] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[13:13:25.262] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hk4e_global

[13:13:25.310] [INFO] Starward.Services.UpdateService
Current version: "0.12.1", latest version: "0.12.1", ignore version: null

[13:13:28.045] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[13:15:01.798] [INFO] Starward.Pages.Setting.AppearanceSettingPage
Language change to "de-DE"

[13:15:03.960] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hk4e_global

[13:15:06.627] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[13:15:33.737] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[13:17:37.710] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:11:06.942] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:11:23.697] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:11:24.548] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hk4e_global

[14:11:25.033] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hk4e_global

[14:11:25.086] [INFO] Starward.Pages.GameLauncherPage
Game install path of hk4e_global: "E:\Genshin Impact game"

[14:11:25.092] [INFO] Starward.Pages.GameLauncherPage
Game is running ("GenshinImpact", 9492)

[14:11:25.112] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hk4e_global is "4.8.0".

[14:11:41.929] [EROR] Starward.Pages.Setting.FileSettingPage
Delete folder '"C:\Users\wawie\AppData\Local\Starward\log"'
System.IO.IOException: The process cannot access the file 'Starward_240810_131322.log' because it is being used by another process.
   at System.IO.FileSystem.RemoveDirectoryRecursive(String, WIN32_FIND_DATA&, Boolean)
   at System.IO.FileSystem.RemoveDirectory(String, Boolean)
   at Starward.Pages.Setting.FileSettingPage.<>c__DisplayClass20_0.<DeleteFolderAsync>b__0() in D:\a\Starward\Starward\src\Starward\Pages\Setting\FileSettingPage.xaml.cs:line 368

[14:11:48.259] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hk4e_global

[14:11:50.369] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:12:45.250] [EROR] Starward.Pages.GachaLogPage
Input url
System.ArgumentException: Kann die Wunschlisten-Eintrag URL nicht analysieren.
   at Starward.Core.Gacha.Genshin.GenshinGachaClient.GetGachaUrlPrefix(String gachaUrl, String lang) in D:\a\Starward\Starward\src\Starward.Core\Gacha\Genshin\GenshinGachaClient.cs:line 61
   at Starward.Core.Gacha.GachaLogClient.GetUidByGachaUrlAsync(String gachaUrl) in D:\a\Starward\Starward\src\Starward.Core\Gacha\GachaLogClient.cs:line 91
   at Starward.Services.Gacha.GachaLogService.GetUidFromGachaLogUrl(String url) in D:\a\Starward\Starward\src\Starward\Services\Gacha\GachaLogService.cs:line 103
   at Starward.Pages.GachaLogPage.UpdateGachaLogInternalAsync(String url, Boolean all) in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 375
   at Starward.Pages.GachaLogPage.InputUrlAsync() in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 475

[14:17:28.129] [INFO] Starward.Pages.Setting.AppearanceSettingPage
Language change to "en-US"

[14:17:51.879] [EROR] Starward.Pages.Setting.FileSettingPage
Delete folder '"C:\Users\wawie\AppData\Local\Starward\log"'
System.IO.IOException: The process cannot access the file 'Starward_240810_131322.log' because it is being used by another process.
   at System.IO.FileSystem.RemoveDirectoryRecursive(String, WIN32_FIND_DATA&, Boolean)
   at System.IO.FileSystem.RemoveDirectory(String, Boolean)
   at Starward.Pages.Setting.FileSettingPage.<>c__DisplayClass20_0.<DeleteFolderAsync>b__0() in D:\a\Starward\Starward\src\Starward\Pages\Setting\FileSettingPage.xaml.cs:line 368

[14:17:54.239] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hk4e_global

[14:17:56.871] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:18:01.118] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:18:08.364] [WARN] Starward.Pages.GachaLogPage
Request mihoyo api error: "Something went wrong...please retry later (-502)"

[14:18:33.065] [EROR] Starward.Pages.GachaLogPage
Input url
System.ArgumentException: Cannot parse the wish record URL.
   at Starward.Core.Gacha.Genshin.GenshinGachaClient.GetGachaUrlPrefix(String gachaUrl, String lang) in D:\a\Starward\Starward\src\Starward.Core\Gacha\Genshin\GenshinGachaClient.cs:line 61
   at Starward.Core.Gacha.GachaLogClient.GetUidByGachaUrlAsync(String gachaUrl) in D:\a\Starward\Starward\src\Starward.Core\Gacha\GachaLogClient.cs:line 91
   at Starward.Services.Gacha.GachaLogService.GetUidFromGachaLogUrl(String url) in D:\a\Starward\Starward\src\Starward\Services\Gacha\GachaLogService.cs:line 103
   at Starward.Pages.GachaLogPage.UpdateGachaLogInternalAsync(String url, Boolean all) in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 375
   at Starward.Pages.GachaLogPage.InputUrlAsync() in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 475

[14:18:49.796] [EROR] Starward.Pages.GachaLogPage
Input url
System.ArgumentException: Cannot parse the wish record URL.
   at Starward.Core.Gacha.Genshin.GenshinGachaClient.GetGachaUrlPrefix(String gachaUrl, String lang) in D:\a\Starward\Starward\src\Starward.Core\Gacha\Genshin\GenshinGachaClient.cs:line 61
   at Starward.Core.Gacha.GachaLogClient.GetUidByGachaUrlAsync(String gachaUrl) in D:\a\Starward\Starward\src\Starward.Core\Gacha\GachaLogClient.cs:line 91
   at Starward.Services.Gacha.GachaLogService.GetUidFromGachaLogUrl(String url) in D:\a\Starward\Starward\src\Starward\Services\Gacha\GachaLogService.cs:line 103
   at Starward.Pages.GachaLogPage.UpdateGachaLogInternalAsync(String url, Boolean all) in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 375
   at Starward.Pages.GachaLogPage.InputUrlAsync() in D:\a\Starward\Starward\src\Starward\Pages\GachaLogPage.xaml.cs:line 475

Additional Context
No response

try preview vision


Managing JIT NSG rules

Editing a processed JIT NSG rule does not change the effect of the rule. The JIT policy in effect does not appear to change even if the rule is change, which would expected to avoid circumventing JIT policy. However, the JIT NSG rules can be edited and appear to provide different effective rules. A new JIT request with an updated policy is required to override/update the JIT NSG rule. Can this be explicitly clarified either here or in a FAQ to confirm? Additionally, would it be prudent to resource lock those NSG rules, if that is possible, or otherwise prevent tampering with the rule so users are not given the perception that they can edit the JIT NSG rules?

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

ID: 25f0758b-8274-d2b5-4702-2c7ca6b0b14a
Version Independent ID: d1215107-abf9-fefd-a63b-b20ec3f7f744
Content: Just-in-time virtual machine access in Azure Security Center
Content Source: articles/security-center/security-center-just-in-time.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@cogran, Thanks for the great feedback! We are taking a look into this and will get back to you soon.

@cogran Thanks for the valuable feedback. JIT is not continually monitoring the policies, it will be updated only after the time allowed in the JIT policy expires.
I am assigning this to the author to vlaidate this with the product team and consider adding this to the FAQ section.

@cogran thanks for this feedback.
There's a sentence in a note on this page that tells users that their new rule won't take effect: "If other rules had been created for the selected ports, then the existing rules take priority over the new “deny all inbound traffic” rules."
But you're right that the product needs to reflect this reality too.
@rotemlurie will investigate this further with the development team.

@cogran, thanks for the question.
You're asking for something that Azure Security Center doesn't do, and which would be counter to the wishes of most of our users and customers.
When you enable JIT from Azure Security Center, the NSG rule is created. But Security Center doesn’t continuously monitor that those rules remain present and unchanged. There are many legitimate reasons why a user might want to edit or delete their rules, and Security Center isn't checking for those changes. When you next request JIT access, Security Center will check for the necesary NSG rule; if it's not there, Security Center will recreate them.
I hope that answers your question.
#please-close


chore(doc): add immediateNextStage description

What type of PR is this?
/kind documentation

What this PR does / why we need it:
The immediateNextStage field of Stage should be documented.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
To explain the immediateNextStage field, I added a new separate chapter about "how kwok applies Stages".
Please feel free to give comments and suggestions.
Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

Text looks good.
It would be better if we can provide a diagram, such as flowchart, to describe the stage changes.
A diagram is worth a thousand words.

Yes, I originally wanted to draw a diagram as well. but I haven't figured out how  to use the  goat ASCII art tool. Will add it.

/ok-to-test

Hi @wzshiming / @windsonsea,
it's a little hard for me to edit an ASCII diagram... I'm curious how do you draw an ASCII diagram？ Did you use any auxiliary tool to generate the goat ASCII diagram? I found it hard to draw them directly in the editor especially in some cases, for example, if there are lots of texts in a decision diamond.
Do you have any tips? Or can we enable the mermaid shortcode? I just found it might be easier to draw a text-baed diagram..

You can try these free tools:

draw.io
inkscape
mermaid

This is partly using hugo's diagrams

This is partly using hugo's diagrams

Yes. But I found it hard to draw an ASCII diagram directly in a text editor especially in some cases, for example, if there are lots of texts in a decision diamond.
So I'm asking if we can enable the mermaid shortcode. it is also supported in Hugo and documented in the link you provided.

Oh, sorry I didn't look closely.
I remember using Mermaid in the beginning, but after getting feedback that I couldn't see the diagrams several times, which was caused by large js and browser rendering, resulting in a very slow initial display. so I switched to GoAT. #387 , I'm not sure the Mermaid display speed has improved now.
I think this PR does not need diagrams, It is enough.

Oh, sorry I didn't look closely.
I remember using Mermaid in the beginning, but after getting feedback that I couldn't see the diagrams several times, which was caused by large js and browser rendering, resulting in a very slow initial display. so I switched to GoAT. #387 , I'm not sure the Mermaid display speed has improved now.
I think this PR does not need diagrams, It is enough.

I will try it with goat.

added a goat ASCII diagram. Please feel free to give comments.

Good job. See preview.
Is it possible to include 1-2-3 text into the flowchart? Seems not very long.

Good job. See preview.
Is it possible to include 1-2-3 text into the flowchart? Seems not very long.

sure. Let me have a try. I have some experience in editing ASCII diagrams now.

If we put a long text in a diamond, it will look like this.
                      /\
                     /  \
                    /    \
                   /      \
                  /        \
                 /          \
                /            \
               /              \
              /                \
             /                  \
            /                    \
           /                      \
          /                        \
         + Is it a "Deleted" event? +
          \                        /
           \                      /
            \                    /
             \                  /
              \                /
               \              /
                \            /
                 \          /
                  \        /
                   \      /
                    \    /
                     \  /
                      \/

Can we relax the semantics of the diamond shape and use sth like this?
            ______________________
           /                      \
          /                        \
         + Is it a "Deleted" event? +
          \                        /
           \______________________/

Try a break:
Is it a <br />"Deleted" event?

         /\
        /  \
       /    \
      /      \
     /        \
    /          \
   /            \
  /              \
 /    Is it a     \
+ "Deleted" event? +
 \                /
  \              /
   \            /
    \          /
     \        /
      \      /
       \    /
        \  /
         \/

this looks better but still has a long height with just a few words in it. Is this acceptable?
Since there is  a more long decision description ("Does the associated object match a Stage?"), I think it is still hard to make the diamond smaller.
Can we shrink the sentences to:

Is it a "Deleted" event? -> a "Deleted" event?
Does the associated object match a Stage? -> the associated object matches a Stage? (not sure if this is acceptable)
Is it a "Delete Stage"? -> a "Delete Stage"?

/lgtm

/approve
/lgtm
/label tide/merge-method-squash


fix tests

nodejs12 is no longer supported and that bucket name is not available.

/terratest

/terratest

/terratest

@kevcube can you do follow up on the failing readme check ?
README.md is outdated. Please run the following commands locally and push the file:
  make init
  make readme


[Products] Related products

@asthabh23 Please confirm logic to identify related products, or will it be manually selected on each product?

@mkbansal1 , there are few options to do this, definitely won't be manually. I am still awaiting customer response around the product pages implementation. This would possibly be covered in kick-off meet. Till then let's hold this part.

Related Product will be implements by carousel block #20

Closing this card.


<EMAIL_ADDRESS>"Tor failed to start"

Hello.
After installing this version, Tor Browser throws an error:

I found that by removing this lines in the JSON manifest, inside the script tag, the problem is solved:
"# Persisting profile breaks Tor-Launcher and makes it fallback to config files in Tor folder: move them there",
"movedir \"$dir\\TorBrowser\\Data\\Tor\" \"$dir\\TorBrowser\\Tor\" | Out-Null",

I'm not quite sure if this lines are still necessary. So I don't want to create a new pull request without sharing this problem first.
Thank you.

#10039