"Undefined' in debug console and unable to expand

Environment data

VS Code version: 1.32.3
Extension version (available under the Extensions sidebar): 2019.3.6215
OS and version: Ubuntu 18.04.2
Python version (& distribution if applicable, e.g. Anaconda): 3.6.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: -None

Expected behaviour
Before, when i was launching the debug mode, if I type a variable in the debug console, i can expand it, etc.
Actual behaviour

Now, can't expand the variables (no triangle on the left), and each time a print is generated I get this "undefined" statement. If i clink on it it opens an editor with "Could not load source '': Source unavailable."
I can still expand variables in the "local variables" panel
Logs
Developper tools console :
CLICK ME

extensionHost.ts:330 [Extension Host] debugger listening on port 14153
extensionService.ts:788 Couldn't find message for key python.snippet.launch.unitTests.description.
_logMessageInConsole @ extensionService.ts:788
console.ts:134 [Extension Host] (node:4333) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:134
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern //python
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: Uri:tasks, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: Uri:tasks, Return Value:
2console.ts:134 [Extension Host] Python Extension: Rule = settings, result = exit
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:/home/disc/l.thomas/test, Arg 2: , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:tasks, Arg 2: , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
console.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern //python
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: Uri:/home/disc/l.thomas/test, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Python Extension: Rule = settings, result = exit
console.ts:134 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Python Extension: Rule = settings, result = exit
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:/home/disc/l.thomas/test, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:tasks, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: Uri:/home/disc/l.thomas/test, Return Value:
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:/home/disc/l.thomas/test, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:tasks, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Checking support of .NET, Class name = u, , Return Value: true
console.ts:134 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3.7 and args  failed
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true,"displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true,"displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables,
console.ts:134 [Extension Host] Python Extension: Interpreters returned by CondaEnvFileService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
2console.ts:134 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
2console.ts:134 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
4console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from currentPath
console.ts:134 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
console.ts:134 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from currentPath
console.ts:134 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
2console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:/home/disc/l.thomas/test, Return Value: undefined
2console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:tasks, Return Value: undefined
2console.ts:134 [Extension Host] Python Extension: Selected Interpreter from workspaceEnvs, Nothing Selected
console.ts:134 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:/home/disc/l.thomas/test, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:tasks, Return Value: undefined
4console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables,
2console.ts:134 [Extension Host] Python Extension: Selected Interpreter from system, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true,"displayName":"Python 3.6.7 64-bit"}
console.ts:134 [Extension Host] Python Extension: Interpreters returned by CondaEnvService are of count 0
console.ts:134 [Extension Host] Python Extension: Interpreters returned by VirtualEnvService are of count 0
2console.ts:134 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.7-final","major":3,"minor":6,"patch":7,"prerelease":["final"],"build":[],"version":"3.6.7-final"},"sysPrefix":"/usr","fileHash":"c11603d2b5a43a43a730c5f80afb90a2c573aab2ce88319bb63b9fa3fc64201e63a28f4d266f60a07764248357740d11476fdd048e93b417c5c5eb3be91f701e","type":"Unknown","cachedEntry":true,"displayName":"Python 3.6.7 64-bit"}, Arg 2: undefined, Return Value: false
console.ts:134 [Extension Host] Python Extension: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from system
console.ts:134 [Extension Host] Python Extension: Rule = system, result = runNextRule
console.ts:134 [Extension Host] Python Extension: Executing next rule from system
5console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:/home/disc/l.thomas/test, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: Uri:tasks, Return Value: undefined
console.ts:134 [Extension Host] Python Extension: Current value for rule workspaceEnvs is nothing
console.ts:134 [Extension Host] Python Extension: Failed to parse interpreter information for '/opt/gurobi810/linux64/bin/python2.7' with JSON Traceback (most recent call last):
File "/home/disc/l.thomas/.vscode/extensions/ms-python.python-2019.3.6215/pythonFiles/interpreterInfo.py", line 4, in
import json
ImportError: No module named json SyntaxError: Unexpected token T in JSON at position 0
at JSON.parse ()
at f. (/home/disc/l.thomas/.vscode/extensions/ms-python.python-2019.3.6215/out/client/extension.js:83:304722)
at Generator.next ()
at s (/home/disc/l.thomas/.vscode/extensions/ms-python.python-2019.3.6215/out/client/extension.js:83:304049)
t.log @ console.ts:134
console.ts:134 [Extension Host] Python Extension: Interpreters returned by CurrentPathService are of count 5
console.ts:134 [Extension Host] Python Extension: Interpreters returned by KnownPathsService are of count 10
console.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: true
console.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, Class name = p, , Return Value: undefined
console.ts:134 [Extension Host] Python Extension: All locators have completed locating, Class name = p, , Return Value: undefined
2console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/disc/l.thomas/test/test.py
log.ts:161  INFO no standard startup: not just one text editor
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/disc/l.thomas/test/test.py
3console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /home/disc/l.thomas/test
console.ts:134 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables,

I meet the same problem.

same problem

Same issue here

Same problem, on macOS with Python 3.7.3
Environment data
VS Code version: 1.32.3
Extension version (available under the Extensions sidebar): 2019.3.6215
OS and version: macOS Mojave 10.14.3
Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 (64bit)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: -None

Duplicate of #5018


Discord Rich Presences uses old logo

GPMDP Version:
4.6.1
Issue Descriptions:
The Icon for the GPMDP Discord Rich Presences is still using the old Triangle Logo instead of the new Round logo!

Owner of the Discord dev application can just remove the old one, and upload a new one with the same name it had before.

Can confirm. I never really noticed this until it was pointed out, though.

@MarshallOfSound  Hey there I was wondering, if you could create Discord Team to be able to share the application out to people.
Discord Teams Go to this link and create a new team, and name it whatever you want like GPMDP.
Add some people. I'm Alipoodle#5025 on Discord if you would like to add me to the Team. CURRENTLY ONLY ADMIN ROLE EXISTS
Then you need to assign the Application of the GPMDP to the team. Find the application this might work and at the bottom of the page there should be a Transfer App to Team and apply it to the newly created team.
I would like to add a few things / create a new application for YouTube music so that Rich Presences feels a little nicer for YTM users + Updated for GPM users.


default values in the constructor

HI
I tried to create object with default value
final class SomeClass
{
public function __construct(private string $var='aa')
{
}

}
with empty input data
(new \CuyZ\Valinor\MapperBuilder())
->mapper()
->map(
SomeClass::class,
[]
);
and got CannotMapObject Exception
It seems to me that in this case have to be assignment of a default value not exception. How do You Think?

Hi @novafree1, in this particular case you are mapping to an object that has only one property, this is why you encounter this exception. If you call the map method with null as a second argument, the default value will be used and no exception will be raised.
Also note that if there are at least two parameters in your constructor, there will be no issue calling the mapper with [].
I'm not worried by cases like your example, because there is no real added value using Valinor for a use case as simple as the one you described — I guess you were just toying around with the library to see how you could use it in a real project?

Hi!
Thank You for Your response. You done supper useful component. I checked default values on object with several values, yes it's working fine. But I think that behavior of the component should be the same regardless of parameters count. I agree that situation with one default parameter is rare, but it can be. For example when user working with some entity and need to confirm some action. entityId and action is part of the url confirm checkbox is post parameter. If user not confirm checkbox action can not proceed. So missing agree parameter and agree parameter with 0 value should be treated the same.

Hi @novafree1, better late than never 🙂 — #159 should fix this issue. Can you try it out on your side and give feedback?

Fixed with #159.


Helm3: Release Names scoped to Charts?

Introductory Quote:

A Release is an instance of a chart running in a Kubernetes cluster. One chart can often be installed many times into the same cluster. And each time it is installed, a new release is created. Consider a MySQL chart. If you want two databases running in your cluster, you can install that chart twice. Each one will have its own release, which will in turn have its own release name.

If a release is an instance of a chart, why do release names have to unique per namespace? Should they not be unique per chart?
Now that Helm 3 beta is already out, I'm afraid it will be too late for this, but I wanted to raise it anyway.
So, we never used Tiller before, because it was a headache, we only ever used helm template so far, but we are very much looking forward to Helm 3 and want to use it considering its 3-way merges, GC of deleted stray objects and all-around improvements (OCI registry support is fab!).
So we never ran into the issue that release names are not scoped to charts. They had to be globally unique and now they have to be unique in a namespace.
But we used them like this:
app: frontend, environment: dev, release-name: dev
app: frontend, environment: qa, release-name: qa
app: frontend, environment: qa2, release-name: qa2
app: backend, environment: dev, release-name: dev
So in Gitlab CI/CD the target of a deployment is the "environment", an instance of the app to be deployed. And in Helm, a "release" is an instance of a chart (see quote), so they naturally map to each other. Or so we thought.
So, we used "staging" as the environment and hence "staging" also as the release name:
helm template "${CI_ENVIRONMENT_NAME##*/}" "{CHARTNAME}" "$@"
Now the objects created by the standard _helpers template were like this for us, looking all proper: {{ printf "%s-%s" .Chart.Name .Release.Name }}, or with reverse order, doesn't matter.
Deployment myapp-dev, Configmap myapp-dev, etc.
But with the "official" scheme, this would be myapp-myapp-dev, or myapp-dev-myapp`.
So, with helm install, upgrade and uninstall I want to target the instance xyz of chart abc, and not instance xyz-abc.

This is a good question. Helm is a package manager and Kubernetes enables you to install the same application multiple times.
That means, the same chart can be installed in the same namespace. For example, consider the case where someone install Wordpress into the default namespace 3 times. This needs to work.
I know that some may want to debate whether people should or should not do something like this. The reality is that they do so we need to have some level of support for it.
Our top priority role is the application operator. We want to make the process of running commands as easy as possible for them. Consider someone with multiple releases of the same chart running in one namespace and now having to work with those.
Does that help to explain why we have what we have?

Yes, I absolutely want to continue to be able to install multiple releases of one chart.
But I want to be able to use the same release name for multiple charts. I was just not able to explain that very well.
So I would like to be able to say, »upgrade chart "frontend", release "staging"«, or »uninstall the release "staging" of the chart "backend"«.
So frontend and backend have a shared release name, and that can be interpreted like a shared environment: "staging" is the release "frontend-staging" connects to "backend-staging".
And then in my chart I can concatenate chart name and release name together as needed. Chart name and release name would become independent.
Now you could say, that this is what namespaces are for, but we often end up needing more subdivisions. For example, we have a "myproject-qa" namespace, but in the we have qa1, qa2, qa3 environments, which multiple charts installed that interact with each other. Each chart has an instance (release in Helm jargon) named qa1, qa2, qa3.
But with current Helm release tracking that does not work.

Hello @towolf ,
I don't know if it was the case back when you created this issue, but it seems a kind of workaround is now provided in the default _helpers.tpl file generated by helm create.
Indeed there is now a if condition to check if the release name contains the $name (which is the chart name by default), meaning as a result the double chart name at the beginning of the fullname is compacted to only one.
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "my-chart.fullname" -}}
{{- if .Values.fullnameOverride -}}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

Result of different commands with the default chart

Case <release name> as release name

helm template releasename my-chart/

---
# Source: my-chart/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: releasename-my-chart
  labels:
    helm.sh/chart: my-chart-0.1.0
    app.kubernetes.io/name: my-chart
    app.kubernetes.io/instance: releasename
    app.kubernetes.io/version: "1.16.0"
    app.kubernetes.io/managed-by: Helm
[...]

Case <chart name>-<release name> as release name

helm template my-chart-releasename my-chart/

---
# Source: my-chart/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-chart-releasename
  labels:
    helm.sh/chart: my-chart-0.1.0
    app.kubernetes.io/name: my-chart
    app.kubernetes.io/instance: my-chart-releasename
    app.kubernetes.io/version: "1.16.0"
    app.kubernetes.io/managed-by: Helm
[...]

To me this looks like a poor workaround (ordering of chart name and release name is not consistent between the 2 ways to do as you stated) but at least it should allow to solve your issue (and mine which was the same). The only difference to expect compared to what you are currently doing would be the value of the instance label.

The problem, if i can restate it clearly is this.
Given a single namespace and two charts I can't use the same release name for both charts.
Example:

Chart named: backend
Chart named: frontend

I want to deploy both of them to my team's namespace, I'm working on a feature that touches pods in both charts. I want to automatically deploy them both with my feature branch name. I expect backend-newfeature pods and frontend-newfeature pods. I cannot do this.
I don't see any reason why the 'key' needs to be namespace-releasename, why can't it be namespace-chartname-releasename?
Instead I have to create a hacky workaround through an alternate to fullname.


"Add React to an Existing App" in try-react.md references to "Add React to a New App" page.

Add React to an Existing App in try-react.md points to docs/add-react-to-a-new-app.html.
It should point to docs/add-react-to-an-existing-app.html instead.

Thanks for fixing.


Swap example unhandled exception

I tried the swap example on both Win7 (VS213) and XP (VS2010), but kept getting the following exception: "Unhandled Exception: System.ApplicationException: 1 iteration: failed at 1 alive instrument, maturity 2004/09/29, reference date 2004/09/22: invalid value (-3) at index 1".
I tried debugging it but couldn't figure out what the root cause is because I am not very familiar with QuantLib and qlnet seems to be implemented quite differently from QuantLib C++ as well. I copied the Swap example code from qlnet to QuantLib-SWIG\CSharp\examples and got it to work with minimal change. Therefore the example itself is not the issue.
I tried changing line 77 from: double s5yQuote = 0.0443; to double s5yQuote = 0.0460; and surprisingly it ran through the end without exception, but it produced two sets of identical numbers.
In addition, I found that Bootstraptraits.cs has the following code and line 110 (return -3.0) seems to be the issue, but I don't understand why it reaches that line. Could you please take a look when you get a chance? Thanks a lot in advance!
public double minValueAfter( int i, InterpolatedCurve c, bool validData, int f )
{
	//return Const.QL_Epsilon;

	if ( validData )
	{
		#if QL_NEGATIVE_RATES
			// no constraints.
			// We choose as min a value very unlikely to be exceeded.
			return -3.0;
		#else
			return c.data().Last() / 2.0;
		#endif
	}
	double dt = c.times()[i] - c.times()[i - 1];
	return c.data()[i - 1] * System.Math.Exp( -maxRate * dt );
}

Complete console output:
Today: Monday, 2004/09/20
Settlement date: Wednesday, 2004/09/22
====================================================================
5-year market swap-rate = 4.43%
====================================================================
        5-years swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------
     depo-swap |          19065.88 |      -0.42% |           4.43% |
 depo-fut-swap |          19076.14 |      -0.42% |           4.43% |
 depo-FRA-swap |          19056.02 |      -0.42% |           4.43% |
--------------------------------------------------------------------
        5-years, 1-year forward swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------
     depo-swap |          40049.46 |      -0.92% |           4.95% |
 depo-fut-swap |          40092.79 |      -0.92% |           4.95% |
 depo-FRA-swap |          37238.92 |      -0.86% |           4.88% |
====================================================================
5-year market swap-rate = 4.60%
====================================================================
        5-years swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------

Unhandled Exception: System.ApplicationException: 1 iteration: failed at 1 alive instrument, maturity 2004/09/29, reference date 2004/09/22: invalid value (-3) at index 1
   at QLNet.Utils.QL_FAIL(String message) in C:\GitHub\qlnet\QLNet\Utils.cs:line 85
   at QLNet.IterativeBootstrap`2.calculate() in C:\GitHub\qlnet\QLNet\Termstructures\Iterativebootstrap.cs:line 223
   at QLNet.PiecewiseYieldCurve`3.performCalculations() in C:\GitHub\qlnet\QLNet\Termstructures\Yield\PiecewiseYieldCurv
e.cs:line 233
   at QLNet.LazyObject.calculate() in C:\GitHub\qlnet\QLNet\Patterns\LazyObject.cs:line 112
   at QLNet.PiecewiseYieldCurve.maxDate() in C:\GitHub\qlnet\QLNet\Termstructures\Yield\PiecewiseYieldCurve.cs:line 68
   at QLNet.TermStructure.maxTime() in C:\GitHub\qlnet\QLNet\Termstructures\TermStructure.cs:line 98
   at QLNet.TermStructure.checkRange(Double t, Boolean extrapolate) in C:\GitHub\qlnet\QLNet\Termstructures\TermStructur
e.cs:line 155
   at QLNet.YieldTermStructure.discount(Double t, Boolean extrapolate) in C:\GitHub\qlnet\QLNet\Termstructures\YieldTerm
Structure.cs:line 122
   at QLNet.YieldTermStructure.discount(Date d, Boolean extrapolate) in C:\GitHub\qlnet\QLNet\Termstructures\YieldTermSt
ructure.cs:line 114
   at QLNet.DiscountingSwapEngine.calculate() in C:\GitHub\qlnet\QLNet\Pricingengines\Swap\Discountingswapengine.cs:line
 77
   at QLNet.Instrument.performCalculations() in C:\GitHub\qlnet\QLNet\Instruments\Instrument.cs:line 78
   at QLNet.LazyObject.calculate() in C:\GitHub\qlnet\QLNet\Patterns\LazyObject.cs:line 112
   at QLNet.Instrument.calculate() in C:\GitHub\qlnet\QLNet\Instruments\Instrument.cs:line 65
   at QLNet.Instrument.NPV() in C:\GitHub\qlnet\QLNet\Instruments\Instrument.cs:line 100
   at Swap.SwapValuation.Main(String[] args) in C:\GitHub\qlnet\Examples\Swap\swapvaluation.cs:line 480
Press any key to continue . . .

Output for changing line 77 to set 5yr swap rate to 4.60%
Today: Monday, 2004/09/20
Settlement date: Wednesday, 2004/09/22
====================================================================
5-year market swap-rate = 4.60%
====================================================================
        5-years swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------
     depo-swap |          26539.06 |      -0.58% |           4.60% |
 depo-fut-swap |          26553.34 |      -0.58% |           4.60% |
 depo-FRA-swap |          26525.34 |      -0.58% |           4.60% |
--------------------------------------------------------------------
        5-years, 1-year forward swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------
     depo-swap |          45736.04 |      -1.06% |           5.09% |
 depo-fut-swap |          45782.40 |      -1.06% |           5.09% |
 depo-FRA-swap |          42922.60 |      -0.99% |           5.02% |
====================================================================
5-year market swap-rate = 4.60%
====================================================================
        5-years swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------
     depo-swap |          26539.06 |      -0.58% |           4.60% |
 depo-fut-swap |          26553.34 |      -0.58% |           4.60% |
 depo-FRA-swap |          26525.34 |      -0.58% |           4.60% |
--------------------------------------------------------------------
        5-years, 1-year forward swap paying 4.00%
term structure | net present value | fair spread | fair fixed rate |
--------------------------------------------------------------------
     depo-swap |          45736.04 |      -1.06% |           5.09% |
 depo-fut-swap |          45782.40 |      -1.06% |           5.09% |
 depo-FRA-swap |          42922.60 |      -0.99% |           5.02% |

Run completed in 00:00:00.3749976
Press any key to continue ...

Is QL_NEGATIVE_RATES not set (i.e., doesn't allow negative rates) by default in the current version of 1.4?  When I look at the data of my returned QLNet.InterpolatedCurve, which is based on certain real rates, I see values floored at zero where there should be negative values.

From what I gather from https://github.com/amaggiulli/qlnet/blob/Ver-1.4/QLNet/QLNet.csproj ,  believe QL_NEGATIVE_RATES was included. Can you try your code from the latest git master?

I'm currently using the NuGet package of QLNet version <IP_ADDRESS>, which appears to have been released after your "Enable QL_NEGATIVE_RATES" push.  Maybe the csproj of the NuGet package doesn't reflect this change?

I'm using the most recent version of QLNet on NuGet (<IP_ADDRESS>), which appears should include the "Enable QL_NEGATIVE_RATES" push you sourced.
Strangely enough, I get a System.ApplicationException with the message "Additional information: non-positive yield" when I try
var qlCurve = new QLNet.InterpolatedZeroCurve<QLNet.Linear>(
                        orderedDatesAndRates.Select(x => x.Key).ToList(),
                        orderedDatesAndRates.Select(x => x.Value).ToList(),
                        dayCountConv,
                        new QLNet.Linear());

The first four values are negative.  Any ideas?

Try the git master branch.

I tried the master branch as well as Ver-1.5 and both work.  Thanks!


gitlab: Refresh pipeline helper

What does this PR do?
Adds retries to gitlab pipeline.refresh() as @amenasria mentioned

Motivation

Additional Notes
One retry example:

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


As a user who has a Persona account, I want to get my account back, so I don't have to choose an unrelated username

This was solved by matching up persona email addresses with email addresses used for social auth.


fix installation of platform from root

FIX: a change in optimizer-service/pom.xml to be able to find the path of the service during the integration-test process

thx


Add possibility to change the font size of the day number, day name and month name

Hello @Mulham-Raee
It would be nice to have a possibility to change the font size of the day number, day name and month name.
Customize it directly inside the layout or programmatically.
What do you think about that addition, I am happy to open up a PR for it.
Regards!

Hello @forbroteam
Yes, it would be a good feature to add, would be helpful if you can open up a Pull request for it.
Regards

Pull request #11


Mysql issue

I saw two errors with the install:
1-Perl-base dependencies are older
2- keeps asking about sql user and pwd in a loop. Please reference the video below:
https://github.com/IamCarron/DVWA-Script/assets/49875883/c209699b-2f4e-496d-82b0-708f393dc921

Hi! You need to run the script with the root user in order to use the blank password.
Referring for the older dependencies those packages are the ones that you already have on your SO so you need to a "sudo apt upgrade" first. Then it shouldn't bee any problem on using the installer.
Also If you can send me the result of this command ${LANG:0:2} in order to check the system language I so some Spanish and the rest English on some messages.

Welcome to Linux Lite 6.6
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)

 anasrocks  ~  ${LANG:0:2}
en: command not found

also my perl-base version is higher than the required one
apt list perl-base Listing... Done perl-base/now 5.36.0-10+b1 amd64 [installed,local] perl-base/jammy-updates,jammy-security 5.34.0-3ubuntu1.3 i386


wasm: combobox SelectedIndex is not reset when SelectedValue goes to Null

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior
When the SelectedValue is set to null, SelectedIndex is left at its previous value
Expected behavior
SelectedIndex should be -1 (as per docs and UWP)
Minimal reproduction of the problem with instructions
xaml:
        <ComboBox x:Name="cmb" ItemsSource="{Binding Items}" SelectedValue="{Binding SelectedValue, Mode=TwoWay}"></ComboBox>
        <Button Click="BtnClick">Clear Combo</Button>

Code behind:
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            Items = Enumerable.Range(0, 5).Select(i => i.ToString()).ToList();
            //            Items = Enumerable.Range(0, 2000).Select(i => i.ToString()).ToList();
            this.InitializeComponent();
            DataContext = this;
        }

        public List<string> Items { get; set; }

        public static readonly DependencyProperty SelectedValueProperty = DependencyProperty.Register(
            "SelectedValue", typeof(object), typeof(MainPage), new PropertyMetadata(default(object)));

        public object SelectedValue
        {
            get { return (object)GetValue(SelectedValueProperty); }
            set { SetValue(SelectedValueProperty, value); }
        }

        void BtnClick(object sender, RoutedEventArgs e)
        {
            Debug.WriteLine("SelectedIndex before reset " + cmb.SelectedIndex);
            SelectedValue = null;
            Debug.WriteLine("SelectedIndex after reset " + cmb.SelectedIndex);
        }
    }

Repo at https://github.com/yowl/UnoStandardRefTest2/tree/SelectedIndex
Environment

Nuget Package:
    <PackageReference Include="Uno.UI" Version="1.45.0-dev.1327" />
    <PackageReference Include="Uno.Wasm.Bootstrap" Version="1.0.0-dev.260" />
    <DotNetCliToolReference Include="Uno.Wasm.Bootstrap.Cli" Version="1.0.0-dev.137" />
Package Version(s):

Affected platform(s):
- [ ] iOS
- [ ] Android
- [ x] WebAssembly
- [ ] Windows
- [ ] Build tasks

Visual Studio
- [ ] 2017 (version: )
- [ ] 2017 Preview (version: )
- [ ] for Mac (version: )
2019

Relevant plugins
- [ ] Resharper (version: )

A sample has been created from your code in Uno and the problem has been fixed!
PR: #814

Fixed

Thanks, looks good.


chore: import repository https://github.com/rocannon77/jx3-python-01-4.git

this commit will trigger a pipeline to generate the CI/CD configuration which will create a second commit on this Pull Request before it auto merges

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add timeout for go generate

Which issue this PR addresses:
NA

Fixes
NA
What this PR does / why we need it:
This will prevent excessively long go generate runs from occurring in the Build and Push Binary and Container pipelines. Timeout sends a list of exit codes we can expect if something goes wrong. Here they are used to help provide more information about the failure. go generate doesn't support a timeout value directly.

Test plan for issue:
Build and Push Binary and Container pipelines - Pull Request pipeline for testing.

Is there any documentation that needs to be updated for this PR?
No

@cadenmarchese The error codes being translated here are directly from timeout, not necessarily go generate. Go generate doesn't appear to have any exit codes documented, I'm assuming it may use the exit code of that specific generator, but again it's not documented.

If any generator returns an error exit status, "go generate" skips
all further processing for that package.

So if we are thinking a timeout value isn't useful for us, I can close this PR. If it maybe useful, I think we should raise the timeout value to something like 2 hours. After running the build pipeline several times now I've seen it take a variable amount of time, but over an hour isn't unusual.

This pull request generated some ideas to think about to improve our release process.


Added check to see if entries are empty in highest_ranking. Test case…

… also written when input string is empy. Added RubyMine relevant dir to .gitignore.

@saouddk  Sorry, I've been meaning to look at this but I haven't had time. Thanks for the pull request. I'll merge it as soon as I check it out.

@saouddk thanks for catching this bug. I'm not in favour of the ternary operator in this case as I think a guard clause might be more suitable. But I will merge this nevertheless. Thanks for the pull request :+1:


Some Minor Fixes

FIX: Run callbacks for Signal at init.

For Typhos we need to receive information that the Signal was connected in order to properly render the correct widget. With EPICS Signal all works great because we can get the metadata callback. For Signal it is not true. This PR fixes this issue.

FIX: Don't blow if SynSignal was not created with asyncio loop.

We are instantiating some test devices in a separated thread and this blows when we try with SynSignals. This commit avoids it to break when creating the signal outside of an asyncio loop.

test_soft_derived is failing due to the fact that now Signal on creation runs the metadata callback which makes it run more than just once. I will adjust the test now to reflect the change.

There's a bit of a problem here that arises from us not having a SignalBase and Signal (what really should be called a SoftSignal of sorts) separately.
With this PR, Signal will have a callback indicating connected=True before a subclass of Signal can indicate connected=False (or set read status, write status, etc. appropriately). This callback also gets queued in a background metadata callback thread, meaning that it's entirely possible a client that registers to receive the callback after the message was queued could receive the 'connected' message. Can explain this better in person and with less jet lag on monday.
Perhaps this fix is sufficient for now. Where it goes from there is another question...

@klauer that makes total sense. I remember now that we discussed that. Maybe it will be time to tackle that soon. Let's chat Monday and put this on hold for now. It would help also if I explain why I need that and it will for sure be easier in person. Thank you for reviewing it.

Tests now failing on some documentation build issue. Not related to PR.

Let's try and get a proper fix in, even if not for 1.4.0. This definitely needs more thought.


test new scene with ros

@jramadeu and @albertohata
I've create this branch with the new "git friendlier" scene:
https://github.com/EricssonResearch/scott-eu/tree/vrep_git_friendlier/simulation-ros/src/turtlebot2i/turtlebot2i_description/v-rep_model/warehouse_scene
We need to test its connection with ROS

Hi, the branch vrep_git_friendlier is tested and updated to reflect your last changes @KRaizer and I erased the branch /oring/vrep_git_firendlier.
Testing the scene I notice that I'm not able to disable the cameras using sim.setExplicitHandling(object_camera_rgb, 1) -- disable camera rgb sim.setExplicitHandling(object_camera_depth, 1) -- disable camera depth
These lines are supposed to disable the camera, am I right?

Hi @jramadeu
I'm not sure how setting to explicit handling alone would disable the vision sensor.
What the code was attempting to do was to use it as a flag to know whether or not to publish rgb and depth info to ROS. I had to change the code in sensing to actually do that though.
Important: Each robot has two separate cameras: "camera" and "camera_sr300". You have to enable/disable them individually at "camera.lua" and "camera_sr300.lua" respectively.
@albertohata and @jramadeu , what do we actually want here? Being able to fully disable the vision sensors? Or keep them enabled but handled explicitly?

Hi @jramadeu
I'm not sure how setting to explicit handling alone would disable the vision sensor.
What the code was attempting to do was to use it as a flag to know whether or not to publish rgb and depth info to ROS. I had to change the code in sensing to actually do that though.
Important: Each robot has two separate cameras: "camera" and "camera_sr300". You have to enable/disable them individually at "camera.lua" and "camera_sr300.lua" respectively.
@albertohata and @jramadeu , what do we actually want here? Being able to fully disable the vision sensors? Or keep them enabled but handled explicitly?

@KRaizer the setExplicitHandling function was used to disable the sensor as mentioned in http://www.forum.coppeliarobotics.com/viewtopic.php?t=2795

Closing as wontfix; the project is finished and the repository is to be archived.


Github grader

A speed grader page for github projects.

[x] list of compatible project on the left column,
[x] loaded iframe on the right had side

@jwunderl it's easier to have students start from an empty project in makecode and turn it into a repository... rather than the forking. Trying to reach minimal friction.

I could add an additional search input box so that the teacher can further filter things out. It's already filter for update data so in general, last exercises show up first.


sometimes wrong levelSprite displayed when chaining levels

When leaving level1, sometimes level2 loads correctly.
But sometimes (seems random 50% on Chromium Linux) the levelSprite (level visuals) is incorrectly still showing level1 instead of level2. The rest seems correct (collisions, etc)

Not reproduced locally, only when published to Github Pages

Now rarely reproduces locally.
Randomly :

60% chance : ok
20% chance : wrong level sprite
20% chance : exception because level grid not initialized when level sprite is generating

fixed by f270a1e but slow fall remains #39


Fix complexity

Coverage remained the same at 100.0% when pulling c9838e93c53bbf8f9e44d4e83f6eb0ab4d9b6319 on fix-complexity into 2c24b62b3630ac1518d317418cadc0bb9f6a8aa2 on master.


[Feature request] Order milestone and label by asc or option to set milestones and labels order

Hi guys,
I'm looking here that milestones and labels order is by insert, then I think that is good idea or show by asc or have option to repo owner define best order to display on manager or on issue.
Thanks.

Labels are already sorted by name, please adjust your issue title.


Localize contributor cheatsheet in Spanish

Contributor cheatsheet content in the below link:
https://github.com/kubernetes/community/tree/master/contributors/guide/contributor-cheatsheet
Translation result will needs to be put into the community repo as well.
/kind feature
/language es
/cc @kubernetes/sig-docs-es-owners

checkin
/remove-lifecycle stale

@raelga any update on this issue?

/priority backlog
/kind feature

Hi! Can I take this one?


doc(readme): fix endpoints link

Fixes link to Cilium endpoint documentation in the Readme

Thanks for catching that!


Fix transaction fuzzer

Running fuzzers is unfortunately not documented.
You can build transaction fuzzer with:
git submodule update --init --recursive
cmake . -Bbuild -DCMAKE_BUILD_TYPE=Debug -DENABLE_FUZZING=1 -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang-12
make -C build fuzz-parser_parse

Then, run the fuzzer with:
./fuzzing/run-fuzzers.py

How is this PR related to fuzzing?
With respect to documentation, this is part of our internal processes. We have not seen at any point that fuzzers were required by any submission requirements. Moreover, we consider this an internal security practice, we are glad to share this via private channels if useful.

Changes have been taken into account in https://github.com/LedgerHQ/app-filecoin/pull/10.
There is no need to keep this PR.


Publish to central package sources

Type of Issue

[ ] Bug
[x] Feature
[ ] Docs/Chore
[x] Support

Issue Description
Currently both kotlin and TS packages are published to GitHub Packages. Not everyone has experience with using GitHub Packages and it might make the adoption a little harder.
Please react to the below comments about each implementation if you would like to see the package(s) published to maven central and/or npm

Kotlin

TypeScript


Set orthogonal or perspective views

Hello there - in my app I'd like to add a button for users to reset the view to an orthogonal view. In another use case, I'd like to set the orthogonal view when the stl file loads.
For example, in OpenSCAD there is a button that does something like this:
https://github.com/gabotechs/react-stl-viewer/assets/74187869/76aaa8fe-dcc6-4582-89cf-54badf800833
Is this possible currently, or would it require building out more functionality?

Unfortunately, right now it's not possible, and depending on the approach chosen for implementing this, it might be challenging.
Making the camera position a controlled input would probably have some serious performance impact as the rate at which React will need to update the camera position state would be very high. I think a good approach for solving this problem would be to imperatively set the camera state, something like:
function Component() {
  const ref = useRef()

  function setCameraState() {
    ref.current?.setCameraState(...)
  }

  return <StlViewer ref={ref}/>
}

How does that approach sound like? I might not be able to tackle this immediately though...

That implementation looks ideal to me! No worries if you can’t get around
to it immediately. By when do you think you could?
On Sunday, December 24, 2023, Gabriel @.***> wrote:

Unfortunately, right now it's not possible, and depending on the approach
chosen for implementing this, it might be challenging.
Making the camera position a controlled input would probably have some
serious performance impact as the rate at which React will need to update
the camera position state would be very high. I think a good approach for
solving this problem would be to imperatively set the camera state,
something like:
function Component() {
const ref = useRef()
function setCameraState() {
ref.current?.setCameraState(...)
}
return }
How does that approach sound like? I might not be able to tackle this
immediately though...
—
Reply to this email directly, view it on GitHub
https://github.com/gabotechs/react-stl-viewer/issues/44#issuecomment-1868468831,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARWAIXJ3RLIQCOWCTIFY7WDYK7WAVAVCNFSM6AAAAABBBGOAZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGQ3DQOBTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

That implementation looks ideal to me! No worries if you can’t get around
to it immediately. By when do you think you could?

It's likely that I'll be able to ship this within the next couple months, but can't promise anything...

I've been able to ship this https://github.com/gabotechs/react-stl-viewer/pull/47 (released under the 2.5.0 tag), there is a small example about how that works in the PR description.
Thanks for suggesting this! it was a good addition.
Closing this as completed, feel free to open another issue if you find some gap in the current implementation.


[CentOS Stream] Add commercial (TuxCare) endless support

Add commercial (TuxCare) endless support for CentOS Stream 8 EOL version.

We are not adding ANY of 3rd party Support things !

Hello @usta
You are not correct, in the CentOS page I can read:
"Commercial long term support for CentOS 6, 7, and 8 post end-of-life is available at OpenLogic by Perforce."
I am only asking to add commercial alternative, so readers would select best option for them, as per Issue https://github.com/endoflife-date/endoflife.date/issues/6334.
Please share the link of CentOS documentation where OpenLogic or Perforce is mentioned as commercial supporter.

Otherwise we will became responsible for the suggesting people who might get any harm.


Is Entitas abandoned?

Hi, I have been studying Entitas for a couple of months and it seems the best option right now when using entities on Unity (even over the "official" entity system, ugh, using gameobjects to be able to use entities...), but I can only see that the last time this project was updated was a year ago. So I can only wonder... is this project totally abandoned by their developers? I mean, as a developer I know that a library with the size of Entitas it's not ever totally done, there's always something new to add...
(Not being the same case at all, but it's pretty worrysome, because is the biggest library of its kind on Unity (the other being... the OTHER Unity maybe? Using Unity on Unity... maybe I should have to try that and make a XZibit meme with that...) I also have seen a pretty similar pattern with Zenject (a very well made library about dependency injection) with the big difference of their original mantainers being a bunch of dicks when someone took the library and started working on improvements on his own.

Hi, it seems like @sschmid the author and maintainter has gone quiet and has perhaps abandoned the project. That being said, Entitas's core is pure csharp and has no dependency on unity so it's not going to stop working with newer unity versions and it was essentially feature-complete when it was last updated. I guess feel free to decide for yourself what that means for you. I'm currently using it on an in-production commercial product and I would probably use it again in future projects even without Simon maintaining it.

Hi
long time no see :)
I haven't been active for a while, that might continue for a few months due to my current focus on Popcore. But I haven't abandoned Entitas. At Popcore we're using it every day for all our games and we releasing many games a months with it. We're super happy with Entitas and it's very stable.
I think Entitas is safe to use, battle tested and doesn't require much maintenance atm. I really can't wait to come back to Entitas and give it some deserved love, until then I don't see a reason not to use it. It's production ready and you can modify it easily if necessary at all.

Thanks for the info, @sschmid! Thanks for all your work in this cool library! I'll be using it in my next projects!

@sschmid so great to hear! Hope you're well.

Lots of activity again 🤩 see #1005


Fix model analyzer to launch server with no GPU when empty gpus config is used

If the user sets the gpus: [] config for model-analyzer, then this implies the model-analyzer should not use any GPU. This is a fix that the model-analyzer will launch the triton server without any GPU, when that config is present.
This pull request also unifies how the gpus config is processed between local and docker mode. Previously, they are scattered across entrypoint.py, server_local.py and server_docker.py. This unification will process the gpus config inside server_local.py and server_docker.py using the GPUDeviceFactory class in gpu_device_factory.py which will return a list of GPU UUIDs that should be used based on the gpus config. Then, the server_local.py and server_docker.py will launch the server according to the returned list of GPU UUIDs.

Can you add a test for this in https://github.com/triton-inference-server/model_analyzer/blob/main/qa/L0_server_launch_modes/test.sh?

Can you add a test for this in https://github.com/triton-inference-server/model_analyzer/blob/main/qa/L0_server_launch_modes/test.sh?

It is added

Fix an issue where remote mode could check len(None).

Also, it would be a good idea to not force-push after the PR is reviewed once. You can just add new commits to your PR containing the review edits. This way only the new changes can be easily reviewed.

Make sure it passes the CI before merging.

There was an issue with the docker mode where setting the argument device_requests = [] in the self._docker_client.containers.run() might still allow the docker to mount the GPUs.
This is happening during CI, but not during local test.
The fix is to set the CUDA_VISIBLE_DEVICES environment variable inside the docker container in case the GPUs are mounted.


[LiveComponent] fix component_url twig function

Q
A

Bug fix?
yes

New feature?
yes (kind of)

Tickets
n/a

License
MIT

Previously, it didn't work as intended. It required a component instance. It was supposed to work like component() (from twig-components), except generate a url to the live component (instead of rendering).

Thank you Kevin!


ProDOS 2.5 testing with GS/OS 5.04

 ProDOS 2.5 doesn't work with GS/OS 5.04

 ProDOS 2.5
Description
 GS/OS 5.04 says "ProDOS 8 is not compatible"
Expected Behavior
 Normally launch what ever ProDOS 8 App needed to be launched
Actual Behavior

GS/OS 5.04 says "ProDOS 8 is not compatible"
Possible Fix

This is not surprising considering anything after ProDOS 1.9 gives this error.
Steps to Reproduce

Context

I was trying to see if those that still use GS/OS 5.04 could use this version of ProDOS
Your Environment

Normal Install of GS/OS 5.04
Hardware:

Apple II GS ROM 01:  4mb of RAM, ReActive/Micro Turbo, Apple Disk ][ Drive card
Apple II GS ROM 3 :  4mb of RAM, ReActive/Micro Turbo, Apple Disk ][ Drive card, Transwarp GS (tested with all speeds)
ProDOS8 version:
ProDOS 2.5a1
Non-Operating System release software being used:

Tried using IIgs System 6.0.1 and IIgs System 6.0.4* and get the same result.


Repository: project setup

Summary
This PR pretends to include to quantum-serverless the repository API project. Features included as MVP are:

[x] #152
[x] #155
[x] #156
[x] #157
[x] #159
[x] #162
[x] #163
[x] #201
[x] #210

Details and comments
Fix #112

Woohoo! almost there!

Ups! Good point @psschwei , totally agree. I will add it 👍

Yes! Working on those things right now 😄

How I created the PR I can't review it officially but from my part is ready to merge too. I annotated some improvements anyway:

#220
#289


Video its 00:00:00 long

Hello! I already have the stream recording but when this finish the video appears that it has 00.00.00 sec recorder. When i touch on the video i can see it but i can't go forward or anything, even i'm trying to compress but it says that the video doesn't have any time to compress.

yeah, thats sadly a problem with the chromium's tab recorder api, which I can't fix.

Well I get a solution for this and to compress the video, with ffmpeg convert it into mp4, the space its the half that used to use, and the video have seconds now.
I use:
ffmpeg -i videoPath/name.mkv -max_muxing_queue_size 1024 videoPath/name.mp4
Hope this would help other too.


Validate that the columns specified for the volume and time actually exist

I'm not sure if we do this, but if we don't we should.

Let's add a test!

This happens already because the only allowed values for the columns are 0 and 1. No test needed!


camera_windows: CameraAccessDenied, Access is denied.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Run code in Windows
Expected results
The camera should initialize
Actual results
Fails to start camera.
Code sample
Code sample

      var status = await Permission.camera.status;
      if (!status.isGranted) {
        return;
      }

      status = await Permission.microphone.status;
      if (!status.isGranted) {
        return;
      }

      final int cameraIndex = _cameraIndex % Constants.cameras.length;
      final CameraDescription camera = Constants.cameras[cameraIndex];

      cameraId = await CameraPlatform.instance.createCamera(
        camera,
        _resolutionPreset,
        enableAudio: !micMuted,
      );

      await _errorStreamSubscription?.cancel();
      _errorStreamSubscription = CameraPlatform.instance.onCameraError(cameraId).listen(_onCameraError);

      await _cameraClosingStreamSubscription?.cancel();
      _cameraClosingStreamSubscription = CameraPlatform.instance.onCameraClosing(cameraId).listen(_onCameraClosing);

      final Future<CameraInitializedEvent> initialized = CameraPlatform.instance.onCameraInitialized(cameraId).first;

      await CameraPlatform.instance.initializeCamera(
        cameraId,
      ); // error thrown here

      await initialized;

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[ERROR:flutter/shell/common/shell.cc(1004)] The 'plugins.flutter.io/camera_windows/camera2538355915760' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
flutter: CameraException(CameraAccessDenied, Access is denied.)

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.13.8, on Microsoft Windows [Version 10.0.19045.3570], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.5)
[√] Android Studio (version 2022.3)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.79.2)
[√] VS Code, 64-bit edition (version 1.64.0)
[√] Connected device (3 available)
[√] Network resources

Hi @sunilguptasg. Thanks for filing this. I see this issue has to do with permissions on your device, can you try granting all required permissions then create a new flutter project and run the example app https://pub.dev/packages/camera_windows/example to see if this issue still persists?


feat: remove deprecated input output values

Description
:warning: DO NOT MERGE until the frontend is switched to the new endpoints.
Following #496, removing deprecated field.

input: addressable, permissions
output: values

How has this been tested?

Checklist

[x] changelog was updated with notable changes
[ ] documentation was updated

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1203097915891016

End to end tests: :hourglass_flowing_sand: STARTING

/e2e --tests=substrafl,sdk --benchmarks=mnist,camelyon

End to end tests: :hourglass_flowing_sand: STARTING


Stale Italian localization of federation page

This is a Bug Report

Problem:
The Italian localization includes a very old page https://k8s.io/it/docs/concepts/cluster-administration/federation/ that does not render but still exists in the source. That page can trigger build errors during local development if you make a change that isn't compatible, even though the actual rendered site would not change.
Proposed Solution:
Remove content/it/docs/concepts/cluster-administration/federation.md
Page to Update:
https://k8s.io/it/docs/concepts/cluster-administration/federation/  (kinda)

Additional Information:
/language it
/priority backlog

Fixed in #47445
/close


Version 1.0.0 does not install on RHEL 7 servers due to host config files not existing

Trying to update from 0.5.0 to 1.0.0 to fix the Notify['Not reboot]' message coming out every single run. 1.0.0 fails on a fresh install because it isn't creating the directory where the new config files go. This seems like a dependency issue:
Notice: /Stage[main]/Profile::Dynatrace::Oneagent::Install/File[/opt/dynatrace]/owner: owner changed 'root' to 'rtc005'
Notice: /Stage[main]/Profile::Dynatrace::Oneagent::Install/File[/opt/dynatrace]/group: group changed 'root' to 'sys'
Notice: /Stage[main]/Profile::Dynatrace::Oneagent::Install/File[/opt/dynatrace/oneagent]/ensure: created
Notice: /Stage[main]/Profile::Dynatrace::Oneagent::Install/Firewall[850 dynatrace client]/ensure: created
Notice: /Stage[main]/Dynatraceoneagent::Install/Archive[/tmp/Dynatrace-OneAgent-Linux-latest.sh]/ensure: download archive from https://ncc510.dynatrace-managed.com/e/e5b75fad-801b-4df2-b36e-5c5a11c69394/api/v1/deployment/installer/agent/unix/default/latest/?Api-Token=ZJIEBMMaTjisLxaRsOLIT&arch=all to /tmp/Dynatrace-OneAgent-Linux-latest.sh  with cleanup
Error: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /var/lib/dynatrace/oneagent/agent/config/hostautotag.conf20200225-53695-17elc3y.lock (file: /etc/puppetlabs/code/environments/engineering/modules/forge/dynatraceoneagent/manifests/config.pp, line: 22)
Error: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /var/lib/dynatrace/oneagent/agent/config/hostautotag.conf20200225-53695-17elc3y.lock (file: /etc/puppetlabs/code/environments/engineering/modules/forge/dynatraceoneagent/manifests/config.pp, line: 22)
Wrapped exception:
No such file or directory @ dir_s_mkdir - /var/lib/dynatrace/oneagent/agent/config/hostautotag.conf20200225-53695-17elc3y.lock
Error: /Stage[main]/Dynatraceoneagent::Config/File[/var/lib/dynatrace/oneagent/agent/config/hostautotag.conf]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory @ dir_s_mkdir - /var/lib/dynatrace/oneagent/agent/config/hostautotag.conf20200225-53695-17elc3y.lock (file: /etc/puppetlabs/code/environments/engineering/modules/forge/dynatraceoneagent/manifests/config.pp, line: 22)
Notice: /Stage[main]/Dynatraceoneagent::Service/File[/tmp/Dynatrace-OneAgent-Linux-latest.sh]: Dependency File[/var/lib/dynatrace/oneagent/agent/config/hostautotag.conf] has failures: true

manually creating /var/lib/dynatrace/oneagent/agent/config allows the install the work, but this should not be a requirement. I downgraded to 0.5.0 and it installs just fine.

Thank you Bradd for reporting the issue and for proposing a solution, the issue is now fixed on version 1.1.0


ProxyCache improvement

ProxyCache is not really re-usable and could be replaced or re-factored. Consider using Guava cache?

Will incorporate with #52


SignalXY: Add GetPointNearestX

It would be awesome to bring back GetPointNearestX of ScottPlot 4.x for SignalXY to be able again to extract the Yvalue of the SignalXY given the Xposition.
I tried to look at the old code that looks like this:

private (TX x, TY y, int index) GetPointByIndex(int index)
{
    return (Xs[index], Ys[index], index);
}

/// <summary>
/// Return the X/Y coordinates of the point nearest the X position
/// </summary>
/// <param name="x">X position in plot space</param>
/// <returns></returns>
public (TX x, TY y, int index) GetPointNearestX(TX x)
{
    int index = Array.BinarySearch(Xs, MinRenderIndex, MaxRenderIndex - MinRenderIndex, x);
    if (index < 0)
    {
        index = ~index;
    }
    else // x equal to XS element
    {
        return GetPointByIndex(index);
    }
    if (index <= MinRenderIndex) // x lower then any MinRenderIndex
        return GetPointByIndex(MinRenderIndex);
    if (index > MaxRenderIndex) // x higher then MaxRenderIndex
        return GetPointByIndex(MaxRenderIndex);

    TX distLeft = SubstractExp(x, Xs[index - 1]);
    TX distRight = SubstractExp(Xs[index], x);
    if (LessThanOrEqualExp(distLeft, distRight)) // x closer to XS[index -1]
        return GetPointByIndex(index - 1);
    else // x closer to XS[index]
        return GetPointByIndex(index);
}

Something similar would be awesome. I don't know however how to extract X and Y from a signalXY of it's even possible

Also requesting this for the normal Signal plot.

Just noticed this demo seems to be in the demo app, with code

More specifically, the code to use it seems to be MySignal.Data.GetNearest()
https://github.com/ScottPlot/ScottPlot/blob/44ee711df9f646ee82b124e1f98b8a4c5f597fc0/src/ScottPlot5/ScottPlot5 Demos/ScottPlot5 WinForms Demo/Demos/ShowValueUnderMouseSignalXY.cs#L34

Okay I'm opening this back up because in fairest GetNearest() is slow because it triangulates distance to every point (X and Y), but it could be faster if we added GetNearestX() that ignored Y position

I'm merging in #3914 which adds both of these features and they will be available in the next release 🚀
I added this feature just for the scatter plots which use double arrays, but I welcome code contributions from the open source community to complete the other data sources https://github.com/ScottPlot/ScottPlot/pull/3914/commits/846b02ce31d69e23464f80f740e02cd383fb7e1d


Delete the oct/cases folder for avoiding missunderstanding of new oct?

@liangchenye Shall we delete the oct/cases folder?
Today, some have attemped to use oct, but existing of oct/cases consult him.
Thanks.

I just moved two tools to oct-engine.
I'll delete the cases folder in oct in 10 minutes.
( but left it in oct-engine)

done. close


Global Exception Handler not working while using Contract

I'm currently using a Global Exception Handler on my REST microservice that designs the return of all my customized exceptions been throw on the project. Here is an example:
@ControllerAdvice
public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {

    @ExceptionHandler(value = WebServiceException.class)
    public ResponseEntity<ResponseError> handleWebServiceException(WebServiceException e) {
        return ResponseEntity.status(e.getStatus()).body(e.getError());
    }

}

In my code when a error occurs I simply throw a WebServiceException (with none try/catch written on the path return of the service) and my Exception Handler gets the exception and formats the return.
I started using Spring Cloud Contract (version 1.2.3.RELEASE).
The Contracts for test success calls (2xx like) are working perfectly, but the ones for error (4xx like, thrown by the WebServiceException) are not. When I wanna test a error process usually a exception is thrown by the service, wich in my case using a Exception Handler is OK on a normal call, but when testing with a Contract gives me a direct error message (saying that an exception was throw), as if the Exception Handler is not getting the error and returning the call.
Can somebody tell me if Contract does not work with Exception Handler of if I need to do some additional configuration?

Have you set up the context properly? Meaning, if you set up mock mvc you have to add all filters by yourself or reuse the web context. Example here https://github.com/rest-assured/rest-assured/wiki/Usage#using-spring-security-test . That way all filters will be setup for you.

Here is what I have:
@ActiveProfiles("test")
@Profile("test")
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public abstract class BaseApplicationTests {

	@Autowired
	protected WebApplicationContext context;

	public void setup() {
		RestAssuredMockMvc.webAppContextSetup(this.context);
	}

}

public class ControllerTests extends BaseApplicationTests {

	@Autowired
	private SomeController controller;

	@Before
	public void setup() {
		super.setup();
		RestAssuredMockMvc.standaloneSetup(this.controller);
	}

}

I read it your reference but did not understand how to add the Exception Handler in my configuration. Could you be more specific?

@ActiveProfiles("test")
@Profile("test")
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public abstract class BaseApplicationTests {

	@Autowired
	protected WebApplicationContext context;

       @Before
	public void setup() {
		RestAssuredMockMvc.webAppContextSetup(this.context);
	}

}

this should be your base class. Why do you set first the webAppContextSetup and then (most likely) override it with standaloneSetup ?

It completely makes sense. Probably during the Contract configuration I followed the instructions not considering my current structure. Removing the standaloneSetup and using only webAppContextSetup solved my problem. Thank you, @marcingrzejszczak.
This ticket can be closed.

Glad that we solved it!

Thank for the help. I have been working on this the whole morning :)

You can create standaloneSetup with global exception handler like
RestAssuredMockMvc.standaloneSetup(this.controller, new GlobalExceptionHandler());


Fix uri for ADFS token API

Task name:
Description: The URI was constructed correct when using a certificate, but not a client secret. Was likely overlooked when ADFS support was first added.
Documentation changes required: (N)
Added unit tests: (N)
Attached related issue: (N)
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@keystroke  We Validated the Code, We also found that the same way of code is also present in other common modules
https://github.com/microsoft/azure-pipelines-tasks/blob/master/common-npm-packages/AzureRmDeploy-common/azure-arm-rest/azure-arm-common.ts#L208
https://github.com/microsoft/azure-pipelines-tasks/blob/master/common-npm-packages/azure-arm-rest/azure-arm-common.ts#L211
Could You please make a changes on these modules too. Also bump up the package version

@PhilipsonJoseph I just made this PR as a curtesy to help explain in the email thread what the issue was.

@PhilipsonJoseph I made the same changes to the two files you linked. I didn't look into the package version thing. Are you able to take this forward?

/azp run


Bubble burst game

Project title
bubble burst game
Web stack
html ,css , javascript
Screenshot(mandatory)

Additional Context(mandatory)
a game to strong your javascript concepts and enjoy also
Are you contributing under any open-source program ?
Codepeak 23

@GAGANRAGHAV Can you attach a video prototype of the project like the gameplay??

https://www.loom.com/share/825fbe984dde4001b432e9e04c036d07


Build scanner.c in build.rs

This resolves an issue in rust projects that use this grammar as a crate where the linker would encounter missing symbols.

Whoops, duplicate of #6


(SP: onHold) Investigate event bus

Investigate (and implement) event bus React for isAddedClicked, currentSectionIndex, isNewActivity

This issue is not relevant anymore


liquibase.xml is added twice to a classpath while optimizedRun

Expected Behavior
No response
Actual Behaviour
Caused by: java.io.IOException: Found 2 files that match classpath:liquibase/liquibase.xml: jar:file:/home/message/www/liquibase-aot/build/libs/liquibaseaot-0.1-jit.jar!/liquibase/liquibase.xml, file:/home/message/www/liquibase-aot/build/resources/main/liquibase/liquibase.xml
        at liquibase.resource.AbstractResourceAccessor.openStream(AbstractResourceAccessor.java:25)
        at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:50)

Steps To Reproduce
No response
Environment Information
No response
Example Application
https://github.com/message/micronaut-liquibase-aot
Version
3.2.3

Example application also covers #41

This is probably to be fixed in the Gradle plugin. Error occurs when running optimizedRun.


Prepare 6.1.4 release

I only updated vulnerable packages to minimize risk.

Replaced by #928 which will explicitly install Firefox.


Topic8

Good work Matias!
Please review my comments and let me know if you are able to test it
Please attach to the pull request the documentation related to point 1 (Using the same SQL-MySql data model, map it to the corresponding database, collections and documents).

:+1:

Good job Matias!!!


Feature/calcuttj timing raw decoder

This does the raw decoding of the timestamps for each trigger record.
~Making this a draft right now because I'm unsure if we want/need a 'ProtoDUNETimeStamp' in there for beam reconstruction. Will return to this.~
Thanks to @aeoranday for the development

trigger build

trigger build

Because for some reason we can't initiate the build bot from here, I'm going to merge this and deal with the fallout from any potential CI test failures if needed

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase build DUNE on slf7 for e26:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the build DUNE phase logs
parent CI build details are available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase build DUNE on slf7 for c14:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the build DUNE phase logs
parent CI build details are available through the CI dashboard


[@azure-rest/ai-vision-face] Update to v1.2-preview.1

Packages impacted by this PR
@azure-rest/ai-vision-face
Issues associated with this PR
Describe the problem that is addressed by this PR
To support the latest Azure AI Face v1.2-preview.1 API.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure-rest/ai-vision-face


feat: move to Mixpanel

We should replace Google Analytics with Mixpanel with geolocation disabled see more info here: https://docs.mixpanel.com/docs/tracking/how-tos/privacy-friendly-tracking#disabling-geolocation
Here is the project token 47b43858cf6fe9376f8deddda52cbaaf

@samuveth
https://github.com/snapshot-labs/sx-ui/blob/be07543e2216110150124d7ae435c1f9bc46c75d/src/main.ts#L28-L44


[Bug] App does not run on Windows

Followed Windows installation instructions, using fresh Miniconda install.  This is what I get:
(sd) C:\Users\mrcat\sources\stablediffusion-infinity>python app.py
patch_match compiling failed, will fall back to edge_pad
No module named 'fpie' so PhotometricCorrection is disabled
Traceback (most recent call last):
File "C:\Users\mrcat\sources\stablediffusion-infinity\app.py", line 1009, in
cancel_button.click(fn=None, inputs=None, outputs=None, cancels=[proceed_event])
TypeError: Clickable.click() got an unexpected keyword argument 'cancels'
(sd) C:\Users\mrcat\sources\stablediffusion-infinity>python --version
Python 3.10.6

See https://github.com/lkwq007/stablediffusion-infinity/issues/84
The gradio needs to be updated:
pip install gradio==3.6

Also fixed with latest commit.


go run: panic: modindex.GetPackage called with empty modroot

Hi,
On Go 1.19.3 windows-amd64, with a directory structure like this:

pwd here outside of module

my-module/

go.mod
vendor/

github.com/xxxx/xxxx/

xxxx.go

I tried to do go run -mod=vendor my-module/vendor/github.com/xxxx/xxxx/xxxx.go and got this panic:
panic: modindex.GetPackage called with empty modroot

goroutine 8 [running]:
cmd/go/internal/modindex.GetModule({0x0, 0x0})
        c:/go/src/cmd/go/internal/modindex/read.go:157 +0x125
cmd/go/internal/modindex.GetPackage({0x0, 0x0}, {0xc000200060, 0x28})
        c:/go/src/cmd/go/internal/modindex/read.go:135 +0x31
cmd/go/internal/modload.scanDir({0x0?, 0x21?}, {0xc000200060, 0x28}, 0x0?)
        c:/go/src/cmd/go/internal/modload/load.go:2105 +0x4b
cmd/go/internal/modload.(*loader).load(0xc0001a7040, {0x15efa90, 0xc00001c090}, 0xc00
01a7450)
        c:/go/src/cmd/go/internal/modload/load.go:1734 +0x35f
cmd/go/internal/modload.(*loader).pkg.func1.1()
        c:/go/src/cmd/go/internal/modload/load.go:1517 +0x29
cmd/go/internal/par.(*Queue).Add.func1()
        c:/go/src/cmd/go/internal/par/queue.go:58 +0x7d
created by cmd/go/internal/par.(*Queue).Add
        c:/go/src/cmd/go/internal/par/queue.go:56 +0x225

What I did was probably confusing and wrong, sure, but i think a panic is unexpected

What I did was probably confusing and wrong, sure, but i think a panic is unexpected

Agreed — if xxxx.go is a standalone source file (that doesn't import anything outside of std), then the command should probably succeed (despite the misleading -mod=vendor?), but it probably shouldn't try to use the modindex.

@seankhliao, in this case my-module/vendor/github.com/xxxx/xxxx/xxxx.go is probably treated as a file path, since the file does exist.

don't we require ./ (or similar) for file paths not in the current directory

No, that's only for package paths.
$ go mod init example
go: creating new go.mod: module example

$ mkdir foo

$ cat > foo/main.go
package main

func main() {
        println("hello, world!")
}

$ go run foo/main.go
hello, world!

Weirdly enough, I'm getting a different panic message: panic: internal error: rs.graph is unexpectedly nil with -mod=vendor
I was able to get the panic: modindex.GetPackage called with empty modroot, but can't reproduce it anymore.
I'll start with fixing the panic I'm getting and see if it uncovers the other panic.


Modify formData before submitting form

What is the best approach to for example format all date inputs before submitting form?

You can get the fields and transform before submiting to your backend.
<FormKit type="form" @submit="fields => send(transform(fields))" />

const send = (fields) => {
  // send to your backend
}

const transform = (fields) => {
  return newFielsd;
}

I was rather thinking of plugin for form that's gonna handle just all date fields
so I would do :plugins="[dateFormatter, timeFormatter]"

You could use a plugin to change the input to your formatted state, but that would also change it visually. I think you may be able to change the submit prop to run a transform before calling it.
const formatter = (node) => {
  if (node.props.type === 'form' && node.props.onSubmit) {
    const oldSubmit = node.props.onSubmit;
    node.props.onSubmit =  (fields, node) => oldSubmit(formatDate(fields), node);
  }
}

Would be nice if I could access type of field in onSubmit


Fix WebAssembly support

Hides a few paths, that fail at runtime on wasm32-unknown-unknown, under conditional compilation.
Fixes #137.

@matthew-russo Why was this closed?

 That does automatically close all the associated PRs :(

fun

let me see if i can undo

From personal past experience, I don't think you can. But let me know if you want to cherry-pick this manually or for me to reopen the PR.

I'll deal with it -- sorry about the hassle. On the bright side it'll force me to look at all the PRs that had been open without getting attention.

this was rebased here:
https://github.com/proptest-rs/proptest/pull/458
which is now replaced targeting the new branch:
https://github.com/proptest-rs/proptest/pull/519


Remove redundant "a" from example in README

This PR fixes a very minor typo in the README.
Anyways, this library looks very useful and I'm looking forward to trying it! :smile_cat:

Good catch, thank you!


Hi, just installed the extension and got this error msg

require() of ES Module /home/juanescacha/Repositorios/Bank Modern UI/tailwind.config.js from /home/juanescacha/.vscode/extensions/kalimahapps.tailwind-config-viewer-0.0.2/build/tailwind-config.js not supported. Instead change the require of tailwind.config.js in /home/juanescacha/.vscode/extensions/kalimahapps.tailwind-config-viewer-0.0.2/build/tailwind-config.js to a dynamic import() which is available in all CommonJS modules.

any help would be awesome :)

Probably you are using commonjs in your project. If the repo you working on is public please provide a link so I can fix the extension and test it.

sure! https://github.com/Juanescacha/Bank-Modern-UI

I fixed it. You can test it with v0.0.4. It took longer than I anticipated since electron (and in turn VSCode) does not support ESM. I tested it on your repo and it is working.

Perfect! 💯

Great. If you like the extension please rate it on VSCode marketplace.


consider creating a reusable library/mod with basic Civ6 game calculations

I noticed that at least some Civ6 plugins (like CQUI and others) have their own methods to calculate basic things like housing and such. while ideally I would want the UI-level plugins to focus on UI and just use the calculating functions from the base game, I understand that sometimes it is not possible due to the base game source code being closed (please correct me if I am wrong).
now, if we do have to re-implement the basic game calculations in a plugin, can we extract this into a reusable library (a separate mod?) that other mods can include or depend on? not sure if Steam Workshop supports mods dependencies, but having this code in one place would hopefully greatly simplify its maintenance. developers working on various mods/plugins (not just CQUI) could hopefully import this reusable library into their UI-level plugins.
e.g. the same "how much housing" function can be used in all kinds of UI plugins.
again, ideally this should be available in the base game's API, but if it is not, we can benefit from creating the "base game API" ourselves.
tagging @alimulhuda @the-m4a

yes, this would be great - if nothing else we pack these kinds of things into a single or small group of files that, worst case, can be used as-is by other mods should it be needed.  Which would also allow for packing them into their own mod, if needed.

CQUICommon.lua
I will do some cleanup there.


adding works/editions to a list

would you be able to provide an example of how to add works/editions to a list?

It doesnt appear to be implemented into the OpenLibrary API as of now: https://openlibrary.org/dev/docs/api/lists#update-list

I figured it out.  The following link as a vague example.  I copied in my code that syncs a list of series with list in my account on open library.org  well it's the start.  Right now it just creates the list.
The API take a thrird parameter that is just a list of strings that are openlibrary key's to the edition of the book to put in the list.
I don't think there is anything you need to do to the library, looks like it just works :)
https://openlibrary.org/dev/docs/api/lists#update-list
`      public async Task SyncSeriesWithList(ObservableCollection seriesCollection)
{
      try
      {
          if (!OLclient.LoggedIn)
          {
              await ReadSecureValues();
              await LoginWithUserName(OLUserName, OLPassword);
              if (!OLclient.LoggedIn)
              {
                  throw new Exception("Unable to log in to OpenLibrary");
              }
          }
          OLListData[] userList = await OLclient.List.GetUserListsAsync(OLclient.Username);
          foreach (Series s in seriesCollection)
          {
              var seriesInUserList = userList.FirstOrDefault(list => list.Name == s.Name);
              if (seriesInUserList == null)
              {

                  List<String> booksForList = new List<string>();
                  // Create a new list with the series name and description
                  foreach (var book in s.Books)
                  {
                      if (!string.IsNullOrEmpty(book.OLKey))
                      {
                          booksForList.Add(book.OLKey);
                      }
                  }
                  await OLclient.CreateListAsync(s.Name, s.Description, booksForList);

                  // Inside the SyncSeriesWithList method, after creating a new list

              }
          }

      }
      catch (Exception ex)
      {
          throw new Exception(ex.Message, ex);
      }
  }`

I also just played around with it a bit and turns out you can modify existing lists pretty easily as well; will add wrappers for that next chance i get.
If you need a quick working solution for now:
var handler = new HttpClientHandler
{
    AllowAutoRedirect = true,
    UseCookies = true
};
HttpClient client = new HttpClient(handler);
Uri posturi = new Uri("http://openlibrary.org/people/*YourUserNameHere*/lists/*TheListIDHere*/seeds.json");

var requestData = new
{
    add = new[]
    {
        // Books you want to add
        new { key = "/books/OL25083437M" },
        new { key = "/books/OL24375501M" }
    }
};

var jsonContent = new StringContent(
    System.Text.Json.JsonSerializer.Serialize(requestData),
    System.Text.Encoding.UTF8,
    "application/json"
);
var response = await client.PostAsync(posturi, jsonContent);

To remove just replace "add" with "remove" in the request data.

Can you let me know if this worked for you so that I can close the issue?

Added list editing to the new version of the nuget package, so ill close this


Step 12. Set up SSIS. Missing commands "SFDynamicNodeTags.ps1"

If any of the nodes is set to the 'hasSSIS' attribute equal to 'True',
the ps-script '.\Set-SFDynamicNodeTags.ps1 -ConfigurationFilePath .\ConfigTemplate.xml'
must be executed (after deploying Service Fabric cluster - Step 15. Set up a standalone Service Fabric cluster).
This step is skipped in the instructions.

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

ID: 6a808ef4-2e65-c5fe-9f41-b2efddfa6c5e
Version Independent ID: 6a808ef4-2e65-c5fe-9f41-b2efddfa6c5e
Content: Set up and deploy on-premises environments (Application 10.0.32 and later) - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/deployment/setup-deploy-on-premises-latest.md
Service: ****
Product: dynamics-365
Technology: ****
GitHub Login: @faix
Microsoft Alias: osfaixat

Bug 819619 has been logged to address this issue.


Schedule first tick in Observable.intervalAtFixed rate asynchronously

We have an optimization in Observable.interval methods to schedule the first element synchronously but it is inconsistent with RxJava, see example in https://github.com/monix/monix/issues/1095

👍


UI Make Over

What is your feature request?
Please help us give this fugly prototype a badly needed makeover
What's the Problem?
The game's UI is very basic and to be frank, not great.

Howdy, @timscodebase! Is this repo and issues specifically for Hacktoberfest 2022 or can I take a jab at a couple of the issues?