The *.appxbundle installer does not automatically add the installation directory for winget.exe to the PATH environment variable in Windows 10

Brief description of your issue

When installing winget via the *.appxbundle installer, the installation directory for winget.exe is not automatically added by the installer to the PATH environment variable; this should have been added automatically so that the CLI commands can work out of the box.
Steps to reproduce

Install winget from the  v0.1.4331-preview release, using the *.appxbundle installer.
View the systems PATH environment variable to confirm whether the installation folder for winget was added.

Expected behavior

The installation folder for winget is added to the system PATH environment variable.
Actual behavior

The installation folder for winget is not added to the system PATH environment variable.
Environment
[winget --info]
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.18362.778
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Any other software?

winget uses an "alias" to add itself to path. it should be in C:\Users%userprofile%\AppData\Local\Microsoft\WindowsApps
if it is enabled in windows settings->aplications->app execution alises

I just installed the appxbundle and I could not immediately run winget even spawning a new console. I thought it was not added to the PATH. I had to log out and log in for it to work.

winget uses an "execution alias" to add itself to path. it should be in C:\Users%userprofile%\AppData\Local\Microsoft\WindowsApps
if it is enabled in windows settings->aplications->app execution alises

It did seem to activate it's alias correctly, but yet it still did not add to the PATH variable--however @aslze mentions he needed to log out and back in for it to work.

I just installed the appxbundle and I could not immediately run winget even spawning a new console. I thought it was not added to the PATH. I had to log out and log in for it to work.

I seemingly had the same or similar PATH problem.  I installed winget by joining the "Microsoft Package Manager Insiders Program" and installing through the Windows Store.
I installed winget.exe from the Windows Store as a standard user, Dave, and winget.exe was installed to: "C:\Users\Dave\AppData\Local\Microsoft\WindowsApps\winget.exe".
When trying to run winget, I got an executable not found error.  Looking at the PATH environment variable, I did have  "C:\Users\Admin\AppData\Local\Microsoft\WindowsApp" set for the administrator account not for the Dave user or system wide.  I also had the execution alias as mentioned above and logging out/in nor a reboot fixed things.
In order to make it work I had to add this to my system environment variable for PATH:

%userprofile%\AppData\Local\Microsoft\WindowsApps

As shown in this screenshot:

I installed via the via the *.appxbundle installer a few minutes ago and was able to open a CMD and "winget show firefox" immediately: no problem found.  I am logged into Windows as an administrator, in case that's pertinent.

This MUST be part of your $PATH variable:
%userprofile%\AppData\Local\Microsoft\WindowsApps
without the above in $PATH NONE of the Apps installed in WindowsApps can be executed from shell.
Don't know, if the above directory is part of $PATH by default?

My path is set correctly, but the alias didn't get setup.

Well, i do have the correct PATH setup for the Windows Apps folder. But inside of it there isn't a Winget.exe file, so i get the same error with the winget command. I don't have a Windows Insider Build, used the link to use the App Installer through the Windows Store. I reseted the App Installer app in the configurations, then tried to install it again. But there in't any alias for Winget.exe nor an executable file. Any ideas?

I joined the "Microsoft Package Manager Insiders Program", but it looks like I'm not getting the latest version:

Hmmm... I just noticed something. GitHub says "Windows 10 1709 (build 16299) or later" and the email says "Windows 10, version 1809 (or later)". Which one is it?

I joined the "Microsoft Package Manager Insiders Program", but it looks like I'm not getting the latest version:

Hmmm... I just noticed something. The project readme file says "Windows 10 1709 (build 16299) or later" and the email says "Windows 10, version 1809 (or later)". Which one is it?

I'm having the same issue, and i used the same installation method. I couldn't notice any change in the Installation App.

BTW: I'm on v1803. (Need to get IT to upgrade me.)

Having the same issue here,
I'm on version 1903.
The app store confirms that the product is installed.
I restarted the machine, but not App execution alias is added for winget.
Winget is not in my path:
%userprofile%\AppData\Local\Microsoft\WindowsApps

I've the same issue the last four people above me have been facing.

Same as the above, I installed through the App Store and restarted my machine (build 19041), and confirmed that %USERPROFILE%\AppData\Local\Microsoft\WindowsApps is in my PATH too.
However, winget is not recognized as a command (running from PS 7 if that makes any difference)

Having the same issue here,
I'm on version 1903.
The app store confirms that the product is installed.
I restarted the machine, but not App execution alias is added for winget.
Winget is not in my path:
%userprofile%\AppData\Local\Microsoft\WindowsApps

I'm experiencing this too after signing up to the Windows Package Manager Insiders Program and attempted to download and install from the store.

@alexmacniven I had the exact same issue. I went to https://github.com/microsoft/winget-cli/releases and ran the appxbundle asset at the bottom and that updated my app installer. Winget works now.

After updating manually, Winget did not work. The solution that worked for me was to add an absolute address path to the enviromental variable of PATH C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps in addition to what was already there %USERPROFILE%\AppData\Local\Microsoft\WindowsApps  , then log out and log back in to resolve issue.
Following the instructions from the automated email did not work, the manual install has a better success rate overall after installing on three machines.

@alexmacniven I had the exact same issue. I went to https://github.com/microsoft/winget-cli/releases and ran the appxbundle asset at the bottom and that updated my app installer. Winget works now. I think the only issue with doing it this way is that it will no longer update automatically. But at least it works now.

==
Followed this steps, and it works.
I tried winget install powertoys, it installs but, it is disappointing that I get a GUI prompt to continue, is there a way to escape this? Kinds of defeats the purpose of the tool, isn't it?

@Pentao Try running the shell in administrative mode.

I ran into this today on a brand new machine and install. Rebooting (which logs me out, of course, like some folks have suggested above) made it work for me.

I don't think #235 is an exact duplicate. The focus of that issue is on the misleading and confusing message.

@alexmacniven I had the exact same issue. I went to https://github.com/microsoft/winget-cli/releases and ran the appxbundle asset at the bottom and that updated my app installer. Winget works now. I think the only issue with doing it this way is that it will no longer update automatically. But at least it works now.

Had the same on W10 2004 Build.19401 today.   As above, installed the App Installer package from store then pulled latest version from GH....

windows terminal is experiencing the same problem. They identified it as the store/centennial/appx install process for appexecutionalias is not fully specifying the path to the aliases and instead using a path with embedded %USERPROFILE%. However that fails because the PATH environment variable in the registry is REG_SZ and not REG_EXPAND_SZ. Therefore that variable reference is not expanded.
Can someone at Microsoft escalate this shared issue to the Microsoft team(s) responsible for that area?

Windows adds the PATH entry itself - it's part of your default user profile, and nothing to do with any particular APPX installer or even the Store. Changing from REG_EXPAND_SZ back to REG_SZ will be due to a third-party installer. I've been tracking issues like this for a while, as they affect the Centennial package of Python.
We've already fixed a few issues relating to apps disabling or resetting their aliases on package update, and also fixed a regression in a security patch late last year. The first couple of issues could have been either of those (though if you've got WinGet you should be on an insider build with fixes for those... so I'm still leaning towards third-party installer).
Most of the reports in this thread seem to be people who are not getting the preview build of App Installer. Unfortunately, it's not real obvious how to make sure you have the preview version here. Running Get-AppxPackage Microsoft.DesktopAppInstaller in PowerShell will show the current package version though (I don't know the right one myself, but a few contributions should show a pattern fairly quick).

Naturally, anything with write access (has nothing to do with an installer) to HKEY_CURRENT_USER\Environment key and value Path can change it from REG_EXPAND_SZ to REG_SZ.
I think it is reasonable for the infrastructure (Microsoft Store + Windows) to correctly check/set/install all needed dependencies when an app is installed via that store. Therefore...

Since app aliases are part of the app's install
App alias functionality depends on PATH being correctly configured to %USERPROFILE%\AppData\Local\Microsoft\WindowsApps

That would require the dependency of app aliases to do at a minimum

make the alias in %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
ensure the PATH includes %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
ensure the PATH is REG_EXPAND_SZ. When it is only REG_SZ, then do the needed re/write of path back to REG_EXPAND_SZ

Seems to me the dependency handing of (Microsoft Store + Windows) is not doing steps 2 and 3.
If the dependency handling is updated then it allows much...

Bugs like this issue go away
When something else changes REG_EXPAND_SZ to REG_SZ at any time, then one or more aliases will fail. However, then the user can use the standard Windows App->Repair/Reset. Since the improved dependency handling will include steps 2 and 3 above...and therefore fix the registry key back to REG_EXPAND_SZ

Most of the reports in this thread seem to be people who are not getting the preview build of App Installer. Unfortunately, it's not real obvious how to make sure you have the preview version here.

Yeah, that is the issue I am facing too. I applied for the preview program, got an email asking to install the Preview version on App Installer. But I don't see any updates that are available in the store.

Running Get-AppxPackage Microsoft.DesktopAppInstaller in PowerShell will show the current package version though (I don't know the right one myself, but a few contributions should show a pattern fairly quick).

My version is 1.0.32912.0

@alexmacniven I had the exact same issue. I went to https://github.com/microsoft/winget-cli/releases and ran the appxbundle asset at the bottom and that updated my app installer. Winget works now. I think the only issue with doing it this way is that it will no longer update automatically. But at least it works now.

For anybody else following this, to install the appxbundle you can open PowerShell (no need for admin as it installs in user account) and enter the following command replacing pathToAppXBundle with the downloaded AppxBundle file.

Add-AppxPackage -Path pathToAppXBundle

It's a shame this isn't working for lots of us though and we are having to install manually as this makes it difficult to get traction on this solution and we lose the benefit of automatic upgrades via the Store. I had the same issue as several people here that the App Installer is already showing as Installed before I signed up for the App Installer Insider program and there doesn't seem to be any way to coax it into reinstalling. I think I might open a new issue for this but I expect it is a limitation of the Microsoft Store rather than something that can be fixed by a PR on this project.

I had the same issue as several people here that the App Installer is already showing as Installed before I signed up for the App Installer Insider program and there doesn't seem to be any way to coax it into reinstalling.

As per Sayak's comment this should resolve itself given time. Lots of time! Like go to bed and wait until tomorrow sort of time :)

@Caltor I've been waiting for 25 days and it still doesn't work.
Get-AppxPackage Microsoft.DesktopAppInstaller still returns Version: 1.0.32912.0.

@MisinformedDNA Oh dear. I've reopened this issue https://github.com/microsoft/winget-cli/issues/391 for you. Might be best to post your comments there or open your own new issue, as this issue is for the problem with the PATH.

@alexmacniven I had the exact same issue. I went to https://github.com/microsoft/winget-cli/releases and ran the appxbundle asset at the bottom and that updated my app installer. Winget works now. I think the only issue with doing it this way is that it will no longer update automatically. But at least it works now.

Run this to check version Add-AppxPackage -Path pathToAppXBundle if it's not right go click that appxbundle link

Wanted to chime in, I downloaded the latest appxbundle as of today from the releases section, installed it, and was not able to access "winget" from the command line or developer command prompt.
Reinstall did not help.
Once I added %userprofile%\AppData\Local\Microsoft\WindowsApps to my System's PATH, everything worked.
If it works for you without adding it, then you must already have that as part of your PATH -- maybe some other dev tool you have installed added it for you -- but it's clearly not the default, so please add this to your installer.

If it works for you without adding it, then you must already have that as part of your PATH -- maybe some other dev tool you have installed added it for you -- but it's clearly not the default, so please add this to your installer.
I also had this issue on one of my devices, but this week I installed it from the appxbundle on a Windows 2004 clean install and it worked right away without anything, so I guess it depends on some other factors.

I've been having a similar issue. It looks like the appxpackage installer installs a link to the python page on windows store, instead of an app that actually does anything. I thought maybe it was a dependency or prerequisite issue so I tried installing the Python from the Windows Store, but it didn't solve anything.

I've noticed the problem with the app aliases not being available - it appears as though the problem is that the alias directory itself is not on the path.
Insert this into your Powershell profile to manually add it to your path for each session.
$env:Path += ";$env:LocalAppData\Microsoft\WindowsApps";

Why is the installer putting Winget in the current user's localAppData directory?  That makes it usable only by the current user.  It should install to either %ProgramFiles%, %ProgramFiles(x86)% or %windir%\System32 so it will be accessible to all users.
This is a serious problem because I have a script that I run in Audit mode to install all my standard apps before running SysPrep, so WinGet gets installed to Administrator's localappdata.  The Administrator account does not survive Sysprep, so WinGet disappears and Cmd throws an error when I try to run Winget.

@SamHills I think your problem is different issue. You should open it in new issue

I don't think it is a different issue. -- Now that I think about it -- My command line sessions are run as an administrator -- so that would lead to all sorts of issues (including this one).
It could be a red herring but like... -- my understanding is that when you run things as administrator, it's a different user profile -- different %PATH% variables, etc. (machine path is still the same, but current user path is different).
At any rate, it should definitely not be installing it in the user's appdata - because that's not where software should ever be installed anyway.  (It's for data, not software -- and maybe THAT is another bug -- but still, #wtf...)
Back on point though: if it's only updating the current user's path and not the machine's path, that would explain why running as an admin means the software doesn't work.
Also it would explain some of the discrepancies in this bug -- like someone said  (paraphrased) "I had the same problem on my dev machine, but on a clean install everything just worked." -- because on a clean install they probably weren't running the command line as an admin (since that's not the default behavior, but it's a very common dev./power user thing to have setup).

I've been having a similar issue. It looks like the appxpackage installer installs a link to the python page on windows store, instead of an app that actually does anything. I thought maybe it was a dependency or prerequisite issue so I tried installing the Python from the Windows Store, but it didn't solve anything.

same here

The Python redirector is in the AppInstaller package along with winget because it was a sensible place to put it, that's all. It's unrelated to (and predates) Winget.
As for the install location, all the application files go into ProgramFiles, but there's still a bit of per-user registration that makes it look like a per-user install. That gives each user their own "view" of it, even though the entire install is shared (and secured).
This particular package should be automatically installed for all users though, so you ought to have Winget as admin. However, I'm guessing the global alias is not being created for users who are not logged in (I'm not 100% sure how that bit gets handled, but some of the Winget team are close enough to the right people to find out).

The Python redirector is in the AppInstaller package along with winget because it was a sensible place to put it, that's all. It's unrelated to (and predates) Winget.
As for the install location, all the application files go into ProgramFiles, but there's still a bit of per-user registration that makes it look like a per-user install. That gives each user their own "view" of it, even though the entire install is shared (and secured).
This particular package should be automatically installed for all users though, so you ought to have Winget as admin. However, I'm guessing the global alias is not being created for users who are not logged in (I'm not 100% sure how that bit gets handled, but some of the Winget team are close enough to the right people to find out).

Does anyone know how to add alias manually into %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\ ? It does look like your basic soft symlink but it isnt, it some kind of hybrid between shortcut and symlink because it respects the startup path so naturally, creating just symlink for AppInstallerCLI.exe does nothing and creating basic windows shortcut/LNK also wont work, obviously.

Does anyone know how to add alias manually into %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\ ? It does look like your basic soft symlink but it isnt, it some kind of hybrid between shortcut and symlink because it respects the startup path so naturally, creating just symlink for AppInstallerCLI.exe does nothing and creating basic windows shortcut/LNK also wont work, obviously.

We are working on isolating this problem. It appears to be related to either Windows 10 and/or App Execution Aliases. I'm adding the area-external label to help remind us to follow up internally until we are able to find a resolution.

winget uses an "execution alias" to add itself to path. it should be in C:\users<username>\AppData\Local\Microsoft\WindowsApps if it is enabled in windows settings->aplications->app execution alises

Oh, my mind ! Its a my computer and profile and I can't login .I am a bit angry

She is not Alias or Alies .She is Alise. Krista40bc. Its me😠

I think you are confused, a execution alias is basically a shortcut to a program, a alias is another word for nickname or alternate name. They weren't referring to you by name

@alexmacniven I had the exact same issue. I went to https://github.com/microsoft/winget-cli/releases and ran the appxbundle asset at the bottom and that updated my app installer. Winget works now. I think the only issue with doing it this way is that it will no longer update automatically. But at least it works now.

Was Facing this issue on March 2022. Came across this solution and it works!! Guess this is the only solution for now

After updating manually, Winget did not work. The solution that worked for me was to add an absolute address path to the enviromental variable of PATH C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps in addition to what was already there %USERPROFILE%\AppData\Local\Microsoft\WindowsApps , then log out and log back in to resolve issue.
Following the instructions from the automated email did not work, the manual install has a better success rate overall after installing on three machines.

I was facing the same issue for the last 1 month. Following these steps worked for me

Issue still alive and well. How long does it take to fix the path? This is a store wide issue.

I just installed the appxbundle and I could not immediately run winget even spawning a new console. I thought it was not added to the PATH. I had to log out and log in for it to work.

Thank you for this tip.  Just had an issue trying to use kubeconfirm that I installed with winget and it did not see binary when I opened a new cmd console, but logging out and back in has the path sorted now.

After updating manually, Winget did not work. The solution that worked for me was to add an absolute address path to the enviromental variable of PATH C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps in addition to what was already there %USERPROFILE%\AppData\Local\Microsoft\WindowsApps , then log out and log back in to resolve issue.
Following the instructions from the automated email did not work, the manual install has a better success rate overall after installing on three machines.

I was facing the same issue for the last 1 month. Following these steps worked for me

This worked for me on Windows 11 in August 2023.

%LOCALAPPDATA%\Microsoft\WindowsApps


Add configurable sleep to archiver process to reduce ssh connections

The async archiver exits as soon as there are no files left to transfer.  A configurable sleep would be good here because it would reduce the number of SSH connections made to the remote.

Added to xml backlog.


HP BIOS exe problems extracting

Hi,
First of all I wanted to say that I have implemented the fix for HP changing their URL scheme
DAT has successfully downloaded the BIOS exe but then fails to extract the file.
If I check manally with 7-zip all files are there
See snippets of log entries:
BIOS Download URL Found: https://ftp.hp.com/pub/softpaq/sp148001-148500/sp148215.exe]LOG]!>
<![LOG[- Issues were detected extracting files. Switching to legacy mode]LOG]!>

@Leslie1979 , were you able to get the HP BIOS update working? Thank you!

@OSDEngineerX The download is not working for all hp models


Translate "Paging Implementation" into Japanese

I'll translate Paging Implementation into Japanese and this is a tracking issue for it.
Please let me know if anyone has already started translating it so that we can avoid duplicate works.
#906

Is this still up-to-date?

Ah sorry, I have been busy recently so closing the issue for now to make it available 🙏
(Anyway, thanks for the great articles around Rust + OS! I'll contribute again when I have a time...)


When I create the function app I get: No module named '_cffi_backend'

I followed the instructions on how to make a HttpTrigger with python, however, when I run:
az functionapp createpreviewapp -n myFunc -g myRg -l "westeurope" -s myStorageAcc79245 --runtime python --is-linux
I get this in return:

No module named '_cffi_backend'
Traceback (most recent call last):
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/azure/cli/core/commands/init.py", line 262, in execute
self.commands_loader.load_arguments(command)
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/azure/cli/core/init.py", line 253, in load_arguments
self.command_table[command].load_arguments()  # this loads the arguments via reflection
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/azure/cli/core/commands/init.py", line 141, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/knack/commands.py", line 76, in load_arguments
cmd_args = self.arguments_loader()
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/azure/cli/core/init.py", line 440, in default_arguments_loader
op = handler or self.get_op_handler(operation)
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/azure/cli/core/init.py", line 485, in get_op_handler
op = import_module(mod_to_import)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/Users/erlendfaxvaag/.azure/cliextensions/functionapp/azext_functionapp/custom.py", line 23, in
from azure.cli.command_modules.appservice.custom import (
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/azure/cli/command_modules/appservice/custom.py", line 19, in
import OpenSSL.crypto
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/OpenSSL/crypto.py", line 12, in
from cryptography import x509
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/cryptography/x509/init.py", line 8, in
from cryptography.x509.base import (
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/cryptography/x509/base.py", line 16, in
from cryptography.x509.extensions import Extension, ExtensionType
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/cryptography/x509/extensions.py", line 18, in
from cryptography.hazmat.primitives import constant_time, serialization
File "/usr/local/Cellar/azure-cli/2.0.44/libexec/lib/python3.7/site-packages/cryptography/hazmat/primitives/constant_time.py", line 11, in
from cryptography.hazmat.bindings._constant_time import lib
ModuleNotFoundError: No module named '_cffi_backend'

Looks like it uses my python 3.7 version? What causes this? Thank you!

lol, solved by: pip install cffi on python 3.7


Bump frontend versions

Update frontend versions.
Styles seem to be completely broken after the update:

Tracked in #502.


24.09 docs and comms

new safety data (Ines)
new FinnGen burden @ireneisdoomed
data updates from chEMBL, EVA, COSMIC, Reactome
AOTF changes (pending decision) -
(beta) facets to public (pending decision) - video?
old associations page deprecated

[please add more if needed]

@ireneisdoomed would you be happy to add both new safety reference (from Ines) and new FinnGen to the GitBook documentation for 24.09?

@buniello New references are ready for review

@ireneisdoomed Thank you! Happy to merge once the release goes live

@ireneisdoomed Are you able to pull the number of associations that the new FinnGen gene burden data contributes to (#3424 says approx 400)?
If possible, could you also tell me for how many associations this is the first gene burden data?
Thanks!

368 evidence, 336 associations
316 of them are unique to Finngen among the burden ones.

In general, some of the associations are well known (CFTR/cystic fibrosis), but a big part of them (212) are associations without support from other sources (MATN4/Oligomenorrhoea).


Accessibility update

Turns out Angular already has some accessibility issues pre-addressed. We may not even need to update anything in themes for Accessibility purposes.

Changes proposed in this Pull Request:

Updated a bunch of colors in the storybook
Added prettier back
Margin tweaks on empty state

Can you update the ChannelValue 'with icon' story use a darker icon color? It's still throwing an accessibility error.

Looking closer, this story has a knob for icon color.  I think the default color should be a a11y-compliant one.

@emclaug2 icons get recognized as a font here, but in reality, it should be a "UI element", which only has an accessibility contrast ratio requirement of 3:1.


Script needs to support new Az Cmdlets

Scripts are no longer functional if you have Az Cmdlets installed(which cannot be installed with AzureRM cmdlets). When running them in AzureRM environment, Cmdlets are no longer functioning:
Set-AzureRMOperationalInsightsWorkspace : Run Login-AzureRmAccount to login.

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

ID: 06524f5f-beb1-de55-b30b-8dcc0513191a
Version Independent ID: 730c62fb-ea4d-ed73-af86-ca8d5a959ff7
Content: Office 365 management solution in Azure
Content Source: articles/azure-monitor/insights/solution-office-365.md
Service: operations-management-suite
GitHub Login: @bwren
Microsoft Alias: bwren

@amanjee Thanks for the feedback! We are currently investigating and will update you shortly.

@amanjee  really good feedback. The scope of this conversation is much larger than this document but adding @bwren for visibility. We will need to take this offline to determine next best course of action. Please send mail to<EMAIL_ADDRESS>to continue the conversation.


CompositeStreamStrategy looks strange

I was just reading your code when I saw something strange here. CompositeStreamStrategy.update calls canDelete. Looks like a code copying issue, but if this code is correct, you should probably comment it.

No, that's a bug. Since I'm not supporting update/delete anywhere, those hooks are not tested. I'll fix it tomorrow. Thanks!

Addressed in v0.4.1 -- thanks again!


Cli refactor

Description
Since the project has now major external contributors I though it was time to clean up the messy code of the initial quick&dirty CLI project.
These are the main changes:

CLI reorganised into 4 files: algorealm.py (the actual CLI), actions.py (game actions), query.py (blockchain data query), consts.py (useful constants);
Add [--test] option to the CLI to play on TestNet;
Switch to getpass to avoid typing mnemonic in plain text;
Unique claim-majesty command with mutually exclusive options (--crown or --sceptre);
Better TEAL contract formatting;
Minor changes to README.md;
Minor correction to AlgoRealm poem.

Things that I would like to address in different future PRs:

Move TEAL contracts on different repo, make them available as package to be imported in other projects (e.g. this CLI);
Integrate local KMD to the CLI;
Add [--test] option for the AlgoRealm Special Card game;
Add a test folder with proper tests.

Checklist

Please, make sure to comply with the checklist below before expecting review

[x] Code compiles correctly
[ ] Created tests which fail without the change (if possible)
[ ] All tests passing
[x] Extended the README / documentation, if necessary

Sure! I was planning to do it in a PR from develop to main since I would like to point source releases from main.


Vue template: Object is possibly 'undefined' errors

I try to use Vite + Vue + Typescript with Volar plugin.
Vue version: 3.2.25
Typescript version: 4.5.5
Vite version:  2.8.0
Vue-tsc: 0.33.9
Example link
I generate: const testing: Ref<string | undefined> = ref();.
At beginning this value is undefined and in onBeforeMount() I set this value to a string.  In vue template the div should only be generated when testing has a value (v-if="testing"). For the input field the v-model has type string and not string or undefined (which should be right).
The button click event errors with the message:
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.   Type 'undefined' is not assignable to type 'string'.
In the example you can see this error message when you run vue-tsc --noEmit.
Is this behavior intended? And how can I solve this issue when I have a ref which is first undefined and then I receive the concrete value from an api call?

This is design behavior, you could use @click="testClick(testing!)", there are some discussion: https://github.com/johnsoncodehk/volar/discussions/146


Change pipeline failure slack notification to pagerduty incident

User Story
As an mp engineer
I want to ensure any build failures are picked up and resolved
So that errors don't propagate and effect future work
User Type(s)
MP Engineers
Value
Currently when builds fail they are posted to the notifications channel in slack.  If they are not noticed straight away they can be lost and broken builds can go un-noticed.  This ticket is a suggestion to create an incident in pagerduty for a failed pipeline, this can also post to the channel, but as it's recorded in pagerduty we can keep track of any failures and acknowledge / resolve them accordingly.
Questions / Assumptions / Hypothesis

Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green
[ ] UR test OR added to continual research plan

Reference
How to write good user stories

Decided to keep these out of pagerduty as they are not really incidents, switching to the slack official notification app though - https://github.com/ministryofjustice/modernisation-platform/pull/2907


Update name of command in README

README says to use python -m ecs_connect when command name is ecs_connect_cli

Fixed @richardbarran Thx 😎


Vertcoin file hashes and signatures ??

If i havent missed anything, one would think that the downloads under: https://github.com/vertcoin/vertcoin/releases would have hashes and signatures to verify the files.  Please can you provide the necessary security verifications?

Most recent release has signatures for the binaries now.

thank you!

Will you be providing hashes of the files?


List of misspelled words

List of misspelled words,

existance is a common misspelling of: existence
Loggign is a misspell.
combile is a misspell.

./lexicon.txt:77: existance ==> existence
./source/portable/windows/core_pkcs11_pal.c:82: existance ==> existence
./source/portable/windows/core_pkcs11_pal.c:105: existance ==> existence
./source/portable/windows/core_pkcs11_pal.c:156: existance ==> existence
./source/portable/posix/core_pkcs11_pal.c:72: existance ==> existence
./source/portable/posix/core_pkcs11_pal.c:102: existance ==> existence
./source/portable/posix/core_pkcs11_pal.c:158: existance ==> existence
./source/portable/posix/core_pkcs11_pal.c:213: existance ==> existence

./test/system-test/system-tests/pkcs11_system_test.c:36: Loggign ==> Logging

./tools/cmock/coverage.cmake:55: combile ==> combine

Hi @vikivivi,
Thanks for reporting these misspellings, I will upload a fix for this today.

Hi @vikivivi,
I have now merged the fix for this issue. Thanks again for bringing this to our attention.


training steps at 200000

After I trained 200000 steps it stopped  how can I continue to train it ?

I changed faster_rcnn_inception_v2_pets.config file  m_steps:200000 to 2000000  I don't know if it is corret


Sometimes command decorations are not aligned

Not sure the repro, when it happened it showed again when I scrolled up but then fixed itself before I could inspect the element.

/duplicate #142873


Add to Gradle plugin Download task to populate app resources

Zipline Loader has a parameter to identify a local resources directory in the app package where Zipline files are shipped with the app release. This prevents latency on first app open after install since it can rely on the shipped Zipline files and not have to do any network requests. To improve developer velocity, this new Gradle task makes it easy to populate a resources directory with the latest compiled Zipline files downloaded from the network.

Great PR.


Remove default skim cuts applied in the base workflow skim

In the base processor there are some skim cuts that are applied by default.

Golden json on data
event flags on data and MC
nPV_good > 0

It should be added by the user in the configuration, not hidden in the default skim function, to be fully transparent.
We can provide Cut objects ready to be used in the skim configuration by the user
https://github.com/PocketCoffea/PocketCoffea/blob/a580989ad6509ec485f20cca6b0533b3ba2ad7b0/pocket_coffea/workflows/base.py#L165C9-L166C1

The skim will look like
from pocket_coffea.lib.cut_functions import  eventFlags, get_nPVgood, goldenJson

cfg = Configurator( .....
    skim = [ eventFlags,
             get_nPVgood(1),
             goldenJson,
)


LimitAndOffsetAdatpter in paging test: compiler gives an error

LimitAndOffsetDecorator can't implements a class---SelectStatementProvider
And SelectStatementProvider's constructor is private.

This changed with version 1.0.1-SNAPSHOT so you need to use the new version.  I will push a release soon.


Is it possible to style only one column?

I'd like to format a column with buttons inside so that they are centered in the column. Is this possible, or does styling only apply to entire table?

Yes, is possible, with StyleSheet can you modify the vista for specific column

example:
Name
Name

Use data-css-class and data-header-css-class in each column :)


First m.redraw() should be asynchronous

The way it is coded right now any call to m.redraw() is synchronous, unless it is called subsequently within an animation frame.
That blocking behavior is counter intuitive as there is already a m.redraw(true) when we want to force synchronous redraw. So it would be logic that m.redraw() is always async and m.redraw(true) always synchronous.
And moreover it's not desirable in my opinion: all m.redraw() calls should always be async by default (and synced with browser for optimal rendering). Blocking calls can actually lead to some important lag when redraw is not used carefully and third party code also trigger (async) rendering. I've seen this in my application (lichess.org mobile app) where network driven events calling m.redraw() at very close intervals.
I tried to modify the code like this:
		try {
			//lastRedrawId is a positive number if a second redraw is requested before the next animation frame
			//lastRedrawID is null if it's the first redraw and not an event handler
			if (force) {
				redraw();
			}
			else if (!lastRedrawId) {
				lastRedrawId = $requestAnimationFrame(redraw, FRAME_BUDGET);
			}
		}

Like this the first redraw is asynchronous and subsequent redraws are debounced withing an animation frame. I tested that code in my app, it seems to work well.
I won't open a PR because I don't understand all the logic in m.redraw() and I believe tests are affected by the fact the first redraw is synchronous. So this is more an issue for discussion :)

IMHO, they should all be async unless forced.

IIRC they are unless they're forced. The problem is that there's no way of knowing when an async redraw is finished. That's the problem. (The correct fix would be to internally schedule a callback to run after the redraw completes.)

Any behavior different is a bug.

@lhorie Is my judgement of this correct?

The correct fix would be to internally schedule a callback to run after the redraw completes.

Hence #901

@pygy Good point.

While m.hooks.next.route() was a solution for a problem I was having, the
.redraw() version was more of a solution in search of a problem... until
now :-)
—Pierre-Yves
On Mon, Jan 11, 2016 at 11:31 AM, Isiah Meadows<EMAIL_ADDRESS>wrote:

@pygy https://github.com/pygy Good point.
—
Reply to this email directly or view it on GitHub
https://github.com/lhorie/mithril.js/issues/928#issuecomment-170501976.

Closing due to lack of activity.

I had forgotten about this, and advocated for it independently in #1166.
The current behaviour is not predictable and is considered a bad practice...
The modified Promiz is also problematic in this regard.

@pygy Let's go ahead and keep the discussion in #1166. Thanks! :smile:

Yeah, that message was mostly intended for @veloce who may not follow every issue.


netopeer2-server supports very limited host key algorithms for ssh

I'm unable to connect to my netopeer2-server using ncclient because there is no common match in the host key algorithms supported by ncclient and netopeer2-server. I am however able to connect to the server using netopeer2-cli.
This is the error I get when i try to run a simple get_config ncclient script:
o handlers could be found for logger "ncclient.transport.ssh"
Traceback (most recent call last):
  File "eg4.py", line 15, in <module>
    hostkey_verify=False,
  File "/usr/local/lib/python2.7/dist-packages/ncclient/manager.py", line 176, in connect
    return connect_ssh(*args, **kwds)
  File "/usr/local/lib/python2.7/dist-packages/ncclient/manager.py", line 141, in connect_ssh
    session.connect(*args, **kwds)
  File "/usr/local/lib/python2.7/dist-packages/ncclient/transport/ssh.py", line 331, in connect
    raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Incompatible ssh peer (no acceptable host key)

This is what I see in the netopeer2 server logs:
[INF]: LN: Accepted a connection on <IP_ADDRESS>:830.
[INF]: SR: Session 27 (user "root") created.
[2020/06/30 22:16:07.385349, 2] ssh_pki_import_privkey_base64:  Trying to decode privkey passphrase=false
[2020/06/30 22:16:07.387853, 2] ssh_server_connection_callback:  SSH client banner: SSH-2.0-paramiko_2.7.1
[2020/06/30 22:16:07.387905, 2] ssh_analyze_banner:  Analyzing banner: SSH-2.0-paramiko_2.7.1
[2020/06/30 22:16:07.390215, 1] ssh_kex_select_methods:  kex error : no match for method server host key algo: server [rsa-sha2-512,rsa-sha2-256], client [ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss]
[ERR]: LN: SSH key exchange error (kex error : no match for method server host key algo: server [rsa-sha2-512,rsa-sha2-256], client [ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss]).

How do I configure netopeer2-server to support more host key algorithms?

Hi,
actually, you need to configure libssh, it is completely in its control. It depends on the version you are using but for libssh 0.9.0 and newer you should be fine with editing system-wide configuration files, their exact path is printed by cmake if you compile from source. If you have a package, those files should be in /etc/ssh.
Regards,
Michal

Reinstalling libssh-dev fixed the issue. Thanks for your help, Michal!


add split-landing theme

add github.com/KatamariJr/split-landing to themes.txt

@KatamariJr do you see your theme in the preview build above? Not sure what's happening.

@bep hmmm no I do not... Did I mess up the formatting on my repo?

OK, I see the problem -- I have fixed the build scripts to make it fail in this case, but you need to tag a new version so we get the updated images.

Version bumped!

Hello Austin,
thanks for submitting your theme. Its already live on www.themes.gohugo.io.


ng new --ssr=false creates angular.json with application builder

Command
ng new
Description
Right now ng new creates angular.json with @angular-devkit/build-angular:application in the builder field, even if SSR was not selected (or --ssr=false was applied).
It should set @angular-devkit/build-angular:browser-esbuild there and generate fields, related to this builder (right now it creates field browser).
Otherwise, the default config will lead to issues, described in #26304.
Minimal Reproduction
ng new example --ssr=false

This is expected as the browser-esbuild is a compatibility builder that will be removed in the future.
We are looking into ways to mitigate the output path change.

This is intended behavior. The application builder is the preferred builder for all new projects and is recommended for all existing projects when viable based project specific requirements.
In regards to the output path, the output path option specifies the path in which build artifacts are placed following a successful build.  Not all build artifacts are intended to be used by a browser nor are they all necessarily expected to be publicly exposed. This is especially true with SSR, but also regardless of the use of SSR.  The consistent and well defined output artifact structure also provides a stronger guarantee for cloud providers, enabling more accurate and streamlined deployment in these cases. Deployment and/or staging steps post-build are an effective means to ensure that files intended to be accessible to browser clients, including potentially files not generated by the build system or that require post-processing, are placed in there intended and expected locations.

@alan-agius4,

browser-esbuild is a compatibility builder that will be removed in the future

@dgp1130 says that it is not quite correct:
https://github.com/angular/angular-cli/issues/26304#issuecomment-1819630728 (in response to my comment).
Could you please clarify this?

The browser-esbuiler is compatibility builder and is the easier way to migrate to use an esbuild based builder.
That said, using the application builder is preferred and eventually the long term goal is to remove the browser-esbuild based builder.

The browser-esbuiler is compatibility builder and is the easier way to migrate to use an esbuild based builder.
That said, using the application builder is preferred and eventually the long term goal is to remove the browser-esbuild based builder.

According to the other issue that was raised, browser-esbuild is meant to be a de-facto solution for the fact that the recent, backwards-incompatible version change to the output path (adding browser and server directories) has been causing problems for people. If it's meant to be the tool for ensuring that the application is built as per the previous output path, but it's still planning on being removed in the future, what options are we going to have to going forward?
If people are already migrating their CI/CD pipelines and build options to use browser-esbuild because they don't want these directories (for any number of reasons) it baffles me that we're still in a position where the Angular team won't consider adding configuration options to remove these directories, and are also planning on removing the only tool that can do it?

I completely agree with @ChrisCopelandSF
@clydin,

The consistent and well defined output artifact structure also provides a stronger guarantee for cloud providers, enabling more accurate and streamlined deployment in these cases.

I understand the idea, but in practice, it just requires one additional step on CI/build servers, that's it, no extra benefits.
@alan-agius4,

We are looking into ways to mitigate the output path change.

As an idea: add clientFilesFolder field and give it the default value 'browser', so users could re-define it to '' to get the desired behavior. Maybe serverFilesFolder as well (or some better name).

I don't feel comfortable to discuss anything in closed issues, so I've opened a feature request: https://github.com/angular/angular-cli/issues/26632


Get user feedback on project code creation

especially admins.

feedback from admins:

restrict language code input to numbers, letters and -
worried about users creating projects and not using them
users shouldn't be able to create projects on their own
wesay projects should use the dictionary suffix
consider faster feedback on duplicate project codes (before submitting the form)
projects get created when some already exist
explain what some options mean, especially retention policy
a language picker for the language code would be great

tasks from feedback

[ ] add descriptions for each policy
[ ] rename retention policy to "Purpose"
[ ] hide developer policy for non admins


fix(homefooter.tsx): Change input color in newsletter subscription

fix #77

Closing this one because #77 is already addressed in #70.


Provides an expand option

This option allows wildcard directory matches from src pattern to build in dest

Would be nice to see this merged.  For now i'm using the work around to copy the file tree in step one and in place edit for step 2.

Hi there @micahblu and @fantapop, thanks for the messages. Note: I still don't see an open pull request. If you're keen for this, please go ahead and reopen / or create a new pull request. Also note that it's important that any feature has suitable tests, so please ensure the new feature is covered by tests and doesn't break any old ones. Many thanks & Happy New Year :)  Jonathan


Enable majority of test_perf_tracking on lazy.

@jbredeche this supercedes https://github.com/quantopian/zipline/pull/745
The HEAD commit does more mutation of the interface of the stats() methods, which could be squashed, but avoided for the sake of getting your eyes on the PR.
When merging I'll take care of the weird merge of lazy-mainline back into the branch.

Superceded by 5c36a5cf2badb5b7cb789f99686f25743cf3342e


Small fixes for bigtop 1.2.0

Those small fixes allow for compilation using a fresh Debian distro/user, without prior downloaded files

this one went sideways :)


how to hide tagged first value on y-axis

How can I hide the value 11,929 on the y-axis annotated inside a red ellipse in this screenshot? It seems to want to show me the first chart value.

It was a coincidence that the average value was very close to the first value.
The fix was to set labelPosition to .none in my call to .averageLine.


Macros won't work when used by proxy

module Foo
  macro foo!
    puts "Foo::foo!"
  end
end

module Bar
  def self.foo
    Foo
  end
end

# WORKS
Foo.foo!

# Error in line 17: undefined method 'foo!' for Foo:Module
Bar.foo.foo!

I doubt it would ever work. The method could take arguments and knowing the returned module might depend on runtime information.
In smaller scenarios where the compile could deduce the receiver module it doesn't work either
module Foo
  macro foo!
    puts "Foo::foo!"
  end
end

f = Foo
f.foo! # Compile time Error: undefined method 'foo!' for Foo:Module

But the intention for macros inside modules is to be namespaced mainly. What is the what you are trying to accomplish with that proxy?
Note that some kind of proxy can by done if type aliases are used:
module Bar
  alias Baz = ::Foo
end

Bar::Baz.foo! # It works

My use-case is coherence in using such proxy.
module Crystal
  module Environment
    macro setup(keys)
      # ...
    end

    # ...
  end

  def self.env
    Environment
  end
end

Crystal.env.development? # => true

# I'd like to use below macro call in the same manner
Crystal.env.setup %i(foo bar)

Please don't mix run-time & compile-time stuff, using the return of Crystal.env is run-time land, you are able to only use run-time land stuff on it.
As @bcardiff pointed out, you can simply use a type alias if you don't want to type Crystal::Environment:
module Crystal
  module Environment
    macro setup(keys)
      # ...
    end

    # ...
  end

  alias Env = Environment
end

Crystal::Env.setup %i(foo bar)

If we go forward with CRYSTAL_ENV or similar, there's absolutely no need to use macros. At all.
Look, Elixir has these default environments: https://hexdocs.pm/mix/Mix.html#module-environments
There's no need to make that configurable. In fact, making it configurable is worse, because it means there's less convention.
And there's also no need to create def development? from a macro. They are just three methods, you can write it once and it's faster and easier to read than using macros.
As a side note, macros will probably never work the way you want, as @bcardiff explained.

#codetriage
Let's close this, there hasn't been active discussion around this for 18 months, so it doesn't seem to be any major pain, and it's unlikely something like this ever will or should work.


Ballroom Dancing Introduction Session 1

Session Name
Waltzing into University
Abstract
We will teach participants the basics of standard ballroom dance (waltz), which they can apply in social dance settings. A taste of standard ballroom dance that is different from our usual competition practice sessions.
Student Organisation organising this session
SUTD Ballroom Dance
Session intent (what to expect)

Participants will learn some basic moves in standard ballroom, and will learn a routine that they can show off at social gatherings (progressive waltz - ie waltz that involves the constant change of partner)
Participants will also get to experience a different form of dance which is not commonly available
No pre-requisites, but we do encourage them to bring a friend along as your dance partner :) (there will be seniors around to partner the participants, so no worries if they come alone)

Session details
We are expecting 10-15 participants, and will be holding the session at Dance Studios 3-5 (our usual location). It will most likely be held from 7-9pm (wednesday or friday, but for intro session, most likely wednesday).
Speakers/Workshop facilitators
We will be getting SUTD alumni to teach the steps and introduce the club to the Freshies, and if provided with the funds, will also ask our coach to give a formal workshop. It would be best if the coach come down for the session so that the Freshies can also be inspired by his experiences and skills.
Logistical details
Our ballroom dance coach has a rate of $150/hour, and for a 2-hour session, it would cost $300.
<EMAIL_ADDRESS>

hello, do take note that for 29th May it's freshmore welcome dinner and freshmores won't be able to make it

hello, do take note that for 29th May it's freshmore welcome dinner and freshmores won't be able to make it

We're planning to hold our first intro session on 7th June, as the club members have to prepare for FIC performance before that and thus will be unavailable to hold the session anytime earlier.

okay so there won't be a session then! thank you for the response!

Hi does it mean our session is outside of the Discovery Weeks slots and we won't get funding? (Just to clarify :)
Get Outlook for Androidhttps://aka.ms/ghei36

From: Hum Qing Ze<EMAIL_ADDRESS>Sent: Wednesday, May 15, 2019 11:29:09 PM
To: OpenSUTD/discovery-week-working-title
Cc: Student - Natalie Ng Jie Lin; Author
Subject: Re: [OpenSUTD/discovery-week-working-title] Ballroom Dancing Introduction Session 1 (#14)
okay so there won't be a session then! thank you for the response!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenSUTD/discovery-week-working-title/issues/14?email_source=notifications&email_token=ALZOARRKXL24QZQEJWJ4DWLPVQT4LA5CNFSM4HLPZLI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVPBB5Y#issuecomment-492703991, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALZOARQKLO72LHTGFGVVC4LPVQT4LANCNFSM4HLPZLIQ.
The above message may contain confidential and/or proprietary information that is exempt from disclosure under applicable law and is intended for receipt and use solely by the addressee(s) named above. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this email in error, please inform the sender immediately by reply e-mail or telephone, reversing the charge if necessary. Please delete the message thereafter. Thank you.

Hi okay so i just saw the calendar for the discovery week sessions, and we would like to make some changes:
there will only be one session from us that will be on 7 June, and our coach will be coming down to conduct that session. The rock n roll session will be postponed to another date (we wont include it in discovery week) Thanks for helping us make the changes!!

Noted the changes.
Please verify the updated information
https://discover.sutd.dev/events.html#waltxing

I think session 2's information can be deleted, since we will hold it after discovery week. Could you also help us add that our coach will be coming down to give a formal introduction? Thank you!
Get Outlook for Androidhttps://aka.ms/ghei36
From: Timothy Liu
Sent: Friday, 17 May, 14:43
Subject: Re: [OpenSUTD/discovery-week-working-title] Ballroom Dancing Introduction Session 1 (#14)
To: OpenSUTD/discovery-week-working-title
Cc: Student - Natalie Ng Jie Lin, Author
Noted the changes.
Please verify the updated information
https://discover.sutd.dev/events.html#waltxing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenSUTD/discovery-week-working-title/issues/14?email_source=notifications&email_token=ALZOARQOF2IQKLA7J6R6UB3PVZHZPA5CNFSM4HLPZLI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVT4ONY#issuecomment-493340471, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALZOARWUW5ORTHO7SLDYVODPVZHZPANCNFSM4HLPZLIQ.
The above message may contain confidential and/or proprietary information that is exempt from disclosure under applicable law and is intended for receipt and use solely by the addressee(s) named above. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this email in error, please inform the sender immediately by reply e-mail or telephone, reversing the charge if necessary. Please delete the message thereafter. Thank you.


discord: 0.0.8 -> 0.0.9

Motivation for this change
0.0.8 prompts to download 0.0.9.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Looks like someone beat me to it.


Karlburke/publication tracking

Following merged PR #122 but for TEST.
Will coordinate with entity-api
Will also need to ask @kburke's help with updating the MySQL by then:

For migration beyond Dev, I should be available to ALTER TABLE uuids_attributes to add the new column tracking entity class

ALTER TABLE `hm_uuid`.`uuids_attributes`
ADD COLUMN `ENTITY_CLASS_METADATA` JSON NULL AFTER `DESCENDANT_COUNT`;

executed
ALTER TABLE `hm_test_uuid`.`uuids_attributes`
ADD COLUMN `ENTITY_CLASS_METADATA` JSON NULL AFTER `DESCENDANT_COUNT`;

excecuted
ALTER TABLE `hm_uuid`.`uuids_attributes`
ADD COLUMN `ENTITY_CLASS_METADATA` JSON NULL AFTER `DESCENDANT_COUNT`;

in Prod.


output of jspm install contains unresolved variables

I am surprised how this went "by me". Good catch


Update some image names to our new convention

I also decided to refactor the shortcodes to be displayed so they are easier to read and easier to detect changes
fixes #2192
Signed-off-by: Mauro Morales<EMAIL_ADDRESS>

Would be nice if we could use versioneer here. But maybe it's not worth the effort (if at all possible).


docs: update CLI command to sst shell

Update testing docs to replace sst load-config with sst shell
The sst load-config command is no longer available, as it's been replaced by sst shell.

Hmm this is one of our old blog posts for sst v2. Did you find this through a google search?

Oh you're right, I guess I did. It seems like there's no reference on how to test code that uses SST resources.

Yeah I'll close this for now.
Though we probably should add a warning to these posts that they are for an older version.


Add cross-compilation shell support for ghc-js

Supersede by https://github.com/input-output-hk/devx/pull/33


Fix bug where painting is incorrect when canvas size doesn't match window size.

Out of curiosity, which situation are you hitting this with?  eg canvas size not matching window size? :smile:

Just using a canvas as part of a normal HTML layout with buttons with other controls. The ultimate goal is to build a UI like this with the graphical parts being canvases and the rest normal HTML. Whether I'll ever get there is another question.

Cool, that makes sense. :smile:
And yeah... time + persistence gets a lot of things to work... :grin:

Merged.   Thanks for the fix,
I have updated the demo to use a canvas 90% of the full window as a pseudo test.


Update k8s GCE guide to 1.3.0

This PR does the following:

Removes the documentation on annotation based + v1alpha1 network policy
Adds v1beta1 policy to the integration guide
Updates the GCE guide to use v1.3.0 k8s and v1beta1 NetworkPolicy.

In the integration guide -
 - An existing Kubernetes cluster running Kubernetes >= v1.1
But that's not going to work for network policy

You missed a reference to v1.1.4 in the intergration guide

I think its worth saying that iptables mode in kube-proxy is the default in both the integration guide and the readme

As we discussed, I think it might be worth leaving some reference to annotation based policy, but that's it not recommended for new deployments.

And finally, jazzing up the main readme would be nice - adding a link to a blog post or embedding a video would be nice.


getblocktemplate not available for up to 20 minutes after starting

GBT should be fully functional once the blockchain is synced.  But for up to 20 minutes after a node starts, GBT fails with
error code: -10
error message:
Dash Core is syncing with network...

Hi,
the message is not only referring to blochain sync, but also to governance object sync, which may take up to 60 mins after restart. You can check the status of your wallet with
ˋmnsync statusˋ
as soon the the status is complete/999 GBT will be available.

Why does the governance object need to be synced in order to return a block template?
Just return an empty template or exclude transactions related to governance until the sync is complete.

IIRC masternodes also can't have more than an hour of downtime before losing their spot in the payment queue, so this is also an important issue for masternode operators.

GBT should be fully functional once the blockchain is synced.

Unlike in Bitcoin, in Dash you can't construct correct block having only blockchain data, you need at least masternode payee and some times all governance info. But yes, current situation is a bit suboptimal and can be improved, please see #1739

This looks to be exactly what I need, thanks.

Should be fixed by #1739.


Generation cleanup

Changes c++ formatting from astyle to clang-format (using chromium rules) and lints generate folder

I know where this broke, will get to it later

Ok I lied, not sure why the new formatting breaks things. Going to omit that commit for now.

Seems you can't put "+" at the beginning of the line. For Instance, ```return exec(
"rm "
+ tempSrcDirPath + "/.cc.orig "
+ tempIncludeDirPath + "/.h.orig "
);
in generateNativeCode.js, you should change the lines to

return exec(
"rm " +
tempSrcDirPath + "/.cc.orig " +
tempIncludeDirPath + "/.h.orig "
);


Mojo::Server::Daemon is brittle when Test::Mojo() doesn't have a class name argument

Mojolicious version: $Mojolicious::VERSION 7.88

-r--r--r-- 1 root root 12191 Jun  3 05:37 /usr/local/share/perl5/Mojo/Server/Daemon.pm

Perl version: 5.10.1
Operating system: CentOS 6.7

Steps to reproduce the behavior
my $t = Test::Mojo->new('MyApp'); # works ok
my $t = Test::Mojo->new(); # has inscrutable error listed below and dies inside Mojo::Server::Daemon
Expected behavior
Either work fine, or die with an error that is more helpful
Actual behavior
$ prove
[ calls my $t = Test::Mojo->new(); ]
t/basic.t .. # /admin/ping
Can't call method "server" on an undefined value at
/usr/local/share/perl5/Mojo/Server/Daemon.pm line 61 (#1)
(F) You used the syntax of a method call, but the slot filled by the
object reference or package name contains an undefined value.  Something
like this will reproduce the error:
    $BADREF = undef;
    process $BADREF 1,2,3;
    $BADREF->process(1,2,3);

Uncaught exception from user code:
Can't call method "server" on an undefined value at /usr/local/share/perl5/Mojo/Server/Daemon.pm line 61.
at /usr/local/share/perl5/Mojo/Server/Daemon.pm line 61.
Mojo::Server::Daemon::start(Mojo::Server::Daemon=HASH(0x47ccb80)) called at /usr/local/share/perl5/Mojo/UserAgent/Server.pm line 40
Mojo::UserAgent::Server::_url(Mojo::UserAgent::Server=HASH(0x47ccbe0), 0) called at /usr/local/share/perl5/Mojo/UserAgent/Server.pm line 27
Mojo::UserAgent::Server::url(Mojo::UserAgent::Server=HASH(0x47ccbe0)) called at /usr/local/share/perl5/Mojo/UserAgent.pm line 288
Mojo::UserAgent::_start(Mojo::UserAgent=HASH(0x4637ad0), Mojo::IOLoop=HASH(0x2d41fa0), Mojo::Transaction::HTTP=HASH(0x47c8430), CODE(0x47c2d40)) called at /usr/local/share/perl5/Mojo/UserAgent.pm line 66
Mojo::UserAgent::start(Mojo::UserAgent=HASH(0x4637ad0), Mojo::Transaction::HTTP=HASH(0x47c8430)) called at /usr/local/share/perl5/Test/Mojo.pm line 381
Test::Mojo::_request_ok(Test::Mojo=HASH(0x47ae680),
[...]

I'm afraid this issue is incomprehensible, so there is nothing we can do.


Strings don't wrap

Because the strings don't wrap, I am sometime missing part of a text (c.f. screenshot)

I was able to fix the issue by changing line 233:
self.canvas.create_text(self.CANVAS_WIDTH/2, 20, text = "Good to see you again! Please enter your name")`
to something like this.
self.canvas.create_text(self.CANVAS_WIDTH/2, 20, width = self.CANVAS_WIDTH-20, text = "Good to see you again! Please enter your name")
Let me know if you like this fix and I'll apply it to all the strings that might be impacted by this issue.

Hey, interesting problem. I am glad the program is being tested out on multiple machines and operating systems.
I am worried your solution it might cause problems in cases where there are two lines of text right below each other, since the wrap of the first line could end up overlapping with the position of the second line.
I am wondering if we would possibly solve the problem by setting the font. Tkinter font default is system specific (http://effbot.org/tkinterbook/canvas.htm#Tkinter.Canvas.create_text-method), so I assume my system's default font fits within the size of the window, while yours doesn't.
On this link, under font descriptors, they explain how to specify size and font-type for text in Tkinter.
Will you maybe try and see if changing the font from default to some specific font, can fix the problem, and keep all the text within the window on your machine?
If that works, I would suggest we solve the problem that way. This would also mean that the prog-o-meter interface looks more similar to all users.
Let me know what you think, or if someone has other suggestions for solution.

if you declare all your lines within the same canvas using \n for new line and the justify parameters I reckon you should be able to avoid overlapping.
However, as you mentioned, considering that tkinter is using the system default font, other issues might arise going forward. Hardcoding the font-type and its size might be the best solution. But then that would mean finding a font that would work across all platform or adding a switch statement to take into account the OS.

Hmm, yeah, this problem is a bit of a headscratcher.
I like the simplicity of using \n and justify, but I wonder if we could encounter problems given the small size of some of the the windows. Could we risk a system's default font takes up so much space, that we risk the text falling of the bottom of the widget due to too many lines, by taking this approach?
I have been looking a bit into hard-coding a font-type and size. Tkinter has a TkFixedFont, which is a monospace font (and will use a font from the specific platform that fulfills the width requirements).
This means that it should work across platforms, and that width will be consistent, while the exact look might differ. It should solve the width problem, although we would have to increase size of the windows, as this font is wider than the font used while I chose the size of the windows.
The look of these mono width fonts is not my personal favorite, so I am very curious to see what other solutions we might have?

Here is a link about font and Tkinter http://www.tkdocs.com/tutorial/fonts.html

@B-Souty Do you wanna have a go at solving this problem?

@lineaba It seems like everyday the look of the prog-o-meter changes on my computer because I keep playing around with the settings. Unless we get other people complaining about this,  I don't think we should waste time on this.
Plus, lately the fonts size seems to have reduce somehow and it now fits fine in the window. If nobody else complain about this by monday, I'll close the issue. How does that sound?

Yeah, that sounds good!
On Fri, Apr 27, 2018, 11:58 B-Souty<EMAIL_ADDRESS>wrote:

@lineaba https://github.com/lineaba It seems like everyday the look of
the prog-o-meter changes on my computer because I keep playing around with
the settings. Unless we get other people complaining about this, I don't
think we should waste time on this.
Plus, lately the fonts size seems to have reduce somehow and it now fits
fine in the window. If nobody else complain about this by monday, I'll
close the issue. How does that sound?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lineaba/prog-o-meter/issues/44#issuecomment-385063466,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfZFL-mpfOi7Lj3qUh3OCVF4pLcoBn2zks5ts2pCgaJpZM4Te7yd
.


which example is using VM as NSC or NSE?

In the NSM Concepts document, we can see that it supports using VM as NSC or NSE in the network service chain, but it seems do not to have VM-related use cases  in the given examples(https://github.com/networkservicemesh/deployments-k8s), is that I miss it? Thank you!

if there is the case that packet VM running as one element of NSM service chaining in one cluster?, e.g. CNF->VNF->CNF?

if NSM supports kubevirt VMs as part of chaining in K8S? Do we have similar test cases?


Window object not defined when accessing MyAlgo Wallet from Next.js SSR project

The window object is not defined when instantiating a new instance of the MyAlgo class, even if a typeof window !== 'undefined' check is done beforehand on the client side. I think all calls to window should be wrapped in a similar check in case the Communication Bridge is accessed from the server side.

I should mention, I've opened this issue on the communication-bridge repo because the error I was thrown was coming from line 144 in the lib/messenger.js file when the message event listener is added to the window object.

Hi @daoarchitect the bridge is not intended to be used from a backend or server-side rendering.
Can you give us some background on the project and why the code is loaded in the server side portion?

Hey @mxmauro, looks like this was a Next.js-specific. I solved it by loading the component that was using the MyAlgo class dynamically using Next.js's Dynamic Import feature.

@0xTsubi any chance you could share that fix im facing the same issue and im familar with the dynamic Import just wondering where exactly you made that change

i agree with this.. can you please update the messanger.js and wrap it like this.. its super annoying to keep adding it back in and it works good / as needed

  if (typeof window !== "undefined") {
  	window.addEventListener("message", this._listener);
  }

ty!!!!