can we live share the interactive window ？

I am teaching python and I use vscode for education purpose. so I have the python extension and the live share extension, and I can right click, select "Run Selection/Line in Python Interactive Window" to see the code block run in the jupyter notebook interactive window.
If I (the host) am live sharing with my students，this window is not shared. If my student(the guest ) select "Run Selection/Line in Python Interactive Window"，he will run code in his own interactive window.
Can we all share the same interactive window？

This should work. However both users have to have the same version of the python extension installed. Additionally the source file has to be shared. The guest cannot run code from a file that is not present on the host.
You might also try it with a cell instead? (Code like so)
#%%
print('from a cell')

@rchiodo Yes, I think we have same version of python extension (both newly installed on the host machine and guest machine), the edited file and a python terminal is shared.
What I want is exactly this feature:

I just found the above gif from this post.
so I believe this feature is implemented, but I don't know how to enable it. I didn't change any default settings, and I have jupyter installed on both the host machine and guest machine (which I think is unnesseccary). I also tried adding #%%, but still unable to share the interactive window.
When I hit Shift+Enter the first time on the host machine, the interactive window show up, but not on the guest machine. If the guest machine also hit Shift+Enter, its own interactive window will show up, not the one from the host side.

I was trying this as well today, from two vs code windows on the same machine
The behavior I observe is that the "guest" seems to be blocking the "host" Jupyter. When the guests connects:

I correctly get a notification to share my Jupyter port
If I open the Interactive window from the guest, the loading spinner never successfully connects. Any command I run just hangs there.
If I run things in the interactive window on the host, nothing shows up.
As soon as I exit the collaboration session, all the commands I had run before on the host suddenly resume, and execute on the Jupyter kernel.

@hyansuper 	You might have to enable this setting:

@haudren 	I'm not sure what's happening. Can you double check that host and guest have the same version of the python extension? On first open the two are supposed to sync the opening of the interactive window. If they're different versions the host is supposed to boot the guest out, but maybe that's not working for some reason. It also might take a while as the host has to actually launch the jupyter server before the guest is able to open the window.

After I check "Allow Guest Command Control", I am now having very similar problem as @haudren, the loading spinner spins forever on the guest machine. but I can run code cell from the host machine.

What's the version of the python extension on both machines?
They should both look like so:

If that's true, then what does the host show in the live share tab?
Mine looks like so:

If you do have a jupyter server showing there, then we likely need to look at the live share logs.

That setting should turn on logging for live share in your output window. You can do this on both the host and guest.
The logs will show up in a 'Visual Studio Live Share' output tab. Here's an example of it working:
[API V] notify(ms-python.python.guestCheckerService.guestCheck)
[API V] rpc.onNotify(ms-python.python.guestCheckerService.guestCheck)
[API V] notify(ms-python.python.interactiveWindowProviderService.interactiveWindowCreate)
[API V] rpc.onRequest(ms-python.python.jupyterExecutionService.getUsableJupyterPython)
[API V] rpc.onRequest(ms-python.python.jupyterExecutionService.connectToNotebookServer)
[API V] rpc.onRequest(ms-python.python.jupyterServerSharedServicehistory.synchRequest)
[API V] rpc.onNotify(ms-python.python.interactiveWindowProviderService.broadcastRequest)
[API V] notify(ms-python.python.interactiveWindowProviderService.interactiveWindowCreateSync)
[API V] notify(ms-python.python.webPanelMessageService.remote_add_code)
[API V] notify(ms-python.python.jupyterServerSharedServicehistory.serverResponse)
[API V] notify(ms-python.python.jupyterServerSharedServicehistory.serverResponse)
[API V] notify(ms-python.python.jupyterServerSharedServicehistory.serverResponse)
[API V] notify(ms-python.python.jupyterServerSharedServicehistory.serverResponse)
[API V] notify(ms-python.python.jupyterServerSharedServicehistory.serverResponse)

The python extension version are both 2019.6.24221.

On the jupyter startup, I click "Allow" button on a notification that pops up from bottom right corner asking for sharing port 8888, there are some logs saying "shareService ... not permitted" before and after the notification popup.
After I start live sharing, code cell will not show/run in the interactive window on host, although I can type code and run directly in the interactive window. so my observation is the same as @haudren described.
Log from host:
[Command:Object I] HasRunPreviously: Starting collaboration session -> true
[Command:Object I] Decorator: Telemetry Starting
[Command:Object I] Decorator: TelemetryStatus Starting
[Command:Object I] Decorator: Validation Starting
[Command:Object I] Decorator: SessionStateTransitions Starting
[Command:Object I] SessionContext: State update from "SignedIn" (SignInSuccess) to "SharingInProgress" (AttemptSharing).
[Command:Object I] Decorator: Progress Starting
[Progress I] Progress notifier opened: 0.
[Command:Object I] Decorator: InfoPage Starting
[Command:Object I] Decorator: Authentication Starting
[Command:Object I] Decorator: GaNotification Starting
[Command:Object I] Decorator: ShareCommand Starting
[Command:Object I] SessionContext: Status update from "undefined" to "FirewallCheckStarting".
[Client.Rpc V] < firewall.getFirewallStatus()
[Client.Rpc V] > firewall.getFirewallStatus() succeeded
[Command:Object I] SessionContext: Status update from "FirewallCheckStarting" to "FirewallCheckComplete".
[Command:Object I] SessionContext: Status update from "FirewallCheckComplete" to "ShareWorkspaceStarting".
[Client.Rpc.Workspace V] < workspace.shareWorkspace()
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "ShareWorkspaceStarting" to "CreatedWorkspace".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "CreatedWorkspace" to "InitializedAgentServices".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "InitializedAgentServices" to "InitializedRelayAndTCP".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc.Workspace V] > workspace.servicesChanged:
[Client.Rpc.Workspace V] > workspace.shareWorkspace() succeeded
[Command:Object I] SessionContext: Status update from "InitializedRelayAndTCP" to "ShareWorkspaceComplete".
[Client.CoEditing I] Name tag behavior: Activity
[Client.CoEditing I] Creating file client for </6b10bf5b/d1436075.py>
[BreakpointManager V] initialize
[BreakpointManager V] updateCollaborationBreakpoints total:0
[Command:Object I] SessionContext: Status update from "ShareWorkspaceComplete" to "InitBreakpointComplete".
[Command:Object I] SessionContext: Status update from "InitBreakpointComplete" to "InitTextSearchServiceComplete".
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Command:Object I] SessionContext: Status update from "InitTextSearchServiceComplete" to "InitCommentManagerComplete".
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.SourceEvent V] < sourceEvent.setSourceData()
[Debug.Rpc.Host V] < workspace.registerServices()
[Client.Workspace.AccessControl V] < workspaceAccessControl.getAccessControl()
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.Workspace V] < workspace.registerServices()
[Command:Object I] SessionContext: Status update from "InitCommentManagerComplete" to "InitTaskComplete".
[SourceControl V] sendNotification-> sourceControl.sourceControlChanged:
[Command:Object I] SessionContext: Status update from "InitTaskComplete" to "InitCoeditingComplete".
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.File V] < file.list()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded
[Command:Object I] SessionContext: Status update from "InitCoeditingComplete" to "InitLspComplete".
[Client.Rpc.SourceEvent V] > sourceEvent.setSourceData() succeeded
[Command:Object I] SessionContext: Status update from "InitLspComplete" to "InitBreakpointComplete".
[Debug.Rpc.Host V] > workspace.registerServices() succeeded
[Command:Object I] SessionContext: Status update from "InitBreakpointComplete" to "InitDebuggingComplete".
[Client.Workspace.AccessControl V] > workspaceAccessControl.getAccessControl() succeeded
[Command:Object I] SessionContext: Status update from "InitDebuggingComplete" to "InitAccessControlComplete".
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded
[Command:Object I] SessionContext: Status update from "InitAccessControlComplete" to "InitSourceControlServiceComplete".
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded
[Command:Object I] SessionContext: Status update from "InitSourceControlServiceComplete" to "InitCommentServiceComplete".
[Command:Object I] SessionContext: Status update from "InitCommentServiceComplete" to "InitCommandComplete".
[Command:Object I] Decorator: ShareCommand Completed Success (4331ms)
[Command:Object I] Decorator: GaNotification Completed Success (4331ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: Authentication Completed Success (4332ms abs=1ms pre=1ms post=0)
[Command:Object I] Decorator: InfoPage Completed Success (4332ms abs=0ms pre=0ms post=0)
[Progress I] Progress notifier finished: 0.
[Command:Object I] Decorator: Progress Completed Success (4333ms abs=1ms pre=1ms post=0)
[Contact.Manager V] onActivityStatusChanged-> id:liveshare-State newStatus:doNotDisturb publishedPresenceStatus:undefined
[Command:Object I] SessionContext: State update from "SharingInProgress" (AttemptSharing) to "Shared" (SharingSuccess).
[Command:Object I] Decorator: SessionStateTransitions Completed Success (4337ms abs=4ms pre=0ms post=4)
[API V] ^onDidChangeSession(Host)
[API W] shareService(guestCheckerService) not permitted.
[API W] shareService(interactiveWindowProviderService) not permitted.
[Command:Object I] Decorator: Validation Completed Success (4345ms abs=8ms pre=1ms post=7)
[Command:Object I] Decorator: TelemetryStatus Completed Success (4345ms abs=0ms pre=0ms post=0)
[API W] shareService(jupyterExecutionService) not permitted.
[Command:Object I] Command [Starting collaboration session]: Share Success (4348ms)
[Command:Object I] Decorator: Telemetry Completed Success (4348ms abs=3ms pre=0ms post=3)
[Command:Object I] Decorator: FirstRunTracking Completed Success (4348ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: ErrorNotification Completed Success (4349ms abs=1ms pre=0ms post=1)
[Command:Object I] Decorator: CancellationDecorator Completed Success (4349ms abs=0ms pre=0ms post=0)
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.CoEditing.VSCodeEvent V] onDidChangeTextDocument: (</6b10bf5b/d1436075.py>)
[Client.CoEditing.VSCodeEvent V] onDidChangeTextDocument: Document dirty state changes
[Client.CoEditing.VSCodeEvent I] onDidSaveTextDocument (</6b10bf5b/d1436075.py>)
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.LSP V] sendNotification-> languageServerProvider-any.notified:
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.File V] > file.filesChanged:
[Client.LSP V] sendNotification-> languageServerProvider-any.notified:
[Client.Rpc.ServerSharing V] < serverSharing.getSharedServers()
[Client.Rpc.ServerSharing V] > serverSharing.getSharedServers() succeeded
[Client.Rpc.PortForwarding V] < terminal.getRunningTerminals()
[Client.Rpc.PortForwarding V] > terminal.getRunningTerminals() succeeded
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorSelection (</6b10bf5b/d1436075.py>): [{"start":{"line":5,"character":31},"end":{"line":5,"character":31},"active":{"line":5,"character":31},"anchor":{"line":5,"character":31}}]
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc.WorkspaceUser V] > workspaceuser.workspaceSessionChanged:
[Client.Rpc.WorkspaceUser V] < workspaceuser.acceptOrRejectGuest()
[Client.Rpc.WorkspaceUser V] > workspaceuser.workspaceSessionChanged:
[API V] ^onDidChangePeers(added: #2 Guest
[Contact.Manager V] addUserProfile id:047aa123-cf5e-4029-a988-ed049e6974d5 name:<21:a1c401e3> email:<a1c4@01e3>
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Client.Rpc.WorkspaceUser V] > workspaceuser.acceptOrRejectGuest() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[API W] shareService(webPanelMessageService) not permitted.
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorSelection (</6b10bf5b/d1436075.py>): [{"start":{"line":7,"character":0},"end":{"line":7,"character":0},"active":{"line":7,"character":0},"anchor":{"line":7,"character":0}}]
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[HostServerController I] Decorator: ErrorNotification Starting
[HostServerController I] Decorator: Telemetry Starting
[HostServerController I] Decorator: CommandMethodAdapter Starting
[Client.Rpc.ServerSharing V] < serverSharing.getSharedServers()
[Client.Rpc.ServerSharing V] > serverSharing.getSharedServers() succeeded
[Client.Rpc.ServerSharing V] < serverSharing.startSharing()
[Client.Rpc.ServerSharing V] > serverSharing.sharingStarted:
[Client.Rpc.ServerSharing V] < serverSharing.getSharedServers()
[Client.Rpc.ServerSharing V] > serverSharing.startSharing() succeeded
[HostServerController I] Decorator: CommandMethodAdapter Completed Success (5077ms abs=728ms pre=-134338ms post=135066)
[HostServerController I] Command [Sharing Server]: ShareServer Success (5077ms)
[HostServerController I] Decorator: Telemetry Completed Success (5078ms abs=1ms pre=0ms post=1)
[HostServerController I] Decorator: ErrorNotification Completed Success (5078ms abs=0ms pre=0ms post=0)
[API W] shareService(jupyterServerSharedServicehistory) not permitted.
[Client.Rpc.ServerSharing V] > serverSharing.getSharedServers() succeeded
[Client.Rpc.ServerSharing V] < serverSharing.getSharedServers()
[Client.Rpc.ServerSharing V] > serverSharing.getSharedServers() succeeded

Log from guest:
[Client.Rpc.Auth V] > auth.loginWithCachedToken() succeeded
[Command:Object I] SessionContext: Status update from "AttemptDefaultLoginStarting" to "AttemptDefaultLoginComplete".
[Command:Object I] SessionContext: Status update from "AttemptDefaultLoginComplete" to "SigninCheckCompleted".
[Command:Object I] Decorator: GaNotification Starting
[Command:Object I] Decorator: JoinReloadCommand Starting
[Contact.Manager E] Failed to register Git provider error:Error: Git model not found
[Contact.Manager I] registerContactProvider-> serviceId:selfInvite
[Contact.Service V] _Initialize:selfInvite
[Contact.Service V] Request 'initialize' serviceId:selfInvite
[Client.Rpc.SessionContext V] < sessionContext.getServiceNames()
[Client.Rpc.SessionContext V] > sessionContext.getServiceNames() succeeded
[Client I] [applying guest workspace settings]: Failed to set the "files.hotExit" setting on the workspace.
[Client.Rpc.Workspace V] < workspace.joinWorkspace()
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "SigninCheckCompleted" to "AddedUserToWorkspace".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "AddedUserToWorkspace" to "ReadWorkspaceInfo".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc V] > telemetry.genericOperation:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "ReadWorkspaceInfo" to "OpenedRemoteSession".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc.Workspace V] > workspace.servicesChanged:
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate:
[Command:Object I] SessionContext: Status update from "OpenedRemoteSession" to "JoinedRemoteSession".
[Client.Rpc.Workspace V] > workspace.progressUpdated:
[Client.Rpc.Workspace V] > workspace.joinWorkspace() succeeded
[Client.Workspace.AccessControl V] < workspaceAccessControl.getAccessControl()
[Client.Rpc V] > telemetry.genericOperation:
[Client.Workspace.AccessControl V] > workspaceAccessControl.getAccessControl() succeeded
[Client.AccessControl V] < accessControl.getAccessControl()
[Client.AccessControl V] > accessControl.getAccessControl() succeeded
[Client.CoEditing I] Name tag behavior: Activity
[BreakpointManager V] initialize
[Command:Object I] SessionContext: Status update from "JoinedRemoteSession" to "AddAdditionalRootsComplete".
[Command:Object I] SessionContext: Status update from "AddAdditionalRootsComplete" to "InitCoeditingComplete".
[Command:Object I] SessionContext: Status update from "InitCoeditingComplete" to "InitSearchProviderComplete".
[Command:Object I] SessionContext: Status update from "InitSearchProviderComplete" to "InitCommentServiceComplete".
[Client.Rpc.File V] < file.listRoots()
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Debug.Host V] < DebuggerHostService.getCurrentDebugSessions()
[Client.Rpc.SourceEvent V] < sourceEvent.getSourceData()
[Client.SourceControl V] < sourceControl.getAllSourceControls()
[Client.CommentService V] < commentService.getAllCommentThreads()
[Command:Object I] SessionContext: Status update from "InitCommentServiceComplete" to "ReloadEndTime".
[Client.Rpc V] < brokerManager.register()
[Client.Rpc V] > brokerManager.register() succeeded
[Client.Rpc V] < brokerManager.register()
[Client.Rpc V] > brokerManager.register() succeeded
[Client.Rpc V] < taskOutput.getTaskOutputs()
[Client.Rpc.File V] > file.listRoots() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.LSP V] < languageServerProvider-any.getMetadata()
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.getSourceData() succeeded
[Command:Object I] SessionContext: Status update from "ReloadEndTime" to "InitBreakpointComplete".
[Client.Rpc V] > taskOutput.getTaskOutputs() succeeded
[Client.Rpc V] < workspaceTask.getSupportedTasks()
[Client.Rpc V] < workspaceTask.getTaskExecutions()
[Client.CommentService V] > commentService.getAllCommentThreads() succeeded
[Debug.Host V] > DebuggerHostService.getCurrentDebugSessions() succeeded
[Debug.Host V] < DebuggerHostService.getLaunchConfigurations()
[Client.SourceControl V] > sourceControl.getAllSourceControls() succeeded
[Command:Object I] SessionContext: Status update from "InitBreakpointComplete" to "InitSourceControlServiceComplete".
[Client.LSP V] > languageServerProvider-any.getMetadata() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Command:Object I] SessionContext: Status update from "InitSourceControlServiceComplete" to "InitCommandComplete".
[Client.Rpc V] > workspaceTask.getTaskExecutions() succeeded
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Debug.Host V] > DebuggerHostService.getLaunchConfigurations() succeeded
[Client.LSP V] sendNotification-> languageServerProvider-any.notify:
[Command:Object I] SessionContext: Status update from "InitCommandComplete" to "InitDebuggingComplete".
[Command:Object I] SessionContext: State update from "JoiningInProgress" (AttemptJoining) to "Joined" (JoiningSuccess).
[Contact.Manager V] addUserProfile id:1bd6ed03-8bdd-4f66-9f28-3f029a10e7db name:<8:<redacted>> email:<<red@acted>>
[Contact.Manager V] addRecentContact id:1bd6ed03-8bdd-4f66-9f28-3f029a10e7db displayName:<8:<redacted>> email:<<red@acted>>
[Contact.Manager V] onActivityStatusChanged-> id:liveshare-State newStatus:doNotDisturb publishedPresenceStatus:undefined
[Command:Object I] SessionContext: Status update from "InitDebuggingComplete" to "JoinWorkspaceComplete".

[Command:Object I] Decorator: Progress Completed Success (4502ms abs=3ms pre=2ms post=1)
[Command:Object I] Decorator: SessionStateTransitions Completed Success (4505ms abs=3ms pre=3ms post=0)
[Command:Object I] Decorator: Validation Completed Success (4506ms abs=1ms pre=1ms post=0)
[Command:Object I] Decorator: TelemetryStatus Completed Success (4507ms abs=1ms pre=1ms post=0)
[Command:Object I] Decorator: FirstRunTracking Completed Success (4508ms abs=1ms pre=0ms post=1)
[Command:Object I] Command [Joining collaboration session]: Join Success (4508ms)
[Command:Object I] Decorator: Telemetry Completed Success (4508ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: ErrorNotification Completed Success (4508ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: CancellationDecorator Completed Success (4508ms abs=0ms pre=0ms post=0)
[Client.Rpc.PortForwarding V] > portForwarding.getSharedServers() succeeded
[Client.Rpc.PortForwarding V] > portForwarding.getSharedServers() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.readText() succeeded
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.PortForwarding V] > terminal.getRunningTerminals() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.CoEditing I] Creating file client for </<redacted>/<redacted>.py>
[Client.CoEditing.BufferManager I] Setting initial history for </<redacted>/<redacted>.py> (server version: -1)
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.CoEditing.VSCodeEvent V] onDidChangeVisibleTextEditors (new active viewcolumns: 1)
[Client.CoEditing.VSCodeEvent I] onDidChangeActiveTextEditor (</<redacted>/<redacted>.py>)
[Client.Rpc.File V] < file.list()
[Client.CommentService V] < commentService.getAllCommentThreads()
[API I] Initializing Live Share API 0.3.1291 for<EMAIL_ADDRESS>[API V] getSharedService(ms-python.python.guestCheckerService)
[API V] getSharedService(ms-python.python.interactiveWindowProviderService)
[API V] onNotify(ms-python.python.guestCheckerService.guestCheck)
[API V] onNotify(ms-python.python.interactiveWindowProviderService.interactiveWindowCreate)
[API V] onNotify(ms-python.python.interactiveWindowProviderService.interactiveWindowCreateSync)
[Client.LSP V] < languageServerProvider-any.request()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] < file.list()
[Client.LSP V] < languageServerProvider-any.request()
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc V] > workspaceTask.getSupportedTasks() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.CommentService V] > commentService.getAllCommentThreads() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] > file.list() succeeded
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.File V] < file.list()
[Client.Rpc.File V] > file.list() succeeded
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.ServerSharing V] > serverSharing.sharingStarted:
[Client.Rpc.PortForwarding V] > portForwarding.sharingStarted:
[Client.Rpc.PortForwarding V] < portForwarding.getSharedServers()
[Client.Rpc.PortForwarding V] > portForwarding.getSharedServers() succeeded
[Client.CoEditing.VSCodeEvent V] onDidChangeVisibleTextEditors (new active viewcolumns: 1, )
[Client.CoEditing.VSCodeEvent V] onDidChangeVisibleTextEditors (new active viewcolumns: 1)
[Client.CoEditing.VSCodeEvent V] onDidChangeVisibleTextEditors (new active viewcolumns: 1, )
[Client.CoEditing.VSCodeEvent I] onDidChangeActiveTextEditor (</<redacted>/<redacted>.py>)
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorSelection (</<redacted>/<redacted>.py>): [{"start":{"line":8,"character":32},"end":{"line":8,"character":32},"active":{"line":8,"character":32},"anchor":{"line":8,"character":32}}]
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] > languageServerProvider-any.request() succeeded
[API V] getSharedService(ms-python.python.webPanelMessageService)
[API V] onNotify(ms-python.python.webPanelMessageService.start_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.finish_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.update_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.gotocell_code)
[API V] onNotify(ms-python.python.webPanelMessageService.copycell_code)
[API V] onNotify(ms-python.python.webPanelMessageService.restart_kernel)
[API V] onNotify(ms-python.python.webPanelMessageService.export_to_ipynb)
[API V] onNotify(ms-python.python.webPanelMessageService.get_all_cells)
[API V] onNotify(ms-python.python.webPanelMessageService.return_all_cells)
[API V] onNotify(ms-python.python.webPanelMessageService.delete_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.delete_all_cells)
[API V] onNotify(ms-python.python.webPanelMessageService.undo)
[API V] onNotify(ms-python.python.webPanelMessageService.redo)
[API V] onNotify(ms-python.python.webPanelMessageService.expand_all)
[API V] onNotify(ms-python.python.webPanelMessageService.collapse_all)
[API V] onNotify(ms-python.python.webPanelMessageService.start_progress)
[API V] onNotify(ms-python.python.webPanelMessageService.stop_progress)
[API V] onNotify(ms-python.python.webPanelMessageService.interrupt)
[API V] onNotify(ms-python.python.webPanelMessageService.submit_new_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.update_settings)
[API V] onNotify(ms-python.python.webPanelMessageService.send_info)
[API V] onNotify(ms-python.python.webPanelMessageService.started)
[API V] onNotify(ms-python.python.webPanelMessageService.added_sys_info)
[API V] onNotify(ms-python.python.webPanelMessageService.remote_add_code)
[API V] onNotify(ms-python.python.webPanelMessageService.activate)
[API V] onNotify(ms-python.python.webPanelMessageService.show_data_explorer)
[API V] onNotify(ms-python.python.webPanelMessageService.get_variables_request)
[API V] onNotify(ms-python.python.webPanelMessageService.get_variables_response)
[API V] onNotify(ms-python.python.webPanelMessageService.get_variable_value_request)
[API V] onNotify(ms-python.python.webPanelMessageService.get_variable_value_response)
[API V] onNotify(ms-python.python.webPanelMessageService.variable_explorer_toggle)
[API V] onNotify(ms-python.python.webPanelMessageService.provide_completion_items_request)
[API V] onNotify(ms-python.python.webPanelMessageService.cancel_completion_items_request)
[API V] onNotify(ms-python.python.webPanelMessageService.provide_completion_items_response)
[API V] onNotify(ms-python.python.webPanelMessageService.provide_hover_request)
[API V] onNotify(ms-python.python.webPanelMessageService.cancel_hover_request)
[API V] onNotify(ms-python.python.webPanelMessageService.provide_hover_response)
[API V] onNotify(ms-python.python.webPanelMessageService.provide_signature_help_request)
[API V] onNotify(ms-python.python.webPanelMessageService.cancel_signature_help_request)
[API V] onNotify(ms-python.python.webPanelMessageService.provide_signature_help_response)
[API V] onNotify(ms-python.python.webPanelMessageService.add_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.edit_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.remove_cell)
[API V] onNotify(ms-python.python.webPanelMessageService.load_onigasm_assembly_request)
[API V] onNotify(ms-python.python.webPanelMessageService.load_onigasm_assembly_response)
[API V] onNotify(ms-python.python.webPanelMessageService.load_tmlanguage_request)
[API V] onNotify(ms-python.python.webPanelMessageService.load_tmlanguage_response)
[API V] onNotify(ms-python.python.webPanelMessageService.open_link)
[API V] onNotify(ms-python.python.webPanelMessageService.show_plot)
[API V] getSharedService(ms-python.python.jupyterExecutionService)
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorSelection (</<redacted>/<redacted>.py>): [{"start":{"line":10,"character":0},"end":{"line":10,"character":0},"active":{"line":10,"character":0},"anchor":{"line":10,"character":0}}]
[Client.Rpc.SourceEvent V] < sourceEvent.fireEvent()
[Client.Rpc.SourceEvent V] > sourceEvent.event:
[Client.Rpc.SourceEvent V] > sourceEvent.fireEvent() succeeded
[Client.LSP V] < languageServerProvider-any.request()
[Client.LSP V] > languageServerProvider-any.request() succeeded
[Client.Rpc.PortForwarding V] < portForwarding.getSharedServers()
[Client.Rpc.PortForwarding V] > portForwarding.getSharedServers() succeeded
[Client.Rpc.PortForwarding V] < terminal.getRunningTerminals()
[Client.Rpc.PortForwarding V] > terminal.getRunningTerminals() succeeded
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorVisibleRanges (</<redacted>/<redacted>.py>): [[{"line":1,"character":0},{"line":11,"character":0}]]
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorVisibleRanges (</<redacted>/<redacted>.py>): [[{"line":3,"character":0},{"line":11,"character":0}]]
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorVisibleRanges (</<redacted>/<redacted>.py>): [[{"line":4,"character":0},{"line":11,"character":0}]]
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorVisibleRanges (</<redacted>/<redacted>.py>): [[{"line":6,"character":0},{"line":11,"character":0}]]
[Client.CoEditing.VSCodeEvent V] onDidChangeTextEditorVisibleRanges (</<redacted>/<redacted>.py>): [[{"line":7,"character":0},{"line":11,"character":0}]]

I believe this is the root of the problem:

On the jupyter startup, I click "Allow" button on a notification that pops up from bottom right corner asking for sharing port 8888, there are some logs saying "shareService ... not permitted" before and after the notification popup.

Your live share log on the host doesn't show us starting any services. So the shared service startup is failing. We'll likely need somebody from the liveshare team to help.
@lostintangent do you know who might be a good person to look at this?

Yeah these two errors are what's making it fail:
[API W] shareService(guestCheckerService) not permitted.
[API W] shareService(interactiveWindowProviderService) not permitted.

I added the python extension to the permission list and published the update, so this should work now. No extension update is required, since the permissions are downloaded dynamically. Just restart or reload VS Code.


Unable to locate rustup binary on Docker machine

I'm hoping to install rustup on a Docker container.
Here are the commands I run:
RUN curl -s https://static.rust-lang.org/rustup.sh > /home/install.sh
RUN chmod +x /home/install.sh
RUN sh /home/install.sh -s -- --default-toolchain nightly

It appears to install both cargo and rustc properly but not rustup. Additionally, there is no .cargo folder created as I would expect.

Oh the rustup.sh script doesn't actually install this rustup project. To do that you'll want to download from https://sh.rustup.rs

I installed rust in docker with: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y but rustup isn't available
# rustup
bash: rustup: command not found

@grigio You would need to add CARGO_HOME/bin to your PATH.


List installed plugins in spin plugins list

Fixes #1580.
I have mixed feelings about this but that's probably because I've got so much test garbage in my system.  I'd welcome feedback from someone with a more realistic environment!
$ spin plugins list
arm-only 0.1.0 [incompatible]
cloud 0.1.0
cloud 0.1.1
cloud 0.4 [installed]
js2wasm 0.1.0
js2wasm 0.2.0
js2wasm 0.3.0
js2wasm 0.4.0 [installed]
not-spin-ver 9.1.0 [incompatible]
not-spin-ver 10.2.0
pluginify 0.4 [installed]
py2wasm 0.1.0
py2wasm 0.1.1
py2wasm 0.2.0 [installed]
timer 0.1.0 [installed]
trigger-armstuff 0.1.0 [incompatible]
trigger-composite 0.4 [installed]
trigger-finger 0.1 [installed]
trigger-madeup 0.1.0
trigger-message 0.0.7 [installed]
trigger-pg-event 0.3 [installed]
trigger-sqs 0.3 [installed]
trigger-tcpline 0.1 [installed]
trigger-timer 0.1.0 [installed]
windows-only 0.1.0 [incompatible]

Also, this is an incompatible change in a command that we have documented as stable.  Should we put it on a flag (e.g. --all) for now?

The current help text from spin plugin list is List available or installed plugins. I would consider it a bug to not include plugins not in the catalog, but installed. That would make it consistent with the --installed flag, which is documented (in help) to List only installed plugins.
Completing #1614 to include the source, will reveal what's in the catalog and what's not.


IIS 7.5 Change .NET Framework Version setting under Actions Manager Server

Environment:
IIS version 7.5
OS version windows server 2008 R2
Steps Followed:
Open IIS Manager.
On the Connections pane,select server node.
On the Action pane select change .net framework version and select version 4.0 and save chnages.
After reopen IIS manager console changes revert and does not save it.

Take a look at here: https://forums.iis.net/t/1195860.aspx?+change+net+framework+version+in+IIS. The setting is persisted in a user directory. It appears you may not have access to it or somehow it might not be working for 2008R2. I tried on a latest version and it works.


Dynamically-created menu items with commands do not work

Describe the bug
A MenuItem with an ItemsSource specified, and which gets its Command from a property on an item in that collection, does not work. "Not work" meaning, the MenuItem is disabled regardless of what other settings you apply to the MenuItem in axaml or code.
Code example below is written with .NET 8, Avalonia 11.0.10, with the Avalonia MVVM template with ReactiveUI extensions.
To Reproduce
Easiest just to post the working SSCCE so everyone can recreate. App.axaml/cs and all other files are unchanged from the generated template, only these 2 files are changed:
For MainWindowViewModel.cs
using ReactiveUI;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Input;

namespace MenuItemCommandBug.ViewModels
{
	public record MenuItemModel(string Name, ICommand MenuCommand);

	public class MainWindowViewModel : ViewModelBase
	{
		public List<MenuItemModel> Items { get; init; }

		public MainWindowViewModel()
			=> Items =
			[
				new("Item1", ReactiveCommand.Create(() => Debug.WriteLine("Item1"))),
				new("Item2", ReactiveCommand.Create(() => Debug.WriteLine("Item2"))),
				new("Item3", ReactiveCommand.Create(() => Debug.WriteLine("Item3"))),
			];
	}
}

and for MainWindow.axaml
<Window xmlns="https://github.com/avaloniaui"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:vm="using:MenuItemCommandBug.ViewModels"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
		x:Class="MenuItemCommandBug.Views.MainWindow"
		x:DataType="vm:MainWindowViewModel"
		Icon="/Assets/avalonia-logo.ico"
Title="MenuItemCommandBug">

	<Menu>
		<MenuItem Header="Items" ItemsSource="{Binding Items}" >
			<MenuItem.ItemTemplate>
				<DataTemplate>
					<MenuItem Header="{Binding Name}" Command="{Binding MenuCommand}" IsEnabled="True" Focusable="True"/>
				</DataTemplate>
			</MenuItem.ItemTemplate>
		</MenuItem>
	</Menu>
</Window>

Expected behavior
I would expect the menu items are not disabled and that when clicked, they execute their bound command.
Avalonia version
11.0.10
OS
Windows
Additional context
I note #3100 is the 'same' issue, but that applies to an older Avalonia version and unfortunately that workaround does not work/is not applicable in Avalonia 11. It seems that buggy behaviour was carried over to Avalonia 11 though.
Things I have tried that have no effect, ie the bug still exists:

Using .NET 6 (code example above is written in .NET 8)
Using a class instead of a record for MenuItemModel
Using ReactiveCommand<Unit, Unit> instead of ICommand for MenuCommand
Using ObservableCollection (or any other collection) instead of List for Items
Using [Reactive] tags on any/all the properties in both classes
Using set; instead of init;
Using parameters (ie the bug still exists with your command contains parameters and you set CommandParameter in the axaml)

What "works" is removing the bound command from the axaml, ie removing Command="{Binding MenuCommand}" makes the menu item enabled again - but obviously this makes the menu item useless as clicking it does nothing.
Binding/command also works when the command is a property of the MainWindowViewModel, though this isn't a solution when the commands are dynamically generated.

The solution in #3100 still works, but your datatemplate content should not be menuitem. Otherwise your will have a menuitem inside menuitem.

Thanks for the reply, but unfortunately as I already mentioned, the solution in #3100 does not work. Please try it out yourself and see. Here is the full axaml code for that method (no .cs changes needed), so you can verify yourself.
<Window xmlns="https://github.com/avaloniaui"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:vm="using:MenuItemCommandBug.ViewModels"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		mc:Ignorable="d" d:DesignWidth="256" d:DesignHeight="128"
		x:Class="MenuItemCommandBug.Views.MainWindow"
		x:DataType="vm:MainWindowViewModel"
		Icon="/Assets/avalonia-logo.ico"
Title="MenuItemCommandBug">

	<Menu>
		<MenuItem Header="Items" ItemsSource="{Binding Items}">
			<MenuItem.ItemTemplate>
				<DataTemplate>
					<MenuItem Header="{Binding Name}" Command="{Binding MenuCommand}" IsEnabled="True" Focusable="True"/>
				</DataTemplate>
			</MenuItem.ItemTemplate>
			<MenuItem.Styles>
				<Style Selector="MenuItem.SubItems MenuItem" x:DataType="vm:MenuItemModel">
					<Setter Property="Header" Value="{Binding Name}"/>
					<Setter Property="Command" Value="{Binding MenuCommand}"/>
				</Style>
			</MenuItem.Styles>
		</MenuItem>
	</Menu>
</Window>

On your other point:

but your datatemplate content should not be menuitem. Otherwise your will have a menuitem inside menuitem.

It sounds like you're confused about what this looks like visually. See this screenshow; these sub-menu items are not enabled when they should be.

I tried and replied. You didnt set Classes for your Parent MenuItem, thats why it does not work for you.

Apologies, this does appear to work. The reason I didn't include Classes is because Intellisense did not like it and wouldn't autocomplete, but pasting it in does work. Thanks for the help!


docs: adjust badge link

Coverage remained the same at 100.0% when pulling 69c3d2bf178239beadf2d0a69cf0ccff744d330b on docs into 605b5d63db79f826a4658d265d7f198d8536fb41 on main.

:tada: This PR is included in version 2.0.6 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Can we create multiple master nodes in current kube-adm ? kube-up.sh script does not exists either in kube-1.5.4 or latest Beta verision

This is a...

[ ] Feature Request
[ ] Bug Report

Problem:
Proposed Solution:
Page to Update:
http://kubernetes.io/...

@teotia39 👋 :wave: This issue sounds more like a request for support and less like an issue specifically for docs. I encourage you to bring your question to the #kubernetes-users channel in Kubernetes slack. You can also search resources like Stack Overflow for answers to similar questions.
You can also open issues for Kubernetes functionality in https://github.com/kubernetes/kubernetes.


Add a "Services that use this" section to the Readme

I was just going through the view component docs and came across this - which is pretty cool!
I wondered if we might want to add a section to our docs/readme to list the different teams using this gem?

Ah nice find! Yeah that sounds like a good addition to the readme.


Can't ssh web app

I want to ssh my web app following this document, while I got the following page:

The ssh connection is closed.

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

ID: ba71e4a3-6788-f299-779c-0f4bf64bf4c4
Version Independent ID: f798b0a5-26ed-1e9c-afcd-a864b9e5e4e1
Content: SSH access for Linux containers - Azure App Service
Content Source: articles/app-service/configure-linux-open-ssh-session.md
Service: app-service
GitHub Login: @msangapu-msft
Microsoft Alias: msangapu

@Betty1202
Thanks for your feedback! We will investigate and update as appropriate.

Hi @Betty1202 could you provide some additional context, such as is this a custom image or blessed image? Did you attempt subsequent times?

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Even I am facing the same issue may I get to know the fix for it?

Even I am facing the same issue may I get to know the fix for it?

@pChitral is your app code deployment or custom image?

custom image

Even I am facing the same issue may I get to know the fix for it?

@pChitral is your app code deployment or custom image?

custom image

custom image

Even I am facing the same issue may I get to know the fix for it?

@pChitral is your app code deployment or custom image?

custom image

and it's enabled for ssh

Thank you will let you know if this works!


Back arrow button target area too small on value picker.

This is going to make people crazy.  Need to be bigger, perhaps including text as well.

Committed fix

Ugh, just saw bug in Safari still. Back to the drawing board.

Committed workaround for Safari. Once tested on the dev site this can be closed. I think we should wait for user feedback before considering adding text.


issue on configuration

Hello
great contribution to the Mesh network projects :)
I've installed your code on a Ubuntu PC with Arduino 1.8.1 and I got a compilation error on line 307 of the meshquitto-node code, do you have any advise on configuration : the libraries to use or standards ?
Thanks
Error :
/Arduino/meshquitto-master/meshquitto_node/meshquitto_node.ino: In function 'SimpleList getDifference(SimpleList, SimpleList)':
meshquitto_node:307: error: no match for 'operator[]' (operand types are 'SimpleList' and 'int')
if (arr1[i] < arr2[j])
^
^

Hi @khzd :)
Have you pulled the latest version of meshquitto? Have a look at issue #1. I think this issue should be resolved now. If not, I guess there is a conflict with the SimpleList library used by painlessMesh.
I have added some functions to the original SimpleList provided by painlessMesh, which is why you are getting the error. I will try and get these additions pushed straight to painlessMesh to get this issue resolved.
Until then, what you could do is copy any of the SimpleList.h files, found within mesh_gateway, mqtt_gateway or meshquito_node projects, and paste it instead of the SimpleList.h inside the src folder of the painlessMesh library. This should do the trick, since the two libraries are completely identical (excluding the added functions).
Let me know how it goes.

Hello
Thanks for your prompt response :)
I will move off painless mesh from path
will also implemente your copy past solution
Thanks also to look for standardisation of the original source :)
and will be back to you in the evening
With regards

hello,
copy and pass was really painful :(
I create a lib named AAAAA with all files from your lib and painlessMesh one and every think compiled (except simplelist.h).
thanks for the advice :)
hope a convergence betwwen your code and the original one :)
with regards

within this succes, i start to compile the mqtt gatway : i got an issue of the same kind on mqtt lib.
may you precise with library do you use ?
NB : I used the imroy one ( I have hacked some sonnof devices with the help of the excellent contribution of KmanOz project https://github.com/KmanOz/Sonoff-HomeAssistant :)

Hi again,

copy and pass was really painful :(
I create a lib named AAAAA with all files from your lib and painlessMesh one (except simplelist.h).
I also moved off the painlessMesh from the path

Copy pasting shouldn't be that painful. Simply replacing the SimpleList.h file within the original painlessMesh src folder should do. (i.e. no new lib creations are necessary)

may you precise with library do you use ?

If you have a look at the imported libraries at the top of each of the sketches you should be able to see the names of the libraries that are used. Generally, all the libraries I have used are pretty much standard. For example, PubSubClient (check here) is THE library for MQTT clients on Arduino.
Hope the above helps.

Excellent thanks again for your prompt response , what about to précisé it in the read me?
With regards


Use normal font for code block titles in docs

FWIW, I like the version without the additional change a tiny bit more. But nothing significant, please feel free to merge.

FWIW, I like the version without the additional change a tiny bit more. But nothing significant, please feel free to merge.

Merging this now to get it in, but I'm open to explore a better style for code block titles altogether. I think the current just isn't it.


Generic Picker

Suggesting a New Feature
We're using Picker for various features, such as ColorPicker, TextStylePicker, ShadowPicker and BackgroundColor, and our app are going to expand bigger in the future. I suppose there are many place we will use picker.
So let make the generic picker and reusing it easily.
Summary of Idea

Design the generic Picker serves many purpose
Able to reuse every where in the codebase
No boilerplate code
Support Search
Customize rowView, paddings and margins.

Initial Design
Same Color Picker design with Search bar and NSTableView nested.

Proposed Implementation
Inspired from UITableViewDataSource and UITableViewDelegate.
protocol GeneralPickerViewDataSource: class {
    func pickerViewDataSource() -> [Any]
    func picker(_ tableView: NSTableView, viewFor item: Any) -> NSView?
    ...
}

=> We provide the data source and how to initialize the desired rows
protocol GeneralPickerViewDelegate {
    func picker(_ picker: GeneralPickerView, didSelectItem item: Any)
    func picker(_ picker: GeneralPickerView, heightOfRow row: Int) -> CGFloat
    ...
}

=> We offer delegate for selecting cell or custom height, padding, ... for specific rows
class GeneralPickerView: NSView {
    weak var dataSource: GeneralPickerViewDataSource?

    // Detail Implementation goes here
    func popover() -> NSPopover {}
}

How to use
    func showPopover() {

        // Create
        let picker = GeneralPickerView(frame: NSRect.zero)
        picker.dataSource = self

        // Show
        let popover = picker.popover()
        popover.show(relativeTo: NSRect.zero, of: self, preferredEdge: .maxY)
    }

=> Just create picker and show the popover
extension TextStylePickerButton: GeneralPickerViewDataSource{

    func pickerViewDataSource() -> [Any] {
        return CSTypography.styles
    }

    func picker(_ tableView: NSTableView, viewFor item: Any) -> NSView? {
        let item = item as! CSTextStyle
        let swatch = TextStyleRow(textStyle: item)
        return swatch
    }

    func heightForRow(at row: Int) -> CGFloat {
        return 44.0
    }
}

=> The datasource of picker goes here.
Looking forward to hearing your thought 👍

I was focused on internal stuff today... I will leave feedback tomorrow!

Ok, overall this looks really good. There are a few things I'd like to change a little:

I would prefer to provide configuration parameters to the GeneralPickerView through the init rather than using the delegate/data source patterns. I find the code becomes much easier to follow when all configuration is declared one place. I know this goes against Apple/Cocoa patterns a bit, but I think it's important as more people start contributing to keep things easy to follow.

For a component with just a few configuration parameters, this is pretty straightforward. We can just use init parameters, e.g. https://github.com/airbnb/Lona/blob/7bdc403daba78d2e4ad3278ebc9bb6d4f5115228/LonaStudio/Controls/TextStylePickerView.swift#L113
For components that will likely need a lot of options, I've started using this pattern of calling init with a list of options:
https://github.com/airbnb/Lona/blob/7bdc403daba78d2e4ad3278ebc9bb6d4f5115228/LonaStudio/Controls/CSSearchField.swift#L68
https://github.com/airbnb/Lona/blob/7bdc403daba78d2e4ad3278ebc9bb6d4f5115228/LonaStudio/Controls/CSSearchField.swift#L15-L19
https://github.com/airbnb/Lona/blob/7bdc403daba78d2e4ad3278ebc9bb6d4f5115228/LonaStudio/Controls/TextStylePickerView.swift#L32-L64
There's definitely a lot of boilerplate with this approach, but I think using a component written this way is pretty straightforward. So for components that need a lot of custom configuration, I think this is the best way to go.
In this case, our options would look something like:
    enum Option {
        case data([Any])
        case viewForItem(NSTableView, Any)
        case didSelectItem((Any) -> Void)
        case heightOfRow((Int) -> CGFloat)
    }

If we update the component after instantiation, we would have something like update(options: [Option]) that reconfigures the component.
It's basically just a matter of how to configure the component: we either extend a class with delegate/dataSource protocol methods, or we call init and pass closures. I find the closures more scalable.

Rather than using Any as the data type, I'd like to use generics for better type safety.

class PickerView<Element>: NSView {
      enum Option {
          case data([Element])
          case viewForItem(NSTableView, Element)
          case didSelectItem((Element) -> Void)
          case heightOfRow((Int) -> CGFloat)
      }
}

E.g.
https://github.com/airbnb/Lona/blob/7bdc403daba78d2e4ad3278ebc9bb6d4f5115228/LonaStudio/ListEditors/ListEditor.swift#L289-L300

Let me know what you think! I know this is a bit different than how people normally do things, and maybe there's a better way.

I agree with your approach since it does against with Coca Pattern a bit, but generally it looks good for starter contributors.
However, I suggest to encapsulate the keyboard and data change logic inside the Picker instead of exposing them.
https://github.com/airbnb/Lona/blob/7bdc403daba78d2e4ad3278ebc9bb6d4f5115228/LonaStudio/Controls/TextStylePickerView.swift#L32-L64
For instance, the initialization of picker looks like:
 enum Option {
     //case onChange((String) -> Void)
     //case onKeyPress((KeyCode) -> Void)
     case placeholderText(String)
     case data([Element])
     case viewForItem(NSTableView, Element)
     case didSelectItem((Element) -> Void)
     case heightOfRow((Int) -> CGFloat)
 }

As onChange and onKeyPress are boilerplate and same logic for any kind of PickerView.
If it's good. I will start implementing now 👍 😄

Ah, that's a great point! Encapsulating onChange and onKeyPress is better.
Yep, looks good to me ✅


[Bug]: Delay in typing for property pane codeEditor due to main thread being busy

Problem
Below demo & metrics were recorded on the application with 265 records in the table - https://release.app.appsmith.com/app/table-widget-slow/slow-filter-63366e4c10f2005612e63d46/edit
Demo showing delay in typing due to main thread being busy
https://user-images.githubusercontent.com/23132741/193206828-8d7d8621-9256-45db-b165-ae2700749f23.mov
Root cause of the delay
Main thread while typing took ~505 ms

The following tasks contributed to the delay

generateDataTreeWidget - 203 ms
getPropertiesUpdatedWidget - 196 ms
CodeEditor updateMarkings - 83 ms

Both generateDataTreeWidget and getPropertiesUpdatedWidget has common getAllPathsFromPropertyConfigWithoutMemo method which took around 193 ms in both cases.
Possible solutions

[ ] Explore how to improve performance for getAllPathsFromPropertyConfigWithoutMemo
[ ] Explore moving complete UnEvalTree generation to separate worker

[ ] This could help us make the architecture performant for the future to easily support application-level entities + workspace-level entities

[ ] Explore moving getPropertiesUpdatedWidget to separate worker

While working on this please do consider creating a generic API that could be used to move expensive tasks to a new worker thread and how to maintain the code.

@aswathkk can you please check this issue once?
It seems performance has been impacted after this changes https://github.com/appsmithorg/appsmith/pull/16639/files#diff-7fb06bbc14bb619b1fe3f898559d585167462ee35e7705588a4978596e277052

Hi @Rishabh-Rathod,

I tried reverting the change of childHasPanelConfig done in #16639. I did the profiling before reverting and after reverting. I didn’t notice any drastic change in the time taken to run the getAllPathsFromPropertyConfigWithoutMemo function.

 I tried exploring some ways to optimise the usage of getAllPathsFromPropertyConfigWithoutMemo. But, didn’t succeed.

 I will just write my findings here:

getAllPathsFromPropertyConfigWithoutMemo function iterates through all the properties (including the nested properties) and calculates the paths.
For every property or every widget position updates, this function is getting called for all the widgets in the canvas. We are memoizing the function. But, still we are calling it multiple times with a lot of change in parameters.
Number of calls to this function increases as the number of widgets in the canvas increases. And the time taken to execute this function increases as the number of properties increases.

Note: JSON form can have a lot of properties and nested properties depending on the incoming data.

In the example app shared by Rishab, the number of records in the table is not the cause for the perf issue, instead the number of columns in the table data which is fed to the JSON form is the issue.
Here's a solution that I propose to improve the performance of getAllPathsFromPropertyConfigWithoutMemo
AFAIK, Not all the property updates cause a change in paths. So, these calls will mostly return the same path for each widget unless a property that has the potential to change a path is getting updated.

Can we store all the paths for every widget globally? May be in the redux store and update these paths only when a path changing event happens? Then these expensive computations inside the function could be avoided.

@satbir121 @Rishabh-Rathod what is the next step here?

@Rishabh-Rathod could you please add the next steps here?


unit tests are missing

Only lint tests are there, unit tests must be added.

Can I work on this one?


feat(signers): add support for creating random PrivateKeySigner

Description

Solution

#198  👈 (View in Graphite)
master

This stack of pull requests is managed by Graphite. Learn more about stacking.


no jnind4j in java.library.path

Hardware - Power , Ubuntu 14.04 Linux.
I have created ubar jar on for https://github.com/deeplearning4j/dl4j-0.4-examples
Then trying to run (./runallexamples.sh) on different system (build uber on different power hardware - same configuration) and following error
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jnind4j in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1889)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
I found similar issue with one of user - https://github.com/deeplearning4j/libnd4j/issues/225
So I have modified pom.xml as per suggestion but its not working.
modification in pom.xml is as follows.

    <dependency>

       <groupId>org.nd4j</groupId>

       <artifactId>nd4j-native</artifactId>

       <version>${nd4j.version}</version>

       <classifier>linux-ppc64le</classifier>

   </dependency>
   <dependency>
       <groupId>org.nd4j</groupId>
       <artifactId>${nd4j.backend}</artifactId>

      <version>${nd4j.version}</version>
   </dependency>

Please let me know how should I proceed for this issue.
As of now I may prefer to use libnd4j.so and libjnind4j.so through LD_LIBRARY_PATH to go ahead but fix for above issue will be appreciated.

The binaries were build with Ubuntu 16.04 because Ubuntu 14.04 doesn't have OpenBLAS.
@agibsonccc Should we try to get OpenBLAS working on Ubuntu 14.04? Or is it OK to only support 16.04?

Let's try to support at least 14.
On Wed, Jun 8, 2016 at 12:03 PM, Samuel Audet<EMAIL_ADDRESS>wrote:

The binaries were build with Ubuntu 16.04 because Ubuntu 14.04 doesn't
have OpenBLAS.
@agibsonccc https://github.com/agibsonccc Should we try to get OpenBLAS
working on Ubuntu 14.04? Or is it OK to only support 16.04?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deeplearning4j/libnd4j/issues/232#issuecomment-224475264,
or mute the thread
https://github.com/notifications/unsubscribe/ABF18rX_6ue5MCByftjDWbTJdABoz9x8ks5qJjDqgaJpZM4IwCGu
.

Ubuntu 14.04 on x86_64 works fine, ppc64le is the issue here. GCC is broken on Ubuntu 14.04 for ppc64le, so supporting it might not be that easy. Is it really worth the potential trouble?

We are able to build nd4j and libnd4j on power/ubuntu14.04.
what issues you had there?
please use this flags - "-O5 –maltivec –ftree-vectorize –ffast-math -mcpu=power8 -mtune=power8 -moptimize-swaps -flto"

Thanks! When I tried, libopenblas-dev didn't appear to be available, and we get the kind of errors with GCC and anything higher than -O1:
/tmp/cc4QBGEy.s: Assembler messages:
/tmp/cc4QBGEy.s:13719: Error: junk at end of line: `8'
/tmp/cc4QBGEy.s:14573: Error: junk at end of line: `8'

Has the situation changed since last month? Or is the Docker image "ppc64le/ubuntu:14.04" known to be broken?

I see, we need to use -mcpu=power8 to fix these errors. I'll adjust that in JavaCPP.
For libnd4j itself, could you send a pull request to add the flags above to the CMakeLists.txt file?

I build the nd4j in Ubuntu 16.04 LTS. I add the nd4j-native-platform 0.6.1-SNAPSHOT dependency, and it reminds me missing linux-ppc64le.jar, windows-x86_64.jar, macosx-x86_64.jar files. But  I can only get the linux-x86_64.jar file. I'm using maven.


Background Image Adjustment.

Hiya dragonjet3. I'm having problems with the background image. Specifically when I adjust the resolution on the screen to fit the panel snugly with the game flash object, the background image shrinks and goes BEHIND the flash object. I noticed there's this blue part on the bottom of the flash object that the background image won't expand into. The image below, look under the flash object, you'll see the fail scaled Ayanami picture and this weird blue bottom that the image won't go to:
http://i.imgur.com/9bDraws.png
My friend who does coding said its due to the div tag of the background image being inside the div tag of the game. He said the easiest fix is to create a new separate background div tag outside the game div tag so the the image expands without being limited to the flash object page. Here's the snippet he made circling where the issue lies
http://i.imgur.com/0FDaRvG.png
I have no idea what's going on since I don't code at all, but could you please look into this dragonjet3? Thanks.

v010 has more settings to let you further customize the background


fix(versions): update Activiti/activiti-cloud-runtime-bundle-service versions into develop

UpdateBot pushed maven dependency: org.activiti.dependencies:activiti-dependencies to: 7.1.96

UpdateBot commands:
updatebot push-version --kind maven org.activiti.dependencies:activiti-dependencies 7.1.96 org.activiti.api:activiti-api-dependencies 7.1.50 org.activiti.core.common:activiti-core-common-dependencies 7.1.57 org.activiti.build:activiti-parent 7.1.28


Variable REQBODY_ERROR is never set

Summary
We need to support REQBODY_ERROR variable. The coraza.conf-recommended file shows rule
# Verify that we've correctly processed the request body.
# As a rule of thumb, when failing to process a request body
# you should reject the request (when deployed in blocking mode)
# or log a high-severity alert (when deployed in detection-only mode).
#
SecRule REQBODY_ERROR "!@eq 0" \
"id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2"

But the variable is never set. So it remains empty.
Motivation
Or we support the variable, or we remove the recommended rule.

Ok, found it finnally. It was being set here. Closing.


Specifying 'extras' with remote wheel causes exception

Issue description
Trying to install wheel from remote file with 'extras' specified in pipfile causes exception.
pipfile ex:
'spacy = {file = "https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl", extras = ["transformers"]}'
Expected result
Install wheel and extras
Actual result
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/packaging/requirements.py", line 102, in init
req = REQUIREMENT.parseString(requirement_string)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/pyparsing/core.py", line 1141, in parse_string
raise exc.with_traceback(None)
pipenv.patched.pip._vendor.pyparsing.exceptions.ParseException: Expected string_end, found '#'  (at char 12), (line:1, col:13)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/pkg_resources/init.py", line 3101, in init
super(Requirement, self).init(requirement_string)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/packaging/requirements.py", line 104, in init
raise InvalidRequirement(
pipenv.patched.pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'#egg='": Expected string_end
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 275, in parse_line
req = Requirement.from_line(line)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 2684, in from_line
r = file_req_from_parsed_line(parsed_line)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 3084, in file_req_from_parsed_line
"req": parsed_line.requirement,
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 475, in requirement
self.parse_requirement()
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1081, in parse_requirement
self._requirement = init_requirement(name)  # type: PackagingRequirement
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/vendor/requirementslib/models/utils.py", line 192, in init_requirement
req = Requirement.parse(name)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/pkg_resources/init.py", line 3148, in parse
req, = parse_requirements(s)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/pkg_resources/init.py", line 3094, in parse_requirements
yield Requirement(line)
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/patched/pip/_vendor/pkg_resources/init.py", line 3103, in init
raise RequirementParseError(str(e))
pipenv.patched.pip._vendor.pkg_resources.RequirementParseError: Parse error at "'#egg='": Expected string_end
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/resolver.py", line 816, in
main()
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/resolver.py", line 802, in main
_main(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/resolver.py", line 782, in _main
resolve_packages(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/resolver.py", line 730, in resolve_packages
results, resolver = resolve(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/resolver.py", line 709, in resolve
return resolve_deps(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 1105, in resolve_deps
results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 891, in actually_resolve_deps
resolver = Resolver.create(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 460, in create
constraints, skipped, index_lookup, markers_lookup = resolver.get_metadata(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 219, in get_metadata
req, req_idx, markers_idx = self.parse_line(
File "/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv/utils/resolver.py", line 287, in parse_line
raise ResolutionFailure(
pipenv.exceptions.ResolutionFailure: ERROR: Failed to resolve requirement from line: https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl#egg=spacy-darwin#egg=[transformers]
✘ Locking Failed!
Steps to replicate
add below to pipfile:
'spacy = {file = "https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl", extras = ["transformers"]}'

Pipenv version: '2022.9.24'
Pipenv location: '/usr/local/Cellar/pipenv/2022.9.24/libexec/lib/python3.11/site-packages/pipenv'
Python location: '/usr/local/Cellar/pipenv/2022.9.24/libexec/bin/python3.11'
OS Name: 'posix'
User pip version: '22.2.2'
PEP 508 Information:
{'implementation_name': 'cpython',
'implementation_version': '3.11.0',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '22.1.0',
'platform_system': 'Darwin',
'platform_version': 'Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:30 PDT '
'2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103',
'python_full_version': '3.11.0',
'python_version': '3.11',
'sys_platform': 'darwin'}

Can this be rechecked with pipenv==2022.12.17?

This still happens on the latest release.
 $ pipenv install -v
Pipfile.lock not found, creating...
Locking [packages] dependencies...
⠙ pipenv.exceptions.ResolutionFailure: ERROR: Failed to resolve requirement from line:
$ pipenv --version
pipenv, version 2022.12.18.dev0
$ cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]

[packages]
spacy = {file = "https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl", extras = ["transformers"]}

[pipenv]
allow_prereleases = true

Looks like a bug in requirementslib.

Adding some more information I found out trying to debug this:
 $ .../virtualenvs/foo-_rgbUsyh/bin/python /...pypa/pipenv/pipenv/resolver.py --pre --category packages --write /tmp/resolverskea3pd8.json --constraints-file /tmp/pipenvy9wg0apmconstraints.txt
> ...pipenv/pipenv/resolver.py(802)_main()
-> os.environ["PIP_PYTHON_PATH"] = str(sys.executable)
(Pdb) c
>.../pypa/pipenv/pipenv/utils/resolver.py(273)parse_line()
-> try:
(Pdb) c
[ResolutionFailure]:   File "...pypa/pipenv/pipenv/resolver.py", line 738, in resolve
[ResolutionFailure]:       return resolve_deps(
[ResolutionFailure]:   File "...pypa/pipenv/pipenv/utils/resolver.py", line 1102, in resolve_deps
[ResolutionFailure]:       results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]:   File "...pypa/pipenv/pipenv/utils/resolver.py", line 890, in actually_resolve_deps
[ResolutionFailure]:       resolver = Resolver.create(
[ResolutionFailure]:   File "...pypa/pipenv/pipenv/utils/resolver.py", line 460, in create
[ResolutionFailure]:       constraints, skipped, index_lookup, markers_lookup = resolver.get_metadata(
[ResolutionFailure]:   File "...pypa/pipenv/pipenv/utils/resolver.py", line 216, in get_metadata
[ResolutionFailure]:       req, req_idx, markers_idx = self.parse_line(
[ResolutionFailure]:   File "...pypa/pipenv/pipenv/utils/resolver.py", line 287, in parse_line
[ResolutionFailure]:       raise ResolutionFailure(
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Failed to resolve requirement from line: https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl#egg=spacy#egg=spacy[transformers]

Suspected cause of problem:
The constraints from:
spacy = {file = "https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl", extras = ["transformers"]}

are written to:
{'https://files.pythonhosted.org/packages/8a/2a/fe2870e216511ed12b9b5acf89228abc0c76832b9572501e0b895a9e129d/spacy-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl#egg=spacy#egg=spacy[transformers] -i https://pypi.org/simple'}

I stumbled over the same issue when trying to install a wheel for the ray library. From my pipfile:
ray = { extras = ['default'], file = "https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl" }
Gave me this error:
ERROR: Failed to resolve requirement from line: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl#egg=ray#egg=ray[default]
Originally i tried to replicate this line for the installation through pip:
pip install "ray[default] @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl"
When installing the url through the command line without extras the installations works:
pipenv install https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-3.0.0.dev0-cp310-cp310-manylinux2014_x86_64.whl

@elanou @Blubberblub I have published a branch with a commit that fixes this issue. Please see the detailed commit message, as for why this is still not merged. You can, however, test already the changes.
I will add an integration test for this here, and some unit tests in requirementslib. Once the upstream PR is merged, and vendored here, we can close this issue.
This is going to take a few more days. In the meanwhile, you can apply the patch to your version of pipenv and enjoy.


added in fuctionality to intake airship notifications and token storage

Description
Please provide a summary of the pull request and the issue it resolves. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Resolves #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Moving to https://github.com/rokmetro/notifications-building-block-fork/pull/5


[CEED] Fix the libCEED integration in MFEM due to the interface change.

This PR fixes the integration of libCEED in MFEM due to recent interface change in libCEED.

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

https://github.com/mfem/mfem/pull/1285
@YohannDudouit
@tzanio
@tzanio + @camierjs
02/09/20
02/09/20
⌛due 02/16/20

Seems to work fine for me! Thank you for proposing this PR so quickly!

Merged in next for testing ...

@camierjs + @YohannDudouit, please take a look at tonight's regression tests on tux426 and tux429 for potential issues in this PR.

@YohannDudouit, in the INSTALL file we mention the minimal git-hash of libCEED that is required by MFEM -- can you update that git-hash as well?


Powerflow Runtime error with beauharnois-28 Docker version

There are runtime errors when using gridlabd docker (beauharnois-28) for powerflow run.
No runtime errors for beauharnois-26 version when testing on same model files.
Steps to reproduce

Upgrade docker image to latest version (beauharnois-28) using
docker pull slacgismo/gridlabd:latest
run powerflow using latest gridlabd docker image on IEEE-13 feeder model
docker run -it -v $PWD:/model gld  gridlabd -w /model IEEE-13.glm
There are runtime errors (screenshot attached)

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

Repeat the same powerflow run using beauharnois-26, no errors happens.

System information

GridLAB-D version （docker image: beauharnois-28)
HiPAS GridLAB-D 4.2.28-211105

Error screenshot

Testing model file (file suffix needs to change back to .glm)
IEEE-13.txt

Thanks for the notes. After I upgrade the Numpy version to 1.21.4 within the docker container, the run-time errors is solved.


Add onboarding page

Crossref for https://github.com/PaperMC/Paper/pull/10312
We should have a page which serves to get new server owners into some level of swing, this will mostly be a point of leading server owners to more dedicated guides in a friendly manner, but, may also decide to contain some general recommendations, i.e. how to whitelist, for example.
Not 100% sure what a good onboarding page would contain, however, that is probably a discussion point here

Some things that came into my mind:

Whitelist
Optimisation
Maybe some thing about permissions?
how to add plugins
mention port forwarding and maybe ref to another external site
useful commands

This could be a decent idea as long as the page is kept simple and easy to follow and serve as a starting point for someone completely new.
Contribution is always welcomed; however, it is always good to communicate via Discord with our maintainers before proceeding to avoid doing extra work.

How to use whitelist features
How to use basic command such as OP and gamerules with reference to official Minecraft wiki.
How to add and update plugins
How to update Paper versions
Perform basic backups.
Config options that a typical server owner may be interested in changing (frequently asked in paper-help) such as the one mentioned here https://paper-chan.moe/paper/
An optimization guide is essentially an opinionated piece, so I would be cautious before making any official suggestions. I believe that, if anything, we should encourage new server owners to seek help on our wonderful Discord so they can receive proper directions and guidance as needed.


correct the Feature:PodPriority in feature-gates.md

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please delete this note before submitting the pull request.
For 1.15 Features: set Milestone to 1.15 and Base Branch to dev-1.15
For Chinese localization, base branch to release-1.14
For Korean Localization: set Base Branch to dev-1.14-ko.<latest team milestone>
Help editing and submitting pull requests:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
Help choosing which branch to use:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

/assign @kbarnard10

cc @tengqm
please add an lgtm and approved label, thanks.

cc @xiangpengzhao

cc @tengqm
please add an lgtm and approved label, thanks.

/lgtm
/approve


PARQUET-968 add flag to enable writing using specs-compliant schemas

We introduce the "parquet.proto.writeSpecsCompliant" flag that allows writing using the specs compliant schemas (wrapping collection with LIST and MAP) so that files generated are compatible with other formats and frameworks such as Hive, Presto,...
By default this flag is set to false to keep backward compatibility (the schemas generated will be consistent with the ones prior to PARQUET-968).

A test suite is available at https://github.com/BenoitHanotte/parquet-968 . It shows the different interpretation of the written schemas with Spark:

old behavior (default):

+-------------+----------------+--------+----------------+
|emptyRepeated|nonEmptyRepeated|emptyMap|     nonEmptyMap|
+-------------+----------------+--------+----------------+
|           []|          [1, 1]|      []|[[1, 1], [2, 2]]|
+-------------+----------------+--------+----------------+

new behavior (specs-compliant)

+-------------+----------------+--------+----------------+
|emptyRepeated|nonEmptyRepeated|emptyMap|     nonEmptyMap|
+-------------+----------------+--------+----------------+
|         null|          [1, 1]|    null|[1 -> 1, 2 -> 2]|
+-------------+----------------+--------+----------------+

Awesome!
Will have a look today

Looks good to me.

@BenoitHanotte, I am trying to write a local parquet file with your patch, but using a ProtoParquetWriter. I can't seem to be able to pass the writeSpecsCompliant flag to this class though.
ProtoParquetWriter<MessageOrBuilder> writer = new ProtoParquetWriter<MessageOrBuilder>(file, cls, CompressionCodecName.GZIP, 256 * 1024 * 1024, 1 * 1024 * 1024);
``

Should we add some extra constructors there in the `ProtoParquetWriter.java` to be able to pass this flag?

I see we also use this in a unit test: https://github.com/BenoitHanotte/parquet-mr/blob/master/parquet-protobuf/src/test/java/org/apache/parquet/proto/TestUtils.java#L177

@costimuraru Yes we may need to add the flag to the ProtoParquetWriter constructor to allow using it directly.
What do you think about doing it in a new PR? This PR has been thoroughly reviewed already, and I would like to avoid needing a new pass on it as it could take some time.
In the current state, the project is fully functional, and you can manually create your ParquetWriter by providing the ProtoWriteSupport as following:
Configuration conf = new Configuration();
ProtoWriteSupport.setWriteSpecsCompliant(true, conf); // set the flag in the configuration
new ParquetWriter(file, conf, new ProtoWriteSupport(protoClass));

(or any variation of this as ParquetWriter has multiple constructors that accept a configuration in which we can set the flag)
Also, it seems that the only non-deprecated ParquetWriter constructor is one that accepts a Configuration as a parameter, thus I propose we do the following:

Add a new constructor to ProtoParquetWrtier that accepts the flag for pure convenience. The flag is then set in a configuration object (as in the example above) and we call a ParquetWriter constructor that takes the configuration as parameter.
In a second step, it would be a good idea to refactor the ProtoParquetWriter class as it currently calls deprecated constructors from ParquetWriter

What do you think?

Perfect, thanks :)

Any update, here?  It would be great to have this fix released.


Invariant Violation: Invariant Violation: requireNativeComponent: "RCTTranslucentModalHostView" was not found in the UIManager.

Expo 34
Android

can u provide more info ? @rpascal-castro

Same problem here. It works with iOS but android.
Any suggestions please? Thanks a lot


Add team and self buffs to multi target configuration as bonus stats

Problem: Some team buff expire halfway through rotation so setting them in team settings creates misleading results; for example in International Childe's Burst and first 2 N3C are buffed by Bennett Burst but 2 N2C after that are not.
OR
Some characters have dynamic buffs, such as: Arclecchino Bond of Life, Furina Fanfare, Neuvillette A4 Passive etc.
Solution: Add team and self buffs as bonus stats in multi target configuration that can be added to each target individually.

Dupe of #904


readme: saythanks.io link broken

https://saythanks.io/to/restic is 404 (a badge on readme)

The link was removed in https://github.com/restic/restic/commit/ea5bbe08573cabdbb16859cbaff30dfbf6376ca7


Release azure-cli-redis 0.2.6

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Started releasing azure-cli-redis 0.2.6...

Release of 'azure-cli-redis' with version '0.2.6' successful. View at https://pypi.python.org/pypi/azure-cli-redis/0.2.6.

GitHub release created. https://github.com/Azure/azure-cli/releases.


(ReqID) (Visibility affected area) (Visibility Affected Areas on Emergency Pages)

Is your feature request related to a problem? Please describe.
When the country is rather large (e.g. Soviet Union), on an emergency page, the affected area is not shown, because it is zoom out too far. You need to zoom in a couple of steps to actually the affected areas
Describe the solution you'd like
When open an emergency page, show the map from a minimum zoom level. If on that level, have the map centered around the affected area.
Describe alternatives you've considered

Have a message on the page saying that in order to see the affected area, you need to zoom in.
*Have the affected areas shown always, no matter how far you zoom out. > Issue with showing adm1 data ... *

Additional context
Two examples:
Example 1: Russia floods: In order to see the affected area, zoom in 2x and then move right on the map
Example 2: Russia Shooting: In order to see the affected area, zoom in 2x
Where does the data come from and how is it maintained?
Automatic generated pages based on field reports
Should there be any restrictions around viewing or updating information related to this feature
Generic issue
Links to documentation
See links above.

Do we have bboxes for each admin1 (and 2) area @davidmuchatiza, @szabozoltan69?

Do we have bboxes for each admin1 (and 2) area @davidmuchatiza, @szabozoltan69?

Yes, we do.