Does not focus chrome extension's dialog

Is it possible does not focus chrome extension's dialog window?
http://screencast.com/t/qMZXgrvi

This would require you to edit the source code and have Kwm ignore the window by name.

@koekeishiya I was trying to fix this issue because various popups get focused even though they're not proper windows. I found out that that these UI element that get focus can be distinguished from the other windows because they have a AXWindow attribute (usually set to nil) so we should filter windows based on that:
    AXUIElementRef WindowRef;
    AXUIElementRef hasWindow = NULL;
    if(GetWindowRef(Window, &WindowRef)) {
        AXError Error = AXUIElementCopyAttributeValue(WindowRef, kAXWindowAttribute, (CFTypeRef*)&hasWindow);
        if (Error == kAXErrorSuccess || Error == kAXErrorNoValue) {
            return false; //NOT A PROPER WINDOW
        }
    }

I tested it by adding this logic the ShouldWindowGainFocus and it works, but I was thinking that since these are not proper windows and CGWindowListCopyWindowInfo doesn't seem to keep up when they are destroyed, should we just filter them out from the KWMTiling.WindowLst and KWMTiling.FocusLst?

I wonder if that would fix the Sublime Text 3 auto-complete window from closing when the mouse hovers over it giving it focus.

I just tried and it seems to fix it!

I added the code to ShouldWindowGainFocus and it does not appear to keep the auto-complete window from closing when the mouse hovers over it.
It does however keep the chrome extension windows from closing when they happen to span across another window which before would trigger autoraise. So to me this is a huge improvement.
I wonder if an approach like this could be used to fix all the other little autoraise issues like with Launch pad or Dock Stacks?

I was trying to fix this issue because various popups get focused even though they're not proper windows. I found out that that these UI element that get focus can be distinguished from the other windows because they have a AXWindow attribute (usually set to nil) so we should filter windows based on that:

I was under the impression I already did this. Check FilterWindowList():window.cpp and GetWindowRole():window.cpp

@chrishoage I added that code to the filtering functions so that's probably why the popup still closes, I'll clean up the code and upload a diff for you to try.
@koekeishiya In UpdateWindowTree() you update the WindowsLst assign it to FocusLst and then filter it. So if I undestand correctly only WindowLst get filtered (and that makes sense since we probably want to filter from tiling some windows but not from focusing) But this type of windows, since they aren't window should be filtered in both lists.

In UpdateWindowTree() you update the WindowsLst assign it to FocusLst and then filter it. So if I undestand correctly only WindowLst get filtered (and that makes sense since we probably want to filter from tiling some windows but not from focusing) But this type of windows, since they aren't window should be filtered in both lists.

Right, makes sense. Cheers.

Has anyone found anything that breaks because of this change? popclip and so on?
I don't use any of these applications, so I wouldn't know.

Little Snitch still works, maybe @matthewdias can confirm it for popclip? He did that the last time we had that question as well.

@cHoco ping me when you have that diff, I'm curious to try it and see how many of the autoraise issues I have

I have no idea how I have been overlooking this for so long. All we really have to do is make sure the same GetWindowRole() check I perform in the FilterWindowList.. functions also apply to the FocusLst.

@chrishoage Right now I was applying whole filtering function to all https://gist.github.com/cHoco/4070853127a876b4ab02

Try the following patch and let me know if it improves or breaks anything:
https://gist.github.com/koekeishiya/24290b5154b66ed0e972

@koekeishiya Maybe also allow kAXMenuRole as an allowed Role in FocusWindowBelowCursor ?

I have applied both of those patches independently from each other and both of them fix the Sublime Text Auto Complete issue!
Unfortunately any chrome extension that opens across another window is unusable, as it tirggers autorise on the window behind it.
Not sure what the difference is between the two approaches in the diffs but they each seemed to work.
As a curiosity I tried to apply both of them at the same time and they didn't seem to cause any issues with a few minutes of testing, and the ST3 auto-complete widnowissue have been solved.

Unfortunately any chrome extension that opens across another window is unusable, as it tirggers autorise on the window behind it.

That's the problem by simply ignoring the window. We need to detect that the window is there, and stop the focus-follows-mouse from being applied, instead of just "ignoring" the window.

Yeah, I just applied the filter for allowing quick testing for @chrishoage while I actually was using your exact same  approach in my local branch.

@cHoco correct, the chrome issue persists with just the @koekeishiya patch applied. Both fix the Sublime Text Issue. Neither fixed the Chrome Ext issue.

I believe the ShouldWindowGainFocus() function may be redundant now that we check the AXWindowRoleAttribute

I think that Chrome issue happens when in the FocusWindowBelowCursor a good window for focus is analysed before the current window and these pseudo windows that we are filtering. Maybe we can fix it by keep on iterating the FocusLst to check that there aren't other windows, or just iterate the other way around? (not sure if there is any logic in the window order CGWindowListCopyWindowInfo gives

I think that Chrome issue happens when in the FocusWindowBelowCursor a good window for focus is analysed before the current window and these pseudo windows that we are filtering. Maybe we can fix it by keep on iterating the FocusLst to check that there aren't other windows, or just iterate the other way around? (not sure if there is any logic in the window order CGWindowListCopyWindowInfo gives

The window list is already sorted by z-axis, which is why focus-follows-mouse can be implemented "this easy". It does all the sorting for us. The earlier in our list the window is, the more "frontmost" it is.

@koekeishiya that actually did work!
diff --git a/kwm/window.cpp b/kwm/window.cpp
index 408ecc8..b503f20 100644
--- a/kwm/window.cpp
+++ b/kwm/window.cpp
@@ -253,18 +253,20 @@ bool FocusWindowOfOSX()

 bool ShouldWindowGainFocus(window_info *Window)
 {
-    return Window->Layer == CGWindowLevelForKey(kCGNormalWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGFloatingWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGTornOffMenuWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGDockWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGMainMenuWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGMaximumWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGModalPanelWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGUtilityWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGOverlayWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGHelpWindowLevelKey) ||
-           Window->Layer == CGWindowLevelForKey(kCGPopUpMenuWindowLevelKey) ||
-           Window->Layer == 1490; // Note(koekeishiya): Unknown WindowLevelKey constant
+    bool Result =  Window->Layer == CGWindowLevelForKey(kCGNormalWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGFloatingWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGTornOffMenuWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGDockWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGMainMenuWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGMaximumWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGModalPanelWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGUtilityWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGOverlayWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGHelpWindowLevelKey) ||
+                   Window->Layer == CGWindowLevelForKey(kCGPopUpMenuWindowLevelKey) ||
+                   Window->Layer == 1490; // Note(koekeishiya): Unknown WindowLevelKey constant
+
+    return Result;
 }

 void FocusWindowBelowCursor()
@@ -290,14 +292,20 @@ void FocusWindowBelowCursor()
            KWMTiling.FocusLst[WindowIndex].Y == 0)
             continue;

-        if(IsWindowBelowCursor(&KWMTiling.FocusLst[WindowIndex]) &&
-           ShouldWindowGainFocus(&KWMTiling.FocusLst[WindowIndex]))
+        if(IsWindowBelowCursor(&KWMTiling.FocusLst[WindowIndex]))
         {
-           if(WindowsAreEqual(KWMFocus.Window, &KWMTiling.FocusLst[WindowIndex]))
-               KWMFocus.Cache = KWMTiling.FocusLst[WindowIndex];
-           else
-               SetWindowFocus(&KWMTiling.FocusLst[WindowIndex]);
-
+            CFTypeRef Role, SubRole;
+            if(GetWindowRole(&KWMTiling.FocusLst[WindowIndex], &Role, &SubRole))
+            {
+                if((CFEqual(Role, kAXWindowRole) && CFEqual(SubRole, kAXStandardWindowSubrole)) ||
+                   IsAppSpecificWindowRole(&KWMTiling.FocusLst[WindowIndex], Role, SubRole))
+                {
+                    if(WindowsAreEqual(KWMFocus.Window, &KWMTiling.FocusLst[WindowIndex]))
+                        KWMFocus.Cache = KWMTiling.FocusLst[WindowIndex];
+                    else
+                        SetWindowFocus(&KWMTiling.FocusLst[WindowIndex]);
+                }
+            }
             return;
         }
     }

is the state my git repo is in now

The only question now is, does this break Little Snitch @dominiklohmann ?
I've confirmed that popclip does work with these changes.

It kinda does. It gets focused and does not lose focus, but cannot gain focus from focus-follows-mouse anymore. I'm fine with that, since I can control it with keyboard shortcuts as long as it gains focus when it pops up.

It kinda does. It gets focused and does not lose focus automatically like before the layer 1490 patch, but cannot gain focus from focus-follows-mouse anymore.

The above changes requires kwmc config focus standby-on-float off to work properly. Having that option on will cause weird issue. Forgot to mention that.

I'm getting the same behaviour with standby-on-float set to off, Little Snitch is not considered a floating window by kwm.
Using kwm without standby-on-float can be really annoying at times.

The above changes requires kwmc config focus standby-on-float off to work properly. Having that option on will cause weird issue. Forgot to mention that.

Nvm what I said here, this was the result of some other change I have made locally.

Okay, then I'm all for merging this into master as it seems to work just fine.

I'm gonna go ahead and merge the changes I've made as they appear to be an improvement.

Great work :+1:

Chrome Extension Auto Raise issues has regressed with 3.0.0

Chrome Extension Auto Raise issues has regressed with 3.0.0

Focus follows mouse performs the exact same filtering as before. Do you have any rules that could potentially do something here?

This is an issue with auto-raise.
I have a chrome extension that spills off the edge of the window. With the code in this ticket, when I opened the extension opened over an adjacent window autoraise did not trigger the window behind the chrome extension, now it does.
Something changed, because now I can't use the chrome extension with autorise enabled. (Extension in my case is 1Password, which totally worked with the code in this ticket)

If i read this issue correctly, the following was the old code that fixed it:
 if((CFEqual(Role, kAXWindowRole) && CFEqual(SubRole, kAXStandardWindowSubrole)) ||
    IsAppSpecificWindowRole(&KWMTiling.FocusLst[WindowIndex], Role, SubRole))

This is the code version 3.0.0 has:
 if((AXLibIsWindowStandard(Window) ||
    (AXLibIsWindowCustom(Window))))

Function implementations:
 35 bool AXLibIsWindowStandard(ax_window *Window)
 36 {
 37     bool Result = ((CFEqual(Window->Type.Role, kAXWindowRole)) &&
 38                            (CFEqual(Window->Type.Subrole, kAXStandardWindowSubrole)));
 39     return Result;
 40 }
 41
 42 bool AXLibIsWindowCustom(ax_window *Window)
 43 {
 44     bool Result = ((Window->Type.CustomRole) &&
 45                           ((CFEqual(Window->Type.Role, Window->Type.CustomRole)) ||
 46                            (CFEqual(Window->Type.Subrole, Window->Type.CustomRole))));
 47     return Result;
 48 }

I tried making a screen recording of the issue, but when quick time was recording I couldn't even hover over the extension dialog window, it would close immediately. I can share the video if you want, but it is not an accurate representation of the issue. I can use the extension while the mouse is over chrome, but once the mouse leaves the chrome window, the extension dialog closes, because the window behind the extension is focused.

I wonder if the problem could be as simple as Chrome not creating a kAXWindowCreated notification, which is why the window appers nonexistant to Kwm.

That sounds like a really good guess.

Try this patch and see if that fixes it.
https://gist.github.com/koekeishiya/8483f6e3001d70dafc08f15a6bd25712

I can't seem to apply that patch. I keep getting fatal: corrupt patch at line 23

Uh my bad, try this one: https://gist.github.com/koekeishiya/655f1bc3707344372c5711299b421995

Negative, the chrome extension still seems to be "invisible" to kwm. When I hover over a window behind the chrome extension, the chrome extension closes.

Hmm, I really have no idea at this point, considering that last patch did nothing..


Channel request

Hi, I noticed there are a few channels missing from México but I am interested in one in particular which is De Pelicula HD found in mi.tv:
https://mi.tv/mx/canales/de-pelicula-hd
But it is not found in:
https://iptv-org.github.io/epg/guides/mx/mi.tv.epg.xml
Thanks in advance.

Has been added in recent PR, should be OK.

Thanks I will wait for it to update, it is still showing the other De Pelicula which has different programing compared to the De Pelicula HD.
:)


Duplicated description for scheduling index page

This is a Bug Report
Problem:
The description and its proceeding text on the scheduling index page are almost duplicated.
Proposed Solution:
The following text on the index page needs to be removed:

In Kubernetes, scheduling refers to making sure that Pods are matched to Nodes so that the kubelet can run them. Preemption is the process of terminating Pods with lower Priority so that Pods with higher Priority can schedule on Nodes. Eviction is the process of terminating one or more Pods on Nodes.

Page to Update:
scheduling-eviction
/language en

I have a specific fix in mind: suppress the display of the page description at the start of the page. That way, we retain the tooltips that we want, and we avoid the duplication.

/language en
/priority backlog
/triage accepted


separate optimize UT and improve UT infra

Type of Change
Infra Improvement:
(1) separate optimize UT to CI/Nightly
(2) improve UT efficiency

ALL CI pass, Optmize UT coverage drop due to some tests move to nightly. Neuralchat UT fail due to "zhconv" not installed, but PR UT pass as "zhconv" is added into tests/requirement. Ready for merge.


Make periodic sync nodes from -cloud_provider/-machines optional.

-sync_nodes=false gives user flexibility to add/remove nodes in the
cluster using REST api/kubectl cli and at the same time can use
cloud provider for other resources like persistent disks, etc.

@smarterclayton @ddysher please review

This LGTM, but can you please file a CLA so we can accept it? (CONTRIBUTING.md)

Ravi is a Red Hat employee and covered under our CLA

On Jan 14, 2015, at 8:50 PM, Daniel Smith<EMAIL_ADDRESS>wrote:
This LGTM, but can you please file a CLA so we can accept it? (CONTRIBUTING.md)
—
Reply to this email directly or view it on GitHub.

@ddysher updated, please take a look

travis is failing, can you double check code is go formatted?

need a rebase

@ddysher rebase done

sorry, looks like you need to rebase again..  Also, ur change is conflict with #3733.  You can either wait until that one is in, or rebase earlier so this can go in quickly :)

@ddysher @lavalamp rebased the code couple of times, could you please merge the pull request

Should be merged in the morning.

@pravisankar k8s is under heavy development, I've rebased PRs several times before.
With node status syncs, this is no longer the correct way to do this.  We must keep node controller running for syncing node status
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/cloudprovider/controller/nodecontroller.go#L105
and make sync node list optional.

@pravisankar There are some more changes going on with controller manager, can we have a fix?

@ddysher @lavalamp please review the fix

LGTM


Add support for per API configurable options

Creates an {operation}Options object per operation

RecognizeCustomFormOptions
RecognizeContentOptions
RecognizeReceiptOptions
TrainingOptions

Each option is located next to the client namespace
Moved ContentType to main namespace as it is an input parameter and now encapsulated by the other Option objects

API view: https://apiview.dev/Assemblies/Review/cf2c57b3d4c44ef08c2e8284f7441a2d?diffRevisionId=0ee80a9f9a204a379ffca0e21f251fd0
Fixes: https://github.com/Azure/azure-sdk-for-net/issues/14097

Does Changelog need update?

Yes! thank you for the reminder. Will add

I know you just merged it, but here are my nitpicking comments for a next PR, maybe.

Thank you!!! I addressed all your comments in PR https://github.com/Azure/azure-sdk-for-net/pull/14106


ack does not search stdin from terminal

From the help text:
ack may also search STDIN, but only if no file or directory arguments are
specified, or if one of them is "-".

However, when no files are specified, ack recursively searches the current directory:
ack .

And when "-" is specified, it is treated as a file name:
$ ack . -
ack: -: No such file or directory

I understand the usefulness of the first case, as this is probably what people mean 90+% of the time, but when the user explicitly asks for stdin (as in the second case), it would be nice to let them have it.

You're asking it to both descend through a tree AND search stdin.  I don't see how that would make sense to do.

I don't want it to search through the tree.  In this case I mean "." as the pattern (matching anything).  The results are equivalent with "a":
$ ack a

searches the tree, and:
$ ack a -
ack: -: No such file or directory

Ah, ok, you want ack --filter.

  --[no]filter                  Force ack to treat standard input as a pipe
                                (--filter) or tty (--nofilter)

Oh, great!  Thanks!  Sorry, should have found that myself.  :)

Not a problem.  It took me a minute to find it myself. :-)


Upload a file it seems to change encoding

Downloaded a PS file and encoding is UTF-8, but seems it is adding characters for some reason:

As viewed from VS Code on the same file:

Ok, so this is not related to your app...I get the same result uploading the file via the Portal.

I ended up having to just rewrite that line and those special characters stopped showing up.

Glad you figured it out!


go-grpc-prometheus is deprecated

go-grpc-prometheus is deprecated
functionality moved to go-grpc-middleware repo since<EMAIL_ADDRESS>release.

Fixes: https://github.com/containerd/containerd/issues/9806

https://github.com/containerd/containerd/pull/9845

Oop, it looks like we both decided to solve this 😭

Oop, it looks like we both decided to solve this 😭

yes, so I closed mine. haha


Load also images from http , not just from local

If the image is on local, then opens a reader to read the contents and transform into bytes.
It should be the same with any image on http(s) scheme ;-)

@ignatandrei hope it helps  :)
https://github.com/ignatandrei/AspNetCoreImageTagHelper/pull/2

Thank you!


Support for Thermostat MTS200?

Will be also supported thermostat?
https://www.meross.com/smart-thermostat/smart-wi-fi-thermostat/116

You might try it out. I don't have such device. Feel free to give feedback.

Fiddler is not for iOS :( Is possible to catch communication with another way?

You should use fiddle or its alternatives as proxy, not directly on iOS. ;-)

Good point, I'm idiot :D
What information do you need?
{
    "payload": {
        "holdAction": [
            {
                "channel": 0
            }
        ]
    },
    "header": {
        "messageId": "b71825d87xxxxxxxx",
        "method": "GET",
        "from": "http:\/\/<IP_ADDRESS>\/config",
        "payloadVersion": 1,
        "namespace": "Appliance.Control.Thermostat.HoldAction",
        "uuid": "22090721xxxxxxxxxxx",
        "sign": "fd0c78xxxxxxxxxxxxx",
        "triggerSrc": "iOSLocal",
        "timestamp":<PHONE_NUMBER>
    }
}

{
    "header": {
        "messageId": "a99aee42xxxxxxxxxx",
        "namespace": "Appliance.Control.Thermostat.Schedule",
        "triggerSrc": "iOSLocal",
        "method": "GETACK",
        "payloadVersion": 1,
        "from": "/appliance/2209072xxxxxxxxxxxxxx/publish",
        "uuid": "22090xxxxxxxxxx",
        "timestamp":<PHONE_NUMBER>,
        "timestampMs": 867,
        "sign": "f80xxxxxxxx"
    },
    "payload": {
        "schedule": [
            {
                "channel": 0,
                "section": 6,
                "sun": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ],
                "mon": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ],
                "tue": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ],
                "wed": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ],
                "thu": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ],
                "fri": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ],
                "sat": [
                    [
                        390,
                        200
                    ],
                    [
                        90,
                        250
                    ],
                    [
                        300,
                        250
                    ],
                    [
                        300,
                        100
                    ],
                    [
                        240,
                        250
                    ],
                    [
                        120,
                        200
                    ]
                ]
            }
        ]
    }
}

{
    "header": {
        "messageId": "fa0317fc58xxxxxxxxxxx",
        "namespace": "Appliance.Control.Thermostat.Mode",
        "triggerSrc": "iOSLocal",
        "method": "GETACK",
        "payloadVersion": 1,
        "from": "/appliance/220907xxxxxxxxxxxxxxxx/publish",
        "uuid": "220907xxxxxxxxxxxxxxxxxxxxxx",
        "timestamp":<PHONE_NUMBER>,
        "timestampMs": 775,
        "sign": "465a5xxxxxxxxxx"
    },
    "payload": {
        "mode": [
            {
                "channel": 0,
                "onoff": 0,
                "mode": 4,
                "state": 0,
                "currentTemp": 225,
                "heatTemp": 260,
                "coolTemp": 180,
                "ecoTemp": 120,
                "manualTemp": 190,
                "warning": 0,
                "targetTemp": 190,
                "min": 50,
                "max": 350,
                "lmTime":<PHONE_NUMBER>
            }
        ]
    }
}

Which payload is associated with which action? You should provide deeper information what you did and which was the corresponding output. I think guessing would not bring me/us forward. 🤓

Opened Meross app and clicked on thermostat. Do you have some IM? Discord, Messenger,...?

you might mail me directly at dehsgr at sign outlook dot sign com.

I thought some instant messages :)

Not enough time for IM. :-(

OK, what information do you need to know?
As I wrote - I opened Meross app and then clicked on my thermostat (it's only one accessory from meross).

I think you just performed more than one simpe click as you posted 4(!) JSON objecs. As I told here I need more specific information which action is triggering which payload and which configuration information you set.
I don't have such device. So to bring things forward I need any information as detailed as you can - just a step-by-step tutorial...

First is Request and second is Reponse. Same in another post.

OK. I see. But you did two different actions. What actions were them? I see Appliance.Control.Thermostat.Mode and Appliance.Control.Thermostat.HoldAction but what do them? You will have to provide much more information.

First is while opening app, second while clicking to thermostat.

Ok. And what is the action behind clicking the Thermostat? Should I really ask each detail? 🥶 Common! Tell me a bit more. Screen Shots regarding each payload could be more efficient.
Imagine:
I don‘t have such device so it is a totally blackbox for me what is on your site. And you are the one which is asking for supporting this device.
Don‘t forget:
I invest my free time here for no return...

I know, but that is main reason, why I wanted IM, because it's faster to response, etc. I will arrange all screens and payloads.

Hi @dehsgr, there are 2 flows I'm interested in:

setting brightness -> this can be done 0-8 from the app, which gets translated to x12.5, so 0-100
get current temperature and state for logging (and I guess setting mode/target temperatures didn't require too much plus effort, so I also included those), setting temperature can be done in 0.5C increments

Here is a file with sample requests/responses and some notes: Meross thermostat.md
And some screenshots:

Let me know if you need anything else.

Hi @Cyberbeni, thanks for input and the given information. Which devices do support brightness? This is for correctly decision where to place the code. Thanks again.

I only have the MTS200 (there are 2 variants but the only difference is that one gives power on the output and the other is NO or NC depending on how you wire it), don't know if other devices support brightness.

Hi, sorry for not communicating but I'm sick. I also have the brightness setting in the device menu in the Meross application, but I have no idea what it's for. Unfortunately, I don't have any other Merros devices either.

The brightness is for the device itself, so if you don't want it to display the current temperature/mode at night, you can set the standby brightness to 0 then set it back to non-0 during the day. (The app doesn't have scheduling for this, that's why I want to do it in node-red)


SSE move PUT changes from API to S3 layer

What this PR does / why we need it:
Moves the code for encryption during PUT object, to the S3 layer, to enable re-use during migration and copy of object
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@sfzeng @nguptaopensds @kumarashit please review, thanks

Associated PR to track #800


Jwoo/ios telephony update

Related Issue
fixed #3534
Description
Phone number in markdown wasn't working.
UITextView has to be specifically enabled for detection of phone number in the link.
Fixed by enabling it.
How Verified

Tested with json payload and confirmed that the link is detected.

Microsoft Reviewers: Open in CodeFlow

@nesalang can we actually add the sample json to the samples folder if it doesnt already exist ?

@nesalang does this need to be included in the outbound monthly patch (v1.2.6 for this month)?

sure, it's added. all platforms work as expected.

In reply to: 342075466 [](ancestors = 342075466)


Configure OAuthClient with OpenID Discovery configuration

https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata

done by RFC8414

The RFC mentions /.well-known/openid-configuration, but authlib uses /.well-known/oauth-authorization-server - is this an older version of the RFC or a istake?

There are two RFCs.

/.well-known/openid-configuration is defined by OpenID Connect
/.well-known/oauth-authorization-server is defined by RFC8414

Hi @lepture,  I need to expose this url btw for a 3rd party to get our urls.. but I'm not sure what to do.. Do I manually expose it? or is there a way in authlib to expose /.well-known/openid-configuration

@leonidguadalupe you can manually expose it.

Thank you very much :)


No way to use a custom template with the Paginator anymore

In Laravel 4 we could easily use a custom template for the Paginator and customize the resulting markup by that.
Now, in Laravel 5 we can't (at least not that easy).
In Laravel 4 we could configure the "pagination" array item in "app/config/view.php" or use the "links()" method with a parameter leading to a template.
Now, in Laravel 5, all I see is that we'd have to implement a custom Presenter for the Pagination.
Also, it's not saying that in the upgrade guide that this was changed.

The render method accepts 0 or 1 params. You can pass a presenter into that and do your custom view stuff with that. :)

It must implement this interface: https://github.com/laravel/framework/blob/5.0/src/Illuminate/Contracts/Pagination/Presenter.php.
You can of course extend any of the presenters in https://github.com/laravel/framework/tree/5.0/src/Illuminate/Pagination.

Also, it's not saying that in the upgrade guide that this was changed.

We'd be grateful for a pull request to the docs. :)


[Feature Request]: eagerly evaluating pipeline starting with Create() in Python

What would you like to happen?
For documentation and testing, I find it super convenient to be able to pass Python objects such as a list into a PTransform, which causes the PTransform to be evaluated eagerly, e.g.,
>>> [1, 2, 3] | beam.Map(lambda x: x ** 2)
[1, 4, 9]

I would like to be able to do the same sort of thing for pipelines that start with beam.Create() rather than an existing PCollection. This would be particularly helpful for examples where I use beam.Create() inside my library's own custom PTransforms (and thus cannot simply unwrapped beam.Create).
This would need to use some sort of special placeholder value, e.g., perhaps None or another sentinel value/class, e.g., perhaps
>>> beam.EagerPipeline() | beam.Create([1, 2, 3]) | beam.Map(lambda x: x ** 2)
[1, 4, 9]

To solve this problem inside Xarray-Beam (for unit-testing), I wrote a funny EagerPipeline class that actually serializes the results to a temporary file on disk:
https://github.com/google/xarray-beam/blob/037d1f3ea077a9d97e614dd4ac2959ee45633df9/xarray_beam/_src/test_util.py#L32-L51
I guess I could externalize this to my users but I would love to be able to point to something upstream.
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

thanks for filing.  how do you use eager evaluation in documentation and testing?
something similar is possible with interactive runner but is more verbose.


Add "Disconnect GitHub" button to GitHub screen

Add a button at the bottom of the screen to sign out of GitHub:
Arcade

Microbit

I changed the wording from "Unlink" to "Disconnect" because it made more sense to me. Curious what others think.

Resolves https://github.com/microsoft/pxt-microbit/issues/4398

Looks good to me too. @Jaqster

In general, the GitHub auth experience is a little weird to me.  Right now, the only way you can sign into GitHub is through the little GitHub button at the bottom of the editor, correct?
Even though I know our GitHub auth is different from our Cloud Synch auth stuff, I feel like as a user I would expect all my services/account connection status and actions to be in one place.
I know this is meant to be a quick fix, but I do think it's a disjointed experience, and this little button doesn't really help too much with that.  Ideally, would want to find a way to connect/disconnect from GitHub through the top right Profile/Sign in UI component.

Unfortunately, we can't logout from the profile because github is local sign-in only. For example, profile should be identical if you open from any machine. It won't be in case of github if we put the thing in the profile.

I don't understand.  Maybe we can have a quick call and you can explain?

This was meant to be a quick fix specifically to address the issue mentioned in the description. I agree the GitHub integration, especially as it intersects with cloud identity, is disjoint. Redesigning it is out of scope for this release as much as I'd like to tackle that!

This button fixes this scenario: when the user is not signed in to their profile, but they are signed into github, there is currently no UI to sign out of github.


FAILURE

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp log tail
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'host_name_ssl_states'
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/appservice/custom.py", line 2401, in get_streaming_log
    scm_url = _get_scm_url(cmd, resource_group_name, name, slot)
  File "/opt/homebrew/Cellar/azure-cli/2.32.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/appservice/custom.py", line 2068, in _get_scm_url
    for host in app.host_name_ssl_states or []:
AttributeError: 'NoneType' object has no attribute 'host_name_ssl_states'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp log tail --resource-group {} --name {}

Expected Behavior
Environment Summary
macOS-12.1-arm64-arm-64bit, Darwin 21.2.0
Python 3.10.1
Installer: HOMEBREW

azure-cli 2.32.0

Additional Context

route to service team

This is the second case I am seeing reporting this behavior, however, I don't seem to be able to repro it. @StrawnSC can you check if this happens of Lima Apps specifically?

duplicate with #20489


Can't connect to the database :(

Hi, guys,
I'm getting this: "error establishing a database connection" and can't debug it and connect the DB with the .env file. Is there something basic I'm missing? I'm not very familiar with docker and Symfony 6, I'm working with Symfony 4 mostly.
Regards,
Boris

Hi, does this happen right after installation? If that's the case it's probably because the MySQL container is not ready yet.
If it happens regardless of the timing, check if all containers are running in Docker Desktop (they should be green and not gray or red). Also check the logs of the MySQL container by clicking on it, and see if there's an error.

I'm also having this issue. Appears the mysql container is failing to initialise due to the following error:
mysql_1    | 2024-05-02T14:59:48.142891Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=mysql_native_password'.
mysql_1    | 2024-05-02T14:59:48.143475Z 0 [ERROR] [MY-010119] [Server] Aborting

Indeed the compose files are outdated. This line should be removed.
Also as MySQL is not semver, 8.1~8.4 are innovation releases and the compose image should be mysql:8.0 or mysql:8.0.37 for production use.
I'll make a fix soon but that will only apply to later installs unfortunately.
For existing installs, a manual upgrade of the password is necessary for production databases, or recreate it completely as you mentioned.

It's fixed with the latest installer. I've restricted MySQL to 8.0.37 and removed mysql_native_password.


[BUG] Issue with running some applications

Describe the bug
I'm trying to run the Krita and GIMP apps but they cannot open, I installed both as flatpaks with the software app, but I also tried running Krita as appimage and the same error happens.
I also tried following the advice on this thread, and executed the command unset QT_QPA_PLATFORM, but the error still happens.
After trying to run the app with the command flatpak run org.kde.krita, this warning appears:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb.

Your current image
State: idle
warning: Failed to query journal: couldn't find current boot in journal
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 3h 52min ago
Deployments:
ostree-image-signed:docker://ghcr.io/secureblue/silverblue-nvidia-userns-hardened:latest
Digest: sha256:3448f166b2ab3e57b5d7c611bdea8c3f9f304224f6f8717deb1f5cfcfdea5c90
Version: 40.20240911.0 (2024-09-12T05:42:39Z)
Diff: 55 upgraded, 1 removed, 1 added
● ostree-image-signed:docker://ghcr.io/secureblue/silverblue-nvidia-userns-hardened:latest
Digest: sha256:30e5fc0437c7fc66c1456306c5783568a7c2925dee324b4c8639fa7d7a3c37ae
Version: 40.20240908.0 (2024-09-09T05:42:11Z)
ostree-image-signed:docker://ghcr.io/secureblue/silverblue-nvidia-userns-hardened:latest
Digest: sha256:30e5fc0437c7fc66c1456306c5783568a7c2925dee324b4c8639fa7d7a3c37ae
Version: 40.20240908.0 (2024-09-09T05:42:11Z)
AvailableUpdate:
Total layers: 69
Size: 4.2 GB
Removed layers: 10
Size: 2.3 GB
Added layers: 10
Size: 2.3 GB

Xwayland is disabled by default in secureblue. Please consult the FAQ for details and how to enable it if need be.
That said, if you install GIMP from flathub-beta-verified it supports wayland natively. Unsure about Krita. If it doesn't then you can turn Xwayland on via the toggle in the FAQ like I mentioned.

Neither app supports Wayland, only X11, and secureblue disables XWayland by default, which can be re-enabled with the ujust toggle-xwayland command.
By the way, Krita immediately crashed on launch due to some memory corruption bug as I tested forcing these apps to run on Wayland, so you'll have to disable hardened_malloc for Krita for it to run.


nodejs v23.1.0  not creating public/mix-manifest.json

Laravel Mix Version: 6.0.49
Node Version (node -v): v23.1.0
NPM Version (npm -v): 10.9.0
OS: mac os / linux

Description:
i upgrade to node v23.1.0 and ran npm run mix --production and it doesnt create the public/mix-manifest.json file.
npm run development does seem to work and creates the file.
Steps To Reproduce:

remove public/mix-manifest.json file
install node v23.1.0
run mix

on node v22 it does work

it also quits before the ending of the build process and gives no error message.

it seems that nodejs v23.2.0 works correct again


Cant get req

Hi, i am trying to log out req but got this error and here my code:

@anhquanduong2007 what versions of @nestjs-shopify/* are you using?

Hi, I am using version 0.0.15 for @nestjs-shopify/* and version 9.0.4 for @nestjs/*

@anhquanduong2007 did you consider upgrading to @nestjs-shopify/*: 2.0.0?

@anhquanduong2007 also, could you perhaps show the repo, or create a reproduction on codesandbox or stackblitz?

@anhquanduong2007 Tried to replicate it on stackblitz: https://stackblitz.com/edit/nestjs-typescript-starter-dyquiq?file=src/app.module.ts
I used v2 of @nestjs-shopify/webhooks. It seems to just work. Could you try forking that and maybe showing what breaks it?

Hi, i think i found the bug for this problem, probably due to nestjs version conflict, thanks for your help!


Better syntax for filterexprs in config

At the moment, filterexprs have to be enclosed in quotes which are themselves escaped as they're within another set of quotes, like this:
ignore-article "*" "title =~ \"Windows\""

Ugh.
But we can fix this without even breaking anything (in theory, at least). Simply make the first non-whitespace character that follows the operator to be a delimiter! Then we'll be able to write things in a more usual regexp-ish style:
ignore-article "*" "title =~ /Windows/"

Of course, we should be able to escape the delimiter for it to be interpreted literally:
ignore-article "*" "title =~ /Windows\/Unix\/Mac/"

(apart from the obvious option of choosing a more appropriate delimiter.)

Even though the main incentive for this change is to make configs prettier, things don't stop there. This is actually a change to the filter expressions parser itself, so the change will be available from the dialogs within Newsbeuter UI as well.


Collect additional metrics

What does this PR do?
Collect new cockroachdb metrics:

admission
sql
backup
changefeed

Motivation
Increase parity with the cockroachdb_dedicated check: https://github.com/DataDog/integrations-extras/blob/master/cockroachdb_dedicated/metadata.csv
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Thanks for adding these extra metrics. This is just what i need.
Since I'm using the Datadog helm chart, how would I know when these changes will be made into the DD Agent?
https://github.com/DataDog/integrations-core/blob/master/cockroachdb/CHANGELOG.md#250--2022-12-09

Hi @jackchi! These changes have been released with the datadog-agent version 7.42. You can either update the datadog/agent image tag to use 7.42.0 or latest and you'll have access to these changes.


prefer-includes misses a few cases

I'll include some examples from our code base:
if (!str || _.indexOf(str, "_") < 0) {

if (_.indexOf(self.unmatchedColumns, idx) > -1) {

if (_.indexOf(recommendedNetworks, network.get('network')) >= 0) {

There are theoretically lots of other ways this could be written, but I'm sure there is a point of diminishing returns. Here is the rough draft I came up with which tries to be very clever about finding all kinds of edge cases:
captbaritone@c2059a8
It's pretty gross and I don't like it at all, which is why I still haven't merged it. I'm guessing something less "clever" (like your solution) but that catches the above three cases would be a nice middle-ground.

Hi,
Sorry for not responding to this on the original thread.
I agree with you about the middle ground. I'll see if I can find an elegant way to add it, or you're welcome to submit a PR.

I'd love to see what you come up with ;)
--
Jordan Eldredge
Please excuse any typos or terseness; this email was sent from a mobile device.

On Apr 2, 2016, at 8:55 AM, Omer Ganim<EMAIL_ADDRESS>wrote:
Hi,
Sorry for not responding to this on the original thread.
I agree with you about the middle ground. I'll see if I can find an elegant way to add it, or you're welcome to submit a PR.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


MGMT-18196: Replace parameters upon fleet rollout

At this point, the only parameters recognized are of the form {{ device.metadata.labels[key] }}, and the service will replace that with the label value corresponding to the specified key for each device.
Parameters in gitConfig and inlineConfig are replaced upon rollout. Errors are currently logged but not reported to users - this will be fixed in a followup.
For gitConfig, parameters in TargetRevision require special handling and will be handled in a followup.
Outline of changes:

When validating fleets: do not validate ignition format if inline config contains parameters.
When populating templateVersion: remove redundant validations of inline configs.
When populating templateVersion: propogate the error when setting the status.
When rolling out a templateVersion to a fleet: replace parameters before writing to device.spec

That's a great start, thank you!
Only comment I'd have is I believe we should switch from search/replace to gotemplates rather sooner than later, because I suspect the change will be harder then.


v3 Playground: Add a hide sidebar button

When presenting and zoomed into the playground, even with the JS at its smallest - it's still too much.

Fixed in #200


Fixed AVL Tree bug

This is a pull request in response to #61

Tree rotation was replaced by updating links of the tree structure

Keep track of the height of each node
Determine if the node needs to be rotated by comparing the left right factor

Delete node will recurse until reaches a leave node, otherwise replace target by a replacement (successor)
Removed irrelevant test cases

Thanks for fixing the bug, but could you use the original indentation settings? Now there's a ton of code that's listed as changed when it's just the indentation that is different. This makes it hard to see the actual changes. ;-)

@hollance Sure will do! Will push changes here

nvm! Found the coding style here! https://github.com/raywenderlich/swift-style-guide Sorry for my silly question!

I'm closing this pull request as I've created another to fix the indentations issues in this pull request. Please proceed to #81


Return deployment success as boolean

Hi Jens,
it would be useful to check if the deployment was successful. With this PR, it is possible to do something like this:
const result = await sfccDeploy(config);

if (result) {
 // Deployment was successful
} else {
 // Deployment was not successful
}

A more advanced approach would be to reject the Promise in case of an error.

Hi Christoph,
it might be a better approach to reject the Promise. And for the existing code I know it's not that breaking change.
So the catch block could look like:
  } catch (e) {
    finishStep(false);
    throw e;
  }

So we can keep the return type to be Promise<void>. There aren't useful information to return.
The caller is responsible to decide whether to log the error or don't.

@jenssimon Updated.
Now it can be used this way:
sfccDeploy(config).catch((error) => {
  // Deployment was not successful
});

Yes or what I would prefer:
try {
  await sfccDeploy(config);
} catch(error) {
  // Deployment was not successful
}


Issue #1005 Add PUT operation and the codec for the same

A few assumptions made during the operation definition:

The design was limited to simple get and put operations only.
A sequence of PUT operations get resolved to the last PUT operation. A need for a different type to represent the resolved value does not exist at the moment as there is not metadata associated with operations. Hence PUT operation can be reused. A new type can be added if the need arises in future.
Since the initial iteration is not gonna have expiry support the metadata has been completely omitted. Addition of metadata for expiry calculations will depend upon the decision taken on #1015.

Addressed some of the review feedback:

Improved the decoding logic by avoiding additional allocations
Did some refactoring to improve the abstractions

In the last iteration I've done some nasty renaming which has resulted in a slightly convoluted diff view:
The old OperationCodecFactory has been renamed as OperationCodecProvider. And the name OperationCodecFactory was reused as the name of the new abstract base class that is extended by all operation specific codec factories like PutOperationCodecFactory. So just watch out for these.

Please rebase, then it's good to go.


How to get compose id ?

I am trying to make email tracking extension using this script,I need a button on every compose window,when the button is clicked it will open popup window with some content,but problem is that it works on single compose box but not work on when multi compose box is opened.please check attachment

Problem may be solved if i get compose id, but i am not sure how to get compose id and integrate code with multi compose box
Thanks in advance :)

Please see https://github.com/KartikTalwar/gmail.js/issues/202
You can also search previous issues for more examples

unfortunately it is not working for me,what i have done to append in gmail.js file as below
 api.tools.add_compose_button =  function(composeWindow, content_html, onClickFunction,    styleClass) {

var button = $(document.createElement('div'));
var buttonClasses = 'T-I J-J5-Ji aoO L3 ';
if(styleClass != undefined){
  buttonClasses += styleClass;
}
button.attr('class', buttonClasses);

button.html(content_html);
button.click(onClickFunction);

composeWindow.find('.gU.Up  > .J-J5-Ji').append(button);

return button;   }

it defiantly work fine with multi compose open when clicked on compose button but not work when reply to email compose window if any main compose box is opened before replied to email

I unfortunately do not have enough time at the moment to look into this but you can somehow use the get.current_page() to see if you are inside an email and try to find the dom yourself instead of relying on the library. That is the best I can help you out with. Sorry!


owncloud: 3.2.1 -> 4.0.0

Description of changes

Upgrade owncloud 3.2.1 -> 4.0.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.11 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.

@ofborg build owncloud

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/2218


Installation: gpg recv-keys fails

Bug Report

What did you do?

Following the github installation guide. When executing gpg --recv-keys 052996E2A20B5C7E I get gpg: keyserver receive failed: No data
What did you expect to see?

Something like "Key imported"
What did you see instead? Under which circumstances?

I get: gpg: keyserver receive failed: No data. Verbose output:
gpg: data source: https://hkps.pool.sks-keyservers.net:443
gpg: keyserver receive failed: No data

Environment
Operator type:

Archlinux installation: 5.9.14
GPG version: gpg (GnuPG) 2.2.25
language go

Kubernetes cluster type:

Not relevant
$ operator-sdk version
Trying to install v1.3.0

$ go version (if language is Go)
go version go1.15.6 linux/amd64

$ kubectl version
v1.19.4

Possible Solution
Maybe specify the keyserver to be used (if the key is correct). Or provide the correct key?

Additional context

You can also go to https://keyserver.ubuntu.com/ and try searching for the key.

$ gpg --recv-keys 052996E2A20B5C7E
does not work
gpg: keyserver receive failed: No data
Tried with different key servers. Searched for the key on different keyservers ( http://keys.gnupg.net/ , https://pgp.mit.edu/ , https://keyserver.ubuntu.com/ ) . Key is not found on various online PGP databases.

$ gpg -u "Operator SDK (release<EMAIL_ADDRESS>--verify checksums.txt.asc
says
gpg: assuming signed data in 'checksums.txt'
gpg: Signature made Thu 17 Dec 2020 09:33:09 PM CST
gpg:                using RSA key 2A859D08BF9886DB
gpg: Can't check signature: No public key
But

$ gpg --recv-keys 2A859D08BF9886DB
also does not work.
gpg: keyserver receive failed: No data
Tried with different key servers. Searched for the key on different keyservers. Key is not found on various online PGP databases.

$ gpg --recv-keys 052996E2A20B5C7E
does not work
gpg: keyserver receive failed: No data
Tried with different key servers. Searched for the key on different keyservers ( http://keys.gnupg.net/ , https://pgp.mit.edu/ , https://keyserver.ubuntu.com/ ) . Key is not found on various online PGP databases.

$ gpg -u "Operator SDK (release<EMAIL_ADDRESS>--verify checksums.txt.asc
says
gpg: assuming signed data in 'checksums.txt'
gpg: Signature made Thu 17 Dec 2020 09:33:09 PM CST
gpg:                using RSA key 2A859D08BF9886DB
gpg: Can't check signature: No public key
But

$ gpg --recv-keys 2A859D08BF9886DB
also does not work.
gpg: keyserver receive failed: No data
Tried with different key servers. Searched for the key on different keyservers. Key is not found on various online PGP databases.

Same issue and error. Unable to import key using "gpg --recv-keys 052996E2A20B5C7E" command.

Same issue and error. Unable to import key using "gpg --recv-keys 052996E2A20B5C7E" command.

The key has been re-uploaded, can you retry @jdewinne?

The key has been re-uploaded, can you retry @jdewinne?

Can confirm that I was able to pull this key from keyserver.ubuntu.com

Can confirm that I was able to pull this key from keyserver.ubuntu.com

:+1: Works for me. Closing it.

:+1: Works for me. Closing it.

You also need to specify the correct keyserver. Default keyserver on Ubuntu 20.04.1 LTS did not work. (added -v for verbose to show default keyserver versus explicit keyserver)
WORKED for me:
$ gpg -v --recv-keys --keyserver hkp://hkps.pool.sks-keyservers.net 052996E2A20B5C7E
gpg: data source: http://hkps.pool.sks-keyservers.net:11371
gpg: armor header: Version: SKS 1.1.6
gpg: armor header: Comment: Hostname: sks.pod02.fleetstreetops.com
gpg: pub  rsa4096/052996E2A20B5C7E 2020-10-30  Operator SDK (release<EMAIL_ADDRESS>gpg: /home/user/.gnupg/trustdb.gpg: trustdb created
gpg: using pgp trust model
gpg: key 052996E2A20B5C7E: public key "Operator SDK (release<EMAIL_ADDRESS>imported
gpg: Total number processed: 1
gpg:               imported: 1

DID NOT WORK for me.
$ gpg -v --recv-keys 052996E2A20B5C7E
gpg: data source: https://keys.openpgp.org:443
gpg: keyserver receive failed: No data

You also need to specify the correct keyserver. Default keyserver on Ubuntu 20.04.1 LTS did not work. (added -v for verbose to show default keyserver versus explicit keyserver)
WORKED for me:
$ gpg -v --recv-keys --keyserver hkp://hkps.pool.sks-keyservers.net 052996E2A20B5C7E
gpg: data source: http://hkps.pool.sks-keyservers.net:11371
gpg: armor header: Version: SKS 1.1.6
gpg: armor header: Comment: Hostname: sks.pod02.fleetstreetops.com
gpg: pub  rsa4096/052996E2A20B5C7E 2020-10-30  Operator SDK (release<EMAIL_ADDRESS>gpg: /home/user/.gnupg/trustdb.gpg: trustdb created
gpg: using pgp trust model
gpg: key 052996E2A20B5C7E: public key "Operator SDK (release<EMAIL_ADDRESS>imported
gpg: Total number processed: 1
gpg:               imported: 1

DID NOT WORK for me.
$ gpg -v --recv-keys 052996E2A20B5C7E
gpg: data source: https://keys.openpgp.org:443
gpg: keyserver receive failed: No data


Bug : The link is not working in Reactiflux card

The Link button is not working in Reactiflux card

Hi this was merged in #33. Closing


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1517 ms

Resolved: Bofrost.at performance has improved in b75e650 after 47 minutes.


How to use BoellaardScatterCorrectionImageFilter

How to decide the SetScatterToPrimaryRatio when using this filter?

This is more a question for the mailing list than an issue. You can refer to the article, doi.org/10.1118/1.598066. That really depends on the scanner configuration (beam size, air gap, etc.). You can evaluate image quality for several values to estimate it. Please use the fix in #547 .

Thanks a lot， I am using the fix in#547 now。


A Few Fixes for TSL

Please take a look at the commit messages for detail.

@leasunhy,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Good job, could you pls add one or two unit tests wrt this issue?

Targeting test branch as tsl is already merged.

Currently I see that the offset bug is fixed for list copy. Please also make sure that the size is also secured.


Add VirtualizingWrapPanel

What does the pull request do?
Adds VirtualizingWrapPanel control. This behaves similar to WrapPanel, but content is virtualized.
What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

@emmauss does it support items of different sizes, like in normal wrap panel? I wonder if it might be easier to start with VirtualizingUniformGrid, which always have cells of the same size. API-wise can be inspired either by UniformGridLayout (items repeater) or UniformGrid panel.

You can test this PR using the following package version. 11.0.999-cibuild0034310-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

In WPF, VirtualizingWrapPanel can be implemented by third parties. I don't quite understand. Shouldn't the priorities of wrappanel and stackpanel be parallel? Why do both WPF and Avalonia choose stackpanel first? Or is it that wrappanel can pass stackpanel? Manual implementation?

In WPF, VirtualizingWrapPanel has implemented by third parties. I don't quite understand. Shouldn't the priorities of wrappanel and stackpanel be parallel? Why do both WPF and Avalonia choose stackpanel first? Or is it that wrappanel can pass stackpanel Manual implementation?

Because StackPanel is a basic container that can be used to create both simple and complex layouts. WrapPanel is a specialized stackpanel. You would use StackPanel to create menus, grid-like layouts,, virtual keyboard layouts, lists, etc. WrapPanels aren't suitable for these.


Switching to EN_US local does stop rendering

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
0.1.3
Reproduction link
https://univer.ai/playground/?title=UMD
// univer --> index.html
var univer = new UniverCore.Univer({
theme: UniverDesign.defaultTheme,
locale: UniverCore.LocaleType.EN_US,
logLevel: UniverCore.LogLevel.VERBOSE,
});

Expected behavior
Local swith to EN_US
Actual behavior
rendering fails
System information
No response

You forgot to add locales for it.
https://univer.ai/guides/quick-start/i18n/


Check for files in mayProxy

The existing code made it impossible to proxy the root of the application / because mayProxy would see that as being the public folder, since we only actually want to serve files, we should check for files.

Would that be a breaking change? Could people rely on old behavior?

This doesn't mean you have to visit /index.html does it?

It's possible. If you were using the advanced approach to configuring a proxy, intentionally disabling the "skip proxy if request is for text/html" check, then you may have still been given index.html when requesting a path that maps onto a directory in public.

Hmm, we'll leave this to the new advanced proxy mode added to v2. Thanks for this, though!


Expanding calibration features and bugfixes to calibration code

This adds the new SAMS scheme that runs equilibrium in the end of the simulation, and some burn-in in the beginning. The equilibrium sampling may help with cleaning up the BAR estimates, and the burn-in (fixed number of iterations at constant gamma) can help overcome the poor initial guess.

Burn-in (no decay of gamma)
Sams stage 1 (slow decay of gamma)
Sams stage 2 (fast decay of gamma)
Equilibrium ( gamma = 0)

It also includes a few bug fixes I encountered while running simulations and rerunning the test suite. It took a while to squish a few other bugs because the test suite running was a little slow.
Ran tests locally, and they seem to pass @wiederm I am going to merge this first. After that I'll add the updated run scripts in a separate PR.

I think there are some travis/conda build issues that we will have to fix in the future,  when we cut a new release. For now, I ran the tests locally and they look fine.

It might be good to upgrade to the MolSSI cookiecutter.


Gift Entry - Checkbox Field Mappings Not Maintaining State on Save or Edit

When creating a checkbox field to map through Advanced Mapping in Gift Entry, saving an Opportunity to the Batch displays the previous value for the checkbox, not the value entered. Editing that Gift again within the batch also causes the checkbox field to adopt the state of the last Opportunity edited in the batch in Gift Entry.
Steps to Recreate

Create an Advanced Field Mapping for a checkbox field on the Opportunity, as per the steps outlined in the Knowledge Base: https://powerofus.force.com/s/article/NPSP-Map-Using-Advanced-Mapping#topic-9098
Add the new field to a Gift Entry Template and edit the Batch Header to include the custom checkbox field
Create a Batch, and enter a gift with the checkbox checked (TRUE) and Save the Donation
Enter another gift with the checkbox unchecked (FALSE) and Save the Donation
Notice that the second Donation displays the checkbox field as checked, despite the field not being check upon entry
On the first Donation entered, select "Open" from the list of Donations entered below, notice that the checkbox field that was originally checked on Save, is no longer checked

Workaround
There is no current fix to get the value to display properly, but upon entering of the Gift the values pass correctly to the NPSP Data Import records that will process.

W-8137688

Related Hub post


Number input fire 2 event on valueChanges

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Only fire 1 event when we click on the up arrow of an input number.
What is the current behavior?
When we click on the up arrow of the input number, valueChanges fire 2 events .
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-number-input-event
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.0-rc2
Is there anything else we should know?

The same happens when you have a plain input which means that the issue is probably in core. Please file an issue in the main repo: https://github.com/angular/angular/issues.


Switch to Docusaurous themedImage

Signed-off-by: Derek Nola<EMAIL_ADDRESS>The move to Docsaurous 3.0 seemed to have broken the GH Themed Images support.
Instead we switch to the internal ThemedImage component.
Addresses: https://github.com/rancher/rke2-docs/issues/133

LGTM. Tested locally with yarn run.

Closing in favor of https://github.com/rancher/rke2-docs/pull/135


inline styles need to be loaded before js files

i dont know if it is there or not but the below  does not work, what i mean is that styles are loaded but only after app import is executed.
import './styles/main.scss';
import  './app';

They are loaded in order, JavaScript appends them to the head, I am afraid nothing can be done there

ok  i will try to change my strategy and see


Upgrade fibers package for nodejs 10.x or 12.x

I looked at fibers README and they have mentioned different versions of fibers for different nodejs versions.

NodeJS 10.x or 12.x --> fibers@4
NodeJS v8.x --> fibers@3
NodeJS v6.x --> fibers@2
NodeJs v4.x --> fibers@1

What do you suggest best possible way to accommodate this dependancy restriction for asyncawait package?

I think just make a PR upgrading the fibers dependency to v4, and bumping asyncawait's version to 3.0.0.
If in future anybody needs something to work with node 8.x (which I doubt since nobody has raised it so far), then there's still the possibility to release a version 2.0.0 that uses fibers@3.

Perfect. I will do it.

Is there a release planned for this?
I tried updating to node 12.x but failed due to this fibers issue. Works fine on node 10.x currently.

@nitin-synapptra i had to generate pull request. I will do it asap.

@yortus can you please merge #75 to support this task?

I've just merged #75 and published the new version of this package to npm. Thanks again @iTechDhaval.


What is the use case for persistent derived stores?

I wonder if you could shed some light a question I have.
The common use case I see for persistence is writable stores ... so they will "pick up where you last left off" on an app restart, etc.
However I fail to see the need for a persistent derived store.  Because a derived store is by definition a filter (of sorts) layered on other dependent store(s), it seems to me that you would want your persistence to come from the dependent store(s) rather than the derived store itself.  Can you provide a use case for a persistent derived store?
I suppose I have a similar question on readable stores, although it may make more since to glean an initial readable persistent value.
Thanks for your time and your product.

In thinking about this more, I suppose you are merely covering all the bases where a store's "initial" value can be specified.
Certainly both readable/derived stores promote an API where an "initial" value can be specified ... although more obscure.
I am assuming that within the persistent store philosophy, wherever an "initial" value can be specified, it in essence becomes a "fallback initial" value, where any persistent storage entry takes precedence.  Would this sum up the basic philosophy of persistent stores?
I guess my question is more for the native the svelte store API.  It seems like "initial" values for readable/derived stores is an obscure requirement, because these types of stores are more "controlled" (than writable).
Can you think of readable/derived "initial value" use-cases that would make this more understandable?
Your help is greatly appreciated!


Curriculum update needed on project_calculator.md

The Odin's file, project_calculator.md is updated. Please update the Kampus' file, checkout file here project_calculator.md
Latest commits:

update from underscore to asterisks for markdownlint (additions: 1, deletions: 1) on Feb 8 2024, 09:43 UTC
add blank line around extra credit ul (additions: 1, deletions: 0) on Feb 8 2024, 09:37 UTC
remove extra spaces on ul (additions: 19, deletions: 19) on Feb 8 2024, 09:37 UTC
remove unnecessary spaces (additions: 7, deletions: 7) on Feb 8 2024, 09:35 UTC
update ol with lazy numbering (additions: 6, deletions: 6) on Feb 8 2024, 09:34 UTC
update ul with hyphen instead of asterisk (additions: 19, deletions: 19) on Feb 8 2024, 09:34 UTC

Dublicated issue


added new translations bn-BD.json

I'll translate it fully.

Hi, this is the wrong file. You need to update the file under the src/lang folder.

Merged manually outside of this PR.


vz: "Expanding to 100GiB" phase makes a non-sparse 100GiB image

I just found out that the built-in conversion needs more diskspace than qemu-img convert. While the end-result is still a sparse disk, it seems to require the full 100GB disk space temporarily, so you cannot convert from QCOW2 to RAW on a device with limited free space.
$ df -h ~/.lima3
Filesystem    Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/disk5    50Gi   692Mi    49Gi     2%      11  4.3G    0%   /Users/jan/.lima3

$ l start --vm-type vz
? Creating an instance "default" Proceed with the current configuration
INFO[0001] Starting the instance "default" with VM driver "vz"
…
INFO[0002] Converting "/Users/jan/.lima3/default/basedisk" (qcow2) to a raw disk "/Users/jan/.lima3/default/diffdisk"
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 206.87 MiB/s
INFO[0019] Expanding to 100GiB
FATA[0020] failed to convert "/Users/jan/.lima3/default/basedisk" to a raw disk "/Users/jan/.lima3/default/diffdisk": no space left on device

Using qemu-img convert seems to require little extra space beyond what the new sparse file actually occupies.

Originally posted by @jandubois in https://github.com/lima-vm/lima/issues/2579#issuecomment-2403566144

While the end-result is still a sparse disk

Actually, it is not, with the builtin conversion. It turns into a fully allocated disk. So this is even worse. That also might explain why it takes so long: it possibly writes the full 100GB to disk.

Originally posted by @jandubois in https://github.com/lima-vm/lima/issues/2579#issuecomment-2403587553

https://github.com/lima-vm/lima/blob/bc774ded0a0710acb6716580719ace284d9ec3d4/pkg/nativeimgutil/nativeimgutil.go#L85-L91
https://github.com/lima-vm/lima/blob/bc774ded0a0710acb6716580719ace284d9ec3d4/pkg/nativeimgutil/nativeimgutil.go#L170-L175

https://github.com/apple-oss-distributions/file_cmds/blob/file_cmds-448.0.3/truncate/truncate.c#L238-L246
Looks like fspacectl(SPACECTL_DEALLOC) has to be used

Looks like the fd has to be closed before ftruncating
Maybe this behavior is specific to macOS or APFS

I cannot reproduce this:
% limactl create --plain --tty=false
INFO[0000] Terminal is not available, proceeding without opening an editor
INFO[0000] Attempting to download the image              arch=aarch64 digest="sha256:5ecac6447be66a164626744a87a27fd4e6c6606dc683e0a233870af63df4276a" location="https://cloud-images.ubuntu.com/releases/24.04/release-20240821/ubuntu-24.04-server-cloudimg-arm64.img"
INFO[0000] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/346ee1ff9e381b78ba08e2a29445960b5cd31c51f896fc346b82e26e345a5b9a/data"
INFO[0000] Converting "/Users/nsoffer/.lima/default/basedisk" (qcow2) to a raw disk "/Users/nsoffer/.lima/default/diffdisk"
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 197.48 MiB/s
INFO[0018] Expanding to 100GiB
INFO[0018] Run `limactl start default` to start the instance.

% qemu-img info /Users/nsoffer/Library/Caches/lima/download/by-url-sha256/346ee1ff9e381b78ba08e2a29445960b5cd31c51f896fc346b82e26e345a5b9a/data
image: /Users/nsoffer/Library/Caches/lima/download/by-url-sha256/346ee1ff9e381b78ba08e2a29445960b5cd31c51f896fc346b82e26e345a5b9a/data
file format: qcow2
virtual size: 3.5 GiB<PHONE_NUMBER> bytes)
disk size: 551 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false
Child node '/file':
    filename: /Users/nsoffer/Library/Caches/lima/download/by-url-sha256/346ee1ff9e381b78ba08e2a29445960b5cd31c51f896fc346b82e26e345a5b9a/data
    protocol type: file
    file length: 551 MiB (578093056 bytes)
    disk size: 551 MiB

% qemu-img info ~/.lima/default/basedisk
image: /Users/nsoffer/.lima/default/basedisk
file format: qcow2
virtual size: 3.5 GiB<PHONE_NUMBER> bytes)
disk size: 551 MiB
cluster_size: 65536
Format specific information:
    compat: 1.1
    compression type: zlib
    lazy refcounts: false
    refcount bits: 16
    corrupt: false
    extended l2: false
Child node '/file':
    filename: /Users/nsoffer/.lima/default/basedisk
    protocol type: file
    file length: 551 MiB (578093056 bytes)
    disk size: 551 MiB

% qemu-img info ~/.lima/default/diffdisk
image: /Users/nsoffer/.lima/default/diffdisk
file format: raw
virtual size: 100 GiB<PHONE_NUMBER>00 bytes)
disk size: 1.72 GiB
Child node '/file':
    filename: /Users/nsoffer/.lima/default/diffdisk
    protocol type: file
    file length: 100 GiB<PHONE_NUMBER>00 bytes)
    disk size: 1.72 GiB

The source disk is using qcow2 image with compressed clusters, expanding 551 MiB to 1.72 GiB is expected.
Verifying with qemu-img convert:
% qemu-img convert -f qcow2 -O raw ~/.lima/default/basedisk ~/.lima/default/disk.img

% qemu-img resize -f raw ~/.lima/default/disk.img 100g
Image resized.

% qemu-img info ~/.lima/default/disk.img
image: /Users/nsoffer/.lima/default/disk.img
file format: raw
virtual size: 100 GiB<PHONE_NUMBER>00 bytes)
disk size: 1.62 GiB
Child node '/file':
    filename: /Users/nsoffer/.lima/default/disk.img
    protocol type: file
    file length: 100 GiB<PHONE_NUMBER>00 bytes)
    disk size: 1.62 GiB

% qemu-img compare ~/.lima/default/disk.img ~/.lima/default/diffdisk
Images are identical.

qemu-img does better sparsifying - it is detecting zeros in 4k granularity while the lima native convertor treat larger blocks with one non zero byte as data.
@jandubois which file system are you using? OS version?

The issue should be reproducible with https://raw.githubusercontent.com/lima-vm/lima/refs/tags/v0.23.2/examples/alpine-image.yaml (macOS 15, Intel, APFS)

Maybe macOS 15 regression then?

@jandubois, @AkihiroSuda Is this reproducible with #2718 ?
This is an old patch that I tried when I looked at the slow convert. It does not improve convert speed but it simplifies the flow and removing unneeded work.

Maybe macOS 15 regression then?

I became aware of the problem in the RAM disk PR where it failed on macOS 13 on Intel. I don't know which filesystem the GitHub runners are using.
I've reproduced it on macOS 15 on M1 using APFS.
I do think that this used to work, which is why I claimed (incorrectly) at first that the result was still a sparse file. But it wasn't.
I've since created a 50GB (see this issue itself), and couldn't create a VZ instance in it. I've created a 40GB instance and verified with du -h diffdisk that it was indeed using 40GB of disk space.

Fixed in

https://github.com/lima-vm/lima/pull/2718

I think this issue is invalid,

I agree, I just haven't gotten around to testing a RAM disk formatted as APFS. I ran into some issue with newfs_apfs, that I've forgotten about now. 😞
Either way, closing this issue seems correct.

I don't think the issue was invalid; the issue was reproducible on my Mac without using the RAM disk
https://github.com/lima-vm/lima/issues/2713#issuecomment-2404726046

I could not reproduce it also on macOS 15.


Alan/pylint rcfile

pr for issues #578 and #584
added python pylint rcfile (checkstyle rule config) to tools/python to customize rules
avoided changes to interfaces (arguments, globals, constants, etc.)
avoided refactoring anything non-trivial to minimize risk of changing behavior
made judicious use of local pylint rule overrides rather than wholesale disabling of rules
left a few FIXME's in the code where there seemed to be an obvious bug or required someone with more context to review

###############################################################
pylint output: for #578
pex options: {'use_wheel': False, 'inherit_path': False, 'script': None, 'python': '/usr/bin/python2.7', 'repos': [PyPIFetcher('https://pypi.python.org/simple/')], 'pex_name': None, 'pypi': True, 'requirement_files': [], 'platform': 'macosx-10.11-intel', 'cache_dir': '/Users/alan/.pex/build', 'entry_point': 'heron.ui.src.python.main', 'verbosity': 0, 'zip_safe': False, 'interpreter_cache_dir': '/Users/alan/.pex/interpreters', 'ignore_errors': False, 'cache_ttl': None, 'python_shebang': None, 'always_write_cache': False, 'find_links': ''}
pex requirements: ['pycrypto==2.6.1', 'requests==2.3.0', 'tornado==4.0.2']
************* Module main
I: 39, 0: Locally disabling line-too-long (C0301) (locally-disabled)
I: 39, 0: Locally disabling bad-whitespace (C0326) (locally-disabled)
I: 93, 0: Locally disabling unused-argument (W0613) (locally-disabled)
W: 37, 0: TODO: Change these to query string parameters, since (fixme)
************* Module args
I: 19, 0: Locally disabling protected-access (W0212) (locally-disabled)
W: 42, 0: FIXME: pylint complains about this call, need someone to verify if this is actually a problem (fixme)
W: 43, 0: FIXME:   Bad first argument 'RawDescriptionHelpFormatter' given to super() (bad-super-call) (fixme)
E: 44,12: Bad first argument 'RawDescriptionHelpFormatter' given to super() (bad-super-call)
************* Module heron
I: 46, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I:617, 0: Locally disabling no-self-use (R0201) (locally-disabled)
************* Module metrics
I: 22, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module topology
W:231, 0: FIXME: is there a purpose to saving the return value of this? (fixme)
W:234, 0: FIXME: estate not defined (fixme)
E:240,13: Undefined variable 'estate' (undefined-variable)
W:232, 4: Unused variable 'scheduler_location' (unused-variable)
************* Module graph
I: 26, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module utils
I: 15, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module notfound
I: 19, 0: Locally disabling unused-argument (W0613) (locally-disabled)
I:239, 0: Locally disabling attribute-defined-outside-init (W0201) (locally-disabled)
I:273, 0: Locally disabling attribute-defined-outside-init (W0201) (locally-disabled)
W: 71, 0: TODO: get the list of clusters from tracker and fetch the topologies (fixme)
************* Module log
I: 19, 0: Locally disabling invalid-name (C0103) (locally-disabled)
R:  1, 0: Similar lines in 2 files
==heron:531
==topology:153
cluster=cluster,
environ=environ,
topology=topology,
container=container,
path=path
) (duplicate-code)
R:  1, 0: Similar lines in 2 files
==heron:505
==topology:210
cluster=cluster,
environ=environ,
topology=topology,
container=container,
path=path, (duplicate-code)
Report
614 statements analysed.
Statistics by type
+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |21     |21         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |31     |31         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |39     |39         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |33     |33         |=          |100.00      |3.03     |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
::
base (topology)
fetch (heron)

Raw metrics
+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |939    |44.71 |939      |=          |
+----------+-------+------+---------+-----------+
|docstring |533    |25.38 |533      |=          |
+----------+-------+------+---------+-----------+
|comment   |342    |16.29 |341      |+1.00      |
+----------+-------+------+---------+-----------+
|empty     |286    |13.62 |286      |=          |
+----------+-------+------+---------+-----------+
Duplication
+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |11    |11       |=          |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.529 |0.529    |-0.00      |
+-------------------------+------+---------+-----------+
Messages by category
+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |0      |4        |-4.00      |
+-----------+-------+---------+-----------+
|refactor   |2      |2        |=          |
+-----------+-------+---------+-----------+
|warning    |7      |7        |=          |
+-----------+-------+---------+-----------+
|error      |2      |2        |=          |
+-----------+-------+---------+-----------+
% errors / warnings by module
+---------+------+--------+---------+-----------+
|module   |error |warning |refactor |convention |
+=========+======+========+=========+===========+
|args     |50.00 |28.57   |0.00     |0.00       |
+---------+------+--------+---------+-----------+
|topology |0.00  |14.29   |0.00     |0.00       |
+---------+------+--------+---------+-----------+
|main     |0.00  |14.29   |0.00     |0.00       |
+---------+------+--------+---------+-----------+
|log      |0.00  |0.00    |100.00   |0.00       |
+---------+------+--------+---------+-----------+
Messages
+-------------------+------------+
|message id         |occurrences |
+===================+============+
|locally-disabled   |13          |
+-------------------+------------+
|fixme              |6           |
+-------------------+------------+
|duplicate-code     |2           |
+-------------------+------------+
|unused-variable    |1           |
+-------------------+------------+
|undefined-variable |1           |
+-------------------+------------+
|bad-super-call     |1           |
+-------------------+------------+
Global evaluation
Your code has been rated at 9.69/10 (previous run: 9.63/10, +0.07)
######################################################################
pylint output for #584
pex options: {'use_wheel': False, 'inherit_path': False, 'script': None, 'python': '/usr/bin/python2.7', 'repos': [PyPIFetcher('https://pypi.python.org/simple/')], 'pex_name': None, 'pypi': True, 'requirement_files': [], 'platform': 'macosx-10.11-intel', 'cache_dir': '/Users/alan/.pex/build', 'entry_point': 'heron.cli.src.python.main', 'verbosity': 0, 'zip_safe': True, 'interpreter_cache_dir': '/Users/alan/.pex/interpreters', 'ignore_errors': False, 'cache_ttl': None, 'python_shebang': None, 'always_write_cache': False, 'find_links': ''}
pex requirements: ['setuptools==18.0.1', 'colorlog==2.6.1', 'protobuf==2.5.0', 'pyyaml==3.10']
************* Module main
I: 42, 0: Locally disabling protected-access (W0212) (locally-disabled)
W: 64, 0: FIXME: pylint complains about this call, need someone to verify if this is actually a problem (fixme)
W: 65, 0: FIXME:   Bad first argument 'RawDescriptionHelpFormatter' given to super() (bad-super-call) (fixme)
E: 66,12: Bad first argument 'RawDescriptionHelpFormatter' given to super() (bad-super-call)
************* Module color
I: 18, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module log
I: 19, 0: Locally disabling invalid-name (C0103) (locally-disabled)
************* Module activate
I: 24, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module args
I: 24, 0: Locally disabling protected-access (W0212) (locally-disabled)
************* Module deactivate
I: 24, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module execute
W: 87, 0: TODO: We need to extract heron-core to separate folder. (fixme)
************* Module help
I: 27, 0: Locally disabling protected-access (W0212) (locally-disabled)
I: 40, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module jars
W: 21, 0: TODO, make the jars independent version free (fixme)
W: 33, 0: TODO, make the jars independent version free (fixme)
************* Module kill
I: 24, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module opts
I: 19, 0: Locally disabling invalid-name (C0103) (locally-disabled)
I: 19, 0: Locally disabling global-variable-not-assigned (W0602) (locally-disabled)
I: 19, 0: Locally disabling global-statement (W0603) (locally-disabled)
************* Module restart
I: 50, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module submit
I:234, 0: Locally disabling unused-argument (W0613) (locally-disabled)
************* Module utils
I: 86, 0: Locally disabling protected-access (W0212) (locally-disabled)
R:218, 0: Too many branches (14/12) (too-many-branches)
************* Module version
I: 34, 0: Locally disabling unused-argument (W0613) (locally-disabled)
Report
618 statements analysed.
Statistics by type
+---------+-------+-----------+-----------+------------+---------+
|type     |number |old number |difference |%documented |%badname |
+=========+=======+===========+===========+============+=========+
|module   |16     |16         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|class    |2      |2          |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|method   |2      |2          |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
|function |73     |73         |=          |100.00      |0.00     |
+---------+-------+-----------+-----------+------------+---------+
External dependencies
::
utils (help)

Raw metrics
+----------+-------+------+---------+-----------+
|type      |number |%     |previous |difference |
+==========+=======+======+=========+===========+
|code      |732    |42.41 |735      |-3.00      |
+----------+-------+------+---------+-----------+
|docstring |442    |25.61 |442      |=          |
+----------+-------+------+---------+-----------+
|comment   |340    |19.70 |340      |=          |
+----------+-------+------+---------+-----------+
|empty     |212    |12.28 |212      |=          |
+----------+-------+------+---------+-----------+
Duplication
+-------------------------+------+---------+-----------+
|                         |now   |previous |difference |
+=========================+======+=========+===========+
|nb duplicated lines      |0     |0        |=          |
+-------------------------+------+---------+-----------+
|percent duplicated lines |0.000 |0.000    |=          |
+-------------------------+------+---------+-----------+
Messages by category
+-----------+-------+---------+-----------+
|type       |number |previous |difference |
+===========+=======+=========+===========+
|convention |0      |1        |-1.00      |
+-----------+-------+---------+-----------+
|refactor   |1      |1        |=          |
+-----------+-------+---------+-----------+
|warning    |5      |8        |-3.00      |
+-----------+-------+---------+-----------+
|error      |1      |1        |=          |
+-----------+-------+---------+-----------+
% errors / warnings by module
+--------+-------+--------+---------+-----------+
|module  |error  |warning |refactor |convention |
+========+=======+========+=========+===========+
|main    |100.00 |40.00   |0.00     |0.00       |
+--------+-------+--------+---------+-----------+
|jars    |0.00   |40.00   |0.00     |0.00       |
+--------+-------+--------+---------+-----------+
|execute |0.00   |20.00   |0.00     |0.00       |
+--------+-------+--------+---------+-----------+
|utils   |0.00   |0.00    |100.00   |0.00       |
+--------+-------+--------+---------+-----------+
Messages
+------------------+------------+
|message id        |occurrences |
+==================+============+
|locally-disabled  |16          |
+------------------+------------+
|fixme             |5           |
+------------------+------------+
|too-many-branches |1           |
+------------------+------------+
|bad-super-call    |1           |
+------------------+------------+
Global evaluation
Your code has been rated at 9.82/10 (previous run: 9.76/10, +0.06)

continued fixes on https://github.com/twitter/heron/pull/849


Find flipped reaches

pyGNAT should be able to detect stream reaches within a network with geometry that is incorrectly flowing upstream.

This one I think you can use NetworkX for exclusively. Look for any edges that share start and end but have different directions.

I actually already have a function written for this.  Just added an issue for tracking purposes.

Added a function for finding flipped edges.  It only finds the 'first' flipped edge (relative to adjacent non-flipped edges), but it's a start!
https://github.com/SouthForkResearch/pyGNAT/commit/8d25dd303767236a44f1bb1f74994707e6649416


REPL crush

Describe the bug?

Erg version
Erg 0.5.10
Python version
Python 3.10.5
OS
Windows 11

same as #163?

yeah, But it seems that there is no problem in main branch

There is no problem in some directories, but there is a problem in some directories. It seems to be a problem with the .pyc write permission @mtshiba

I can solve this problem with administrator permission

Can .pyc be automatically deleted at the end of the run (including when it crashes)?

Can .pyc be automatically deleted at the end of the run (including when it crashes)?

Done. https://github.com/erg-lang/erg/commit/22857229ee75d7bfae9ea6c8996b5949c26c90ba


Explicitly Encode Git Execution in UTF-8

Git commit messages can contain non UTF-8 characters, which can cause exceptions in Ruby when the string is manipulated. This PR ensures the results of the git execution are explicitly encoded in UTF-8 by removing any invalid characters.

          1 Message

:book:
@nikhilmat is not a contributor yet, would you like to join the Danger org?

  Generated by :no_entry_sign: Danger

@orta updated the changelog entry - thanks for the quick approval!

Thank you for the well tested and easy to understand PR 👍

Looks like an annoying rubocop issue I'm afraid, you should be able to run. bundle exec rubocop -- fix to autocorrect

Quoting fixed!

<3


Greylog, support TCP

Hi,
reviewing the default postal.yml, I found config-options for greylog (I assume you mean grAylog? Would it be possible to add an option to submit via TCP instead of the default UDP? Makes it easier to target GELF-Inputs behind certain loadbalancers that aren't capable of loadbalancing UDP traffic.
Ref: https://github.com/graylog-labs/gelf-rb
n = GELF::Notifier.new("<IP_ADDRESS>", 12201, "LAN", { :protocol => GELF::Protocol::TCP })

We should be able to add this as a config option. Labelled as enhancement, should be an easy one. "grey" is the usual spelling of "gray" over here, so we often end up spelling graylog wrong :slightly_smiling_face:


[BUG/ISSUE] Recently installed packages appear incorrectly in the install section

Install/update a package
Check this package on the install section
See error (the package below is from Winget. I have not tested with Scoop/Chocolatey)

related to https://github.com/marticliment/WingetUI/issues/121

this might be the actual cause. for a reported issue where some packages wouldnt show properly in the install section


Test with dependsOn do not install dependency

I am trying to write tests for a feature that dependsOn another feature. These are private so I cannot give direct access to reproduce. It appears that when the tests are running the dependsOn feature is not installed and the tests fail.
My evidence for this is using devcontainer features test --preserve-test-containers, then docker container ls and docker exec -it ${CONTAINER} /bin/bash to confirm that the dependency has not been installed.

This seems to be just wrong. Increasing the log level on the features test shows the line:
[2720 ms] Resolving Feature dependencies for ...


Adding column type label to dropdowns

Adding column type information to the optionRenderer for any controls that use ColumnOption or MetricOption. So this will show up in the dropdown but not inline in the value renderer. This deviates from our original designs but it was making the page look pretty busy when I added it to our current page.
Would love to get more design feedback!
In the future, in the metrics section we can distinguish between aggregations and columns. Also, once some of the metrics work Gabe is doing gets in, I'd like to add this to all dropdowns for consistency.
@GabeLoins @williaster @mistercrunch

Codecov Report

Merging #4566 into master will decrease coverage by 0.07%.
The diff coverage is 29.26%.

@@            Coverage Diff             @@
##           master    #4566      +/-   ##
==========================================
- Coverage    71.2%   71.12%   -0.08%
==========================================
  Files         187      188       +1
  Lines       14785    14812      +27
  Branches     1083     1091       +8
==========================================
+ Hits        10527    10535       +8
- Misses       4255     4274      +19
  Partials        3        3

Impacted Files
Coverage Δ

.../explore/components/controls/DatasourceControl.jsx
66.66% <0%> (ø)
:arrow_up:

...set/assets/javascripts/components/MetricOption.jsx
100% <100%> (ø)
:arrow_up:

...set/assets/javascripts/components/ColumnOption.jsx
100% <100%> (ø)
:arrow_up:

.../assets/javascripts/components/ColumnTypeLabel.jsx
22.72% <22.72%> (ø)

...set/assets/javascripts/explore/stores/controls.jsx
37.59% <8.33%> (-0.58%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM


facebook messenger app from windowstore doesn t work with fancy zone it doesn t respond as a normal window since the last update

Microsoft PowerToys version
0.76.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
facebook messenger app from windowstore doesn t work with fancy zone it doesn t respond as a normal window since the last update
✔ Expected Behavior
a fix
❌ Actual Behavior
it doesn t work with the messenger app
Other Software
No response

/dup #30184


add floppsy to platforms

This will let us start building useful firmware images during CI in Adafruit_Floppy
ping @ladyada

I wasn't sure what default split to use; could follow circuitpython and use (I think?) 1MB + 15MB.

do 2 / 14 in case we need extra space

done!