test author change

Change-Id: I770eb4033778e71af2b774a3fa415c375c332c13
Reviewed-on: https://gerrit.musta.ch/c/public/istio/+/6881
Reviewed-by: Douglas Jordan<EMAIL_ADDRESS>Please provide a description of this PR:

Hi @edieYoung. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


Coveralls doesn't report anything for jsx files

@linclark is this intentional?

I'm working on this in pull request #196.


Expose and document ProjectSettings.get_global_class_list()

Exposes a better way to get global script classes now that https://github.com/godotengine/godot/pull/70557 is merged. The currently supported and documented way feels really sketchy, you have to read and parse a random config file in a hidden directory. If I saw that in a project code without knowing it, I would assume it's some kind of fragile hack to get some undocumented data. We have the API call now, so why not expose it to users instead? This also makes it possible to easily change the actual storage implementation later without breaking all user code. Also see https://github.com/godotengine/godot-docs/issues/6632

I think it's a good idea but this is not the right method to expose for this. You shouldn't re-read the config file every time a user calls this method.
Instead, it's probably the global class information from ScriptServer which should be exposed somehow.

I think it's a good idea but this is not the right method to expose for this. You shouldn't re-read the config file every time a user calls this method.
Instead, it's probably the global class information from ScriptServer which should be exposed somehow.

I was thinking of something similar (in minimum rename it to something like load_global_class_list()), but I'm not yet familiar with the Godot core to have much idea which mechanism should be used or exposed. Especially if it involves class cache invalidation etc. The PR is here at least as a discussion starter, anyone more familar with this are is welcome to pick it up or give more in-depth feedback. I think at least reading the config file directly as a documented way to get this data should be discouraged.

It would be so cool if we could use ClassDB, as it exposes the API I really would want to use from an addon, for example. Here's some example code I tried to use, before discovering that custom classes are not exposed there:
func get_class_instance(name: String) -> RefCounted:
	var class_list = ClassDB.get_class_list()
	var has = class_list.has(name) # false
	var exists = ClassDB.class_exists(name) # false
	if ClassDB.can_instantiate(name):
		return ClassDB.instantiate(name)

	push_error("Class \"" + name + "\" could not be found")
	return null

Updated the PR, it's ready for a review, @KoBeWi or anyone else. In the end, I simply ended storing/caching the class data inside ProjectSettings because that data is actually combined often with ScriptServer and EditorData when needed (for example class icons), there is no single place where all info is available. Now it is read from the config file when first needed and then maintained in memory (and also updated when store_global_class_list() is called). It might be possible to refactor things so that there is a single source of truth for all global class data, but I think that is outside the scope of this PR.
I tested it quite a bit including renaming, deleting and creating class_name-classes and everything seems to work, including deleting .godot-directory and re-importing the project.

please commit it to the next beta ;)

@akien-mga Updated the PR and resolved conflicts. The only suggestion I didn't do was adding get_global_class_name(String path). Adding it would be pretty trivial, but I think people who use this API can now easily implement those themselves. And I'm sure next people would want get_global_class_icon(String path) and others.
I'm slightly against adding additional class-related API's to ProjectSettings, I think the original reason this data was even stored in ProjectSettings was mostly just historical and convenience, not any intentional API design policy. In hypothetical Godot 5.0 I would probably move all that stuff to ScriptServer (which has some other useful APIs that could be exposed) or even ClassDB (which could then offer API to non-engine classes too).

Thanks!


[Candidate 1v1 Battleship Bay ZH v1] Performance drops by around 60% while water rises after dam break

Observed behavior
Performance drops by around 60% while water rises after dam break.
Expected behavior
Performance is stable during water rise.
Screenshots

no complaints during excal tournament so leaving it

fixed.

Performance is very good now.


Illegal seek when using stdout as output file for az ssh config

Can't reproduce in a vanilla python interpreter, with the very same arguments ("/dev/stdout" and "a", and I've confirmed that both are strings at the point of execution)
Command Name
az ssh config Extension Name: ssh. Version: 0.1.5.
Errors:
The command failed with an unexpected error. Here is the traceback:
[Errno 29] Illegal seek
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/developer/.azure/cliextensions/ssh/azext_ssh/custom.py", line 28, in ssh_config
    _do_ssh_op(cmd, resource_group_name, vm_name, ssh_ip, public_key_file, private_key_file, use_private_ip, op_call)
  File "/home/developer/.azure/cliextensions/ssh/azext_ssh/custom.py", line 49, in _do_ssh_op
    op_call(ssh_ip, username, cert_file, private_key_file)
  File "/home/developer/.azure/cliextensions/ssh/azext_ssh/ssh_utils.py", line 83, in write_ssh_config
    with open(config_path, mode) as f:
OSError: [Errno 29] Illegal seek

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ssh config -f /dev/stdout -g {} -n {}

Expected Behavior
Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid, Ubuntu 20.04.3 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.29.2 *

Extensions:
interactive 0.4.5
ssh 0.1.5

Additional Context

route to service team


Feature Request: Ability to get the current window's name

It would be nice if, in a renderer process, you could call something like:
windowManager.getCurrentWindowName()
And have it return the name associated with the BrowserWindow

const { remote } = require('electron');
var windowManager = remote.require('electron-window-manager');
const thisWindow = windowManager.getById(remote.getCurrentWindow().id);
var windowName = new String(thisWindow.name);
// now you have the window name as windowName

JIC anyone needs it ♥


I don't understand how to translate this code from react-app-rewired to rescripts:

I don't understand how to translate this code from react-app-rewired to rescripts:

config-overrides.js:

const { injectBabelPlugin } = require('react-app-rewired')

module.exports = function override (config, env) {
  config = injectBabelPlugin('graphql-tag', config)
  return config
}

Maybe it's just me but I really don't understand this simply problem.
How to?

@frederikhors you can use the use-babel-config Rescript to use your own Babel configuration:
.babelrc
{
  "presets": [
    "react-app"
  ],
  "plugins": [
    "graphql-tag"
  ]
}


A question about the bug in antmaze dataset.

Hi,
I want to ask a question about the bug in the antmaze dataset, i.e., antmaze-large-diverse-v2.
In the goal-reaching setting, there should be at most one non-zero reward ending state in a trajectory.
However, the following strategy will lead to some trajectories with more than one non-zero reward transitions.
https://github.com/seohongpark/HIQL/blob/af153f5ab6eeed8d983dca9d3b4bbf7f55d1fe54/src/d4rl_utils.py#L47
An example is:
env = gym.make("antmaze-large-diverse-v2")
dataset = d4rl.qlearning_dataset(env)
print(dataset["rewards"][552000:553000])
print(dataset["terminals"][552000:553000])

Anyway, this is a small bug of the original dataset, where a trajectory should be terminated when it reaches the first non-zero reward.
One solution is to manually apply early stopping at the first non-zero transition in a trajectory and discard the remaining data. Another solution is to use the old terminal flag, which will lead to many single-step trajectories.
Plus, could you please send me the code of the visual ant-maze environment as well. My email address is<EMAIL_ADDRESS>Huge thanks.

Hi fuyw,
As you mentioned, the original D4RL antmaze dataset has some issues with rewards and terminals for GCRL, and that's why we completely relabeled all the terminal labels by the np.linalg.norm(dataset['observations'][i + 1] - dataset['next_observations'][i]) > 1e-6 criterion. Please note that, after relabeling, our dataset contains exactly 999 trajectories of length 1000. For example, dataset['dones_float'][552000:553000].sum() is 1 in our dataset (as opposed to >700 in the original dataset). Also, since we do not use any reward labels (because we replace them with a sparse goal-conditioned reward function of 1(s=g)) from the original dataset, we do not particularly correct them in get_dataset().

Many thanks for the reply.


Unit tests for excitations

Only raisedsine! has unit tests. Create tests for the other excitations:

[x] click!
[x] sine!
[x] raisedsine!
[x] twotone!
[x] twotonesuppression!
[x] gaussianenv!
[x] toneburst!

This should have been fixed in v0.4.0, improved in v0.4.1


Fix the missing bar between the last and one but last event

@sbesson
One minor thing which I found out just before tagging.
Can you pelase have a look ?

@sbesson thank you


Scaffold Movie Pages

Under the code example for Visual Studio Code, the dotnet command is missing a dash. The command should be:
dotnet-aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's not correct. Try
dotnet aspnet-codegenerator --help

I had this problem running that command: Scaffolding failed.
Could not find project file in MyFiles/File/ProjectName. Took me hours to get it to work ....
I am using VS for Mac
what worked for me was added a   -p YourProjectName   right in between codegenerator and controller

He's correct. I had an execution error while running:
dotnet aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
I'm using VS for Mac with .net core 3.1.1 and the right way should be:
dotnet-aspnet-codegenerator
and if you installed code generator with dotnet tool install --global dotnet-aspnet-codegenerator a guide is shown in terminal saying you can invoke the tool using dotnet-aspnet-codegenerator

Please help:
BTW, im using ubuntu 18.04 with .netcore sdk 3.1.302, i always get this error i dont how to deal with it :+1:
dotnet aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout --referenceScriptLibraries
Building project ...
Finding the generator 'controller'...
Running the generator 'controller'...
Attempting to compile the application in memory.
Attempting to figure out the EntityFramework metadata for the model and DbContext: 'Movie'
A file matching the name MvcControllerWithContext.cshtml was not found within any of the folders:
   at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.<BuildCommandLine>b__6_0()
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args)
   at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args)
RunTime 00:00:09.40


Allow ServiceEntry to have multiple hosts for same TCP port

Describe the feature request
When a ServiceEntry has two hosts on a TCP port:
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: sample
spec:
  hosts:
  - foo.com
  - bar.com
  ports:
  - number: 7070
    targetPort: 7070
    name: tcp
    protocol: TCP
  resolution: DNS

It will be denied:

admission webhook "validation.istio.io" denied the request: configuration is invalid: multiple hosts provided with non-HTTP, non-TLS ports

According to doc string, the reason is:

  // however, for plain TCP there is no way to differentiate between the
  // hosts so we consider it invalid, unless the resolution type is NONE
  // (because the hosts are ignored).

But when DNS_AUTO_ALLOCATE is enabled, they can actually be differentiated by allocated IP 240.240.x.x.
Our use case is mainly related to sidecar's egress TCP traffic through egress gateway, we are looking for removing this restriction from validation webhook.
Describe alternatives you've considered
This issue can be worked around by creating multiple ServiceEntry objects, each only has one host:
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: sample-bar
spec:
  hosts:
  - bar.com
  ports:
  - number: 7070
    targetPort: 7070
    name: tcp
    protocol: TCP
  resolution: DNS
---
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: sample-foo
spec:
  hosts:
  - foo.com
  ports:
  - number: 7070
    targetPort: 7070
    name: tcp
    protocol: TCP
  resolution: DNS

Affected product area (please put an X in all that apply)
[ ] Ambient
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Just create 2 service entries is preferred IMO

the validation is quite weak.

This is the fault of declarative API, validator can not prevent this.

When DNS_AUTO_ALLOCATE is enabled, validation webhook should allow to leverage related functionalities conveniently.
How about adding a feature flag to loose the validation with the prior knowledge of DNS_AUTO_ALLOCATE has to be enabled?

This is also not perfect, as you say DNS_AUTO_ALLOCATE  is per proxy

If DNS_AUTO_ALLOCATE is disabled, istio will ignore a host

Just create 2 service entries is preferred IMO

Unfortunately We could have more than 10 services and each of them may have multiple(way more than 2) DNS host names.
We are not looking for a perfect solution at this moment, just want to reduce the number of ServiceEntry required, given that DNS_AUTO_ALLOCATE  will be enabled for sure.

IMO i am ok with loosen the validation to make validations consistent.  It is no harm  then both ways have same problem when DNS_AUTO_ALLOCATE = false

Its not great practice to have validation tied to environment variables, because if you change the setting you have persisted invalid configs, and you may have multiple revisions.

Its not great practice to have validation tied to environment variables, ...

Agree. For this case, the ides of adding a feature environment is purely for preserving the old validation behavior by default, it doesn't make real difference once ServiceEntry being created. If preserving validation behavior is not that important, below validation code can be removed directly:
		// multiple hosts and TCP is invalid unless the resolution type is NONE.
		// depending on the protocol, we can differentiate between hosts when proxying:
		// - with HTTP, the authority header can be used
		// - with HTTPS/TLS with SNI, the ServerName can be used
		// however, for plain TCP there is no way to differentiate between the
		// hosts so we consider it invalid, unless the resolution type is NONE
		// (because the hosts are ignored).
		if serviceEntry.Resolution != networking.ServiceEntry_NONE && len(serviceEntry.Hosts) > 1 {
			for _, port := range serviceEntry.Ports {
				p := protocol.Parse(port.Protocol)
				if !p.IsHTTP() && !p.IsTLS() {
					errs = appendValidation(errs, fmt.Errorf("multiple hosts provided with non-HTTP, non-TLS ports"))
					break
				}
			}
		}

Then no need to work around by creating ServiceEntry for each of hosts.

Ok but then users not using AUTO_ALLOC (off by default, so most users) will be broken, right? So we definitely cannot remove that.

If users unintentionally create two ServiceEntry on same TCP port when DNS_AUTO_ALLOCATE is false, they still run into the problem.
Any better options for providing convenience to ServiceEntry creation when DNS_AUTO_ALLOCATE is true?

users not using AUTO_ALLOC (off by default, so most users) will be broken, right?

For users not using AUTO_ALLOC, they will encounter the same problem if they create multiple ServiceEntry objects with same TCP port.

Sure, and we can and should provide warnings for those. Just because the
validation isn't perfect doesn't mean we should make it worse?
On Thu, Dec 22, 2022, 3:13 PM l8huang @.***> wrote:

users not using AUTO_ALLOC (off by default, so most users) will be broken,
right?
For users not using AUTO_ALLOC, they will encounter the same problem if
they create multiple ServiceEntry objects with same TCP port.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/42522#issuecomment-1363428328, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXPXOGOG6ELTM7CESS3WOTOBBANCNFSM6AAAAAATD6HNUQ
.
You are receiving this because you commented.Message ID:
@.***>

Its a shame Redis is not supported.
anyho...
I added it the ugly way
values.yaml:
consumption_redis:
  environment1:
    - a.redis.com:1148
    - b.redis.com:1873

service entry:
{{- range $urls:=  index .Values.consumption_redis .Values.global.env }}       {{ $parts := split ":" $urls }}
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: redis-consumption-{{ $parts._1 }}
  namespace: istio-system
spec:
  location: MESH_EXTERNAL
  exportTo:
    - "*"
  hosts:
    - {{ $parts._0 }}
  ports:
    - number: {{ $parts._1 }}
      name: redis-{{ $parts._1 }}
      protocol: REDIS
  resolution: DNS
---
{{- end}}

We are not going to support multi hosts per SE. Just like a service, it canot express two hostnames

Hey, quick question @hzxuzhonghu.
"We are not going to support multi hosts per SE", Is this something that got recently enforced?
We recently upgrade Istio(from 1.20.X to 1.22.X) and our service entries that contain more than one host stopped working.


Working NPM installable version with GitHub Action publish

Adds a working installable variation w/ GitHub Actions publish.
Used to create https://www.npmjs.com/package/operator-filter-registry
I pushed and this created this package name w/o much forethought, hit me up on Twitter or in the OpenSea discord if you want to coordinate handing it over. In any case, all I wanted was to be able to npm import the smart contracts like how I import everything else.
The only weird thing I needed to do was to find-and-replace the imports for openzeppelin contracts to match what is used on NPM.
Tested and works for me.

Thank you for this – we'll be in contact shortly about the NPM package and integrating these changes.

very useful.if no package.json,I have to import the sol file as the raw file path.

Thank you for this – we'll be in contact shortly about the NPM package and integrating these changes.

Any updates regarding the npm package?

Any updates regarding the npm package?

@MikeMoldawsky
I've already transferred the NPM package over to @operatorfilterer
Not sure why this PR hasn't been merged.

Merged with #54, thanks!

Shucks. I didn't even get a contributor badge for this :sweat_smile:


endPage call stops CSRF cookie being set

Using version 2.0.2, php 5.5.11
Problem: I'm getting "Bad Request (#400) - Unable to verify your data submission" when I submit a login form.
Bottom of my main layout looks like this:
...
<?= $this->endBody() ?>

<?php $this->endPage() ?>

The current endPage looks like this:
public function endPage($ajaxMode = false)
    {
        $this->trigger(self::EVENT_END_PAGE);

        $content = ob_get_clean();

        echo strtr($content, [
            self::PH_HEAD => $this->renderHeadHtml(),
            self::PH_BODY_BEGIN => $this->renderBodyBeginHtml(),
            self::PH_BODY_END => $this->renderBodyEndHtml($ajaxMode),
        ]);

        $this->clear();
    }

Performing an echo in endPage causes the headers to be set so future calls to headers_sent will return true. This is a similar issue to this one https://github.com/yiisoft/yii2/issues/541
The sendHeaders method looks like this:
protected function sendHeaders()
    {
        if (headers_sent()) {
            return;
        }

       // other headers sent here, removed for clarity

        $this->sendCookies();
    }

Unfortunately since endPage is called before sendHeaders the csrf cookie is never set.
If I remove the endPage call then csrf cookie is set correctly.
For reference this is a standard login controller & view. Included below for completeness:
public function actionLogin()
    {
        if (!\Yii::$app->user->isGuest) {
            return $this->goHome();
        }

        $model = new LoginForm();
        if ($model->load(Yii::$app->request->post()) && $model->login()) {
            return $this->goBack();
        } else {
            return $this->render('login', [
                'model' => $model,
            ]);
        }
    }

Login

Please fill out the following fields to login:

                        <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>
                            <?= $form->field($model, 'email') ?>
                            <?= $form->field($model, 'password')->passwordInput() ?>
                            <?= $form->field($model, 'rememberMe')->checkbox() ?>

                                If you forgot your password you can <?= Html::a('reset it', ['site/request-password-reset']) ?>.

                                <?= Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']) ?>

                        <?php ActiveForm::end(); ?>

Why endPage is called before sendHeaders for you?

I've no idea. It's the standard SiteController, I've not made any changes to it.

The render() method will start an output buffer, which should prevent the headers from being sent when echo is called in endPage(). Please check if you echo something before actionLogin() is called. Also verify if this problem occurs to the standard installation of the basic app (it shouldn't happen because otherwise many people would complain about this problem).

same problem over here after a composer update. Dont no yet what is causing it.

after setting enableCookieValidation to false (I hadnt set this variable at forhand) for the test environment, tests work again.

@qiangxue stepping through the code I've put a watch on headers_sent(). Before I step over:
 echo strtr($content, [
            self::PH_HEAD => $this->renderHeadHtml(),
            self::PH_BODY_BEGIN => $this->renderBodyBeginHtml(),
            self::PH_BODY_END => $this->renderBodyEndHtml($ajaxMode),
        ]);

headers_sent() is returning false. As soon as I step over the echo  headers_sent() returns true
To temporarily fix the problem I've set enableCsrfCookie to false

@dynasource There's a commit recently which changes the way of how cookies are protected from tampering. This may cause CSRF validation failure once. If you retry it, it should be fine. Let me know if you can still reproduce the issue.
@dickoms As I said, this echo is enclosed within an output buffer started by the render() method. You may insert code before echo to double check if there is an active output buffer.

@qiangxue: that is correct. I had it once when logging in with the Browser. After that, no issues.
Hower, my Codeceptions tests fail with this setting on true.

@qiangxue  "There's a commit recently which changes the way of how cookies are protected from tampering. This may cause CSRF validation failure once. If you retry it, it should be fine"
The csrf cookie is not generated when my login form is rendered first. when I submit form, form submission fails, csrf cookie is generated and I've to again submit the form. how can I force the csrf cookie generation?

Please check if your login form contains a hidden field for csrf token. If so, the CSRF cookie should be sent (done via yii\web\Request::getCsrfToken())

Looks that I have the same issue with functional tests but not with acceptance tests. This issue appears after upgrading yii from 2.0.2 to 2.0.4
I'll try to investigate the source of it.

Looks that there is a lot of missing headers including SetCookie:
# ../vendor/bin/codecept run functional LoginCept.php -vvv
Codeception PHP Testing Framework v2.0.13
Powered by PHPUnit 4.6.6 by Sebastian Bergmann and contributors.

Frontend.functional Tests (1) ----------------------------------------------------------------------
Modules: Filesystem, Yii2, FixtureHelper, ExceptionHelper, Asserts
---------------------------------------------------------------------------------------------------
Ensure login page works (LoginCept)
Scenario:
* I am on page "/index-test.php/login"

  [Response] 200
  [Page] http://frontend/index-test.php/login
  [Cookies] []
  [Headers] {"content-type":["text/html; charset=UTF-8"]}
* I am going to submit login form with no data
* I fill field "input[name="LoginForm[email]"]",""
* I fill field "input[name="LoginForm[password]"]",""
* I click "login-button"
  [Uri] http://frontend/index-test.php/login
  [Method] POST
  [Parameters] {"_csrf":"N2hWMHMwUXR.GSRYPF85GVkRNwEFXhInQzxkAQZ9KTVyGDlEFEEkAw==","LoginForm":{"email":"","password":"","rememberMe":"1"},"login-button":null}
  [Response] 400
  [Page] http://frontend/index-test.php/login
  [Cookies] {"_csrf":"159542daf754d8b29296634afe2d56e15a1caaeb909f4b24641e56077b886a22s:32:"IqrhOohmnya1vnCStT21uMxAEpotgquw";"}
  [Headers] {"content-type":["text/html; charset=UTF-8"]}
* I expect to see validations errors

@TriAnMan please open a new issue and describe the problem in more detail. It is hard to tell whether this is really the same thing or not. starting from a clean report makes it easier to find the cause.


NoClassDefFoundError: KClasses

When running my tests with version 1.4, I get the following error on all my tests:
java.lang.NoClassDefFoundError: kotlin/reflect/full/KClasses
	at io.mockk.impl.MockFactoryImpl.mockk(Factory.kt:27)

Exactly the same tests with version 1.3 works fine.

Oh, that is due dependeny issue. Not good. Try linking kotlin reflaction

compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
Will fix it today via new release

That dependency was indeed missing, thanks

@yannickvg please check 1.4.1 version without specifying kotlin-reflection dependency in your project. Many thanks for figuring this out

No problem, version 1.4.1 without dependency works fine!


On complex models, Sharing EdgesRenderer on Instances fails (also at random progress)

Use Github issues ONLY for validated bugs. PLEASE DISCUSS THEM ON THE FORUM FIRST!
We have a really active forum to help answering questions (https://forum.babylonjs.com/)
Bugs

Bug repro on playground:
https://playground.babylonjs.com/#303G1F#2
Expected result:
Not getting the error "Uncaught TypeError: Cannot set property '0' of undefined" when rendering
Current result:
Getting the error "Uncaught TypeError: Cannot set property '0' of undefined" when rendering

Please be aware that "edgeing" (not loading) this model can take some seconds as it's quite complex.
In the playground I have also a simple model (just boxes and their instances) and there it works fine.
It has to be some special kind of mesh or configuration that triggers this error!
I thought it was something wrong in my code, but I could reproduce this here in a playground. Would be great to have a solution for it, right now, I have to calculate the edges for EVERY instance separately which takes about double the time.
Thank you for looking into this :-)

Use Github issues ONLY for validated bugs. PLEASE DISCUSS THEM ON THE FORUM FIRST!
We have a really active forum to help answering questions (https://forum.babylonjs.com/)

I thought it would be clear enough :) Closing for now as this first need to be discussed on the forum


Animated field plotting

Made some general improvements to plotParticles, including simpler
colour plotting of a recorded variable in particles
command line arg tracerfile now replaced with more generic
backgroundfield taking NetCDF and plots first timestep for static
plots, and animates through time for movie2d

I have a couple of new commits to finalise, and then I suggest we merge this branch (as it's only changes to plotParticles.py), then look at taking the good parts from this PR and PR #56 and adding them to each other.

Are we good to have this PR merged? I don't understand why github is telling me that this branch has conflicts that must be resolved...

PR looks good to me; although I think that in the longer term we want to have more overlap between the online and offline plotting functions. But that can be done later.
Still, I think it would be good if @mlange05 has one more glance over it
And as for why automatic merging is not possible, it seems there's a bit of a mess-up in the plotParticles.py itself. There's some conflicts between the HEAD and master there. Could you try fixing this, @Jacketless?

I agree, it is a hefty dependency. I'm not adverse to losing it, but I find it really useful to have some kind of landmask for reference, and this was the easiest way I could get this. Perhaps someone knows and alternative method with less dependency on large packages?

I agree that the Basemap dependency is a bit too hefty for how core it is to PARCELS.
Unfortunately, Basemap seems to have cornered the market so I couldn't find any simpler packages to do this. Shall we land this PR once the Basemap is removed?

I've made a few adjustments to this branch since. Let me clean it up and remove the Basemap and I'll re-pull request it.

I think this should be ready to land, minus the "branch conflicts". I'm sorry, I don't really know what that means/refers to... 🤔

Hi @Jacketless , what's the status of this PR? Except for a few minor conflicts in scripts/plotParticle.py, this one should be good to land. Can you use the command line (see below) to resolve these conflicts? Then I will merge

Ok, I think I've resolved the conflicts, but now all tests are failing because the travis build doesn't have matplotlib... I'm sure this wasn't an issue before?

Closing pull request as this is long out of date. I have a local version of plotParticles which contains many of this new functionality. I will endeavour to make a new branch.


Add Cultist Base by Mick Gordon

Song Name
Cultist Base
Artist Name
Mick Gordon
Source
Youtube
Youtube Link
https://youtu.be/hvOo2OyL_Tg?si=eyWvyU7hL8LZvvEF
Direct File Link
No response
Song ID
467938
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 4706930

Thanks!


Scrape content from W3School urls

Retrieve content for card fields: title, link, desc, and code from W3School link. If multiple matches for a scraped tag, just use the first item.

Ignore Card class for now. Should be resolved in separate PR. Couldn't omit it here through because maven build check wouldn't pass without Card class

Drive-by comment: prefer to PR from branches in this repo instead of your own fork so it's easier for everyone to rebase work on top of yours


Update database_types.md for mysql 5.7

Just a propopal to give DDEV users a clear hint for mysql 5.7 support (which still runs on many  webspace hosting providers, therefore having the same version on DDEV is very helpful).
Best regards.& thanks for providing DDEV!
The Problem/Issue/Bug:
How this PR Solves The Problem:
Manual Testing Instructions:
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Imho a specific example is very helpful for new users who might overlook sentences like "we support all version".
I just picked the latest 5.x version which is used by webspace hosters in germany to give a specific example on how to set it. Examples for 5.5,5.6 could be added as well :-)
Best regards

Thanks @programmieraffe - I rewrote most of this page and added a new commit (and rebased). Could you see if the rewrite addresses your concerns?   (Updated database_types.md)

Yes, very nice! 👍 👍


Uncaught Error: unmatched close parenthesis

[Enter steps to reproduce below:]

...
...

Atom Version: 1.12.6
Electron Version: 1.3.9
System: Mac OS X 10.12.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: unmatched close parenthesis
At /private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/scanner.js:31

Error: unmatched close parenthesis
    at Error (native)
    at Scanner.module.exports.Scanner.createScanner (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/scanner.js:31:24)
    at Scanner.module.exports.Scanner.getScanner (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/scanner.js:37:31)
    at Scanner.module.exports.Scanner.findNextMatch (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/scanner.js:56:22)
    at Rule.module.exports.Rule.findNextMatch (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/rule.js:99:28)
    at Rule.module.exports.Rule.getNextTags (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/rule.js:141:21)
    at Grammar.module.exports.Grammar.tokenizeLine (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/first-mate/lib/grammar.js:150:44)
    at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedLineForRowWithText (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:407:27)
    at TokenizedBuffer.module.exports.TokenizedBuffer.buildTokenizedLineForRow (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:395:19)
    at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:205:43)
    at /private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:182:26
    at /private/var/folders/cw/_bcwdh890nv3fyts3y6jx62r0000gn/T/AppTranslocation/97D4820C-FC7D-4BA8-B7F0-35B32187CF8E/d/Atom.app/Contents/Resources/app.asar/node_modules/underscore/underscore.js:666:47

Commands
     -0:02.5.0 application:open (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "telemetryConsent": "no"
  }
}

Installed Packages
# User
language-haskell, v1.10.1 (active)
language-sapphire, v0.0.0 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (active)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (active)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

This is an issue with one of the community language packages you're using (by the looks of it, language-sapphire).


Issues Connecting to Channel

Weird one just happened here. Chat was unable to connect to my Twitch chat/channel, with min info or max info. Turns out removing the info in TwitchUsername="" fixed it (leaving it blank). Bot is unable to chat on the Twitch side due to it but song requests work fine and it connects to Twitch fine once that's done. albeit it recreates the vertical chat bug.

we fixed ittt


sadly my friend it doesnt work

Hello @Hail2Hydra,
This repository is old and I do not maintain it anymore, I should archieve it.


Update main.py

I added the category and receive variables to the get function.

We don't need this. We can get the variables though ?variable=e etc.


Add a new parameter toolBarSectionSpacing to control the toolbar icon Wrap spacing

The toolbar icons are in a Wrap, with the sections separated by the spacing parameter.   This opens the parameter up for us to modify via toolBarSectionSpacing
If possible please review my code, I might have made some noob mistakes in how its written, but it does work well

Ok thanks I tried to fix that line I hope I got it correct


Cradlepoint W1850

Device Vendor: Cradlepoint
Device Model: W1850
System Object Identifier (SysOID):
List of critical metrics that you expect in the profile (does not need to be all-inclusive, just a general idea of your expectations):

Please provide a public gist with a sanitized (sensitive information removed) SNMP walk of the device. Providing MIB files is not a substitute for an SNMP walk and failure to provide one here will result in delays for closing this issue. The output of these commands shows the "true story" of what a device will respond to in SNMP and is used to ensure that our profiles are efficient and accurate for your devices.
Gist Link:

Example SNMP walk commands:
# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

WIPIPE-MIB.txt

@danieljwilliams73 - please provide an SNMP walk from your device so we can accommodate this request. Details are in the issue template, seen below for reference.

Please provide a public gist with a sanitized** (sensitive information removed) **SNMP walk of the device. Providing MIB files is not a substitute for an SNMP walk and failure to provide one here will result in delays for closing this issue. The output of these commands shows the "true story" of what a device will respond to in SNMP and is used to ensure that our profiles are efficient and accurate for your devices.

Example SNMP walk commands:
# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out


Can not choose MDX-NET model and Demucs model

https://github.com/TRvlvr/model_repo/releases/all_public_uvr_models
download model you want to use using the above website and put the downloaded model files into ./ultimatevocalremovergui-master/models/


Custom Commands

Hello,
I have seen many of these kinds of AI/Assistants.
What I am always looking for though, is a way to get them to perform specific actions on specific commands. I never see documentation on them. This is the kind of thing I mean:
"Leon, turn the lights on in the kitchen."   == Leon will execute a pre-defined script I have to do this task.
"Leon, wake up MOHAWK." == Leon can execute a pre-defined script which sends a magic packet to a remote PC named MOHAWK.
"Leon, open my development tools." == Executes a simple batch file which launches App1, App2, App3.

This sounds like an excellent idea. Virtual Assistants are lacking in this feature and on the chance I can figure out how Leon works, I'll try adding it.

Hello @squirrelboot,
Thanks for your suggestion. This is indeed something that I would like to do with Leon later on. And Actually, for the:
Leon, open my development tools.

This is something that can be done easily today already. You can simply create a new Leon's module and set the paths of the tools you want to open in the configuration file of a Leon package.
Regarding the two other commands, we can technically do it, but it'll be quite tricky, so better to wait for this improvement.

 🔧 [1.0.0-beta.1] Improve NLU for more detailed queries

How can ı do this ? or is it possible ı dont know but its very good idea
and basic logic is like this
Actionkeyword(Run,Open,Wakeup
etc)+Keywords(pycharm,terminal,googlecloud,asw)+followingProject(Project1,MailServer,create
game server )+config(specific config or config script etc)
At first  starting this module just define keyword and script match and
after run command (to be sure that desired keyword)  can be use this model
start  leon source code
/// do you want to open leon source code///
Yes
On Fri, 22 Feb 2019 at 02:45, Shrubhog<EMAIL_ADDRESS>wrote:

This sounds like an excellent idea. Virtual Assistants are lacking in this
feature and on the chance I can figure out how Leon works, I'll try adding
it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/leon-ai/leon/issues/34#issuecomment-466215330, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcoyctZ-KN_WgPsv6HE66fBtMurE6cWZks5vPy-YgaJpZM4bHh2A
.

For commands like

"Leon, turn the lights on in the kitchen." == Leon will execute a pre-defined script I have to do this task.

It might be better to integrate with tools such as OpenHAB?

Not sure that OpenHAB will be used or not. For the moment I would consider to implement a whole dedicated system for Leon. I've added few notes on the roadmap that you can check it out.


Crash when passing function reference to builtin function to typename()

Describe the bug
Passing a function reference to a builtin function to typename() causes a crash.
To Reproduce

Run vim --clean.

Run this command:
echo typename(function('pow'))

Vim crashes:
Vim: Caught deadly signal ABRT
Vim: Finished.

Expected behavior
Vim does not crash. Maybe func should be echoed because the help says:

When using function() the resulting type is "func"

at here: https://github.com/vim/vim/blob/f055d4502365f24de6c0f210a06e2c146a75dc4d/runtime/doc/vim9.txt#L444-L446
Environment

Vim 8.2.3119
macOS Catalina (version 10.15.7)
iTerm2

Thank you very much 🍣


RFC: get panics out of std::ffi::CString

Bring CString in line with other library functions on the failure mode conventions.
There should be no panic lurking.
Rendered

Cc @alexcrichton @aturon

Alternative: Add a checked_from_slice() method, just like we have x/y which may panic and x.checked_div(y) which does not.

@kennytm I have added a paragraph on why simply adding functions is worse than changing the "shortest name" API.
In case of division, a zero divisor arguably is a programmer error. A restriction on NULs in a string, on the other hand, is arbitrary for the value domain in general (a Unicode text with NUL characters is valid). There are also performance concerns regarding the implementation of division.

That said, a migration path is probably needed whereby the Result-returning functions are added under temporary names and the current functions deprecated. Suggestions?

Thanks so much for throwing this together! I'm increasingly in favor of this approach for C strings.
cc @wycats @nikomatsakis @brson @huonw
@pcwalton I know CString is somewhat common in Servo, do you all have a preference here?

Seems fine to me.

@aturon +1 from me.

After discussion here and on discuss, we've decided to move forward with this long-requested change. Thanks again, @mzabaluev! We'll try to land this ahead of alpha2 if possible.
Tracking issue


Create a google form for talk submission and add link to frontpage

[ ] Add a google form to register for the talk.
[ ] Stick a url to that form in http://enlivit.com/gopher-devs-nepal/ page.

Form for giving talk is created: https://goo.gl/forms/0flAfFG7Py4iHNje2


Add Update / Patch support in the personal workspaces virtual workspace

For now they are not supported, they should.

@sttts is this p3?

obsolete


fixes trafficserver status check

[x] This PR fixes #3729

Which Traffic Control components are affected by this PR?

Traffic Ops ORT
Documentation not required - fixes a bug only.

What is the best way to verify this PR?
Run traffic_ops_ort, if the output says that trafficserver is running, then the issue is fixed.
If this is a bug fix, what versions of Traffic Ops are affected?

master (2697ebac)

The following criteria are ALL met by this PR

[X] This PR includes tests OR I have explained why tests are unnecessary
[X] This PR includes documentation OR I have explained why documentation is unnecessary
[X] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[X] This PR includes any and all required license headers
[X] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[X] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3976/
Test PASSed.


Webpack warning: pre-built javascript file

I'm using cannon.js in combination with webpack. It works but outputs the following warning:
WARNING in ./~/cannon/build/cannon.js
Critical dependencies:
24:432-439 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./~/cannon/build/cannon.js 24:432-439
I changed the "main" entry of the packages.json to "./src/Cannon.js" and it works just fine. Is there any reason, why it references "./build/cannon.js" instead of "./src/Cannon.js"?

Don't think there's any reason. Actually, pointing to src/Cannon.js would be better, for example when debugging in Node.js.
Wanna submit a PR?

@schteppe PR:  #200


More work on directives

Coverage decreased (-0.5%) to 85.483% when pulling 117d961c4f680bd48a8cdee3cba607fa5d5872ff on armonge:v3 into 2c69e23386af3cfd33dc0bc426ea4a6f3cf31159 on mediarain:v3.


Add minho-telemetry service

@jbonofre can you explain more detail about this issue?

I'm thinking about new Minho annotations. These ones would allow to create span implicitely.


Fix the type of sms_configuration_failure in aws_cognito_user_pool. Closes #1888

From json to string.
The official documentation confirms this as well.
Example query results

Results
> select sms_configuration_failure from aws.aws_cognito_user_pool;
+---------------------------+
| sms_configuration_failure |
+---------------------------+
| <null>                    |
| <null>                    |
| <null>                    |
| SNSSandbox                |
| SNSSandbox                |
+---------------------------+

Thanks @KTamas for spotting the bug 👍.


19034 rebase legal name branch

Issue #: /bcgov/entity#19034
Description of changes:
Similar to https://github.com/bcgov/business-create-ui/pull/637
Files to look it:

AssociationType.vue
ChangeBusinessType.vue

Other than that, I think it's OK. Small conflicts that I'm pretty sure are OK after I resolved them.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-edit-dev--pr-556-bnbysccb.web.app


Implement a draggable volume thing

+1 This also needs to be implement for playing progress slider.  A good way to do this would actually be to use the HTML5 slider control.

I'm in the process of implementing this for the volume and playing progress slider using HTML5 slider controls

Great!  I think that @solarnz got quite far with this actually...?  I think that it was very tricky (because if you're not careful you break the layout).
It's probably better to have a look at Google Music and see how they implement the dragging.  There's also this React library for creating Material-style components which has draggable sliders (which don't use HTML5 sliders as I recall): https://github.com/callemall/material-ui.

I got the functionality of the volume slider working just fine using the HTML5 sliders, but yeah the layout was a little off.  Would you rather use that React library or should I keep messing with the layout to see if I can get it right?

The layout for the play progress needs to be very precise (and probably can't deviate much from what it is at the moment).  I would suggest that you have a look at the React library and see how they make the dragging work, and then decide if it's practical to try and implement that using the code we have.
I don't think that we should import the whole library just for that, especially as their slider stuff will probably need a lot of tweaking to get the play progress to work in the layout.


Move IOOS Docs on ioos.github.io to a monorepo format?

This is merely a place to start the conversation and evaluate if the idea has legs.
Proposal
Move all of the jekyll based documentation websites linked to from https://ioos.github.io/ to one mono repository.
Current State
We have the below list of documentation sites that are built using the GitHub IOOS jekyll skeleton, which the theme is managed (via submodule) in the theme repository (main and navbars). Each of these pages have their own repository which contains all the docs and configs for each page. We have established a GitHub Action which (theoretically - explained below) keeps the pages themes in sync with our main theme (sync_theme.yml). So, the look and feel (and header menu!) is consistent across all sites.

https://ioos.github.io/ioos-metadata/
https://ioos.github.io/glider-dac/
https://ioos.github.io/ioos-atn-data/
https://ioos.github.io/mbon-docs/
https://ioos.github.io/ncei-archiving-cookbook/
https://ioos.github.io/conventions-for-observing-asset-identifiers/
https://ioos.github.io/erddap-gold-standard/

Reason for proposal
One reason for this proposal is the fact that if a repository hasn't been contributed to for at least 60 days, the scheduled workflow (in this case sync_theme.yml) is disabled (see screenshot below).

So, now repositories that haven't been updated in 60 days need someone(?) to go in and enable the workflow to keep the theme up-to-date. What repositories need to be updated? Who does this?
Potential solution
If we move all the documentation pages to one repository, it will be less likely that we will run into this workflow being disabled. This also limits the technical overhead of managing submodules and themes in different places.
Some concerns from @MathewBiddle
If we combine all the documentation pages into one repository and we want external contributors to review/edit/contribute, do we want to flood them with potential issues that are in no way related to a specific activity. For example, we put glider docs and hf radar docs under one repo. Folks interested in gliders would be monitoring a repo that has irrelevant conversations about hf radar. With the way we have it organized now, it's a little more clear about what repo a contributor might want to follow/contribute to by the way we've separated things.
We have also built a lot of community around some of the repos that have docs, that needs to be respected and clearly planned for if a transition is warranted.
Closing thoughts
I'm not sure what the right approach is, but lets use this issue as a place to talk it through.

cc @mwengren @ocefpaf @kbailey-noaa @laurabrenskelle
Add others as you see fit.

I'm not sure what the right approach is, but lets use this issue as a place to talk it through.

I guess that the safe approach would be to port all those pages into a temporary (draft) repo somewhere, and then transfer it to IOOS to publish the pages. We want to keep the same URLs to avoid user disruption. We can try to preserve the history of the repos, like what we did for the ngdac migration, but I'm not sure it is worth the effort. Maybe just adding the links to the original repos in a README is enough.

We have also built a lot of community around some of the repos that have docs, that needs to be respected and clearly planned for if a transition is warranted.

It will rock the boat for sure. However, if we do it "right," we can get a more active community that will exchange info across pages and/or the tech used to build the page. An hypothetical example: We just when through the process of adding mermaid diagrams for a particular page. If that have happened in the monorepo, others watching it would already know how to do it if they ever need (or at least it would be easier to find it).
Note that all GitHub Actions and pre-commits will benefit from this. They'll need to be updated, modified and run  in one place.
Codewise (editing the docs text), it will be relatively OK b/c each repo will be in a subfolder and we won't edit them all all the time, causing conflicts, etc. We will only edit them all when automated checks run, but those would be far and few between.

If folks are interested, here is a lighting  talk+slides goind through the process of migration from multiple repos to a monorepo. They did that for code, which is much harder than docs!


Fix documents link

From the admin panel of Craft the docs link wasn't working - now fixed :-)

Thank you @garethredfern!


GlobalTile Drop Hook not working for tombstones (tile entity)

Since Tombstone aren't killed the same way, we cannot return false to prevent them from dropping their item.
Code used:
public override bool Drop(int i, int j, int type)
{
if (type == TileID.Tombstones)
return false;   //It will return false, but still drop the item
else
return true;
}

Are you trying to compare an item type to a tiletype?? I'm not really getting it here

Actually this is a larger problem with the drop hook, considering it only works for 1x1 tiles and a tombstone is bigger. All other tiles drop their items in its CheckXxY method, so this requires more thought than I anticipated. I'll update the wiki for now so that it is clear the drop hook currently only works for 1x1 tiles.

Actual fix commit: ea3d3c44b56ce6662e85830e4553053ceb4f0c23


Dependency remap breaks dependency

Hi. I've added GeckoLib mod as dependency for my Forge project. However, my game wasn't starting. I was wondering why and found out that META-INF/jarjar/metadata.json file isn't present in remapped jar. It exists in jar obtained from maven, but after remapping it disappears. Maybe this error has something to do with it:
log.txt
Dependency (from repo: https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/):
modImplementation("software.bernie.geckolib:geckolib-forge-1.20.1:4.4")

I'm using:
minecraft: 1.20.1
forge: 1.20.1-47.2.20
dev.architectury.loom: 1.4-SNAPSHOT

There is normal dependency but it doesn't load in the game.
I'm adding it using
implementation("com.eliotlash.mclib:mclib:20")

But when I launch my game in dev environment I'm getting

Is there any reason why jar-in-jar mods are removed on remap? Also why only metadata is removed on remap, not the actual jar file inside META-INF/jarjar directory?

Is there any reason why jar-in-jar mods are removed on remap? Also why only metadata is removed on remap, not the actual jar file inside META-INF/jarjar directory?

Both are done for consistency with Fabric. (Deleting the actual jars isn't necessary here, it's easier to remove the metadata file.)
Jar-in-jar deps are also not easy to remap, so they are removed to fix issues such as #125. See #159.

Is it possible for it to leave dependency if it isn't obfuscated? I think there is JSON property in metadata.json to specify if dependency is obfuscated or not


Can I customize the checkpoints directory

Default save to C drive user directory
But I don't have enough space on my C drive
Need to modify the default checkpoint folder

Hi, you could modify the below path:
https://github.com/openvinotoolkit/anomalib/blob/27876c851eb97a5b081b89a0059b7cbb2cad9688/src/anomalib/models/efficient_ad/config.yaml#L53

You would have to modify the code a bit I guess: https://stackoverflow.com/questions/52628270/is-there-any-way-i-can-download-the-pre-trained-models-available-in-pytorch-to-a

Thank you for your help
Problem solving

Hello, is there an variable we can config in the Python API?


Raw Query Dump

Hey Goran!
There's any way to dump the raw query before it get executed for debugging purposes?

ATM we can do it for insert, update and delete queries by doing following:
let caching_session: CachingSession;

let res = model.insert().trace(true).execute(caching_session).await?;
if let Some(tracing_id) = res.tracing_id {
    let info = caching_session
        .get_session()
        .get_tracing_info(&tracing_id)
        .await
        .unwrap();
    // log query
    info!("Info: {:#?}", info.parameters);
}

For read queries we return typed results, so we need to update our query execution logic to enable this. I will do it when I get a chance, so let's leave this thread open for now.


Not supported error on 8.3.0

Please verify that you have read and understood the guidelines.
yes
A clear and concise description of the issue.
I'm trying to execute the post install script:
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
I'm running pve 8.3.0.
I know the closing this issue #446 should be solving the problem.

Am I missing something?
What settings are you currently utilizing?

[X] Default Settings
[ ] Advanced Settings

Which Linux distribution are you employing?
Debian 12
If relevant, including screenshots or a code block can be helpful in clarifying the issue.
No response
Please provide detailed steps to reproduce the issue.
No response

Wrong Repo.

My bad thx.


[WIP] api: Group members activity (pt 1)

Partial clone of #1185
TO-DO

[x] Fixing incorrect event triggers (removed 3, group only had 2)

[x]  Tests

[x] Add database table/enum and types
[x] Triggering events

[x] AddMembersService
[x] RemoveMembersService
[x] ChangedMemberRoleService
[x] EditGroupService
[x] Integration tests

[x] Inserting member activities into the database

[x] AddMembersService
[x] RemoveMembersService
[x] ChangedMemberRoleService
[x] EditGroupService
[x] Integration tests

[x] Send "member role changed" event to Discord bot

test

test

test


FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:9.6.0.
Required by:
project :app
project :app > project :freerasp
Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:9.6.0.
Could not get resource 'https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp/com/aheaditec/talsec/security/TalsecSecurity-Community-Flutter/9.6.0/TalsecSecurity-Community-Flutter-9.6.0.pom'.
Could not GET 'https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp/com/aheaditec/talsec/security/TalsecSecurity-Community-Flutter/9.6.0/TalsecSecurity-Community-Flutter-9.6.0.pom'. Received status code 401 from server: Unauthorized
Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:9.6.0.
Could not get resource 'https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp/com/aheaditec/talsec/security/TalsecSecurity-Community-Flutter/9.6.0/TalsecSecurity-Community-Flutter-9.6.0.pom'.
Could not GET 'https://europe-west3-maven.pkg.dev/talsec-artifact-repository/freerasp/com/aheaditec/talsec/security/TalsecSecurity-Community-Flutter/9.6.0/TalsecSecurity-Community-Flutter-9.6.0.pom'. Received status code 401 from server: Unauthorized

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 19s
[!] Gradle threw an error while downloading artifacts from the network.
Error: Gradle task assembleDebug failed with exit code 1

Hello @m-akbarfauzi ,
thank you for reporting the issue, it has been solved.
Kind regards,
Talsec team


Add files via upload - Add undira

Add Dian Nusantara University

@fekalegi Pull request merged. Thank you!

Thank you for your response, hope the best for you and your team
On Mon, Sep 27, 2021, 22:16 Philip Torchinsky @.***>
wrote:

@fekalegi https://github.com/fekalegi Pull request merged. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/12584#issuecomment-927975187, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANWOZIDTM5MQKLAEYTQ6OK3UECDGNANCNFSM5EZV6LPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Headphone clicker support for xcode8 branch

Adds the MPRemoteCommandCenter.shared().togglePlayPauseCommand support to enable this.

Hey @joemcmahon ! Thanks for your contribution, I'll do more testing and merge your PRs if everything is working 👍

Thanks, @fethica - should I post issues or just do PRs for anything else? I'm doing a lot of work on little things to make it extra nice.

Welcome, @joemcmahon - sure you can open PRs so we can improve the code, specially for bugs! I'll be working on an AVPlayer version for the Master branch, I will use your bug fixes to improve it as well. THANKS 👍


Customizable report in Admin for submitted images in all content types

A customizable report to run periodically that includes, among other things, the URL for all submitted images and the associated resource, as well as the tags and topics the image and resource where classified under.
May be based on the image file itself, rather than the resource (since many resources have multiple images).
Rationale: Could be useful for AASHE staff for internal use purposes.
Drawback: Actual photos/thumbnails won't be visible - would need to click a link.

Closing because Hub image features will make this no longer necessary.


chore(build): Set up release workflow (#37)

Adds a release workflow that uses JReleaser.
The release workflow is manually triggered with the next version as input.
The following secrets have to be configured:

OSSRH_USERNAME
OSSRH_PASSWORD
GPG_PRIVATE_KEY
GPG_PASSPHRASE

Fixes #37

Would be really great if we can do the 1.0.0-BETA2 release as soon as we backported all 7.22 commits (should be done this week)

@javahippie This is just a draft. I'm pretty sure that this will need some tweaking until it works as expected. We have to see how we can collaborate here.

We are currently evaluating the release process on the small [migrate-from-camunda-recipe](https://github.com/operaton/migrate-from-camunda-recipe) module. I will close this now and open a new one once we are done with that.


Let’s Encrypt certificate renewal failure

My first staticland site just came up on its certificate renewal period and it’s failing. Will use this issue to document the fix.
First error was a permissions error. Had to chown -R the Let’s Encrypt folders (as well as the related folders within the site) to fix that one.
Second error – haven’t figured how to fix this one yet (includes some extra debugging I’d peppered while troubleshooting the initial installation):
/home/account/account.ind.ie/bin/renew
production
---> production
{ Error: Command failed: certbot certonly --text --quiet --no-self-upgrade --agree-tos --webroot --webroot-path=/home/account/account.ind.ie/html --domains=cyborgrights.eu<EMAIL_ADDRESS>--config-dir=/home/account/letsencrypt/config --logs-dir=/home/account/letsencrypt/logs --work-dir=/home/account/letsencrypt/work
Failed authorization procedure. cyborgrights.eu (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://cyborgrights.eu/.well-known/acme-challenge/LMTU8DvmopArPNqawCIjpeyuQg0Lk6lFIevsMQSjWHU: "
<title>404 Not Found</title>

404 Not Found

"

    at ChildProcess.exithandler (child_process.js:204:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:886:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
  killed: false,
  code: 1,
  signal: null,
  cmd: 'certbot certonly --text --quiet --no-self-upgrade --agree-tos --webroot --webroot-path=/home/account/account.ind.ie/html --domains=cyborgrights.eu<EMAIL_ADDRESS>--config-dir=/home/account/letsencrypt/config --logs-dir=/home/account/letsencrypt/logs --work-dir=/home/account/letsencrypt/work' } '' 'Failed authorization procedure. cyborgrights.eu (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://cyborgrights.eu/.well-known/acme-challenge/LMTU8DvmopArPNqawCIjpeyuQg0Lk6lFIevsMQSjWHU: "\r\n<title>404 Not Found</title>\r\n\r\n
404 Not Found
\r\n
"\n'

I had to hack cert.js and renew.js to get certificate renewals working. I’m not sure if this is something I’d previously messed up elsewhere while trying to get everything else working. Basically, it was looking in the wrong place for the Let’s Encrypt challenge response (the .well-known directory) – it was looking in the directory for the main SSL certificate for staticland, not in the html folder of the site being hosted (in this case, cyborgrights.eu).
In case it helps anyone else, the diff is below (as with a number of things in staticland, some items are hardcoded so make sure you update for your own installation paths) :
diff --git a/lib/cert.js b/lib/cert.js
index c13e954..06c545c 100644
--- a/lib/cert.js
+++ b/lib/cert.js
@@ -17,15 +17,17 @@ module.exports = function createCert (config) {
     assert.equal(typeof options, 'object', 'cert.create: options object is required')
     if (config.requestCerts === false) return callback()

+    console.log ('Web root path: ' + options.letsEncryptChallengeDir || config.letsEncryptChallengeDir);
+
     var opts = {
       text: true,
       quiet: true,
       noSelfUpgrade: true,
       agreeTos: true,
       webroot: true,
-      webrootPath: config.letsEncryptChallengeDir,
+      webrootPath: options.letsEncryptChallengeDir || config.letsEncryptChallengeDir,
       domains: options.domain,
-      email: options.email ||<EMAIL_ADDRESS>+      email: options.email ||<EMAIL_ADDRESS>       configDir: path.join(config.letsEncryptDir, 'config'),
       logsDir: path.join(config.letsEncryptDir, 'logs'),
       workDir: path.join(config.letsEncryptDir, 'work')
diff --git a/lib/renew.js b/lib/renew.js
index c0126a5..adcdf2c 100644
--- a/lib/renew.js
+++ b/lib/renew.js
@@ -10,9 +10,10 @@ module.exports = function (config, callback) {

   site.createReadStream({ keys: false }).pipe(through.obj(function (data, enc, next) {
     cert.create({
-      email: data.email || (config.email && config.email.fromEmail) ||<EMAIL_ADDRESS>+      email: data.email || (config.email && config.email.fromEmail) ||<EMAIL_ADDRESS>       domain: data.domain,
-      debug: site.debug
+      debug: site.debug,
+      letsEncryptChallengeDir: '/home/ubuntu/staticland.ind.ie/sites/html/' + data.domain
     }, function (err, stdout, stderr) {
       if (err) console.log(err, stdout, stderr)
       shouldReload = true


Setup tests

Resolves #16
setup tests

The CI is working, but in order to make it pass there are some minor changes be done:

On the contracts folder, there are some wrong formatting when running scarb fmt --check
On the extension folder, there are some wrong formatting when running yarn lint
There is a version with the changes that enables the CI to work at: https://github.com/luiz-lvj/zkramp/pull/2


How to use?

Would it be this?
If this is the solution? excuse.

In your virtualenv:

Make sure setuptools and pip are up to date:
$ pip install -U setuptools pip

Install what you need in the system python, then install the corresponding package:

Gtk3:
$ pip install vext.gi

Pygtk:
$ pip install vext.pygtk

PyQt4
$ pip install vext.pyqt4

Wx
$ pip install vext.wx

Pygame
$ pip install vext.pygame

Panda3D
$ pip install vext.panda3d

There's a bunch of things I'd like to fix and it may be buggy - having said that I'd used it for a few > months with Gtk 2 and 3 and it's been fine.

To disable it:

$ vext -d

To re-enable:

$ vext -e

https://github.com/stuaxo/vext

Most of these packages use the old C Python API ... if they got ported to CFFI then hopefully vext can become obsolete!

Let me know if there are any packages I should add.

It looks like you did pip vext.gi when you need pip install vext.gi.   Let me know how it goes..


Adding Mesh Gradient /Freeform gradient

adding mesh gradient /Freeform gradient
is there any chance to add mesh gradient /Freeform gradient to flutter in the near future it will help rendering more realistic svgs

Hello @Ahmed-elshorbagy. Thank you for filing this issue.
Unfortunately, this request doesn't seem feasible. Mesh gradients are very complicated and doesn't seem like it's worth the effort. In fact, even CSS mesh gradients are implement with radial gradients which is support by Flutter. See here. More over, there doesn't seem like there are any 3rd party packages that implement mesh gradients. If someone else is not implementing it, it seems very unlikely the Flutter team will. Also, you are speaking about SVGs in Flutter, Flutter doesn't support SVGs anyway. flutter_svg is a 3rd party package. So it's unlikely that the Flutter team would consider this anyway.
For those reasons, I am closing this issue. If you disagree, please comment and I can reopen it. Thank you.


Added bitcoin code

Added bitcoin code

coverage: 91.703%. remained the same
when pulling 9de09f0f6bfdf5f0192c2c5e48538ca8bb1fffe2 on bitcoin
into 8cb542d64a9615a5ef72bdf794723c789fb94ba5 on develop.


refine select_group_by_with_keyword_alias and insert_with_now_function

Pull Request Test Coverage Report for Build 9090

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 64.145%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/util/IpUtils.java
3
76.0%

Totals

Change from base Build 222:
0.0%

Covered Lines:
9063

Relevant Lines:
14129

💛  - Coveralls


Fix unity ui button click and focus with pointer

Overview
I was not able to focus and click a unity ui button without colliders.
This was discussed in https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3262
Now I found a solution which works for windows mixed reality controller pointer inputs and not GazeProvider only.
After digging into the code, I found out the difference between gaze and pointer in the focusprovider.
For the gazeprovider, the unity ui needs no collider to get hovered, but for the pointer it seemed necessary.
Basically it turns out, that for the gazeinput the (FocusProvider:707)
if (pointer.Details.LastRaycastHit.distance > uiRaycastResult.distance)                         {                             overridePhysicsRaycast = true;                         }
is true, but for the pointer input, the LastRaycastHit.distance is always smaller than the uiRaycastResult.distance. Hence it does not override the physics raycast and the pointer cursor does not stop at the ui.
For me it is suspicious that the ray starting point (for linepointer) is the starting point of the RayStep and not the controller position. But the distances compared should be from head->hitTarget vs. controller->hitTarget.
Thanks to @andriworld for the fix with the focusedObject!
Changes

Fixes: # https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3262

This fix works currently for WMR only. Tried on the hololens and now the gazepointer goes through the ui. Investigating,...

Retested and it works on Hololens and WMR. The mentioned issue above resulted from a wrong display in my uiraycastcamera. Just had to reset.


Create 2020-10-02-openhouse.md

Can you take a look and change sentences accordingly? I am not sure if we have landed on how to make lessons citable (i.e., if we decided to archive available versions to Zenodo or??) or how to give credits and visibility (i.e., if we should link to GitHub account, ORCID etc., when registered in Zenodo or other place??). If not, I assume that is what we would discuss..

Looks great! I don't think we have agreed on how to do it but my understanding was that we would discuss and decide at that event how to do this.


How-to get full, unabreviated paths

If I run: "Get-UnityProjectInstance -Recurse", I get a successful listing of my projects, but if any of the project names of filepaths are too long, they get abbreviated with a "...". If they get abreviated I'm unable to scrape the results and get a listing that I can use. I'm trying to get the full path and name so that I can write a keylauncher plugin to list Unity projects and launch them.

I did some more reading and was able to figure out that unitysetup.powershell commands are not returning text, but powershell objects, so they can easily be converted to another format if necessary.
For instance, to get a list of projects in JSON format, you can use the ConvertTo-Json cmdlet, like this:
Get-UnityProjectInstance -Recurse | ConvertTo-Json


docs: ISwap.sol needs NatSpec comments

Follow the same standard used in the rest of the contract (OpenZeppelin's) to describe the interface of ISwap.sol.
Proposal:

Implement the NatSpec interface for the ISwap.sol

Hey,
I can do this issue

Hey @Mitish98 I saw you haven't finished the task and I'm out of task, so I'll go for it as well


Type field values on Server 2022 are Allow and Deny, not Success

Step 9 a in the section reads: "For Type select Success."  But on Windows Server 2022 the available options in the Type dropdown are "Allow" or "Deny".

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

ID: b032a29d-2d3a-d737-28fb-3e6632a667e2
Version Independent ID: b75dd591-4cd7-259a-1fe7-a581d6e356c9
Content: Configure Windows Event collection - Microsoft Defender for Identity
Content Source: ATPDocs/configure-windows-event-collection.md
Service: microsoft-defender-for-identity
GitHub Login: @batamig
Microsoft Alias: bagol

Thank you for your comment. We'll investigate and get back to you.

Hi @SiloReed, our team validated this procedure again and found that the current docs are correct.
If this issue persists, please open a support ticket to handle your specific scenario.
I'm going to close this issue for now, but feel free to add more comments if you have additional feedback for docs. Thanks for your contribution!
#please-close


attributes

[x] Closes #124

could it be as simple as this?

could it be as simple as this?

Yes,
I am wondering why has not been implemented


Inaccurate Svelte 5 example

content/1-reactivity/1-declare-state/svelte5/Name.svelte
Currently:

Hello {name}

However since name isn't reactive in this example it would actually be

Hello {name}

Sure but the name of the snippet is "Declare state". This is exactly what we are doing.
Same thing for the other frameworks examples.


Add a flow for changing email in the Manage page

From @rustd on February 1, 2016 23:54
Porting from ASP.NET Identity repo https://github.com/aspnet/Identity/issues/727
Copied from original issue: aspnet/Templates#406

From @Ponant on May 17, 2017 11:9
Any news about this? I think it is pretty important to have this capability. :)

From @mlorbetske on May 20, 2017 5:59
@sayedihashimi thoughts?

Closing because there are no plans to implement this.


Typos

Coverage decreased (-0.1%) to 98.479% when pulling 71bbd21c8cc29314163856b5e210cb23cc3c1be8 on topiaruss:typos into eac0d211742e4dd3674f350859fb7a74e949199a on johnbywater:develop.


Swap black for ruff format in code style/pre-commit

As noted in the ruff docs, the compatibility is already very good, and in practice I (and others) are using ruff instead of black for formatting with no issues. I've also already made the change in khaeru/genno#105—again, no issues.
We can do this once 3.8.0 is released and update the docs description of the code style accordingly; and then do the same for ixmp and message-ix-models.

This was done in #784.


Allow to enter Multiline text in chat using CMD-ENTER

It should work like ChatGPT where I can enter multiline before I submit with ENTER

Done in #9c7b19e


Example doesn't build

When I try to build example in its own directory, I get:
$ go build
# github.com/long2ice/swagin/router
../../.go/pkg/mod/github.com/long2ice/swagin@v0.1.0/router/router.go:31:14: c.ShouldBindRequest undefined (type *gin.Context has no field or method ShouldBindRequest)

Swagin code calls method ShouldBindRequest() on Gin context but it doesn't exist in Gin code on official repository. This is defined in a fork on long2ice repository.
File go.mod is as follows (generated with go mod tidy):
module test

go 1.17

require (
	github.com/getkin/kin-openapi v0.88.0
	github.com/gin-contrib/cors v1.3.1
	github.com/gin-gonic/gin v1.7.4
	github.com/long2ice/swagin v0.1.0
)

require (
	github.com/fatih/structtag v1.2.0 // indirect
	github.com/ghodss/yaml v1.0.0 // indirect
	github.com/gin-contrib/sse v0.1.0 // indirect
	github.com/go-openapi/jsonpointer v0.19.5 // indirect
	github.com/go-openapi/swag v0.19.5 // indirect
	github.com/go-playground/locales v0.13.0 // indirect
	github.com/go-playground/universal-translator v0.17.0 // indirect
	github.com/go-playground/validator/v10 v10.4.1 // indirect
	github.com/golang/protobuf v1.3.3 // indirect
	github.com/json-iterator/go v1.1.9 // indirect
	github.com/leodido/go-urn v1.2.0 // indirect
	github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect
	github.com/mattn/go-isatty v0.0.12 // indirect
	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
	github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
	github.com/ugorji/go/codec v1.1.7 // indirect
	golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
	golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e // indirect
	gopkg.in/yaml.v2 v2.3.0 // indirect
)

What is strange, is that it works if, in the Swagin project, I run:
$ cd examples
$ go build

OK, fixed. I have added :
replace github.com/gin-gonic/gin v1.7.4 => github.com/long2ice/gin v1.7.2-0.20210925064857-6665ad834758

In my go.mod file.
But this is an issue. We should use official Gin  code.

Maybe you should provide go.mod and go.sum files in examples directory.

Now don't need it


How to pass in an Enum type of data as an argument

The title is the question.

pls use discord for support. we dont answer those here


[WIP] Debug CRD namespace filter regression

Trying to debug the issue mentioned in https://github.com/istio/istio/issues/45137#issuecomment-1563806046

[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

/ok-to-test

PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


[feat]: enable kiosk mode on raspi4

Prerequisites

[X] I have searched for existing issues that already suggest this feature.

Describe the Feature Request
Would like the option to enable kiosk mode on the raspi4. Why is this not enabled by default? Is there some hardware limitation?
Describe the Use Case
I'd like to use my bitcoin node build: http://andyschroder.com/DistributedCharge/news/2022.06.04-RaspiBlitzOnTheTOFU/ . Currently I'm running raspiblitz, but I'd like to demonstrate it with embassy. The built in screen in my build is a perfect use case for kiosk mode.
Describe Preferred Solution
No response
Describe Alternatives
No response
Anything else?
No response

The reason this isn't implemented is because we were not able to quickly find a reliable way to detect when the monitor is attached and when it is detached. This causes Firefox to sometimes run, taking a large a mount of RAM, even when the monitor is not plugged in.
This is not to say that there are no reliable detection methods, just that the ones we considered were not trivial.

Thanks for the clarity. A few options that would be acceptable to me:

Manual activation and deactivation of kiosk mode via a config file.
Require the user to log in after each boot in order to start up firefox.
Have a lightweight text based kiosk instead of firefox that doesn't use much RAM.

ssh in, then run
sudo -i # escalate to root
/usr/lib/embassy/scripts/chroot-and-upgrade # chroot into RW filesystem
/usr/lib/embassy/scripts/enable-kiosk # enable kiosk
echo '#!/bin/sh' > /usr/lib/embassy/scripts/check-monitor # hardcode monitor presence to true

happy hacking

This works, but with the following caveats:

You need to remotely go through the web based UI completely first, otherwise it will just give a blank screen.
Monitor still goes into power save mode after a while.
Can't log in to a shell via the console anymore, only via ssh. Seems to me like there should be a new username for the kiosk mode.

@AndySchroder feel free to make some feature requests

Also, after getting start9 up and running, it looks like the 800x480 screen in the build shown at http://andyschroder.com/DistributedCharge/news/2022.06.04-RaspiBlitzOnTheTOFU/ is too small with the way your web GUI is currently layed out. So, unfortunately none of the web pages are compact enough to show a meaningful status page.

Also, after getting start9 up and running, it looks like the 800x480 screen in the build shown at http://andyschroder.com/DistributedCharge/news/2022.06.04-RaspiBlitzOnTheTOFU/ is too small with the way your web GUI is currently layed out. So, unfortunately none of the web pages are compact enough to show a meaningful status page.

Can you screenshot this?  The UI should adapt to any screen size (although it may not look very good on some sizes).

Here's the default view. It works, but not a very high density amount of information.

I can zoom out and it shows a bit more.

However, something much higher density like this layout might be super useful (ignore the actual fields here, we'd want to see all kinds off stuff about your node summarized, but I'm just trying to show the layout).

Note, all of these examples are taken from a desktop computer and not the actual embassy, just because it's easier to screenshot, so there will be a few more pixels because of the window decorator not existing on the embassy in kiosk mode.

Okay, so to clarify, rather than a bug report this is in regard to excessive empty space.  We are aware of this and a complete redesign of the UI is underway.  Keep an eye out later this year for that update.


App configuration in individual files

Hi,
if would be really useful if one could store the configuration for the apps in individual files, like:

application.yml
application.yml.d/

app1.yml
app2.yml

Content of app*.yml would be
  specs:
  - id: 01_hello
    display-name: Hello Application
    description: Application which demonstrates the basics of a Shiny app
    container-cmd: ["R", "-e", "shinyproxy::run_01_hello()"]
    container-image: openanalytics/shinyproxy-demo
    access-groups: [scientists, mathematicians]

This would make deploying new apps much easier as one could just copy a new file into the directory instead of editing application.yml.

I'd find this really useful too!


HADES versioning for repository & docker container?

Hi - just wanted to raise this question as I was unclear on how we want to approach versioning for this repository & for the corresponding HADES docker container.  Looking at the NEWS.md it looks like the HADES version is incremented as new packages are added to HADES.
Then we have the HADES wide releases which are every 6 months and are versioned by date (2024Q1). Do we want to aim to have a container release for each HADES wide lock file? I'm assuming 'yes' but wanted to get some input from @schuemie @leeevans @konstjar
The containers would then reside here: https://hub.docker.com/r/ohdsi/broadsea-hades/tags and tagged as ohdsi/broadsea-hades:2024q1  for the 2024Q1 release.

Yes, currently this repo has a several functions:

It holds the Hades R package, which currently has no code but depends on all HADES packages and therefore, if you install the Hades package you install all of HADES. I change the version of this R package whenever a HADES package is added or removed.
It holds the HADES website.
It holds the HADES-wide releases (renv lock files).

I thing aligning Docker containers with HADES-wide releases makes sense.

Excellent thanks @schuemie - I'll work to get this set up with @leeevans.


Sword 1 submission fails for users without WRITE permission

Describe the bug
The submission of an item via Sword version 1 fails, if a user does the submission, is not an administrative user. The error message in the backend is org.dspace.authorize.AuthorizeException: Authorization denied for action WRITE on ITEM:4f4abebf-287f-481d-9be8-b288d331be2d by user 8c8c9dea-4a88-47ef-b882-9931f53aca90. When I use a user with Admin permissions, the submission is successfull (so I guess it cannot be a matter of my test command or the test item).
To Reproduce
Steps to reproduce the behavior:

Submit an item via Sword version 1 to a collection, where the user is supposed to be able to add items.

Used command for submission: curl -k -i --data-binary<EMAIL_ADDRESS>-H "Content-Disposition:filename=file.zip" -H "Content-Type:application/zip" -H "X-Packaging:http://purl.org/net/sword-types/METSDSpaceSIP" -u [user]:[password] https://<dspace-backend-url>/server/sword/deposit/<collection-handle>. If the user I set a user with just submission permission to the collection at collection-handle, the submission fails. If it's an admin, it works.
Expected behavior
If the user is allowed to add new items to the collection they submit to via SWORD, this should work (as well as it works for a manual submission).
Related work
In fact I had filed a bug report for DSpace 6 many years ago, which is describing the same problem (and which apparently was never resolved, although the old ticket was closed): https://github.com/DSpace/DSpace/issues/7114

@olli-gold : Had a chance to test this on my end.  I've verified the same behavior.

SWORD v1 deposit works for a user with full Administrator privileges
SWORD v1 deposit works for a user with Collection Administrator privileges
SWORD v1 deposit does NOT work for a user with only Submit privileges on the Collection.  I get a 500 response as well, and the error in the logs is this:

2023-03-08 20:45:36,511 ERROR unknown e7b21054-0832-4220-9e7d-41d895bf5456 org.dspace.sword.DSpaceSWORDServer @ caught exception:
org.dspace.sword.DSpaceSWORDException: org.dspace.authorize.AuthorizeException: Authorization denied for action WRITE on ITEM:a552708a-fd39-4dc0-a80f-92f6d1ea585f by user 914955b1-cf2e-4884-8af7-a166aa24cf73
        at org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:173) ~[dspace-sword-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:138) ~[dspace-sword-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.sword.DepositManager.deposit(DepositManager.java:166) ~[dspace-sword-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:120) [dspace-sword-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:323) [dspace-sword-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
...
Caused by: org.dspace.authorize.AuthorizeException: Authorization denied for action WRITE on ITEM:a552708a-fd39-4dc0-a80f-92f6d1ea585f by user 914955b1-cf2e-4884-8af7-a166aa24cf73
        at org.dspace.authorize.AuthorizeServiceImpl.authorizeAction(AuthorizeServiceImpl.java:171) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.authorize.AuthorizeServiceImpl.authorizeAction(AuthorizeServiceImpl.java:119) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.authorize.AuthorizeServiceImpl.authorizeAction(AuthorizeServiceImpl.java:113) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.content.ItemServiceImpl.update(ItemServiceImpl.java:579) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.content.ItemServiceImpl.update(ItemServiceImpl.java:92) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.content.packager.PackageUtils.updateDSpaceObject(PackageUtils.java:583) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:531) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:250) ~[dspace-api-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]
        at org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:108) ~[dspace-sword-7.6-SNAPSHOT.jar:7.6-SNAPSHOT]

So, this is definitely a bug in SWORDv1.  For the time being, it could be worked around by using a Collection Admin or similar.
I'll flag this as help wanted, as I think we'd need to find a volunteer to help with this one.


Issue found in multi-threaded environment, when multiple request and responses are processed in parallel

Hi,
We are using this library in our app and it works great! However, we are facing following issues while using the library in a multi-threaded environment, when multiple request and responses are sent in parallel:
Block 2 request is sent based on last request which is sent from library. It should be sent on the basis of latest block response received. When library receives any new block, it is creating a new request for getting its next block. This next block request should be created on the basis of block 1 which is just received. Instead, it is creating next block request on the basis of an old request (pendingCoAPMessageInTransmission) which is sent from library. This old request could be of any other request rather from the block received.
isMessageInTransmission variable is a shared variable in library. This is limitation in which if there are multiple request response done in parallel, we will not get correct state of isMessageInTransmission. If there are 2 message sent in parallel, we are not getting correct in transmission state.
Individual Blocks are received in application from the library. And app needs to append all blocks and create complete response. Instead, Library should handle all blocks and share complete response with app once all blocks are received.
Retransmitted response is not handled by the library. Application needs to check whether response is retransmitted or new one and then use the response based on the message ID. Library should discard response if app has already processed it or if it has already sent the same response to the app.
These are not fixed in the new Swift Library also.
Thanks!

Hi there!
Wow, thanks for all the feedback. I am glad that this library is actively used. Unfortunately, I don't have the bandwidth to follow up on all the issues you have mentioned and I am no longer active in following all updates around IETF, specifically, CoAP.
I would however strongly encourage you to create a pull request for this library, so that also other users could benefit from your suggested fixes.
I am happy to review your changes.
Wojtek

Hi,
Thanks for the reply!
Is there any way that I can send/receive multiple COAP messages(concurrency) at a time using this library?
Thanks and Regards,
Usman

@usmaanirfan Hey there! Have you resolved this issue? As I understand your description correctly you're sending multiple messages with a single SCClient instance. As a quite workable workaround I'd advice to create a client per thread instead. You still can reuse single transport layer object in all the clients to reduce the number of connections.


Error when attempting to install volare module using pip

Processing /home/karim/work/volare
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/karim/work/volare/setup.py", line 4, in <module>
          from volare import __version__
        File "/home/karim/work/volare/volare/__init__.py", line 14, in <module>
          from .manage import VersionNotFound, enable
        File "/home/karim/work/volare/volare/manage.py", line 18, in <module>
          import requests
      ModuleNotFoundError: No module named 'requests'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Steps to reproduce:
rm -rf venv
python3 -m venv ./venv
./venv/bin/pip3 install .

Fixed in #54


marshalling functions for base types should pass by value

No reason we can't pass these on the stack. Passing pointers makes things unnecessarily awkward.

fixed in 42039cc0d422d234925006296345398aac9abd78


Relax word limit for question description.

See #32 issue 2

I see, I overlook that the description can contain URL...
Working on the changes now!

I have created a PR for the fix, can you help review and approve? Thanks!