How to have the editor window with a tab index of 0?

Summary
We have an issue where using the ToastUI editor in our app does not get a tabindex, and so you can tab through the window to get to the editor and start typing.
We're using the vanilla JS editor.
But I see it working on the example page as expect. https://nhn.github.io/tui.editor/latest/tutorial-example01-editor-basic
Our code for initializing the editor looks a little something like this...
/**
 * Creates a rich text editor element attaching to the provided editorElement HTMLElement. Can add
 * things such as on change handlers, default value, placeholders, a custom height, etc.
 */
export function createRichTextEditor(params: RichTextEditorParams) {
  const {
    editorElement,
    editorHeight,
    placeholder,
    value,
    onChangeHandler,
    onLoadHandler
  } = params;

  const props = {
    el: editorElement,
    height: editorHeight ? editorHeight + "px" : "500px",
    initialEditType: "wysiwyg",
    previewStyle: "vertical",
    initialValue: value,
    placeholder: placeholder,
    toolbarItems: [["bold", "italic", "ul", "ol", "strike"]],
    language: getLocale(),
    hideModeSwitch: true,
    usageStatistics: false,
    events: {
      change: onChangeHandler,
      load: onLoadHandler
    },
    customHTMLSanitizer: (html: string) => {
      return htmlSanitizer.sanitize(html);
    }
  };

  return new Editor(props);
}

Any ideas?
Version
3.0.1

Can you use focus options? refs


Add VEDA Dashboard

Insert URLs to the project here: https://github.com/NASA-IMPACT/veda-ui

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All projects listed will be posted on our Mastodon channel

@danielfdsilva @hanbyul-here @nerik @ricardoduplos


Error when running with vite

$ yarn dev
yarn run v1.22.17
warning ../package.json: No license field
$ vite --host
error when starting dev server:
Error: The following dependencies are imported but could not be resolved:

  vue3-pdfjs/components/vue-pdf/vue-pdf-props (imported by /Users/nihaocun/Code/caseable-nft-web/src/page/introduction/index.vue)
  pdfjs-dist/types/src/display/api (imported by /Users/nihaocun/Code/caseable-nft-web/src/page/introduction/index.vue)

Are they installed?
    at optimizeDeps (/Users/nihaocun/Code/caseable-nft-web/node_modules/vite/dist/node/chunks/dep-9c153816.js:55767:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async runOptimize (/Users/nihaocun/Code/caseable-nft-web/node_modules/vite/dist/node/chunks/dep-9c153816.js:56647:44)
    at async Server.httpServer.listen (/Users/nihaocun/Code/caseable-nft-web/node_modules/vite/dist/node/chunks/dep-9c153816.js:56662:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

But I'm afraid I did install it, is there any configuration that needs to be done?
Incidentally, there is no problem using vite build

我也遇到了同样的问题,请问是怎么解决的?

The following dependencies are imported but could not be resolved:
vue3-pdfjs/components/vue-pdf/vue-pdf-props (imported by F:/WitBus/sz-bus-info-distribute-cms/src/views/components/PDFPreviewDialog.vue?id=0)
pdfjs-dist/types/src/display/api (imported by F:/WitBus/sz-bus-info-distribute-cms/src/views/components/PDFPreviewDialog.vue?id=0)
Are they installed?

我也遇到了同样的问题，请问是怎么解决的？

没解决，反正 PDF 里面只有一些文字和图片，我直接手写了。这个库还要占用 300 KB，PDF 还要几 MB，算下来还是手写吧，省空间哈哈。

一样问题，示例都不能run


Open Editors: bad icon flash when hovering with icons

Maybe a regression from @joaomoreno split view work?

I can reproduce in stable candidate, I think we should fix this.

On it.


Consider calculating expected_tag internally in auth::authenticate_verify

Here's the current API for orion::hash::authenticate_verify (taken straight from the current docs).
use orion::auth;

let key = auth::SecretKey::default();
let msg = "Some message.".as_bytes();
let expected_tag = auth::authenticate(&key, msg)?;
assert!(auth::authenticate_verify(&expected_tag, &key, &msg).is_ok());

This API is good as it is, but I think it could be even easier. I would propose performing auth::authenticate in the body of auth::authenticate_verify. This is similar to the issue I raised in #138. I imagine anyone using this function will have to start by calculating the expected tag, and then passing it in. We can save users this step with the following proposed API.
use orion::auth;

let key = auth::SecretKey::default();
let msg = "Some message.".as_bytes();
assert!(auth::authenticate_verify(&key, &msg).is_ok());

I don't actually have a use case for the auth module yet. I was just looking through the docs and wondered why we have to calculate the expected_key ourselves.
I'd be happy to work on this PR myself if it's a direction we want to go. Just thought I'd actually start the process the right way this time with a issue before PR. 😅

Thanks for this detailed description! Just like last time, it's a pleasure to receive these issues.

This API is good as it is, but I think it could be even easier. I would propose performing auth::authenticate in the body of auth::authenticate_verify

As much as I'd love to simplify the APIs, this is a change we cannot make. If we perform the tag calculation of the expected tag, within the verification function, then authenticate_verify() would never fail. In the above proposal, the key and message stay the same, so calculating the tag twice, with the same parameters, will always give the same two tags. A user must provide the expected tag, because this function evaluates whether a given key and message produce an expected tag.
In terms of #138, it's also somewhat different. There, we take the parameters used to hash the password, but the user still needs to provide the expected password hash. If we run the password hash twice, in pwhash::hash_password_verify(), then it would always return true due to the same logic described above. The parameters used in pwhash you've proposed to elide from the API, would be the equivalent to the constant output size for the tags, produced by orion::auth::authenticate():
https://github.com/brycx/orion/blob/7ee5bb95bb263dd842bb87402e7c7088f34b23ec/src/high_level/auth.rs#L78
I hope this clears up why we can't make this change. I'll close the issue for now, but please let me know, or re-open the issue, if there's something I've misunderstood.

Yes, this does clear it up. I stared at the example above for five minutes before I understood what was tripping me up. I think maybe changing the variable names in the example would help. I saw “expected_tag” and thought it was something that the developer would compute and not the external party.
Or maybe just splitting up the lines with two comments like this.
use orion::auth;

// unauthenticated source generates message and authentication tag
let key = auth::SecretKey::default();
let msg = "Some message.".as_bytes();
let expected_tag = auth::authenticate(&key, msg)?;

// verify the authenticity of the tag
assert!(auth::authenticate_verify(&expected_tag, &key, &msg).is_ok());

I don't know what other name than "expected" would help. The example also uses this name, since authenticate_verify() takes expected: &Tag.
But the change to the example seems like a good way to explain it more clearly. Regardless of the variable name, the example should be updated. I'll make a follow-up issue.

Yeah after I looked at it again, the variable names are fine. I was just confused about the source of each of the variables, which is tough to represent in a small docs example. But I think something like the amended  version with comments would help. And yes, it should probably be a new issue.


Updated config in database documentation

Improved and expanded the instructions based on best-practices from support tickets
Signed-off-by: Paul Rothrock<EMAIL_ADDRESS>

Looks great @icelander ! I've made a couple suggestions / comments and found this (it's not part of the PR but in this doc):

The title should be in this format (additional new line)

Configuration in the Mattermost Database
=========================================

The first bullet list needs no indentation

- Conveniently manage configuration changes directly from the System Console, even in High Availability deployments and read-only containerized environments.
- Ensure all servers in a High Availability deployment have the same configuration, even when new servers are added to the cluster.
- Automatically deploy SAML certificates and keys to all servers in the cluster.

hey @icelander. Thanks for this PR! Would you be open to taking a look through the suggestions provided? If you're happy with them then we can merge this PR. I'll address the structural suggestions in another PR.

I've noted some minor changes that need to be made but happy to merge this and submit a new PR for those changes.


‘relayWidgetMessages’ not in scope error after starting kernel

I got the following error when I started a kernel
[I 00:16:53.865 NotebookApp] Creating new notebook in
[I 00:16:54.596 NotebookApp] Kernel started: 8818e04f-cf57-49f7-848b-23868661e6d8, name: haskell
[W 00:16:54.688 NotebookApp] 404 GET /static/components/codemirror/mode/ihaskell/ihaskell.js (<IP_ADDRESS>) 4.710000ms referer=http://localhost:8888/notebooks/Untitled.ipynb?kernel_name=haskell
[I 00:16:54.801 NotebookApp] Adapting from protocol version 5.0 (kernel 8818e04f-cf57-49f7-848b-23868661e6d8) to 5.3 (client).
ihaskell: Not in scope: ‘IHaskell.Eval.Widgets.relayWidgetMessages’
No module named ‘IHaskell.Eval.Widgets’ is imported.

[I 00:16:57.587 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
WARNING:root:kernel 8818e04f-cf57-49f7-848b-23868661e6d8 restarted
[I 00:17:04.631 NotebookApp] Saving file at /Untitled.ipynb

but after it automatically restarted, the error disappeared and the kernel ran without problems any more.
so basically I still can use ihaskell, just the error is weird and a bit annoying. anyway it would be very nice if you could have a look.
versions:

ihaskell: master branch
ghcup: v<IP_ADDRESS>
stack: 2.9.1
python: 3.11.0
system: wsl ubuntu jammy
and I installed ihaskell following the readme

I'm hitting the same issue with kernel crashing due to IHaskell.Eval.Widget not being in scope, using ghc 9.4.5 and 9.4.7. I guess that's the first "extra" module that the ihaskell is trying to work with at runtime.
When Jupyter respawns a new ihaskell kernel, the error goes away (why??) but ihaskell can't find IHaskell modules anymore for an import from a notebook, nor extra packages like Data.Aeson.
Further more I noticed that builing ihaskell with ghc 9.2.5  works fine if I copy the generated binary in the .stack-work/.../Cabal- folder by hand to ~/.local/bin, but it's also broken when the stack install does the job (taking the ihaskell binary from a build snapshot). If I dump symbols from the binary in the Cabal- folder (ie the one that works fine) I can see the extra modules listed, but they don't show up anymore in the final built (ie the one that chokes trying to import IHaskell.Eval.Widgets). Maybe.that's a normal symbol strip performed by stack install before copy to ~/.local/bin but that's the only difference I can find between working/crashing ihaskell binaries.
I've ran Jupyter & ihaskell in debug mode, I don't see any difference between the contexts when the ihaskeld binary can import modulers from extra packages (ie built with ghc 9.2.5 and symbol-rich binary is hand-copied) vs it chokes (binary installed by stack install).
I've experimented on two separate machines (ubuntu 22.04), and I'm using ghcup to keep stack/cabal/... versions as currently recommended, and I've also tried building with system-ghc vs stack managed (x86_64-linux vs x86_64-linux-tinfo6) with no difference in results.
The ghc_package_path passed to the ihaskell at launch is correct (stack exec env) but I don't know if ihaskell is actually using that.
I'm really lost as to what is causing this problem. Is there anyone that can help?

I've gotten rid of the problem by getting rid of all Haskell tool chain & Jupyter components I had install so far (ghcup, stack, jupyter-lab, ...), then reinstalled everything from scratch, started from a fresh git clone of the ihaskell project, then re-added my own code, and built using ghc 9.4.5 (ghcup installed). So the issue is somewhere in the build setup or jupyter runtime, and I really wish I knew where!

I haven't experienced this with Nix, can I get you to try using that and see what happens? Examples are available at https://github.com/vaibhavsagar/notebooks.

I suspect something in your build environment is causing this, which would make debugging difficult since I have no visibility into what's going on there. It would also explain why nuking everything and starting over seemed to fix it.

Thanks for the quick follow-up!
Some additional info from today's debugging: first I was wrong, the full (?) cleaning up of Haskell toolchain & Jupyter packages didn't solve the problem, I was actually testing the already working setup when I thought the clean-up had worked out.
I prefer to understand the issue rather than move to a Nix setup, which will just add more complexity in the overall setup. I use Haskell for many projects and I feel uneasy to know that sometimes it works, sometimes it doesn't and I can't understand why.  Further more I hope that a better understanding of how GHC.* packages handles the 'import' commands will lead to finding a way to add new extra packages on the fly rather than always having to having to "compile their presence" in the ihaskell build phase, which is a pain in the lower back.
I did some more tests today, copying the working binary produced on the "good" environment (a new user, with everything installed from scratch) to the "bad" environment (which somehow still has some broken setup).  And it leads me to think the problem is with the runtime config, as the working ihaskell binary on the good env shows the same kind of problem on the bad env as the one built in that "bad" env.
On the good side of things I did get the ihaskell in the good env to run as it used to in 9.2.5, and adding Hasql and using embedded sql within a notebook.  That's so far is my acid test #1, with acid test #2 being getting inline-js and run some js code in node.js as a co-execution support.  Also compiled with 9.4.7 without any problem.
I also figured out why the ihaskell kernel runs on the second launch in the bad environment: the Jupyter code sends a comm_id: jupyter.widget.contol at the first launch (to find out which ones are supported?), and that crashes ihaskell when it doesn't know how to resolve IHaskell.Eval.Widgets; but the 2nd kernel launch doesn't do that so the ihaskell doesn't choke before it's fully up.  It still can't resolve modules from any extra package, but at least  it sends an error back to jupyter instead of dying.
So anyways I'm pretty sure the problem is related to some path that GHC.* uses to get the packages info at runtime.  But I see nothing different between the 2 environments.
Also seen today: on the "good" env the stack exec env returns whatever is found in .stack/global-project/stack.yaml when the stack exec jupyter ... command isn't invoked from within the IHaskell project, which is expected behavior.  But I had compiled with resolver lts-21.6  but the global stack.yaml had lts-21.17, and still everything went fine; I had expected to see the ihaskell break on interface files (.hi). I confirmed that the kernel args had the 9.4.7 paths.  The same issue in the "bad" env creates mismatched interface file versions (wanted "9045", got "9047"), which I thought was normal.
That last event made me think the package databases aren't resolved the same way between the two env... Do you know how the paths could be shown by ihaskell when it starts? Alternatively if you let me know where in ihaskell I could catch the moment the jupyter.widgets.control is processed, I can try to do some debugging there.

A couple of things in no particular order:

EDIT: I've just done what I should have done much earlier and configured ihaskell to start with --env-file

I would strongly recommend against using --env-file, it's IMO a misfeature that was originally introduced to reduce Docker image size (https://github.com/IHaskell/IHaskell/pull/1252). However, the fact that it works supports my theory that the issue is somewhere within your environment.

Further more I hope that a better understanding of how GHC.* packages handles the 'import' commands will lead to finding a way to add new extra packages on the fly rather than always having to having to "compile their presence" in the ihaskell build phase, which is a pain in the lower back.

IHaskell should already support loading extra packages without recompiling, what I used to do was install IHaskell globally with ihaskell install --stack, and then run jupyter notebook inside another project in a different directory (using the same Stack resolver) and it would have access to the project's dependencies (which you can confirm by running :!ghc-pkg --list). I'm also unclear on what you mean by "GHC.*", but more on that below

I prefer to understand the issue rather than move to a Nix setup, which will just add more complexity in the overall setup.

The reason I suggested using Nix is that it does a much better job of isolating the system state, which again would either confirm or deny my theory about it having something to do with your environment, since if it's a bug in IHaskell then I would hope that our CI would reflect this and that's not what I'm seeing.

So anyways I'm pretty sure the problem is related to some path that GHC.* uses to get the packages info at runtime. But I see nothing different between the 2 environments.

What you mean by "GHC.*"? I believe we've reimplemented most of how that stuff works in IHaskell, so whether or not you get an error from IHaskell is not a reflection on how the rest of the Haskell ecosystem or GHC itself works.

Also seen today: on the "good" env the stack exec env returns whatever is found in .stack/global-project/stack.yaml when the stack exec jupyter ... command isn't invoked from within the IHaskell project, which is expected behavior. But I had compiled with resolver lts-21.6 but the global stack.yaml had lts-21.17, and still everything went fine; I had expected to see the ihaskell break on interface files (.hi). I confirmed that the kernel args had the 9.4.7 paths. The same issue in the "bad" env creates mismatched interface file versions (wanted "9045", got "9047"), which I thought was normal.

This is covered in the README here, and once again it is a Stack-specific issue. The problem is that lately Stackage resolvers sometimes change the GHC minor version without changing the major version, so if two successive resolvers use e.g. GHC 9.4.7 they will be interoperable, but if one uses GHC 9.4.6 and the other one uses 9.4.7 then IHaskell will break.

That last event made me think the package databases aren't resolved the same way between the two env... Do you know how the paths could be shown by ihaskell when it starts? Alternatively if you let me know where in ihaskell I could catch the moment the jupyter.widgets.control is processed, I can try to do some debugging there.

flushWidgetMessages seems to be the source of your issue, and it is called here and here. I suspect the first occurrence is what you're running into.

Progress!
You provided the savier command: :!ghc-pkg list. 8-)
Together with :!stack exec env, this shows the situation clearly: for some (still unknown) reason the "stack exec env" that's executed from within ihaskell in the "bad" env just won't figure out the packages path that should be used for resolution. It especially doesn't know about the ihaskell-<IP_ADDRESS> one, so the kernel crashes as soon as it tries to use proper IHaskell features. And whatever the directory the jupyter app is launched from, it's the same situation, unlike in the "good env". And using with --env-file will only work if jupyter is launched in the project directory in the "bad" env, while it will work no matter the directory
So it's definitely not a bug of ihaskell, but solving the config situation by re-organising the entire dev setup to Nix isn't convenient as a solution for me. Similarly to the message just above this one in the project issue list, I think having to organise the global stack env to fit IHaskell is not cooperative; and it would be more advantageous to be able to specify (in .ihaskell?) additional config params to get rid of .stack/global-project/stack.yaml dependency. I don't know the average use of ihaskell/jupyter but that's definitely the way I'd like to use it. That way both extreme isolation approach as Nix & others (as mine, I have around 20 active haskell projects all sharing the same toolset & global package database) would work out.
Beside that you were right that only a mention of extra packages is needed in ihaskell.cabal to have them accessible in the kernel. But I still need to do a stack install by hand to get them built into the exec environment.
But what I'd really like to be able to do is to install packages from within the notebook itself, as it's possible to do in the classic ipython kernel. That goes to having a good mastery of the Haskell compiler/interpreter (that's what I was referring to when using "GHC.*"). It's not available in ghci, but I've seen some Haskell code doing just that in the past (ie doing dynamic library discovery and linking within a running program rather than at startup), so somehow there's something that can be done in that direction.
I also got the inline-js working and I've got some node.js/npm packages connected. Do you have some idea (or maybe it's already built in jupyter/haskell) on how to specify values in the environment that the notebook/ihaskell can use so eg secrets & stuff as npm paths can be provided outside a notebook cells?
In conclusion the -env-file is the easiest solution to the package resolution issue, but having more configuration capability in IHaskell would be a great improvement for flexible operations.
Thanks again for your follow-up on this issue!!

Similarly to the message just above this one in the project issue list, I think having to organise the global stack env to fit IHaskell is not cooperative; and it would be more advantageous to be able to specify (in .ihaskell?) additional config params to get rid of .stack/global-project/stack.yaml dependency

If you're referring to https://github.com/IHaskell/IHaskell/issues/1387, you'll see that the desired behaviour is in fact already how this works.

Beside that you were right that only a mention of extra packages is needed in ihaskell.cabal to have them accessible in the kernel. But I still need to do a stack install by hand to get them built into the exec environment.

That's not what I meant, I was referring to a workflow like https://github.com/IHaskell/IHaskell/issues/792#issuecomment-349186483

But what I'd really like to be able to do is to install packages from within the notebook itself, as it's possible to do in the classic ipython kernel. That goes to having a good mastery of the Haskell compiler/interpreter (that's what I was referring to when using "GHC.*"). It's not available in ghci, but I've seen some Haskell code doing just that in the past (ie doing dynamic library discovery and linking within a running program rather than at startup), so somehow there's something that can be done in that direction.

I can see how this might be convenient for you, but I don't think I'd ever implement something like this in IHaskell.

So it's definitely not a bug of ihaskell, but solving the config situation by re-organising the entire dev setup to Nix isn't convenient as a solution for me.

Understood, but since we agree that this isn't an IHaskell issue I think I can close this now.


Add initial docs setup to dmt-core

Some possible alternatives to look at:

remix (react router)
doctave (template)
gatsbyjs (reactjs + react-hook-form)
docz
storybook
docusaurus
and more...

Example content:

Old documentation can be found:
https://equinor.github.io/data-modelling-tool/user-manual.html


terraform plan raw output

root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# terraform plan -out=plan.tr
Error: Unsupported block type
on cluster.tf line 19, in resource "aws_security_group" "eks-cluster":
19:   tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on main.tf line 55, in resource "aws_internet_gateway" "igw":
55:   tags {
Blocks of type "tags" are not expected here. Did you mean to define argument
"tags"? If so, use the equals sign to assign it a value.
Error: Error in function call
on main.tf line 64, in resource "aws_key_pair" "eks-prod-key":
64:   public_key = "${file("./it-admin-key.pub")}"
Call to function "file" failed: no file exists at it-admin-key.pub.
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# terraform --version
Terraform v0.12.5

provider.aws v2.20.0
provider.http v1.1.1

/terraform-eks# kubens hola-mundo-naranja
Context "arn:aws:eks:us-east-1:947293917990:cluster/regulado-develop-eks" modified.
Active namespace is "hola-mundo-naranja".
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# kubectl get all
NAME                               READY   STATUS    RESTARTS   AGE
pod/hello-world-5fdc9bc659-48c99   1/1     Running   0          21d
pod/hello-world-5fdc9bc659-6q7kl   1/1     Running   0          21d
pod/hello-world-5fdc9bc659-pvxpb   1/1     Running   0          21d
pod/hello-world-5fdc9bc659-zvw6v   1/1     Running   0          21d
pod/hello-world-5fdc9bc659-zxhnl   1/1     Running   0          21d
pod/tuservicio-594495857f-hcq59    1/1     Running   0          21d
NAME                 TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)          AGE
service/my-service   LoadBalancer   <IP_ADDRESS>        8080:32628/TCP   21d
NAME                          DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/hello-world   5         5         5            5           21d
deployment.apps/tuservicio    1         1         1            1           21d
NAME                                     DESIRED   CURRENT   READY   AGE
replicaset.apps/hello-world-5fdc9bc659   5         5         5       21d
replicaset.apps/tuservicio-594495857f    1         1         1       21d
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks#
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks# aws s3 ls
2019-07-24 09:57:09 elasticbeanstalk-us-east-1-947293917990
2019-07-02 16:18:45 fin-reg-develop-public
2019-06-11 16:37:37 terraform-regulado-devops
root@CPX-KLK3T0TNPT9:/home/ubuntu/Downloads/terraform-eks#

terraform init # (before terraform plan)
Initializing the backend...
Initializing provider plugins...

Checking for available provider plugins...
Downloading plugin for provider "aws" (terraform-providers/aws) 2.20.0...
Downloading plugin for provider "http" (terraform-providers/http) 1.1.1...

The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

provider.aws: version = "~> 2.20"
provider.http: version = "~> 1.1"

Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.


Output Variables not working with designer with multi-job pipeline - is it supported?

Having issue with YAML?
No
Having issue with Tasks?
https://github.com/Microsoft/azure-pipelines-agent/blob/master/docs/preview/outputvariable.md
Having issue with software on Hosted Agent?
Log issue at Hosted Agent Image Repository, it contains the VM image used in the VSTS Hosted Agent Pool. If you are having Build/Release failures that seems like they are related to software installed on the Hosted Agent (e.g. the DotnetSDK is missing or the AzureSDK is not on the latest version) please log an issue there.
Having generic issue with Azure-Pipelines/VSTS/TFS?
Please report it to the Developer Community
Have you tried trouble shooting?
Trouble shooting doc
Agent Version and Platform
Version of your agent? 2.102.0/2.100.1/...
OS of the machine running the agent? OSX/Windows/Linux/...
VSTS Type and Version
VisualStudio.com or On-Prem TFS?
If On-Prem TFS, which release? 2015 RTM/QU1/QU2/...
If VisualStudio.com, what is your account name? http://account.visualstudio.com
What's not working?
Please include error messages and screenshots.
Agent and Worker's Diagnostic Logs
Logs are located in the agent's _diag folder. The agent logs are prefixed with Agent_ and the worker logs are prefixed with Worker_. All sensitive information should already be masked out, please double check before pasting here.

answered in #1842


Pass path back to delete button

Jquery filepond. Using JQuery on an hbs page and uploading to a Node.js api. On the backend the photo is being saved to a user specific folder. Is there a way I can pass the path back so the filepond delete button works. I can also set a custom endpoint that deletes based on the user. I just didn't see in the docs how to do this with the jquery version.

I think I figured it out from your docs. I wanted to create 2 instances that had 2 different upload urls. I was confused about the options. I saw in the docs that you have two levels of options. Page level then another at the item level. The latter was optional so I didn’t notice it in the examples. I will try initializing the input element with the optional options included.
Sent from my iPhone

On Feb 4, 2019, at 10:49 AM, Rik<EMAIL_ADDRESS>wrote:
Closed #7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Actually still having this issue. Here is the code
FilePond.registerPlugin(FilePondPluginFileValidateSize);
FilePond.registerPlugin(FilePondPluginImagePreview);
FilePond.registerPlugin(FilePondPluginImageExifOrientation);
const inputElement = document.querySelector("#header-pond");
pond = FilePond.create(inputElement);
pond.setOptions({
server: ${base_url}/api/profilephoto
})
I need to create an additional uploader that points to a different route. How can this be achieved?

On Feb 4, 2019, at 10:49 AM, Rik<EMAIL_ADDRESS>wrote:
Closed #7 https://github.com/pqina/jquery-filepond/issues/7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pqina/jquery-filepond/issues/7#event-2116050436, or mute the thread https://github.com/notifications/unsubscribe-auth/ASq3Jvb6_X5kfCEAKSsyblmw86moZrxYks5vKFaXgaJpZM4aT62e.


chore(main): release 0.7.1

:robot: I have created a release beep boop
What's Changed

chore: use github changelog by @paulschuberth in https://github.com/rotex1800/registration/pull/52

Full Changelog: https://github.com/rotex1800/registration/compare/v0.7.0...v0.7.1

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rotex1800/registration/releases/tag/v0.7.1 :sunflower:


504 response with "jpm sign"

I'm using jpm 1.0.4, node.js 4.2.1. I'm having trouble signing my extension:
$ jpm sign --api-key user:11079870:922 --api-secret >secret<
Creating XPI
JPM [info] XPI created at<EMAIL_ADDRESS>(175ms)
Created XPI at<EMAIL_ADDRESS>JPM [info] Created XPI for signing<EMAIL_ADDRESS>JPM [error] FAIL
Error: Received bad response from the server while requesting https://addons.mozilla.org/api/v3/addons/%40mediathread-firefox/versions/0.1.1/
status: 504
response:
headers: {"content-length":"0","connection":"Close"}
at /home/nnyby/node_modules/jpm/lib/amo-client.js:85:13
at tryCatchReject (/home/nnyby/node_modules/when/lib/makePromise.js:845:30)
at runContinuation1 (/home/nnyby/node_modules/when/lib/makePromise.js:804:4)
at Fulfilled.when (/home/nnyby/node_modules/when/lib/makePromise.js:592:4)
at Pending.run (/home/nnyby/node_modules/when/lib/makePromise.js:483:13)
at Scheduler._drain (/home/nnyby/node_modules/when/lib/Scheduler.js:62:19)
at Scheduler.drain (/home/nnyby/node_modules/when/lib/Scheduler.js:27:9)
at doNTCallback0 (node.js:417:9)
at process._tickCallback (node.js:346:13)

Also, now I can't upload my extension:

What is the URL to your add-on?

The URL is: https://addons.mozilla.org/en-US/developers/addon/mediathread

Background info: This add-on is listed.

Hi @nikolas

Background info: This add-on is listed.

To elaborate on this, jpm sign will only put your new version in the queue when the add-on is listed. This is because listed add-ons still require manual review.
Also, this 504 indicates a problem with our server configuration but I can't find other evidence of this happening right now. Is the 504 still happening or did it go away?

The 504 went away, and I am able to upload new versions.
I was confused, and thought jpm sign is now required for all XPIs in FF 43+ ( I found out that a xpi created with jpm sign still doesn't work: https://github.com/ccnmtl/mediathread-firefox/releases/tag/0.1.1)
I didn't realize that now we have to choose being "Listed" or "self-distributed" and can't do both. I find this really inflexible.. but anyways, I lost my review queue position 15 because I deleted version 0.1.0 (jpm sign told me the version already existed, so my reasoning was, delete the version, upload the new "jpm sign'ed" version).
I don't see these as technical problems with jpm sign, now that I think I understand it a little better. I would like to get back my queue position, since I'm now at 163.

I was confused, and thought jpm sign is now required for all XPIs in FF 43+

yes, that's true.

I found out that a xpi created with jpm sign still doesn't work: https://github.com/ccnmtl/mediathread-firefox/releases/tag/0.1.1)

This looks like it was created with jpm xpi not jpm sign. Also, since your add-on is listed you wouldn't be able to generate a signed add-on automatically.

I didn't realize that now we have to choose being "Listed" or "self-distributed" and can't do both.

What were you trying to do exactly? Were you trying to distribute an add-on that some users could use before it was reviewed and available on addons.mozilla.org ? Were you trying to test your add-on in the release channel?

This looks like it was created with jpm xpi not jpm sign. Also, since your add-on is listed you wouldn't be able to generate a signed add-on automatically.

jpm sign actually did create this xpi. Here's the output log:
$ jpm sign --api-key user:11079870:922 --api-secret "secret"
Creating XPI
Creating XPI
JPM [info] XPI created at<EMAIL_ADDRESS>(173ms)
Created XPI at<EMAIL_ADDRESS>JPM [info] Created XPI for signing<EMAIL_ADDRESS>JPM [error] Server response: Version already exists. ( status: 409 )
JPM [info] FAIL

What were you trying to do exactly? Were you trying to distribute an add-on that some users could use before it was reviewed and available on addons.mozilla.org ? Were you trying to test your add-on in the release channel?

I was trying to make sure this addon is able to be distributed via my xpi file, in case the review hasn't completed in time (I was expecting to have users using this addon in a few weeks).
My goal was, stay in the addon review queue so my extension can be officially approved, but also have a backup plan (self-distribution).
So I just got frustrated because I'm at the back of the review queue again, but self-distribution isn't an option anymore unless I commit to always self-distribute this extension. It seems to be my only option if I want this extension usable in a few weeks, though.

jpm sign actually did create this xpi.

Oh, oops. This is a bug: https://github.com/mozilla-jetpack/jpm/issues/439 What happened is jpm sign first created an XPI from your source code but signing failed so it left the XPI in your directory (the unsigned one).

My goal was, stay in the addon review queue so my extension can be officially approved, but also have a backup plan (self-distribution).

This isn't supported very well at the moment. What you'd have to do is create a separate ID, something like mediathread-prerelease. This would be easy to automate: just copy your source dir, change the ID in package.json, and run jpm sign. You wouldn't need to upload anything manually because by default jpm sign will create unlisted add-ons. It would show up in your Dev Hub list as a separate add-on and obviously wouldn't have any stats (because it would be self-distributed).
In the future we hope to support this case more directly. We're tracking this feature here: https://github.com/mozilla/olympia/issues/1066

The 504 went away, and I am able to upload new versions.

Based on this comment, I'm closing the issue. Thanks for the initial bug report, we're looking into better server stability.

This isn't supported very well at the moment. What you'd have to do is create a separate ID, something like mediathread-prerelease. This would be easy to automate: just copy your source dir, change the ID in package.json, and run jpm sign. You wouldn't need to upload anything manually because by default jpm sign will create unlisted add-ons. It would show up in your Dev Hub list as a separate add-on and obviously wouldn't have any stats (because it would be self-distributed).

Thanks for explaining this workaround. I'm just glad to have a way forward.


Add Review page functionality

Read Tab link
Edit comment link
Clicking "I read and understand..." checkbox will enable submit button
Underline hover for PDF preview download link

I noticed that ajax navigation to comments on cfr changes loses the toc and errors. This makes sense, since we aren't including the cfr toc in the template here. We should do that. This also adds ajax navigation from the review page to the preamble pages, but not the reverse, so the back button doesn't work. I think it's fine to save those for a separate PR, but if we do, let's file an issue so this doesn't get lost.


panda-client 1.5.29 github action

automatic pull request

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Make file persistence optional

Currently, file persistence is non-optional. One has to call reconcile() in order to fill the cache with initial entries which also saves the cache to disk.
With this change, a persist flag can be passed which, if explicitly set to false, skips saving the cache.
This change is needed in order to implement in-memory caching as suggested in https://github.com/eslint/eslint/issues/10781.

hi @mantoni, thanks for you for taking time to make this.
I've added a minor comment.
Kind regards
Roy

Thanks for reviewing. I’ll see where the collaborative API design on the eslint issue goes. This change might not even be necessary.
If this option is going to be needed, I’m happy to make your requested changes. Will let you know in any case.

Closing PR for now, feel free to reopen if you consider it is needed


credentials.cpp still uses its own UrlEncode method

https://github.com/Azure/azure-sdk-for-cpp/blob/6ae0c0daac1542e655e2fd2147d88710a132186c/sdk/core/azure-core/src/credentials/credentials.cpp#L18

@antkmsft Update this to use the Url class.


[uart,dv] Fix uart TX watermark interrupt test

Fix occasional failures of the uart_intr test by adding a cycle of delay when checking the TxWatermark interrupt with the lowest watermark level.
Also update the uart "Theory of Operation" documentation to reflect the switch to status-type interrupts for these watermark interrupts.

Removed documentation changes


MudSelectItem, MudNavLink: Remove MudBaseSelectItem

Description
Components should be as standalone as possible, otherwise, you risk creating a "monolith." Only basic base components should exist, such as MudComponentBase. The only exception is MudFormComponent, which should only contain logic related to validation (our attempts to handle conversion logic and dictates the Value property, but that’s off-topic).
Also, the name of the base class is weird, as NavLink is not really a select item.
Fixes: https://github.com/MudBlazor/MudBlazor/issues/5051
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

Btw Ripple is not even used in MudSelectItem, there are zero references to it. So, we can remove that as well, since it was essentially just copy-paste from MudBaseSelectItem. The Href cannot be set on MudSelectItem, nor can ForceLoad. Basically, all navigation properties are useless. Most importantly, the OnClickHandler is not used, as MudSelectItem uses OnClicked. I will remove that later, but this is why base classes are a pain for components.

Btw Ripple is not even used in MudSelectItem, there are zero references to it. So, we can remove that as well, since it was essentially just copy-paste from MudBaseSelectItem. The Href cannot be set on MudSelectItem, nor can ForceLoad. Basically, all navigation properties are useless. Most importantly, the OnClickHandler is not used, as MudSelectItem uses OnClicked. I will remove that later, but this is why base classes are a pain for components.

Cleanup. Apparently even the OnClick eventcallback wasn't used and this PR also closes this issue: https://github.com/MudBlazor/MudBlazor/issues/5051 as it never ever implemented it, as as benno mentioned https://github.com/MudBlazor/MudBlazor/issues/5051#issuecomment-1214290718 this is an API inconsistency.

Added to v8.0.0 Migration Guide https://github.com/MudBlazor/MudBlazor/issues/9953


python.terminal.activateEnvInCurrentTerminal Runs activate.csh in a zsh Terminal

Environment data

VS Code version: Version: 1.56.2
Extension version (available under the Extensions sidebar): Python v2021.5.842923320
OS and version: OS X 11.3.1
Python version (& distribution if applicable, e.g. Anaconda): 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): poetry created
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: none
Value of the python.languageServer setting: Default

Expected behaviour
I've set my default terminal to zsh. When opening a Terminal, it should source the activate script, but instead sources activate.csh. Not sure how to fix this.
Actual behaviour
source /home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh
▶ source /home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:11: command not found: deactivate
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:13: command not found: setenv
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:16: command not found: setenv
/home/user/.cache/pypoetry/virtualenvs/seg-tools-LLLex4Df-py3.6/bin/activate.csh:32: parse error near `else'
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create a virtual env in a poetry project, v1.1.6. It should create files such as activate, activate.csh, activate.fish, activate.xsh, etc.
Set workspace's Python to that virtualenv's bin/python3 file.
Set terminal's default shell to zsh, (or others).
Start a new shell.

Closing in favor of https://github.com/microsoft/vscode-python/issues/16175. Please have a look at that. Fix should be available in VSCode insiders https://github.com/microsoft/vscode-python/issues/16175#issuecomment-841542270

Excellent! I'll wait for the stable release.


From where can one access the audit reports?

I've tested enabling auditing as an Information Management Policy but cannot figure out where to access the resulting audit reports. Can you please clarify?

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

ID: b270c9f7-c829-a6ac-0390-59d43d87a2e8
Version Independent ID: 8a03f50c-78c4-75cf-7117-b27fbda09d3f
Content: Create and apply information management policies - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/create-info-mgmt-policies.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@jmuehlenbein Thank you for your feedback. We have the Audit logs reports covered in other documents like the below as this one pertains to only Creating  and applying information management policies
Auditing reports -   https://docs.microsoft.com/en-us/microsoft-365/compliance/reports-in-security-and-compliance?view=o365-worldwide#auditing-reports
Search the audit log in the Security & Compliance Center - https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide
Hope this helps!
Thanks
Sri

I think this is still not clear as it’s implied that enabling auditing in the Information Policy provides data which is different from that provided in the Unified Audit Logs (which is already provided by default). If it’s the same audit data, why does this “option” exist?
From: Sriraman M S<EMAIL_ADDRESS>Sent: Tuesday, August 25, 2020 9:41 AM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Joy Muehlenbein<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [MicrosoftDocs/microsoft-365-docs] From where can one access the audit reports? (#2677)
EXTERNAL EMAIL - Use caution opening attachments and links
@jmuehlenbeinhttps://urldefense.com/v3/__https:/github.com/jmuehlenbein__;!!Otx9Iru-MmF6NOA!o7D-FZMaZFI8Yn9ypo9gpveCyJi8O4hCTtdpSEEYS7Sp-PFi4dxJ3INxHvs1EdrMgNcO3w$ Thank you for your feedback. We have the Audit logs reports covered in other documents like the below as this one pertains to only Creating and applying information management policies
Auditing reports - https://docs.microsoft.com/en-us/microsoft-365/compliance/reports-in-security-and-compliance?view=o365-worldwide#auditing-reportshttps://urldefense.com/v3/__https:/docs.microsoft.com/en-us/microsoft-365/compliance/reports-in-security-and-compliance?view=o365-worldwide*auditing-reports__;Iw!!Otx9Iru-MmF6NOA!o7D-FZMaZFI8Yn9ypo9gpveCyJi8O4hCTtdpSEEYS7Sp-PFi4dxJ3INxHvs1EdoNTQD6RQ$
Search the audit log in the Security & Compliance Center - https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwidehttps://urldefense.com/v3/__https:/docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide__;!!Otx9Iru-MmF6NOA!o7D-FZMaZFI8Yn9ypo9gpveCyJi8O4hCTtdpSEEYS7Sp-PFi4dxJ3INxHvs1EdqXB4AAkA$
Hope this helps!
Thanks
Sri
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/MicrosoftDocs/microsoft-365-docs/issues/2677*issuecomment-680139116__;Iw!!Otx9Iru-MmF6NOA!o7D-FZMaZFI8Yn9ypo9gpveCyJi8O4hCTtdpSEEYS7Sp-PFi4dxJ3INxHvs1EdpI5t4MMw$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AG3UJXQNLTGRD7U733AD4W3SCPSQJANCNFSM4QJ7TD5Q__;!!Otx9Iru-MmF6NOA!o7D-FZMaZFI8Yn9ypo9gpveCyJi8O4hCTtdpSEEYS7Sp-PFi4dxJ3INxHvs1EdrDkLckwg$.

This message contains information which may be confidential and privileged. Unless you are the intended addressee (or authorized to receive for the intended addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply and delete the message. To the extent contractual confidentiality obligations exist, this message and all information transmitted with it are designated "Confidential".

@jmuehlenbein I'm currently checking with the author and will update you shortly.
Thanks
Sri

@MSFTTracyP After enabling auditing as an Information Management Policy, Could you please help us to find the audit reports as this is different from the unified audit log? I have checked in the security and compliance center (Reports) but it isn’t found there.
Thanks
Sri

@MSFTTracyP Please reply to this query. Thanks.


Memory content update

I cannot seem to find the part where the memory content is updated based on cosine simularities. It seems weird that the self.weight is updated through the reset_parameters and nothing else. Is this part omitted from your code or what?

Hello, I've not found the cos similarity distance inside the code like you. You have closed the issue, can you share the answer ?


How to set defaultValue?

How to set default value like it's available with defaultValue prop in built-in ?

+1

there's text props that can be used as defaultValue

As @sujameslin said you can set the initial value by setting the text prop.


New package: IUCN v0.7.1

Registering package: IUCN
Repository: https://github.com/jdiaz97/IUCN.jl
Created by: @jdiaz97
Version: v0.7.1
Commit: 3a551648a88c56e167062e823779bca197c51b11
Reviewed by: @jdiaz97
Reference: https://github.com/jdiaz97/IUCN.jl/issues/1#issuecomment-1331265144
Description: API Wrapper for the IUCN Red List.

Who can check it out? I really like the simple and short name.
I don't wanna use IUCNRedList since is too large

Presumably superseded by #73157


Error creating controller. Please check Docker is running using docker ps.

Windows 11 WSL2 Ubuntu 22.04, installation of opendevin went flawlessly (no errors encountered by me).
Opendevin loaded but with a warning.
Error creating controller. Please check Docker is running using docker ps.
Also Initializing agent (may take up to 10 seconds)... doesn't go away, it's stuck there...
> docker ps CONTAINER ID   IMAGE                       COMMAND                  CREATED         STATUS         PORTS     NAMES f5a****ba4   ghcr.io/opendevin/sandbox   "/usr/sbin/sshd -D -…"   7 minutes ago   Up 7 minutes             opendevin-sandbox-3ad******-3**9-4**c-ad**-2*********a

`$ make run
Running the app...
Starting backend server...
Waiting for the backend to start...
INFO:     Started server process [25633]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
Backend started successfully.
Starting frontend with npm...

<EMAIL_ADDRESS>start
vite --port 3001

VITE v5.2.8  ready in 450 ms
➜  Local:   http://localhost:3001/
➜  Network: use --host to expose
➜  press h + enter to show help
INFO:     <IP_ADDRESS>:38340 - "GET /refresh-files HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:38354 - "GET /messages/total HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:38348 - "GET /configurations HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:38356 - "GET /refresh-files HTTP/1.1" 200 OK
INFO:     ('<IP_ADDRESS>', 38364) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiIzYWQ5NTc4ZC0zOGM5LTRhOWMtYWQzNS0yZWM4MjVlZGEzZGEifQ.np8CzUuT2VP24up-9NxLCZxDn-RFBWsJC2gMb9gXgmA" [accepted]
Starting loop_recv for sid: 3ad9578d-38c9-4a9c-ad35-2ec825eda3da
INFO:     connection open
INFO:     <IP_ADDRESS>:38382 - "GET /messages/total HTTP/1.1" 200 OK
15:00:08 - opendevin:INFO: ssh_box.py:81 - Using workspace directory: /home/enli/2/OpenDevin/workspace
15:00:09 - opendevin:INFO: ssh_box.py:280 - Container stopped
15:00:09 - opendevin:INFO: ssh_box.py:312 - Container started
15:00:10 - opendevin:INFO: ssh_box.py:329 - waiting for container to start: 1, container status: running
15:00:11 - opendevin:INFO: ssh_box.py:170 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 57251 opendevin@localhost with the password '2d47aac2-cd33-4d03-9572-57c7dd704996' and report the issue on GitHub.
15:00:11 - opendevin:ERROR: agent.py:136 - Error creating controller: Could not establish connection to host
Traceback (most recent call last):
File "/home/enli/2/OpenDevin/opendevin/server/agent/agent.py", line 126, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/home/enli/2/OpenDevin/opendevin/controller/agent_controller.py", line 95, in init
self.command_manager = CommandManager(
^^^^^^^^^^^^^^^
File "/home/enli/2/OpenDevin/opendevin/controller/command_manager.py", line 29, in init
self.shell = DockerSSHBox(
^^^^^^^^^^^^^
File "/home/enli/2/OpenDevin/opendevin/sandbox/ssh_box.py", line 99, in init
self.start_ssh_session()
File "/home/enli/2/OpenDevin/opendevin/sandbox/ssh_box.py", line 173, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password,
File "/home/enli/.cache/pypoetry/virtualenvs/opendevin-NMU0JHM5-py3.11/lib/python3.11/site-packages/pexpect/pxssh.py", line 424, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host
INFO:     <IP_ADDRESS>:38372 - "GET /configurations HTTP/1.1" 200 OK
15:00:11 - opendevin:INFO: ssh_box.py:81 - Using workspace directory: /home/enli/2/OpenDevin/workspace
15:00:12 - opendevin:INFO: ssh_box.py:280 - Container stopped
15:00:12 - opendevin:INFO: ssh_box.py:312 - Container started
15:00:13 - opendevin:INFO: ssh_box.py:329 - waiting for container to start: 1, container status: running
15:00:14 - opendevin:INFO: ssh_box.py:170 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 56547 opendevin@localhost with the password '6d85de1c-d360-424b-8d4a-7c9504dc5ac0' and report the issue on GitHub.
15:00:14 - opendevin:ERROR: agent.py:136 - Error creating controller: Could not establish connection to host
Traceback (most recent call last):
File "/home/enli/2/OpenDevin/opendevin/server/agent/agent.py", line 126, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/home/enli/2/OpenDevin/opendevin/controller/agent_controller.py", line 95, in init
self.command_manager = CommandManager(
^^^^^^^^^^^^^^^
File "/home/enli/2/OpenDevin/opendevin/controller/command_manager.py", line 29, in init
self.shell = DockerSSHBox(
^^^^^^^^^^^^^
File "/home/enli/2/OpenDevin/opendevin/sandbox/ssh_box.py", line 99, in init
self.start_ssh_session()
File "/home/enli/2/OpenDevin/opendevin/sandbox/ssh_box.py", line 173, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password,
File "/home/enli/.cache/pypoetry/virtualenvs/opendevin-NMU0JHM5-py3.11/lib/python3.11/site-packages/pexpect/pxssh.py", line 424, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host`

SANDBOX_TYPE="exec"

That seemed to have work. Thanks @SmartManoj

you can try ssh -v -p 56547 opendevin@localhost with the password '6d85de1c-d360-424b-8d4a-7c9504dc5ac0' and report the issue on GitHub.

Is it connecting?

I'll close this issue, but please do open a new issue if there are further problems. You may also want to note that we just changed the recommended setup, so when you update please check the readme and let us know of any issues!


incorporate crazy tourist fix

This mod is 2 simple patches only. we should and easily can bring it to TMPE:
https://steamcommunity.com/sharedfiles/filedetails/?id=1759269367
https://github.com/chronofanz/CrazyTouristFix/blob/3132af53f4aa30e45302cc1a3a8166a4f37cd8b4/CrazyTouristFixMod.cs#L58
EDIT: I need to run some tests though to prove its needed and works.

It describes the issue occurs for roads without sidewalks, but... default highway road neither has a sidewalk 🤷♂
It may not be needed by looking at the code, I think 🤔 See #1543

This is a draft because I have not tested this yet. I'll add test plan to description.

It describes the issue occurs for roads without sidewalks,
but... default highway road neither has a sidewalk

is there a contradiction in the statement above?
I have seen that ppl spawn at highway outside connections at jump on a vehicle IIRC.

In any case I do need to run some tests.

@krzychu124 did you read the description completely? he is aware that this problem does not happen with one-way highways that don't have sidewalk.

This behavior also happens at ALL outside connections. Most outside connections are one way out, however, and also these outside connections have no sidewalk either ...  Path Manager FAILS (because the road segment is one-way or there's no sidewalk or whatever), and then the citizen then goes away.

reproduced problem:
image

This is with the crazy tourist fix mod enabled:

The mod does not work

since the original mod does not fix the problem I close this.


Timestampable logic no longer works on 1.8.0

Describe the bug
The Renovate bot just created a PR on our project to update this package from 1.7.2 to 1.8.0, but a lot of the tests in our CI pipeline failed due to the createdAt property of a lot of entities no longer being set on the prePersist event by the timestampable listener (we are using v3.11.1 of the gedmo/doctrine-extensions package).
Example of an exception that we got:
[2023-07-07T16:46:02.716Z] Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: LoanAttachment.createdAt
[2023-07-07T16:46:02.716Z]
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/dbal/src/Driver/API/SQLite/ExceptionConverter.php:48
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/dbal/src/Connection.php:1935
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/dbal/src/Connection.php:1878
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/dbal/src/Statement.php:194
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/dbal/src/Statement.php:249
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/JoinedSubclassPersister.php:157
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1172
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:441
[2023-07-07T16:46:02.716Z] /app/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403
[2023-07-07T16:46:02.716Z] /tmpfs/platform/var/cache/test/ContainerKsde9Y0/EntityManager_9a5be93.php:90

To Reproduce
I'm not sure yet what are all the conditions needed to reproduce the issue.
Expected behavior
The expected behavior is for the timestampable feature to work like it does on the 1.7.2 version of this package so that no database exceptions are thrown due to the field value not being set properly.
Additional context
The weird thing is that I've tried to reproduce this locally and the first time after rebuilding the Symfony container (bin/console ca:cl --env=test --no-debug) the test passes, but every subsequent run of the same test keeps failing with the same exception.
Removing
            <call method="setCacheItemPool">
                <argument type="service" id="stof_doctrine_extensions.metadata_cache" />
            </call>

from timestampable.xml which was added as part of https://github.com/stof/StofDoctrineExtensionsBundle/pull/454 resolves the issue, though I don't know why yet. I could try to look into it in the next few days, unless someone already finds the root cause and fixes it before that.

My own project using timestampable works fine with version 1.8.0. So this definitely needs more details to reproduce it.

In the case when this fails it's because \Gedmo\Mapping\MappedEventSubscriber::getConfiguration which is called from \Gedmo\AbstractTrackingListener::prePersist (here) returns an empty array for $config (so since there's no config it doesn't update any field) and it returns that because the $cmf->hasMetadataFor($parentClass) call (here) returns false instead of true in \Gedmo\Mapping\ExtensionMetadataFactory::getExtensionMetadata (and the timestampable field is declared in the parent class). At that point when hasMetadataFor method is called the \Doctrine\Persistence\Mapping\AbstractClassMetadataFactory::$loadedMetadata property has only 13 ClassMetadata objects in it, instead of the usual 425 objects it has when everything is working. I'm still trying to understand what's that got to do with the changes in 1.8.0.

I guess this is a bug in the extension implementation, confusing what hasMetadataFor is doing (the root cause being that this method is really confusing in the doctrine/persistence API). This method checks whether the factory has loaded metadata for that class, not whether it can have metadata for that class when attempting to load it.
In case the ORM metadata were cached, it is totally possible that the ORM skips loading the parent class metadata entirely because it would not need them.

Ah, makes sense. I see there's an issue about this opened already -> https://github.com/doctrine-extensions/DoctrineExtensions/issues/2600 so I guess this issue can be closed.

The workaround for that bug (until it is fixed) is to make sure to configure a metadata cache for the extension that is at least as persistent than the metadata cache configured for the doctrine metadata (so either having no cache on both sides or having a persistent cache on both sides).

@stof i'm not quite sure how to configure a metadata cache for the extension? Can you give me a hint or a link to a doc?


Changed infinite scroll distance value in docs to match code

Infinite scroll controller has 2.5% as the default value, but the docs claim it's 1%. This commit changes the docs.

Added additional information on the distance property. This can be a percentage or number of pixels.


Provisioning - Install.ps1 file has syntax errors

I created an issue in teh Chef Forum, but I"m not sure if it's something that is being caused by this cookbook or by a change that was made on Chef's side..
Here is the link to the issue in the forum..
https://discourse.chef.io/t/provisioning-install-ps1-file-has-syntax-errors/8884
When I run a chef-run, I see the error as:
[Rel92-Test-agt1] At C:\chef\install.ps1:56 char:13
                  +   if ($pA256($src) {
                  +             ~
                  Unexpected token '(' in expression or statement.
                  At C:\chef\install.ps1:56 char:13
                  +   if ($pA256($src) {
                  +             ~
                  Missing closing ')' after expression in 'if' statement.
                  At C:\chef\install.ps1:56 char:20
                  +   if ($pA256($src) {
                  +                    ~
                  Unexpected token '{' in expression or statement.
                  At C:\chef\install.ps1:51 char:29
                  + Function Install-Chef($msi) {
                  +                             ~
                  Missing closing '}' in statement block.
                      + CategoryInfo          : ParserError: (:) [], ParseException
                      + FullyQualifiedErrorId : UnexpectedToken

I Check the script locally on the node and the syntax is in fact bad, I deleted it and ran it again, and the same script is downloaded. This script is generated via the Chef-Provisioning cookbook:
https://github.com/chef/chef-provisioning/blob/73858aff021dd1830b38ff33b693c5f7f5c3825b/lib/chef/provisioning/convergence_strategy/install_msi.rb
but I'm not sure this is because of that cookbook or the generator for the scrpt that is run on line 39
install_command = Mixlib::Install::ScriptGenerator.new(chef_version, true, opts).install_command

Adding context from the Discourse thread -
install.ps1 that was generated - https://gist.github.com/kalapakim/9c1fe6ed587f769d6a50c105d10c1419 - has a bunch of mangled/overwritten function definitions.
@kalapakim what OS and version are you using for your workstation and what OS and version are you using chef provisioning against?

my workstation is windows 7, the server is windows 2012...weird thing is, I was testing this in test kitchen and I had no issues...and I just got done running a provisioning run and built out 11 servers, no issue...

I checked another server's install.ps1 file, which was done just a few minutes before I attempted to run the new recipe on these and it doesn't have the same syntax errors..
Function Install-Chef($msi) {
  Log "Installing Chef Omnibus package $msi"
  $p = Start-Process -FilePath "msiexec.exe" -ArgumentList "/qn /i $msi" -Passthru -Wait
  $p.WaitForExit()

  if ($p.ExitCode -ne 0) { throw "msiexec was not successful. Received exit code $($p.ExitCode)" }

  Remove-Item $msi -Force
  Log "Installation complete"
}

@kalapakim what provisioning driver are you using?  Where the 11 successful servers built from the same base image as the failing 12th?

update, the next day, I no longer got that error...seems to be fine now


use linebreaks as Array separator character

I would like to use linebreaks as Array separator character for a cell containing URLs since it display more nicely in Google sheets.
I tried but I cannot figure out a way to enter a linebreak in the "Array separator character" field in Export Sheet Data setting penal.

Linebreaks are treated as whitespace characters in JavaScript, so they would be trimmed off when the array is parsed. This is done to avoid unintended whitespace at the beginning and end of a string in an array, so unfortunately whitespace characters cannot really be used here.
Would you be alright with commas followed by newlines? For example:

Name
URLs

TestA
www.google.com

TestB
www.google.com, www.wikipedia.com

This would allow you to have vertical alignment with your URLs for aesthetic purposes and Google Sheets supports entering new lines in cells by pressing ctrl + return while editing.

I don't understand. Shouldn't it be as simple as cellContent.split(separator).map(line => line.trim())?
e.g.
var cell = " asd \n aasdf";
var separator = "\n";
cellContent.split(separator).map(line => line.trim()); // ["asd", "aasdf"]

Sorry for the slow response. That is actually how arrays are separated, splitting the cell's contents based on a target char value. Whitespace chars do still have their own problems however, including things like false empty strings if two newline chars are used in a row (minor) and how the user inputs desired whitespace chars (intermediate).
Supporting whitespace chars would probably lead to supporting unicode chars, or at the very least would require adding a dropdown to allow convenient selection of the desired char. The main difficulty here arises from the difference between the string "\n" and the char \n and how users can input the newline char as their separator char.
In any case, this is definitely something that can be added, but I'll need to think about the best way to allow users to select special characters as separator characters. For now, I'd recommend the above solution of using commas followed by newlines to achieve a similar effect.


fix branch_id

We weren't using consistent naming conventions for the dataset branch

Released 0.12.0


Denying permission isn't respected

Looking forward for reporting a security issue:
I don't think there is one
Describe the bug
In mobile. Try to share img in chat but deny access, this will lead to your file manager to open
To Reproduce
Steps to reproduce the behavior:

Go to chat with you mobile device
Click on screen icon
Deny
Click appropriate IMG
See the IMG in chat

Expected behavior
Not to open.
Video
https://user-images.githubusercontent.com/88248797/169374029-190bfe35-b135-4bd2-b81b-91c68c5a1de2.mp4
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Version: [e.g. 22]

Smartphone (please complete the following information):

Device: [oppo a55]
OS: [android version 11]
Browser: [brave]
Version: [1.38.113]
update Date: [10/may]
Chromium version:  [Chromium 101]

Additional context
We all agree, that the true solution is allow access everytime option🤣

This issue is unrelated to us in many folds.
The application requesting (and not respecting permission boundaries is Brave), and the second part is any core functionality issues (like uploading images) with Rocket.Chat needs to be reported to them.

Oh I didn't know that, I will report it to them. Thanks for your time


Basic types (i.e. String, Bool, etc) that are properties on an annotated type seem to inherit those annotations

Hello,
I currently have a use-case that is requiring me to rename some types in my code (Objective-C wrappers around Swift code), and ran into a bit of an issue.
I want to add a suffix to all types that share the annotations. This was going well, until I hit a bit of a snag.
It appears that all basic properties on an annotated type inherit those annotations. As an example, if I have two models, a User and a Color, where a User has a favorite Color:
// sourcery: TestAnnotations
struct User {
    var id: String { return "test" }
    var favoriteColor: Color { return Color() }
}

// sourcery: TestAnnotations
struct Color {
    var rgb: String { return "000000" }
}

And the following stencil (naive/basic implementation to make it more readable):
{% macro testAnnotate type %}{% if type|annotated:"TestAnnotations" %}Objc{% endif %}{% endmacro %}

{% for type in types.types where type|annotated:"TestAnnotations" %}
class {{ type.name }}Objc {
    {% for variable in type.allVariables %}
    var {{ variable.name }}: {{ variable.typeName.name }}{% call testAnnotate variable.type %} { value.{{ variable.name }} }
    {% endfor %}
}
{% endfor %}

This stencil will just create new classes with the same properties (read-only) and rename each annotated object to have an "Objc" appended to it's name.
Unfortunately, it appears to also do this to non-annotated types as well, as seen in the output:
class ColorObjc {
    var rgb: StringObjc { value.rgb }
}
class UserObjc {
    var id: StringObjc { value.id }
    var favoriteColor: ColorObjc { value.favoriteColor }
}

Am I perhaps missing something with the way annotations work?

I tried adding a bit more, with a non-annotated type and that interestingly shows up as non-annotated, as expected. Maybe this is just something with more basic types? Or ones where they are not available in the source?
Source:
// sourcery: TestAnnotations
struct User {
    var id: String { return "test" }
    var favoriteColor: Color { return Color( )}
    var other: UnannotatedType { return UnannotatedType() }
    var b: Bool = true
}

// sourcery: TestAnnotations
struct Color {
    var rgb: String { return "000000" }
}

struct UnannotatedType {
    var id: String { return "" }
}

Generates:
class ColorObjc {
    var rgb: StringObjc { value.rgb }
}
class UserObjc {
    var id: StringObjc { value.id }
    var favoriteColor: ColorObjc { value.favoriteColor }
    var other: UnannotatedType { value.other }
    var b: BoolObjc { value.b }
}

Machine: MacBook Pro (15-inch, 2018)
OS: Mac OS 11.4 (20F71) (Big Sur)
Sourcery 1.4.2 installed via Mint

hey,
Sourcery doesn't know about primitive types like String, Int since they aren't in your codebase, you can only use logic that depends on typeName for those, your type for primitives is nil unless you added some extensions.
This template seems a bit odd but you are probably trying to execute logic against undefined nil value, do a check if type is set before checking for annotations
ps. your stencil also has types.types which I assume is typo from types.all or types.classes ?

Thanks @krzysztofzablocki!
Adding a nil check appears to have worked. Good to know that Sourcery doesn't know about primitive types! Thanks for your help and the quick response!

And for the types.types I actually saw it done like that in one of the included templates, so I followed suit. https://github.com/krzysztofzablocki/Sourcery/blob/d45b28715b2cb8a36285507cb14476e4c6072b26/Templates/Templates/AutoHashable.stencil#L12
It appears to work properly if I do either types.types or types.all. I'll go ahead and change my more complicated stencil to have types.all though. Thanks again!


Add sentence-transformers and timm documentation example

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Dev

Please only keep these features in your own repository: you add too much customizations and in a single PR which is harder to review.
Furthermore, you add your own theme which I can't merge because we can't accept more themes. Please make a separate repo with your theme and link to it from the external themes wiki page.
You can also add your theme as a custom theme. See customization for instructions.


Problem with n-gram featurizer

rasa NLU version (e.g. 0.7.3): 0.10.0a2
Issue:
The model is getting trained if i remove ngram featurizer from the pipeline. With n-gram featurizer I'm getting the following problem. I have attached config and data files.
ValueError: Found array with 0 feature(s) (shape=(1028, 0)) while a minimum of 1 is required.
DEBUG:rasa_nlu.featurizers.ngram_featurizer:Started ngram cross-validation to find best number of ngrams to use...
Traceback (most recent call last):
File "/home/gowthamv/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/home/gowthamv/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "build/bdist.linux-x86_64/egg/rasa_nlu/train.py", line 96, in
File "build/bdist.linux-x86_64/egg/rasa_nlu/train.py", line 86, in do_train
File "build/bdist.linux-x86_64/egg/rasa_nlu/model.py", line 149, in train
File "build/bdist.linux-x86_64/egg/rasa_nlu/featurizers/ngram_featurizer.py", line 66, in train
File "build/bdist.linux-x86_64/egg/rasa_nlu/featurizers/ngram_featurizer.py", line 121, in train_on_sentences
File "build/bdist.linux-x86_64/egg/rasa_nlu/featurizers/ngram_featurizer.py", line 308, in _cross_validation
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/model_selection/_validation.py", line 140, in cross_val_score
for train, test in cv_iter)
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 758, in call
while self.dispatch_one_batch(iterator):
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 608, in dispatch_one_batch
self._dispatch(tasks)
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 571, in _dispatch
job = self._backend.apply_async(batch, callback=cb)
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/_parallel_backends.py", line 109, in apply_async
result = ImmediateResult(func)
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/_parallel_backends.py", line 326, in init
self.results = batch()
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 131, in call
return [func(*args, **kwargs) for func, args, kwargs in self.items]
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/model_selection/_validation.py", line 238, in _fit_and_score
estimator.fit(X_train, y_train, **fit_params)
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/linear_model/logistic.py", line 1173, in fit
order="C")
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/utils/validation.py", line 521, in check_X_y
ensure_min_features, warn_on_dtype, estimator)
File "/home/gowthamv/anaconda2/lib/python2.7/site-packages/sklearn/utils/validation.py", line 424, in check_array
context))
ValueError: Found array with 0 feature(s) (shape=(1028, 0)) while a minimum of 1 is required.
small-talk.zip
config.zip

What is your numpy version?

numpy version is 1.12.1

What is the value of the max_number_of_ngrams in your config file?

{
"pipeline": ["nlp_mitie","nlp_spacy","tokenizer_mitie", "intent_entity_featurizer_regex","intent_featurizer_ngrams","tokenizer_spacy","ner_crf","ner_duckling","ner_spacy","ner_synonyms", "intent_featurizer_mitie", "intent_classifier_sklearn"],
"max_number_of_ngrams":7,
"num_threads": 1,
"mitie_file": "total_word_feature_extractor.dat",
"path" : "./models",
"data" : "./data/small-talk.md",
"response_log": "logs/",
"duckling_dimensions": ["time","amount-of-money"],
"log_level": "DEBUG",
"cors_origins": ["*"]
}

Got it. I think you need to have another intent featurizer defined before the intent_featurizer_ngrams in your pipeline

Yes, thank you.


Missing snap icon

It would be nice to include the docker logo to the snap
https://snapcraft.io/docker

Unfortunately, the Docker logo is a trademark of Docker, Inc. and so it's not acceptable for us to use. :disappointed:

@tianon I suspected this was the issue :)
Would it be possible to ask for permission? Did we try?

Yes, at one point Docker Inc was even maintaining the snap directly, but no longer.


[WIP] Query update feature

[ ] Controller level tests
[x] Version field is missing in responses

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-3

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-4

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-5

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-6

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-7

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-9

@baijum snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2061-10


Gatsby custom URL using Reach Router is being ignored

this is my gatsby-node.js file:
exports.onCreatePage = async ({ page, actions }) => {
  const { createPage } = actions

  createPage({
    path: '/webinar/*',
    matchPath: '/webinar/:meetingId',
    component: path.resolve(`src/pages/webinar.js`)
  })
}

The paths should be configured in Reach Router, and this also works fine in Netlift.
I Amplify I get the "no permissions" page. Is there anything I should configure to get it working?

This is the app URL that should be working: https://www.codeforhumans.info/webinar/82848250919?price=89
And here is the Netlify version: https://ecstatic-ptolemy-9fb915.netlify.app/webinar/82848250919?price=89

@ilyador this seems to be working now?

Yes, I added the following 200 redirect in the Amplify console:
From '/webinar/<*>' to '/webinar/index.html'


Use ansible playbook from worktree

During tmt run execution there are two copies of the playbook available:

One in the original repository with tmt plan
Second in the worktree under /var/tmp/tmt...

_ansible_playbook_path tries to guess absolute path to the first one. For imported plan such path does not exists.
When _ansible_playbook_path is not called the second copy of the ansible playbook (and other files from worktree) is used and the prep step works imported plans too.
Resolves: https://github.com/teemtee/tmt/issues/2935
Pull Request Checklist

[ ] implement the feature
[ ] write the documentation
[ ] extend the test coverage
[ ] update the specification
[ ] adjust plugin docstring
[ ] modify the json schema
[ ] mention the version
[ ] include a release note

Hi there,
I would like to kick off a discussion about fix for https://github.com/teemtee/tmt/issues/2935. This PR propose one possible solution, but I am not sure if it is the best one.

I confirm, solution proposed by @happz works for me too.

@mkluson, @happz, thanks for looking into this and sorry for the slow response.

@psss @lukaszachy any idea whether my_run.tree.root would be the only possible choice? I can imagine the plan.fmf_root would not be pushed to guest or something, but ansible tests passed even with the PROVISION_HOW=virtual set.

Using plan.fmf_root sounds like a reasonable choice here. I think my_run.tree.root was added here long time before the plan import feature has been implemented. At that time all plans could be only in the single fmf tree from which tmt run is called. Imported plans are stored under the import folder of the run directory, for example like this:
/var/tmp/tmt/run-024/import/plans/minimal

The fmf_roots of the imported plans are thus stored under the /var/tmp/tmt/run-024/import directory. These folders do not have to be copied to guest as the ansible-playbook command is always executed locally. I don't see anything which could be broken by this approach. +1 from me to go this way.

I updated the code with the proposal from @happz and consider the PR ready to review.

/packit test

/packit build

/packit build

The failure seems to be unrelated, I've been able to re-run the test and it works. Merging.


Add VSCode Support in Bit Extensions

The code generator is using msbuild task and it can be added to projects using nuget package.


SNPE stopping criterion

Hello,
I was thinking of a convergence criterion for sequential NPE (SNPE).
Would it make sense to track the KL divergence between the proposal distribution and posterior distribution and use this as a stopping criterion?
Best,
Lars

yes, that sounds reasonable to me!


ExpressRoute document should be restored

The file \articles\powerbi-admin-power-bi-expressroute.md was removed as part of the following commit: 11fe374752b613721e83b9ba39e6e2e2e16baca5
I believe this was a mistake because the information is still relevant and I have not been able to find a replacement for this page on the documentation site as it stands today.

Thanks for your comment, @chrolivier . This issue has been assigned to the doc author for review.

Hi @chrolivier - In my review I discovered that the Power BI ExpressRoute article was retired more than 2 years ago. You can find documentation for the ExpressRoute service here: https://docs.microsoft.com/en-us/azure/expressroute/ and a list of Power BI URLs here: https://docs.microsoft.com/en-us/power-bi/power-bi-whitelist-urls. I believe this satisfies the requirements to deploy.

For the benefit of people googling their way to this page and left scratching their head as to why integration documentation randomly disappears, here's the aforementioned documentation:
https://github.com/MicrosoftDocs/powerbi-docs/blob/fcebab0706773c2cd57ba45f49c0dfdbbdb6ed3b/articles/powerbi-admin-power-bi-expressroute.md


A bug with cars staying in one lane on highways.

Describe the problem
I saw that the cars on the highway, are using only 1 lane and when they are close to a junction, although the exit is 1 lane and after it it's a 3 lane highway or 2, they are still gonna change the lanes and go to the first lane.. Dunno why. I switched back to tmpe 10 and I had the same problem, soo I switched again back to 11, and I still have the problem. I dont know if it's from the game or from the mod.
Log files
https://uploadfiles.io/z6s7sfof
TMPE log: https://uploadfiles.io/5ezv4sph
Savegame?
https://steamcommunity.com/sharedfiles/filedetails/?id=1992957107
Screenshots?
https://steamcommunity.com/sharedfiles/filedetails/?id=1992984631
https://steamcommunity.com/sharedfiles/filedetails/?id=1992984691
https://steamcommunity.com/sharedfiles/filedetails/?id=1992984801
https://steamcommunity.com/sharedfiles/filedetails/?id=1992984763
Notes or questions?
Again, they are using only 1 lane on the highway and if there is a 3 lane highway and somehow they spread to all 3 lanes, when they approach a exit lane, they use only one lane to go straight, one to exit and the middle lane is clear...

First, I loaded your savegame but I can't find that intersection with tunnel you posted on screenshot
Another issue might be this thing:

You located industry in one place but incoming and outgoing lanes have no enough throughput to properly service that area. You also have 'Disable despawning` option turned on which even worsen that situation. Everything clogs up because not enough road network throughput and vehicles have to choose lane way earlier so you see them on one lane (there is no other available enter to that area)

Yeah, I know, but this is not the problem. This will go up and down, like now it's full, after a min it's empty, but that intersection, from here, go up, and a but on the right, it's outside or my city, I bought, that square only to modify that intersection, cuz I've had a lot of cars on the highway..

I was also thinking, of deleting all mods and assets and then start a new map and go with vanilla and then use some mods.. I think my game is a bit bugged cuz, I dont get demand for anything and I have some assets that done even load..

More info about DLS . It will stop working if traffic is piling up. If you use Highway rules(outer right is the best lane to exit - that's why they take it), you should also use either lane mathematics at junctions or lane connector to manually create lane routings.
If issue persist let us know (there was game update in the mean time)


Add HiveHadoop2 connector

This PR adds the HiveHadoop2 connector
It extends the exisiting HiveConnector

Hi Deepak,
I am working on merging this today. Will try and get it merged today.

Update : This should be merged by today.

Update: This is delayed due to a clang diagnostics bug which we are fixing and hope to get resolved soon. I will post another update by EOD.


Compatibility with cardano-node 1.24.2

Hello,
As you know, cardano-node 1.24.2 is out and everyone is migrating (or has migrated).
But RTView still did not provide an officially compatible version of RTView, and LiveView has been removed.
If the current version of RTView is compatible, please add it into the script and remove the warnings.
Cheers,

Yes, it will be done in the coming release 0.3.0.


Fix the title overline and underline mismatch

Fix:
System Message: SEVERE/4 (/FluidDoc/doc/paddle/guides/01_paddle2.0_introduction/index_en.rst, line 1)
Title overline & underline mismatch.
You can see the problem on https://www.paddlepaddle.org.cn/documentation/docs/en/guides/01_paddle2.0_introduction/index_en.html .

thanks for your fix this  issue~


Add the possibility to write end to end tests that allows us to test pip package executions

Is your feature request related to a problem?
Maybe unit tests and integration tests cover a usecase but nothing is covering the pip package execution
Describe the solution you'd like

Adding a directory tests/e2e_tests
Adding a file for each btcli command. e.g.:

tests/e2e_tests/help.py
tests/e2e_tests/overview.py
tests/e2e_tests/list.py
..., etc

Adding job in circleci/config.yml to execute end to end tests.
Adding workflow in circleci/config.yml to trigger the end to end execution for every branch

Describe alternatives you've considered

Creating the pip package locally and execute it as a OS program from python.
Execute the same Python entrypoint that the pip package executes.

Additional context
We have merge some branch that had passing tests but some btcli comands were failing

Is this a current concern? I'd be happy to put some effort into reproducible python Pascal aging & test.

Is this a current concern? I'd be happy to put some effort into reproducible python Pascal aging & test.

I think we do not have tests for the cli itself, so, please, feel yourself free to proceed in the way you think you can add value to the project. It's much appreciated 🙏🏽


[v1.0] add PyPI auto-publish for e2eAIOK-denas and e2eAIOK-sda

This PR is about auto-publish e2eaiok-denas and e2eaiok-sda


Missing linebreaks in messages sent to IRC

When I write messages in Discord which contain a linebreak (see example below) it's not mapping this linebreak onto IRC. It just links the two lines together without adding some kind of whitespace.
Example:
Discord:
Hello
World

IRC:
HelloWorld

It would be great if it could generate a new message in IRC after the linebreak since linebreaks are not supported by IRC.
Like this:
<user> Hello
<user> World

I'd like to see a variation of this where the line break gets converted into a space and as such would like to have it configurable so everyone's need could be satisfied:
Discord:
Hello
World

IRC:
<user> Hello World

Multi-line messages from Discord already get translated to IRC with spaces between the lines. I just tested it, and:
testing
multiline

gets translated to:
<Throne3d> testing multiline

However, this isn't super clear, so I can see why you'd want something like a linebreak instead of just a space (just, there is already a space) – we could end up more easily hitting into spam restrictions if we just do a new message for each linebreak, but that's not a super compelling reason not to do it.
I think I'd accept a PR to do this, or maybe it should be done through a paste service (#355) instead.

The clarity is even worse when dealing with quoted replies

Relevant: https://ircv3.net/specs/extensions/multiline

In addition to quoted replies (blockquote syntax), code blocks suffer terribly from the collapse of line breaks. I can understand being cautious about sending multiple lines at once to avoid flooding the IRC channel, but in these cases at least, it renders the messages anywhere from difficult to impossible to read.


Update italian languages

Shall we use the third or second person... @bovirus which one does Windows use? IDK I have it in English

When I can merge?))

When can I merge?))

Does using a /n cause issues?
If not for me is all ok, @bovirus apply the changes

When can I merge?))

Does using a /n cause issues? If not for me is all ok, @bovirus apply the changes

Where we want to add \n?

@bovirus thanks for all the corrections! If you want look at the .json....

@bovirus thanks for all the corrections! If you want look at the .json....

He definitely will have to))


Feature request, file sorting can be sorted by time.

Will this feature be added in the future? Sorting by file name is very inconvenient for me to use.

Please see issue #75 for details.

I would live this as well!
A year ago you said you don’t have immediate plans to support. Has anything changed? ;)
I would LOVE to be able to use sorting by date modified. That would be perfect!
Thank you for considering it.

No, it's still on the "nice to have someday" list.


Customizable host address detection

Is your feature request related to a problem? Please describe.
I don't use :terminal I prefer to use kitty splits/tabs with my own plugin for sending text/running commands. I'd still like to be able to open files in the singular neovim instance. The thing is because its not actually a nested terminal I don't get the $NVIM variable in the other splits, there is a way using kitty @ ls to find all the other kitty windows and find which one has nvim running. I just need to tell flatten.nvim that
Describe the solution you'd like
Add a configuration option that allows the user to pass a callback that determines the pipe address that guest nvims should use to communicate with the host. The default implementation would just return vim.env.NVIM but users could use kitty (or wezterm, or tmux or whatever else) to find and return the correct servername/pipe address
Describe alternatives you've considered
The alternatives are something in the shell that sets $NVIM, this is possible but parsing json in shell scrip is annoying. Or figuring out somehow that the host nvim injects environment variables into all other windows (I don't think this is possible in an elegant way)

I use wezterm the same way, so that's a great idea.

Thinking about this now that I have some free time, and I think the best way to do this would be to allow the user to set a specific host address in the config, then creates a new server instead of using the one started by Neovim. Since the config is loaded by both host and guest, they can easily share the pipe address. What do you think about that?

I think that's a good choice, as it's basically the most flexible base API. Users could do whatever they want to find the host address (env variable, config files in project, etc). I would probably also provide a utils.lua or just recipes in the wiki for common scenarios (like to share the neovim instance across kitty or wezterm windows)


Prevent the Angular scLink directive from adding an empty href attribute

Is your feature request related to a problem? Please describe.
The *scLink directive adds an href attribute, even if the link data (from the JSS JSON) is empty:
{
    "fields": {
        "HeadingText": {
            value: "Hello World"
        },

        "HeadingLink": {
            "value": {
                "href": "",
                "text": "",
                "linktype": "",
                "url": "",
                "anchor": "",
                "title": "",
                "target": "",
            }
        }
    }
}

{{ HeadingText.value }}

Hello World

Hello World

This causes a few issues:

Links with an empty href attribute still display a pointer icon on hover, indicating to users that it is clickable - when it is not.
We have to write a bunch of boilerplate code (see below) to accommodate situations where a content author may, or may not, want to make an element linkable in Sitecore.
In terms of accessibility, having an empty href is worse than omitting it.

To elaborate on point #2 (boilerplate code), the sample JSS JSON above represents a Sitecore content item that lets users specify a heading, and also to (optionally) wrap that heading in a link if they wanted to. Currently, the markup we need to write to support this on the front-end is as follows:
<ng-template [ngIf]="HeadingLink.value.href">

{{ HeadingText.value }}

</ng-template>

<ng-template [ngIf]="!HeadingLink.value.href">

{{ HeadingText.value }}

</ng-template>

... In contrast, it would be nice to be able to simply write:

{{ HeadingText.value }}

Describe the solution you'd like
It would be preferable to omit the attribute instead:

Describe alternatives you've considered
The alternative is to use the boilerplate code displayed above. However this is not ideal, especially when you have to repeat that code for dozens and dozens of link-able elements across your code base.
Additional information
If you approve of this change in behavior then I can open up a PR, just let me know.

@callmeaponte Can you provide me steps, how to setup field - where I'll get empty properties?

@callmeaponte I'm always getting such structure, when I try to save link with empty URL:

@callmeaponte Fixed in #406 . But if you can provide your steps - will be cool

Thanks @sc-illiakovalenko! Answers to your questions below:

"Which version of Sitecore and JSS are you using?"
We're using Sitecore 9.3, although I'm not sure what JSS version is included with 9.3. And in our FE repo we're using version 13.0.2 of the @sitecore-jss/sitecore-jss package.

"Can you provide me steps, how to setup field - where I'll get empty properties?"
Click on the "View" tab in the ribbon toolbar, then check "Raw values". Now you can delete all of the text in the field.
... Speaking of, would it be too much to ask if you could extend your logic in #406 to treat http:// and https:// as "empty links" as well? Some of our content authors may not be aware that they will need to "view raw values" in order to successfully remove a link.

@callmeaponte Thank you,  yeah I also noticed a problem related to http:// and https://. Agree, I'll work on it, I will create new issue

@callmeaponte I created new one #408


Revise in-memory database handling for modern SQLite

SQLiteKit has for a long time depended on the use of SQLite's shared cache with in-memory databases to support opening multiple connections to such databases. However, SQLite has also for a long time specifically recommended the total omission of the shared cache, a recommendation which SQLiteNIO now follows as of vapor/sqlite-nio#51. Therefore, SQLiteKit now uses uniquely-named temporary files to emulate the feature when in-memory databases are requested.
Additional changes in this release:

To match Vapor and SQLiteNIO, Swift 5.7 is now required.
Updated the README and the API documentation.

Codecov Report

Merging #105 (0e599fb) into main (25b05d7) will increase coverage by 0.13%.
The diff coverage is 87.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   68.37%   68.51%   +0.13%
==========================================
  Files           7        7
  Lines         234      235       +1
==========================================
+ Hits          160      161       +1
  Misses         74       74

Files Changed
Coverage Δ

Sources/SQLiteKit/SQLiteConnectionSource.swift
91.66% <87.50%> (+0.36%)
:arrow_up:


Update CSP scripts

Changes in this PR
Add JavaScript elements to the CSP, allowing for inline script execution.
JIRA ticket
[none]
Screenshots

[ ] Requires env variable(s) to be updated

FYI @colinbowen  The JS comes from the govuk html template. We do have the js from when we fetch the govuk assets but we dont currently utilise any of it. Had considered removing it from repo since I think its just for the cookies banner from the template app we started from which we dont use but this is good for now whilst we confirm what to do with that