Improper copy from qform to sform

What version of fMRIPrep are you using?
20.2.0rc0
What kind of installation are you using? Containers (Singularity, Docker), or "bare-metal"?
TACC run
Affects OpenNeuro datasets and subjects

ds000218

sub-19
sub-20

ds000219

sub-19
sub-22

Did fMRIPrep generate the visual report for this particular subject? If yes, could you share it?

Details
Loading the data, the qform and sform are:
>>> img.get_qform(coded=True)
(array([[ 2.63420976e+00, -9.11052607e-03, -1.15173248e+00,
         -2.11255005e+02],
        [-1.52448956e-01,  2.97076128e+00, -3.70258967e-01,
         -1.10488998e+02],
        [-1.14163184e+00, -4.17725290e-01, -2.60807315e+00,
         -4.00199013e+01],
        [ 0.00000000e+00,  0.00000000e+00,  0.00000000e+00,
          1.00000000e+00]]),
 1)

>>> img.get_sform(coded=True)
(array([[-2.99978995e+00, -8.73043016e-03,  3.27154994e-02,
          7.04147034e+01],
        [-4.26721014e-03,  2.84698009e+00,  4.00395006e-01,
         -1.08119003e+02],
        [ 3.50738987e-02, -4.00321007e-01,  2.84679008e+00,
         -1.00230003e+02],
        [ 0.00000000e+00,  0.00000000e+00,  0.00000000e+00,
          1.00000000e+00]]),
 1)
>>> nb.aff2axcodes(img.get_qform())
('R', 'A', 'I')
>>> nb.aff2axcodes(img.get_sform())
('L', 'A', 'S')

By the NIfTI standard, the sform should be preferred if its code is non-zero, and inspecting the image, the sform does in fact apply.

This edge case is triggered by the code:
            RZS = sform[:3, :3]
            zooms = np.sqrt(np.sum(RZS * RZS, axis=0))
            valid_sform = np.allclose(zooms, img.header.get_zooms()[:3])

In the above case, the sform zooms are:
[2.99999803, 2.87500066, 2.87499569]

The qform zooms (thus pixdim[1:4]):
[2.875, 3.   , 2.875]

So I think the issue is actually that the dataset has badly coded headers. At a minimum, then, we should be making a note that the sform was actually invalid.

Opened a discussion on https://github.com/NIFTI-Imaging/nifti_clib/issues/127.

No longer think this is critical, since the fix for this is a potentially nibabel modifying its get_zooms() algorithm. The interim resolution is to have the dataset curator fix the header to be consistent with the contents.


WIP - Move multiple behavior defs check to defineSymbols pass in namer

As a refactor, I'm moving the multiple behavior definitions check to the defineSymbols pass in the namer.
Motivation

This change is a necessary refactor to land a fix in the packaging logic which needs to keep track of behavior-defining classes.
Also, it simplifies behavior-defs logic as it no longer needs to merge maps from parallel workers.
Test plan

Existing automated tests, plus testing on Stripe codebase.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_N7IKAFwt8uJs5N
→ https://go/builds/bui_N7IKwv40BrHblj

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_N7IZjFbUkyoJWE
→ https://go/builds/bui_N7IZh2S9onKBbT

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_N7NlzfKeybgvXZ
→ https://go/builds/bui_N7Nl4KxNZwvNYZ

This looks reasonable to me. Have you tried seeing what sort of impact this has performance-wise on Stripe's codebase?

I have not, but I can do a 1-time comparison w.r.t runtime.

This looks reasonable to me. Have you tried seeing what sort of impact this has performance-wise on Stripe's codebase?

I have not, but I can do a 1-time comparison w.r.t runtime.

@froydnj  Namer comparison
BEFORE:

AFTER:

No significant change I think.


more acceptance test cases

Codecov Report

Merging #23 (3977aa0) into main (57b234d) will increase coverage by 0.69%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   91.56%   92.26%   +0.69%
==========================================
  Files          14       14
  Lines         320      336      +16
==========================================
+ Hits          293      310      +17
+ Misses         27       26       -1

Impacted Files
Coverage Δ

src/git_guardrails/errors.py
100.00% <100.00%> (ø)

src/git_guardrails/git_utils.py
100.00% <100.00%> (ø)

src/git_guardrails/validate/__init__.py
91.78% <100.00%> (+1.92%)
: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 57b234d...3977aa0. Read the comment docs.


[1.12] Crafttweaker causes The One Probe to not work on SMP

Issue Description:
With Crafttweaker2 loaded TOP dosent work.
What happens:
Nothing, the information meant to be displayed by TOP dosent show
What you expected to happen:
The information from TOP to show
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

Affected Versions (Do not use "latest"):

Minecraft: 1.12
Forge: *.2413
Crafttweaker:  4.0.0b2

Nothing in log file

Can't reproduce with CrT 4.0.1


Add color-scheme: dark

Adds a color-scheme to the site, making the scrollbar dark.
Before:

After:

nice and cozy

nice

Good catch!


CloakingDevice to spacedock

Closes https://github.com/KSP-CKAN/NetKAN/pull/3236

Merging with my thanks


iOS Flutter 2.8.1 got crash because of EXC_BAD_ACCESS KERN_INVALID_ADDRESS

Steps to Reproduce

66% of this crash happens when the app is in foreground.
The crash got reported to Firebase console.
I havn't found a way to reproduce it.

Expected results:
Actual results:

Code sample

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000000006a8

Crashed: com.apple.main-thread
0  Flutter                        0x3b8404 (missing)
1  Flutter                        0x3e464 (missing)
2  Flutter                        0x3c1f0 (missing)
3  Flutter                        0x3c67ac (missing)
4  Flutter                        0x3c6150 (missing)
5  Flutter                        0x12b2c (missing)
6  Flutter                        0xf1cc (missing)
7  CoreFoundation                 0x28cec __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
8  CoreFoundation                 0xbd5f4 ___CFXRegistrationPost_block_invoke + 48
9  CoreFoundation                 0x92bd4 _CFXRegistrationPost + 416
10 CoreFoundation                 0x3d7f4 _CFXNotificationPost + 696
11 Foundation                     0x194f8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
12 UIKitCore                      0xe96d60 -[UIApplication _terminateWithStatus:] + 296
13 UIKitCore                      0xe9e078 -[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:windowScene:] + 172
14 UIKitCore                      0xe9db64 __91-[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:]_block_invoke_2.2820 + 132
15 libdispatch.dylib              0x631a4 _dispatch_call_block_and_release + 24
16 libdispatch.dylib              0x641a8 _dispatch_client_callout + 16
17 libdispatch.dylib              0x105e0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 940
18 CoreFoundation                 0x4d888 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
19 CoreFoundation                 0xb188 __CFRunLoopRun + 2528
20 CoreFoundation                 0x1de1c CFRunLoopRunSpecific + 572
21 GraphicsServices               0x19a0 GSEventRunModal + 160
22 UIKitCore                      0x4ec600 -[UIApplication _run] + 1080
23 UIKitCore                      0x281b08 UIApplicationMain + 2028
24 Runner                         0x5e9c main + 10 (main.swift:10)
25 ???                            0x105d68250 (missing)

Logs

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000000006a8

Crashed: com.apple.main-thread
0  Flutter                        0x3b8404 (missing)
1  Flutter                        0x3e464 (missing)
2  Flutter                        0x3c1f0 (missing)
3  Flutter                        0x3c67ac (missing)
4  Flutter                        0x3c6150 (missing)
5  Flutter                        0x12b2c (missing)
6  Flutter                        0xf1cc (missing)
7  CoreFoundation                 0x28cec __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
8  CoreFoundation                 0xbd5f4 ___CFXRegistrationPost_block_invoke + 48
9  CoreFoundation                 0x92bd4 _CFXRegistrationPost + 416
10 CoreFoundation                 0x3d7f4 _CFXNotificationPost + 696
11 Foundation                     0x194f8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
12 UIKitCore                      0xe96d60 -[UIApplication _terminateWithStatus:] + 296
13 UIKitCore                      0xe9e078 -[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:windowScene:] + 172
14 UIKitCore                      0xe9db64 __91-[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:]_block_invoke_2.2820 + 132
15 libdispatch.dylib              0x631a4 _dispatch_call_block_and_release + 24
16 libdispatch.dylib              0x641a8 _dispatch_client_callout + 16
17 libdispatch.dylib              0x105e0 _dispatch_main_queue_callback_4CF$VARIANT$mp + 940
18 CoreFoundation                 0x4d888 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
19 CoreFoundation                 0xb188 __CFRunLoopRun + 2528
20 CoreFoundation                 0x1de1c CFRunLoopRunSpecific + 572
21 GraphicsServices               0x19a0 GSEventRunModal + 160
22 UIKitCore                      0x4ec600 -[UIApplication _run] + 1080
23 UIKitCore                      0x281b08 UIApplicationMain + 2028
24 Runner                         0x5e9c main + 10 (main.swift:10)
25 ???                            0x105d68250 (missing)

[✓] Flutter (Channel stable, 2.8.1, on macOS 11.6 20G165 darwin-arm, locale zh-Hans-CN)
    • Flutter version 2.8.1 at /Users/blake/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/blake/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = /Users/blake/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.63.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.71

• No issues found!

@flutter-symbolizer-bot #96854 (comment) flutter#v2.8.1 force ios release arm64

Hi @BlakeWuh, can we get a list of devices that are affected by this?

device list
iPhone 7 Plus
iPhone 7
iPhone 8 Plus
iPhone X
iPhone 6s
iPhone X
iPhone 7
iPhone 6s Plus
OS list
iOS 15, 14

@flutter-symbolizer-bot https://github.com/flutter/flutter/issues/96854#issue-1108046798 force flutter#v2.8.1 ios release arm64

The logs from https://github.com/flutter/flutter/issues/96854#issuecomment-1017160711 match the logs from https://github.com/flutter/flutter/issues/95844#issuecomment-1001897582, which has been fixed on master and should be available on beta sometime in the future.
There's a cherry-pick request for the fix into the current beta.
Closing as this has already been fixed.
Thank you


A related work recommendation

Dear authors,
Thanks for your great work! The method of LongVU is promising and the results are very strong.
Our work, LongVILA (https://www.arxiv.org/pdf/2408.10188), is a very related work in long video and language model understanding. It would be much appreciated if you could include this work for discussion in your revision. Thanks a lot!
Regards,
Yukang Chen

Hi Yukang,
We will update a version including this great work in next recent submission.
Xiaoqian

Great! Thanks.

@xiaoqian-shen Thank you for your excellent work. I would like to recommend two related studies that might interest you:

PLLaVA (https://arxiv.org/abs/2404.16994) - This paper explores the use of naive adaptive pooling techniques to enhance video understanding.

VideoLLaMB (https://arxiv.org/abs/2409.01071) - This work focuses on incorporating a recurrent memory mechanism to compress video history more effectively.

Hi Yukang, thx for your email, appreciated! , would suggest that you also
consider citing earlier work on long video understanding including for
example goldfish paper at ECCV24 among others. Perhaps check the related
work section in the paper.
On Fri, 25 Oct 2024 at 5:59 AM yukang @.***> wrote:

Great! Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/Vision-CAIR/LongVU/issues/1#issuecomment-2436709721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACO7NNAWQW74X4H463OOAOLZ5GXXPAVCNFSM6AAAAABQQB4IQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWG4YDSNZSGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Feature/grab mouse

Related to #394.
Adds sf::Window::setCursorGrabbed implementations for Linux, Windows and Mac OS X. Android and iOS devices have a «not applicable» implementation.
Requires testing on:

Linux
Windows
iOS (build check only)
Android (build check only)

Here are a few scenarios to be tested:

Grabbing the cursor works when the window has the focus.
When grabbed, the cursor should not be able to leave the window.
Closing the window should release the cursor.
When grabbed, the window should not be resizable by dragging one of its sides.
When switching to another app, the cursor should be released and re-grabbed when reactivating the SFML app.
If the cursor is outside the view when it is grabbed the cursor should be projected into the window (and thus generate a mouse in event).
The user should not be able to move fast the cursor and click outside the window to activate another application.
The user should not be able to use the window bar to move, minimize, maximize or close the window.

This code can be usefull for testing.
Regarding OS X:
The current impl is not bad but still an approximation of the feature (test n° 7 is somewhat supported and n° 8 is not supported at all) . It seems really hard to do it on Mac. Other libs (e.g. SDL) have even more bugs or undesired behaviour than this implementation. However, a lot of tricks are used which is not nice at all for future modifications of SFOpenGLView (among other things).
Commit d16d38e contains a more detailed explanation of the known issues (in commit message and comments in the code itself). I'm reluctant to include this commit in SFML codebase because it will considerably increase the complexity of the code and make it really hard to maintain.  Please let me know what you think.
An alternative for games that need grabbing would be to hide the cursor and use relative motion, preventing the cursor to actually move. This would involve much fewer corner cases in the implementations. Actually, SDL also provides this alternative.

Bump. :stuck_out_tongue:

I'm still interested in feedback regarding these two points from the description above (no need to actually read the code to have an opinion about it).
First:

The current impl is not bad but still an approximation of the feature (test n° 7 is somewhat supported and n° 8 is not supported at all) . It seems really hard to do it on Mac. Other libs (e.g. SDL) have even more bugs or undesired behaviour than this implementation. However, a lot of tricks are used which is not nice at all for future modifications of SFOpenGLView (among other things).
Commit d16d38e contains a more detailed explanation of the known issues (in commit message and comments in the code itself). I'm reluctant to include this commit in SFML codebase because it will considerably increase the complexity of the code and make it really hard to maintain.  Please let me know what you think.

Secondly (well that was not really a question but... opinions are welcomed):

An alternative for games that need grabbing would be to hide the cursor and use relative motion, preventing the cursor to actually move. This would involve much fewer corner cases in the implementations. Actually, SDL also provides this alternative.

Some build got stuck in "pending" state apparently. Can it be easily restarted? I'd rather not dig into github API to unstuck it if possible. :-)

Sorry, actually it doesn't matter since I'll have to rebase the branch someday so it'll run again...

Can it be easily restarted? I'd rather not dig into github API to unstuck it if possible

No and it has nothing to do with the GItHub API, unless you simply wanted to change the status.
Also don't worry about it. If it builds on all the other Windows setups it will most certainly also run on this. It aborted because of a broken build script.

The oldest pending pull request... It needs rebase. About the points mentioned by @mantognini:

Commit d16d38e contains a more detailed explanation of the known issues (in commit message and comments in the code itself). I'm reluctant to include this commit in SFML codebase because it will considerably increase the complexity of the code and make it really hard to maintain.  Please let me know what you think.

It's really difficult to tell as a non-OSX user how much this would affect usability. If you personally consider it not really important (or the workaround creates more problems than it solves), you can leave it out -- but maybe keep the code somewhere around, in case it gets relevant again.

An alternative for games that need grabbing would be to hide the cursor and use relative motion, preventing the cursor to actually move. This would involve much fewer corner cases in the implementations. Actually, SDL also provides this alternative.

I assume you mean a FPS-style view where the cursor remains always centered. What do you mean with "SDL provides this alternative"? This is a UI decision of the higher-level application logic, not something in the library API, is it? SFML should already enable this by making the cursor invisible and setting its position.

The oldest pending pull request... It needs rebase. About the points mentioned by @mantognini:

Commit d16d38e contains a more detailed explanation of the known issues (in commit message and comments in the code itself). I'm reluctant to include this commit in SFML codebase because it will considerably increase the complexity of the code and make it really hard to maintain.  Please let me know what you think.

It's really difficult to tell as a non-OSX user how much this would affect usability. If you personally consider it not really important (or the workaround creates more problems than it solves), you can leave it out -- but maybe keep the code somewhere around, in case it gets relevant again.

An alternative for games that need grabbing would be to hide the cursor and use relative motion, preventing the cursor to actually move. This would involve much fewer corner cases in the implementations. Actually, SDL also provides this alternative.

I assume you mean a FPS-style view where the cursor remains always centered. What do you mean with "SDL provides this alternative"? This is a UI decision of the higher-level application logic, not something in the library API, is it? SFML should already enable this by making the cursor invisible and setting its position.

I assume you mean a FPS-style view where the cursor remains always centered. What do you mean with "SDL provides this alternative"?

I'm not sure, but it sounds more like a third option. Where the mouse "stops" having an absolute position and all you get is the delta values.

I assume you mean a FPS-style view where the cursor remains always centered.

Yes

What do you mean with "SDL provides this alternative"? This is a UI decision of the higher-level application logic, not something in the library API, isn't it?

With SDL you can choose the behaviour you want through SDL_SetRelativeMouseMode which description reads as follows:

While the mouse is in relative mode, the cursor is hidden, and the driver will try to report continuous motion in the current window. Only relative motion events will be delivered, the mouse position will not change.

Actually, when I looked at this feature a while ago I thought I saw another function to clamp the cursor inside a window. Either I don't recall correctly or the function disappeared since then... Whichever is more likely, I let you judge. =P

SFML should already enable this by making the cursor invisible and setting its position.

Yes, but that's by far not as efficient as having a dedicated OS function; at least on OS X where setting the cursor position too frequently will significantly slow down things (again, if I remember correctly after those two years...)

Ah, so the "relative mouse mode" is actually something supported on OS level? Okay, I didn't know that. But I think we should keep the thread here about mouse grabbing and discuss relative mouse movement on the forum, as it would also come with new event types etc.
Or do you think we should not support grabbing at all?

In the end grabbing the mouse cursor is important, that's why I initially started this.
You'll need this functionality whenever you want to control something with cursor movement that is not a cursor (or to make edge movement easier).
If you want the camera to move based on mouse movement or when you want to do some action once the cursor hits the corner of the window (think classic RTS gameplay), there's hardly a way around capturing the cursor.

SFML should already enable this by making the cursor invisible and setting its position.

It's not that easy. Assume some lag between two times resetting the cursor (for whatever reason): If you manage to move the cursor outside and click, you'll lose window focus and things go south. While it sounds unlikely, it can happen. I've seen it happen to me in a few games with improper implementation.
Some programs even have options for that (e.g. most virtual machines offer something like "capture mouse cursor" or "seamless mode", which is essentially this).

Sorry for the latency between answers...

Or do you think we should not support grabbing at all?

Well, we only need one of the two (grabbing vs hidden+fixed+relative movement), and with the latter we can implement the former without much trouble (performance-wise but also algorithmic-wise as you only need min() & max() to implement it) while it seems the reciprocal is not that simple.
The other benefit, for me at least, is that the implementation for OS X would require a lot less hacking and workarounds.

I meant we can hide the system cursor, fix its position (say, to the center of the window) and using only relative motions, the user can display a sprite where the cursor should be. So we wouldn't use the system cursor per se, you're right about that. It's for sure slightly less convenient for the user to code the last part himself, but I'm guessing people are more interested in FPS-like cursor. (or am I wrong to assume that?)

Don't forget that mouse movement is independent from event handling. So it would still - in theory - be possible, to move the cursor outside the window and click between two updates, resulting in a fokus switch and the window no longer receiving events (at least on Windows; not sure how Mac OS X or X11 would handle that.

This cannot happen on OS X as the cursor is really fixed and clicks happen on the cursor position. Isn't it a thing like that on Windows? How can FPS implement reliably cursor handling then?
-----Original Message-----
From: "Mario Liebisch"<EMAIL_ADDRESS>Sent: 14.01.2016 11:32
To: "SFML/SFML"<EMAIL_ADDRESS>Cc: "Marco Antognini"<EMAIL_ADDRESS>Subject: Re: [SFML] Feature/grab mouse (#614)
Don't forget that mouse movement is independent from event handling. So it would still - in theory - be possible, to move the cursor outside the window and click between two updates, resulting in a fokus switch and the window no longer receiving events (at least on Windows; not sure how Mac OS X or X11 would handle that.
—
Reply to this email directly or view it on GitHub.

Updating the cursor position happen through messaging. So if I move the cursor and click before SFML can react to the mouse movement (and the window manager notices the position change request), the mouse click already happened (focus change).

So, if I understand correctly, the current PR is not perfect for Windows too?

This PR traps the mouse cursor inside the client area on window manager level (outside window messaging). It won't be able to be moved outside or generate window events outside, no matter how often SFML handles events.

Oh, okay. From your previous message I thought there were no "complementary" feature to the message passing thing.

So it seems like we need both for total flexibility? Since we almost have an implementation for mouse grabbing, let's continue with that now :wink:
Are there changes planned for Windows? Otherwise I could test it. About the OS X implementation, as I said, maybe we could go with the simpler one and think about the imperfect workaround when the need actually arises.

Think it should be fine for Windows.

Okay, so I'll update and review this branch in the coming days. I'll let you know when it makes sense to test it. ;-)

I've managed to rebase this branch and fix the conflict due to line ending. Quite a mess to solve to be honest.
I've also reworked the OS X implementation in a much better way -- there are still some rather fancy workarounds but at least it seems to work correctly. However, my work is based on #1042. This means that this PR (#614) should not be merged before #1042.
Also, regarding the Linux implementation: since the first implementation of this feature by @MarioLiebisch, we switched to XCB and therefore needs to be rewritten. I've kept most of the code (sometimes in the form of a comment when it was obviously not going to compile) so that the update should be, hopefully, rather easy.
If someone has time to fix it for Linux, you can send me a patch (ideally by posting it here).

If someone has time to fix it for Linux, you can send me a patch (ideally by posting it here).

Still calling for volunteer! :wink:

It would be really nice to have the "relative movement" feature. Many other frameworks provide this feature too. In GLFW you could use the glfwSetInputMode function:

GLFW_CURSOR_DISABLED hides and grabs the cursor, providing virtual and unlimited cursor movement. This is useful for implementing for example 3D camera controls.

Thanks for the great work so far :)

@Schilleey I agree with you. It was mentioned above I believe, but for now we should rather work out one feature since we still need an update for the Linux implementation. Speaking of which, do you by any chance know this XCB stuff? :-)

Speaking of which, do you by any chance know this XCB stuff? :-)

Sorry, I got no experience with XCB :(

Unix implementation is done.

This branch was rebased.

So are implementations for all three major platforms ready? Shall we commence with in-depth testing?
@mantognini Do you want to do a rebase (again)? :wink:

Rebased and ready for testing. 😉

Thanks! :smiley:

I just tested the code and ran into an issue (on Windows). If you grab the mouse cursor and then move the window, the locked rectangle won't move with the window, so you'll be trapped at the old location of the window. If you change the window position before grabbing the mouse, the locked rectangle will be placed correctly.
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window1(sf::VideoMode(800, 600), "SFML1");
    window1.setFramerateLimit(60);
    window1.setMouseCursorGrabbed(true);
    window1.setPosition({0, 300}); // Moving here

    while (window1.isOpen())
    {
        sf::Event event;
        while (window1.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window1.close();
        }

        window1.clear();
        window1.display();
    }
}

I guess one needs to update the locking area when moving the window.
Other than that it seems to work fine on Windows, even with multiple windows.

I guess one needs to update the locking area when moving the window.

Or prevent the window to be moved? I think that's what I did for Mac.

Seems a bit unintuitive to disable a "random" function.

This is obviously an oversight in the Windows implementation. Instead of undefining features so that we have less work to do implementing others, we should just fix the problem. :wink:

Well, the definition is this:

If set, grabs the mouse cursor inside this window's client area so it may no longer be moved outside its bounds.

So it does make sense to prevent dragging the title bar.

So it does make sense to prevent dragging the title bar.

You can't drag the title bar, but we still have window.setPosition() as shown in my code above. Should that suddenly stop working?

I should have read your piece of code... now I've to debug the OS X impl as well. Damned! :(

Alright... rebased and OS X impl fixed.

For Windows the fix might be as easy as to add two lines to the setPosition WindowImplWin32:
if(m_cursorGrabbed)
    grabCursor(true);

Looking through the code I noticed that nothing happens in fullscreen mode (on Windows), why is that? On my two monitor setup I can certainly move my mouse out of the window which for an FPS is not what I want. Does grabbing not work in fullscreen?

@MarioLiebisch wrote those lines in 89e0d5c458d9b8455816df263288438a8e515e22, so he should know best, but it looks to me like an optimization that doesn't take multiple monitors into account?

I added the suggested changes. Let me know how it goes.
Regarding fullscreen, I should probably test this on OS X as well but I don't have a monitor close-by...

Quickly testing it on Windows again and it seems to be enough to remove these two lines.

but I don't have a monitor close-by...

How can you live without a second monitor? :scream_cat:

Cool! I'll apply the patch next week.

How can you live without a second monitor? 🙀

I've got only a 15" and I don't mind it. Shocking, isn't it? :stuck_out_tongue_winking_eye:

Filthy casual :P

I've applied the patch suggested by @eXpl0it3r and rebased against master. Thankfully, OS X didn't need a patch for multi monitor support. :-)

I've updated the PR description to include a list of OSes that need to be tested as well as a list of scenarios to be examined. It would be great if someone different from the implemented could test those.

Tested on Linux. Works nice except that the mouse is not re-grabbed when the window gets back the focus.
Specs : Fedora 23 (x64), Gnome 3.18

Thanks for testing! 😃
I've updated the description (and I'll try to keep it up-to-date) with a list of defects to simplify bookkeeping.

Just a small precision : after having taken the focus back (and failed re-grabbing the mouse), the next call to setMouseGrabbed(true) is ignored.

More information : this bug only occurs when the window get the focus back while the mouse is outside the window area.

It seems that SDL avoids this problem by trying to grab the mouse until it succeeds (but this would cause the app to freeze if the grab is impossible).

I managed to fix this on my own Github fork of SFML. Can I send you a PR to add the commit to the official branch or should I send a patch instead ?

Great! You can create a PR and I'll manually integrate it on this branch so that other can test your fix. :-)

Done (#1107). :+1:

The proposed patch was included in this PR, so linux users feedback (on both the implementation and its effect) is welcome.

I just tested it again on Windows and all 11 points seem to work as expected, except for point 8, which I'm not certain how you meant it exactly.

The user should not be able to use the window bar to move, minimize, maximize or close the window.

Does that mean one should under no circumstances be able to move the window? On Windows I can't minimize, maximize or close the window via the window bar, but I can move the window, when I first "tab out" of the window and then move the cursor to the bar. Not sure how other OS handle this, but personally I think this may very well be left as OS-specific quirk (unless there's a clean "fix").
Additionally I've successfully tested another point, that being: When you change the mouse cursor programmatically, it shouldn't leave the grabbed area.
I added the following few lines to your code:
case sf::Keyboard::M:
	sf::Mouse::setPosition({-10,-10});
	break;

case sf::Keyboard::R:
	window.setSize({100, 100});
	break;

case sf::Keyboard::P:
	window.setPosition({0, 0});
	break;

Does that mean one should under no circumstances be able to move the window? On Windows I can't minimize, maximize or close the window via the window bar, but I can move the window, when I first "tab out" of the window and then move the cursor to the bar. Not sure how other OS handle this, but personally I think this may very well be left as OS-specific quirk (unless there's a clean "fix").

I think it should be the case only when the window has the focus (that's the way I understood it).

Yes, that's what I had in mind.

I can confirm that all points work well on Linux.

I assume you've tested it on OS X, @mantognini? Doubt we can find anyone for iOS, so should I add it to the merge list?

Yes, you can go ahead.

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.


my first commit

Closing Issue/Referencing Issue
issue reference (#)
Changes Made In Pull Request

solving problem of diagonal difference on hackerrank


Overview

Change Type
Correction
Proposed Changes
https://docs.cloudmydc.com/environment-management/environment-groups/overview

It is more explained in Issue #194 , #195. This is just a replication of these other two PR combine


typo: Double word "specifying"

@KevinAsgari : Is this in your content area? The PR change itself passes checklist review, but note that the topic has some other, general issues with metadata (ms.author) and miscoded headings. Fix along with this PR, or address independently? Please review and handle as appropriate. Thanks!

Not specifically my area, but this pr should not be blocked, as the existing issues are already present.


[CS2103T-T13-2] QuickCache

QuickCache helps university student to centralize all study content through storing as flashcards.

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #89   +/-   ##
=========================================
  Coverage     72.31%   72.31%
  Complexity      400      400
=========================================
  Files            70       70
  Lines          1228     1228
  Branches        124      124
=========================================
  Hits            888      888
  Misses          308      308
  Partials         32       32

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 6389d85...fc337e5. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b3e3b78). Click here to learn what that means.
The diff coverage is 57.83%.

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


Apparent Conflict with Homebrew for macOS - Unable to install/upgrade packages

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Using macOS Mojave (10.14.1) I am unable to install or upgrade packages within the atom editor or using apm when the Homebrew package manager is also installed.
Steps to Reproduce

Install macOS command line tools: xcode-select --install
Install Homebrew
Attempt to install/upgrade any package using atom editor or apm

Expected behavior:
Installation of package atom-ide-ui should be accomplished by:
~$ apm install atom-ide-ui
Installing atom-ide-ui to /Users/user/.atom/packages ✓

This is what occurs on Mojave without Homebrew installed.
Actual behavior:
~$ apm install atom-ide-ui
Installing atom-ide-ui to /Users/user/.atom/packages
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp http GET https://atom.io/download/electron/v2.0.9/iojs-v2.0.9.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: This is most likely not a problem with node-gyp or the package itself and
gyp ERR! stack is related to network connectivity.  System Darwin 18.2.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/bin/node-gyp.js" "install" "--runtime=electron" "--target=2.0.9" "--dist-url=https://atom.io/download/electron" "--arch=x64" "--ensure"
gyp ERR! cwd /Users/user/.atom
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

This is what occurs on Mojave with Homebrew installed.  Please note that the installation of macOS Command Line Tools without Homebrew does not cause this issue.
Reproduces how often:
On three separate Macs running Mojave, this has occurred on two with Homebrew installed and does not occur on the remaining Mac without.  The result is the same whether using the atom editor or apm.  The result is the same whether installing a new package or upgrading an existing.
Versions
~$ atom --version
Atom    : 1.32.2
Electron: 2.0.9
Chrome  : 61.0.3163.100
Node    : 8.9.3
~$ apm --version
apm  2.1.2
npm  6.2.0
node 8.9.3 x64
atom 1.32.2
python 2.7.10
git 2.9.3

System Version: macOS 10.14.1 (18B75)
Kernel Version: Darwin 18.2.0
Additional Information
One one of the Macs, I've attempted to install node-gyp but still get the same error message.
Many of the issue reports I've searched through indicate that that similar errors are caused by network connectivity.  All of the Macs I've tested on are on the same network and are correctly configured.
In case in matters, the list of installed brews:
~$ brew list
asciidoc        cvs             git             openssl         wget
bash-completion cvsps           htop            p7zip           yadm
bison           docbook         libevent        tmux

Also, I've deleted ~/.atom and experience the same result.

Thanks for the report - I don't have Mojave to test with (I have Homebrew installed on macOS 10.12.6 with no problem however) but it would be great to hear if others are seeing this behavior with the same combination.   Also just to clarify, when did this behavior start (e.g. after the upgrade to Mojave, after installing Homebrew, after updating Atom, etc.)?

Thank you for replying, and agreed that this is a strange behavior.  Since Homebrew installs into its own separate folders than the Darwin defaults, I'm surprised that it seems to be having an impact for me.
This behavior started on my iMac after installing Homebrew.  It was running the latest version of Mojave, Xcode-tools, and Atom without problem.  I hadn't used Atom in a while, but after installing Homebrew and upgrading Atom to the latest version, I started experiencing this behavior.
After getting a new MacBook, I installed Atom (and Xcode-tools) and was able to install/upgrade packages without problem.  Shortly after installing Homebrew, I experienced the same problem.
An older Mac Mini was running a previous version of Atom and wasn't experiencing this issue.  I dug into it further last night and found I had an older version of Homebrew installed as well.  When I upgraded both Homebrew and Atom, this problem manifested.
I've tried removing Homebrew, but that doesn't seem to correct the issue.  That indicates that Homebrew may not be the problem, but unfortunately I haven't been able to isolate it otherwise.
Also, I've tried reverting to prior version of Atom without successfully resolving the issue.
If I can get some time this weekend, I may do a fresh install of Mojave on one of the systems and identify the exact point at which this behavior starts occurring.

How embarrassing...
I figured out that Homebrew, at least, is not the root cause.  Its caused by unreachable hosts (at least from my network) likely caused by the Adblock tool running on my router.  I'm not sure why it only seems affect it when certain tools are installed, but this isn't a problem with Atom.
Thanks again for the great tool and quick response.  Sorry to have wasted your time.

Thanks for reporting back with the cause!


Add/edit information for SQL Server Trace Flags (1-10)

Add 3408, 3663, 8009
Edit 902, 4022, 8010, 2505, (2520,2588), 3604
2520 and 2588 were united

Great work, Alex, thanks. Very good commit description! Don't forget change trace flags count in document.


chore(segmented-button): make tap highlight transparent

Gonna update the title to chore since segmented button is still in labs. Chores won't show up on the changelog. That way folks don't think segmented button has been shipped

Ah great! I didn't know this keyword had a post influence, learning everyday!


CI: Drop test for direct invocation of setup.py

Direct invocations of setup.py are discouraged by everybody including setuptools developers. The contemporary equivalents of these are pip installing, so let's just test those.

Doctest failures seem unrelated. Pushing directly.


fix: after use lspstop command remove the lspconfig augroup of server

remove the lspconfig augroup after use LspStop command .  use LspStart  will register the lspconfig augroup.
Fix #2216

@ii14  do we want remove the augroup after LspStop?  if answer is yes please review.


Improve icon components

Overviews of implementation

Recreated icon components to make it more reusable.
Created new "icon" directory under the component directory, because it doesn't belong to "ui" directory.
Add note to share how to create new icon components

Review points

[ ] Each of icon components are reusable enough?
[ ] Was it right decision to create new "icon" directory under "components" directory, separated icons from "ui" directory?
[ ] Does the directory structure in "icon" directory make sense?

Screenshots or steps for operation check

Review points

Each of icon components are reusable enough?
Was it right decision to create new "icon" directory under "components" directory, separated icons from "ui" directory?
Does the directory structure in "icon" directory make sense?

I think these are all good for now.

The check by PR Workflow was failing because the type declaration for svgs are missing.
Reference : https://stackoverflow.com/questions/44717164/unable-to-import-svg-files-in-typescript
For now, I just implemented the type declaration file and configured it in tsconfig.json as this article introduced,
but if there's better way to do this, please let me know


GHC error when running from the commandline.

When running with the following command i get a GHC error.
 $ ./remote-debugger -i ../../../
{"info":"warning","message":"unknown argument: -i"}
{"info":"warning","message":"unknown argument: ../../../"}
remote-debugger: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-apple-darwin):
	Main module not specified

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

I'm getting the same error on Win7 with GHC 7.10.2 64-bit.

I tried use this with IntelliJ + Haskell Plugin but It's not working.
I also tried run remote-debugger alone in CLI, even without argument it print error below

$ ./remote-debugger
remote-debugger: panic! (the 'impossible' happened)
(GHC version 7.10.3 for x86_64-apple-darwin):
Main module not specified

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


Pass response to onSuccess callback

Support using customized responses as introduced in tus/tus-node-server#615

Indeed I wasn't cautious enough. What if the argument is only passed for post and patch requests' events? Or maybe like { requestType: 'PATCH'|'POST'|'HEAD', response: HttpResponse };
My goal is being able to access response data in Uppy's complete event using uppy.getFiles(). Unfortunately neither headers nor status code (actually the response object contains a status code, but the value is hard coded to 200) are returned using tus, so I know nothing but the upload url.

Have you tried the onAfterResponse callback? Did that not work for you? It should also be usable from Uppy.

It feels really hacky that I'd need to decide which response is a success response and store them in a custom state, then at the complete handler, make sure my state is actually in sync with uppy's state, find the appropriate response for each file, and make sure uppy processing haven't failed for the responses I assumed to be ok. Seems too complicated and prone to bugs while it could be solved by passing the response. Are you sure the object signature I presented is not suitable?

Are you sure the object signature I presented is not suitable?

No, I am not very sure and cannot guarantee that my opinion doesn't change :) I am trying to considering the bigger picture here and how we can improve the overall approach. The problem is that in tus, there is no standardized way of sending information from the server back to the client as tus focuses on uploads where the client sends data to the server. This has lead to the current situation where additional data from the server is added to PATCH responses for clients to retrieve. But this is not ideal because the information in these responses cannot be re-retrieved if the clients needs to fetch it again. So overall, I would like to have a more holistic approach for sending data from the server, which solves this problem in a proper way without shortcomings. Some discussion on this has happened in https://github.com/tus/tus-resumable-upload-protocol/issues/190.
Therefore, I would like to reserve a future argument for onSuccess to be whatever approach we come up with there instead of using it right now for the last response right now, which might not make sense in the future. Is that understandable?

I can understand that an extra round trip for fetching the Content-Location resource is not desired in your case. You will always have the ability to add custom headers to responses and retrieve them on the client side to implement custom logic.

Additionally, I'm not sure requerying some data about the uploaded file is not out of tus territory. The upload has been completed, why bother post-upload logic?

That's definitely a question worth asking and my opinioned in the past year has developed to be that tus implementations should assist you with postprocessing in some way as this makes file handling in applications more straightforward, robust and seamsless. Of course, that doesn't mean that we have to offer a full solution for postprocessing files. But these questions come up very often and I would prefer if we can offer some answer. Using them is then up to each person on their own.

Sorry for the late reply. I have modified the signature and added a test.

All done.


Eliminate azure stack specific tests.

@Juliehzl  add to S162.

Hi @troydai, can you provide infomation for your issue?

I fired this bug more than two years ago when I was on the CLI team. I have since then left the team and Microsoft. I don’t have much context now. If it is not a problem for the project now, I suggest you close this issue.

Thanks for your information. We already have tests targeting to different profiles and I will close this issue now. If you have any other problems, feel free to create a new issue. 😊


Verify and remove setting auto-committing false in executing batch update

Description:
$subject at [1]. Doing [1] and committing later seems unnecessary. We are not trying to perform a transaction and have only one execute statement. Whether the batch update is transactional or not is up to the driver and we have no control over it.
[1] https://github.com/ballerina-platform/ballerina-lang/blob/v0.971.0/stdlib/ballerina-database/src/main/java/org/ballerinalang/database/sql/actions/AbstractSQLAction.java#L262

This is done so that all the Batch statements execute in a single transaction and no operation in the batch is committed individually. This way, it is possible to rollback the batch operation in case one of the updates fail for any reason.
From the JDBC 4.1 spec [1] :
The auto-commit mode is disabled to prevent the driver from committing the transaction when Statement.executeBatch is called. Disabling auto-commit allows an application to decide whether or not to commit the transaction in the event that an error occurs and some of the commands in a batch cannot be processed successfully. For this reason, auto-commit should always be turned off when batch updates are done. The commit behavior of executeBatch is always implementation-defined when an error occurs and auto-commit is true.
[1] http://download.oracle.com/otn-pub/jcp/jdbc-4_1-mrel-spec/jdbc4.1-fr-spec.pdf


The latest version of release 2.0.1 actually has a tag of v, no version number.

The latest version of release 2.0.1 actually has a tag of v, no version number.
I think something is wrong with your CI/CD tool.

Yep, I'm working on it.


Sept Update

Update to version 1.2.0
UI Enhancements (Light, Dark mode)
Added Notes on Save Record screen.
Fixed Import for Favicon Color.
Fixed Incognito Bug.

thenks


map to key modifier only

I'm trying to map F14 to three modifiers and no other keys. It's not working. It does work if I add a key_code to it, but I only want the modifiers. Here's what I have:
"manipulators": [
              {
                "from": {
                  "key_code": "f14"
                },
                "to": [
                  {
                    "modifiers": ["left_command", "left_control", "left_option"]
                  }
                ],
                "type": "basic"
              }
            ]

Add one of the modifiers as a "key_code"


⚠ Bofrost.at has degraded performance

In a6d7424, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1434 ms

Resolved: Bofrost.at performance has improved in c0c4db7.


Some errors reported while load glTF model

Describe the bug
Some errors reported while load glTF model
To Reproduce
Steps to reproduce the behavior:

copy BrainStem.glb to Mesh folder
start LumosEditor.app
add BrainStem.glb to scene

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS 11.6 Big Sur
Apple M1

Additional context
[22:27:22] Loaded Model - /Volumes/SRC/Lumos2/bin/Debug-macosx-/LumosEditor.app/Contents/MacOS/../../../NewProject/Assets/Meshes/BrainStem.glb

[22:27:22] [VULKAN] - ERROR : [Validation] Code 0  : Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x780000000078, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x780000000078[] encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #1 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.2-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-02699)

[22:27:22] [VULKAN] - ERROR : [Validation] Code 0  : Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x780000000078, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x780000000078[] encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #2 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.2-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-02699)

[22:27:22] [VULKAN] - ERROR : [Validation] Code 0  : Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x790000000079, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x790000000079[] encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #1 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.2-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-02699)

[22:27:22] [VULKAN] - ERROR : [Validation] Code 0  : Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x790000000079, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x790000000079[] encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #2 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.2-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-02699)

[22:27:22] [VULKAN] - ERROR : [Validation] Code 0  : Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x7a000000007a, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x7a000000007a[] encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #1 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.2-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-02699)

[22:27:22] [VULKAN] - ERROR : [Validation] Code 0  : Validation Error: [ VUID-vkCmdDrawIndexed-None-02699 ] Object 0: handle = 0x7a000000007a, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID = 0xa44449d4 | VkDescriptorSet 0x7a000000007a[] encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #2 index 0 is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command (https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.2-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-02699)

The last version is OK.


DRAFT : 🔧 Allow global setting of prefix commands options

Hi!
This PR just add the possibility to set options of prefix commands globally.
Have a good day

Renamed as DRAFT since I maybe found a bug due to this change.

LGFM


Version bumps

Per https://trello.com/c/ySXHu9rc/22-elasticsearch
Once merged, Kibana images should be released, too: https://github.com/aptible/docker-kibana/pull/30

@UserNotFound after you merge, can you make sure you register the new images in Enclave?


版本库问题

您好，我安装了numpy1.19.5，并且匹配了tensorflow2.6.0&keras2.6.0，运行代码时RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd。查询需要升级numpy，但是会影响其他的库，您可以告诉我这些库的版本号吗？

Hey, sorry for the late response!
The dependency (including the version of each lib) is specified here: https://github.com/princeton-nlp/PURE/blob/main/requirements.txt
Feel free to reopen the issue if you have further questions!


Custom SSH Port

Hi,
Great module, i'm really enjoying it!
Would it be possible to add support for custom SSH ports (non 22)?

The new HTTPAPI plugin that is already developed for FortiOS already supports custom ports as it uses Ansible inventory. Localhost connection will be deprecated soon according to Ansible roadmap.
HTTPAPI will be submitted for review shortly in the next days and hopefully will be released soon.

Anyway, if you want to use a different port with the current localhost connection just add it after the host ip, using a colon:
  vars:
   host: "<IP_ADDRESS>:450"
   username: "admin"
   password: ""
   vdom: "root"
  tasks:


Missing terms_and_conditions_accepted param for account

Hey all,
Currently in prod we are getting: 400 Terms and conditions accepted is required when creating a new sub-account.
We seem to be missing the terms_and_conditions_accepted needed in order to create an account per:

terms_and_conditions_accepted
formData
boolean
Acceptance of the terms and conditions. Required for sub-accounts that are on our Outsourced KYC model, optional otherwise.

https://developer.currencycloud.com/docs/item/create-account/
Probably need to add it here:
https://github.com/CurrencyCloud/currencycloud-java/blob/36f6d8047b01db2f1555e566102f291c321b2f72/src/main/java/com/currencycloud/client/CurrencyCloudClient.java#L155-L176
But will leave that to you all 😄
Thanks,
Hasnain
Lightyear

This field became mandatory for accounts/create on sub-accounts using the new Outsourced KYC model. Therefore the parameter needs to be added to accounts entity and calls as suggested

Danke @jonathancouchman!
Any guidance on timeline?

@BukhariH Pull request merged into master branch. Will be preparing a new release later today


Incorrect module names in library-preload.json when folder(git project) has '.' symbol

Dear developers,
Here is an issue we faced recently.
We created a library. Name of git project + directory after clone is booking.ovp
Inside we created a library with nested modules.
However after build with grunt we have code like this:
{ 	"version": "2.0", 	"name": "booking.ovp.library-preload", 	"modules": { 		"booking.ovp/cards/charts/donut/Component.js": "sap.ui.define(
But in fact booking.ovp is a library name which means we expect to have modules like this in the file:
 "booking/ovp/...
We fixed this problem by a small adjustement of preload.js:
Instead of this:
preloadObject.modules[preloadFile] = fileContent;
we set this:
preloadObject.modules[preloadFile.replace(/[.](?=.*[.])/, '/')] = fileContent;
In this case if folder name is a.b.c we'll have a/b/c path for modules.
How do you think can it be a standard solution?
Thanks!

Closed with comment here https://github.com/SAP/grunt-openui5/pull/60

Hey @ThePlenkov,
I'm sorry that there was no direct response - but your solution mentioned in the PR comment is exactly what I would suggest as well.

@matz3 Thank you. However this change finally didn't work. If I call module like booking/ovp - npm starts working incorrect. They don't let us / symbol in the package name.
I solved my problem finally with own grunt module: https://www.npmjs.com/package/grunt-sapui5


pip install pipenv IOError: [Errno 13] Permission denied

I installed pyhton 3.6.4.But when I exec the cmd  pip install pipenv ,I got some Exception.
Exception: Traceback (most recent call last):   File "/home/linux/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main     status = self.run(options, args)   File "/home/linux/.local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run     prefix=options.prefix_path,   File "/home/linux/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install     **kwargs   File "/home/linux/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)   File "/home/linux/.local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files     isolated=self.isolated,   File "/home/linux/.local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files     clobber(source, lib_dir, True)   File "/home/linux/.local/lib/python2.7/site-packages/pip/wheel.py", line 323, in clobber     shutil.copyfile(srcfile, destfile)   File "/usr/lib/python2.7/shutil.py", line 83, in copyfile     with open(dst, 'wb') as fdst: IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pathlib.pyc'
could you help me?Thanks in advance
My OS is ubuntukylin-16.04-desktop-amd64（Linux version 4.4.0-21-generic）

@dvf @2gotgrossman @rbalazs @rbalazs @jwbixby @yuribol could you help me?Thanks in advance

This looks like a permission error with your local installation of Python. Have you tried reinstalling Python?

On Mar 12, 2018, at 7:19 AM, linux<EMAIL_ADDRESS>wrote:
@dvf @2gotgrossman @rbalazs @rbalazs @jwbixby @yuribol could you help me?Thanks in advance
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Try running the pip command with sudo
$ sudo pip install pipenv


macOS 13 runner also needs Xcode UI testing capabilities

Description
Someone had reported this for the macOS 12 runner https://github.com/actions/runner-images/issues/5410
https://github.com/actions/runner-images/pull/5417 solved for it, but unfortunately this logic wasn't updated for the 13 runner https://github.com/actions/runner-images/blob/main/images/macos/provision/configuration/configure-machine.sh#L60
This needs to be updated to be performed on macOS 12 and higher
My CI job is failing due to this
Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[X] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
https://github.com/macadmins/nudge/actions/runs/5026342911/jobs/9014503504
Is it regression?
yes
Expected behavior
xcode ui unit tests should work
Actual behavior
they don't work
Repro steps
Run xcode ui tests on a project, see that they fail.

Hey @erikng!
We'll take a look.

Should be fixed

Thanks. I'll revert some of my Ui test skips and test it out.

I think I am still seeing macOS 13 time out around automationmodetool with a combination of:

macOS 13.0 (cannot test on 13.1, odd payment issues are being returned)
Xcode 14.2.0

Here is a link to the job.
  Executed 2 tests, with 0 failures (0 unexpected) in 0.004 (0.006) seconds
  2023-06-09 05:23:37.837 xcodebuild[9911:53033] [MT] IDETestOperationsObserverDebug: 66.451 elapsed -- Testing started completed.
  2023-06-09 05:23:37.837 xcodebuild[9911:53033] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
  2023-06-09 05:23:37.837 xcodebuild[9911:53033] [MT] IDETestOperationsObserverDebug: 66.451 sec, +66.451 sec -- end
  Testing failed:
  	ClassDumperUITests-Runner (11878) encountered an error
  	(The test runner failed to initialize for UI testing. If you believe this error represents a bug,
  	please attach the result bundle at /Users/runner/work/class-dumper/class-dumper/test.xcresult.
  	(Underlying Error: Timed out while enabling automation mode.))

  ** TEST FAILED **

Could the underlying issue here be #7531 where macOS 13 runners are having issues running applescript/osascript?

Could the underlying issue here be #7531 where macOS 13 runners are having issues running applescript/osascript?

As far as I can see the root cause is the same as the original bug here and not related to https://github.com/actions/runner-images/issues/7531. I added automationmodetool powershell command in my pipeline that is failing too, and got following output:
Automation Mode is disabled.
This device requires user authentication to enable Automation Mode.

While in macos-12 I got:
Automation Mode is disabled.
This device DOES NOT REQUIRE user authentication to enable Automation Mode.

@erikng new image on board. May I ask you to check if the issue still persist?

@erikng new image on board. May I ask you to check if the issue still persist?

It's still failing for me - but it's weird: We have a pipeline with two parallel jobs (for debug and release), the debug job passed while the release job failed.

Hey @idigra!
Can you please check the Runner version? I suspect that the failed job was run with an old image (20230524.1), while the successful one was assigned to the new image (20230611.2).
For example:

Hey @idigra! Can you please check the Runner version? I suspect that the failed job was run with an old image (20230524.1), while the successful one was assigned to the new image (20230611.2). For example:

Yes, that's right. Versions precisely matching the ones you mentioned.
Do we have any deadline that after it we're guaranteed that all available agents are updated?

Hey @idigra! Can you please check the Runner version? I suspect that the failed job was run with an old image (20230524.1), while the successful one was assigned to the new image (20230611.2). For example:

Yes, that's right. Versions precisely matching the ones you mentioned. Do we have any deadline that after it we're guaranteed that all available agents are updated?

Due to macOS 13 still being in beta, it's difficult for me to give an exact timeline. It shouldn't take more than a couple of working days, but I'll come back separately and let you know when everything is ready. I'm afraid I may have bothered you with checks too early this time.
cc @erikng @drewvolz

Hey @idigra! Can you please check the Runner version? I suspect that the failed job was run with an old image (20230524.1), while the successful one was assigned to the new image (20230611.2). For example:

Yes, that's right. Versions precisely matching the ones you mentioned. Do we have any deadline that after it we're guaranteed that all available agents are updated?

Due to macOS 13 still being in beta, it's difficult for me to give an exact timeline. It shouldn't take more than a couple of working days, but I'll come back separately and let you know when everything is ready. I'm afraid I may have bothered you with checks too early this time. cc @erikng @drewvolz

Thanks! That's fine, for us it's not urgent. I can wait until we're sure that it's done. Also we're fine with small percentages of agents that are not upgraded, the only implication is that developers will be required to rerun which is a cost we can be tolerated for, as long as it's rare and is going to be solved.

Yes, I'm also waiting on the new image version as I have gone ahead and started doing development on Xcode 15 so the runner would fail the unit tests anyway now as some functionality is only in the new Swift 5.9 frameworks. It appears to only be 29% deployed out, but as soon as it's fully deployed, I can try it.
I will try it now and see if I get the luck of the draw with Image Version: 20230611.2

It's deployed to about 90% now so my luck of the draw was much better this morning. My unit tests are working now and I was able to cut a new pre-release of my application, including the use of Xcode 15.
Thanks!

Same here, tests are passing. Thanks!

Passing on my end. Thank you!

@drewvolz @erikng @idigra all the agents are updated at the moment. Please feel free to open new issues in case of else concerns.

@idigra i am still facing the issue.

@idigra i am still facing the issue.

I guess you'd like to tag one of the issues owner rather than me, who only encountered this issue.
But as a preliminary check, I suggest to verify that you're using the same type of agent (MS hosted macOS-13), and to try the automationmodetool check as I mentioned above.

@idigra where in the script i should add automationmodetool in pipeline?

i added this  -   automationmodetool enable-automationmode-without-authentication but getting an error

i added this - automationmodetool enable-automationmode-without-authentication but getting an error Enter the password for user 'runner': Authentication failed, incorrect password or not an administrator. Error: Process completed with exit code 1. @idigra

Sorry, too long ago, I don't remember the details.

@idigra i am still facing the issue.

@erik-bershel

Hey @sssuourabh!
What exactly you are doing or trying to do?
I checked automation-mode:

jobs:
  test:
    strategy:
      matrix:
        os: [ macos-12, macos-13, macos-14 ]
    runs-on: ${{ matrix.os }}

    steps:
    - name: Run command
      run: automationmodetool
    - name: Run command
      run: sudo /usr/sbin/DevToolsSecurity --enable

Got next (the same for all macOS images:

It seems fine. There is a possibility that you trying to use not authorised operation.

Hey @sssuourabh!
This output is not related to the root issue. It looks more like project config issue than automation mode issue. "com.exampleidentifier.app" was not found. It's fair output for misconfigured run.

@erik-bershel  Now when i solved that identifier problem then it says this problem.

@sssuourabh please provide archive with logs and link to the failed run, no matter if private.

I am attaching logs, please have a look.
and thanks for such quick response from .
logs_22566947746.zip

Hey @sssuourabh!
Basing on the logs I may say next.
2024-04-09T09:09:04.4786430Z 2024-04-09 09:09:02.669 xcodebuild[20053:114125]  iOSSimulator: 97C573C1-C829-42F5-8F4A-E13807B80A3B: Failed to launch app with identifier: com.doxel.app and options: {

This indicates that the application failed to run on the simulator with ID "com.doxel.app".
The reasons for this error may be different:

Build problem: The application may not be built correctly or completely, resulting in a launch error.
Simulator Problem: Sometimes the simulator may be not configured correctly.
Test configuration problem: Your tests may be expecting a different configuration that doesn't match the actual application configuration.

To resolve this issue, you may need to follow these steps:

Try running the app manually on the simulator from Xcode to make sure it launches correctly.
Check your testing configuration in GitHub Actions to see if your application launch options need to be adjusted or a different configuration may need to be selected.
Check that the simulator you are trying to run tests on is available and configured correctly.

If you continue to experience problems after checking the above steps, you may need to analyse the simulator logs or build logs in more detail to identify the specific cause of the error.
Separately, I would like to note that firstly I would try to run the same tests in the same way configured local environment. There is always a possibility that your test did not run simply because the base runner did not have enough resources. I can say right away that we have no influence on performance issues. Example of this kind: https://github.com/fastlane/fastlane/issues/21025#issuecomment-1435665269
Unfortunately, the problem is not in the automation itself - this is a simple problem to solve, but is located somewhere between the simulator and your application.

hi @erik-bershel can you please check my logs my build is getting succeeded but TEST BUILD FAILED.

Hey @sssuourabh! Please, update your message. There is no logs at all.

<img width="812" alt="Screenshot 2024-05-18 at 10 24 22 A@erik-bershel rc="https://github.com/actions/runner-images/assets/2918573/d71be61f-7951-4708-84f2-403339b74aa0">
@erik-bershel


Change button style

currently the upload icon is a small orange (+) icon and the remove icon a large red icon. It should be vice-versa. The upload button should be a green icon just like download with the upload text. Then the delete icon can be the same form factor and at location as the (+) icon is currently, but then switch the (+) for a (x). I would also make the mirrors icon smaller as it is less important than the upload and download buttons.

@MeijeSibbel It is ok?

@lakewik , perfect!

Done in branch develop.


bug : BFormSelect - After selecting multiple options, visual select state is not retained

BFormSelect with multiple property set : when you select multiple options (initially, manually or via code), the visual indication of selected options is not retained
You can test it in the docs page of BFormSelect

or using this
<template>

      Selected: {{ exMultiSelected }}

      <button class="btn btn-primary" @click="setSelected">Set selected</button>

</template>

Works fine now (see playground, docs need update)


Question

is it possible to change the icons size ? att

There is no specific xml-attribute for doing that, but you can change the drawables you are using to achieve this. So you could e.g. change android:width and android:height in arrow_up_bold_circle_outline.xml.
With the help of app:snp_buttonTouchScaleFactor you can also change the size when the user presses one of the buttons.


feat: support link text

Resolves: DT-2272
Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Support link text

Checklist:

[x] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 67.39%. Comparing base (bafcd24) to head (e943cff).
Report is 2 commits behind head on master.

Files with missing lines
Patch %
Lines

src/PrismicLink.svelte
75.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   67.83%   67.39%   -0.44%
==========================================
  Files          18       18
  Lines         914      914
  Branches        1        5       +4
==========================================
- Hits          620      616       -4
- Misses        294      298       +4

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


TypeError: init() got an unexpected keyword argument 'log_level'

hello there,
I have encountered the Error : TypeError: init() got an unexpected keyword argument 'log_level' , while trying to analyse some NanoPore seq data.
i have implemented the steps presented in this thread , https://github.com/pltrdy/files2rouge/issues/7 .
i have pyrouge 0.1.3 and ROUGE-1.5.5 is configured properly.
i am using this syntax in python 3 :
db = SampCompDB ( db_fn = "/media/shiberlab/My Passport/Analysis-MM/nanopolish/Analysis-MM/nanopolish/18.10.2022/outSampComp.db",fasta_fn = "/media/shiberlab/My Passport/Analysis-MM/nanopolish/GCF_000146045.2_R64_rna.fa",log_level="warning")
any ideas ?

Same problem.


feat(bin): db version CLI

Intended use is the bug reporting.
➜  reth (alexey/cli-db-version) cargo run --quiet -- db version                                                                                ✱
Current database version: 1
Local database version: 1

Please open up a good first issue for adding this to the book reference


Doesn't work

I've installed bot and granted permissions
https://github.com/Qeenon/mawa/issues/1

I am having the same problem. I have installed bot, granted permissions and made a pull request, commented on the pull request, and nothing.
https://github.com/jason-kerney/StructuralEqualityAssesor

Okay, the person I was trying to add was an organization. Evidently All Contributors does not support that.

CLI Worked, but not able to get bot to work... :-(


"Too many open files" from status-web.discoverd during bootstrap from backup

"00:07:36.128464 status-check status error: bootstrap: timed out waiting for http://status-web.discoverd, last response Get http://<IP_ADDRESS>:80: dial tcp <IP_ADDRESS>:80: too many open files'"
https://gist.github.com/e33da474872ced5aeecd9fd2b88e515b
https://gist.github.com/202f45da553efc10745959665f231677
https://gist.github.com/ef7a15ee57f8cf0328e7ee1739411ddd

Two more instances of this:
https://gist.github.com/77eff01cbfd407e72f3881d7b901f264
https://gist.github.com/8627ba80d03c2aad204cd4ce03b5bcc1
https://gist.github.com/7c6a8fb6b6cf5d673ffebaa730f6b005

and
https://gist.github.com/c4060f8839910dee23fbbfd000f4ad3d
https://gist.github.com/66880da375202ef5f80aa64759c98e0c
https://gist.github.com/5ac9b87cf7c77282b3d8fa4da8192e9f
Both are most recent version: dropping back to 0530 to see if that dodges this issue.

Dropping back does avoid it.


Bug docker exit and connection error macOS

I am trying the docker command listed on the supply chain demo, I run it and I keep getting this error, I am unable to proceed.
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 2023-03-12 02:37:49,264 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message. 2023-03-12 02:37:49,364 CRIT Server 'inet_http_server' running without any HTTP authentication checking 2023-03-12 02:37:49,365 INFO supervisord started with pid 1 2023-03-12 02:37:50,372 INFO spawned: 'dockerd' with pid 20 2023-03-12 02:37:50,381 INFO spawned: 'supply-chain-app' with pid 22 2023-03-12 02:37:52,077 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:37:52,078 INFO success: supply-chain-app entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:37:53,554 INFO exited: dockerd (exit status 1; not expected) 2023-03-12 02:37:54,563 INFO spawned: 'dockerd' with pid 168 2023-03-12 02:37:55,919 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Keccak bindings are not compiled. Pure JS implementation will be used. Secp256k1 bindings are not compiled. Pure JS implementation will be used. 2023-03-12 02:37:57,437 INFO exited: dockerd (exit status 1; not expected) 2023-03-12 02:37:58,443 INFO spawned: 'dockerd' with pid 306 2023-03-12 02:38:00,015 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:01,034 INFO exited: dockerd (exit status 1; not expected) 2023-03-12 02:38:02,039 INFO spawned: 'dockerd' with pid 436 2023-03-12 02:38:03,494 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:04,508 INFO exited: dockerd (exit status 1; not expected) [2023-03-12T02:38:04.798Z] INFO (config-service): Configuration validation OK. 2023-03-12 02:38:04,809 INFO spawned: 'dockerd' with pid 557 [2023-03-12T02:38:04.807Z] INFO (supply-chain-app): Instantiating new keychain plugin... [2023-03-12T02:38:04.830Z] INFO (PluginKeychainMemory): Created PluginKeychainMemory. KeychainID=fabb9e76-7fd7-4849-9695-e3b5a9b45cae [2023-03-12T02:38:04.830Z] WARN (PluginKeychainMemory): Never use PluginKeychainMemory in production. It does not support encryption. It stores everything in plain text. [2023-03-12T02:38:04.831Z] INFO (supply-chain-app): KeychainID='fabb9e76-7fd7-4849-9695-e3b5a9b45cae' [2023-03-12T02:38:04.853Z] INFO (SupplyChainAppDummyInfrastructure): Reusing the provided keychain plugin... [2023-03-12T02:38:04.853Z] INFO (SupplyChainAppDummyInfrastructure): KeychainID='fabb9e76-7fd7-4849-9695-e3b5a9b45cae' [2023-03-12T02:38:04.856Z] DEBUG (supply-chain-app): Starting SupplyChainApp... [2023-03-12T02:38:04.859Z] DEBUG (supply-chain-app): Registered signal handlers for graceful auto-shutdown [2023-03-12T02:38:04.860Z] INFO (SupplyChainAppDummyInfrastructure): Starting dummy infrastructure... [2023-03-12T02:38:04.931Z] ERROR (containers#tryPullImage()): Could not even start ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 pull: Error: connect ECONNREFUSED /var/run/docker.sock     at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1146:16) {   errno: -111,   code: 'ECONNREFUSED',   syscall: 'connect',   address: '/var/run/docker.sock' } 2023-03-12 02:38:06,132 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:07,184 INFO exited: dockerd (exit status 1; not expected) [2023-03-12T02:38:07.191Z] ERROR (containers#tryPullImage()): Could not even start ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 pull: Error: read ECONNRESET     at Pipe.onStreamRead (node:internal/stream_base_commons:220:20) {   errno: -104,   code: 'ECONNRESET',   syscall: 'read' } 2023-03-12 02:38:07,198 INFO spawned: 'dockerd' with pid 684 2023-03-12 02:38:08,443 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:09,464 INFO exited: dockerd (exit status 1; not expected) [2023-03-12T02:38:09.464Z] ERROR (containers#tryPullImage()): Could not even start ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 pull: Error: read ECONNRESET     at Pipe.onStreamRead (node:internal/stream_base_commons:220:20) {   errno: -104,   code: 'ECONNRESET',   syscall: 'read' } 2023-03-12 02:38:09,468 INFO spawned: 'dockerd' with pid 807 2023-03-12 02:38:10,858 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:13,739 INFO exited: dockerd (exit status 1; not expected) [2023-03-12T02:38:13.740Z] ERROR (containers#tryPullImage()): Could not even start ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 pull: Error: read ECONNRESET     at Pipe.onStreamRead (node:internal/stream_base_commons:220:20) {   errno: -104,   code: 'ECONNRESET',   syscall: 'read' } 2023-03-12 02:38:13,745 INFO spawned: 'dockerd' with pid 940 2023-03-12 02:38:14,919 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:15,934 INFO exited: dockerd (exit status 1; not expected) 2023-03-12 02:38:16,939 INFO spawned: 'dockerd' with pid 1072 2023-03-12 02:38:18,261 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:19,285 INFO exited: dockerd (exit status 1; not expected) 2023-03-12 02:38:20,293 INFO spawned: 'dockerd' with pid 1202 2023-03-12 02:38:21,518 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:22,537 INFO exited: dockerd (exit status 1; not expected) [2023-03-12T02:38:22.539Z] ERROR (containers#tryPullImage()): Could not even start ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 pull: Error: read ECONNRESET     at Pipe.onStreamRead (node:internal/stream_base_commons:220:20) {   errno: -104,   code: 'ECONNRESET',   syscall: 'read' } 2023-03-12 02:38:22,543 INFO spawned: 'dockerd' with pid 1323 2023-03-12 02:38:23,716 INFO success: dockerd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-12 02:38:24,731 INFO exited: dockerd (exit status 1; not expected)
errors continue in a loop like this
I cannot figure out what to do please help.
macOS 13.1
M1 Pro

This works on my Ubuntu 20.04 system. Can't be sure about M1 based systems.
Can anyone else look into this who has a similar working environment?

In the meanwhile, somone responds, @vishk23 can you please attach the entire log as a file instead? (It will be easier to check)

dockerlogs.txt

@vishk23 The logs show that the image pull itself is already not working on your machine so it's possible that the issue is not related to the M1 (though that's the most likely culprit).
Please check what happens if you do a docker pull ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 because it says in the logs you attached that it fails at the pull. Please include the complete log output in a text file for the docker pull command in your reply as well.
2023-03-14 08:29:39 [2023-03-14T12:29:39.435Z] ERROR (containers#tryPullImage()): Could not even start ghcr.io/hyperledger/cactus-fabric-all-in-one:v1.0.0-rc.2 pull: Error: read ECONNRESET
\
2023-03-14 08:29:39     at Pipe.onStreamRead (node:internal/stream_base_commons:220:20) \{

@vishk23 If you see the problem again please re-open the issue. Closing in the meantime just to try and keep a tidy(er) list of tasks.


help with rotations on custom avatar

Hi! A big thank for your work, very nice and helpful!
I'm trying to move my custom avatar with some generated keypoints!
What I first did was to take your raw data and sen it to my avatar to see what it is doing!
Here you can see the first frame of the avatar moving only the left shoulder

So it is kind of strange!
I know it was a fast try, but may you help to understand where I have to change your code?
Is it due to the Rotation?
The avatar is on the Threejs coordinate system !
Thank you

Hi. Thanks for checking out my package. But this is the camera calibration package. I'm not sure exactly what you did. Could you provide more details? There is quite a lot that can go wrong with sending pose data that only accepts a specific format.

@TemugeB  Yes I meant posting this on your  joint_angles_calculate repository! I took your data kpts_3d.dat and calculated the euler rotations and then tranformed them to quaternion with this function :
https://automaticaddison.com/how-to-convert-euler-angles-to-quaternions-using-python/
I tried both your implementation of the Decompose_ZYX and Decompose ZXY functions but in both cases the arms are moving back like this:

I think kpts_3d contain pose key points in Cartesian coordinates and not joint angles. Is your avatar expecting joint angles?
I would suggest you put in the joint angles one by one to ensure that it is forming the pose in the way that you think it is supposed to work. Also make sure that the joint angles are going in in the correct units, radians or degrees.

@TemugeB i took your coordinates and ran your code to get the Euler rotations!
Then I used a function to go from Euler to quaternion rotation and this is the result.

I see. Still, try to input some known rotations to make sure the pose output is what you expect. For example, rotate the root position by some angle and see if the avatar also rotates the way you expect it. Also try the same with joints further away from the root. I'm not sure if the problem is on my side of the code or on your side.

@TemugeB  Ok thank you!

@TemugeB  do you output the euler rotation in degree or radiants?

I'm closing this issue since no new comment was added.


Animation Timeline: Animation Type Popover Panel

Feature Description
Create a pop-over panel that is launched from the animation type picker inside the timeline.

For animation UI designs, refer to this figma design doc.
For animation product specs, refer to this doc.
Part of #3414

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

WIP branch https://github.com/google/web-stories-wp/tree/feature/animation-dialog-timeline


Add a command argument to disable the analytics prompt

🚀 Feature request
Description
It would be very nice to have a command parameter to disable ng analytics prompt. In Microsoft Visual Studio Team Foundation Server there is no way to define environment variable relative to npm install command scope. I've now no solution to setup CI for my Angular project in Microsoft Visual Studio Team Foundation Server.
What I've tried:
Official solution:

using ng analytics off (or changing the global configuration file yourself). This is the same as answering "No" to the prompt.

I cannot use ng analytics off command since ng is not installed on my CI environment.

There is an NG_CLI_ANALYTICS environment variable that overrides the global configuration. That flag is a string that represents the User ID. If the string "false" is used it will disable analytics for this run. If the string "ci" is used it will show up as a CI run (see below).

I can set NG_CLI_ANALYTICS to 'false' on my server but in Microsoft Visual Studio Team Foundation Server, the npm install task seems to be in another environment scope.

Describe the solution you'd like
It would be nice to add a command argument to disable this prompt, or maybe to remove this prompt and add a variable in angular settings to enable ng analytics.
At this point, I'm hard stuck. I cannot setup my CI environment and it bothering my client.
Describe alternatives you've considered
I have no alternative at this point.

H @BenDevelopment,  You can use ng analytics project off or ng analytics project on locally and commit the changes in angular.json

Thank you @alan-agius4 . It seems to work ! (It's missing in the doc btw)