CTD when Alt-Tabbing or setting game to borderless

As the title says, I get a flat CTD when I alt tab or change the game to anything but fullscreen

With this latest release?

With this latest release?

https://github.com/yamashi/CyberEngineTweaks/releases/tag/v1.8.0
Just to make sure...
If so, please, post log which can be found at plugins/cyber_engine_tweaks/cyber_engine_tweaks.log.

https://github.com/yamashi/CyberEngineTweaks/releases/tag/v1.8.0
Just to make sure...
If so, please, post log which can be found at plugins/cyber_engine_tweaks/cyber_engine_tweaks.log.

I'm experiencing the same issue on this version. Was following the previous post someone made about this for 1.4 or 1.6 as well so was excited to see that this was finally resolved :(
Attached below is the log file for the last 2 game boots: first with overlays on and second with them off, loaded the same save for both then Alt-Tabbed as soon as I was in game.
I had completely removed the previous files and started the game once normally before copying the 1.8 files over and didn't change the default config.json settings. Also playing on GOG version if that matters.
cyber_engine_tweaks.log

I'm experiencing the same issue on this version. Was following the previous post someone made about this for 1.4 or 1.6 as well so was excited to see that this was finally resolved :(
Attached below is the log file for the last 2 game boots: first with overlays on and second with them off, loaded the same save for both then Alt-Tabbed as soon as I was in game.
I had completely removed the previous files and started the game once normally before copying the 1.8 files over and didn't change the default config.json settings. Also playing on GOG version if that matters.
cyber_engine_tweaks.log

With this latest release?

Yeah. Turns out this happens when you launch the game in full screen.
I was able to fix it by launching the game in borderless mode, but it's still quite annoying.

With this latest release?

Yeah. Turns out this happens when you launch the game in full screen.
I was able to fix it by launching the game in borderless mode, but it's still quite annoying.

Try to download this debug version, replace with it current .asi file you have and CTD for me please.
cyber_engine_tweaks.zip
After this, please navigate to this folder (open Windows Explorer and paste this into path field)
%TEMP%\..\REDEngine\ReportQueue
Package latest report folde there and post it here if you can (there should be no sensitive info if you are worried about that, just snapshot from crash so I can look where it died)

Try to download this debug version, replace with it current .asi file you have and CTD for me please.
cyber_engine_tweaks.zip
After this, please navigate to this folder (open Windows Explorer and paste this into path field)
%TEMP%\..\REDEngine\ReportQueue
Package latest report folde there and post it here if you can (there should be no sensitive info if you are worried about that, just snapshot from crash so I can look where it died)

I'm writing to try this as these issues should have been fixed with 1.8.0 so I'm bit confused.
Multiple people had tested it before release, noone reported any issues, quite the contrary - solved all crashes for them.
So yeah... If I can, I would like to analyze this.

I'm writing to try this as these issues should have been fixed with 1.8.0 so I'm bit confused.
Multiple people had tested it before release, noone reported any issues, quite the contrary - solved all crashes for them.
So yeah... If I can, I would like to analyze this.

Figured I may as well help with this as well - here is the dump from my latest crash:
Cyberpunk2077-20210103-123801-18604-7584.zip
More info in case it's helpful:

Figured I may as well help with this as well - here is the dump from my latest crash:
Cyberpunk2077-20210103-123801-18604-7584.zip
More info in case it's helpful:

@Ryft917 Have you got any other programs running apart from CP2077? OBS in particular, as your minidump's stacktrace implicates it:
0:000> kb
 # RetAddr           : Args to Child                                                           : Call Site
00 00007ffb`00910d40 : 0000506d`38da3eea 00000000`00000001 00000000`00000060 00007ffb`008ec8ff : ntdll!NtWaitForMultipleObjects+0x14
01 00007ffb`00910c3e : 00007ff6`bdf1e6a0 00007ff6`bc03e45d 00007ff6`bdf20d60 000001a0`80508a60 : KERNELBASE!WaitForMultipleObjectsEx+0xf0
02 00007ff6`bc03df27 : 00000076`879feeb0 00000000`00000000 00007ff6`bca31650 00007ff6`bca2a930 : KERNELBASE!WaitForMultipleObjects+0xe
03 00007ff6`bc039d7a : 000001a0`804345f0 00000000`00000000 00000000`00000000 00000000`000048ac : Cyberpunk2077!NVSDK_NGX_D3D12_Shutdown+0x6a457
04 00007ff6`bc03a7bf : 000001a0`804345f0 00000000`00000000 000001a0`80508a60 00000000`00000000 : Cyberpunk2077!NVSDK_NGX_D3D12_Shutdown+0x662aa
05 00007ffb`02c483dc : 00000076`879fe750 00000190`00000000 00000000`01000000 006f0067`00650053 : Cyberpunk2077!NVSDK_NGX_D3D12_Shutdown+0x66cef
06 00007ffb`02c1b406 : 00000076`879feeb0 00000076`879fe9c0 00000004`00000000 00007ffb`004c59a4 : ntdll!RtlpCallVectoredHandlers+0x108
07 00007ffb`02c6fe3e : 000001be`22be8060 00000000`00000080 00007ffa`c5812a68 00007ffa`a701f5d6 : ntdll!RtlDispatchException+0x66
08 00007ffa`fce61c21 : 00007ffa`c5812a68 000001c1`b54ca828 00000000`00000001 00000000`00000000 : ntdll!KiUserExceptionDispatch+0x2e
09 00007ffa`c576dc73 : 00000000`00000000 00007ffa`c58128d8 00000000`00000000 00007ffa`c5812a28 : d3d11!NDXGIOn12::CDevice::ReleaseWrappedResources+0x61
0a 00000000`00000000 : 00007ffa`c58128d8 00000000`00000000 00007ffa`c5812a28 00000000`00000d70 : Graphics_Hook64+0x1dc73

(bottom two frames are relevant, the rest is crash handling)
Graphics_Hook64 looks to me like the OBS capture DLL. (Note that this doesn't mean that the crash isn't caused by CET, but it does make OBS the primary suspect.) If you do have OBS enabled, can you reproduce the crash (1) with CET and without OBS, and (2) without CET and with OBS?

@Ryft917 Have you got any other programs running apart from CP2077? OBS in particular, as your minidump's stacktrace implicates it:
0:000> kb
 # RetAddr           : Args to Child                                                           : Call Site
00 00007ffb`00910d40 : 0000506d`38da3eea 00000000`00000001 00000000`00000060 00007ffb`008ec8ff : ntdll!NtWaitForMultipleObjects+0x14
01 00007ffb`00910c3e : 00007ff6`bdf1e6a0 00007ff6`bc03e45d 00007ff6`bdf20d60 000001a0`80508a60 : KERNELBASE!WaitForMultipleObjectsEx+0xf0
02 00007ff6`bc03df27 : 00000076`879feeb0 00000000`00000000 00007ff6`bca31650 00007ff6`bca2a930 : KERNELBASE!WaitForMultipleObjects+0xe
03 00007ff6`bc039d7a : 000001a0`804345f0 00000000`00000000 00000000`00000000 00000000`000048ac : Cyberpunk2077!NVSDK_NGX_D3D12_Shutdown+0x6a457
04 00007ff6`bc03a7bf : 000001a0`804345f0 00000000`00000000 000001a0`80508a60 00000000`00000000 : Cyberpunk2077!NVSDK_NGX_D3D12_Shutdown+0x662aa
05 00007ffb`02c483dc : 00000076`879fe750 00000190`00000000 00000000`01000000 006f0067`00650053 : Cyberpunk2077!NVSDK_NGX_D3D12_Shutdown+0x66cef
06 00007ffb`02c1b406 : 00000076`879feeb0 00000076`879fe9c0 00000004`00000000 00007ffb`004c59a4 : ntdll!RtlpCallVectoredHandlers+0x108
07 00007ffb`02c6fe3e : 000001be`22be8060 00000000`00000080 00007ffa`c5812a68 00007ffa`a701f5d6 : ntdll!RtlDispatchException+0x66
08 00007ffa`fce61c21 : 00007ffa`c5812a68 000001c1`b54ca828 00000000`00000001 00000000`00000000 : ntdll!KiUserExceptionDispatch+0x2e
09 00007ffa`c576dc73 : 00000000`00000000 00007ffa`c58128d8 00000000`00000000 00007ffa`c5812a28 : d3d11!NDXGIOn12::CDevice::ReleaseWrappedResources+0x61
0a 00000000`00000000 : 00007ffa`c58128d8 00000000`00000000 00007ffa`c5812a28 00000000`00000d70 : Graphics_Hook64+0x1dc73

(bottom two frames are relevant, the rest is crash handling)
Graphics_Hook64 looks to me like the OBS capture DLL. (Note that this doesn't mean that the crash isn't caused by CET, but it does make OBS the primary suspect.) If you do have OBS enabled, can you reproduce the crash (1) with CET and without OBS, and (2) without CET and with OBS?

I don't use OBS, but I do use the Windows Game Bar capture features to record gameplay. I turned this off in Windows settings and force quit the related processes in task manager, game still crashed when Alt-Tabbing.
Never had any issues with Alt-Tabbing without CET before so this works correctly regardless of whether Game Bar is running or not.

I don't use OBS, but I do use the Windows Game Bar capture features to record gameplay. I turned this off in Windows settings and force quit the related processes in task manager, game still crashed when Alt-Tabbing.
Never had any issues with Alt-Tabbing without CET before so this works correctly regardless of whether Game Bar is running or not.

If this is not OBS, then you'll need to find Graphics Hook64.dll somewhere on your hard disk and find out what product/application it is a part of. (The minidump doesn't contain the path to the DLL unfortunately, only the filename.)
If the game doesn't crash when alt tabbing without CET then CET is definitely somehow at fault, but without having the DLL that's directly implicated in the stacktrace above I can't reproduce this.

If this is not OBS, then you'll need to find Graphics Hook64.dll somewhere on your hard disk and find out what product/application it is a part of. (The minidump doesn't contain the path to the DLL unfortunately, only the filename.)
If the game doesn't crash when alt tabbing without CET then CET is definitely somehow at fault, but without having the DLL that's directly implicated in the stacktrace above I can't reproduce this.

So I found out what program Graphics Hook64.dll belonged to and quit it before launching the game with CET....I can now Alt-Tab correctly without CTD!
Turns out NZXT CAM was the culprit which is a bit of a pain as I've been using it to monitor my system temps/loads while gaming, but there are plenty of other alternatives for that that hopefully won't cause this crash.

So I found out what program Graphics Hook64.dll belonged to and quit it before launching the game with CET....I can now Alt-Tab correctly without CTD!
Turns out NZXT CAM was the culprit which is a bit of a pain as I've been using it to monitor my system temps/loads while gaming, but there are plenty of other alternatives for that that hopefully won't cause this crash.


Paper URL has SSL problems

This link from the README:
https://functorial.com/the-future-is-comonadic/main.pdf
produces errors in the browser. It appears this is an attempt at a custom URL for a file served by Github, but without SSL set up.
Easiest fix is probably to just replace this URL with one that points to the real location without the custom (non-working) domain name.

Sorry about that. everything is an HTTPS link on this computer :). Will "fix" it.


Style: default styles for lists

https://github.com/swisspost/design-system/blob/e5c503e10aa3afdcfc2ad1a3ceac2239bf56190f/packages/styles/src/layouts/portal/_type.scss#L62-L65
The portal type styles don't define font weight light as a default. This does not match the default paragraph font weight.

Closing as won't do. This will be updated soon anyways.


 However, this only bans a ip/port tuple
and not all ports on a given IP address.
This commit adds the ability to ban just IP addresses. When banned, packets
from that IP address will be dropped and new connections will not be made.
To prevent IP spoofing we need to test the IP address in both the IP packet
header and rudp packet header against the ban list.

@Renelvon you want to take a look and see if this is how you would do it.


docs: Update design.md with the new architecture

Introduced in system-wide (https://github.com/parca-dev/parca-agent/pull/627)

Fixed by https://github.com/parca-dev/docs/pull/202 and https://github.com/parca-dev/parca-agent/pull/1084


Edit geometrypath with wrapping

Fixes issue #303
Brief summary of changes
On GeometryPath edit, recreate visualization completely rather than incrementally insert/remove pathpoint visualization artifacts.
Testing I've completed
Add/Delete/Change-frame of path points all work as expected. With so many possible pathways to edit (add/delete/change-frame at end-points and in the middle of the path) it would be good to have another pair of eyes test the change to make sure all scenarios are handled properly.
CHANGELOG.md (choose one)

no need to update because bugfix

Need opensim-core PR https://github.com/opensim-org/opensim-core/pull/2268 so that inserting a new pathpoint places it in sensible location.


About how to set the rotation direction of the camera preview control

Describe the bug
Please tell me how to operate the MediaCapture class to rotate the video content of MediaFrameSource. When I use the uwp api to operate, I cannot effectively rotate the video.
Steps to reproduce the bug
Use the following code to operate.
   var video = _mediaCapture.VideoDeviceController;
   var props = _mediaCapture.VideoDeviceController.GetMediaStreamProperties(MediaStreamType.VideoPreview);
   Guid RotationKey = new Guid("C380465D-2271-428C-9B83-ECEA3B4A85C1");
   props.Properties.Add(RotationKey, 90);
   try
   {
       await _mediaCapture.SetEncodingPropertiesAsync(MediaStreamType.VideoPreview, props, null);

   }
   catch (Exception ex)
   {

   }

This code does not work effectively. Is there a new API or is this feature simply unavailable?
Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.5.1: 1.5.240311000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response

It looks like MediaStreamType.VideoPreview properties only apply to the way UWP XAML rendered the preview of a MediaCapture, which used private APIs. Investigation will be required to see if there is a way to apply it for WinAppSDK.
For preview, you may be able to apply a transform, similar to what the sample in WinUI 3 Gallery does for simple mirroring. But if you also need to apply a rotation to the recorded video, I think there will still be an issue.

It looks like MediaStreamType.VideoPreview properties only apply to the way UWP XAML rendered the preview of a MediaCapture, which used private APIs. Investigation will be required to see if there is a way to apply it for WinAppSDK.
For preview, you may be able to apply a transform, similar to what the sample in WinUI 3 Gallery does for simple mirroring. But if you also need to apply a rotation to the recorded video, I think there will still be an issue.

I achieved this by setting the PlaybackSession.PlaybackRotation of the MediaPlayerElement's MediaPlayer object
 private void CameraPreviewControl_PreviewCameraChanged(object? sender, CommunityToolkit.WinUI.Controls.PreviewCameraChangedEventArgs e)
    {
        if (e.CameraName != null && e.CameraName.EndsWith("Cam"))
        {
            CameraPreviewControl.MediaPlayer.PlaybackSession.PlaybackRotation = Windows.Media.MediaProperties.MediaRotation.Clockwise270Degrees;
        }
        else
        {
            CameraPreviewControl.MediaPlayer.PlaybackSession.PlaybackRotation = Windows.Media.MediaProperties.MediaRotation.None;
        }
    }


Improvements for SKCanvasViewRenderer

Hi!
I'ts been a while that we touched our SVG project, but now we're on the go again and it is amazing to see how SkiaSharp has evolved so far. Congratulations - you're doing a great job!
That said, we recently came across a problem when inheriting the SKCanvasViewRenderer as described in: https://github.com/mattleibow/SkiaSharpFormsRendererDemo
The problem is, that we need to create our own view on Android and iOS, as we need to override their "public override void TouchesBegan(NSSet touches, UIEvent evt)" and or "public override bool OnTouchEvent(MotionEvent ev)" methods.
Problem: when inheriting your SKCanvasViewRenderer, that viewtype is basically fixed.
So we refactored it a bit and created a "SKCanvasViewRendererBase<TFormsView, TNativeView>"
Note: I would love to create a PR for this, but it is sooooo cumbersome to get skia to build on my windows machine. If there was a script that did not only update the submodule but also build it, that would be soooooo great! (and bring a lot of contributors to your project)
In order to create our own renderer, we copied your SkiaSharp.Views.Forms.SKCanvasView (because its  interface ISKCanvasViewController is internal)
The only thing we changed is the "X" at the end of the classname and that the interface is now public

using System;
using Xamarin.Forms;

namespace SkiaSharp.Views.Forms
{
    public class SKCanvasViewX : View, ISKCanvasViewController
    {
        public static readonly BindableProperty IgnorePixelScalingProperty =
            BindableProperty.Create(nameof(IgnorePixelScaling), typeof(bool), typeof(SKCanvasViewX), default(bool));

        // the user can subscribe to repaint
        public event EventHandler<SKPaintSurfaceEventArgs> PaintSurface;

        // the native listens to this event
        private event EventHandler SurfaceInvalidated;
        private event EventHandler<GetCanvasSizeEventArgs> GetCanvasSize;

        // the user asks the for the size
        public SKSize CanvasSize
        {
            get
            {
                // send a mesage to the native view
                var args = new GetCanvasSizeEventArgs();
                GetCanvasSize?.Invoke(this, args);
                return args.CanvasSize;
            }
        }

        public bool IgnorePixelScaling
        {
            get { return (bool)GetValue(IgnorePixelScalingProperty); }
            set { SetValue(IgnorePixelScalingProperty, value); }
        }

        // the user asks to repaint
        public void InvalidateSurface()
        {
            // send a mesage to the native view
            SurfaceInvalidated?.Invoke(this, EventArgs.Empty);
        }

        // the native view tells the user to repaint
        protected virtual void OnPaintSurface(SKPaintSurfaceEventArgs e)
        {
            PaintSurface?.Invoke(this, e);
        }

        // ISKViewController implementation

        event EventHandler ISKCanvasViewController.SurfaceInvalidated
        {
            add { SurfaceInvalidated += value; }
            remove { SurfaceInvalidated -= value; }
        }

        event EventHandler<GetCanvasSizeEventArgs> ISKCanvasViewController.GetCanvasSize
        {
            add { GetCanvasSize += value; }
            remove { GetCanvasSize -= value; }
        }

        void ISKCanvasViewController.OnPaintSurface(SKPaintSurfaceEventArgs e)
        {
            OnPaintSurface(e);
        }
    }

    public interface ISKCanvasViewController : IViewController
    {
        // the native listens to this event
        event EventHandler SurfaceInvalidated;
        event EventHandler<GetCanvasSizeEventArgs> GetCanvasSize;

        // the native view tells the user to repaint
        void OnPaintSurface(SKPaintSurfaceEventArgs e);
    }
    public class GetCanvasSizeEventArgs : EventArgs
    {
        public SKSize CanvasSize { get; set; }
    }
}

with that, we could e.g. create a SKCanvasViewRendererBase for Android (iOS looks the same):

using System;
using System.ComponentModel;
using Xamarin.Forms.Platform.Android;

using SKFormsView = SkiaSharp.Views.Forms.SKCanvasViewX;
using SKNativeView = SkiaSharp.Views.Android.SKCanvasView;

namespace SkiaSharp.Views.Forms
{
    public class SKCanvasViewRendererBase<TFormsView, TNativeView> : ViewRenderer<TFormsView, TNativeView>
        where TNativeView : SKNativeView, IPaintSurface
        where TFormsView : SKFormsView
    {
        protected override void OnElementChanged(ElementChangedEventArgs<TFormsView> e)
        {
            if (e.OldElement != null)
            {
                var oldController = (ISKCanvasViewController)e.OldElement;

                // unsubscribe from events
                oldController.SurfaceInvalidated -= OnSurfaceInvalidated;
                oldController.GetCanvasSize -= OnGetCanvasSize;
            }
            if (Control != null)
            {
                Control.PaintSurface -= OnPaintSurface;
            }

            if (e.NewElement != null)
            {
                var newController = (ISKCanvasViewController)e.NewElement;

                // create the native view
                var view = CreateNativeView();
                view.IgnorePixelScaling = e.NewElement.IgnorePixelScaling;
                view.PaintSurface += OnPaintSurface;
                SetNativeControl(view);

                // subscribe to events from the user
                newController.SurfaceInvalidated += OnSurfaceInvalidated;
                newController.GetCanvasSize += OnGetCanvasSize;

                // paint for the first time
                Control.Invalidate();
            }

            base.OnElementChanged(e);
        }

        protected virtual TNativeView CreateNativeView()
        {
            var view = (TNativeView)Activator.CreateInstance(typeof(TNativeView), new object[] {Context, null});
            return view;
        }

        protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            base.OnElementPropertyChanged(sender, e);

            if (e.PropertyName == nameof(SKFormsView.IgnorePixelScaling))
            {
                Control.IgnorePixelScaling = Element.IgnorePixelScaling;
            }
        }

        protected override void Dispose(bool disposing)
        {
            // detach all events before disposing
            var controller = (ISKCanvasViewController)Element;
            if (controller != null)
            {
                controller.SurfaceInvalidated -= OnSurfaceInvalidated;
            }

            base.Dispose(disposing);
        }

        private void OnSurfaceInvalidated(object sender, EventArgs eventArgs)
        {
            // repaint the native control
            Control.Invalidate();
        }

        // the user asked for the size
        private void OnGetCanvasSize(object sender, GetCanvasSizeEventArgs e)
        {
            e.CanvasSize = Control?.CanvasSize ?? SKSize.Empty;
        }

        private void OnPaintSurface(object sender, Android.SKPaintSurfaceEventArgs e)
        {
            var controller = this.Element as ISKCanvasViewController;

            // the control is being repainted, let the user know
            controller?.OnPaintSurface(new SKPaintSurfaceEventArgs(e.Surface, e.Info));
        }
    }
}

=> thanks to "protected virtual TNativeView CreateNativeView()" we can now create our very own view - yay!!
Now the problem you tried to solve by the internal class was to call the "SKCanvasView.OnPaintSurface" method once the native view was rendered, so skia could work its magic.
We solved that by simply creating an interface (which is basically already implemented by all your SkiaSharp views)

using System;
using SkiaSharp;
#if WINDOWS_UWP
using SkiaSharp.Views.UWP;
#elif PLATFORM_ANDROID
using SkiaSharp.Views.Android;
#else
using SkiaSharp.Views.iOS;
#endif

namespace SkiaSharp.Views
{
    public interface IPaintSurface
    {
        event EventHandler<SKPaintSurfaceEventArgs> PaintSurface;
    }
}

so the renderer can forward the rendering using that interface. This is the reason for the generic definition:
public class SKCanvasViewRendererBase<TFormsView, TNativeView> : ViewRenderer<TFormsView, TNativeView>
where TNativeView : SKNativeView, IPaintSurface
where TFormsView : SKFormsView
Now using this base renderer, we can easily create our own one, which uses it own tailor-made native view:

[assembly: ExportRenderer(typeof( Svg.Editor.Forms.SvgCanvasEditorView), typeof(SvgCanvasEditorViewRenderer))]
namespace Svg.Editor.Forms.Droid
{
    public class SvgCanvasEditorViewRenderer : SKCanvasViewRendererBase< Svg.Editor.Forms.SvgCanvasEditorView, Svg.Editor.Views.Droid.SvgCanvasEditorView>
    {
     }
}

For a running example, look at our "uwp_ios" branch: https://github.com/gentledepp/SVG/tree/uwp_ios
;-)

Thanks for this! I will get this in for the next release. I am just about to release v1.56.2, so I don't want to change too much at this point. Thanks again.
About building on Windows, I left a comment on your other issue. I want to get this all smooth!

ok great!
but when you will release soon, you might want to have a look at #260 ?
Because that is a downwardly-compatible change 💃

Ok, but if you let your "SKCanvasViewRenderer" inherit from "SKCanvasViewRendererBase<TForms,TNative>" then this is even downwardly compatible ;-)

That is what I will probably do.
Is there a reason you didn't just inherit from my Forms SKCanvasView? Did you really need access to one of the members of the ISKCanvasViewController interface, or was it just as a result of creating a new type?

Yes: SKCanvasView has this interface internal
which in turn is required for the SKCanvasViewRenderer

Still have some problems building, but I hope I will eventually be able to solve that.
Meanwhile I had a closer look at the SKGLView and its renderers and as it looks, the renderers could be equally refactored to support custom native views using the following no-brainer interface:

using System;
using SkiaSharp;
#if WINDOWS_UWP
using SkiaSharp.Views.UWP;
#elif PLATFORM_ANDROID
using SkiaSharp.Views.Android;
#else
using SkiaSharp.Views.iOS;
#endif

namespace SkiaSharp.Views
{
    public interface IPaintSurface
    {
        event EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
    }
}

So it would be reeeeeally great if that could be implemented some time. Maybe I will even be able to create a PR for this 👍

@gentledepp I am still working on this, but here is what I have so far: PR #269
I have basically created a base type for the renderers (one for GL and one for Raster). This base does nothing except hook up events.
Then, for each Raster platform there can be some customization. Right now there is none, except for iOS which changes the opacity.
For the GL platforms, I hook up the render loops.
For extension purposes, you can inherit from the base renderer and this gives you the "factory" state  for your own view. If you use the "platform" renderer type, then you will get some "consistency" (iOS opacity) changes and the render loop.
In each case, all you should have to do is to implement the CreateNativeControl method:
protected override SKCanvasView CreateNativeControl()
{
    // use the base / default type
    //var view = base.CreateNativeControl();

    // use a custom type
    return new MyCustomCanvasView();
}

Moving to the next release so we can get the new skia out.

Closed after #269 merged.


azure CLI doesn't work for Geo-Restore

To restore a database by using the Azure CLI, see az sql db restore.
az sql db restore doesn't have an option to specify the target SQL server, only the target database on the local (source) SQL server.
PowerShell Geo-restore works fine and allows to specify Target Server.

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

ID: 1357a5f7-2e8e-9aab-5bc9-3a61f1a07f4f
Version Independent ID: 47497fe4-d8ab-87fc-3ca0-b46bbddb25f8
Content: Restore a database from a backup - Azure SQL Database
Content Source: azure-sql/database/recovery-using-backups.md
Service: sql-database
Sub-service: backup-restore
GitHub Login: @SudhirRaparla
Microsoft Alias: nvraparl

Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@SudhirRaparla Could you please look into this ask?

Looking into it.

az sql db restore, Azure CLI command does not support Geo-restore as of now. We are working on bridging this gap.

Hi @vlad-kozlov thanks for reaching out! As Sudhir was able to address your question, I'll go ahead and close out this Git Issue but please feel free to comment should you need anything further.
Thanks again for contacting Microsoft and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close

@SudhirRaparla , do we have ETA for the Azure CLI geo-restore? and should the documentation page exclude Azure CLI for geo-restore not to confuse customers?


14/WAKU2-MESSAGE: Meta attribute and deterministic hashing

This is a feature  request
Problem
https://github.com/vacp2p/rfc/pull/573 introduces two changes to 14/WAKU2-MESSAGE:

a new meta attribute
Deterministic message hashing

See RFC PR for reasoning
Acceptance Criteria

[ ] meta attribute added to protobuf and exposed on

[ ] encoder API
[ ] Decoded messages

[ ] Deterministic message hashing logic available and easy to use with encoder API (test vectors https://github.com/vacp2p/rfc/pull/577/files )

Can talk with @felicio on how they'd expect to use the hash and meta field.
On Waku side usages:

reduce dupe messages in Store
avoid relaying dupe messages in relay
avoid emitting dupe message to user for filter and relay

Note sure on validation logic, need to clarify:

When receiving a message, the user (ie status web) would check that the meta field contains the hash
When sending a message a user (ie status web), calculate hash and use to check dupe
A user may want to use the meta field to check dupe (or should we always use it for dupes if set? or only use the hash for dupes).

My notes:

https://discord.com/channels/864066763682218004/1064649971497971862/threads/1065325922372296714 (discussion)
https://discord.com/channels/864066763682218004/1064649971497971862/threads/1070650872406753330 (discussion)

FYI, first step is to check that gossipsub messages are Waku Messages are not forward them if they aren't: https://github.com/waku-org/js-waku/pull/1227
This we can see the underlying gossipsub API for message verification.
We would probably expose a similar API on Waku Relay but that take Waku Message in input.
And then, expose a similar API for Filter and possibly store so that messages that do not pass the validator are dropped and not emitted/returned.

This we can see the underlying gossipsub API for message verification.

Not "verification" per se, or at least not until a usage of the meta field is defined for Status Communities.

And then, expose a similar API for Filter and possibly store so that messages that do not pass the validator are dropped and not emitted/returned.

Not really any point doing a filtering on filter and store as the same logic is being implemented in nwaku.
However, could be used in relay to filter dupe, the same way it will be done in nwaku (hence best to wait for it to be done in nwaku).

Note that for Relay/gossipsub. The aim is to use the MUID (concat(hash,meta)) to generate the gossipsub message id (previously was sha256(data) where data is the wire message).
However, I am not sure I understand what would be the gain if the seen window is not changed.

@weboko Why did #1237 closed this issue?

I believe one of the missing parts is to add support in js-rln and js-noise.
@fryorcraken ?

I believe one of the missing parts is to add support in js-rln and js-noise. @fryorcraken ?

Yes but let's get this https://github.com/waku-org/js-waku/pull/1233 merged first as it uses the new meta field.
I have one todo item in the PR and then I want to double check with nwaku devs that my understanding is correct.


Missing "Order" attribute in UpdateConfig

Description
We have some services that are configured with --update-order start-first but when we use docker-client to update them (generally to update the version of the service), theupdate-order config is reset to its default value.
This is due, or partly due, to a missing attribute named Order in https://github.com/spotify/docker-client/blob/14b4464fb7acec25073c8c9c564136188f94562c/src/main/java/com/spotify/docker/client/messages/swarm/UpdateConfig.java
There is some other attributes missing like "Monitor" and "MaxFailureRatio" but I don't use them (c.f. https://docs.docker.com/engine/api/v1.39/swagger.yaml)
Software:

docker version:
Only on server

Containers: 2
 Running: 2
 Paused: 0
 Stopped: 0
Images: 2
Server Version: 18.09.0
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
 NodeID: vght1neplfryx4y94mwcbyxvg
 Is Manager: true
 ClusterID: xmssazjtc8l3lyduw7x91oh32
 Managers: 3
 Nodes: 13
 Default Address Pool: <IP_ADDRESS>/8
 SubnetSize: 24
 Orchestration:
  Task History Retention Limit: 2
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 30 seconds
 CA Configuration:
  Expiry Duration: 3 months
  Force Rotate: 0
 Autolock Managers: false
 Root Rotation In Progress: false
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
  <IP_ADDRESS>:2377
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.15.1-1.el7.elrepo.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 963.4MiB
Name: swarmmgr
ID: YWZI:RRKD:4SKK:AAAX:O73K:FBL3:IZQK:ZXD6:LPX3:SJNZ:XPVB:G354
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 129
 Goroutines: 253
 System Time: 2019-03-19T11:14:11.183487498+01:00
 EventsListeners: 2
Username: ***
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false
Product License: Community Engine

Spotify's docker-client version: 8.15.1

I would like this to be fixed as well,  #1149 looks OK the build seems to fail because of something unrelated to my opinion => https://github.com/spotify/dockerfile-maven/issues/69


Add mobile tab bar to switch between views

Summary
AntAlmanac now works on mobile!
When the screen size is less than 750px, a tab bar will appear on the bottom with calendar and search tabs. Users can switch between either the Calendar view or the right pane view.

Note: the gif looks like it's off-center, but that's just because I misaligned the screen recording
In this PR, I also created a new component called Home since App was starting to get bloated. There were several small css changes too.
Test Plan

On mobile, search for a class, add a class, view class on the map, view classes under "Added Classes", view class on the calendar, click on classes in the calendar
On desktop, verify that the styling for the right pane did not create any regressions. Check class search, added classes, and map.

Issues
Closes #125
Future Followup
The more I look at our styling, the sadder I become. There's a lot of refactoring that needs to be done with our CSS. It's pretty inconsistent and hard to work with.
I think we should look into standardizing the left pane calendar and right pane desktop tabs into a View component that had a menu bar and content. This would help us keep margins and paddings are consistent.

Is it possible to just use the abbreviations of those days (Sun, Mon, Tue, etc.) on mobile?

Good idea! I've created #244 for that since I think it could be a good task for the fellowship students.

Any other changes you'd like to see? Or is this good to go?


adding an advanced method for utilising cache with fetch

Based off issue 7640

closes #7640

Hi team, is this ready to be merged?


CSI/CPI pre-bootstrap secrets are being created when the feature flag is disabled

Setup

Rancher version: 2.9.3, 2.10-head
Rancher UI Extensions:
Browser type & version:

Describe the bug
When provisioning a CSI/CPI with pre-bootstrap disabled the secrets for csi/cpi are created on the local cluster instead of the downstream cluster which causes the cluster to hang in bootstrapping.
To Reproduce

Create a csi/cpi cluster
Wait for it to hang in the bootstrap stage.
Go to the local cluster and search for csi/cpi secrets

Result
The secrets are populated in the local cluster instead of the downstream cluster causing the bootstrap stage to fail.
Expected Result
The secrets are stored in the downstream cluster.
Screenshots

@susesgartner can you confirm the downstream cluster does not receive the secret also that the downstream cluster does not eventual provision? Also can you confirm the annotations of the two secrets?
A change introduced in 2.10.0, 2.9.3 and 2.8.9 means the secret is created in the upstream cluster and then synced down to the target cluster pre-bootstrap.
Not sure where they are with 2.10.0 release notes, but for 2.9.3 see security fix point 3 and https://github.com/rancher/rancher/security/advisories/GHSA-xj7w-r753-vj8v

I can confirm that the downstream cluster does not provision. The secret doesn't exist in the downstream cluster which is what I would expect since pre-bootstrapping is disabled.
The change that was introduced as part of the pre-bootstrapping feature should be conditional on the pre-bootstrapping feature being enabled. When it is disabled (which it is by default) the secret would not populate to the downstream cluster (since it can only do that if pre-bootstrapping is enabled), instead I would expect to see the original functionality pre-2.9.3 to be observed until the user enables the pre-bootstrap feature flag.
2.10.0 is still being worked on.

That's been missed, the UI will always create the secret upstream and expect it synced downstream.
@susesgartner can you provide details on the feature flag name?
@momesgin we need to return early in both handleVsphereCpiSecret and handleVsphereCsiSecret in shell/utils/v-sphere.ts if the feature flag is disabled. looking at the code that would then result in the previous functionality, could you confirm and implement if so?

That's been missed, the UI will always create the secret upstream and expect it synced downstream.
@susesgartner can you provide details on the feature flag name?
@momesgin we need to return early in both handleVsphereCpiSecret and handleVsphereCsiSecret in shell/utils/v-sphere.ts if the feature flag is disabled. looking at the code that would then result in the previous functionality, could you confirm and implement if so?

@richard-cox Sure, I'll add that to the logic, but in terms of real testing I should leave it to the QA as I don't have access to vSphere env anymore.

/backport v2.9.5

/backport v2.8.10

/backport v2.11.0

This is blocking vSphere chart updates now for release so this is remains a critical thing to get. Keep @Sahota1225 in the loop so she can let Hostbusters QA know since sign-off needs this.

Ticket #12530 - Test Results - ✅

Scenario
Test Case
Result

1.
Provisioning test
PASS

2.
Provisioning prebootstrap test
PASS

3.
Migration test
PASS

Verified with (HA Helm or Docker) on Rancher v2.10-df21a48ad5e8007f449889a66c6ee1f4ba7af4ea-head:
Scenario 1: Provisioning test

Provision a RKE2 csi/cpi cluster with pre-bootstrapping disabled
Verify that the cluster comes up active and all pods are in a stable state

Results: the cluster comes up active and all pods are in a stable state

Scenario 2: Provisioning prebootstrap test

Provision a RKE2 csi/cpi cluster with pre-bootstrapping enabled
Verify that the cluster comes up active and all pods are in a stable state

Results: the cluster comes up active and all pods are in a stable state

Scenario 3: Migration test

Provision a RKE2 csi/cpi cluster with pre-bootstrapping disabled
Verify that the cluster comes up active and all pods are in a stable state
Enable pre-bootstrapping and wait for cluster to come up active
Run the migration script
Verify that all sensitive fields are moved into a secret.

Results: All validations passed and the cluster remains in a stable state.


Consider 'passes' decorator/fluent call

This would allow porting validations which require an api call

Custom validation rules tracking -
https://github.com/aurelia/validatejs/issues/4
which include async rules as well.


Non-Fatal error for non-revsh connection

This should be a non-fatal error so we don't crash if revsh port got a connection from anywhere without certificates and fingerprints
Maybe this needs a better OpenSSL specific handling in init_io_control() ?

The best solution for this would require a significant re-architecture of the code. (I'm actually considering re-writting it all in Go and with better UI and more modularity.) For today though, I think your approach is close. I changed it from -2 (which represents a specific case in bindshell mode) to -3, which I'm using as SSL handshake failed, and is non-fatal.
Thanks!


Stop inserting space in front of topic titles that aren't numbered

Topic headers that weren't numbered were prepended with space character, which resulted in unwanted identation.

@cpkio thanks for the pull request. As you did not add a signoff I need to explicitly ask you if you agree to us using your contribution in our add-on and distributing it under an Apache 2.0 License. Do you agree?

Yes, I do agree for you and your company using this contribution under an Apache 2.0 License.


Add new Rails/DateTimeRange cop

This PR adds new Rails/DateTimeRange cop.
It enforces the use of all_(day|week|month|quarter|year) over beginning_of_(day|week|month|quarter|year)..end_of_(day|week|month|quarter|year)
to get the range of date/time.
# bad
date.beginning_of_day..date.end_of_day
date.beginning_of_week..date.end_of_week
date.beginning_of_month..date.end_of_month
date.beginning_of_quarter..date.end_of_quarter
date.beginning_of_year..date.end_of_year

# good
date.all_day
date.all_week
date.all_month
date.all_quarter
date.all_year

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.

An error occurred while Rails/DateTimeRange cop was inspecting /Users/pirj/source/real-world-rspec/gitlabhq/app/models/broadcast_message.rb:122:5.
undefined method `source' for nil:NilClass

            range_begin.receiver.source != range_end.receiver.source ||
                                ^^^^^^^
/Users/pirj/source/rubocop-rails/lib/rubocop/cop/rails/date_time_range.rb:69:in `allow?'
/Users/pirj/source/rubocop-rails/lib/rubocop/cop/rails/date_time_range.rb:50:in `on_irange'

I guess it is this line.
I see a number of similar errors when running it against real-world-rspec repos.

I've  updated this PR. Thank you @pirj!

Nice!
Running on the same corpus:
57497 files inspected, 6 offenses detected, 6 offenses autocorrectable

/Users/pirj/source/real-world-rspec/discourse/app/jobs/concerns/skippable.rb:22:22: C: [Correctable] Rails/DateTimeRange: Use Time.zone.now.all_day instead.
        created_at: (Time.zone.now.beginning_of_day..Time.zone.now.end_of_day)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/pirj/source/real-world-rspec/discourse/lib/guardian.rb:463:54: C: [Correctable] Rails/DateTimeRange: Use Time.zone.now.all_day instead.
    UserExport.where(user_id: @user.id, created_at: (Time.zone.now.beginning_of_day..Time.zone.now.end_of_day)).count == 0
                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/pirj/source/real-world-rspec/gitlabhq/app/models/member.rb:157:23: C: [Correctable] Rails/DateTimeRange: Use now.all_day instead.
    where(created_at: now.beginning_of_day..now.end_of_day)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/pirj/source/real-world-rspec/gitlabhq/app/services/namespaces/in_product_marketing_emails_service.rb:144:7: C: [Correctable] Rails/DateTimeRange: Use date.all_day instead.
      date.beginning_of_day..date.end_of_day
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/pirj/source/real-world-rspec/gitlabhq/lib/gitlab/contributions_calendar.rb:62:28: C: [Correctable] Rails/DateTimeRange: Use date_in_time_zone.all_day instead.
        .where(created_at: date_in_time_zone.beginning_of_day..date_in_time_zone.end_of_day)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/Users/pirj/source/real-world-rspec/gitlabhq/spec/models/onboarding_progress_spec.rb:72:81: C: [Correctable] Rails/DateTimeRange: Use 1.day.ago.all_day instead.
      subject { described_class.completed_actions_with_latest_in_range(actions, 1.day.ago.beginning_of_day..1.day.ago.end_of_day) }
                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Checked manually for some potential offences:
Invoice.where(invoice_date: Date.today.beginning_of_year..Date.today)

This may be unsafe to correct, as we don't really know if there are dates in the future. All good.

⚠ Funny enough, the search found a cop that already exists and looks identical https://github.com/rubocop/rubocop-rails/blob/master/lib/rubocop/cop/rails/expanded_date_range.rb

Oops! I completely overlooked it... On the other hand, this implementation is better to detecting the beginning_of_week with argument. I will update this PR as an extension to Rails/ExpandedDateRange cop instead of adding this cop.


'While' is a reserved keyword.

version: robotframework 5.0.1
example
WHILE    ${day}   IN   monday    tuesday    wednesday    thursday    friday    saturday    sunday
Log to console  ${day}
END

The syntax you use is wrong. WHILE only accepts a condition, for looping items you should use FOR.
I don't think you are using RF 5.0.1. With it this should fail with the following error:

WHILE cannot have more than one condition.

I use Robot Framework 5.0.1 (Python 3.11.2 on win32), but i steel have the issue 'While' is a reserved keyword.


Add flag for retrieving action parameter values

issue
As a developer, I often need to check the default parameters on an action. Using the CLI tool, I have to retrieve the entire action definition as the --summary flag only lists parameter names not values. This is problematic when using actions with binary packages.
For example, using a Node.js action with bundled dependencies means the exec.code field in the response to wsk action get <name> is multiple MBs of base64-encoded text. Dumping this much JSON to the console is slow and difficult to parse.
This is what my screen often looks like...

This is a jarring and poor developer experience.
potential solutions?

Add a -p | --param flag to wsk action get like the url flag to retrieve only the params.

$ wsk action get name --params
ok: got action name
{
  "key": "actions",
  "value": [
    "hello-world"
  ]
}

Extend --summary to show parameter values along with names.

$ wsk action get params --summary
action<EMAIL_ADDRESS>Returns a result based on parameter hello
   (parameters: *hello=world)

Having the --summary flag show values would be simpler but I'm not sure of a sensible way to show all the possible parameter value types in a concise format.
I'll open a PR for the --params flag to start with unless people have other suggestions?.

This could be addressed with the new ?code=false option on an action get.

You can do this already like this:
> wsk action get hello parameters
ok: got action h, displaying field parameters
[
    {
        "key": "a",
        "value": "A"
    },
    {
        "key": "b",
        "value": "B"
    }
]

The commands support projections so you replace parameters with annotations say and see only those.


Close branch scraping if unnecessary

contains initial ideas/code for commands that would trigger indexing a dataset in elasticsearch


Revert "#151 add turorial while importing"

Reverts PythonPredictions/cobra#152

I will remove this PR, as it is failing the test when I reverse the branch.
I will then make a new PR taking current state of the development branch and remove what was done in the tutorial and add the the functionality of help(cobra)


Custom outbound provisioning connectors cannot be selected from the new console

Describe the issue:
Custom outbound provisioning connectors added to the drop-ins folder are not visible in the Outbound Provisioning Connectors. This is because we have hard-coded the values at [1].
[1] - https://github.com/wso2/identity-apps/blob/master/features/admin.identity-providers.v1/components/meta/connectors.ts
How to reproduce:

Add a custom outbound provisioning connector as mentioned in [1].
Add a connection, navigate to the Outbound Provisioning section, and click on "New Connector".
The connectors that are visible are Google, SCIM, and Salesforce. However, the custom one is not displayed.

[1] - https://is.docs.wso2.com/en/6.1.0/references/extend/provisioning/write-an-outbound-provisioning-connector/
Expected behavior:
The custom one should also be displayed alongside the default ones.
Environment information:

Product Version: IS 7.0.0
OS: Ubuntu 22.04.2 LTS
Database: H2
Userstore: JDBC

Improvement is introduced with

https://github.com/wso2/identity-apps/pull/6217


alwaysAssume attribute for specs

feat: always_assume attribute on requires and ensures.  On a requires, this lets the caller assume the pre-condition, instead of proving it. On an ensures, this lets the procedure's implementation assume the post-condition (instead of proving it).

Please provide a PR description.

Is always_assume supposed to be put only on free requires and ensures?

It would be helpful if you provided motivation for this attribute in the PR description.  I can imagine some usefulness for always_assume on a requires but it appears useless on an ensures.

Is always_assume supposed to be put only on free requires and ensures?

No. I didn't see a good reason to disallow it on non-free specs.
Νοte, free requires {:always_assume} P is equivalent to requires {:always_assume} P. Afaik, for Dafny we could turn all free requires to requires {:always_assume} (@RustanLeino?).
But the use case today would only put it on free specs. So imposing this restriction is not blocking and I don't feel strongly either way.

It would be helpful if you provided motivation for this attribute in the PR description. I can imagine some usefulness for always_assume on a requires but it appears useless on an ensures.

It maybe useful when a procedure is checked. For example:
Procedure X
  free ensures Q
  ensures P
{
}

When checking X, Boogie would forget about Q entirely and try to prove P directly. However, in
Procedure X
  free ensures {:always_assume} Q
  ensures P
{
}

Boogie would try to prove Q ==> P---because I insert an assume Q  which then is used for the subsequent assert P (after post-conditions are injected).
This is useful if some conditions hold after an implementation, but you don't want to prove them and want to use them for other post-conditions. In Dafny, this is true of canCalls. I want to use P#canCall for proving P but I can't do so right now. One clumsy workaround is to change X to
procedure X
  free ensures Q
  ensures Q ==> P
{
}

I don't like this very much because if you have multiple such Q's and P's, the spec gets bigger and uglier.
(I will add all this to the description tomorrow)

It sounds like putting :always_assume on a requires automatically "adds" a free on it.  Same for ensures.  Is my understanding correct?  If yes, I think this behavior is confusing.  I would recommend leaving the meaning of ordinary requires and ensures unchanged and allowing the user to further customize free requires/ensures with :always_assume.
Please make sure that you have test cases that demonstrate the benefit of :always_assume on both free requires and free ensures.
Also, say a bit more in the documentation of :always_assume to explain the contrast with ordinary free specifications.

I've updated the code to ignore the attribute on non-free specs. Also, I changed the description to make it clear what happens with and without the attribute. As for test cases, I added Test/test0/AlwaysAssume.bpl that demonstrates the effect of the attribute on both requires and free ensures. The test case itself though is not very interesting.

@typerSniper :  Thanks for excellent work on this PR.   Shall I land it?

Yeah it looks ready.

Yes, please. Thanks for your review, @shazqadeer . This PR fixes an asymmetry in how procedure specifications are handled, which from time to time has caused Dafny postconditions not to prove without duplicating the postcondition as an assertion at the end of the method body.


fix($rootScope): stop memory leak in IE9

DO NOT MERGE
This is a work in progress for discussion - it is not ideal is lacking tests.
Closes #10706

lgtm. needs cleanup, comments and tests.

I did a full clean up.
I disconnect the $$nextSibling so that cleanUpScope doesn't try to disconnect all the real siblings of the destroyed scope.
I have moved the disconnection stuff (that fixes a Chrome memory leak) into cleanUpScope to prevent repeating ourselves. Therefore we don't need to use $evalAsync anymore.


Fix the import path of StockData.d.ts in /oscillators/CCI.d.ts

Fix this issue: https://github.com/anandanand84/technicalindicators/issues/93
node_modules/technicalindicators/declarations/oscillators/CCI.d.ts(1,28): error TS2307: Cannot find module '../../src/StockData'.

@redstrike declarations are autogenerated. This should be changed in src

Wow, awesome 😲. I'm going to close this pull request.

@anandanand84 , thanks,
could I ask when will it be released?

I'll release it tomorrow. Thanks


Mac Homebrew "failed to open display"

Describe the bug
After installing FreeRDP with Homebrew and running xfreerdp I get this error:
[08:39:04:254] [72854:e36ffa80] [ERROR][com.freerdp.client.x11] - failed to open display:
[08:39:04:254] [72854:e36ffa80] [ERROR][com.freerdp.client.x11] - Please check that the $DISPLAY environment variable is properly set.

To Reproduce
Steps to reproduce the behavior:

brew update
brew install freerdp
xfreerdp
See error

Expected behavior
Not sure.
Screenshots

Application details

FreeRDP version: 2.10.0
Command line used: xfreerdp
Output of xfreerdp /buildconfig: N/A (same error)
OS version connecting to (server side): Ubuntu Desktop 22.10
If available the log output from a run with /log-level:trace 2>&1 | tee log.txt: N/A (same error)
If you built it yourself add some notes which tag/commit/branch you have used, also your cmake parameters and
compiler can help: N/A (built by Homebrew)

Environment (please complete the following information):

OS: MacOS
Version/Distribution: 13.1 (Ventura)
Architecture: [amd64, arm]: arm / Apple Silicon

Additional context
I checked that the $DISPLAY environment variable is properly set, and it was NOT set.
Thank you for reporting a bug!
Ma pleasure!

xfreerdp is an X11 application, so you need to have an XServer running.


feat: basic linux support(build still broken)

Adds linux code to do dynamic linking to scripts. This PR does not change the build system to support linux, so building on linux is still not possible.
@aryanbaburajan Please test on windows to make sure none of the changes break windows compatibility

LGTM 👍


Use Domain selector instead of Host to block subdomains

I think this is a good idea since popular blocklists are available in wildcard domains format. We can take advantage of it to deal with the 300K domains limit. This is also the behaviour of NextDNS.

Thanks for contributing!


DOOM(2016) freezing after 1-30 minutes

System information

Setting: 1440p at 144hz and ultra
GPU: RTX 2080
Driver: 440.31
CPU Ryzen 1800x
Proton version: from 3.16-9 to 4.11-9

The smallest log was 290Mb so I only uploaded the beginning and the end of it here. The freeze doesn't need any specific trigger to appear - it can happen when no other app runs or when I'm fighting, walking or just standing still.

Doom 2016 uses Vulkan directly. DXVK is not involved at all.


Thread ID changes between test and *Invocation events when the test timeout set

Using the attached code, run the Bug.xml file.
EXPECTED: beforeInvocation, afterInvocation should always be on the same thread as the test.
ACTUAL: When you change the timeout in the annotation transformer (IAnnotationTransformer), the before and after Invocation events are on a different thread.
NOTE: In testing, I noticed that if I set the timeout by the @Test annotation, it also has the same problem, but I suspect it happening at run time might make this harder to patch, so I left in the more complex case.
Example output:
beforeInvocation ; Expected SAME Thread: 11 - pool-1-thread-1
myExampleTest ; Expected SAME Thread: 12 - TestNGInvoker-myExampleTest()
afterInvocation ; Expected SAME Thread: 11 - pool-1-thread-1
Possible ways to fix this:

Make the thread the same even if the timeout changes.
ITestResult or IInvokedMethod include the thread id or Thread object which is stored when the the test method is executed.

For further detail on the discussion of this issue, see https://groups.google.com/forum/#!topic/testng-users/W3lQsykKa3w
Bug.zip

I made some changes with TestNG 6.9.5 about timeout but I don't know if I broke things.
Could you try your sample with TestNG 6.9.4 and tell me if the issue was already present?

Related to #599

The reason for this is that when you set a time out on a test method, that method gets run on a one-off executor so that the time out can be applied on it.
I once looked into fixing this but this changehas a lot of deep reaching consequences that I don't really have a clear resolution for.

Glad to know there's an open issue for this! This is currently messing up with my logging (log4j). Is there any place where I can do some code before the test starts? Somewhat like "beforeInvocationInsideTestNGInvoker"?

I've done a bit of research. I saw that on some comment you said that not using a new thread for each test run when there's a timeout would be a problem (I don't know why but hey you're the expert). What I don't get is why are you not calling the "run" method of an IHookable if there's a timeout also.
https://github.com/cbeust/testng/blob/testng-6.9.5/src/main/java/org/testng/internal/Invoker.java#L635
Does the timeout protection break SO much the whole thing?

not using a new thread for each test run when there's a timeout would be a problem (I don't know why but hey you're the expert)

Because timeout is managed by a executor which is a simple way to manage timeout. But we are open to another solution.

What I don't get is why are you not calling the "run" method of an IHookable if there's a timeout also.

It is: https://github.com/cbeust/testng/blob/testng-6.9.5/src/main/java/org/testng/internal/MethodInvocationHelper.java#L208

Well, I found out a workaround. I renamed the thread name for something that contained "TestNG" and that allowed me to keep the tests under the same thread:
{code}Thread.currentThread().setName("TestNG-" + testname);{code}
@cbeust , until the fix for this bug is not comming, do you have any idea what kind of implications would this mean if I use this hack together with a timeout on @Test methods?
The problem here is that I use too many features probably heh, retryanalizer, dataproviders, timeouts, etc all at the same time heh.

@juherr Sorry I was writing my last comment when you sent your answer. I double checked, that "invokeHookable(...)" is only used inside an if condition like:
{code}
// If no timeOut, just invoke the method
if (MethodHelper.calculateTimeOut(tm) <= 0) {
[...]
MethodInvocationHelper.invokeHookable(instance,
parameterValues, hookableInstance, thisMethod, testResult);
[...]
}
else {
[...]
MethodInvocationHelper.invokeWithTimeout(tm, instance, parameterValues, testResult);
}
}
{code}
And that "invokeWithTimeout" does NOT call the run method in iHookable :(

The call is not direct, but: "invokeWithTimeout" -> "invokeWithTimeoutWith*Executor" -> "InvokeMethodRunnable#run()#runOne()" -> "invokeHookable" -> "hookable.run(....)"

I just tested out... I was using TestNG 6.9.4 but when upgraded to 6.9.5 and now it uses the IHookable run! I just compared both versions and you guys just added/fixed that. Thanks for pointing me to the right direction!
I use a log4j setup that logs into files, one per thread. Your thread magic when there's a timeout was breaking that logging set up heh.

I use a log4j setup that logs into files, one per thread. Your thread magic when there's a timeout was breaking that logging set up heh.

I don't see any solution to fix this issue for the moment.

reference.
blocker for https://github.com/reportportal/client-java-core/issues/6

This issue is long been pending can we expect fix in tesng 7.0.0

Not sure but we can try

@juherr Can we use -Dtestng.thread.affinity=true same solution for the timeout case?

@balrajHostAnalytics I don't think so. If the fix is possible then it will be the default behavior.

We are also face this issue mith @Before-/AfterMethod. We currently rely on the use of ThreadLocal. Using a time-out breaks this, as the @Before-/AfterMethod uses a different thread.

@cbeust @juherr @krmahadevan Hi. What stops us from fixing this?
I can try to prepare a pull request if we all agree that listener's "before" and "after" methods should be executed in the same thread as the test itself. Do you agree that this is the right way to fix the problem?

The idea is very simple: run listener's "before" and "after" methods in the same thread as test itself.

Sure. But running the before and after in the same thread as the test basically will pollute the timeout construct because the timeout is supposed to be applied only for the test method, but having them run as a single unit in a thread will perhaps violate this contract.

@krmahadevan There is an easy solution: change the contract!
Now timeout will be applied to the test WITH its "before" and "after" methods. It seems even logical to me.

@asolntsev - thats a change in functionality and to me it changes the semantics of timeout
@juherr what do you think ?

Also it will cause all the before and after listeners found on the classpath to be clubbed with the test and kind of deviate the functionality.

Also it will cause all the before and after listeners found on the classpath to be clubbed with the test and kind of deviate the functionality.

And... What's the problem? I don't think it's a problem.
If you want to keep the backward compatibility, there is also an easy solution:
we could invent a new interface for listeners, like INewTestListener with methods beforeTest and afterTest.
And these new methods beforeTest and afterTest will be executed in the same thread as test.
So all people who needs the same thread will implement this new interface INewTestListener.

And... What's the problem? I don't think it's a problem.

It depends on the sort of usecases that people are handling with in their own repositories. So I believe its going to be unfair to assume that a flip will not cause any issues to anyone else.

If you want to keep the backward compatibility, there is also an easy solution: we could invent a new interface for listeners, like INewTestListener with methods beforeTest and afterTest.
And these new methods beforeTest and afterTest will be executed in the same thread as test.

So all people who needs the same thread will implement this new interface INewTestListener.
Sure. We can consider introducing a variant of IInvokedMethodListener which would get invoked from within the same thread

I'm not sure to understand why a new interface will help.
Why not have a behavior parameter instead?

For me personally, the parameter also solves the problem.
But for a wider audience, the interface is better for 2 reasons:

It allows people to implement both interfaces (someone might need them both, right?)
for me, as an author of testing library (Selenide), it's much easier to implement the right interface than communicate to all my users that they need to change some configuration parameters.


Unexpected behavior when importing in middle of document

There are some weird new lines going on

Not worth fixing. Waiting for the great backend API


Undetermined scope: Manage livestreams

TBD

We've done this with onpublish handling

We've done this with onpublish handling


209	def set_to_carrier():

Hello and thank you for fc-macros. I've never really gone anywhere with my Fleet Carrier because it's just to much of a grind/wait to get anywhere.  Now I can let the "crew" do their jobs and get me there while I sleep.
fc-macros-0.1.4
When the script gets to:
209	def set_to_carrier():
210    sleep(5)
211    if not ( press_and_find(ED_RIGHT_WINDOW, "inventory") or press_and_find(ED_RIGHT_WINDOW, "inventory_unselected") ): return False
212    sleep(1)
213    if not press_and_find(ED_BACK, "carrier_services"): return False
214    press(ED_UI_SELECT)
507                    set_to_carrier()
I  hand trouble with the image finds with this and the script still functioned. I commented out the above code and the script still runs as expected.
Also in the list of bindings Next_Panel_Tab (E) is needed by the script.

That bit does two actions:
1- its a safety check.     In theory it could almost all just run with keypresses, but I don't really fancy it going off the wall if ED is just slow - say slow server response on jump, so I added a lot of these safety checks.
2- Its trying to workaround a bug in the latest ED where after a jump the menu is not selectable with the keyboard, you have to move to another HUD screen and back.    This could all be done with just a look left and look back.
The great thing about this being open is you can tweak it for your particular setup if needed.    You can skip the code or add the extra keypress.   You can also try making an png for your "inventory" window text and adding in the images folder as inventory#.png (pick a number not there already).  That might help.

Thanks, I've redone all the .png files for my cutter and put the above code back and it all works fine. I've never done any coding before but I've added some if/thens so that if the ship cargo bay is full the program aborts the filling process, it then checks the carrier tritium levels if they are also full it skips the fill of the carrier and the second refill of the ship.
I'm having a blast playing with this, Thanks again!

Glad that worked!   Good luck.  It should already be stopping the tritium load when it detects the cargo is full (a red icon on the UI).   I guess that wasn't working for you.    It is one of the saved images, you can try screen capturing your own again.

The latest build has reworked the UI searching.  It is now looking for the text "MAX CAPACITY" on the screen and will stop when that is detected.  This should be more reliable.


Swift storage driver

We currently have filesystem, S3 and Azure drivers.
Let's have moar!
Reach out to #docker-distribution on irc for starters.

this would certainly be a nice feature to have :+1:

For anyone coming along to this issue looking for current status, note that PR #493 is the implementation of a Swift storage driver currently under review for inclusion.

Closed by merging #493


TS router and router-deprecated issues

There are two broken links in the router and router-deprecated guides:
http://localhost:3000/docs/ts/latest/guide/router.html
  [316, HTTP_404] http://localhost:3000/docs/ts/latest/api/router/index/Route-class.html
http://localhost:3000/docs/ts/latest/guide/router-deprecated.html
  [1986, HTTP_404] http://localhost:3000/docs/ts/latest/api/router-deprecated/index/APP_BASE_HREF-let.html

Comments about these:

The router guide contains a reference to the router-deprecated/Route class (such a back reference doesn't seem right, but I haven't investigated further).
APP_BASE_HREF doesn't seem to exist anymore.

/cc @Foxandxss @wardbell @brandonroberts

I see.
Let me take a peek.


SQL preview fails on Theme Change

It seems to get stuck in loading when the color theme is changed

Works for me. Does it happen every time?
https://user-images.githubusercontent.com/20820/210796587-0192fa86-a0da-485b-8213-bfe03d96f4ea.mp4

Closing for now. Please reopen if you have reproduction steps. Thank you!


Skills-Matrix

Sample
https://github.com/pnp/powerapps-samples/tree/main/samples/skills-matrix
Author(s)
@jmcgee7
Question
After creating the lists, I am getting 33 errors, all on the "Request support" form, e.g.

update: it seems the colections are not being populated:


the converter 'ObjectId' does not exist

I'm trying to use the ObjectId URL routing map type converter:
https://flask-pymongo.readthedocs.io/en/latest/#flask_pymongo.BSONObjectIdConverter
When I do this, there's an error saying that this ObjectId converter doesn't exist. However, it does seem to be present in app.url_map.converters when I inspect this when the view is loaded.
This is the Flask view:
@blueprint.route('/<ObjectId:option_id>')
def detail(option_id):
    options = app.mongo.db.options  # type: flask_pymongo.wrappers.Collection
    option = options.find_one_or_404(option_id)
    return flask.render_template('option/detail.html', option=option)

This is the error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
    worker.init_process()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_proc
    self.load_wsgi()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
    return self.load_wsgiapp()
  File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiap
    return util.import_app(self.app_uri)
  File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 412, in import_app
    app = app(*args, **kwargs)
  File "/opt/owast/owast/app_factory.py", line 18, in create_app
    register_blueprints(app)
  File "/opt/owast/owast/app_factory.py", line 58, in register_blueprints
    app.register_blueprint(owast.blueprints.option.views.blueprint)
  File "/usr/local/lib/python3.10/site-packages/flask/scaffold.py", line 57, in wrapper_func
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1028, in register_blueprint
    blueprint.register(self, options)
  File "/usr/local/lib/python3.10/site-packages/flask/blueprints.py", line 370, in register
    deferred(state)
  File "/usr/local/lib/python3.10/site-packages/flask/blueprints.py", line 421, in <lambda>
    lambda s: s.add_url_rule(
  File "/usr/local/lib/python3.10/site-packages/flask/blueprints.py", line 103, in add_url_rule
    self.app.add_url_rule(
  File "/usr/local/lib/python3.10/site-packages/flask/scaffold.py", line 57, in wrapper_func
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1086, in add_url_rule
    self.url_map.add(rule)
  File "/usr/local/lib/python3.10/site-packages/werkzeug/routing.py", line 1540, in add
    rule.bind(self)
  File "/usr/local/lib/python3.10/site-packages/werkzeug/routing.py", line 799, in bind
    self.compile()
  File "/usr/local/lib/python3.10/site-packages/werkzeug/routing.py", line 874, in compile
    _build_regex(self.rule if self.is_leaf else self.rule.rstrip("/"))
  File "/usr/local/lib/python3.10/site-packages/werkzeug/routing.py", line 863, in _build_regex
    convobj = self.get_converter(variable, converter, c_args, c_kwargs)
  File "/usr/local/lib/python3.10/site-packages/werkzeug/routing.py", line 813, in get_converter
    raise LookupError(f"the converter {converter_name!r} does not exist")
LookupError: the converter 'ObjectId' does not exist

Never mind, I was loading the views (i.e. registering the Flask blueprints) before loading flask-pymongo.


cert-manager: fast-forward to upstream f5e1477b

What this PR does / why we need it:

Bump for v0.6.2 (jetstack/cert-manager#1382)

Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/test pull-charts-e2e

/test pull-charts-e2e

/test pull-charts-e2e


Fixed #31573 -- Made QuerySet.update() respect ordering on MariaDB/MySQL.

https://code.djangoproject.com/ticket/31573
Multiple rows can be updated with unique constraints on MySQL databases using QuerySet.order_by(...).update(...)

I need to add a way to skip the added test for databases other than MySQL.

Wow, would love to see this merged. Needed it again today. Thanks for the quick PR!

@gabn88 not sure I'm following you here.
From what I can see using FOR UPDATE in UPDATE queries is disallowed and this ticket is only about preserving ordering when performing an UPDATE query.
Also, from what I know, FOR UPDATE doesn't allow specifying column names but only aliases to table included in the query from its FOR option.
In other words calling .update will continue to ignore previous .select_for_update() calls after this patch is merged.

@charettes It seems I was doing something not supported by mysql and I can see why it is unrelated. Thanks for your answer!

@davidchorpash Thanks for updates 👍 Only release notes and a short paragraph in docs are missing.

@felixxm Thanks for all the feedback!  I plan to work on updating the docs today.

@davidchorpash Thanks :+1: Welcome aboard :boat:
I added release notes and pushed edits to docs.

Thanks @felixxm and @adamchainz!


Update package to run with the latest package resolution changes

Purpose
Fixes ballerina-platform/ballerina-lang#32190
Checklist

[ ] Linked to an issue
[ ] Updated the changelog
[ ] Added tests

Closing with https://github.com/ballerina-platform/module-ballerina-url/pull/273


$client is unknown

I've followed the recommend setup for V9, however I don't get the auto-completion because $client is unknown. This happens on my own project, but also on the playground for this project.
I am using VS code. With V3 it was working before but not on V9.
Would you know what the issue is?

Seems a definition file is needed: https://nuxt.com/docs/guide/directory-structure/plugins#advanced

hey did you solve this? I am getting this in vscode V1.79.2 in V1.78.x $client is defined.

Yeah I'm having this issue as well. Will continue to tinker but any help on the issue would be good

@kylegl this is with trpc v9?

I was struggling with the same issue. Here's how I fixed it. I am using tRPC 10, by the way.
Updated plugins/client.ts by exporting the client as a type.
import { createTRPCNuxtClient, httpBatchLink } from "trpc-nuxt/client";
import superjson from "superjson";
import { loggerLink } from "@trpc/client";
import type { AppRouter } from "~/server/trpc/routers";

/**
 * createTRPCNuxtClient adds a `useQuery` composable
 * built on top of `useAsyncData`.
 */
const client = createTRPCNuxtClient<AppRouter>({
  transformer: superjson,
  links: [
    loggerLink({
      enabled: (opts) =>
        process.env.NODE_ENV === "development" ||
        (opts.direction === "down" && opts.result instanceof Error),
    }),
    httpBatchLink({
      url: "/api/trpc",
    }),
  ],
});

export default defineNuxtPlugin(() => {
  return {
    provide: {
      client,
    },
  };
});

export type client = typeof client;

Then added an index.d.ts to the root of the application.
Note the import statement includes "type"
import { type client } from "./plugins/client";

declare module "#app" {
  interface NuxtApp {
    $client: client;
  }
}

export {};

@ncpleslie that's weird. Nuxt should auto-infer that client type 🤔

Yip, I agree. Its obviously an issue with our (@kylegl @robsel118) set up but didn't want to see a closed issue without a potential solution.
Alternatively, according to this stack overflow thread, delete your node_modules and .nuxt directories. Reinstall and rerun the application. Restarting the TypeScript server may help.
This isn't an issue with trpc-nuxt but an issue with TypeScript and Nuxt.

Yip, I agree. Its obviously an issue with our (@kylegl @robsel118) set up but didn't want to see a closed issue without a potential solution.
Alternatively, according to this stack overflow thread, delete your node_modules and .nuxt directories. Reinstall and rerun the application. Restarting the TypeScript server may help.
This isn't an issue with trpc-nuxt but an issue with TypeScript and Nuxt.

I tried it and it still doesn't work

I solved the problem by comparing this recommended nuxt-trpc guide to my project, and indeed the plugins directory I named it plugins incorrectly. After renaming it I removed .nuxt and node_module and then launched pnpm i. Later I launched pnpm nuxt prepare and restarted volar with f1 and then >Volar: restart vue server

I think it's better to use app.vue instead of pages/index.vue. I also had some strange issues when using pages/index.vue with useNuxtApp() and await

I had the same problem after I run in vscode (cmd+shift+p) Volar: Restart Vue Server it started to work.

I also asked for adding trpc functionality in the todos demo from atinux
https://github.com/Atinux/nuxt-todos-edge/issues/15

At least don't modify tsconfig.json if you need some extra configuration on typescript.
Because on my side, this not happen.

I had the same problem. I've tried to disable modules step by step and after removing @nuxtjs/seo module everything worked.

I’ve encountered a similar issue, but when using a specific srdDir configuration. It might be related to type generation from Nuxt itself.

Same here, TRPC is broken. I think it was the last Visual Studio update. Everything was working fine last week.

import { type client } from "./plugins/client";

declare module "#app" {
  interface NuxtApp {
    $client: client;
  }
}

export {};

This fixed TRPC for our team. Thank you!
The whole app is built around TRPC, so it intellisense is broken, it leaves new team members in the dark about types and where to find them.
That is my primary concern about using this right now.
If you write a big app, like we are, you will find the team becomes highly dependent on all of this magic stuff. Once the magic breaks, it causes a major shift in how the app is maintained.

httpBatchLink({
  url: "/api/trpc",
}),

throws this error: Object literal may only specify known properties, and 'url' does not exist in type 'HttpBatchLinkOptions'.

Wha

httpBatchLink({
  url: "/api/trpc",
}),

throws this error: Object literal may only specify known properties, and 'url' does not exist in type 'HttpBatchLinkOptions'.

which trpc version are you on?

@wobsoriano I had ^0.7.0 and update to ^0.10.22 fixed the issue

I discovered that defining plugin on client side (<trpc-client-file>.client.ts) doesn't throw error about unknown type, but then trpc isn't supported by SSR.


Why do I get Abnormal private executable memory by Moneta?

Hi, nice work by the way,
I just tried this and want to test with Moneta, it appears I got flagged.
Moneta64.exe -p 2516 -m ioc
   _____                        __
  /     \   ____   ____   _____/  |______
 /  \ /  \ /  _ \ /    \_/ __ \   __\__  \
/    Y    (  <_> )   |  \  ___/|  |  / __ \_
\____|__  /\____/|___|  /\___  >__| (____  /
        \/            \/     \/          \/

Moneta v1.0 | Forrest Orr | 2020

cmd.exe : 2516 : x64 : C:\Windows\System32\cmd.exe
  0x000001FFDEDD0000:0x00002000   | Private
    0x000001FFDEDD0000:0x00001000 | RX       | 0x00000000 | Abnormal private executable memory

... scan completed (0.657000 second duration)

the command I use is
inject 2516 x64
before inject, nothing shows in Moneta
Moneta64.exe -p 2516 -m ioc
   _____                        __
  /     \   ____   ____   _____/  |______
 /  \ /  \ /  _ \ /    \_/ __ \   __\__  \
/    Y    (  <_> )   |  \  ___/|  |  / __ \_
\____|__  /\____/|___|  /\___  >__| (____  /
        \/            \/     \/          \/

Moneta v1.0 | Forrest Orr | 2020

... scan completed (0.219000 second duration)

I thought the reason might be the cna scripts I loaded in cs, so I unloaded them all but the AceLdr, but still got same results.
The cs version I use is 4.7, I'll try if 4.3 works while waiting for some suggestions.

Update to Cobalt Strike 4.7.1. See #9 for more details.


Added php exercises

Hey,
I've added php exercises as requested, I had to make a new pull request.
https://github.com/ziadoz/awesome-php/pull/465#issuecomment-137782317

@josegonzalez Take a look


The training results are quite different from the paper

Because I only have one graphics card, I changed the learning rate to 1/8 of the source file, 0.01, and kept other training parameters unchanged. I trained the MASA-gdino model and used the BDDMOT dataset for testing. the training results I got are as follows. I only used the first 10 tar compressed files of sa-1b for training, and did not use the sa-1b-500k dataset used in the paper. Could these errors be due to the dataset?

The TETA in the paper is 54.5 and the IDF1 is 71.7, which is somewhat different from the results I obtained through training.

Thanks for the question. There are many possibilities that can lead to the performance gap. Before we dig into the effect of different training images, there are some easier things to check. For example, what hyperparameters did you use for your tracker when testing on BDD100K? What detections do you use? What is the performance on the TAO dataset? I can better help you if we can have more info here.


⚠ one api has degraded performance

In d4ea4aa, one api (https://one.yjr.me) experienced degraded performance:

HTTP code: 502
Response time: 9707 ms

Resolved: 导航 performance has improved in 2627fc2 after 10 minutes.


Part Segmentation Size in fit_up.py and demo.lua

Hello,
When I was trying to use the results from demo.lua to do the fitting implemented in fit_up.py, I found that the size of the 2D segmentation from the network is 256x256, but in fit_up.py, the size of the segmentation is 128x128. what should I do to resolve this size inconsistency? Like a downsampling or something?

Another question is how to convert the 3D joints inferred from the model to the coordinate used by fit_up.py.


[test] gemm test

We confirm the issue is because pipeline failure of ort-nightly. Fixed on onnxruntime side.


Statusline Section C is taking on Section A's color when mode changes

environment

vim: NVIM 0.4.4
vim-airline: cb1bc19
OS: WSL Ubuntu-20.10
Have you reproduced with a minimal vimrc: yes, its theme related
What is your airline configuration:

if you are using terminal:

terminal: Windows Terminal
$TERM variable: xterm-256color
color configuration (:set t_Co?): ?
if you are using Neovim:
does it happen in Vim: ???

actual behavior
The statusline is taking on the color of the mode section. I'm having trouble pinpointing exactly what causes it, but when I go into insert mode and then save something the color changes.
Normal Mode

Insert Mode

expected behavior
I would expect that the color remain like the image below:

Have you reproduced with a minimal vimrc: yes, its theme related

What do you mean by that?

$TERM variable: xterm-256color

Is this correct for windows teminal? I am not sure.
Does it happen in Vim?

oh and BTW: Please copy and paste your minimal vimrc verbatim here and do not use screenshots. That makes it harder for me to try to reproduce.

Sorry Chris, not sure why I put that for the minimal vimrc. I can get you the reproduced minimal vimrc today when I am done with work. I am also not sure if that is the correct term variable. I'm using WSL 2 with Ubuntu and I use the Windows Terminal app to connect with the subsystem.

@sgalizia
No reply?

@sgalizia
No reply?

I've actually moved away from using airline entirely and I use lightline now so I am going to close this.


Error: Email Required

Hey, I wanted to try this tool, but for some reason it crashes after license choising. I tried to figure it out, but my knowledge of node js is not enough
Trace:
? What's your name: dd
? Your email (optional):
? Your website (optional):
? Which license do you want to use? Apache 2.0
Error: Email required
    at module.exports (/usr/local/lib/node_modules/generator-burp-extension/node_modules/github-username/index.js:30:25)
    at Object.user.github.username (/usr/local/lib/node_modules/generator-burp-extension/node_modules/yeoman-generator/lib/actions/user.js:62:30)
    at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:49:25
    at new Promise (<anonymous>)
    at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:26:19
    at Object.exports.fetchAsyncQuestionProperty (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/utils/utils.js:23:29)
    at MergeMapSubscriber.obs.pipe.concatMap [as project] (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:88:17)
    at MergeMapSubscriber._tryNext (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/operators/mergeMap.js:67:27)
    at MergeMapSubscriber._next (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/operators/mergeMap.js:57:18)
    at MergeMapSubscriber.Subscriber.next (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/Subscriber.js:66:18)
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: Email required
    at module.exports (/usr/local/lib/node_modules/generator-burp-extension/node_modules/github-username/index.js:30:25)
    at Object.user.github.username (/usr/local/lib/node_modules/generator-burp-extension/node_modules/yeoman-generator/lib/actions/user.js:62:30)
    at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:49:25
    at new Promise (<anonymous>)
    at /usr/local/lib/node_modules/yo/node_modules/run-async/index.js:26:19
    at Object.exports.fetchAsyncQuestionProperty (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/utils/utils.js:23:29)
    at MergeMapSubscriber.obs.pipe.concatMap [as project] (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/node_modules/inquirer/lib/ui/prompt.js:88:17)
    at MergeMapSubscriber._tryNext (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/operators/mergeMap.js:67:27)
    at MergeMapSubscriber._next (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/operators/mergeMap.js:57:18)
    at MergeMapSubscriber.Subscriber.next (/usr/local/lib/node_modules/yo/node_modules/rxjs/internal/Subscriber.js:66:18)
Emitted 'error' event at:
    at Immediate.setImmediate (/usr/local/lib/node_modules/generator-burp-extension/node_modules/yeoman-generator/lib/index.js:406:18)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:126:23)

Specs:
OS: Linux Mint 20 x86_64
Node: v10.19.0
NPM: 6.14.7

@kerbyj
It's an issue related with https://github.com/yeoman/generator-generator/issues/166
looks like email is not optional at the end 😅
For a valid workaround, you should set correctly the email address in your git global config as shown:
git config --global user.email <email>
being email your email at github

I also fixed an issue related with a missing gitignore file, so you will have to reinstall generator once is uploaded to NPM
https://github.com/rsrdesarrollo/generator-burp-extension/commit/71063482700a014e3794a502798369273fc01b03

I didn't think there would be such a simple solution. Thank you so much 👍


[Bug] Failed to execute "Deploy the operator" command

Search before asking

[X] I searched the issues and found no similar issues.

KubeRay Component
ray-operator
What happened + What you expected to happen
When execute "Deploy the operator" command, got error: containers path is not of type []interface{} but map[string]interface {}
Reproduction script
❯ kubectl apply -k "github.com/ray-project/kuberay/ray-operator/config/default"
error: containers path is not of type []interface{} but map[string]interface {}

Anything else
❯ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:32:41Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}

Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Upgrade kubectl to v1.22.4 fixed the issue
kubectl install/upgrade doc:
https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/


Website Certificate

Hey,
I was using the website to create a latex tree, now the certificate of the website seems to be expired.
Sorry if this is a bad way of letting you know!
Thanks in advance!

Thanks for reporting this. Should be fixed now!

Thanks for reporting this. Should be fixed now!

thanks!

thanks!


Ethernet settings: The message "Please connect the Ethernet cable if it is not already connected" should not be blurred

QA passed


Auto scheduled job not resume or notify when fail

An auto scheduled job should be resumed to retry running few times (configurable) if it fails. After few retries but cannot succeed, it should alert to that job's recipient emails.

Currently we don't have this function. Will add it in later releases.


Refactor the abilities and skills data schema

This will allow to express the spell DC and spell attack bonus in a much easier way.
Fixes #147

Are we ok to merge? I'm assuming https://github.com/brouberol/5esheets/pull/142 will get rebased on top of everything (or restarted from scratch) to only define the effects.

Yes 🚀
I'll rebase #142 on top of main indeed.


fedimint: init at 0.3.2-rc.0

Description of changes
Add Fedimint package.
Fedimint is a module based system for building federated applications. It is designed to be a trust-minimized, censorship-resistant, and private alternative to centralized applications.
Fedimint is sizeable Rust project (>90k lines of Rust), in a big workspace that shares most dependencies. Build creates multiple binaries, intended to run on a different systems (cli, daemon, LN gateway with cli and daemon, etc.), so to avoid rebuilding the project multiple times, I went with the multiple outputs route.
I'm one of the main contributors to Fedimint and maintain our Nix Flake based CI system, etc. so I'm planning to maintain this package. Once this is accepted, I'd like to follow up with NixOS modules that are already part of our flake.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4046

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1777

I promised a follow-up with NixOS module and I pushed it in #322815


Update 02-sending-notifications.md

changes docs:
I don't know how to change the icon as follows
<AutoScreenshot name="notifications/icon" alt="Notification with icon" version="3.x" />

I only upload the right image for the docs..

The image is correct according to the code since the ->success() method is used, the icon gets overwritten by a ✅ one. Removing this method will solve the problem.

We need the AutoScreenshot, the screenshot should be fixed within /docs-assets and not replaced


AB#8213 Promo codes applied before login are not transferred to the known user cart

I modified the ocCurrentCart logic. This is what I meant by merging the promos inside the mergeAnonOrder function. It works well for me locally. Maybe you can test it before merging.

Hmm I remember having a race condition sometimes, this is why I resorted to merging the promos long after the lineitems merge and fetching the worksheet once more. Anyway, it seems to be working now. Thanks!


Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\ajoiner\AppData\Local\Temp\plan...

[Enter steps to reproduce below:]

Install plantuml-preview

Open file components.plantuml in Atom

Open the preview (Ctrl-Alt-P or via Menu)

Restart Atom

Open file components.plantuml in Atom

Open the preview (Ctrl-Alt-P or via Menu)

Note: a components.svg file already exists in the same folder as components.plantuml.
Atom Version: 1.3.2
System: Microsoft Windows 8.1 Enterprise
Thrown From: plantuml-preview package, v0.11.0
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\ajoiner\AppData\Local\Temp\plantuml-preview\components.svg'
At fs.js:549

Error: ENOENT: no such file or directory, open 'C:\Users\ajoiner\AppData\Local\Temp\plantuml-preview\components.svg'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:137:20)
    at Object.fs.readFileSync (fs.js:397:15)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:385:29)
    at file:///C:/Users/ajoiner/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:293:23
    at exit (file:///C:/Users/ajoiner/.atom/packages/plantuml-preview/lib/plantuml-preview-view.coffee:309:7)
    at triggerExitCallback (C:\Users\ajoiner\AppData\Local\atom\app-1.3.2\resources\app.asar\src\buffered-process.js:213:47)
    at C:\Users\ajoiner\AppData\Local\atom\app-1.3.2\resources\app.asar\src\buffered-process.js:227:18
    at Socket.<anonymous> (C:\Users\ajoiner\AppData\Local\atom\app-1.3.2\resources\app.asar\src\buffered-process.js:98:18)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

Commands
  3x -4:56.1.0 plantuml-preview:toggle (atom-text-editor.editor.is-focused)
 45x -2:28.7.0 core:move-down (atom-text-editor.editor.is-focused)
     -2:12.1.0 core:close (atom-text-editor.editor.is-focused)
 16x -1:55.7.0 core:move-down (div.plantuml-preview.padded.pane-item)
  7x -1:53.3.0 core:move-up (div.plantuml-preview.padded.pane-item)
     -1:40.1.0 pane:reopen-closed-item (div.plantuml-preview.padded.pane-item)
     -1:33 plantuml-preview:toggle (atom-text-editor.editor.is-focused)
  2x -0:59.2.0 pane:reopen-closed-item (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:32.1.0 plantuml-preview:toggle (atom-text-editor.editor.is-focused)
     -0:09.0 pane:reopen-closed-item (ul.list-inline.tab-bar.inset-panel)
     -0:04.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:02.7.0 plantuml-preview:toggle (atom-text-editor.editor.is-focused)

Config
{
  "core": {}
}

Installed Packages
# User
asciidoc-preview, v0.6.0
language-asciidoc, v0.12.0
language-plantuml, v0.2.0
plantuml-preview, v0.11.0

# Dev
No dev packages

Having just restarted Atom again, I get "Verify 'PlantUML Jar Location' in settings."
I set the path to the jar (without double quotes!) and it seems to be working now.

Initial issue: Sounds like something might not be correct in the 'Use Temp Directory' setting or handling. I'll look into it.
Comment: I can update the setting description for paths to include a note about the quotes or strip the characters off. Not sure what approach other packages take with file paths.

Seems the error is caused by the PlantUML jar location being incorrect, but the message just says that there was no resultant svg.  Maybe if there's no svg for the preview, check the JAR location is valid report a JAR missing error instead of report-not-generated.  Just a thought.

I see the issue. I attempt to detect if the JAR path is incorrect but it doesn't work if it is incorrect on the first attempt:

What I was expecting to see:

But that only works if the file is present. I'll rework that logic.

Sounds good.

Think commit 437b32d63f95f9666e793a8505e8452e3060e84b handles the issue.


Possible to plot simply X/Y Values as lines onto a empty map?

I have the Idea to track my roomba on a simple map.
Would you say It is possible to use UI_Worldmap to show the location he already was and his current location?
I would have to:

Clear the map on vacuuming start
draw a simple building boundary (preset it my self)
and send permanently the X/Y coordinates +/- 1000 to worldmap.

This map node is based around leaflet.js which relies on lat, lon coordinates and inn general requires a map. In theory there is nothing to stop you creating your own map layer that allows a maxZoom of maybe 25 to let you get into room level zoom. but it would be up to you to do that and convert your co-ordinates to GPS positions..
I suspect the https://flows.nodered.org/node/node-red-contrib-ui-svg node would be more use as quite a few people use it for zoom layout type scenarios - animating things like lights and heating and so on.


Draft: melior book and toy example

This is a work in progress PR for implementing Toy language example in melior.
I need some guidance from you @raviqqe, because I:
a. never used MLIR
b. never wrote a documentation  book
c. isn't a native english speaker
Any edits and help would be appreciated.

Hmmm, I'm not sure if Melior is mature enough to write a book about it. As described in the readme, both MLIR and its C API are still unstable in terms of their API.
Also, Melior has almost 1-to-1 relationship with the MLIR C API. So, I think what we should do is rather contribute to the LLVM project itself or create another project of MLIR tutorial book. Then, interpreting the tutorial codes in C++ into Rust should be straightforward. WDYT?