git doesn't find anymore the config from my home which is on a remote server

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.87.0 (user setup)
OS Version: Windows_NT x64 10.0.22631
Node.js: 18.17.1

Steps to Reproduce:

Use a user from the domain, which have a home directory in a network drive (Q: in my case)
The drive Q:\ has .gitconfig file and .ssh directory. The local directory (c:\users\emmanuel) doesn't.
Try to fetch from an existing project (which was working a few days before)
Error in the output :

Missing or invalid credentials.
Skip silent fetch commands
Permission denied, please try again.
Missing or invalid credentials.
Skip silent fetch commands
Permission denied, please try again.
Missing or invalid credentials.
Skip silent fetch commands
<EMAIL_ADDRESS>Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

full error :

git fetch origin
c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1
(()=>{"use strict";var e={4516:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(3685);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:/${this.handlerName},method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(Bad status code: ${e.statusCode}));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},7147:e=>{e.exports=require("fs")},3685:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return et,o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(7147),n=r(4516);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE});if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();

TypeError: Cannot read properties of undefined (reading 'replace')
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1748
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1967
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1983
at Object. (c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/node_init:2:13357)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:96:12)
Node.js v18.17.1
Permission denied, please try again.
c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1
(()=>{"use strict";var e={4516:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(3685);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:/${this.handlerName},method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(Bad status code: ${e.statusCode}));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},7147:e=>{e.exports=require("fs")},3685:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return et,o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(7147),n=r(4516);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE});if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
TypeError: Cannot read properties of undefined (reading 'replace')
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1748
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1967
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1983
at Object. (c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/node_init:2:13357)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:96:12)
Node.js v18.17.1
Permission denied, please try again.
c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1
(()=>{"use strict";var e={4516:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(3685);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:/${this.handlerName},method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(Bad status code: ${e.statusCode}));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},7147:e=>{e.exports=require("fs")},3685:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return et,o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(7147),n=r(4516);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE});if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
TypeError: Cannot read properties of undefined (reading 'replace')
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1748
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1967
at c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:1983
at Object. (c:\Users\emmanuel\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/node_init:2:13357)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:96:12)
Node.js v18.17.1
<EMAIL_ADDRESS>Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Run
git config --global user.email<EMAIL_ADDRESS>git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: no email was given and auto-detection is disabled

I just want to share that I began receiving the exact same error a few days ago -
"Failed to authenticate to git remote:
https://>
Open Git Log | Show Command Output | Cancel"
I did a diff against the reported issue text and the only changes are my paths and repository information. This is only happening when I try to push content. We have not changed our global git config username or email and we have not modified our self-hosted gitlab configuration. The only way I could push was from the command line, with "git push". After that, the sync button went away.

Microsoft Windows [Version 10.0.19045.4046]
Visual Studio Code Version: 1.87.0

Not to derail this issue, but I think it is related. I have another colleague who cannot push. They are receiving a a "Connect to GitLab" pop-up inside VSC which states:
"GitLab
Sign in

Buttons: Token | Password"
We tried setting up a token and password authentication, but neither worked.

@challengemkr20 I don't think it is the same problem.
Here are things that work :

Using the CLI with GIT Bash : All is fine
Workaround : If I copy .gitconfig and .ssh from my remote home to c:\users\emmanuel (my local home), VS Code works fine.

Yes, I agree. Sorry about that. The error output is the same. However, I was able to determine that I had used SSH to clone the repo and then somehow switched to HTTPS authentication in the last couple weeks and modified my git config --global user.name “username” to match my LDAP username, whereas with SSH it didn't need to match. I also enabled the Windows certificate store using git config --global http.sslBackend schannel, lastly I disabled SSH on my self-hosted gitlab instance. The issues went away. The final problem my colleagues reported about the pop-up log-in window was caused by not having 'maintainer' permissions when they tried to push into repositories. I'm a little mystified how I was able to push... I went through and started modifying the git remote origins to match the HTTPS URLs. Again, my apologies for clogging up your ticket. Maybe some of the fixes I mentioned might help.

I have exactly same issue.
I am running on Windows 10 , and environment variables has following 2 entries :
HOMESHARE : \NetworkDrive\Users\username
USERPROFILE : C:\Users\username
my global config file is located in %HOMESHARE%.gitconfig
The git client I am using from Terminal is Git for Windows
Version : git version 2.44.0.windows.1
Location :  C:\Program Files\Git\cmd\git.exe
Everything is fine from terminal.
Seems built-in git extension does not search %HOMESHARE% Path, only look at %USERPROFILE%
However , the Git for Windows from terminal does.
Tried to change the setting git.path to point to  C:\Program Files\Git\cmd\git.exe , still doesn't work.

To maintainer : The point is "is this a bug or a feature ?"

I also have the same problem.
Everything is fine from terminal (even from a terminal inside VSCode).
Actions done through VSCode GUI look for configuration files (both .gitconfig and .ssh) from %USERPROFILE% instead of %HOMESHARE%. I have not yet found a way to change that.
I am running on Windows 10 , and environment variables has following entries :
HOME=/h/
HOMEDRIVE=H:
HOMEPATH=
HOMESHARE=\NetworkDrive\homedirs\username
USERPROFILE : C:\Users\username
My global config file is located in %HOMESHARE%.gitconfig
The git client I am using from Terminal is Git for Windows
Version : git version 2.43.0.windows.1
Location : C:\Program Files\Git\cmd\git.exe


Cleaning up old msdf font files

Old MSDF Font File Detection:

The plugin now scans all font files in the public folder and the temporary folder for automatically generated MSDF files.
It identifies MSDF font files and checks if the lightningMetrics property exists in each file.
If lightningMetrics is missing, it indicates that the file was not generated using the Lightning MSDF generator tool.

Temporary File and Variable:

A temporary file is created to keep track of the cleanup process.
A variable is introduced to prevent running the same cleanup process multiple times.

Warning Visibility:

The function call for the cleanup process is intentionally placed within the default plugin function.
This ensures that the warning messages are visible in the terminal output without the need to scroll up.
Placing the function call outside the default plugin function would cause Vite to clean up the terminal output, hiding the warnings from the view.

Closing in favour of a simpler approach (#1d21c23)


Switch .net 472 version of SDK to use HttpClient instead of HttpWebRequest

Describe the feature
With the upgrade to 4.0.0, I would like to recommend that the SDK use a consistent HTTP Pipeline for .Net Framework and Standard.  This will ease compatibility testing for customers who want to upgrade their existing app to .net standard
Use Case
Compatibility between .Net Framework / Standard, also less testing since consistent SDK is used
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used
AWS SDK 4.0.0-preview
Targeted .NET Platform
.Net Framework 4.7.2
Operating System and version
Windows 11, Windows Server 2022

@MichaelSabin-Citrix I would love to use HttpClient for both .NET Framework and .NET Core instead of using HttpWebRequest for .NET Framework. It would make our lives easier maintaining the SDK. We tried that in the past but since HttpClient is really a wrapper around HttpWebRequest in .NET Framework with limitations the performance was terrible when used at scale. We got a lot of customer issues and with their application performance degrading so we had to revert the change and is why today we use HttpWebRequest for .NET Framework and HttpClient for .NET Core.

Ok thanks.  Yeah HttpClientHandler uses WebRequest underneath the covers for .NET Framework...

Closing because this is not something we are going to do for performance reasons.


Add get_raft_status() API

This API will returns Peer_info struct for all members including leader.
The main purpose of this API is for HO->SM->CM report so SM/CM can decide which peers are considered up-to-date.

Codecov Report
Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (f4e3d74) 72.24% compared to head (70e015b) 73.83%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

src/lib/repl_service_ctx.cpp
0.00%
16 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
+ Coverage   72.24%   73.83%   +1.58%
==========================================
  Files          21       20       -1
  Lines         836      818      -18
  Branches       96       95       -1
==========================================
  Hits          604      604
+ Misses        170      152      -18
  Partials       62       62

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@szmyd sigh... I dont know why the git seems ate my UT...


Azure Active Directory Authentication

Many features on this list require AAD Authentication for OnPrem.
I couldn't find a specific topic page that addresses how to deploy that method. Does such a page exist?

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

ID: 9db917c4-601c-b6f1-863f-17b83d35e814
Version Independent ID: 22279a66-57b2-7f98-16b6-3cfb394b7fda
Content: Features not implemented in on-premises deployments - Business Central
Content Source: dev-itpro/features-not-implemented-on-premises.md
Service: dynamics365-business-central
GitHub Login: @edupont04
Microsoft Alias: edupont

Hello Bleika,
You can find information about AzureActive Directiory here: https://docs.microsoft.com/en-us/azure/active-directory/

Thank you Eva,
Actually, I was refering to the specifics on BC OnPrem + AAD Authentication.
Today I found what I was looking for, but you might consider adding a link to it from the page that lists the limitations for OnPrem, or adding a topic in the IT TOC under OnPrem, because it doesn't show up in search on Docs:
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/authenticating-users-with-azure-active-directory


Add Skip Redirect addon

Skip Redirect

Skip Redirect - some sites, when using a hyperlink, use links that redirect to the original site. this add-on attempts to extract the URL and loading the site right away.
License:
Why do you think this helps users privacy?: prevent sites from knowing if the user opened a hyperlink.
Under what section should this service be listed?: browser addons

The GitHub only seems to link to the Firefox version, it also exists on the Chrome web store but you'd need to find it yourself:
https://chrome.google.com/webstore/detail/skip-redirect/jaoafjdoijdconemdmodhbfpianehlon

Its worth noting that there are more mature solutions to this problem (which I think are already included in this repository) and this specific addon feels pretty alpha-quality since it has some open issues which could directly affect a users privacy in a negative way. I'd suggest that this may not be worth adding in its current state, although it may be something to keep an eye on in the future.


Getting error in VS while creating an IoT Edge Python module

I'm following this tutorial to create an IoT Edge Python module:
https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-python-module
When I get to step 5 of the tutorial where it says "Create an IoT Edge module project", subtitle "Create a new solution", I get an error after I run the following command on Visual Studio Code on my iMac (OSX):
"Azure IoT Edge: New IoT Edge solution"
It says:
“Command failed with exit code 127”
Can someone please help me resolve this? I also tried a C# module and got the same error. I did install all the prerequisites and tried it on my iMac and Macbook Pro.

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

ID: b251621c-bcb0-b9ce-bd87-90499766137b
Version Independent ID: b23ad340-bdfa-0597-9a0a-51c5e7b18b48
Content: Azure IoT Edge Python tutorial
Content Source: articles/iot-edge/tutorial-python-module.md
Service: iot-edge
GitHub Login: @shizn
Microsoft Alias: xshi

Hi @erwindemoel, will running cookiecutter --no-input https://github.com/Azure/cookiecutter-azure-iot-edge-module module_name=cookiecuttersamplemodule image_repository=localhost:5000/cookiecuttersamplemodule --checkout master in a terminal outside of VS Code succeed?

@erwindemoel thank you for your feedback. What is the output when running cookiecutter --no-input https://github.com/Azure/cookiecutter-azure-iot-edge-module module_name=cookiecuttersamplemodule image_repository=localhost:5000/cookiecuttersamplemodule --checkout master in a terminal outside of VS Code ?
This seems to be a VSCode issue related with this one: https://github.com/Microsoft/vscode/issues/33200
@shizn to add on this.
Thank you!

hi @LazarusX  and @sergaz-msft, that command cookiecutter does not work. Do you have suggestions on how to fix this?

Hi @erwindemoel, looks like cookiecutter is installed but not included in $PATH. You can refer to Step 3 in https://gist.github.com/haircut/14705555d58432a5f01f9188006a04ed to learn how to add it to $PATH.

Thanks @LazarusX, I understand how to add things to path now in OSX, but not sure where cookiecutter is located. I've tried several commands, but my terminal is still not recognising the "cookiecutter" command. Also tried the instructions on this site:
http://cookiecutter.readthedocs.io/en/latest/installation.html
Can you please help me with which command to use?

Hey, I just followed all the steps in https://gist.github.com/haircut/14705555d58432a5f01f9188006a04ed and now cookiecutter is recognised. Thanks @LazarusX !

cookiecutter now works in Terminal, but when I try to create a new Pythonmodule in Visual Studio Code, I still get this:
Executing cookiecutter --no-input https://github.com/Azure/cookiecutter-azure-iot-edge-module module_name=PythonSampleModule image_repository=testpythonmoduleregistry.azurecr.io/pythonsamplemodule --checkout master
/bin/sh: cookiecutter: command not found
Error: Command failed with exit code 127

How can I make VS Code understand where cookiecutter is located?

VS Code will respect the $PATH in your shell configuration. Can you try quitting and restarting VS Code?

I found this tutorial:
https://www.cyberciti.biz/faq/appleosx-bash-unix-change-set-path-environment-variable/
And used it to add PATH=$PATH:~/Library/Python/2.7/bin to my $HOME/.bash_profile file as described in Method 1. That fixed my problem after restarting Microsoft VS Code. Thanks all for the help!


Removes misleading docs for EventLoopFuture.whenComplete(_:)

Removes documentation from EventLoopFuture.whenComplete(_:) that is no longer accurate.
Motivation:
Upon the addition of Result in the Swift standard library, #734
updated EventLoopFuture.whenComplete(_:) to pass a Result<T, Error> to
its callback, but the documentation still confusingly states:

Unlike its friends… whenComplete does not receive the result of the
EventLoopFuture.

It would appear the documentation and functionality are no longer in sync and
could thus cause confusion.
Modifications:
This patch removes the (now inaccurate) lines from the documentation.
Result:
The documentation now correctly reflects the functionality of
EventLoopFuture.whenComplete(_:).

@swift-nio-bot test this please


API Generator: Add failing test for type: "text" runtime type

fixed in https://github.com/vivid-planet/comet/pull/1492


add ability for admin and assessor to submit palace invite attendees

 [QAE17] A QAE admin has updated some winning appliations palace attendee information on behalf of them, but this info is not being pulled into the csv


stat: path too long for Windows - error when using large parameters.json file

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az group deployment create
Errors:
stat: path too long for Windows

To Reproduce:
Create a parameters.json file that has 490+ lines with name value pairs. The total character count of said JSON file is 37343. Total file size is 37KB. The structure of the json file looks similar this:
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
    "contentVersion": "<IP_ADDRESS>",
    "parameters": {
        "applicationSettings": {
            "value": {
                "CI": {
                    "AzureWebJobsStorage": "areallylongvaluethatyoumustputhereinordertoreproducetheproblemsojustaddabunchofletterstoproducetheproblemandthenaddthistoeachfieldletmeknowhowitworks",
                    "AzureWebJobsDashboard": "",
                    "AzureWebJobsServiceBus": "",
                    "AzureWebJobsServiceBusSource": ""
                },
                "DEV": {
                    "AzureWebJobsStorage": "",
                    "AzureWebJobsDashboard": "",
                    "AzureWebJobsServiceBus": "",
                    "AzureWebJobsServiceBusSource": ""
                },
                "QA": {
                    "AzureWebJobsStorage": "",
                    "AzureWebJobsDashboard": "",
                    "AzureWebJobsServiceBus": "",
                    "AzureWebJobsServiceBusSource": ""
                },
                "STG": {
                    "AzureWebJobsStorage": "",
                    "AzureWebJobsDashboard": "",
                    "AzureWebJobsServiceBus": "",
                    "AzureWebJobsServiceBusSource": ""
                },
                "TRN": {
                    "AzureWebJobsStorage": "",
                    "AzureWebJobsDashboard": "",
                    "AzureWebJobsServiceBus": "",
                    "AzureWebJobsServiceBusSource": ""
                },
                "PROD": {
                    "AzureWebJobsStorage": "",
                    "AzureWebJobsDashboard": "",
                    "AzureWebJobsServiceBus": "",
                    "AzureWebJobsServiceBusSource": ""
                }
            }
        }
    }
}

For each object in applicationSettings, there are 78 name value pairs with a value. When I remove chunks of JSON, the command works. The JSON file is formatted correctly and there are no errors. There appears to be a problem parsing a json file with a lot of content.

Put any pre-requisite steps here...
az group deployment create --resource-group WB-CI --template-file .\function-app-orderProcessing.json --parameter @function-app-orderProcessing.parameters.json

Expected Behavior
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.78

Additional Context

@zhoxing-ms Please take a look.

Any update?

@a-vishar Because I'm taking Chinese annual leave and the internet condition at home is not good, so I'm sorry to reply so late.
I tried both PowerShell and Bash. And I still can't reproduce the problem after doing a "replace all" and replace "" with "areallylongvaluethatyoumustputhereinordertoreproducetheproblemsojustaddabunchofletterstoproducetheproblemandthenaddthistoeachfieldletmeknowhowitworks"

Not sure why I was tagged here.

@ajklotz please look at the above comment by @zhoxing-ms

@a-vishar Please add --debug parameter to the command (like this: az group deployment create --resource-group WB-CI --template-file .\function-app-orderProcessing.json --parameter @function-app-orderProcessing.parameters.jso --debug) , and then paste the complete exception stack for me to see.

PS C:\codebase\digital\CI\ARM> az group deployment create --resource-group WB-CI --template-file .\function-app-orderProcessing.json --parameter @function-app-orderProcessing.parameters.json --debug
Command arguments: ['group', 'deployment', 'create', '--resource-group', 'WB-CI', '--template-file', '.\\function-app-orderProcessing.json', '--parameter'<EMAIL_ADDRESS>'--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x03E029C0>, <function OutputProducer.on_global_arguments at 0x03EC6660>, <function CLIQuery.on_global_arguments at 0x03F2E738>]
attempting to read file function-app-orderProcessing.parameters.json as utf-8-sig
Event: CommandInvoker.OnPreCommandTableCreate []
Installed command modules ['acr', 'acs', 'advisor', 'ams', 'apim', 'appconfig', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'deploymentmanager', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'interactive', 'iot', 'iotcentral', 'keyvault', 'kusto', 'lab', 'managedservices', 'maps', 'monitor', 'natgateway', 'netappfiles', 'network', 'policyinsights', 'privatedns', 'profile', 'rdbms', 'redis', 'relay', 'reservations', 'resource', 'role', 'search', 'security', 'servicebus', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'vm']
Loaded module 'acr' in 0.018 seconds.
Loaded module 'acs' in 0.014 seconds.
Loaded module 'advisor' in 0.004 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'ams' in 0.013 seconds.
Loaded module 'apim' in 0.005 seconds.
Loaded module 'appconfig' in 0.005 seconds.
Loaded module 'appservice' in 0.018 seconds.
Loaded module 'backup' in 0.007 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'batch' in 0.016 seconds.
Loaded module 'batchai' in 0.006 seconds.
Loaded module 'billing' in 0.005 seconds.
Loaded module 'botservice' in 0.009 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'cdn' in 0.006 seconds.
Loaded module 'cloud' in 0.004 seconds.
Loaded module 'cognitiveservices' in 0.005 seconds.
Loaded module 'configure' in 0.004 seconds.
Loaded module 'consumption' in 0.006 seconds.
Loaded module 'container' in 0.005 seconds.
Loaded module 'cosmosdb' in 0.013 seconds.
Loaded module 'deploymentmanager' in 0.006 seconds.
Loaded module 'dla' in 0.008 seconds.
Loaded module 'dls' in 0.007 seconds.
Loaded module 'dms' in 0.004 seconds.
Loaded module 'eventgrid' in 0.004 seconds.
Loaded module 'eventhubs' in 0.006 seconds.
Loaded module 'extension' in 0.002 seconds.
Loaded module 'feedback' in 0.002 seconds.
Loaded module 'find' in 0.002 seconds.
Loaded module 'hdinsight' in 0.004 seconds.
Loaded module 'interactive' in 0.001 seconds.
Loaded module 'iot' in 0.007 seconds.
Loaded module 'iotcentral' in 0.002 seconds.
Loaded module 'keyvault' in 0.008 seconds.
Loaded module 'kusto' in 0.004 seconds.
Loaded module 'lab' in 0.005 seconds.
Loaded module 'managedservices' in 0.003 seconds.
Loaded module 'maps' in 0.003 seconds.
Loaded module 'monitor' in 0.009 seconds.
Loaded module 'natgateway' in 0.003 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'netappfiles' in 0.006 seconds.
Loaded module 'network' in 0.033 seconds.
Loaded module 'policyinsights' in 0.003 seconds.
Loaded module 'privatedns' in 0.008 seconds.
Loaded module 'profile' in 0.004 seconds.
Loaded module 'rdbms' in 0.012 seconds.
Loaded module 'redis' in 0.005 seconds.
Loaded module 'relay' in 0.007 seconds.
Loaded module 'reservations' in 0.005 seconds.
Loaded module 'resource' in 0.013 seconds.
Loaded module 'role' in 0.008 seconds.
Loaded module 'search' in 0.004 seconds.
Loaded module 'security' in 0.004 seconds.
Loaded module 'servicebus' in 0.009 seconds.
Loaded module 'servicefabric' in 0.004 seconds.
Loaded module 'signalr' in 0.003 seconds.
Loaded module 'sql' in 0.010 seconds.
Loaded module 'sqlvm' in 0.004 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'storage' in 0.033 seconds.
Loaded module 'vm' in 0.027 seconds.
Loaded all modules in 0.458 seconds. (note: there's always an overhead with the first module loaded)
Extensions directory: 'C:\Users\aklotz\.azure\cliextensions'
Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03E468E8>]
az_command_data_logger : command args: group deployment create --resource-group {} --template-file {} --parameter {} --debug
metadata file logging enabled - writing logs to 'C:\Users\aklotz\.azure\commands'.
Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x040F8A98>]
Configured default 'WB-CI' for arg resource_group_name
Event: CommandInvoker.OnPostArgumentLoad []
Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x041044F8>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x041045D0>]
Event: CommandInvoker.OnCommandTableLoaded []
Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x04C87270>]
Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x03EC66A8>, <function CLIQuery.handle_query_parameter at 0x03F2E780>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x04104588>, <function handler at 0x04D5E2B8>]
attempting to read file .\function-app-orderProcessing.json as utf-8-sig
cli.azure.cli.core.util : stat: path too long for Windows
stat: path too long for Windows
az_command_data_logger : exit code: 1
telemetry.save : Save telemetry record of length 2502 in cache
telemetry.check : Negative: The C:\Users\aklotz\.azure\telemetry.txt was modified at 2020-02-03 08:35:57.685168, which in less than 600.000000 s
command ran in 1.289 seconds.

@zhoxing-ms - Please stop tagging me in this issue, I have nothing to do with it.

@ajklotz I found out that the problem is probably caused by the @ of --parameter @function-app-orderProcessing.parameters.json. You can first try whether removing the @ prefix can solve the problem.
I will locate the specific reason and sync it later.

@a-vishar You are right, the error doesn't occur when I remove @. I was told to provide the @ prefix since that was documented, but I can omit that. I'm glad to hear you are finding the root cause, thank you so much.

@ajklotz Am I being punked?  Please stop mentioning me in this random GitHub issue.  I have nothing to do with this issue and for some reason you all keep mentioning me.

Sorry @a-vishar

@ajklotz This problem is also related to the version of Python, so you can reinstall azure-cli by using Python 3.8 first.
I've identified the underlying problem, and I'll submit a PR to fix it in other versions of Python.


DAISY Pipeline missing common Alt key combinations for file, edit, and help

Most Windows application have shortcut keys for the major categories. Currently, these are missing in the DAISY Pipeline. You can get there by hitting Alt and then arrowing around, but it would be good to use traditional conventions in the interface.

fixed by 08dccdb


Add linter and init go modules

I have used basic linter setting from golangci-lit repo.

Default setting from golangci-lint suggest using logrus as logger, maybe not the best choice for this project (it's kinda slow), but we can discuss this letter


Toolchain updates haven’t been pushed

Please push the toolchain updates.

What do you mean by "toolchain updates"?

lol, pretty certain it was one of the TestFlight update changelogs


Implement wasmJs support

WASM code mostly copied from desktop/JVM target, with the addition of an IODispatcher common val - Dispatchers.IO does not exist on WASM and is replaced with the default dispatcher. Since in the majority of cases this dispatcher will be used for network calls or file fetching, which is done completely asynchronously on wasmJs anyway, performance is actually relatively good on the web. The only downside currently is that getProcessorCount is hardcoded to return 8 on wasm, as there's no good way to figure out how many concurrent connections the browser can support. A better approach would be to allow the library user to define how many threads to allocate, or provide a coroutine scope themselves.
Closes #16

Thanks for this feature 🧿


pkg/operator/configobservation/etcd/OWNERS: add alaypatel07 and hexfusion

Bumping OWNERS per https://github.com/openshift/cluster-kube-apiserver-operator/pull/674
/cc @abhinavdahiya @alaypatel07

Thanks for doing this @hexfusion

ts=2019-11-28T01:09:23.820523012Z caller=main.go:315 msg="Unhandled error received. Exiting..." err="creating CRDs failed: waiting for ServiceMonitor crd failed: timed out waiting for Custom Resource: failed to list CRD: rpc error: code = Unavailable desc = etcdserver: leader changed"

We have been seeing these errors recently and attributing them to resource starvation...
/test e2e-aws

/lgtm

/approve


[RUNTIME] Add fp16/fp32 conversion functions

Add __gnu_h2f_ieee and __gnu_f2h_ieee to tvm runtime to support pre-compute fp16 related functions on x86. The implementation is adopted from compiler-rt.
Move third party dependencies to third_party. We need to run
git submodule update --recursive  after update

Let us rename third_party to 3rdparty


Building with WA CBPS Flag but no compliance date or EUIt

check to see how many buildings have this situation - flagged for CBPS but neither relevant variable to display

┆Issue is synchronized with this Asana task

There are ~30 of these.
SELECT * FROM PUBLIC.seattle_buildings_master_copy_for_update2020 WHERE year = 2020 	AND cbps_flag IS TRUE 	AND cbps_date IS NULL 	AND cbps_euit IS NULL
Revisit how to clean up in 2022


Test for thin form control borders

Closes #

Changelog

New

Changed

Removed

Rollout strategy

[ ] Patch release
[ ] Minor release
[ ] Major release; if selected, include a written rollout or migration plan

Testing & Reviewing

Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

I didn't touch checkbox or radio borders because it doesn't look like we included those in our test. Let me know if that was a mistake on my end.

To test this locally, you can add the following rules to the GlobalStyle in BaseStyles
  :root {
    --control-borderWidth-thin: 0.5px;
    --control-borderColor-rest: #8e969f;
  }

Pausing on this test


Formatter configuration file

Add a configuration file, similar to rustfmt.toml, such that the formatter can be configured. Low-hanging features:

Init new formatting file, with defaults.
Option: tabs vs spaces
Option indent size

Option: tabs vs spaces

At the risk of flamewar, IMO tabs should never be an option, and the formatter should always replace them with spaces.

I wouldn't be inherently opposed to an more-opinionated formatter for some things like tabs vs spaces.

Option: tabs vs spaces

At the risk of flamewar, IMO tabs should never be an option, and the formatter should always replace them with spaces.

It could be worth considering taking this even further and keeping the formatting configuration options as minimal as possible generally.
I remember the rustfmt configurations being useful early on while everyone was still experimenting with what standards to settle on, but I think we should consider omitting it altogether if we can before too many people start relying on it. It would keep our overhead for the formatter lower, and help to maintain a clear standard for CI checks, consistent readability between different projects, etc. My intuition is that most folks are happy to sacrifice a few bits and pieces of personal preference in favour of a clear, decent-enough-looking, ecosystem-wide standard - though I could be wrong!
At the very least, we should make sure we have a strong motivation for custom formatting configuration before committing to something like this.


Flags (specifically, problems relating to them)

Dick Nipple types are incomplete, missing newer types beyond human, equine, feline and canine.
Also, is item flag editing going to be a thing? I see it being mentioned ever since the start, and I've delved into the save itself on minerva, but I don't seem to be able to change the flags on items. Or is this a set value built in-game instead, and not possible on the save side? Wait just saw this was resolved as a non-fixable. Potential solution found. It seems that the items are "standard", but only if they do not have the boolean "hasRandomProperties". Could it be possible to retroactively add the boolean to the item? Currently testing if the flags remain after storage, restart of game with restored save state, and other ideas.
Last, might I suggest a reorganization of the flags for body parts? Perhaps group them by changeable attributes, like the nubby/ribbed phallus type, amorpheous/digitgrade/tendril legs, etc.

"Could it be possible to retroactively add the boolean to the item? "
No.
Only the items that have that flag in the source code will work the way you are expecting.
As for organization, what are you talking about?

"Only the items that have that flag in the source code will work the way you are expecting"
Hm, alright. Perhaps the effects don't get triggered, but the stats do show up on player equipment. Interesting effect though. Not pushing any further on this.
For organization, I would kindly ask you to look at the way the flags for the legs, penis and vagina are sorted, or rather, the lack thereof, unless there is a pattern, but I am missing it? Specifically, for example, perhaps either group "Nubby" and "Ribbed" in one subcategory, since they don't actually seem to both get stated on the appearance tab. Just a suggestion.

Whether any particular flag shows up or not in a description is completely at the mercy of the game engine and could technically change at any time.
The editor just lets you add the flags to the part from the list.
So trying to maintain a list of categories like that wouldn't make sense.


Superstream extension: Error when Searching

Steps to reproduce
When we try to search for a movie/show in the "Superstream extension" it shows a JSON error message.
Expected behavior
Earlier it showed the search results normally.
Actual behavior
The following Error shows up:
"Unexpected JSON token at offset 45: Expected start of the array '[', but had ':' instead JSON Input: ..... ":" search sever error ","data": {"content"."\r\n<.....
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 12
Device
Samsung A72
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Fixed automatically.

nope its still give error


How do I...

Hey!
I need to open an image with multiple faces, find the specified one among them and detect its emotion. Is it possible? If it is, how?
Thanks for the help.

1- find retinaface to extract faces: https://github.com/serengil/retinaface
2- apply facial recognition for extracted faces with deepface
3- find the emotion of the recognized one


constcombine pass optimizing unary and binary operators

Description
Closes https://github.com/FuelLabs/sway/issues/4708.
This PR does NOT change the IR generation for expressions. Instead, it implements constant folding for unary and binary operators. The idea is that  IR generation will be kept simple and stable, and all optimizations are pushed onto the opt passes.
To better test this, this PR also changes some implementation details on IR generation tests:
1 - filecheck directives are now collected and tested in groups. This allows a new "::check-ir-optimized::", that can be configured with the passes you want to test, or just fallback to "o1".
2 - filechecker explanations are now pretty-printed, and can be printed when verbose=true. This allows the test to be checked more easily.

breaking label because of this change: https://github.com/FuelLabs/sway/pull/4780/files#diff-b40fc3999876b0ff447de112b508250c7d0e7993f9023db29ddce8590d9b2286L5
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

Instead, it implements constant folding for unary and binary operators. The idea is that IR generation will be kept simple and stable, and all optimizations are pushed onto the opt passes.

So this optimizes patterns of the kind in #4708.
fn main() -> bool {
    let result: u64 = 0 + 1 + 2 + 3 + 4 + 5;

But what if we have const foo = 0 + 1 + 2 + 3 + 4 + 5 declared globally? That wouldn't be const-evaluated right?
While I'm not entirely against this approach, aren't we duplicating const-evaluation logic?

But what if we have const foo = 0 + 1 + 2 + 3 + 4 + 5 declared globally? That wouldn't be const-evaluated right?

It would be const-eval-ed, because it is a "constant declaration".

While I'm not entirely against this approach, aren't we duplicating const-evaluation logic?

Partially. The intersection today is quite small actually.
The question can also be: "can we completely replace const-eval by the optimizer?" Although this may be possible, there is the chance that the expression do not evaluate to const and the optimizer would need to fail the whole compilation. Besides, we would need to run the optimizer even on debug builds.
So that is why I do see them as different.
My rationale in this case was:
1 - const declarations must evaluate expressions to constants. So the const_eval module folds as much as possible to constants and it guarantees that it is safe to do so. Failing the compilation when this is not possible.
2 - If we try to solve "constant folding" before generating the IR, we just need to const_eval every expression and check if they fold to a constant or not. This will tremendously increase compilation time.
We can alleviate this by limiting const_eval to initializations only. We will still have a little bit of performance impact, and the issue of constant folding not propagating to other obvious expressions like function calling or not inlining calls etc...
This means that the "expected behaviour", constant folding mixing well with other optimizations, will only be achieved with a fully complete "constant folding" inside the optimizer.
3 - Thus, makes more sense to do no optimization on IR generation. Having the benefits of faster compilation and a more stable IR.

If we try to solve "constant folding" before generating the IR, we just need to const_eval every expression and check if they fold to a constant or not. This will tremendously increase compilation time.

Likely not. Most const-folding will fail early, I wouldn't expect this to significantly impact compile time at all. The advantage being that we'll have all const-folding done in one place.
@IGI-111 @anton-trunov any thoughts?

I've been wondering if we're going the wrong way and doing too much too early actually. Maybe we should just check const-eval-ness using semantic checks (and syntax markers) and let the optimizer do it's thing.
Ultimately we care more about binary size than we do about compile time but there might not be tension.
What do the benchmarks on this say?

we should just check const-eval-ness using semantic checks (and syntax markers) and let the optimizer do it's thing.

Checking for that pretty much is as good as doing the optimization itself. You actually need to evaluate and see that we have a valid const (for example, you can't know something might overflow until you evaluate). So this means that we need to do all of this at the early stage. Why not use the same code right there for non-const expressions too? If it can't be easily reused, then I agree that doing it later like this is the right way.
btw, I'm not strongly opposed to this, so I wouldn't mind if we merge this PR (after a proper review). More importantly, the algorithm (both new and existing ones there) are O(n^2), but easily need not be. We should file an Issue for that.

Alright, I think we can review and merge this. But I'll want to see benchmarks for further changes.

Is there an advantage of the newly added #cfg[test] tests? With the improvements to ir_generation tests in this PR, it appears that they subsume the in-source testing code added. So we could just move the tests to that single infrastructure rather than doing similar testing in two places.
The improvements to ir_generation tests are nice !. Thank you.
Everything else looks good to me. Once we converge on my point above, I'll approve.

You mean the tests inside sway-ir/src/optimize/constants.rs and sway-ir/src/optimize.rs?
I think they are useful there because tests get much more dense and localized. A simple "find all references" find tests, for example.

Yes, I mean those tests. Those tests (or specifically the testing code) do not cover anything that isn't covered by the ir_gemeration tests. So this testing may as well be done there. I agree about the searchability but that's coming at the cost of duplication of testing code. Maybe somehow improve searching for the existing code itself?

They are testing more cases tough.
I would need to test all edge cases, all operators etc... on the IR generation tests.

They are testing more cases tough. I would need to test all edge cases, all operators etc... on the IR generation tests.

Hmmm ok. btw, you can refactor the two functions to avoid duplication of some of the code.

Have just one function that takes an Option of expected result. If it's Some  then it's supposed to succeeded.
or have three functions with the common code in one


Multiple clients to send Push to multiple Parse Apps?

I need to send push notifications to two different parse apps, is this possible to do? Would something like this produce unexpected behavior or side effects that I should know about?
Parse.Init API_KEY_1
Parse.Push
Parse.Init API_KEY_2
Parse.Push

@dominostars sorry about the slow response.
Because the client is module-level, you can only have one at a time. but, calling Parse.init again with a new api key/secret is safe.

see #165, this is possible in dev and will be available in prod soonish


Pin library version/disable version checks

Is your feature request related to a problem? Please describe.
I'm frustrated with the hint messages asking me to update some libraries.
I believe that there are multiple valid use cases for Scala scripts where its intentional to pin libraries to a certain version and a message to update could be misleading. For example:

Bug reproductions
Library usage examples (in the library repo, so tied to a particular tag/commit)
Benchmarks/library comparisons
Code that needs to be reproducible (e.g. scientific code, course/book materials)
Libraries that have a LTS channel
Libraries that changed something in a patch

Describe the solution you'd like
I would like some way to express that a library version should be pinned. Also, it would be nice to guarantee that the check was completely skipped (no "phoning home") when all versions are pinned.
Some potential solutions:

A pinned modifier to the library directive, such as //> using lib pinned "org::name:version"
Scala-cli could assume that //> using lib "org::name:version" means a pinned version and use the ^, ~ and * modifiers in the version number when users actually want to use the latest version. In this case, the hint wouldn't be needed anyway.
Have a --pinned flag in scala-cli, but this would be less flexible.

IMO pinning should even be the default. Perhaps there should be an explicit command upgrade or something that suggests all the stuff. But the default should not be to phone home on every run.

On one hand yes if we want to be as careful as possible, but on the other hand this feature would become unnoticed by 90% of users, so I would rather avoid doing that.
I think at a very minimum we should allow to disable this globally with https://github.com/VirtusLab/scala-cli/issues/1825
I think maybe //> using lib pinned "org::name:version" should be done later on as a final solution.
As a current workaround you should be able to do:
scala-cli config actions false

but that will disable all actionable diagnostics (we do not have many yet)


Cherry pick handle metadata

Summary
Cherry pick 720ac220704a49d878de633ef4a5efc77f44f88d
Release Note
NONE

The file .circleci/config.yml is in the blocklist for external contributors. Hence, these changes are not tested by the CI pipeline active until the build is re-triggered by a core committer or the PR is merged. Please be careful when reviewing it.
/cc @mattermost/core-security @mattermost/core-build-engineers

Wrong branch


Please, I need serious help!

I've been trying to configure my Postal SMTP for almost a week now, and apparently it has driven me nuts!
When I send a test message with Mautic to mail-tester.com, mail-tester.com says "you're not fully authenticated", further stating:
"[SPF] psrp.bountymarketers.com does not allow your server <IP_ADDRESS> to use<EMAIL_ADDRESS>- You do not have a SPF record, please add the following one to your domain psrp.bountymarketers.com:
v=spf1 a mx ip4:<IP_ADDRESS> ~all
Verification details:
dig +short TXT psrp.bountymarketers.com :
dig +short SPF @<IP_ADDRESS> psrp.bountymarketers.com :
spfquery --scope mfrom --id<EMAIL_ADDRESS>--ip <IP_ADDRESS> --helo-id server.bountymarketers.com :
none
psrp.bountymarketers.com: No applicable sender policy available
psrp.bountymarketers.com: No applicable sender policy available
Received-SPF: none (psrp.bountymarketers.com: No applicable sender policy available) receiver=ns303428.ip-94-23-206.eu; identity=mailfrom<EMAIL_ADDRESS>helo=server.bountymarketers.com; client-ip=<IP_ADDRESS>
"

what does that even mean? I already setup the Return Path you guys asked me to add to my domain, including the SPF record you asked to add in my DNS!

It didn't end there...
mail-tester.com also stated: "We didn't find a mail server (MX Record) behind your domain name psrp.bountymarketers.com - You may want to publish a DNS record (MX type) for the domain name psrp.bountymarketers.com or use a different bounce email address."
I have literally tried correcting this a hundred times, but can't because I don't even understand all these technical stuff.
If you run an MX Lookup on mxtoolbox.com on my domain (bountymarketers.com), you will notice it saying:
"mx.server.bountymarketers.com | {No A Record}"
If you run an MX Lookup on mxtoolbox.com on psrp.bountymarketers.com, it says: "DNS Record not found"
Also, I need your help to setup incoming emails into my postal, and also to setup Routing.
I'm willing to pay to have this setup for me please!!!!!!! Thanks.

Regarding your SPF query, I think your DNS records aren't quite set up right. Compare yours (top) to one of ours (bottom) and see how we refer to the main SPF record

This may explain your other issues, you could try referring to the wiki for the records that you need to fully link to your Postal server https://github.com/postalhq/postal/wiki/Domains-&-DNS-Configuration

Hi @byte-entrepreneur please reach me directly maybe I can help.

@Igcorreia thank you for lending a helping hand. I had someone fix the issues on the day I posted this issue.
@willpower232 Thanks also.
BTW, how can I change my Postal password?

Presuming you are referring to an admin account, the best way is to configure Postal to send emails, either via itself or another SMTP service in the postal.yml config file, and then use the forgotten password link on the login form.


Missing krb5.h header file when compiling on Windows

After following the instructions provided to compile the library in Windows, I keep getting a build error indicating the the krb5.h file cannot be found:
Build FAILED.

"C:\Users\rprigat\Desktop\node-krb5-master\build\binding.sln" (default target) (1) ->
"C:\Users\rprigat\Desktop\node-krb5-master\build\krb5.vcxproj.metaproj" (default target) (2) ->
"C:\Users\rprigat\Desktop\node-krb5-master\build\krb5.vcxproj" (default target) (4) ->
(ClCompile target) ->
  c:\users\rprigat\desktop\node-krb5-master\src\krb5_bind.h(2): fatal error C1083: Cannot open include file: 'krb5.h':
No such file or directory (compiling source file ..\src\krb5_bind.cc) [C:\Users\rprigat\Desktop\node-krb5-master\build\
krb5.vcxproj]
  c:\users\rprigat\desktop\node-krb5-master\src\krb5_bind.h(2): fatal error C1083: Cannot open include file: 'krb5.h':
No such file or directory (compiling source file ..\src\module.cc) [C:\Users\rprigat\Desktop\node-krb5-master\build\krb
5.vcxproj]
  c:\users\rprigat\desktop\node-krb5-master\src\gss_bind.h(2): fatal error C1083: Cannot open include file: 'krb5.h': N
o such file or directory (compiling source file ..\src\gss_bind.cc) [C:\Users\rprigat\Desktop\node-krb5-master\build\kr
b5.vcxproj]

    0 Warning(s)
    3 Error(s)

Time Elapsed 00:00:02.05
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\rprigat\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\rprigat\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--verbose"
gyp ERR! cwd C:\Users\rprigat\Desktop\node-krb5-master
gyp ERR! node -v v10.12.0
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok

I am using node 10, python 2.7 and installed the VS 2017 Community with the relevant C++ workload.
Any idea why this might happen?

I also have this issue. Does anyone have the file that we could manually add it in? Has this project been abandoned?

I have the same Issue. When I install MIT Kerberos in windows, There are no header files in any folders. Only windows .dll and .exe files.

If you've used the graphical installer, the SDK is an option, you have to manually select it to have the headers installed.
To have all options installed, run from powershell:
.\kfw-4.1-amd64.msi /qn/norestart ADDLOCAL=ALL
Or if you use chocolatey:
choco install mitkerberos --ia="ADDLOCAL=add" (error 3010 is normal, it means a reboot is required)
Moreover, be sure to install MIT Kerberos to the default location since the node-gyp will look in this path.
(As defined in binding.gyp )

@Guillaume-Boutry Thank you for helping out. If you estimate the addition relavant, could you share those instructions in the readme.

@wdavidw
I will.
I also have a vagrantfile with an Ansible provisionning setup that installs a Windows 10 box with all the compilation tool needed. It could serve at least as an example or to devs to be able to test the build on window. Do you want me to add it to the repository ?
I would add it in
/vagrant
--/Vagrantfile
--/provisionning.yaml

Yes, please!

Hi,
Answers were provided.
Don't hesitate to look in #28  (vagrant file + ansible playbook setting up a Windows VM) or in #33 (Github job building Windows) to check how we install MIT Kerberos with the SDK.
Closing this issue, don't hesitate to open another one if you have any issue.


Discuss: Kotlin common port

I really like your Graph building API and was wondering whether you'd like contributions aimed at making large chunks of the API available as Kotlin common modules.

[Kotlin Multplatform Programming] Working on all platforms is an explicit goal for Kotlin, but we see it as a premise to a much more important goal: sharing code between platforms.

each project contains two source sets, commonMain and commonTest, where one can place all the code that should be shared between all of the target platforms

I ask because I'm using Kotlin-multiplatform for a compiler that

compiles to Java so I can include it in IDE plugins for IntelliJ/Eclipse
compiles to a Linux binary command-line tool
compiles to JavaScript so I can produce a web-site that let's users play with the language from their browser

It'd be nice if shared parts of the compiler to be able to describe themselves as DOT graphs for easy debugging, ideally via a nice builder API like you've developed, but I only need to generate an actual image in Java code since the IDEs I'm targeting are Java based.

If I were to fork the project and do the below, would you be interested in possibly re-integrating that at some future point?

Convert the Java files into Kotlin using the Java ⇒ Kotlin converter.
Make it build as a Kotlin multiplatform project.  This probably requires switching from Maven to Gradle :(
Use expect to move the parts that depend on JVM-only facilities like java.io and ProcessBuilder out of the main codebase.
Introduce actual stubs that raise UnsupportedOperation for other backends including JS, Linux native, and maybe android.
Add JUnit tests written as .java files, not .kt, to ensure Java API stability.

(I notice you provide a Kotlin DSL so apologies if I'm over-explaining the language.)

Hi there, sorry for the late answer.
If I understand correctly, you propose to convert the "pure" part of the library (API and the generation of a dot file, the attribute and model, maybe parse packages) into a kotlin multiplatform module?
The rest of the project (i.e. calling dot to produce an image) could stay as it is now and use the JVM impl of the new multiplatform module.
I think this is interesting and I love kotlin, so I would be glad to integrating a fork into the main project if it works seamlessly.
Probably, it wouldn't even need expect clauses because the pure packages should not have any IO or other platform dependent code.

Probably, it wouldn't even need expect clauses because the pure packages should not have any IO or other platform dependent code.

Yeah.  I could put the non-pure packages under src/jvmMain/ and skip expect/actual that way.

I would be glad to integrating a fork into the main project if it works seamlessly.

I've worked with Kotlin enough that I'm pretty confident I can get an accurate port, but there's non-purely-code issues that might have seams.

Do you guarantee bytecode compatibility?
For example, just porting unit tests is not going to catch problems when a Java class has a method with an internal JVM signature like
parse(java/io/Reader)

If the Kotlin version produced a class with
parse(java/io/Readable)

it would not present a problem for any Java code compiled with a new version, but would cause a bytecode verifier error for classes compiled against an old version but loaded alongside a new version.
I can try to avoid such differences, but without building new test tooling have low confidence that I would catch them all.

How tolerant are you of seams outside the code, e.g. in the build system?
I'm less confident of my ability to do it within maven.
Getting Kotlin multiplatform working without the gradle plugin is going to be tough.
Also, Kotlin has public, private, internal.  The last does not really map to Java's package private.  If you rely heavily on package-private to keep separate things separate, then I'd probably have to put together a multi-platform & multi-project build to recreate those divisions.

Maybe the best way to proceed would be for me to migrate a small set of packages that have no dependencies on the rest of the code so you can see what it affects.
I'm not super familiar with the layout of the code, but
$ find graphviz-java/src/main/java/guru/nidi/graphviz/{model,attribute,parse} -name \*.java \
    | xargs egrep -n 'import *(static *)?guru' \
    | egrep -v '[.](attribute|model|parse)'
graphviz-java/src/main/java/guru/nidi/graphviz/model/package-info.java:19:import guru.nidi.graphviz.NonnullApi;
graphviz-java/src/main/java/guru/nidi/graphviz/attribute/package-info.java:19:import guru.nidi.graphviz.NonnullApi;
graphviz-java/src/main/java/guru/nidi/graphviz/parse/package-info.java:19:import guru.nidi.graphviz.NonnullApi;

suggests that (...attribute, ...attribute.validate, ...model, ...parse) might be a good place to start.
The validators and model have a few external dependencies on loggesr, which I could actual/expect out:
https://github.com/mikesamuel/graphviz-java/blob/c664cabd0f68d2d16d9d5776b68f4d11f24dd0ee/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/validate/AttributeValidator.java#L102-L105
https://github.com/mikesamuel/graphviz-java/blob/c664cabd0f68d2d16d9d5776b68f4d11f24dd0ee/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/validate/ValidatorMessage.java#L36
SVGElementFinder seems to use java.io and javax.xml as implementation details.  The JS backend can use XMLDocument when on the browser with CSS selectors instead of XPath, but I might only be able to provide a best-effort port of this initially.
https://github.com/mikesamuel/graphviz-java/blob/c664cabd0f68d2d16d9d5776b68f4d11f24dd0ee/graphviz-java/src/main/java/guru/nidi/graphviz/model/SvgElementFinder.java#L34-L58
Lexer and Parser use java.io classes in public APIs but not in ways that should cause problems.
https://github.com/mikesamuel/graphviz-java/blob/c664cabd0f68d2d16d9d5776b68f4d11f24dd0ee/graphviz-java/src/main/java/guru/nidi/graphviz/parse/Lexer.java#L39-L43

Thanks for the thorough analysis, that makes me positive regarding the quality of your PR ;)

Do you guarantee bytecode compatibility?

No.

How tolerant are you of seams outside the code, e.g. in the build system?

I'm aware that for multiplatform projects, gradle is a must. As long as you can setup it (I can't), I'm fine.
A multi project setup would also be ok and maybe easier to start with.
As for package-private visibility, I heavily rely on it. Visibility inside the project itself is not so important, but I definitely don't want to see java users artifacts they don't see now.

Maybe the best way to proceed would be for me to migrate a small set of packages that have no dependencies on the rest of the code so you can see what it affects.

I agree. attribute, model and parse have no dependencies on any of the other packages.
SVGElementFinder is currently only provided as a helper and is not used inside this project, so I could even live without a working impl for it.


[Map] DM-Aztec

Hash: 344dbc6f0db03d4f578bc25cb8326afe79ed9207
Current name: DM-Aztec
The author's name actually appears as  Ben Burkart "TinkerBell" in the readme

Duplicate, updated.


Update compare-experiments.md

Typo: should be CSV, not CVS

Thank you! Merged. :slightly_smiling_face:


calculate producer metrics when state engine is not available

This is a fix for issue reported in https://github.com/Netflix/hollow/pull/95#issuecomment-333373011

👍

thoughts on this @kineshsatiya ?


GO:0034938 pyrrole-2-carboxylate monooxygenase activity

id: GO:0034938
name: pyrrole-2-carboxylate monooxygenase activity
namespace: molecular_function
def: "Catalysis of the reaction: pryrole-2-carboxylate + NADH + O2 + H+ = 5-hydroxypyrrole-2-carboxylate + NAD+ + H2O." [UM-BBD_reactionID:r0968]
xref: EC:1.14.14.-
xref: UM-BBD_reactionID:r0968
is_a: GO:0016712 ! oxidoreductase activity, acting on paired donors, with incorporation or reduction of molecular oxygen, reduced flavin or flavoprotein as one donor, and incorporation of one atom of oxygen
This is RHEA:30351 = EC:<IP_ADDRESS> (pyrrole-2-carboxylate monooxygenase):
H(+) + NADH + O2 + pyrrole-2-carboxylate = 5-hydroxypyrrole-2-carboxylate + H2O + NAD(+)

[x] Update EC xref
[x] Add RHEA xef
[x] Use RHEA for def
[x] Change parent to match EC, i.e. change to GO:0016709 oxidoreductase activity, acting on paired donors, with incorporation or reduction of molecular oxygen, NAD(P)H as one donor, and incorporation of one atom of oxygen

Hi @sjm41
Next time if you fix a NAD-dependent term, would you please edit the label as we agreed?
I updated to pyrrole-2-carboxylate monooxygenase (NADH) activity (from pyrrole-2-carboxylate monooxygenase activity)
Thanks, Pascale


illuminati-processor not work - illuminati-switch related issues.

When checking a illuminati-switch value.
The ILLUMINATI_SWITCH_VALUE default value is false.
Because, If The illuminati-switch is not active.  Always return false.
so sendTOIlluminati not work.

fixed


SubState and Equatable????

#283 Hi all, please help me how to compare the SubState conform Equatable protocol. This is my struct SubState:

struct EventHomeState:StateType {
var events:[Event] = []
var loadingType:LoadingType = LoadingType.none
}

I want my subcriber only receive newState method when events array have changed but I don't know what is EventHomeState will compare with == operator??

Looks similar to your old problem (#283):
// assuming
struct AppState: StateType {
    var eventHomeState: EventHomeState
}

// and
extension Event: Equatable { }

store.subscribe {
    $0.select { appState in
        appState.eventHomeState
    }.skipRepeats { lhs, rhs in
        lhs.events == rhs.events
    }
}

Yes, the problem still not fix. I will try this way. @DivineDominion thank you very much

@luongnhatlam how did this turn out?

Oh since I implement incorrecly Equaltable protocol. Thank you very much. At the moment, it was fixed


no-extra-semi

Current dependencies on/for this PR:

main

PR #122   👈

This comment was auto-generated by Graphite.


[FR] How to setup Unbound in Windows

Current behavior
Is there a current behavior that the feature relates to?
If yes, would you wish the current behavior to change?
Describe the desired feature
Create a wiki or documentation showing how to setup unbound in Windows, currently there is no documentation for windows just for linux
Potential use-case
Describe how you see this feature being useful to other Unbound users.
This will help others users that has windows installed configure Unbound easily and with no issues.

There is no wiki or current documentation next to the Linux descriptions. Here are some links to the existing documentation on the topic.
README on Unbound on Windows
https://github.com/NLnetLabs/unbound/blob/master/winrc/README.txt
PDF on Unbound on Windows
https://nlnetlabs.nl/documentation/unbound/unbound-windows-manual-02.pdf
man page for Unbound, in general.
https://nlnetlabs.nl/documentation/unbound/unbound/
This documents the options for unbound configuration, they are the same also for other systems.

Is it possible on windows as service to change the location of the config file (to NOT be C:\Program Files\Unbound\service.conf) ?

Running it locally from the command promt worked.
I tried few times installing as service, but it had always searched for the config in the default folder in program files.
Eventually - it worked - i guess the unbound-service-install.exe app did the trick. It just had to specify the full path to the config file to be used by the service (this is for stand alone version - without installation)
Thanks!


Unsubscribe from all interests

Is there any way we can unsubscribe from ALL interests, rather than a specific one?

+1

Yes We NEED THIS !!!
even in android, i unsubscribed an interest, but still got the notifications

I think it should be doable by tracking subs in the client, and subscribing one by one. I'm not sure whether the backend supports bulk unsubscribes at the moment.
@blastering66 I think your problem is with the unsubscribing from a single interest, right? This issue is for unsubscribing from all interests that a user currently has. Can you please either create a new issue here in github for that or open a support ticket here and I can look into it for you: https://support.pusher.com/hc/en-us/requests/new
Thanks

Closing due to age

@kn100 it's old because nobody from Pusher ever responded.  Can anything be done about this?  It's still relevant to us.

Hi,
I'm sorry for the slow response! I'll look into this tomorrow.

In fact, reading into this, we have actually done a load of work on a new, much better implementation of push notifications! You can check it out at https://pusher.com/beams - this is where our active development effort is focussed for the moment.


Update scalapb-runtime to 0.11.8

Updates com.thesamet.scalapb:scalapb-runtime from 0.11.0 to 0.11.8.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.thesamet.scalapb", artifactId = "scalapb-runtime" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #109.


Summarizer keep going when summarizer container is closed

Based on looking at this session, fork from https://github.com/microsoft/FluidFramework/issues/6027:
union Office_Fluid_FluidRuntime_*
| where Data_containerId == "efcce1f7-0806-4523-8f6c-38785a657835"
| project Event_Sequence, Event_Time, Data_eventName, Data_error, Data_reason
| order by Event_Sequence asc
Client goes through multiple summarize attempts in RunningSummarizer.trySummarize() while summarizer container is already closed.
That results in a bunch of "Storage service disposed!!" errors that should be non-retryable, I think.
Here is the sequence:
779	2021-07-28T06:05:08.858Z	fluid:telemetry:Container:ContainerClose
780	2021-07-28T06:05:08.86Z	fluid:telemetry:Summarizer:Running:Summarize_cancel		maxTime
782	2021-07-28T06:05:09.192Z	fluid:telemetry:OdspDriver:getVersions_end
791	2021-07-28T06:05:10.273Z	fluid:telemetry:OdspDriver:fetchSnapshot_cancel	Error 404
792	2021-07-28T06:05:10.28Z	fluid:telemetry:Summarizer:Running:RefreshLatestSummaryGetSnapshot_cancel	Storage service disposed!!
793	2021-07-28T06:05:10.284Z	fluid:telemetry:Summarizer:Running:Summarize_cancel	Storage service disposed!!	retry1
794	2021-07-28T06:05:10.605Z	fluid:telemetry:OdspDriver:getVersions_end
795	2021-07-28T06:05:10.917Z	fluid:telemetry:OdspDriver:fetchSnapshot_end
796	2021-07-28T06:05:10.92Z	fluid:telemetry:Summarizer:Running:RefreshLatestSummaryGetSnapshot_end
797	2021-07-28T06:05:10.924Z	fluid:telemetry:Summarizer:Running:GenerateSummary	disconnected
798	2021-07-28T06:05:10.925Z	fluid:telemetry:Summarizer:Running:Summarize_cancel	disconnected	retry2
799	2021-07-28T06:05:10.927Z	fluid:telemetry:Summarizer:Running:FailToSummarize
I'm not sure why we are getting 404, but we should look into how we handle non-retryable errors in this whole flow. On one hand, some of them (on summary upload) are not really fatal as they might be due to us not having valid info on last summary.
On another hand, fetching snapshot returning 404 likely means that user lost permissions to a file?
This is likely orthogonal to the main problem of this code bailing out sooner on container closure.

Same for containerId = d27031fd-eac2-4b53-a8c0-36e52e2d4c40.
I have not looked at how often it happens though.

Please see #7023 for more examples (closing it as a dup of this issue).

Addressed by PR #7230


[Edit profile] Wrong buttons alignment on Cancel pop-up when screen resolution is 390 - 575 px (Ua)

Environment: Windows 10 Home x64; browsers: Google Chrome v. 84.0.4147.135; Firefox v. 79.0; Microsoft Edge 44.19041.423.0.
Reproducible: always.
Build found: commit c40865d.
Preconditions
User should be logged in https://ita-social-projects.github.io/GreenCityClient/#/profile/4325 with credentials (e.g., email<EMAIL_ADDRESS>password: Mysunnytest#1).
Steps to reproduce

Select ‘Uk’ in the language dropdown at the top right side of page.
Go to 'My habits' and click on 'Edit icon' at the top left side of the profile section.
Click the ‘Cancel’ button at the bottom of page.
Press F12 and set resolution 390 px.
Set resolution 575 px.
Check the alignment of controls on Cancel pop-up.

Actual result
The buttons are not aligned regarding mockup. This bug is reproducible on resolutions in the range of 390 - 575 px.

Expected result
The buttons alignment on all screen resolutions < 576 px should be the same as on the mock-up ‘Cancel popup 320’.

User story and test case links
User story #1009
Test case https://jira.softserve.academy/browse/GC-1538

Alignment is correct. The buttons have different height.


Update API documentation

We should update the API documentation to be more complete.

Closing the issue since it is too general


Image zoom increaset when rotate image

Step

Clear crop
Rotate image 2 times in any direction

#445

Hey there, I fixed it for my own needs. The basic idea is (for strict mode), to manipulate the cropbox dimensions before rotating, then rotate the image, set it to the right position and then manipulate the cropbox dimension back.
I just have a button which rotates an image in 90° steps. My fix has not been tested for other purposes.
And here some code: http://stackoverflow.com/a/32938693/2689455


[Native Filter] default number filter is not showing properly when user choose max/min in single value

When user setup a default value for number filter, then user select single value for the number filter and change the number to be maximum or minimum, the default value did not stay on the selected value.
How to reproduce the bug

Go to native filter and setup a number filter
Select single and choose max or min
Select default value for the filter and save changes
Go back Native filter configuration, and check default value
Change the single value and save
Check the default value on native filter on dashboard view

Expected results
1, in native filter, default value will be in <= single value or >= single value range
2, in dashboard view, native filter default value will reflect the change
Actual results
1, default value bar will change to max or min number, not reflecting the correct range
2, in dashboard view, native filter default value did not reflect the change
Screenshots
https://user-images.githubusercontent.com/81597121/156213408-097c4e05-268f-414a-a7dc-9b2f55799790.mov
Environment
(please complete the following information):

browser type and version:
superset version: master
python version: python --version
node.js version: node -v
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

I face the same issue. Please fix it.

@volhahedranovich which version of Superset are you running, just so we know. I'm guessing this IS still an issue in Superset 3.x, but since it's a bit of an edge case, I doubt any core contributors will be getting to it anytime soon. If anyone reading this wants to open a PR, we'll be happy to review it.

Ohhh... actually, I just realized that comment was from Jan 2023, where I thought it was from 2024. Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still seeing this as a problem in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


v1.7 release

New pull request following from #469 discussion

@IanLee1521 want me to merge this? If not :+1: from me.

Built and uploaded the new release to pypi (https://pypi.python.org/pypi/pep8/1.7.0)


Add metrics to SDK

This pull request changes the SDK format, includes token and cost to the playground

@bekossy can you please test this (in case not done) with chat applications created from the CLI with SDK2


Glb import error

Godot version
v4.0.stable.official [92bee43ad]
System information
Windows 10, 64bit
Issue description
First, please run the reproduction project.
When I run the test scene, It report error like follow and app exited.

And I don't know where was error.
Steps to reproduce

Open the reproduction project.
Open scene 'user:\xd\XActors\Weapon\Gun\Rifle\XRifle.tscn'
Assign the scene's Meshinstance's mesh with 'user:\xd\XActors\Weapon\Gun\Rifle\XRifle01.res'
Run the scene
Opps, the scene exited.

Minimal reproduction project
GlbTest.zip
NOTE: The project that I provided was picked up from my owner project. Sorry I can't provide a minimal reproduction project because I don't know which step cause this issue. I was test like this:
Create a project, import the glb file, create meshinstance and assign mesh, but there was not error!

ADDTION: I was test again, found if save mesh file with *.tres instead *.res, where was no error.

Hello, I'm try debug and found maybe error occured in ResourceLoaderBinary::open.

When open Rifle.glb, it's external_resources was Rifle.glb and Refile02.res.
IMO, It's should Rifle01.res and Rifle02.res.
Sorry I'm not familiar with godot's source and C++, but I wish this issue can resolve because it break my project.

And in uid_cache.bin, I found where not have Rifle01.res.

And in uid_cache.bin, I found where not have Rifle01.res.

Hi, I'm try debug again, and found res://xd/XActors/Weapon/Gun/Rifle/Rifle.glb and res://xd/XActors/Weapon/Gun/Rifle/Rifle01.res was return same uid in EditorFileSystem::_scan_new_dir.
I wish it can some help for resolve this issue.

Oh, I open Rifle.glb.import and delete line uid="uid://<data>", then reopen project, everything woks well. (It will generate a another valid uid)

Oh, I open Rifle.glb.import and delete line uid="uid://<data>", then reopen project, everything woks well. (It will generate a another valid uid)

v4.1.stable.mono
I'm facing the same issue. It seem that every time the mesh is reimported, the MeshInstance3D loses it's reference to the *.res-file. So when the game is started errors are thrown:
E 0:00:00:0837   parse_variant: Can't load dependency: res://Vehicle1.glb.
  <C++ Error>    Method/function failed. Returning: error
  <C++ Source>   core/io/resource_format_binary.cpp:458 @ parse_variant()

E 0:00:00:0844   parse_variant: Error when trying to parse Variant.
  <C++ Error>    Condition "err" is true. Returning: ERR_FILE_CORRUPT
  <C++ Source>   core/io/resource_format_binary.cpp:502 @ parse_variant()

E 0:00:00:0851   parse_variant: Error when trying to parse Variant.
  <C++ Error>    Condition "err" is true. Returning: ERR_FILE_CORRUPT
  <C++ Source>   core/io/resource_format_binary.cpp:489 @ parse_variant()

E 0:00:00:0867   _load: Failed loading resource: res://.godot/imported/Vehicle1.glb-4d75147c5cfdb72f198826b41870917e.scn. Make sure resources have been imported by opening the project in the editor at least once.
  <C++ Error>    Condition "found" is true. Returning: Ref<Resource>()
  <C++ Source>   core/io/resource_loader.cpp:273 @ _load()

E 0:00:00:0879   _load: Failed loading resource: res://Vehicle1.glb. Make sure resources have been imported by opening the project in the editor at least once.
  <C++ Error>    Condition "found" is true. Returning: Ref<Resource>()
  <C++ Source>   core/io/resource_loader.cpp:273 @ _load()

E 0:00:00:0890   _parse_ext_resource: res://Main.tscn:8 - Parse Error: [ext_resource] referenced non-existent resource at: res://Vehicle1.glb
  <C++ Source>   scene/resources/resource_format_text.cpp:162 @ _parse_ext_resource()

Minimal example
glb-mesh-import.zip


link to data

It was really non trivial to find the link to http://nilc.icmc.usp.br/macmorpho/. It would be interesting to have it explicited mentioned in the README.

The MacMorpho corpus is independent from nlpnet (the system could be trained in any annotated corpus). The README file points to http://nilc.icmc.usp.br/nlpnet/models.html, where (currently) Portuguese and English models can be found.

You are absolutely right, it makes sense. In the models page there is a link to MacMorpho as expected.


Dupe detect -Description review appears when distance expenses are created without description

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.24-1
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to workspace chat.
Submit two same distance expenses without description.
Go to transaction thread of any of the expense.
Click Review duplicates.
Click Keep this one (any).

Expected Result:
Description review will not show up because both distance expenses are created without description.
Actual Result:
Description review appears when both distance expenses are created without description.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/70398b91-c43d-4c2d-b2c2-bf44e54ed76a

View all open jobs on GitHub

We think that this bug might be related to #wave-control

@adelekennedy  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Dupe detection is a #wave-control project. CC: @dylanexpensify @pecanoro @parasharrajat @kubabutkiewicz

Are we looking at regression or something @trjExpensify ? Should I go ahead with the proposal reviews?

Go ahead with the reviews, I was just bringing it to the attention of the dupe detection team.

The cause and proposals seem to be the same as this one https://github.com/Expensify/App/issues/47975 so we can go ahead with this one for now

@mananjadhav Could you review the proposals when you have a moment?

I think it makes sense to use getDescription. Hence @daledah's proposal looks good to me.
🎀 👀 🎀 C+ reviewed.

Yes, after reading the proposals, I think we should always just compare the description/comment without taking into account whatever else is stored in the field (since it can vary from expense to expense).

PR has been merged and deployed to staging

PR has been on production for a week, not sure why the automatization did not work, so I am going to adjust manually

I don't have a specific offending PR for this one. We've been comparing raw comment hence the issue. But I feel we should have a regression test for this.
Regression test proposal:

Go to workspace chat.
Submit two same distance expenses without description.
Go to transaction thread of any of the expense.
Click Review duplicates.
Click Keep this one (any).
Verify that: Description review will not show up because both distance expenses are created without description.

Payouts due:

[ ] Contributor: $250 @daledah Upwork
[ ] Contributor+: $250 @mananjadhav NewDot

Upwork job is here. @daledah please apply!

@daledah hired you for the job

payments made

$250 approved for @mananjadhav


Add pre-commit lint+format step

Run yarn lint and yarn format in a pre-commit hook before commiting changes locally. This prevents accidentally pushing unformatted code.

On second thought I think this doesn't help in the scenario of this project


LinAlgError: Singular matrix

Hi there - I am very interested in your 2020 paper and would appreciate being able to use this MFBB function. However, upon trying it on my own computer I get the following error: LinAlgError: Singular matrix. Many thanks.

Hi Daniel,
thanks a lot for your interest in this package, it currently is in a very preliminary version, so I appreciate the feedback!
My guess is that the discrete points t_i in your case might start from t_0=0, which would explain the singular matrix inversion.
I will try to address this in a future version of the code. Please note that as of now, only equidistant t_i can be handled.
I hope that helps!
Best,
Jan
On 24. Nov 2022, at 20:48, Daniel Wrench @.***> wrote:
ACHTUNG! Diese E-Mail kommt von Extern! WARNING! This email originated off-campus.
Hi there - I am very interested in your 2020 paper and would appreciate being able to use this MFBB function. However, upon trying it on my own computer I get the following error: LinAlgError: Singular matrix. Many thanks.
—
Reply to this email directly, view it on GitHubhttps://github.com/fiddir/fBb/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWUG5V2I53SIVXZF4KHSDE3WJ7BBZANCNFSM6AAAAAASKWGVDE.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Velocity editor can't get decimal

Player can't type "." in editor which makes setting decimal number (f.e. 20.8) in editor impossible.

Also it can’t be empty which make editing values very annoying - you can’t just start with blank new number (like from value 3 delete 3 to make it just 5) you need instead place correct number in front (f.e. in previous case 5 before 3 to make 53) and delete old value (in this case delete 3 to get just 5).

Need to rewrite whole system of velocity editor

Because of rework/refactor of the project issue will be solved automatically in process of creating new editors.


Additional cleanups

Hi there,
thanks for this great container! I'd like to mention, that cleaning via mamba after the installation saves additional memory:
    rm /opt/conda/pkgs/cache/* && \
    mamba clean -ay

Does cleaning makes the deletion of the pkgs cache optional? A high-level interface call should be preferred, right?
Eventually this should be added to the build instructions (as people tend to copy/paste/adopt things).

Hi @marscher -- thanks for your interest in micromamba and for the suggestion. This is a good idea. I have updated the docs and examples.


Add command line help

Using
	reader := bufio.NewReader(os.Stdin)
	fmt.Print("Do you want to add music? (If so, enter the full path of the folder with music, if not, press enter): ")
	text, _ := reader.ReadString('\n')
	fmt.Println(text)

Then, use the config-default.cfg if config.cfg doesn't exist. Ask user for the folder to populate with, and then save a config.cfg file.

Also, add PORT/HOST to config file


For CLI tests, patch the account ID function so no STS callout is made

The tests in test_cli.py were calling out to STS to determine the account ID.  This fixes that to use the testing account ID.

@kapilt - this also fixes a problem that only developers will see regarding tests.  The test I added that fails if a default region cannot be determined is going to fail for any developer who has a default region set in ~/.aws/config (which is probably everyone)
This would probably be nice to merge quickly so that other devs don't run into this problem (I know @whit537 did already).  If you don't want to merge the rest of this branch quickly let me know and I'll make a separate PR for it.

Thanks, @scotwk. Easy enough to work around by clearing out the region in ~/.aws/config, so I'm not blocked on this, but yeah I did hit it.


Docstrings containing backticks are not formatted

Hi! ✋🏻
The package is great! Thanks a lot for contributing! 🥇
I have been using it for while and recently noticed that the tool ignores the docstrings containing "backticks" (the ones used e.g. to markup inline code in GitHub markdown).
My configuration (pyproject.toml) is:
[tool.docformatter]
black = true
blank = true
close-quotes-on-newline = true
make-summary-multi-line = true
recursive = true
pre-summary-newline = true

Sample code:
def foo(bar):
    """Return `foo` using `bar`. Description."""

is not formatted (neither via CLI nor pre-commit hook). If I replace backticks to single quotation marks, everything works as expected, namely I get the following diff.:
--- before/./test.py
+++ after/./test.py
@@ -12,4 +12,9 @@

 def foo(bar):
-    """Return 'foo' using 'bar'. Description."""
+    """
+    Return 'foo' using 'bar'.
+
+    Description.
+
+    """

Any ideas? Thanks! 🤝

I have
% docformatter --version
docformatter 1.7.5

The fix appears to apply only to the first line and not to the description lines that follow, e.g.
% cat foo.py
def f():
    """
    Here is a sufficiently long docstring first line with a ``word`` wrapped in backticks which will be wrapped as expected.

    Here is a sufficiently long docstring description with a ``word`` wrapped in backticks which will not be wrapped as expected.
    """
    pass
% docformatter foo.py
% cat foo.py
def f():
    """
    Here is a sufficiently long docstring first line with a ``word`` wrapped in backticks which will
    be wrapped as expected.

    Here is a sufficiently long docstring description with a ``word`` wrapped in backticks which will not be wrapped as expected.
    """
    pass

Is this intended / am I doing it wrong?
Here's my config block in pyproject.toml:
[tool.docformatter]
black = true
in-place = true
make-summary-multi-line = true
pre-summary-newline = true
recursive = true
wrap-descriptions = 100
wrap-summaries = 100

Thanks in advance for any guidance, and thanks in general for this great tool!


Closes #1121 - Add selfmonitoring metric for the beacon processors

closes #1121

This change is

@Mahir-Isikli can you still add this self-monitoring metric to the documentation?


Release Google.Cloud.Container.V1 version 3.25.0

Changes in this release:
New features

Add several fields to manage state of database encryption update (commit 98c684c)

Created release for Google.Cloud.Container.V1-3.25.0


Update #ramp_down_apk: Match English and German title

This PR changes the English FAQ title of #ramp_down_apk to match with the German title by removing the word "still".

@larswmh
Would you also change the grammar in the last sentence?
"Please note, support for this setup will not be provided by BMG and RKI."
That should be
"Please note, support for this setup will not be provided by BMG or RKI."
It would only be "and" if they were providing support. Since they are not offering support, then "or" is the better choice.
I think the German text with "und" is OK however, since it is worded differently.

@MikeMcC399
Thanks for your suggestion, I have changed it in https://github.com/corona-warn-app/cwa-website/pull/3455/commits/b2dc762f489633ce2917734e967f8b15842a79bd for both the English and German text. We think this wouldn't make it worse in German.


Add ewancoder theme: based on gnzh and fino themes

I am tired of manually copying this theme from my Dropbox folder each time I reinstall my Linux distribution and fresh install oh-my-zsh. Can you please add this theme to your collection of themes? I've used it for almost 2 years and still using it, so yep, it sticks :)

We can't accept more themes at the moment. Please make a separate repo with your theme and link to it from the external themes wiki page.
You can also add your theme as a custom theme. See customization for instructions.


spacevim does not read global config when started from any directory other than $HOME

Describe the bug
When starting spacevim from any directory other than $HOME, it will not read the global configuration under ~/.SpaceVim.d/init.toml but instead fall back to the default config. Custom configuration will only be read as long as it is placed directly in the directory from where spacevim is started (such as should be the case for spacevim per-project configuration).
Steps To Reproduce
Steps to reproduce the behavior:

Have your custom configuration stored under ~/.SpaceVim.d/init.toml.
Change to any directory other than your home directory.
Start spacevim on a blank file or open any other file, e.g. spacevim ~/.zshrc.

Expected behavior
spacevim reads and uses the global custom configuration unless overridden per-project.
Screenshots
N/A
Additional context
N/A
Notify maintainers
@lourkeur (hope I got that right with git blame, sorry if I'm mistaken)
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.70, NixOS, 21.05.3532.aff647e2704 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(root): `"nixos-21.05.3532.aff647e2704, nixos-unstable-21.11pre319271.31ffc50c571"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

No big deal. The maintainer and the person who probably knows the most about this derivation is @fzakaria. I ran updates a couple times but I don't use this derivation anymore so I'm not sure what its intended behavior is in this situation.


Not compatible with Python 3

Using six and some changes it could made compatible with both Python 2 and Python 3.
When running rfgen in Python 3.7:
 ...
  File "/usr/local/bin/rfgen.py", line 467
    %d resources per resource file (option 'r')""" % (testlibs_count, keyword_count, testsuite_count,
                                                 ^
SyntaxError: invalid syntax

This project has been pretty much abandoned and I've personally never used it. If there are users, making it Python 3 compatible is definitely a good idea. Are you interested to provide a PR? Using six and/or future is fine, but I think it would be OK also to make this Python 3(.6) only.