Add attribute noting details of scrubbed values

For https://github.com/pydantic/logfire/issues/248
The idea is to use this to generate code for the user to whitelist values from scrubbing. Here's some example code which I imagine being ported to the frontend:
attributes = {
    'logfire.scrubbed': [
        {'path': ['attributes', 'usage'], 'matched_substring': 'token'},
        {'path': ['attributes', 'prompt'], 'matched_substring': 'secret'},
    ],
}

print(f"""
import logfire

def scrubbing_callback(match: logfire.ScrubMatch):
{"\n".join(f"""\
    if match.path == {tuple(match['path'])} and match.pattern_match.group(0) == {repr(match['matched_substring'])}:
        return match.value
"""
           for match in attributes['logfire.scrubbed'])}

logfire.configure(scrubbing=logfire.ScrubbingOptions(callback=scrubbing_callback))
""")

This generates:
import logfire

def scrubbing_callback(match: logfire.ScrubMatch):
    if match.path == ('attributes', 'usage') and match.pattern_match.group(0) == 'token':
        return match.value

    if match.path == ('attributes', 'prompt') and match.pattern_match.group(0) == 'secret':
        return match.value

logfire.configure(scrubbing=logfire.ScrubbingOptions(callback=scrubbing_callback))

The PR body seems kind of confusing, and/or related to something slightly different. Am I being dumb or should or be updated.

It's related. The first bit of code is a sample of attributes that this PR adds to a span:
attributes = {
    'logfire.scrubbed': [
        {'path': ['attributes', 'usage'], 'matched_substring': 'token'},
        {'path': ['attributes', 'prompt'], 'matched_substring': 'secret'},
    ],
}

The rest of that code block is an example of how the attributes can be used to generate sample Python code which is displayed to the user for them to copy and paste to whitelist values from being scrubbed. That's the ultimate goal here.
That code generation logic could also be baked into the SDK, but I think it makes more sense to do that part in the frontend.
The last code block is the output of the first, i.e. the sample code which would be generated and shown to the user.
The backend doesn't really need anything. But since the new attribute is stored as a string and it's not mentioned in the JSON schema, I think the backend should explicitly check for this attribute and parse the JSON just in case someone wants to query it or something.


New bugs

I continue to actively test and here's what I found:

The program easyeffects in tiling mode draws drop-down menus with artifacts, in floating mode everything is fine.
In programs with their own cursor (retroarch) and games, a conflict of cursors occurs and either two cursors are drawn, system and game, or they are replaced alternately.
Also in the game starcraft remastered (proton xwayland), it happens that the true position of the cursor does not correspond to where it is drawn and, accordingly, it will not be possible to capture the controls, but after a while it passes.

The program easyeffects in tiling mode draws drop-down menus with artifacts, in floating mode everything is fine.

Oh shiet this is a regression, could you tell me when that started?

In programs with their own cursor (retroarch) and games, a conflict of cursors occurs and either two cursors are drawn, system and game, or they are replaced alternately.

Video pls?

Also in the game starcraft remastered (proton xwayland), it happens that the true position of the cursor does not correspond to where it is drawn and, accordingly, it will not be possible to capture the controls, but after a while it passes.

Try running it through gamescope

idk I just recently started using Hyprland

The program easyeffects in tiling mode draws drop-down menus with artifacts, in floating mode everything is fine.

Oh shiet this is a regression, could you tell me when that started?

In programs with their own cursor (retroarch) and games, a conflict of cursors occurs and either two cursors are drawn, system and game, or they are replaced alternately.

Video pls?

Also in the game starcraft remastered (proton xwayland), it happens that the true position of the cursor does not correspond to where it is drawn and, accordingly, it will not be possible to capture the controls, but after a while it passes.

Try runabout the video, apparently there is some kind of bug in wf-recorder, I can watch it, but I can’t play it on reddit and github
ning it through gamescope

about the video, apparently there is some kind of bug in wf-recorder, I can watch it, but I can’t play it on reddit and github

about the video, apparently there is some kind of bug in wf-recorder, I can watch it, but I can’t play it on reddit and github

why not use OBS? also, you can reencode it with ffmpeg, it's prolly some odd format

gamescope I will try.

ok., i will try with OBS.

number 1 fixed in ebe07c66567eae0f564288296f7d2f0f6b92e1f8

here are 2 screenshots. if easyeffects is in tiling mode, then drop-down windows are drawn incorrectly, and if in fullscreen, then it's fine.

dunno looks fine to me

It’s also normal for me if it’s fullscreen, and if it’s just tiling, then it’s like in the screenshots.

double cursor
https://user-images.githubusercontent.com/52626363/185808859-df88f69f-c257-46d2-b5ff-0b64d5c14b38.mp4

I only see one tho.
At any rate, it seems like an app bug rather than Hyprland.
Does it work in sway or wayfire?

only for some reason upside down and there is no second cursor on the record

easyeffects first tiling, then fullscreen.
https://user-images.githubusercontent.com/52626363/185809076-1ba04326-fc9f-4c58-bf04-a28408668413.mp4

easyeffects first tiling, then fullscreen.
2022-08-21.23-09-17.mp4

wtf upside down again

long story short, tomorrow I'll figure it all out and post normal screen recordings.

Tested in sway and sway-git and did not find these problems, the ball is on the side of Hyprland

In fullscreen, without artifacts, but not captured by the cursor, in tiling, it is captured by the cursor, but not correctly drawn.
https://user-images.githubusercontent.com/52626363/185811687-d6f9dc7d-4dd9-4e30-8c0d-358fb7cf1f34.mp4

https://user-images.githubusercontent.com/52626363/185811700-aeec6915-4b29-487f-8048-5beadc11657f.mp4

https://user-images.githubusercontent.com/52626363/185811705-780965f3-8eb7-4498-9786-cf231ace6b2b.mp4

for the double cursor - do you possibly use the cursor timeout option? Maybe that's the root of the bug.
Starcraft - no clue, try gamescope
Easyeffects - will see tomorrow.

Yes, you are right, the problem was in the timeout. Problem number two is solved.

For me the easyeffect issue is not solved (I have updated 3 hours ago, at f273ebed9cab738b2f6000a73df7fad08a279c15).

easyeffects, and for that matter, gnome-control-panel, look bad/streched when tiled. Indeed they look ok when floating:

Tiled:

Floating:

Same stuff for gnome-control-center:
Tiled:

Floating:

Also, somehow, my org.gnome apps now open full screen, even though I do not have a single fullscreen rule in my hyprland config. This did not happen a week ago or so.

fixed the fullscreen issue

still, can't repro the easyeffects issue:

@frigaut is this a regression? in that case a git bisect would be cool.

Also, somehow, my org.gnome apps now open full screen, even though I do not have a single fullscreen rule in my hyprland config. This did not happen a week ago or so.

fixed the fullscreen issue

yes you did (at 21bea0fcb4401ea8588ea72cf51d75a8d2b85114).

I'll try a bisect for the other issue.

@vaxerski I've gone back to early august and this "streched" bug for gnome-control-center or easyeffects (gtk4?) apps is still there. In fact I am absolutely not sure this ever worked. I am use to open these particular apps in floating where the bug doesn't happen.
I have attached my env in case it helps (you don't have this issue do you?).
sasaigo_env.txt
$ hyprctl version
Hyprland, built from branch main at commit 21bea0fcb4401ea8588ea72cf51d75a8d2b85114dirty (typo).
flags: (if any)

oohhh interesting.
I had recently de-install gnome (the arch meta package). If I re-install it, this solves the issue...

I did unset it and it did not change anything.

 I need to run more tests.

Apparently it's got to do with some more complex monitor/geometry stuff that might explain why you don't see that.
Look at the following:
In this geometry, things look GOOD:

Here too:

But not here:

only happens to me when the window is REALLY small:

unfortunately it seems like yet another issue with oversized surfaces.

To reproduce the problem with easyeffects, try setting the minimum gaps value. Regarding starcraft, I understand that this is not a priority, but try to look in your free time. I have tested in other wayland composers (kwin, mutter, sway) and they don't have this problem. If needed, I can provide a portproton debug log. And today I found
https://user-images.githubusercontent.com/52626363/185918753-b92c9dc7-c38b-46b5-b65a-6e6ec527e396.mp4
such a problem in Telegram.

Yes, I also forgot to say that there is no such problem with gamescope, but in other composers it works fine out of the box. Also, to test starcraft, I can give the password from the battle.net account.

don't lmao
Just use gamescope for now, Hyprland does have a few bugs with proton games, yes.

telegram issue was prolly fixed in d0ec2b7

just tested and the problem still exists, I don't know why.

https://user-images.githubusercontent.com/52626363/185939992-0d1adc76-942a-4165-a861-25432bd72a93.mp4

The telegram bug is randomly happening. At most time, it happens.

I think the telegram issue can be resolved by env QT_AUTO_SCREEN_SCALE_FACTOR=1
source: https://wiki.archlinux.org/title/HiDPI#Qt_5
But in sway it works just fine?

Decided to try hl today and it impressed me. What a great job done! I am happy to announce that the bug with telegram and starcraft has been fixed! There was only a bug with Easyeffects. I figured out why you couldn't reproduce it: I noticed that on your screenshots you have minimize and maximize buttons, even though by default there is only a close button. Remove extra buttons and you will reproduce this bug exactly. Also thanks for adding the feature to add and remove windows in the Master area in the Master Layout.

The telegram issue is fixed in 0.21.0beta version.
The bug in easyeffects is not a big problem but cause some drawing issue in float mode.
output.webm

Today I compiled hyprland-git and I can say that all the bugs have been fixed. Well done.


Component styling rules for layout containment

Layout containment
We have two major layout containment styles:

No layout containment: the element's layout fully depends on its content.
Layout containment: the element's size is invariant. The content usually adopts to the container.

Here, we'll focus on the layout containing components.
Styling needs

We need to allow a caller to set component styles using their preferred technology: anything from a classical className + stylesheet, to inline style attribute, to CSS-in-JS solutions such as styled-components.
However, we need to ensure that the internal component style is "hard" to break.

An example of using a styled component
import {AmpCarousel} from '@ampproject/carousel';
import styled from 'styled-components';

const MyCarousel = styled(AmpCarousel)`
  background: yellow;
  color: blue;
  font-family: Roboto;

  position: fixed;
  bottom: 0;
  height: 200px;
  width: 200px;

  & > button[arrow-next] {
    border-color: red;
  }
`;

This will likely result in the following stylesheet and markup:

There some things here, both desirable and not:

There are usually very little risks associated with "theming" styles, such as colors, fonts, etc.
We have to allow layout/position styling, but we need to ensure they don't conflict with component's own styling. A layout containing component would normally need position: relative style. So if it were to placed naively on the component element's root, it'd come with the direct conflict with position:fixed defined by the user stylesheet.
Some selectors could be harmful. For instance, the & > button[arrow-next] above invites users to be as selective as possible, but creates backward compatibility problems.

Implementation approaches
1. Merging styles (likely not good)
Naively, the component could simply look like this:
export default function AmpCarousel(props) {
  const {style, children} = props;
  return (

      {React.Children.map(childen, child => (
        React.cloneElement(child, {style: {...child.style, flex: '100% 0 0'}})
      ))}

  );
}

Notice, the same issues arise for both: the root element of the component and for each child (slide). We can overwrite the styles passed by the user. At best, the user styles are ignored; at worst we break the user styles, or they could even come into an unexpected conflict. Here, we change the user's position:fixed to position:relative and also changed height and width. There are also a lot of assumptions go into this: width/height: 100% relative to what? How can users change width and height here? Only with a parent container? This is not obvious.
2. Nesting.
This approach takes more nesting. It might have a minor performance impact, but it also brings the needed isolation.
export default function AmpCarousel(props) {
  return (

        {React.Children.map(childen, child => (

{child}

        ))}

  );
}

These inline styles are really annoying
Yeah. See https://github.com/ampproject/wg-bento/issues/7.

/cc @caroqliu @jridgewell

/cc @wassgha


Issue97 docs example

follow-up for #97 (and #98).

Codecov Report

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

@@           Coverage Diff           @@
##           master     #102   +/-   ##
=======================================
  Coverage   95.76%   95.76%
=======================================
  Files           9        9
  Lines         684      684
=======================================
  Hits          655      655
  Misses         29       29

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 f7a0cc7...dec0420. Read the comment docs.

Yay, docs! Nice


[sdk] Update the way we fetch CUB

CUDA 11 ships with CUB, so there is no need to download it separately into 3rdparty (unless for some reason we need another version)
For pre-CUDA 11, CUB has been moved under Nvidia organization on GitHub: https://github.com/NVIDIA/cub/. Old link still works, but we should update it for consistency.

FYI @tijyojwad @o8191

I submitted a PR a minute later :D https://github.com/clara-parabricks/GenomeWorks/pull/569


Importing CAD model and components into simulator not intuitive

Describe the question you have.
Our CAD team exported the robot base as a model and the arm mechanism as a model.
(OnShape is the CAD program)
Describe the reason for your confusion.
Robot base imports fine (we raise it a little in the config to make it look like the wheels sit on the floor)
The arm component model looks like it imports fine as well.
In as far as when, in AS, I add the robot pose as a 2D pose the robot is where I expect it to be and the arm component must default in as well by virtue of just having a model_0 in the assets folder.
In my config file all I do to the robot is rotate it 90 on the X and 90 on the Z and I do the same rotations for the component.
Is your question related to a problem? Please describe.
The issue is when I add a Arm Component pose (pose3D) to the log so I  can add it to AS.
The pose I'm adding is hard coded to all zeros.
When I drag this pose to the 3D Poses section and make it a Component (Robot) the arm all of the sudden is at an angle, it is several feet not through the bottom of the floor and the X and Y offset are bad as well.
Additional context
So, what could we do better or what are we not doing to make this component not match up to the robot base?

Based on your description, I think that what you're seeing is the expected behavior. Here's the description from the documentation:

When no component poses are provided by the user in AdvantageScope, the component models will be positioned using the default robot rotations and position (see above). When component poses are provided by the user, the "zeroed" rotations and position are instead applied to bring each component to the robot origin. The user's poses are then applied to move each component to the correct location on the robot.

Thus the "zeroed" position/rotations of the components are unused when a 3D component pose is not provided by the user. The idea is to make it easy to use their "default" positions when not providing component poses. However, once you drag out 3D poses the "zeroed" position/rotations are used to bring the components to a known origin location for positioning in a custom location.
Make sure to follow the setup process described here when configuring the components, since the steps are not always straightforward. We are considering ways to improve this process next year.


Get-DbaService may return duplicate results when multiple SSRS instances exist

Environmental information

#### PowerShell version:
Name                           Value
----                           -----
PSVersion                      5.1.14409.1018
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1018
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

#### dbatools Module version:
Name    : dbatools
Path    : C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.38\dbatools.psd1
Version : 1.0.38

PS C:\Windows\system32> Get-Culture
LCID             Name             DisplayName
----             ----             -----------
1033             en-US            English (United States)

SQL Server:

Microsoft SQL Server Reporting Services
© 2016 Microsoft
Version 13.0.4446.0

Report

Host used

[x] powershell.exe
[x] ISE
[ ] VS Code
[ ] Other (please specify)

If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe

[x] Still buggy in powershell.exe

Errors Received

PSMessageDetails      :
Exception             : System.Management.Automation.MethodInvocationException: Exception calling "QueryCimRMInstance" with "4" argument(s): "WinRM
                        cannot process the request. The following error with errorcode 0x80090322 occurred while using Kerberos authentication: An
                        unknown security error occurred.
                         Possible causes are:
                          -The user name or password specified are invalid.
                          -Kerberos is used when no authentication method and no user name are specified.
                          -Kerberos accepts domain user names, but not local user names.
                          -The Service Principal Name (SPN) for the remote computer name and port does not exist.
                          -The client and remote computers are in different domains and there is no trust between the two domains.
                         After checking for the above issues, try the following:
                          -Check the Event Viewer for events related to authentication.
                          -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use
                        HTTPS transport.
                         Note that computers in the TrustedHosts list might not be authenticated.
                           -For more information about WinRM configuration, run the following command: winrm help config." --->
                        Microsoft.Management.Infrastructure.CimException: WinRM cannot process the request. The following error with errorcode
                        0x80090322 occurred while using Kerberos authentication: An unknown security error occurred.
                         Possible causes are:
                          -The user name or password specified are invalid.
                          -Kerberos is used when no authentication method and no user name are specified.
                          -Kerberos accepts domain user names, but not local user names.
                          -The Service Principal Name (SPN) for the remote computer name and port does not exist.
                          -The client and remote computers are in different domains and there is no trust between the two domains.
                         After checking for the above issues, try the following:
                          -Check the Event Viewer for events related to authentication.
                          -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use
                        HTTPS transport.
                         Note that computers in the TrustedHosts list might not be authenticated.
                           -For more information about WinRM configuration, run the following command: winrm help config.
                           at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext()
                           at Sqlcollaborative.Dbatools.Connection.ManagementConnection.QueryCimRMInstance(PSCredential Credential, String Query,
                        String Dialect, String Namespace) in
                        D:\Code\Github\dbatools\bin\projects\dbatools\dbatools\Connection\ManagementConnection.cs:line 907
                           at CallSite.Target(Closure , CallSite , Object , Object , String , String , String )
                           --- End of inner exception stack trace ---
                           at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception
                        exception)
                           at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
                           at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
TargetObject          :
CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : CimException
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Get-DbaCmObject<Process>, C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.38\allcommands.ps1: line 20031
                        at Get-DbaReportingService<Process>, C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.38\allcommands.ps1: line 74388
                        at Get-DbaService<Process>, C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.38\allcommands.ps1: line 33322
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

Steps to Reproduce

When MyServer exists as a server with multiple instances of SSRS 2016:
Get-DbaService -ComputerName MyServer

Expected Behavior

Expected behavior is a result set containing one record per SSRS instance on the server.
Actual Behavior

Actual behavior is a result set containing multiple records per SSRS instance on the server.  The number of duplicates may be influenced by the instance count.  For example, if three instances of SSRS are installed, the result set may contain three copies of each instance service record, as shown in example below.
PS C:\Users\MyUserName> Get-DbaService -ComputerName MyServer -Verbose | ft

VERBOSE: [07:43:55][Resolve-DbaNetworkName] Resolving MyServer using .NET.Dns GetHostEntry
VERBOSE: [07:43:56][Resolve-DbaNetworkName] Resolving x.x.x.x using .NET.Dns GetHostByAddress
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer] Accessing computer using Cim over WinRM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer] Accessing computer using Cim over WinRM - Success
VERBOSE: [07:43:56][Resolve-DbaNetworkName] Resolving MyServer.MyDomain using .NET.Dns GetHostEntry
VERBOSE: [07:43:56][Get-DbaService] Getting SQL Reporting Server services on MyServer.MyDomain
VERBOSE: [07:43:56][Get-DbaReportingService] Getting Reporting Server namespace on MyServer.MyDomain
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:56][Get-DbaReportingService] Getting version from the namespace RS_MYAPPDEV on MyServer.MyDomain.
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:56][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:56][Get-DbaReportingService] Getting version from the namespace RS_MSSQLSERVER on MyServer.MyDomain.
VERBOSE: [07:43:56][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaReportingService] Getting version from the namespace RS_MYAPPTST on MyServer.MyDomain.
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:57][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:57][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:58][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:58][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:58][Get-DbaService] Getting SQL Server namespace on MyServer.MyDomain
VERBOSE: [07:43:58][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success
VERBOSE: [07:43:58][Get-DbaService] Getting Cim class SqlService in Namespace ComputerManagement13 on MyServer.MyDomain.
VERBOSE: [07:43:58][Get-DbaCmObject] Configuration loaded | Cache disabled: False
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Retrieving Management Information
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM
VERBOSE: [07:43:58][Get-DbaCmObject] [MyServer.MyDomain] Accessing computer using Cim over DCOM - Success

ComputerName ServiceName           ServiceType InstanceName DisplayName                                 StartName               State   StartMode
------------ -----------           ----------- ------------ -----------                                 ---------               -----   ---------
MyServer     ReportServer          SSRS        MSSQLSERVER  SQL Server Reporting Services (MSSQLSERVER) MyDomain\SQLSSRSMyServer Running Automatic
MyServer     ReportServer$MYAPPDEV SSRS        MYAPPDEV     SQL Server Reporting Services (MYAPPDEV)    MyDomain\SQLSSRSMYAPPDEV Running Automatic
MyServer     ReportServer$MYAPPTST SSRS        MYAPPTST     SQL Server Reporting Services (MYAPPTST)    MyDomain\SQLSSRSMYAPPTST Running Automatic
MyServer     ReportServer          SSRS        MSSQLSERVER  SQL Server Reporting Services (MSSQLSERVER) MyDomain\SQLSSRSMyServer Running Automatic
MyServer     ReportServer$MYAPPDEV SSRS        MYAPPDEV     SQL Server Reporting Services (MYAPPDEV)    MyDomain\SQLSSRSMYAPPDEV Running Automatic
MyServer     ReportServer$MYAPPTST SSRS        MYAPPTST     SQL Server Reporting Services (MYAPPTST)    MyDomain\SQLSSRSMYAPPTST Running Automatic
MyServer     ReportServer          SSRS        MSSQLSERVER  SQL Server Reporting Services (MSSQLSERVER) MyDomain\SQLSSRSMyServer Running Automatic
MyServer     ReportServer$MYAPPDEV SSRS        MYAPPDEV     SQL Server Reporting Services (MYAPPDEV)    MyDomain\SQLSSRSMYAPPDEV Running Automatic
MyServer     ReportServer$MYAPPTST SSRS        MYAPPTST     SQL Server Reporting Services (MYAPPTST)    MyDomain\SQLSSRSMYAPPTST Running Automatic

Please run the command with verbose output and append that to your post.

@wsmelton Inserted -verbose output into "Actual Behavior" section above.

@SQLGB Fred just fixed a bug in the CIM command that may have attributed to this issue...or at least I'd like to confirm. Can you pull the latest from dev and try the command against this server for me?

@wsmelton FYI, this is the first time I've tried doing a manual download and install of the dev branch, but I'm pretty sure I did it correctly.  However, the revisions to Get-DbaCmObject seem to help neither the issue I reported via 5998 or have any impact on this issue.  I'll be happy to try to test again tomorrow if you've got any tips or suggestions, or perhaps it would be easier if the Get-DbaCmObject changes get rolled into an updated production release.

So importing only the psd1 from the download, the issue still exists?

@wsmelton I’ll try that in the morning.  Earlier I downloaded the entire dev branch zip and used that.  I did see the new code in the error handling section, but as I mentioned earlier, it didn’t seem to help with the issue.

@wsmelton Might need some help / clarification here.  While importing only the psd1 this morning, I noticed that the Get-DbaCmObject code in allcommands.ps1 does not match the code in Get-DbaCmObject.ps1 -- shouldn't they be the same?

@wsmelton My prior comment was based on dev branch state as of about 14 hours ago; I see that 1.0.39 has been released since that time; testing that now.

@wsmelton Good and bad news.  Release 1.0.39 fixes issue 5998, but has no impact on 6003.

When you use the module from the repository allcommands.ps1 is not used and will not match. That file is only rebuild for pushing to master.

@wsmelton OK, thanks.
I realize I'm getting a little off the topic and intent of this issue report, but, if I download the dev zip file, unzip it, rename the folder to dbatools, copy it to...
C:\Program Files\WindowsPowerShell\Modules\dbatools

... then import via...
import-module 'C:\Program Files\WindowsPowerShell\Modules\dbatools\dbatools.psd1'

... should that allow me to successfully use that dev code, or am I missing something here?  Because that's essentially what I did last night, and it seemed like the revised Get-DbaCmObject code was not present / not working.
I did review the pages below, and thought I'd addressed everything; there were no other versions installed at the same time.
https://dbatools.io/offline/
https://dbatools.io/download/

You can just download and extract to C:\temp if you want, then just do Import-Module C:\temp\dbatools.psd1.

I do not have a machine with SSRS installed right now so will have to get one setup before I can work and debug the command with this one. I know we had to adjust this command for SSRS 2016 because it went to a standalone install, the ComputerManagement you get with SQL Server 2016 does not have the ability to detect it anymore.

@wsmelton Yeah, I recall that; I'm the one who logged issue https://github.com/sqlcollaborative/dbatools/issues/3349.

I can reproduce issue and will submit fix in next 24 hours.  Caused by the new 2016 Report Server code

@sqllensman @potatoqualitee Thanks!


Enable tests on scala-tls-example (java 8)

There were a collection of issues on the scala-tls sample:

forked tests didn't get JVM properties set on the play script
certificates in scripts/ had expired (this PR redoes them for another year, I tried extending the validity to 3650 days but it exploded, we can investigate on another PR)
the default timeout on whenReady in ServerSpec was often too aggressive for the TLS handshake to complete so I've increased it to 30 seconds
the scripts/test-sbt was not using ./play so it was wrong
made the test portable so users don't need to hack their /etc/hosts for the test to pass (request must include the header Host: example but the URL doesn't need to be example.com).

refs #17

Can we remove, git ignore the generated certificates and re-generate them for each run? I think it would be better to do that and avoid having problems with committing expired certificates.

I haven't tested it but running the certificate generation scripts in travis will be challenging and may require some extra dependencies installed on the VM. This just works :tm: until it doesn't (I guess we could hack some WARN message on CustomSSLEngineProvider for future maintainers).

Moveover, for Java 11, you will need to remove this configuration section:
https://github.com/playframework/play-samples/blob/05a73aaba3cc404677ca4fa67a9d1d4ec6a83621/play-scala-tls-example/conf/ws.conf#L3-L5

This PR is only to reenable the tests in Java 8 (I edited the title).

Thanks @dwijnand

I'm a newbie. I've been trying to pass data from controller to views. I'm using java 8. And play 2.7. I don't understand what you people are saying, although i think it has something to do with problem.... pls can someone talk to me in simple terms please...


expose the index 0 pod for minimal service

LabelSelectors multiple requirements are ANDed, however, the code was completely overriden the selector for the specific minicluster name, hence if there are multiple miniculster running in parallel the Service will expose all the indexed 0 pods from all the cluster.

/assign @vsoch @alculquicondor

Something is up with the Python tests - could be spurious. These are related to the service port forward. I’ll make some time to test today.


Fix build on Windows, at webview rsync step

The build is currently failing on Windows, inside tools/build-webview. The error is from rsync, which apparently is taking the absolute paths we give it to copy from and to (like /d/zulip-mobile/…) and interpreting them somehow as remote locations, where the leading /d/ means to go to a remote host called d. See chat discussion, including diagnosis and workaround.
Here's that workaround as a branch:
https://github.com/zulip/zulip-mobile/compare/master...gnprice:dev-rsync-relative
The solution is to use relative paths. We already take care to pass relative paths to this script -- see its caller in android/ -- but we absolutize them inside the script. So just the script itself needs to be edited to not do that.
That workaround branch does that, but has some collateral damage. To solve this issue, we'll want to make similar changes to those in the branch, but:

There are some checks on the paths, where we use absolute paths. The branch just deletes those checks, but let's keep them. To do that, we'll want to make absolute paths, but just keep them in their own separate variables.
The branch assumes the current directory when running the script is the root of the zulip-mobile repo. That happens to be true when it's invoked from our build process, but the script should avoid depending on that.

The script should cd to that root directory, at the same point where the current code determines it and stores it in the variable $root.
But: if the current directory starts out somewhere else, the dest path argument passed to the script should be interpreted according to the original current directory. That's normal behavior for any command-line interface.

I am also facing the same issue. Also, I am struggling with installing rsync, please help.

Hi @tusharojha ! Glad to help out with the setup steps. Let's use the chat thread for that.

Is this issue resolved? I am facing same problem , what steps should I follow?

Is this issue resolved? I am facing same problem , what steps should I follow?

@palakyadav1807 This issue is now fixed! If you update to master and just use our normal setup instructions, it should now work.
If you find you're still running into any trouble, please go ahead and ask on #mobile on chat.zulip.org, and we'll debug.

@palakyadav1807 This issue is now fixed! If you update to master and just use our normal setup instructions, it should now work.
If you find you're still running into any trouble, please go ahead and ask on #mobile on chat.zulip.org, and we'll debug.


[release] v0.9.0

Codecov Report
Base: 91.95% // Head: 91.95% // No change to project coverage :thumbsup:

Coverage data is based on head (34253e0) compared to base (dd0b246).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #58   +/-   ##
========================================
  Coverage    91.95%   91.95%
========================================
  Files           20       20
  Lines          547      547
========================================
  Hits           503      503
  Misses          44       44

Impacted Files
Coverage Δ

src/ragger/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Unable to call functions on actors

Hello, I just started using this plugin a couple of days ago. Very cool project, thanks for putting it up here!
While following the samples listed under Native methods VS reflection I discovered that I could access properties of actors as shown in the samples, but when I tried to call functions I get the following errors:
AttributeError: 'unreal_engine.UObject' object has no attribute 'CanModify' or Exception: unable to find function
Here is the code I'm using:
import unreal_engine as ue

#Get the selected StaticMeshActor
world = ue.get_editor_world()
actor = ue.editor_get_selected_actors()[0]

#I can access variables just fine
print(actor) #<unreal_engine.UObject 'SomeCube' (0x00000164545BF200) UClass 'StaticMeshActor'>
print(actor.bHidden) #False
print(actor.StaticMeshComponent) #<unreal_engine.UObject 'StaticMeshComponent0' (0x00000163CB65A080) UClass 'StaticMeshComponent'>

#Errors when trying to call functions
print(actor.CanModify()) #AttributeError: 'unreal_engine.UObject' object has no attribute 'CanModify'
print(actor.call_function("CanModify")) #Exception: unable to find function

I've tried plenty of functions from these pages:
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Engine/AStaticMeshActor/index.html
https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/AActor/index.html
https://docs.unrealengine.com/latest/INT/API/Runtime/CoreUObject/UObject/UObject/index.html
All of the functions give the same error. However, I can access all of the variables listed on those pages just fine. Any idea what's going on?
Two interesting things to note: I'm using Unreal 4.16 and Python 2.7

Hi, only the functions marked in the ue4 docs with the 'u' on the left are available to the reflection system. You can get them with the functions() method (very few are exposed generally).  Handy functions are wrapped by the plugin (can_modify is not but it is very easy to add new wrappers).

here you can get the list of wrappers
https://github.com/20tab/UnrealEnginePython/blob/master/Source/UnrealEnginePython/Private/UEPyModule.cpp#L326

Ah ok I didn't realize, thanks. Is there a small example I could look at for how to add new wrappers?

This commit should help you: https://github.com/20tab/UnrealEnginePython/commit/6f2033392e8a854325b31efe91ad366c368c1dca


Change generated kernel.xml axi manager port width to 512

Need to see where in hardware these changes need to be mirrored, not ready to be merged yet.

According to this, this PR should be fine as is and create the desired output, not causing any mismatches between kernel.xml and the generated verilog code


Create heapsort.java

Heapsort in Java
What the program do ?

In what programming language it is written?

This pull request do not contains files in specific folders. Please fix it and reopen


[SPARK-49854][SQL] Clone artifact manager during session clone

What changes were proposed in this pull request?
This PR implements a proper clone mechanism for ArtifactManager during a Spark Session cloning. The cloned manager will have a fresh copy of all the parent's resources.
During a clone, cached relations, classes, JARs, and Python artifacts are copied to the new instance.
Why are the changes needed?
Before this PR cloning a Spark session won't take parents' artefacts to the cloned session.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
New test.
Was this patch authored or co-authored using generative AI tooling?
No.

The test failed due to flakiness. Re-run has succeeded: https://github.com/xupefei/spark/actions/runs/11177296265

@vicennial This PR changed after your stamp. Could you re-review the change again?
@hvanhovell Please take a look :D

Good to have this to unblock streaming use case!

LGTM - will merge after CI

Seems unrelated. Triggering a re-run.
  File "/__w/spark/spark/python/pyspark/install.py", line 166, in install_spark
    raise OSError("Unable to download %s." % pretty_pkg_name)
OSError: Unable to download spark-3.0.1 for Hadoop hadoop3.2.

Merging to master. Thanks!


Mod menu

It should have the following functions:
player teleport,
speed change,
immortality,
auto search for gems,
turn off traps and collisions,
game acceleration

and increase and decrease the size of the hitbox

Unfortunately this is very far out of scope for this program, sorry.
I'm not interested in making any explicit hacks, sorry.


Improve the postgres upgrade script

This PR moves the set -e to a more appropriate place which fixes an issue where the script does not print an error if one of the checks fails.
Also (more importantly) this fixes an issue where some of the executable files in the installed postgres rpm do not have the correct SELinux context.
This was causing the PostgreSQL server process to not have permissions to access postgresql.conf which was preventing the server from starting.
https://bugzilla.redhat.com/show_bug.cgi?id=1386298

👍 LGTM

Euwe Backport details:
$ git log -1
commit 718497fc614029e2830f4ff87bee807e1731c90b
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Thu Oct 20 14:17:31 2016 -0400

    Merge pull request #96 from carbonin/improve_the_postgres_upgrade_script

    Improve the postgres upgrade script
    (cherry picked from commit 0f9b46a94fc7c705abe5a303f3999c519a1e6504)

    https://bugzilla.redhat.com/show_bug.cgi?id=1387710


Create a better metric for hike difficulty

The current metric factors in speed and overall elevation gain, but a hike can also be difficult if it contains steep sections.
Idea 1:

Calculate the Shenandoah National Park metric (easy, moderate, hard) as it is currently doing
If the trail contains sections that are very steep, increase the rating to moderate or hard (depending on how steep they are / how often they occur)

Here are some difficulty systems that may work: https://trailsnh.com/tools/hiking-difficulty.php
AllTrails seems to use a similar metric to idea 1: https://support.alltrails.com/hc/en-us/articles/16596491196436-How-are-the-difficulty-ratings-on-AllTrails-determined-
I'll be going with a custom algorithm, and validating against all the trails I've done in the past couple years.
Factors:

Total distance
Elevation gain
Elevation loss
Maximum slope
Average slope
Slope histogram (broken into flat, gentle slope, and steep)

Algorithm considerations:

Longer hikes are harder
Uphill hikes are harder
Downhill hikes are not as hard as uphill, but harder than flat
Hikes which have a steep section are harder than a completely flat hike
Hikes with several steeper sections are harder than hikes with only a couple

Tasks

[x] Add custom hike difficulty calculator
[ ] Verify against various trails
[ ] Document custom difficulty algorithm (website)

I once took a baby (strapped on) and two young children (walking) on a hike that SNP rates "Easy." It was not a great experience for them.
Based on that, I would encourage you to show the "points" of the hike next to the label, and click to see the chart for context.

@michaelblyons yeah, I'm surprised on how popular that rating metric is now that I'm getting some feedback on it. Most of the hikes I do are either actually easy (local to my town) or hard (mountains) - and I would agree with the SNP ratings on all of them.
Can you clarify what you would like me to show for the points?
For reference, if you switch to the slope point style (right most dropdown above the path map - defaults to None), it color codes the points based on slope. The elevation chart will also color code by slope (always enabled - assuming there's elevation data on the path).

I just mean the numeric score before it's translated into labels.

Thanks - the SNP score does have a numeric rating that I could display (maybe upon clicking the rating), but it will get tricky after I apply the second step that factors in slope during the path (unless I use an off the shelf rating system)

My initial take at a custom algorithm will be in tonight's nightly build

The algorithm I've landed on is based on the rating system described here: https://www.smcgov.org/parks/county-hiking-trail-difficulty-rating-system
It tries to quantify what that system describes.
Easy:

Less than 2 miles long
Maximum slope is under 15 percent
Gain and loss are under 250ft

Moderate:

Between 2 and 4 miles long
Maximum slope is between 15 and 25 percent
Gain or loss (whichever is greater) is between 250ft and 750ft

Hard:

Over 4 miles long
Maximum slope is over 25 percent
Gain or loss (whichever is greater) is over  750ft

It will check for hard conditions first, then moderate, and finally easy.
This should rate trails harder if they have a steep section even if the whole trail is pretty flat - which was the biggest complaint of the SNP rating.


Support for "OpenSearch Dashboards Minimum" as docker image

Hi,
Currently, on Docker Hub, I can find only OpenSearch Dashboards "full" version:
https://hub.docker.com/r/opensearchproject/opensearch-dashboards
As a plugin developer, I would be very happy to have OpenSearch Dashboards "Minimum" version as a docker image. Either on Docker Hub, or elsewhere.
=> Could you provide "OpenSearch Dashboards Minimum" available as a Docker image?

Hi @fbaligand thanks for opening an issue for your request.  The min distribution is not a production grade distribution as it lacks security hence we only offer it as .tgz, with caveats on the download page. You can view more details around that topic in this issue and this forum thread. Let us know if you have any further questions.

Hi @bbarani ,
Yes I know it and have already downloaded it to try.
As said in documentation, this distribution is intended for plugin developers.
So, as a plugin developer, I actively use Docker to test my plugin, and would love to use a “minimal” distribution to reduce drastically Opensearch/OpenDashboards footprint.
That is why I ask the minimum distribution to be available as a Docker image.
By a way, a lot of Docker images for test/debug purpose, included on Docker Hub.


Can't Select Deployment Folder

My repo has many projects inside and when I'm using GitHub actions it is deploying the entire repo to Azure. After looking into this I don't see a way we can set the default deployment folder but it is unusable to me unless I can achieve this
Thanks,
Joshua

Hi @p0onage  You can specify your folder or package using the following snippet:
name: 'Run Azure webapp deploy action using publish profile credentials'       uses: azure/webapps-deploy@v2       with:          app-name: node-rn         package: '$(System.DefaultWorkingDirectory)/_aabb'
Please let us know if this works for you.

`

name: 'Run Azure webapp deploy action using publish profile credentials'
uses: azure/webapps-deploy@v2
with:
app-name: node-rn
publish-profile: ${{ secrets.azureWebAppPublishProfile }}
`

Hi @p0onage  You can specify your folder or package using the following snippet:
- name: 'Run Azure webapp deploy action'
      uses: azure/webapps-deploy@v2
      with:
        app-name: node-rn
        package: '$(System.DefaultWorkingDirectory)/_aabb'

Please let us know if this works for you.

Reference: https://github.com/Azure/webapps-deploy/blob/master/action.yml#L15

Ahh didn’t see that thank you


ARO-8948: Copy the certificate to private kv

Copy the First Party Certificate bundle from service-kv-aro-hcp-dev keyvault to the private dev keyvault.
What this PR does
Jira:
Link to demo recording:
Special notes for your reviewer

@JameelB I think the identity has that role, as it worked in my tests. But I am not sure how to check it to be 100% sure.

thanks @ahitacat, lgtm!

@geoberle @janboll please take a look when you get a chance.


[kubectl-plugin] Add kubectl ray delete rayservice/job/cluster

Why are these changes needed?
Kubectl-plugin ray delete ray resources.

Related issue number
Part of https://github.com/ray-project/kuberay/issues/2608

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[x] Unit tests
[x] Manual tests
[ ] This PR is not tested :(

Manual run screenshot:


fix(version): update ngx-base to 2.2.8

@fabric8cd fabric8/fabric8-ui:SNAPSHOT-PR-2236-1 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2236-fabric8-planner.badger.fabric8.io


Rename Problems#createProblem to Problems#create

Fixed in https://github.com/gradle/gradle/pull/26885


OPEN-15: Fix issue with modifiers being incorrectly mapped

This solve the issue with the detecting the correct modifier of the methods, nevertheless, when you call QueryClassWriter.buildMethodRefs what is your intention? should synthetic methods also being included @anton-larsen-persequor ?


Fix : show again bifi price on mobile

Show bifi price on mobile menu

fixed on : https://github.com/beefyfinance/beefy-v2/pull/1808


TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

Hi,
I'm having this error with Bitfinex:
Traceback (most recent call last):
  File "/home/user/.vscode/extensions/ms-python.python-2019.1.0/pythonFiles/ptvsd_launcher.py", line 45, in <module>
    main(ptvsdArgs)
  File "/home/user/.vscode/extensions/ms-python.python-2019.1.0/pythonFiles/lib/python/ptvsd/__main__.py", line 348, in main
    run()
  File "/home/user/.vscode/extensions/ms-python.python-2019.1.0/pythonFiles/lib/python/ptvsd/__main__.py", line 253, in run_file
    runpy.run_path(target, run_name='__main__')
  File "/usr/lib/python3.6/runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/usr/lib/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/user/TEST/my_test_ccxt/bot_bitfinex.py", line 107, in <module>
    cerebro.run(exactbars=0) #https://www.backtrader.com/docu/memory-savings/memory-savings.html
  File "/home/user/.local/lib/python3.6/site-packages/backtrader/cerebro.py", line 1127, in run
    runstrat = self.runstrategies(iterstrat)
  File "/home/user/.local/lib/python3.6/site-packages/backtrader/cerebro.py", line 1298, in runstrategies
    self._runnext(runstrats)
  File "/home/user/.local/lib/python3.6/site-packages/backtrader/cerebro.py", line 1623, in _runnext
    self._brokernotify()
  File "/home/user/.local/lib/python3.6/site-packages/backtrader/cerebro.py", line 1360, in _brokernotify
    self._broker.next()
  File "/usr/local/lib/python3.6/dist-packages/bt_ccxt_store-1.0-py3.6.egg/ccxtbt/ccxtbroker.py", line 199, in next
  File "/home/user/.local/lib/python3.6/site-packages/backtrader/position.py", line 193, in update
    self.price = (self.price * oldsize + size * price) / self.size
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

it happens after this:
2019-02-18 15:32:57.065339 - fetch_open_orders - Attempt 0
2019-02-18 15:33:17.162320 - create_order - Attempt 0
2019-02-18 15:33:27.426503 - fetch_order - Attempt 0
2019-02-18 15:33:37.524229 - fetch_ohlcv - Attempt 0
2019-02-18 15:33:47.613561 - fetch_ohlcv - Attempt 0
2019-02-18 15:33:57.695672 - fetch_order - Attempt 0
is happening in with:
self.price = (self.price * oldsize + size * price) / self.size
the error is "TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'"
Any clue?
Thanks

Hi @garofas
Would you be able to recreate it using a simple script that you can share here? That would help for taking a look!
Cheers

Hi @Dave-Vallance,
I'm trying to reproduce. For the moment I've inserted a small piece of code to log what is happening into method "update" of file "backtrader/position.py":
   if size > 0:  # increased position
              opened, closed = size, 0
              import sys
              print("position.py tracing increased position: " + str(self.price), file=sys.stderr) # None
              print("position.py tracing increased position: " + str(oldsize   ), file=sys.stderr) # value at runtime ->0.004
              print("position.py tracing increased position: " + str(size      ), file=sys.stderr) # value at runtime ->0.004
              print("position.py tracing increased position: " + str(price     ), file=sys.stderr) # None
              print("position.py tracing increased position: " + str(self.size ), file=sys.stderr) # value at runtime ->0.008

              self.price = (self.price * oldsize + size * price) / self.size

in the comment the values I'm getting at runtime.
Thanks

Most likely the bug was caused by a problem in the custom sizer. I will update if it happens again.

Ok - Closing for now. Re-open it if you manage to reproduce.

Hi, I still have the issue.
My CCXT version: 1.18.486


Add price impact indicator to the trade component

Fixes #430 .
Changes proposed in this PR:

change the current price impart imput to slippage
add price impact indicator

Trying to figure out how to get the fiat price for the datatoken, any suggestions?

price of datatoken is the actual consume price of the asset which is always shown in OCEAN. Like, the price you pay when buying an asset is the datatoken price. So from there should be simple to convert that to fiat. Unless I'm missing something our price.value should also be the datatoken price but remember we had some different prices somewhere in subgraph along the lines of sport price and consume price or something and I always forget which is which

Yes, spotPrice  != consumePrice

This is still in work progress, but the impact value can be tested.

Still so many UX things to do while testing around but think it's better than having nothing right now. Like, consider this case:

We know tx will fail even before hitting the button, so we should tell that to user in some "are you really sure you want to do this" kind of thing. Our slippage setting does not allow this high impact either so we would need to deal with this too. In general, established user pereception is that price impact above 1-2% is crazy high and all DEX tools mark it visually in red, yet for us we would need some dynamic definition of what's considered too high based on pool size or something. But at least in above example it should rightfully prevent people from loosing money, as going into a trade with a 100% slippage is kinda madness

Still so many UX things to do while testing around but think it's better than having nothing right now. Like, consider this case:

We know tx will fail even before hitting the button, so we should tell that to user in some "are you really sure you want to do this" kind of thing. Our slippage setting does not allow this high impact either so we would need to deal with this too. In general, established user pereception is that price impact above 1-2% is crazy high and all DEX tools mark it visually in red, yet for us we would need some dynamic definition of what's considered too high based on pool size or something. But at least in above example it should rightfully prevent people from loosing money, as going into a trade with a 100% slippage is kinda madness

It will not fail , slippage and price impact differ


num-utils: init at 0.5

Motivation for this change
num-utils is widely packaged in other distros
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Note that the Makefile is hardcoded to try and use rpm, but it fails-safe if rpm isn't available. The only effect is that the build prints an "rpm: command not found" message, which I could patch out, but chose not to to keep the patching minimal.

Result of nixpkgs-review pr 118185 at 751bd8ef run on x86_64-linux 1

1 package built successfully:

num-utils

1 suggestion:

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/tools/text/num-utils/default.nix:14:3:
   |
14 |   patchPhase = ''
   |   ^

No, perl is required at build time.On Jul 3, 2021 04:56, Robert Hensing @.***> wrote:
@roberth commented on this pull request.
In pkgs/tools/text/num-utils/default.nix:

@@ -0,0 +1,26 @@
+{ lib, stdenv, fetchurl, perl }:

+stdenv.mkDerivation rec {

pname = "num-utils";
version = "0.5";

src = fetchurl {
url = "https://suso.suso.org/programs/num-utils/downloads/num-utils-${version}.tar.gz";
sha256 = "0kn6yskjww2agcqvas5l2xp55mp4njdxqkdicchlji3qzih2fn83";
};

buildInputs = [ perl ];

Can this line be removed?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.


Please make ANTLR plugin support kotlin

Expected Behavior
Currently plugin only adds ANTLR generated classes (parser) to java source, for kotlin generated classes are not available with out of the box gradle/plugin config.
Current Behavior (optional)
No response
Context
I'm using kotlin for development

Sorry, on second try it worked, not sure what happened.


problem with the state in @cornerstone/tools

Hi! First of all, thank you for your project. It's very cool, I've been using it for almost a year and built a small web viewer on cornerstone.
When switching to cornerstone 3d, there were some difficulties with annotations state.
If there is no FrameOfReferenceID tag in the dicom file, then state will look like in 1 picture

I'll attach the file
aafddfdf-7b1f-4771-9bb4-15b735575b03.zip

FrameOfReferenceID is a type 1 dicom tag so it should be provided, you need to export your dicoms correctly

I often meet such dicoms. Perhaps the problem is in the equipment.
So I will have to process such cases.
Another question about tools coordinates.
Previously, the origin for (x,y) for CT was the upper-left corner of the canvas. Now the origin of the coordinates is approximately in the middle of the canvas. Can you please tell me how this point is calculated for (x,y). I fill in the annotation.tools manually

I filled in PlanarFreehandROI manually

You can see that the coordinates of the shape start at the point (0,0). I expected it to be the top left corner of the image, but it's about in the middle of the image. Does it work correctly? If so, how is the origin calculated?

Oh I see, the coordinates for annotations in cornerstone3D are all in world Coordinates. If your previous coordinates were canvas or image you can easily convert them to world using
canvas -> world via viewport.canvasToWorld
image to world using core.utilities.imageToWorldCoords

Oh, thx you


⚠ SceneTime has degraded performance

In c3376cf, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1189 ms

Resolved: SceneTime performance has improved in ea68951 after 9 minutes.


Optimize boolean operations between all, any, one, none functions

Apparently we have a bug here:
let arr = [1, 2];
one(arr, # == 1) && one(arr, # == 2)

Reported #624


nonUniformEXT emulation in Virtual Texturing doesn't work on AMD

Describe the bug
The ballot hack doesnt seem to work (infinite loop)
Steps to Reproduce
Get an AMD GPU.
Expected vs observed behavior
It should work
Environment

GPU: AMD

It probably also affects Intel

We can test after a virtual texturing sample runs on VK with AMD

Won't fix, using Vulkan now with descriptor indexing


Record agent/node steps

What
Trace the agent/node steps as spans
Why
Then we can start answering questions such as:

How long does it take to provision the node?
What's the agent with more calls?

My very first attempt with the below pipeline
pipeline {
    agent any
    stages {
        stage('Hello') {
            steps {
                echo 'Hello World'
            }
        }
    }
}

@v1v hmm, we are likely to have to track "onAfterStartNode" in addition to the "onBeforeStartXxx" that we do usually
I have implemented this a while ago and deleted the code to simplify, this piece of code is hard to read :neutral_face:
https://github.com/jenkinsci/opentelemetry-plugin/blob/7d80e48df4e27517a748cd443d32c28431638a48/src/main/java/io/jenkins/plugins/opentelemetry/job/jenkins/GraphListenerAdapterToPipelineListener.java#L29