Office 365 setup pops up unexpectedly

Hello, thanks a lot for your repository! I use Windows 11 Pro 22H2, and I am experiencing super strange behavior when I move a window for a second time using WinCtrlShift and the arrow keys: The window carries just fine between the virtual desktops, but after the second movement, the Office 365 setup pops up! Of course, I can quickly close the popup, and even with this glitch moving windows between desktops is super easy instead of clicking on the taskbar with dragging and dropping.
Office 365 is already installed, and I am using it through my university subscription. I wonder if I am the only one experiencing this strange behavior. Am I missing something here? I am not a Windows power user, and I miss the shortcuts of the Linux desktop.
Thanks again.

OK, I meant to post the issue to https://github.com/phazei/Win11AutoHotKeyFixes. But does this ring a bell?

this is the minimum to reproduce it:
#SingleInstance force
ListLines 0
SendMode "Input"
SetWorkingDir A_ScriptDir
KeyHistory 0
#WinActivateForce

ProcessSetPriority "H"

SetWinDelay -1
SetControlDelay -1

keybd_eventDown("LWin")
keybd_eventDown("LCtrl")
keybd_eventDown("LShift")
WinActivate "ahk_class Progman ahk_exe explorer.exe" ;office 365 bug
;WinActivate "ahk_class WorkerW ahk_exe explorer.exe" ;no bug
;WinActivate "ahk_exe notepad.exe" ;no bug

keybd_eventDown(key)
{
  DllCall("keybd_event","UChar",GetKeyVK(key),"UChar",GetKeySC(key),"Uint",0,"Ptr",0)
}
keybd_eventUp(key)
{
  DllCall("keybd_event","UChar",GetKeyVK(key),"UChar",GetKeySC(key),"Uint",2,"Ptr",0)
}

f3::Exitapp

the above is v2 code
___
Office
OfficeApp-Frame
WebViewHost.exe
0x16CF0000
0x00000100
___
@christodoulos does this bug only happen when the destination virtual desktop is empty ?

@christodoulos does this bug only happen when the destination virtual desktop is empty ?

After a reboot, when I manually start, say, a Windows explorer in both Virtual Desktop 1 and Virtual Desktop 2, and then start a terminal in Virtual Desktop 1, when I move it using WinCtrlShift-> then the terminal window moves just fine, and nothing else is happening (i.e., the bug does not happen).
Keeping both explorer windows open at Virtual Desktop 1 and Virtual Desktop 2, I can use WinCtrlShift-> and WinCtrlShift<-, and the terminal window keeps moving between the virtual desktops without any Office 365 window popping up. But if I close the Explorer Window before moving the terminal window from Virtual Desktop 2 to Virtual Desktop 1 using WinCtrlShift<-, the Office 365 setup window starts popping up again!
The Windows OS never stops to amaze me with awkward behaviors!

@christodoulos does this fix it ?

Hello, thanks for your suggestions. I pulled your last repository update:
C:\Users\christodoulos\VD.ahk>git log
commit 3cb24e3ea6c0223bed08c9c335d34b5c658da706 (HEAD -> class_VD, origin/class_VD, origin/HEAD)
Author: FuPeiJiang<EMAIL_ADDRESS>Date:   Mon May 15 18:02:42 2023 -0400

    _activateDesktopBackground(); #40

and uninstalled the Office 365 application. Using your latest commit, the problem remains with a different nature:

I boot my laptop and have no windows opened.
I start a Terminal on Virtual Desktop 1
By pressing WinCtrlShift->, the Terminal is moved to Virtual Desktop 2, and a Browser Window flashes and disappears.
Moving to Virtual Desktop 1 using WinCtrl<- I see a Browser Window that I didn't open myself with a new tab opened at https://www.office.com/?from=OfficeKey
I manually close the browser window and move to Virtual Desktop 2 using WinCtrl->. There I find the Terminal window from step 3, and using WinCtrlShift-> I move it to Virtual Desktop 3. The browser window flashes again and immediately disappears. Moving to Virtual Desktop 1 by pressing two times WinCtrl<-, I find the browser window with two tabs opened at https://www.office.com/?from=OfficeKey

Of course, the new behavior is much more tolerable as I can live with using Virtual Desktops 2 and 3 and letting the browser windows pop up at Virtual Desktop 1.

Using your script above:

But in Apps > Installed apps:

My D-move-window-with-desktop.ahk:
;FROM https://superuser.com/questions/1685845/moving-current-window-to-another-desktop-in-windows-11-using-shortcut-keys

;#SETUP START
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance force
ListLines Off
SetBatchLines -1
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#KeyHistory 0
#WinActivateForce

Process, Priority,, H

SetWinDelay -1
SetControlDelay -1

;include the library
#Include ../VD.ahk/VD.ahk
; VD.init() ;COMMENT OUT `static dummyStatic1 := VD.init()` if you don't want to init at start of script

;you should WinHide invisible programs that have a window.
WinHide, % "Microsoft 365 App Host"
;#SETUP END

VD.createUntil(3) ;create until we have at least 3 VD

return

^#+Left::
    n := VD.getCurrentDesktopNum()
    if n = 1 ;at begining, can't go left
        Return

    n -= 1
    active := "ahk_id" WinExist("A")
    VD.MoveWindowToDesktopNum(active,n), VD.goToDesktopNum(n)
    WinActivate active ;once in a while it's not active
Return

^#+Right::
    n := VD.getCurrentDesktopNum()
    if n = % VD.getCount() ;at end, can't go right
        Return

    n += 1
    active := "ahk_id" WinExist("A")
    VD.MoveWindowToDesktopNum(active,n), VD.goToDesktopNum(n)
    WinActivate active
Return

I don't know if it is relevant but I installed AutoHotkey using scoop:
C:\Users\christodoulos>scoop list
Installed apps:

Name            Version    Source Updated             Info
----            -------    ------ -------             ----
autohotkey      2.0.2      extras 2023-01-02 20:11:29

@christodoulos
try this script, I added keybd_eventUp("LShift")
;FROM https://superuser.com/questions/1685845/moving-current-window-to-another-desktop-in-windows-11-using-shortcut-keys

;#SETUP START
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance force
ListLines Off
SetBatchLines -1
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#KeyHistory 0
#WinActivateForce

Process, Priority,, H

SetWinDelay -1
SetControlDelay -1

;include the library
#Include ../VD.ahk/VD.ahk
; VD.init() ;COMMENT OUT `static dummyStatic1 := VD.init()` if you don't want to init at start of script

VD.createUntil(3) ;create until we have at least 3 VD

return

^#+Left::
    n := VD.getCurrentDesktopNum()
    if n = 1 ;at begining, can't go left
        Return

    n -= 1
    active := "ahk_id" WinExist("A")
    VD.MoveWindowToDesktopNum(active,n)
    keybd_eventUp("LShift")
    VD.goToDesktopNum(n)
    WinActivate active ;once in a while it's not active
    Send % "{LShift down}"
Return

^#+Right::
    n := VD.getCurrentDesktopNum()
    if n = % VD.getCount() ;at end, can't go right
        Return

    n += 1
    active := "ahk_id" WinExist("A")
    VD.MoveWindowToDesktopNum(active,n)
    keybd_eventUp("LShift")
    VD.goToDesktopNum(n)
    WinActivate active
    Send % "{LShift down}"
Return

;functions
keybd_eventUp(key)
{
  DllCall("keybd_event","UChar",GetKeyVK(key),"UChar",GetKeySC(key),"Uint",2,"Ptr",0)
}

I'm pretty sure it will work, but it's not the correct way to fix it
, I'll need your help to test/debug a bit more because I can't reproduce the issue anymore

in order to debug, checkout the branch https://github.com/FuPeiJiang/VD.ahk/tree/tooltip-debug, use your unedited D-move-window-with-desktop.ahk script, not the ones I sent
there are 3 possible ToolTips:
1.
ToolTip % "WinActivate % ""ahk_class WorkerW ahk_exe explorer.exe"""
2.
ToolTip % "WinActivate % ""ahk_class Progman ahk_exe explorer.exe"""
3.
Command Prompt
ConsoleWindowClass
cmd.exe
0x14EF0000
0x000C0110
what ToolTips do you see when pressing the hotkeys ?
you may want desktop switching animations to be enabled for the ToolTip to last longer, but I think animations are enabled by default so it's not a problem

nvm, there Are no VD animations in Win11
great news, I've been able to reproduce the issue again

After receiving the GitHub notification, I rebooted my laptop to start from a clear state. Then I started a Terminal and could happily move it across all my virtual desktops without any other, at least noticeable, unintended behavior! Well, just like that, the bug is not present anymore! I did nothing regarding AutoHotKey or your repository!
To follow your instructions above, I checked out the branch you proposed:
C:\Users\christodoulos\VD.ahk>git branch
  class_VD
* origin/tooltip-debug

Using the unedited script, I see no ToolTips of any kind when I press the hotkeys. Do I get it right? I checkout your branch and then move a window around the virtual desktops, and some tooltips should appear? Unfortunately, they don't. Nevertheless, the bug does not happen using the class_VD branch or the tooltip-debug branch.
I realize that bugs don't heal themselves. If you'd like to help you more, please don't hesitate to ask.

I see no ToolTips of any kind when I press the hotkeys.

some tooltips should appear
I suspect that you have 2 VD.ahk folders
delete to recycle bin the files C:\Users\christodoulos\VD.ahk\VD.ahk and C:\Users\christodoulos\VD.ahk\_VD.ahk
if your script still runs then you have 2 VD.ahk folders
___
I'm not able to change the VD of:
Microsoft Teams
Chrome_WidgetWin_1
Teams.exe
0x14C20000
0x00000100
(using VD.MoveWindowToDesktopNum)
this is a huge bug, it's also linked to the office 365 problem because if the window below active window is Teams.exe, then even if I removed all WinActivate in _VD.ahk and your script, office 365 still pops up

I deleted everything to make sure that I have only one VD.ahk folder. Then I double-clicked on the VD-move-window-with-desktop.ahk file, and the error message popped up:

Then I checked out the tooltip-debug branch and double-clicked again on the VD-move-window-with-desktop.ahk file. This time the script ran, and the icon appeared in my taskbar. Then I can move any window around the virtual desktops, and the bug is not present anymore! Like it never happened! Unfortunately, though, I can see no tooltips. Perhaps I am missing something.
Just so you know, when I delete the files you propose (without exiting from the icon in the taskbar), the script continues to run, and I can move windows to other virtual desktops. After exiting from the icon in the taskbar, I cannot start the VD-move-window-with-desktop.ahk, and I am getting the same error message as above. Restoring from the recycle bin, the script runs again successfully, and everything works again just fine, with no bugs and, unfortunately, no tooltips.
I don't know if it is relevant, but I also run two other AutoHotKey scripts:
For changing input language using Caps Lock:
sel := 0

#if (sel=0)
capslock::
    send {lwin down}{Space}
    sel := 1
return
#if

capslock up::
    send {lwin up}
    sel := 0
return

And for hiding the cursor while typing:
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         Stefan Z Camilleri -<EMAIL_ADDRESS>
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

; Initialize the mouse cursor
SystemCursor("Init")

; Get the current mouse position, and store its coordinates
MouseGetPos mX0, mY0

; Set a timer to check if the mouse is still idle every 250ms
SetTimer, CheckIdle, 250

; Register the keys you want to listen on
keys = ``1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./

; For every defined key, register a call to hide the mouse cursor
Loop Parse, keys
   HotKey ~*%A_LoopField%, Hoty
return

; Checks if the mouse has moved, and if so, shows it and records the new position
CheckIdle:
MouseGetPos mX, mY
if (mX0 != mX && mY0 != mY)
{
    SystemCursor("On")
    mX0 := mX, mY0 := mY
}
return

; Hides the mouse cursor
Hoty:
   SystemCursor("Off")
return

; Ensure the cursor is made visible when the script exits.
#Persistent
    OnExit, ShowCursor
return

; Shows the mouse cursor
ShowCursor:
SystemCursor("On")
ExitApp

; Function to hide or show the mouse cursor
SystemCursor(OnOff=1)   ; INIT = "I","Init"; OFF = 0,"Off"; TOGGLE = -1,"T","Toggle"; ON = others
{
    static AndMask, XorMask, $, h_cursor
        ,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13 ; system cursors
        , b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13   ; blank cursors
        , h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13   ; handles of default cursors

    if (OnOff = "Init" or OnOff = "I" or $ = "")       ; init when requested or at first call
    {
        $ = h                                          ; active default cursors
        VarSetCapacity( h_cursor,4444, 1 )
        VarSetCapacity( AndMask, 32*4, 0xFF )
        VarSetCapacity( XorMask, 32*4, 0 )
        system_cursors = 32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650
        StringSplit c, system_cursors, `,
        Loop %c0%
        {
            h_cursor   := DllCall( "LoadCursor", "uint",0, "uint",c%A_Index% )
            h%A_Index% := DllCall( "CopyImage",  "uint",h_cursor, "uint",2, "int",0, "int",0, "uint",0 )
            b%A_Index% := DllCall("CreateCursor","uint",0, "int",0, "int",0
                , "int",32, "int",32, "uint",&AndMask, "uint",&XorMask )
        }
    }

    if (OnOff = 0 or OnOff = "Off" or $ = "h" and (OnOff < 0 or OnOff = "Toggle" or OnOff = "T"))
        $ = b  ; use blank cursors
    else
        $ = h  ; use the saved cursors

    Loop %c0%
    {
        h_cursor := DllCall( "CopyImage", "uint",%$%%A_Index%, "uint",2, "int",0, "int",0, "uint",0 )
        DllCall( "SetSystemCursor", "uint",h_cursor, "uint",c%A_Index% )
    }
}

Unfortunately, I don't have the time to understand the scripts, and I blindly copy them.

more a note to myself:
Loading Microsoft Teams
ahk_class Chrome_WidgetWin_1
ahk_exe Teams.exe
Style:0x1CC00000
ExStyle:0x00000100
moving pView from hwnd of "Loading Microsoft Teams" works, pView from hwnd of "Microsoft Teams" doesn't


Can't reproduce the results of configs/changer/changer_ex_mit-b0_512x512_40k_levircd.py 84.37VS85.29

My experiment of configs/changer/changer_ex_mit-b0_512x512_40k_levircd.py achieves val/test mIoU 84.83%/84.37%. which significantly below the reported test mIoU 85.29%.
cmds as below:
python tools/train.py configs/changer/changer_ex_mit-b0_512x512_40k_levircd.py --work-dir ./workdir/changer_ex_mit-b0_512x512_40k_levircd
python tools/test.py configs/changer/changer_ex_mit-b0_512x512_40k_levircd.py  workdir/changer_mit-b0_levir_workdir/iter_40000.pth
What did I do less？

Please make sure the pre-trained weights are loaded.

And I'm not so sure about the stability of the mit-b0 configurations...
If you have new experimental results or conclusions, I sincerely hope you will share them.

@dou3516
Thanks for pointing out this problem.
I added some notes here.
I guess this may be caused by the low number of parameters in MIT-b0. If you use MIT-b1, this problem may be alleviated.

And I'm not so sure about the stability of the mit-b0 configurations... If you have new experimental results or conclusions, I sincerely hope you will share them.

experiment results of Changer:
s50: reported/exp 85.51/85.21
MIT-B0: reported/exp 85.29/84.37
MIT-B0: exp 85.04
details as below:

Method
Backbone
Crop Size
Lr schd
Mem (GB)
Precision
Recall
F1-Score
IoU
config

ChangerEx
s50
512x512
40000
-
93.47
90.95
92.19
85.51
reported

ChangerEx
s50
512x512
40000
-
93.42
90.65
92.02
85.21
exp

ChangerEx
MIT-B0
512x512
40000
-
93.61
90.56
92.06
85.29
reported

ChangerEx
MIT-B0
512x512
40000
-
93.29
89.82
91.52
84.37
exp

ChangerEx
MIT-B2
512x512
40000
-
93.40
90.52
91.94
85.04
exp


cover.isy994 error: Unable to close the cover

Home Assistant release (hass --version):
0.33.4 and also tried 0.34.0.dev0  (just cloned @dev from GitHub)
Python release (python3 --version):
Python 3.5.2
Component/platform:
isy994
cover.isy994
Description of problem:
Get the below error logged when closing a (program based) cover.isy994 entity.  FWIW, it also causes the gate to re-open, even though it does close:
homeassistant.components.cover.isy994: Unable to close the cover
Expected:
No error logged, and no attempt to re-open the cover.  When the program is triggered, I expected HA to be a happy camper once it executes the runElse of the program actions.  If there is required behavior of the status, etc. then it would help to know more info about that.
Problem-relevant configuration.yaml entries and steps to reproduce:
isy994:
  host: http://isy.local:80
  username: !secret isy_username
  password: !secret isy_password
  sensor_string: 'Sensor'
  hidden_string: '~'

logger:
  default: info
  logs:
    homeassistant.components.isy994: debug
    homeassistant.components.cover.isy994: debug

Here's the ISY program setup:

Traceback (if applicable):

Additional info:
The '~Gate Closed Sensor' is a binary sensor and 'Gate Opener' is a switch that that triggers the gate to open AND close (it is a toggle, do no have discrete relays).  The state for Gate Opener reverts back to Off shortly after it is turned On since the z-wave device is set to be a momentary trigger (http://www.fortrezz.com/shop/mimo-lite).  Also note that it normally take ~30 seconds for the gate to close and the '~Gate Closed Sensor' state to change.
Everything works as expected when I interact directly with that ISY, I assume it is related to the interaction on HA and the ISY program(s).
Log activity:
16-12-01 11:38:34 homeassistant.core: Bus:Handling <Event call_service[L]: service_data=entity_id=cover.gate, domain=cover, service=close_cover, service_call_id
16-12-01 11:38:34 homeassistant.components.isy994: ISY Request: http://isy.local:80/rest/programs/0006/runElse
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="40" sid="uuid:150"><control>_0</control><action>120</action><node></node><eventInfo></eventInfo></Event>
16-12-01 11:38:34 homeassistant.components.isy994: ISY HEARTBEAT: 2016-12-01T11:38:34.652917
16-12-01 11:38:34 homeassistant.components.isy994: ISY Response Recieved
16-12-01 11:38:34 homeassistant.components.isy994: ISY ran else in program: 0006
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="41" sid="uuid:150"><control>_1</control><action>0</action><node></node><eventInfo><id>6</id><on /><nr /><r>161201 11:38:39</
16-12-01 11:38:34 homeassistant.components.isy994: ISY Updated Program: 0006
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="42" sid="uuid:150"><control>_5</control><action>1</action><node></node><eventInfo></eventInfo></Event>
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="43" sid="uuid:150"><control>DON</control><action uom="78" prec="0">100</action><node>ZW004_1</node><eventInfo></eventInfo></
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="44" sid="uuid:150"><control>_5</control><action>0</action><node></node><eventInfo></eventInfo></Event>
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="45" sid="uuid:150"><control>_1</control><action>0</action><node></node><eventInfo><id>6</id><on /><nr /><r>161201 11:38:39</
16-12-01 11:38:34 homeassistant.components.isy994: ISY Updated Program: 0006
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="46" sid="uuid:150"><control>_1</control><action>3</action><node></node><eventInfo>[     ZW004_1]      DON 100 (uom=78 prec=0
16-12-01 11:38:34 homeassistant.components.isy994: ISY Update Received:
<?xml version="1.0"?><Event seqnum="47" sid="uuid:150"><control>DOF</control><action uom="78" prec="0">0</action><node>ZW004_104</node><eventInfo></eventInfo></
16-12-01 11:38:35 homeassistant.components.isy994: ISY Request: http://isy.local:80/rest/programs/0006?subfolders=true
16-12-01 11:38:35 homeassistant.components.isy994: ISY Response Recieved
16-12-01 11:38:35 homeassistant.components.isy994: ISY Loaded/Updated Programs
16-12-01 11:38:35 homeassistant.components.cover.isy994: Unable to close the cover

@Teagan42, I may just be misunderstanding how the ISY is to be setup for covers to work but I think it is a good use case to have a binary sensor that reports cover status and a (toggle) switch to open and close the cover.  Thanks!

@hoopty
If you want a binary sensor to report the status in your situation, use that device as the condition in the cover program's status.
As for your issue - can you clarify exactly what is happening? It sounds like you have a momentary relay that will reset after about 30 seconds (Normally Off). You turn the relay on to open a gate, about 30 so seconds, the relay turns itself off, correct? When you trigger this cover program in HA, does the relay respond or does it respond but quickly turn off? What exactly is happening?
Also, I just looked at the PyISY library - the library HA uses to talk to ISY - and it looks like there is a small bug in the "Program: Run Else" method where if it fails, it returns False (expected) but if it succeeds, it returns NOTHING. In Python if False: is also equivalent to if None: - so it thinks it didn't actually work, even if it did work.
        """ Runs the ELSE clause of the object. """
        response = self.parent.parent.conn.programRunElse(self._id)

        if response is None:
            self.parent.parent.log.warning("ISY couldn't run else in program: "
                                           + self._id)
            return False
        else:
            self.parent.parent.log.info('ISY ran else in program: ' + self._id)
            self.update(_change2update_interval)

Obviously the "else" is running successfully because I see ISY ran else in program: 0006 in your log (corresponding to the first line in the else). But because it's not returning True - HA logs an error Unable to close the cover.
So, if your concern is just that there is an error message in the log - you can ignore it, and I will submit an update to PyISY to fix this bug. If your issue is that the relay is not responding correctly at all, then please provide more detail on what is happening physically on the device.
Thank you so much for the logs, those helped greatly in looking into this issue so far!

Thanks @Teagan42 for the response, I'll try to respond to each of your paragraphs below:

Got it, I think I'm doing that right.  I have the If condition for the status program set to:

Status `~Gate Closed Sensor` On

and that is indeed ZW004_104, which is the binary sensor that tells us when the gate is CLOSED.

The real issue is that once the gate is closed after executing cover.close, HA is telling it to open again!  The relay is triggered properly to open and to close the gate but something in HA is telling the ISY to turn ZW004_1 ON again.

Good to know on the erroneous logging, I was jumping to conclusions and assuming that seeing that error was causing HA to run the Else program again (or otherwise causing the gate to be triggered again).

No problem on the logs, it helped me learn what is going on as well.  One nit-pick complaint is that the XML responses from the ISY are on a separate HA log line (not concatenated) than the ISY Update Received: entries and as such is can't just grep for homeassistant.components.isy994 because if when I do it excludes all the valuable XML.

In regards to #4 - we don't have any real control over that. Python's logging puts each on it's own line.
In regards to #3 - it definitely should not be doing that. There's nothing in HA, that I'm aware of, that tries to send a service call again if failed.
I'll keep digging - assuming your log is complete (it does look cut off some) - something about ISY is doing this.

"ran else program 0006" - says we're sending off the command to execute the else. Expected
ISY says "ZW device is on" <?xml version="1.0"?><Event seqnum="43" sid="uuid:150"><control>DON</control><action uom="78" prec="0">100</action><node>ZW004_1</node><eventInfo></eventInfo>
Almost immediately after it says "ZW device is off" <?xml version="1.0"?><Event seqnum="47" sid="uuid:150"><control>DOF</control><action uom="78" prec="0">0</action><node>ZW004_104</node><eventInfo></eventInfo><

There is no extra command (that I'm seeing) between the DON and the DOF updates that ISY is reporting.
If you go into the ISY control panel and go to Programs and right click on the Gate -> Actions and click "Run Else" - does it behave as expected?
Do you know if this worked before the September rearchitecture of the ISY component in HA?
I'll be back online in a bit - this is very odd.

Use awk for multiline regex

No worries on the logging (and thx for awk idea) - I came up with a regex that works, I was just being lazy ;)
I'm recreating the issue & getting a more complete logs right now, will paste shortly
Yes, Run Else from the ISY admin panel works fine (everything does) but will confirm
I didn't try the isy994 cover before the Sept rearchitecture, so no more info there.

tldr; Hold of before digging any further!
OK, I'm now starting to better understand how the programs work on the ISY controller (the ISY wiki leaves much to be desired) and I think my behavior is a result of how I have my programs setup on the ISY and not a problem with HA.  Let me kick this around some more before you dig in any further.  If I do figure this out, I will likely have HA doc suggestions.

Sounds good, thanks
On Thu, Dec 1, 2016 at 11:15 PM, Bryce Edwards<EMAIL_ADDRESS>wrote:

tldr; Hold of before digging any further!
OK, I'm now starting to better understand how the programs work on the ISY
controller (the ISY wiki leaves much to be desired) and I think my behavior
is a result of how I have my programs setup on the ISY and not a problem
with HA. Let me kick this around some more before you dig in any further.
If I do figure this out, I will likely have HA doc suggestions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/4662#issuecomment-264382036,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC2fZfJGU3qQGyW70AbtYq4UTRfengr9ks5rD7dygaJpZM4LBvcO
.

Yep, it was how I had things setup - closing this issue.
The 'actions' program needed to be disabled, as to not have it auto execute on status changes.  The 'status' program needs to stay enable so that it's state changes when the sensor device does.  I also had two other programs (one to close the gate and one to open it) that I needed to create since I needed the 'If' condition evaluated (I check that the gate is not already opened/closed before triggering the toggle to open/close the cover) and those programs must also stay disabled.


Training the model from scratch fails

Hi @DerrickWang005 I'm trying to train the code from scratch, but it expects a pretrained Resnet50/Resnet101 weights file. Am I running this right?
  File "..CRIS.pytorch/env/lib/python3.8/site-packages/torch/jit/_serialization.py", line 152, in load
    raise ValueError("The provided filename {} does not exist".format(f))  # type: ignore[str-bytes-safe]
ValueError: The provided filename pretrain/RN101.pt does not exist```

Apologies, didn't know I had to setup the CLIP weights myself. Post that training works.

@saunair hi! how did you do that correctly?

I am trying like this:
import clip
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
model, preprocess = clip.load("RN50", device=device)
model.cuda().eval()
PATH = "/content/CRIS.pytorch/pretrain/RN50.pt"
torch.save(model.state_dict(), PATH)

but still have error RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found

You've got to pip install clip from https://github.com/openai/CLIP
Or you can just download the weights from https://github.com/openai/CLIP/blob/main/clip/clip.py#L35


Copy all files from web folder to build output

Description
Copies all files from the web folder to the build/web folder. Needed for service workers to function correctly. They need to be under the root location.
Related Issues
Fixes #42716
Tests
I added the following tests:
There were no tests that tested if the index.html has been copied correctly so I was not sure were to add the test and how the test should look like. Please give me advice and I'll fix that.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

@jonahwilliams Can you help me?

You'll need to add a test that this behaves as expected. There are some existing tests here https://github.com/flutter/flutter/blob/master/packages/flutter_tools/test/general.shard/build_system/targets/web_test.dart .
The test case should include several arbitrary files in the web directory, execute the target, and then assert they are contained in the ouput.
Additionally, we need to ensure that cleaning the target works correctly. This requires you to tell the build system about what files you actually copied. Check the Depfile class a few lines below. You'll need to add an additional depfile that contains all of the copied files.

@jonahwilliams Sorry but I'm not sure how to create the test.
This is my test code:
  test('WebReleaseBundle copies all files from web folder', () => testbed.run(() async {
      fs.file(fs.path.join('lib', 'main.dart'))
          ..createSync(recursive: true)
        ..writeAsStringSync('hello');
      fs.file(fs.path.join('web', 'index.html'))
        ..createSync(recursive: true)
        ..writeAsStringSync('hello');
      fs.file(fs.path.join('web', 'test.js'))
        ..createSync(recursive: true)
        ..writeAsStringSync('alert(\'hello world\');');
      fs.file(fs.path.join('web', 'abc.txt'))
        ..createSync(recursive: true)
        ..writeAsStringSync('hello world');
      await const WebReleaseBundle().build(environment);

      expect(environment.buildDir.childFile('test.js').existsSync(), true);
      expect(environment.buildDir.childFile('test.js').readAsStringSync(),'alert(\'hello world\');');
      expect(environment.buildDir.childFile('abc.txt').existsSync(), true);
      expect(environment.buildDir.childFile('abc.txt').readAsStringSync(),'hello world');
    }, overrides: <Type, Generator>{
    ProcessManager: () => MockProcessManager(),
  }));

The test fails with this error:
  NoSuchMethodError: The method '[]' was called on null.
  Receiver: null
  Tried calling: []("HOME")
  dart:core                                                         Object.noSuchMethod
  package:flutter_tools/src/base/file_system.dart 194:30            userHomePath
  package:flutter_tools/src/base/config.dart 15:54                  new Config
  package:flutter_tools/src/context_runner.dart 83:21               runInContext.<fn>
  package:flutter_tools/src/base/context.dart 100:41                AppContext._generateIfNecessary.<fn>
  dart:collection                                                   _LinkedHashMapMixin.putIfAbsent
  package:flutter_tools/src/base/context.dart 88:20                 AppContext._generateIfNecessary
  package:flutter_tools/src/base/context.dart 117:32                AppContext.get
  package:flutter_tools/src/base/context.dart 115:23                AppContext.get
  package:flutter_tools/src/base/config.dart 31:41                  Config.instance
  package:flutter_tools/src/globals.dart 14:29                      config
  package:flutter_tools/src/build_info.dart 525:26                  getBuildDirectory
  package:flutter_tools/src/build_info.dart 550:23                  getAssetBuildDirectory
  package:flutter_tools/src/asset.dart 119:22                       _ManifestAssetBundle.build
  package:flutter_tools/src/build_system/targets/assets.dart 22:21  copyAssets
  package:flutter_tools/src/build_system/targets/web.dart 218:35    WebReleaseBundle.build
  test/general.shard/build_system/targets/web_test.dart 327:38      main.<fn>.<fn>
  test/src/testbed.dart 139:23                                      Testbed.run.<fn>.<fn>.<fn>

you'll need to provide a platform mock which has a home directory set, something like:
when(platform.environment).thenReturn(<String, String>{});
...
Platform: () => mockPlatform()

If you push the partially working code I can take a look at at too

Waiting for the merge 🙃

@jonahwilliams sorry for the long delay.

This doesn't add the copied files to the depfile, so deletion does not work as expected. Here is a testcase for this:

 test('WebReleaseBundle copies all files from web folder', () => testbed.run(() async {
    fs.file(fs.path.join('web', 'index.html'))
      ..createSync(recursive: true)
      ..writeAsStringSync('hello');
    final File textFile = fs.file(fs.path.join('web', 'abc.txt'))
      ..createSync(recursive: true)
      ..writeAsStringSync('hello world');
    await const WebReleaseBundle().build(environment);

    expect(environment.outputDir.childFile('abc.txt').existsSync(), true);

    textFile.deleteSync();
    await const WebReleaseBundle().build(environment);

   expect(environment.outputDir.childFile('abc.txt').existsSync(), false);
  }, overrides: <Type, Generator>{
    ProcessManager: () => MockProcessManager(),
    Platform: () => FakePlatform()..environment = <String, String>{'HOME': '/home/me'},
  }));

@jonahwilliams Actually I was not able to find any test that tests if the files get cleaned correctly after rebuilding. I'll push my changes and let you have a look at it.

@jonahwilliams ping

@jonahwilliams is this PR superseded by one of your recent changes?

This PR is superseded by https://github.com/flutter/flutter/pull/48316


added the option to force a conversion to plain text on paste

I've added the ability to enable a conversion to plain text when you paste text into the editor.
This is useful if you like to stick to a specific styling in your application.
Also you're not able to remove most of the styling once pasted into the editor.

Great work, thanks @robin7331!

Awesome!


fix: validation schema with latest ajv

Ref: https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/524
We can avoid using $schema as we can do in webpack (https://github.com/webpack/webpack/tree/master/schemas)

@bebraw - Wouldn't it just make more sense to migrate this to schema utils and maintain the ajv dependency there?

@d3viant0ne Agreed.
@evilebottnawi Can you make that change? Better solution over longer term.

@bebraw let's do it

/cc @d3viant0ne @bebraw

/cc @michael-ciniawsky

/cc @michael-ciniawsky done


fix(prov): add controller to avoid potential volume leaks

Why is this PR required? What issue does it fix?:
Here is the sequence of events that can produce a volume leak:

create a new pvc with late binding.
provision the volume in your csi driver CreateVolume as usual, but return artificial unsuccessful response (non-ok grpc code) to the csi external provisioner even though you are able to successfully provisioned the volume.
delete the pvc that you created earlier and wait for it till it gets completely removed.
terminate the csi controller plugin pod.
even after restarting the csi controller plugin pod, you'll see that underlying volume (lvm volume resource in our case) still exists without any pvc or pv associated with it thus leaking the underlying storage infra structure.

It is a known limitation of csi spec itself where CO can't invoke delete volume method without knowing the volume id (from CreateVolume response) as the create volume rpc keeps returning the error response. With restarting external provisioner, it loses its in-memory state of the pending create volume and stops retrying as the pvc resource has been deleted.
What this PR does?:
A separate controller watching pvc resources and add csi-leak-protection finalizer to delay its deletion until it make sure that the underlying storage volume gets garbage collected or the corresponding pvc gets bound.
Does this PR require any upgrade changes?:
No.
If the changes in this PR are manually verified, list down the scenarios covered::
Manually failing the CreateVolume rpc calls from external provisioner even after provisioning the volume. On deleting the corresponding pvc, we can see that associated lvm volume also gets deleted.
Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
I've tried making the LeakProtectionController keeping general csi driver plugins implementations in mind, so that it can be abstracted in separate common package (may be lib-csi in future) and can be used across all the csi driver with minimal changes at driver side.
Checklist:

[ ] Fixes #
[x] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Has the change log section been updated?
[ ] Commit has unit tests
[ ] Commit has integration tests
[ ] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
[ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

Gentle Reminder!
@prateekpandey14 @akhilerm @shubham14bajpai

Thanks for this PR @iyashu.


Remove buffer statics

Coverage decreased (-0.2%) to 96.556% when pulling 91abcbfc2e14d6473df47bbf07e34eb3ff1cb20f on removeBufferStatics into 72a7a18f1a0c1b376c84e563a68535b754f82cbc on master.


Fix failure caused by permission issues in temp dir

Fix #266 by ignoring the exception thrown by the erstwhile
GetFileStorage (renamed to GetPersistentStoragePath)
Disable the creation of the "data" directory under the persistent
storage directory when the framework starts
Make minor refactoring changes
Signed-off-by: The Mathworks Inc<EMAIL_ADDRESS>

Codecov Report

Merging #269 into development will increase coverage by <.01%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           development     #269      +/-   ##
===============================================
+ Coverage        84.46%   84.47%   +<.01%
===============================================
  Files               94       94
  Lines             6469     6472       +3
===============================================
+ Hits              5464     5467       +3
  Misses            1005     1005

Impacted Files
Coverage Δ

framework/src/bundle/CoreBundleContext.cpp
94.73% <100%> (+0.17%)
:arrow_up:

framework/src/util/Utils.cpp
64.93% <100%> (ø)
:arrow_up:


Release kvh_geo_fog_3d to noetic

Releasing to noetic. Can't use pull request because oath token isn't working within firewall.

Looks like my YAML alignment was incorrect. I don't see a way to edit this myself, as I'm not a maintainer.


The vue sfc template is not checked properly when combining ts and eslint

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.4.3
Nitro Version:    2.4.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, eslint
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-5ng4yv?file=package.json
Describe the bug
I use the dependencies eslint,@nuxtjs/eslint-module,@typescript-eslint/eslint-plugin,@typescript-eslint/parser eslint-plugin-vue, but I can't check the template properly, I get the undefined variables in double brackets in the template, I run npm run eslint in the terminal and it doesn't report the error properly, I have added the correct script
Additional context
No response
Logs
No response

For Nuxt 3 projects, we recommend @nuxt/eslint-config which provides minimal but correct support with Nuxt 3 TypeScript features.


[rom/e2e] Refactor E2E tests to use symbolic OTP macros

This PR refactors the ROM E2E tests to use the macros introduced in #18439.
It also adds the HARDENED_ prefix to some of the boolean CONSTs as discussed in https://github.com/lowRISC/opentitan/pull/18439#discussion_r1192246775.

Thanks @milesdai !


Getting the headers from adapter

In my code I forced to send some headers with the custom actions. It ends up being a code like this:
const body = this.get("model.foo")
const etag = this.get("model.etag");
const ajaxOptions = {
  headers: {
    "If-Match": version
  }
};

this.get("model").barAction(body, {ajaxOptions})

In quite many places.
I believe this code should live in adapter of proper model, and would therefore like to suggest a new feature: adapter integration.
Custom action should look, by default, look for headers in models adapter. So having a code like this in model:
import ApplicationModel from "./application-model";
import { modelAction } from "ember-custom-actions";

export default ApplicationModel.extend({
  barAction: modelAction("bar-action"),
});

and adapter like this:
import ApplicationAdapter from "./application";

export default ApplicationAdapter.extend({
  headersForRequest(params) {
    if(params.requestType === "bar-action") {
      const etag = params.snapshot.attr("etag");
      return {
        "If-Match": etag
      };
    } else {
      return this._super(params);
    }
  },
});

It would be enough in actual calling of the action to do:
const body = this.get("model.foo")
this.get("model").barAction(body)

If this idea is accepted I am more than happy to implement it, it would cleanup my codebase nicely.
I also have other issues of the same nature: ability to specify url in adapter for a custom action, and ability to specify a body in serializer in the similiar manner. I'm happy to create new issues for them when this one is settled, or right away.
EDIT
After some more time spend thinking about it, maybe better approach would be to introduce 3 new methods specific for custom actions: urlForCustomAction, headersForCustomAction and methodForCustomAction ?
Code would look for them in adapter, and if they are there, their result would be used.

Yea, the urlForCustomAction and headersForCustomAction would be great! It will solve also part of #24
but indeed there should be:

urlForCustomModelActions
urlForCustomResourceActions

or we should make it by meta programming like:

urlForMySuperCustomAction
headerForMySuperCustomAction
if the function will be found we will use it else we will fall back to the current behavior.

What do you think?

And then of course use adapterOptions to customize it like @scottwernervt said in #24

  _buildUrl(id) {
    let query = this.get('params');
    let snapshot = this.get('snapshot');
    let modelName = this.get('modelName');
    let requestType = this.get('urlType');

    let customUrlFor = this.get('adapter').get(`urlFor${this.get('urlType').camelize()}`);
    return customUrlFor ? customUrlFor(modelName, id, query, snapshot) : this.get('adapter').buildURL(modelName, id, snapshot, requestType, query);
  },

Ok, I think it should looks most likely like this (of course it needs to be refactored)

I started some work locally already with those ideas. I will prepare a PR with my initial thoughts, and we can start from there : )

As we moved with adapter's support we need to also handle those methods before we will be able to release the integration.
TODO:

[ ] generateIdForRecord
[ ] headersForRequest
[ ] methodForRequest
[ ] dataForRequest

Done. Let's test it out for a few weeks now.


Empty content sets the model value to null instead of an empty string

I don't know if you still wonder how to fix this issue, but if you open ng-ckeditor.js you will see one check
if (data === '') {
data = null;
}
You can either remove it or modify it's default value so that you don't have null as default value


No license text

:wave: Hi @dmitryduev!
It looks like there is no LICENSE.txt or COPYING.txt; could you make the Kowalski licensing explicit?

Thanks, @stefanv, good point! Fixed.


Page URLs are deleted on page reorder.

Still need more detail, but initial reproduction steps might be:
Move a documentation node into a parent node above a child that has page URLs. The child that already existed might have its URLs deleted and not replaced. This might be happening because the existing child, which is not the model that is the focus of the request, is not loaded with its URLs. After it's deleted, the URLs are not recreated because the model in memory did not have the URLs loaded.
Maybe.

Fixed:<PHONE_NUMBER>16f05c650ccfa0314ea40bf501ea7a
Yup, that was the problem.


WinUI3 not running on Windows 11 insider build (combase.pdb + combase.dll error)

Describe the bug
When trying to launch a blank WinUI3 project the following error message is displayed

This did work before installing Windows 11 insider build.
Steps to reproduce the bug

Use Windows 11 Home (Insider) version 22000.51
Create blank WinUI3 project
Run

Expected behavior
It runs preferably showing the new Win 11 styling ;)
Screenshots
Se above
Version Info
Project Reunion 0.8 VSIX

Windows 11 version
Saw the problem?

Insider Build (22000.51)
Yes

Device form factor
Saw the problem?

Desktop
Yes

It's happening to me too! I created an app (Blank, Packaged, WinUI 3 on Desktop) through Windows Template Studio and it crashes on launch with the same exception. 0xC0000602

https://github.com/microsoft/WindowsAppSDK/issues/998

We'll track this against the Windows AppSDK issue https://github.com/microsoft/WindowsAppSDK/issues/998. WinUI team, please go ahead and resolve this one.


[Bug] [flink-connector-jdbc]change jdbc Source connector to get fields from jdbc meta data and support oracle database

Purpose of this pull request

support to get fields from jdbc database metadata
support oracle database
remove functions with regex
change extend partition function to support complex sql

related issue: https://github.com/apache/incubator-seatunnel/issues/1779 https://github.com/apache/incubator-seatunnel/issues/1709
Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

Nice done. Please make build pass.

please check again

@ruanwenjun please check again


Refactor to not use OrbitProcess/OrbitModule/Pdb anymore

This PR is split up in 3 commits.

Move still needed functionality from OrbitProcess/Module to ProcessData/ModuleData (also moved/added tests)

I introduced a small struct (MemorySpace) that represents a region in memory where the process loaded a module. This is to decouple process and module more (They are still tighter coupled than I would like, since FunctionInfo contains the address at which the module was loaded by the process). In the future this struct should be used when we add support for dlopen/dlclose while taking a capture.

Moved ProcessData, ModuleData and FunctionUtils into new component OrbitClientData. Beforehand Process/ModuleData lived in OrbitGl, hence OrbitCore wasn't able to use them. The new component OrbitClientData is a dependency of OrbitGl and OrbitCore

Use Process/ModuleData instead of OrbitProcess/Module everywhere. This required a bunch of smaller changes in a lot of places.

@florian-kuebler & @dimitry-: I tried to make thread locality more obvious by actually creating a copy of ProcessData (and a memory map) for CaptureData. The idea is that CaptureData is for the capture thread and the main thread uses DataManager. Modules (ModuleData) and therefore Symbols live in DataManager and access is synchronised via a mutex in ModuleData (instead of copying all symbol data into the thread)
@kisenshi: I added you, because I did not test the changes I made to ClientGgp (I only know it compiles). Of course I am happy to get a full review, but feel free to just look at the ClientGgp changes

I couldn't take a look yet but just wondering if it would make sense to use OrbitClientModel to allocate the data files instead of creating OrbitClientData

Ok, I am testing now locally and I have a question and an exception that doesn't allow the client to end properly and therefore, the capure is not finished:

I get a warning after loading the symbols and I don't think it did before, is this expected?

[           ClientGgp.cpp:169] Found file: /srv/game/assets/benchmark
[           ClientGgp.cpp:170] Loading symbols
[           ScopeTimer.cpp:40] Starting LoadSymbolsFromFile: /srv/game/assets/benchmark...
[           ScopeTimer.cpp:60] LoadSymbolsFromFile: /srv/game/assets/benchmark took 50.600453 ms.
[           ModuleData.cpp:63] Warning: 1040 absolute addresses are used by more than one symbol

I get an exception after completing the capture and so the client does not end properly and the capture is never saved, etc

ClientGgp.cpp:112] Request to stop capture
[       CaptureClient.cpp:161] Finished writing on Capture's gRPC stream: asking to stop capturing
[                 main.cpp:57] Shut down the thread and wait for it to finish
[       CaptureClient.cpp:130] Finished reading from Capture's gRPC stream: all capture data has been received
[           ClientGgp.cpp:247] Capture completed
terminating with uncaught exception of type std::out_of_range: absl::container_internal::raw_hash_map<>::at
Connection to <IP_ADDRESS> closed.

I am trying to understand why this is happening but please could you also take a look?
Thanks!

Ok, Update/clarification on my previous comment: I realised the version of the client in your code is not updated so the capture would not save at all and I was expecing it to do so. However, the exception is still there anyway and the program does not end safely ("All done" is never printed) so there is an issue anyway.

Me again (sorry for so many comments). I was thinking that it might make sense for you to go through all the comments/revision related to the refactoring of the code first and we could the take a look to the client together afterwards if there is still an issue with it, or if it doesn't work as expected once the rest of the code is "stable".
It would also be great if I could test the client twice before merging the code: first using your version of the code to check the error mentioned in the previous comments disappears, etc; and a second/final time just before merging into master, once it has been rebased and the version of the client is the most updated one. This way I could also check the capture is saved/loaded properly and that the ggp client would be still stable/in good shape after this change is included.
Thanks!

@kisenshi I hope I fixed everything in ClientGgp now so it works as expected. It would be very nice if you could run it to see that its not just my machine. (And then after the rebase on Monday, we will test it again)

I did just the big rebase to be up to date with master again. I am going to do some extensive testing tomorrow.
@florian-kuebler If you would look at the CaptureTests, that would be great.


net/ip: Rename Kconfig symbols NET_BUF_* to NET_PKT_BUF_*

This fixes a naming inconsistencies where Kconfig symbols in net/ip should not be prefixed with NET_BUF_.

I think that this change should be documented in https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/releases/release-notes-3.3.rst#api-changes.
I also wonder @carlescufi @nashif , is there a deprecation procedure for such a case, i. e. Kconfig symbol renaming? I saw there is a DEPRECATED Kconfig symbol, but it seems to be intended for use with boolean options.

Deprecating Kconfig integers seems to be a bit tricky if we want to keep both symbols functional. For example settings_file.c handled this the following way:
https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/settings/src/settings_file.c#L22
however, I don't think this approach is applicable for the symbols modified in this PR given that there's no single switch to choose between deprecated/non-deprecated symbols, plus the fact that the symbols are used extensively across the code base.
I was thinking, perhaps the old deprecated symbol could default to 0 or a negative value, and then if set to something else, the new symbol could default to the deprecated one (so that if someone still uses the old config symbols, the new one gets the correct value)? Something like:
config NET_BUF_TX_COUNT
	int "How many network buffers are allocated for sending data (DEPRECATED)"
	default 0
	help
	  This option is deprecated, please use NET_PKT_BUF_TX_COUNT instead.

config NET_PKT_BUF_TX_COUNT
	int "How many network buffers are allocated for sending data"
	default NET_BUF_TX_COUNT if NET_BUF_TX_COUNT > 0
	default 36 if NET_L2_ETHERNET
	default 16
	help
	  Each data buffer will occupy CONFIG_NET_PKT_BUF_DATA_SIZE + smallish
	  header (sizeof(struct net_buf)) amount of data.

Plus a compile-time warning in net_pkt.c if depreacated symbol is used:
#if CONFIG_NET_BUF_TX_COUNT > 0
#warning "NET_BUF_TX_COUNT option is deprecated, please use NET_PKT_BUF_TX_COUNT instead."
#endif

Every other deprecated option would need to be handled in a similar way. @carlescufi @tejlmand Do you think this approach would be accepted?

This feels like it qualifies as a tree-wide change.

This feels like it qualifies as a tree-wide change.

@galak what are the implications of such a categorisation? Note that this is strictly about renaming IP stack Kconfig definitions in subsys/net/ip/Kconfig which should never have had a NET_BUF_* prefix. E.g. the net_buf and Bluetooth subsystems are not affected (except in the case of the latter where it interfaces with the IP stack).
@chrta could you rebase? There seems to be a few conflicts.

Please take this through the tree-wide PR process and bring it up in the arch-review meeting.  Work with @carlescufi to put it on the agenda for arch-review.

I will not have any time working on this, so i am closing this pr. Anyone who is interested in this can pick this up and continue from here...


Post MUDDLE Workshop Discussion Board

Following a workshop given by MUDDLE's content and technical editors, we began discussion and review of current contributors works here on the Issues board.

@jcoyne47
Log Lady Twitter Bot
Link to project and documentation

@jksily
Family, Home
Link to sandbox directory

@backpacker396
Samsung Sketches - Digital Art
Link to sandbox directory

@gmoe
Black Hole Simulator - Code Sketch
Link to sandbox directory

@nadinejl
Blooming Blogs and Timelapse Sketches
Link to Sandbox Directory
Link to @bloom.words Instagram

damjamArtist_anonNeighbor
@damien.james.art is on instagram
Material Drawings and Process Documentation
Link to Descriptive README.md File

@gkthiruvathukal
Abstract Ink Contribution
Link to Sandbox Directory

M-Art, daughter to @gkthiruvathukal
Lovely Material Sketch
Link to Sandbox Directory

rock_MOM - editor contribution
"BARRACUDA" - Processing Game
Link to Sandbox Directory


Color skill types in embeds

When viewed in-game, a certain skill type is colored the same way as skill name. Right now they don't offer a way for us to know that info from the API. I opened an issue for them to make it error-free to catch that info; for now all we have is a subject-to-change list of skill types:
Cantrip | Deception | Glyph | Mantra | Meditation | Physical | Shout | Signet | Stance | Trap | Well | Consecration | Final Charge | Spirit weapon | Symbol | Tome | Virtue | Ward | Citadel Order | Legend | Legendary Assassin Stance | Legendary Centaur Stance | Legendary Demon Stance | Legendary Dragon Stance | Legendary Dwarf Stance | Legendary Renegade Stance | Banner | Burst | Primal burst | Rage | Engineering kit | Elixir | Exceed | Gadget | Gyro | Photon Forge | Tool belt | Turret | Celestial Avatar | Pet | Spirit | Survival | Dual Wield | Kneel | Stealth Attack | Stolen skill | Trick | Venom | Arcane | Attunement | Conjure | Dual Attack | Overload | Ambush | Clone | Glamour | Manipulation | Phantasm | Shatter | Corruption | Mark | Minion | Punishment | Shade | Spectral
And I'm surprised they renamed kits to "Engineering kits" (been away from the game for a couple months now). lol

Can you show image example
On 10 Sep. 2017 8:23 am, "Paulo Filho"<EMAIL_ADDRESS>wrote:

When viewed in-game, a certain skill type is colored the same way as skill
name. Right now they don't offer a way for us to know that info from the
API. I opened an issue for them to make it error-free to catch that info;
for now all we have is a subject-to-change list of skill types:
Cantrip | Deception | Glyph | Mantra | Meditation | Physical | Shout |
Signet | Stance | Trap | Well | Consecration | Final Charge | Spirit weapon
| Symbol | Tome | Virtue | Ward | Citadel Order | Legend | Legendary
Assassin Stance | Legendary Centaur Stance | Legendary Demon Stance |
Legendary Dragon Stance | Legendary Dwarf Stance | Legendary Renegade
Stance | Banner | Burst | Primal burst | Rage | Engineering kit | Elixir |
Exceed | Gadget | Gyro | Photon Forge | Tool belt | Turret | Celestial
Avatar | List of pet skills|Pet | Spirit | Survival | Dual Wield | Kneel |
Stealth Attack|Stealth attack | Stolen skill | Trick | Venom | Arcane |
Attunement | Conjure | Dual Attack | Overload | Ambush | Clone | Glamour |
Manipulation | Phantasm | Shatter | Corruption | Mark | Minion | Punishment
| Shade | Spectral
And I'm surprised they renamed kits to "Engineering kits" (been away from
the game for a couple months now). lol
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/madou/armory-react/issues/343, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGfHnUJjWtmgwe3a5xayMOQUl7AX3cXdks5sgw_-gaJpZM4PSIzz
.

Yep:

This is now released.


Charm missing kubeflow role aggregation rule that gives users access to SeldonDeployments

As presently implemented, the combination of kubeflow-roles and Seldon that are planned for the Kubeflow 1.7 release do not grant users access to SeldonDeployments in their namespaces.  This has the effect of making Seldon unusable for Kubeflow users.
In pod spec versions of the seldon charm, Kubeflow users were granted permission to create/edit/* SeldonDeployments in their namespace via this aggregated ClusterRole (for a description of how kubeflow aggregates roles to users, see this readme).  This ClusterRole was implemented in the kubeflow roles charm because pod spec did not allow us to create arbitrary ClusterRoles.
Now that the charm was migrated to sidecar, this ClusterRole could be deployed by this charm.  canonical/kubeflow-roles-operator#38 removed the ClusterRole from the central role deployment (possibly because it was thought that this role was now implemented in the seldon charm directly?).  The result is that users are not granted the required permissions for SeldonDeployments.
To fix this, we should:

do one of:

restore the aggregation ClusterRole in kubeflow-roles
implement the aggregation ClusterRole here in Seldon

add tests that would catch this in future

Regarding adding tests, it is unclear where the best place should be for them.  Because this was the transference of responsibility from one charm to another, I think it could only be caught at the bundle level?  Although it feels unsatisfying that we can delete a file in kubeflow-roles and not have a check at the repo level to say that was important.

Seems like the roles got removed in upstream Kubeflow 1.7. This aggregation rule comes exclusively from the manifests in the upstream Kubeflow project, so I have asked why this role got removed. In the meantime, my proposed solution is to revert back this role removal from kubeflow-roles-operator.

Fixed in #122


Mobile experience

It would be good to see an update to talk about the mobile experience.
When admins turn off/on Focused Inbox using PowerShell, what is the expected experience in the Outlook mobile app?

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

ID: 83abc4f6-2d5b-1187-eda8-6cf841fe420a
Version Independent ID: 5df31a0f-5128-140d-2c13-ca9eb0b59b0a
Content: Configure Focused Inbox for everyone in your organization
Content Source: Office365-Admin/setup/configure-focused-inbox.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@officedocsbot assign @mypil

@DarrellaaS - Thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback on how to make Office 365 better. They keep a close tab on user feedback and it would be awesome if you could add your voice in
User Voice
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

I think you misunderstood. I'm not making a feature request. I'm suggesting the documentation on the page needs to include how these admin configurations change the mobile experience of Focused Inbox. A recent service disruption to Exchange Online began to deliver everything to the 'Other' Inbox view. The suggested work around was for admins to disable Focused Inbox using the steps in this article. But there is no mention of what will happen to the Focused Inbox in Outlook for mobile.

@DarrellaaS - Thank you for providing clarification.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@DarrellaaS  Thank you for your feedback. As soon as the admin configuration changes happen it affects all the devices used to access the mailbox. Which means the mobile device will also have the focused inbox feature Turned ON/OFF as the admin makes the change.
Meanwhile, regarding the issue we had faced last week, It was an outage which was resolved in 4 hours.
Hope this helps!
Regards
Sri

@DarrellaaS - From our understanding, the issue you raised has been answered by msbemba. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Loading indicator message not displayed (generator v1.0.2)

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

Expected or Desired Behavior
When using the web part loading indicator, the specified loading message should be displayed.
Observed Behavior
When calling the loading indicator in the web part onInit method, instead of the specified loading message, the standard Loading [web part title]... message is displayed.
Steps to Reproduce
Create a new web part. To the web part class add the following code:
protected onInit(): Promise<void> {
  return new Promise<void>((resolve, reject) => {
    this.context.statusRenderer.displayLoadingIndicator(this.domElement, 'data');

    setTimeout((): void => {
      this.context.statusRenderer.clearLoadingIndicator(this.domElement);
      resolve();
    }, 10000);
  });
}

Instead of showing Loading data... the web part shows Loading [web part title]....

Hi @waldekmastykarz, I think this is fixed. Can you still repro it ? If not, could you please close the issue?

I've just checked and the issue is still there. Verified using the exact same repro steps as mentioned above.

Confirmed I see the same thing, but not just within the OnInit() method... I see it in the render() method as well. Might be bigger issue with the rendering... see bug #696 I just added.

As mentioned in #696 - this should be resolved.


changes for GA

I tried to undo the line-ending changes on a couple of files, but didn't seem to make any progress, so I just merged it as-is. I'll update the demo in a few.


Workspaces.lua not working

I am not using the nix configuration, but I've stolen everything related to hyprland workspaces.
My eww config
(defwidget bar []
    (box
        :orientation "h"
        :space-evenly false
        :halign "end"
        :class "bar"

        (workspaces
         :halign "center"
         :hexpand false
         :orientation "h"
         :space-evenly false
        )
        (bat)
        (bright)
        (volume)
        (wifi)
    )
)

(deflisten workspaces_listen "scripts/workspaces.sh")
(defwidget workspaces []
    (literal :content workspaces_listen)
)

and the scripts I just copy pasted into ~/.config/eww/scripts/. Both workspaces.lua and workspaces.sh
When trying to use the workspaces script, I encounter this error from eww logs
error: Input ended unexpectedly. Check if you have any unclosed delimiters
  ┌─ <literal-content>:1:227
  │
1 │ (box :orientation "h" :spacing 1 :space-evenly "true" (button :class "inactive" :onclick "hyprctl dispatch workspace 1" "")(button :class "in
active" :onclick "hyprctl dispatch workspace 0" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │
                                                                                ─

error: Input ended unexpectedly. Check if you have any unclosed delimiters
  ┌─ <literal-content>:1:227
  │
1 │ (box :orientation "h" :spacing 1 :space-evenly "true" (button :class "inactive" :onclick "hyprctl dispatch workspace 1" "")(button :class "in
active" :onclick "hyprctl dispatch workspace 0" "")(button :class "active" :onclick "hyprctl dispatch workspace
error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " "")(button :class "inactive" :onclick "hyprctl dispatch workspace 2" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " "")(button :class "inactive" :onclick "hyprctl dispatch workspace 2" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " "")(button :class "inactive" :onclick "hyprctl dispatch workspace 3" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " "")(button :class "inactive" :onclick "hyprctl dispatch workspace 3" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " "")(button :class "inactive" :onclick "hyprctl dispatch workspace 4" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " "")(button :class "inactive" :onclick "hyprctl dispatch workspace 4" "")(button :class "active" :onclick "hyprctl dispatch workspace
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " ""))
  │     ─ Invalid token

error: Invalid token
  ┌─ <literal-content>:1:5
  │
1 │  " ""))
  │     ─ Invalid token

I'm not sure if this is an error on my part or the script is outdated, please address. Thanks

After testing today, it works for some reason. However, it does not update.
Although the variables workspaces_listen should update every newline, I believe workspaces.lua does not print a new line everytime the window updates. I'm not sure how to fit it into the script.

Closing this issue because after testing with 1 monitor, it works.
There's no multimonitor support for workspaces.lua


Added discovering Thread network as a result of ScanNetworks command.

Problem
Currently NetworkCommissioning ScanNetworks command is not handled by accessory device and it responds with default not supported response.
Summary of Changes
That is initial PR adding only part of necessary implementation tracked in https://github.com/project-chip/connectedhomeip/issues/6201.

Added OnScanNetworksCommandCallbackInternal implementation, calling Thread Discover method, but without creating ScanNetworksResponse.
Added implementation of Thread Discover() method.
Added initial ThreadDiscoveryResult structure describing Thread data that should take place in DiscoveryResponse field. The type may will probably need further alignment, depending on the https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/2427 discussion result.
Added printing scanned networks information.

@woody-apple I believe we have some basic tests using Python CHIP device controller for NetworkCommissioning AddThreadNetwork and EnableNetwork (https://github.com/project-chip/connectedhomeip/blob/master/src/controller/python/test/mobile-device-test.py#L86), and I would like to of course add them for ScanNetworks too, but at this point there is not much to test. After receiving ScanNetworks command from controller, CHIP device should respond it with response containing data structures of scanned networks and that should be definitely tested, but this initial PR introduces only getting this data from the Thread stack and printing in log, so answer is not yet created and nothing new will appear on the controller side. Would you be ok if I create an issue to not forget about adding tests and add them together with the future change enabling sending network data responses?

@mspang @andy31415 I'm changing it to draft, as your comments suggested me that current PR shape might not be good enough to merge. I wanted to make it first step implementation and align later, but I can also wait on resolving mentioned DiscoveryResponse spec issue and reintroduce this PR again.