Default ignored directories are not ignored (when running the /onboard command)

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Mac OS Sequoia 15.1.1
- Continue version: Pre-Release 0.9.241
- IDE version: VS Code 1.95.3
- Model: codestral:latest
- config.json:

{
  "models": [
    {
      "model": "codestral:latest",
      "provider": "ollama",
      "systemMessage": "You are a cautious Code assistant. You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior.",
      "title": "codestral:latest"
    },
  ],
  "tabAutocompleteModel": {
    "model": "granite3-dense:2b",
    "provider": "ollama",
    "contextLength": 4096,
    "completionOptions": {
      "maxTokens": 2048,
      "temperature": 0,
      "topP": 0.9,
      "topK": 40,
      "presencePenalty": 0,
      "frequencyPenalty": 0.1
    },
    "systemMessage": "You are Granite, an AI language model developed by IBM.  You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior.",
    "title": "granite3-dense:2b"
  },
  "tabAutocompleteOptions": {
    "useCache": false
  },
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    },
    {
      "name": "web",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    },
	{
		"name": "onboard",
		"description": "Generates a description of the current project"
	}
  ],
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text:latest",
    "title": "nomic-embed-text:latest"
  },
  "disableIndexing": false
}

Description
The /onboard slash command is adding the contents of the .git/ directory to the context, while it should actually be ignored, as per https://github.com/continuedev/continue/blob/f08e50130691900e580108c8aee14dabf1b6830a/core/commands/slash/onboard.ts#L60 and https://github.com/continuedev/continue/blob/1533bee22ac350e681be5d67d0b24180cdace1d7/core/indexing/ignore.ts#L83
This will likely affect other areas of Continue, that depend on the accuracy of the ignore() mechanism
To reproduce

Clone https://github.com/eclipse-lemminx/lemminx
Enable the /onboard slash command in ~/.continue/config.json
Use a model with at least 32k context (e.g. codestral:latest)
Execute the /onboard command in the chat view

Check the output view and see all the Folder: .git/* entries added to the context
Log output
==========================================================================
==========================================================================
##### Completion options #####
{
  "contextLength": 32768,
  "model": "codestral:latest",
  "maxTokens": 4096,
  "stop": [
    "[INST]",
    "[/INST]",
    "[PREFIX]",
    "[MIDDLE]",
    "[SUFFIX]"
  ]
}

##### Request options #####
{}

##### Prompt #####
<system>
You are a cautious Code assistant. You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior.

<user>

    As a helpful AI assistant, your task is to onboard a new developer to this project.
    Use the following context about the project structure, READMEs, and dependency files to create a comprehensive overview:

Folder: .git

Folder: .git/hooks

Folder: .git/info

Folder: .git/logs

Folder: .git/logs/refs

Folder: .git/objects

Folder: .git/objects/00

Folder: .git/objects/01

Folder: .git/objects/02

Folder: .git/objects/03

Folder: .git/objects/04

Folder: .git/objects/05

Folder: .git/objects/06

Folder: .git/objects/07

Folder: .git/objects/08

Folder: .git/objects/09

Folder: .git/objects/0a

Folder: .git/objects/0b

Folder: .git/objects/0c

Folder: .git/objects/0d

Folder: .git/objects/0e

Folder: .git/objects/0f

Folder: .git/objects/10

Folder: .git/objects/11

Folder: .git/objects/12

Folder: .git/objects/13

Folder: .git/objects/14

Folder: .git/objects/15

Folder: .git/objects/16

Folder: .git/objects/17

Folder: .git/objects/18

Folder: .git/objects/19

Folder: .git/objects/1a

Folder: .git/objects/1b

Folder: .git/objects/1c

Folder: .git/objects/1d

Folder: .git/objects/1e

Folder: .git/objects/1f

Folder: .git/objects/20

Folder: .git/objects/21

Folder: .git/objects/22

Folder: .git/objects/23

Folder: .git/objects/24

Folder: .git/objects/25

Folder: .git/objects/26

Folder: .git/objects/27

Folder: .git/objects/28

Folder: .git/objects/29

Folder: .git/objects/2a

Folder: .git/objects/2b

Folder: .git/objects/2c

Folder: .git/objects/2d

Folder: .git/objects/2e

Folder: .git/objects/2f

Folder: .git/objects/30

Folder: .git/objects/31

Folder: .git/objects/32

Folder: .git/objects/33

Folder: .git/objects/34

Folder: .git/objects/35

Folder: .git/objects/36

Folder: .git/objects/37

Folder: .git/objects/38

Folder: .git/objects/39

Folder: .git/objects/3a

Folder: .git/objects/3b

Folder: .git/objects/3c

Folder: .git/objects/3d

Folder: .git/objects/3e

Folder: .git/objects/3f

Folder: .git/objects/40

Folder: .git/objects/41

Folder: .git/objects/42

Folder: .git/objects/43

Folder: .git/objects/44

Folder: .git/objects/45

Folder: .git/objects/46

Folder: .git/objects/47

Folder: .git/objects/48

Folder: .git/objects/49

Folder: .git/objects/4a

Folder: .git/objects/4b

Folder: .git/objects/4c

Folder: .git/objects/4d

Folder: .git/objects/4e

Folder: .git/objects/4f

Folder: .git/objects/50

Folder: .git/objects/51

Folder: .git/objects/52

Folder: .git/objects/53

Folder: .git/objects/54

Folder: .git/objects/55

Folder: .git/objects/56

Folder: .git/objects/57

Folder: .git/objects/58

Folder: .git/objects/59

Folder: .git/objects/5a

Folder: .git/objects/5b

Folder: .git/objects/5c

Folder: .git/objects/5d

Folder: .git/objects/5e

Folder: .git/objects/5f

Folder: .git/objects/60

Folder: .git/objects/61

Folder: .git/objects/62

Folder: .git/objects/63

Folder: .git/objects/64

Folder: .git/objects/65

Folder: .git/objects/66

Folder: .git/objects/67

Folder: .git/objects/68

Folder: .git/objects/69

Folder: .git/objects/6a

Folder: .git/objects/6b

Folder: .git/objects/6c

Folder: .git/objects/6d

Folder: .git/objects/6e

Folder: .git/objects/6f

Folder: .git/objects/70

Folder: .git/objects/71

Folder: .git/objects/72

Folder: .git/objects/73

Folder: .git/objects/74

Folder: .git/objects/75

Folder: .git/objects/76

Folder: .git/objects/77

Folder: .git/objects/78

Folder: .git/objects/79

Folder: .git/objects/7a

Folder: .git/objects/7b

Folder: .git/objects/7c

Folder: .git/objects/7d

Folder: .git/objects/7e

Folder: .git/objects/7f

Folder: .git/objects/80

Folder: .git/objects/81

Folder: .git/objects/82

Folder: .git/objects/83

Folder: .git/objects/84

Folder: .git/objects/85

Folder: .git/objects/86

Folder: .git/objects/87

Folder: .git/objects/88

Folder: .git/objects/89

Folder: .git/objects/8a

Folder: .git/objects/8b

Folder: .git/objects/8c

Folder: .git/objects/8d

Folder: .git/objects/8e

Folder: .git/objects/8f

Folder: .git/objects/90

Folder: .git/objects/91

Folder: .git/objects/92

Folder: .git/objects/93

Folder: .git/objects/94

Folder: .git/objects/95

Folder: .git/objects/96

Folder: .git/objects/97

Folder: .git/objects/98

Folder: .git/objects/99

Folder: .git/objects/9a

Folder: .git/objects/9b

Folder: .git/objects/9c

Folder: .git/objects/9d

Folder: .git/objects/9e

Folder: .git/objects/9f

Folder: .git/objects/a0

Folder: .git/objects/a1

Folder: .git/objects/a2

Folder: .git/objects/a3

Folder: .git/objects/a4

Folder: .git/objects/a5

Folder: .git/objects/a6

Folder: .git/objects/a7

Folder: .git/objects/a8

Folder: .git/objects/a9

Folder: .git/objects/aa

Folder: .git/objects/ab

Folder: .git/objects/ac

Folder: .git/objects/ad

Folder: .git/objects/ae

Folder: .git/objects/af

Folder: .git/objects/b0

Folder: .git/objects/b1

Folder: .git/objects/b2

Folder: .git/objects/b3

Folder: .git/objects/b4

Folder: .git/objects/b5

Folder: .git/objects/b6

Folder: .git/objects/b7

Folder: .git/objects/b8

Folder: .git/objects/b9

Folder: .git/objects/ba

Folder: .git/objects/bb

Folder: .git/objects/bc

Folder: .git/objects/bd

Folder: .git/objects/be

Folder: .git/objects/bf

Folder: .git/objects/c0

Folder: .git/objects/c1

Folder: .git/objects/c2

Folder: .git/objects/c3

Folder: .git/objects/c4

Folder: .git/objects/c5

Folder: .git/objects/c6

Folder: .git/objects/c7

Folder: .git/objects/c8

Folder: .git/objects/c9

Folder: .git/objects/ca

Folder: .git/objects/cb

Folder: .git/objects/cc

Folder: .git/objects/cd

Folder: .git/objects/ce

Folder: .git/objects/cf

Folder: .git/objects/d0

Folder: .git/objects/d1

Folder: .git/objects/d2

Folder: .git/objects/d3

Folder: .git/objects/d4

Folder: .git/objects/d5

Folder: .git/objects/d6

Folder: .git/objects/d7

Folder: .git/objects/d8

Folder: .git/objects/d9

Folder: .git/objects/da

Folder: .git/objects/db

Folder: .git/objects/dc

Folder: .git/objects/dd

Folder: .git/objects/de

Folder: .git/objects/df

Folder: .git/objects/e0

Folder: .git/objects/e1

Folder: .git/objects/e2

Folder: .git/objects/e3

Folder: .git/objects/e4

Folder: .git/objects/e5

Folder: .git/objects/e6

Folder: .git/objects/e7

Folder: .git/objects/e8

Folder: .git/objects/e9

Folder: .git/objects/ea

Folder: .git/objects/eb

Folder: .git/objects/ec

Folder: .git/objects/ed

Folder: .git/objects/ee

Folder: .git/objects/ef

Folder: .git/objects/f0

Folder: .git/objects/f1

Folder: .git/objects/f2

Folder: .git/objects/f3

Folder: .git/objects/f4

Folder: .git/objects/f5

Folder: .git/objects/f6

Folder: .git/objects/f7

Folder: .git/objects/f8

Folder: .git/objects/f9

Folder: .git/objects/fa

Folder: .git/objects/fb

Folder: .git/objects/fc

Folder: .git/objects/fd

Folder: .git/objects/fe

Folder: .git/objects/ff

Folder: .git/objects/info

Folder: .git/objects/pack

Folder: .git/refs

Folder: .git/refs/bisect

Folder: .git/refs/heads

Folder: .git/refs/remotes

Folder: .git/refs/tags

Folder: .github

Folder: .github/workflows

Folder: .idea

Folder: .idea/inspectionProfiles

Folder: .mvn

Folder: .mvn/wrapper

Folder: .vscode
README for README.md:
XML Language Server (LemMinX)
===========================
[![Maven](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.eclipse.org%2Fcontent%2Frepositories%2Flemminx-releases%2Forg%2Feclipse%2Flemminx%2Forg.eclipse.lemminx%2Fmaven-metadata.xml&style=for-the-badge&logo=apachemaven&logoColor=white&color=informational)](https://repo.eclipse.org/content/repositories/lemminx-releases/org/eclipse/lemminx/org.eclipse.lemminx/)
[![Eclipse Site](https://img.shields.io/badge/Eclipse%20Site-lemminx-informational?logo=eclipse&style=for-the-badge)](https://download.eclipse.org/lemminx/releases/)
[![Build Status](https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Flemminx%2Fjob%2Flemminx%2Fjob%2Fmain%2F&style=for-the-badge&logo=jenkins&logoColor=white)](https://ci.eclipse.org/lemminx/job/lemminx/job/main/)
[![CodeQL Status](https://img.shields.io/github/actions/workflow/status/eclipse/lemminx/codeql-analysis.yml?style=for-the-badge&label=codeql&logo=githubactions&logoColor=white)](https://github.com/eclipse/lemminx/actions/workflows/codeql-analysis.yml?query=branch%3Amain)
[![LICENSE](https://img.shields.io/github/license/eclipse/lemminx?style=for-the-badge&color=informational)](https://github.com/eclipse/lemminx/blob/main/LICENSE)

**LemMinX** is a XML language specific implementation of the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol)
and can be used with any editor that supports the protocol, to offer good support for the **XML Language**. The server is based on:

 * [Eclipse LSP4J](https://github.com/eclipse/lsp4j), the Java binding for the Language Server Protocol.
 * Xerces to manage XML Schema validation, completion and hover

Features
--------------

* [textDocument/codeAction](https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction).
* [textDocument/completion](https://microsoft.github.io/language-server-protocol/specification#textDocument_completion).
* [textDocument/documentHighlight](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentHighlight).
* [textDocument/documentLink](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentLink).
* [textDocument/documentSymbol](https://microsoft.github.io/language-server-protocol/specification#textDocument_documentSymbol).
* [textDocument/foldingRanges](https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange).
* [textDocument/formatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_formatting).
* [textDocument/hover](https://microsoft.github.io/language-server-protocol/specification#textDocument_hover).
* [textDocument/rangeFormatting](https://microsoft.github.io/language-server-protocol/specification#textDocument_rangeFormatting)
* [textDocument/rename](https://microsoft.github.io/language-server-protocol/specification#textDocument_rename).

See screenshots in the [Features docs](./docs/Features.md).

See the [changelog](CHANGELOG.md) for the latest release.

Demo
--------------

![XML Language Server Demo](docs/images/XMLLanguageServerDemo.gif)

Get started
--------------
* Clone this repository
* Open the folder in your terminal / command line
* Run `./mvnw clean verify` (OSX, Linux) or `mvnw.cmd clean verify` (Windows)
* After successful compilation you can find the resulting `org.eclipse.lemminx-uber.jar` in the folder `org.eclipse.lemminx/target`

Developer
--------------

To debug the XML LS you can use XMLServerSocketLauncher:

1. Run the XMLServerSocketLauncher in debug mode (e.g. in eclipse)
2. Connect your client via socket port. Default port is 5008, but you can change it with start argument `--port` in step 1

Client connection example using Theia and TypeScript:

let socketPort = '5008'
console.log(`Connecting via port ${socketPort}`)
const socket = new net.Socket()
const serverConnection = createSocketConnection(socket,
    socket, () => {
        socket.destroy()
    });
this.forward(clientConnection, serverConnection)
socket.connect(socketPort)

Generating a native binary:
---------------------------------
To generate a native binary:
- [Install GraalVM 20.2.0](https://www.graalvm.org/docs/getting-started/#install-graalvm)
- In a terminal, run `gu install native-image`
- Execute a Maven build that sets the flag `native`: `./mvnw clean package -Dnative -DskipTests`
  - On Linux, compile with `./mvnw clean package -Dnative -DskipTests -Dgraalvm.static=--static`
    in order to support distributions that don't use `glibc`, such as Alpine Linux
- It will generate a native binary in `org.eclipse.lemminx/target/lemminx-{os.name}-{architecture}-{version}`

OS specific instructions:
- __Linux__:
  - Make sure that you have installed the static versions of the C++ standard library
    - For instance, on Fedora Linux, install `glibc-static`, `libstdc++-static`, and `zlib-static`
- __Windows__:
  - When installing native-image, please note that `gu` is an existing alias in PowerShell.
  Remove the alias with `Remove-Item alias:gu -Force`, refer to `gu` with the absolute path, or use `gu` under `cmd.exe`.
  - Make sure to run the Maven wrapper in the "Native Tools Command Prompt".
  This command prompt can be obtained through installing the Windows SDK or Visual Studio, as
  mentioned in the [GraalVM installation instructions](https://www.graalvm.org/docs/getting-started-with-graalvm/windows/).

`native-image` Development Instructions:
- Reflection:
  - If you need to use reflection to access a private field/method, simply register the field/methods that you access in `reflect-config.json`
  - If you need to parse some JSON using Gson, make sure to register the fields and methods of the class that you are parsing into in `reflect-config.json`
    - This needs to be done recursively, for all classes that it has member variables of, including `enum`s
    - Settings are all deserialized, so whenever a setting is added, make sure to register the classes
  - Manually test the binary and check the logs for reflection errors/NPEs

Maven coordinates:
------------------

Here are the Maven coordinates for lemminx (replace the `X.Y.Z` version with the [latest release](https://repo.eclipse.org/content/repositories/lemminx-releases)):
```xml
<dependency>
    <groupId>org.eclipse.lemminx</groupId>
    <artifactId>org.eclipse.lemminx</artifactId>
    <version>X.Y.Z</version>
    <!-- classifier:uber includes all dependencies -->
    <classifier>uber</classifier>
</dependency>

for Gradle:
compile(group: 'org.lemminx', name: 'org.eclipse.lemminx', version: 'X.Y.Z', classifier: 'uber')

You will have to reference the Maven repository hosting the dependency you need. E.g. for Maven, add this repository to your pom.xml or settings.xml :
<repository>
  <id>lemminx-releases</id>
  <url>https://repo.eclipse.org/content/repositories/lemminx-releases/</url>
  <snapshots>
    <enabled>false</enabled>
  </snapshots>
  <releases>
    <enabled>true</enabled>
  </releases>
</repository>

And if you want to consume the SNAPSHOT builds instead:
<repository>
  <id>lemminx-snapshots</id>
  <url>https://repo.eclipse.org/content/repositories/lemminx-snapshots/</url>
  <releases>
    <enabled>false</enabled>
  </releases>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>

Verify 3rd Party Libraries
Currently generating the IP Log report requires a Java Runtime Environment (JRE) >= 11.
Run ./mvnw clean verify -Pverify-iplog to generate a report for the 3rd party libraries used by this project. See the Eclipse Project Handbook for further details.
Clients
Here are some clients consuming this XML Language Server:

Eclipse IDE with Wild Web Developer and m2e
VSCode with vscode-xml
Theia with theia-xml
Spring Tools 4 - re-using the XML parser for Spring-specific analysis and content-assist
Vim/Neovim with coc-xml
Emacs with lsp-mode

Extensions
The XML Language Server can be extended to provide additional validation and assistance. Read the LemMinX-Extensions docs for more information
Folder: docs
README for docs/README.md:
LemMinX
User guide

Configuration
Features

Developer guide

How to implement a LemMinX extension?
Custom LSP

Folder: docs/images
Folder: org.eclipse.lemminx
Folder: org.eclipse.lemminx/.mvn
Folder: org.eclipse.lemminx/.mvn/wrapper
pom.xml for org.eclipse.lemminx/pom.xml:

4.0.0

org.eclipse.lemminx
lemminx-parent
0.28.1-SNAPSHOT

org.eclipse.lemminx

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<dev.build.timestamp>${maven.build.timestamp}</dev.build.timestamp>
<cbi.jarsigner.skip>true</cbi.jarsigner.skip>
<native.maven.plugin.version>0.9.23</native.maven.plugin.version>
<graalvm.static />

src/main/resources/
true

/*.properties

src/main/resources/
false

/*.properties

org.codehaus.mojo
build-helper-maven-plugin
3.4.0

parse-version

parse-version

pl.project13.maven
git-commit-id-plugin
4.9.10

get-the-git-infos

revision

${project.basedir}/../.git
true

^git.commit.id.abbrev$
^git.commit.message.short$
^git.branch$
^git.build.version$

true

org.apache.felix
maven-bundle-plugin

org.apache.maven.plugins
maven-jar-plugin
3.3.0

test-jar

org.eclipse.cbi.maven.plugins
eclipse-jarsigner-plugin
1.3.2

sign
package

sign

maven-assembly-plugin
3.6.0

src/assembly/distribution.xml

${project.artifactId}

org.eclipse.lemminx.XMLServerLauncher

make-assembly
package

single

native

native
true

kr.motd.maven
os-maven-plugin
1.7.1

initialize

detect

org.graalvm.buildtools
native-maven-plugin
${native.maven.plugin.version}

build

package

false
lemminx-${os.detected.classifier}-${project.version}

--no-fallback
--enable-http
--enable-https
${graalvm.static}

generate-p2

org.eclipse.tycho.extras
tycho-eclipserun-plugin

maven-assembly-plugin

src/assembly/p2repo.xml

com.google.guava
guava

com.google.code.gson
gson

org.eclipse.lsp4j
org.eclipse.lsp4j

com.google.guava
guava

org.eclipse.lsp4j
org.eclipse.lsp4j.jsonrpc

xerces
xercesImpl
2.12.2

xml-apis
xml-apis
2.0.2

com.kotcrab.remark
remark
1.0.0

org.jsoup
jsoup
1.14.2

xml-resolver
xml-resolver
1.2
runtime

org.relaxng
jing
20220510

net.sf.saxon
Saxon-HE

xerces
xercesImpl

xml-apis
xml-apis

org.junit.jupiter
junit-jupiter-api
test

org.junit.jupiter
junit-jupiter-engine
test

org.junit.jupiter
junit-jupiter-params
test

org.eclipse.jetty
jetty-server

9.4.53.v20231009
test

Folder: org.eclipse.lemminx/src
Folder: org.eclipse.lemminx/src/assembly
Folder: org.eclipse.lemminx/src/main
Folder: org.eclipse.lemminx/src/test
Folder: org.eclipse.lemminx/target
Folder: org.eclipse.lemminx/target/archive-tmp
Folder: org.eclipse.lemminx/target/classes
Folder: org.eclipse.lemminx/target/generated-sources
Folder: org.eclipse.lemminx/target/generated-test-sources
Folder: org.eclipse.lemminx/target/maven-archiver
Folder: org.eclipse.lemminx/target/maven-status
Folder: org.eclipse.lemminx/target/test-classes
pom.xml for pom.xml:

4.0.0
org.eclipse.lemminx
lemminx-parent
0.28.1-SNAPSHOT
pom
Eclipse LemMinX
LemMinX is a XML Language Server Protocol (LSP), and can be used with any editor that supports LSP, to offer an outstanding XML editing experience

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<lsp4j.version>0.20.1</lsp4j.version>
<junit.version>5.10.1</junit.version>

https://github.com/eclipse/lemminx

Eclipse Public License - v 2.0
http://www.eclipse.org/legal/epl-v20.html
repo

scm:git:git@github.com:eclipse/lemminx.git
scm:git:git@github.com:eclipse/lemminx.git
https://github.com/eclipse/lemminx
HEAD

org.eclipse.lemminx

cbi-release
https://repo.eclipse.org/content/repositories/cbi-releases/

dash-licenses-snapshots
https://repo.eclipse.org/content/repositories/dash-licenses-snapshots/

true

com.google.code.gson
gson
2.10.1

org.eclipse.lsp4j
org.eclipse.lsp4j
${lsp4j.version}

com.google.guava
guava
32.0.1-jre

com.google.guava
listenablefuture

org.checkerframework
checker-qual

com.google.errorprone
error_prone_annotations

com.google.j2objc
j2objc-annotations

org.codehaus.mojo
animal-sniffer-annotations

org.eclipse.lsp4j
org.eclipse.lsp4j.jsonrpc
${lsp4j.version}

org.junit.jupiter
junit-jupiter-api
${junit.version}
test

org.junit.jupiter
junit-jupiter-engine
${junit.version}
test

org.junit.jupiter
junit-jupiter-params
${junit.version}
test

org.eclipse
org.eclipse.lemminx
${project.version}

org.apache.maven.plugins
maven-compiler-plugin
3.11.0

1.8
1.8

org.apache.maven.plugins
maven-surefire-plugin
3.2.2

random

false
false
false
false
true

false
UTF-8
false

false
false
true
false

org.apache.maven.plugins
maven-jar-plugin
3.3.0

${project.build.outputDirectory}/META-INF/MANIFEST.MF

org.apache.felix
maven-bundle-plugin
5.1.9

bundle-manifest
process-classes

manifest

${project.artifactId}

org.apache.maven.plugins
maven-release-plugin
3.0.1

@{project.version}
-DskipTests=true -Dcbi.jarsigner.skip=false -Pci,generate-p2

repo.eclipse.org
lemminx-releases
https://repo.eclipse.org/content/repositories/lemminx-releases/

repo.eclipse.org
lemminx-snapshots
https://repo.eclipse.org/content/repositories/lemminx-snapshots/

ci

org.apache.maven.plugins
maven-source-plugin
3.3.0

attach-sources
package

jar

org.apache.maven.plugins
maven-javadoc-plugin
3.6.2

attach-javadocs
package

jar

none

generate-p2

org.eclipse.tycho.extras
tycho-eclipserun-plugin
1.3.0

generate-p2-site
package

eclipse-run

JavaSE-1.8

eclipse-4.10
p2
http://download.eclipse.org/eclipse/updates/4.10/R-4.10-201812060815/

org.eclipse.equinox.p2.publisher.eclipse
eclipse-plugin

org.eclipse.equinox.p2.core.feature
eclipse-feature

org.eclipse.equinox.core.feature
eclipse-feature

-application
org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher
-metadataRepository
file:${project.build.directory}/p2
-artifactRepository
file:${project.build.directory}/p2
-bundles
${project.build.directory}
-compress
-publishArtifacts

verify-iplog

org.eclipse.dash
license-tool-plugin
0.0.1-SNAPSHOT

license-check
verify

license-check

Please provide an overview of the project with the following guidelines:
- Determine the most important folders in the project, at most 10
- Go through each important folder step-by-step:
  - Explain what each folder does in isolation by summarzing the README or package.json file, if available
  - Mention the most popular or common packages used in that folder and their roles.
- After covering individual folders, zoom out to explain at most 5 high-level insights about the project's architecture:
  - How different parts of the codebase fit together.
  - The overall project architecture or design patterns evident from the folder structure and dependencies.
- Provide at most 5 additional insights on the project's architecture that weren't covered in the folder-by-folder breakdown.

Your response should be structured, clear, and focused on giving the new developer both a detailed understanding of individual components and a high-level overview of the project as a whole.

Here is an example of a valid response:

## Important folders

### /folder1
- Description: Contains the main application logic.
- Key packages: Express.js for routing, Mongoose for database operations.

#### /folder1/folder2

## Project Architecture
- The frontend is built using React and Redux for state management.
- The backend is a Node.js application using Express.js for routing and Mongoose for database operations.
- The application follows a Model-View-Controller (MVC) architecture.

## Additional Insights
- The project is using a monorepo structure.
- The project uses TypeScript for type checking.

==========================================================================
Completion:
Important Folders
.git
This folder is the Git repository metadata directory. It contains all the version control information about your project.
/.git/hooks
This subdirectory holds various Git hooks that are executed during certain Git operations such as commit, push, etc. They can be used to enforce policies, run tests, or perform other actions.
.github
This folder contains configuration and workflow files for GitHub.
/.github/workflows
It includes YAML files defining the continuous integration (CI) and deployment pipelines for your project on GitHub.
.idea
This is the default directory used by IntelliJ IDEA to store project settings.
.mvn
This folder is generated by Maven and holds wrapper scripts for working with the Maven build system, allowing projects to be built from the command line without needing to have Maven installed on your machine.
/.mvn/wrapper
It contains the Maven Wrapper files which are used to download a specific version of Maven automatically if it's not present in the environment where the project is being built.
.vscode
This folder contains Visual Studio Code-specific configuration settings and extensions for your project.
Project Architecture

Modular Structure: The project is structured into logical modules such as org.eclipse.lemminx, each with its own POM file defining dependencies and build instructions.
Dependency Management: Dependencies are centrally managed in the parent pom.xml, allowing for easy updates to the versions of libraries used across the project.
Language Server Protocol (LSP): The project implements a Language Server Protocol server for XML languages. LSP enables tools like IDEs and text editors to provide language-specific features such as autocompletion, diagnostics, hover info, etc.
Extensions: The XML Language Server can be extended to provide additional validation and assistance using LemMinX extensions. This allows for customizing the server's behavior based on project requirements.
Native Binary Generation: The project supports generating native binaries using GraalVM's Native Image tool, which statically compiles your application into a standalone binary for improved performance and reduced memory usage.

Additional Insights

CI/CD Setup: The project uses GitHub Actions to automate the build and testing of the project on each commit and pull request. This ensures that any changes made do not break existing functionality.
Testing Framework: JUnit 5 is used for unit testing, while Jetty Server is used for HTTP server-related tests. These tools help ensure the reliability and correctness of the codebase.
Static Code Analysis: The project uses a static code analysis tool to check for common coding errors and security vulnerabilities in the codebase. This helps improve code quality and security.
Third-Party Library Verification: A plugin is provided to verify the licenses of third-party libraries used in the project, ensuring compliance with open source licensing requirements.
Documentation: The project includes documentation on how to set up a development environment, configure and extend the XML Language Server, and contribute to the project. This helps new developers get started quickly and ensures that contributions are well-documented and easy to understand.

No need to clone lemminx, it's visible on https://github.com/continuedev/continue/

According to https://github.com/kaelzhang/node-ignore?tab=readme-ov-file#2-filenames-and-dirnames, a potential fix would replace:
https://github.com/continuedev/continue/blob/1533bee22ac350e681be5d67d0b24180cdace1d7/core/commands/slash/onboard.ts#L76
with something like:
  const filteredEntries = entries.filter((entry) => {
    const name = entry.isDirectory()? `${entry.name}/` : entry.name
    return !ig.ignores(name);
  });


Uncaught TypeError: Cannot read property 'startsWith' of undefined

The online version of the validator seems completely broken right now.
Uncaught TypeError: Cannot read property 'startsWith' of undefined
    at Object.fullTest (app.min.js:sourcemap:5)
    at app.min.js:sourcemap:5
    at Object.quickTest (app.min.js:sourcemap:5)
    at app.min.js:sourcemap:5
    at Object.a [as readDir] (app.min.js:sourcemap:5)
    at app.min.js:sourcemap:5
    at app.min.js:sourcemap:5
    at app.min.js:sourcemap:5
    at Object.parse (app.min.js:sourcemap:5)
    at app.min.js:sourcemap:5

Im still having the same error, what else could it possibly be?


How can I change the site name in the header to a Logo?

I am using the Minimal Blog theme and I want to change the site name in the header to a logo instead.
What would be the recommended way to do this?
I tried adding siteLogo with the path for the image into Gatsby-config.js and use that in the header.tsx component, but the image doesn't display on the site.

Thanks for the issue!
I merged #390 in so that one can more easily shadow the header contents. (Published in @lekoarts/gatsby-theme-minimal-blog@2.3.3).
You can shadow this file now to change the title to e.g. a logo:
https://github.com/LekoArts/gatsby-themes/blob/master/themes/gatsby-theme-minimal-blog/src/components/header-title.tsx

Thanks for the issue!
I merged #390 in so that one can more easily shadow the header contents. (Published in @lekoarts/gatsby-theme-minimal-blog@2.3.3).
You can shadow this file now to change the title to e.g. a logo:
https://github.com/LekoArts/gatsby-themes/blob/master/themes/gatsby-theme-minimal-blog/src/components/header-title.tsx


Publish link when drawing is in google shared drive returning some sort of authentication error

When the diagram is in my drive I have no problem publishing the link however when it is on a share drive it looks like its getting stuck.

GET https://www.googleapis.com/drive/v2/files/13x0sewDVgF--G2yqxA3JLV1p6gahY3Z3/permissions 404

Fixed


[Feature Request] Option to allow new entry (i.e. not present in input)

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
I would like to use FZF to allow the user to choose an item from a menu, but if the item does not exist, then allow the user to enter a new item manually. It'd be nice to have a CLI option (e.g. --allow-new) to allow the user to enter arbitrary text, not present in the input, and have FZF return it.
It's easy to work around the lack of this feature by having some placeholder item, then if the placeholder item is returned by FZF, prompting the user after FZF enter arbitrary text using some other tool. But I feel that it would make an excellent addition to FZF, both providing a more consistent user experience to the end user and making developers' (of apps that use FZF) lives easier. The lack of this feature necessitates extra flow control outside of FZF for going back and forth between the two modes (selecting from existing entries using FZF vs adding a new entry with some other tool).
My idea of returning new text is that the user simply types the new value in the same search box and presses enter. This capability would be enabled by a command line option like --allow-new. However, when enabled this way, it would conflict with certain existing capabilities (e.g. the whole --tiebreak part), and therefore enabling this option would implicitly disable them.
As such, it might be desirable for some people to have an alternate mode for entering the arbitrary text. e.g. Offering some shortcut like Ctrl-X which would make FZF display a dialog for entering an arbitrary value, which would also guarantee that new values (which might imply creation) are not returned by accident. For me personally, the first method is preferred over this one, but it really works either way.
A few more ideas would be constraining what arbitrary input is allowed, e.g. by matching it against a regular expression or piping it to an arbitrary command and allowing or forbidding it based on that command's exit code. However, those are just some extra ideas for the future and the feature could totally be implemented without them at first.
Thank you in advance.

Sounds like you're looking for --print-query.

e.g. by matching it against a regular expression or piping it to an arbitrary command and allowing or forbidding it based on that command's exit code.

That is already possible with existing options. See https://github.com/junegunn/fzf/blob/master/CHANGELOG.md#0360

Oh, not sure how I missed these. Thank you for the answer!

how would i go about allowing the 'new query' to display something in preview?


Update How-to-get-Quality-Releases.md - Custom Formats

Rough instructions on creating a custom format

i'll deny this upgrade and not because it's borked
but because you got in your instructions To create a custom format in Radarr V3.....
and these part of the guide is for Radarr v0.2
Adding Radarr V3 today,
if you find something then i'll be happy to add it.
being Radarr V3 Custom Formats is a bit more complicated so any extra description/instruction would be very helpful.

V3 repo being merged into this one?

NVM, I see it's already done. Nice!


Fix tests

This PR fix bugs related with the different search views. I'm not sure why was this happening but if I use an Activity to create the Views instead of the application context it works. It's strange because it fails on the API 18 but it was working on API 29 🤷♂.
Anyway this PR will make Travis happy.

Ok... this doesn't make Travis happy but... "a bit happier". Now It just fails for the flaky tests. I did some reasearch and I found that there are three different flaky tests:

JaCoCo
Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds.
A real flaky test at RecyclerView module

You conflicted with your other PR! Care to rebase?
If not, I can get to it eventually. Thanks for taking the time to investigate these.

rebased

I can't remember the last time the build was fully green. Thanks!


feat(UI): Add the option for chapter titles and dividers on the seek bar

Closes https://github.com/shaka-project/shaka-player/issues/3597

@Trail3lazer I’m on vacation the next week, but I’ll review when back! Thanks!

Looks like you've tied the chapters to the current subtitle/caption language, how will that work if the video doesn't have any subtitles/captions or when they are disabled or if the chapters are only available in a single language but a subtitle track in a different language is active?
Probably better to either hook it up to the UI language which will always be available or create a separate setting for it.

@avelad, I removed the changes you recommended and the unnecessary configuration value. Sorry, I was unavailable to update this until now. Did you merge the changes already with a different PR?


Hi,
You can check out how it's done in the sample app: https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/AbstractStepperActivity.kt there's an onBackPressed() method


default TroubleText link to Normal plays bad with cursorline when background is not none

Hi! first, thanks for the amazing plugin!
As per title, I've noticed that the default highlight of TroubleText links to Normal, however, when Normal defines a guibg the cursorline will not override the text background, resulting in an unpleasent feel.
test:
:hi TroubleText guifg=fg guibg=bg (BAD) vs :hi TroubleText guifg=fg guibg=none (GOOD)

@rebelot
I'm having the same issue. Were you able to identify what line(s) in the source this is happening on? I couldn't pinpoint it myself.

Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev


[TW#16282] Console Echo

when connecting via minicom/gtkterm/... no echo of typed characters will be shown. Pressing enter or after entered 128 chars, the entered chars will be shown. Looks like buffering of stdout ?
This is different than for the esp8266, there is works as expected.

Just to clarify, are you seeing this with examples/system/console example, or some other application?

Closing due to lack of response, please reopen if this is still an issue.


Extract image TypeError: object of type 'zip' has no len()

Env:

Ubuntu 18.04
Python 3.6
pdfminer 20191125

Command:
 pdf2txt.py -d -o Wang\ et\ al_2017_Tacotron.txt -t text -O images Wang\ et\ al_2017_Tacotron.pdf

log:
Traceback (most recent call last):
  File "/home/jack/anaconda3/envs/py36/bin/pdf2txt.py", line 115, in <module>
    if __name__ == '__main__': sys.exit(main(sys.argv))
  File "/home/jack/anaconda3/envs/py36/bin/pdf2txt.py", line 110, in main
    interpreter.process_page(page)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/pdfinterp.py", line 842, in process_page
    self.device.end_page(page)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/converter.py", line 50, in end_page
    self.receive_layout(self.cur_item)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/converter.py", line 182, in receive_layout
    render(ltpage)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/converter.py", line 172, in render
    render(child)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/converter.py", line 172, in render
    render(child)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/converter.py", line 172, in render
    render(child)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/converter.py", line 179, in render
    self.imagewriter.export_image(item)
  File "/home/jack/anaconda3/envs/py36/lib/python3.6/site-packages/pdfminer/image.py", line 74, in export_image
    if len(filters) == 1 and filters[0][0] in LITERALS_DCT_DECODE:
TypeError: object of type 'zip' has no len()

Test file:
Wang_et_al_2017_Tacotron.zip

Hi !
Maybe a bit late but I found a solution to this. (It may help someone in the future)
I modified the following file: site-packages\pdfminer\pdftypes
More precisely the function "get_filters" and what it returns. See code below:
    def get_filters(self):
        filters = self.get_any(('F', 'Filter'))
        params = self.get_any(('DP', 'DecodeParms', 'FDecodeParms'), {})
        if not filters:
            return []
        if not isinstance(filters, list):
            filters = [filters]
        if not isinstance(params, list):
            # Make sure the parameters list is the same as filters.
            params = [params]*len(filters)
        if STRICT and len(params) != len(filters):
            raise PDFException("Parameters len filter mismatch")
        return list(zip(filters, params))

Best regards,

#lpnaunau
Thanks

Great !  Many thanks! . Just solved my issue also.


remove RectorRunValueResolver to fix demo link

@JanMikes I've added SensioFrameworkExtraBundle and it creates bug on demo:

This PR fixes it

Can I merge it without overriding Docker build to broken one? :)

🟢


make gen with new build-tools

Please provide a description of this PR:
make gen with new build-tools

@ericvn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
e77179b635a5bbac15d02c005992cd8c226e0e6c
link
true
/test gencheck

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

/test gencheck

@ericvn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-istiodremote_istio
e77179b635a5bbac15d02c005992cd8c226e0e6c
link
true
/test integ-telemetry-istiodremote

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


inital smi-conformance action draft

Signed-off-by: s1ntaxe770<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

for context i'm currently working on fixing this issue

@s1ntaxe770r is this still a WIP? If not, please change this Draft into a PR ready to review


Ubuntu image: need to warn that Scylla recommends to use XFS volume for data volume

Unlike CentOS AMI, Ubuntu AMI uses ext4 as rootfs filesystem.
If we launch the AMI without ephemeral disks, /var/lib/scylla will be on ext4 filesystem.
We should shows up warning on login message that we recommend to use XFS filesystem, and to do so we need extra disks to construct RAID volume (with XFS filesystem).
Same with GCP.
Related with  #111

Actually GCP is more serious, on GCP image it won't attach Local SSD scratch disks by default.


Does not work for me

I executed as in the example in the readme and it did not work correctly, of every form and configuration that I use it always removes all the elements when I am going to paste a content.
I put keepHtml to true and even then the tags defined in keepOnlyTags are removed when pasting content.
I am using version 0.8.7 with webpack.
require('summernote');
require('summernote-cleaner')

$('.summernote').summernote({
    toolbar: [
      ['style', ['bold', 'italic', 'underline']],
      ['misc', ['undo','redo','fullscreen']],
    ],
    disableDragAndDrop: true,
    disableResizeEditor: true,
    cleaner:{
      notTime: 2400,
      action: 'paste',
      newline: '
',
      notStyle: 'position:absolute;top:0;left:0;right:0',
      keepHtml: true,
      keepOnlyTags: ['
', '
', '
', '
', '', '','', ''],
      keepClasses: false,
      badTags: ['table','style', 'script', 'applet', 'embed', 'noframes', 'noscript', 'html'],
      badAttributes: ['style', 'start']
    }
});

Thanks!

Sorry for the delay on commenting. I made a couple of small changes, though I am looking at building or finding a script to properly step through elements for cleaning up and retaining pasted content from word.

Same issue, it's not working fine.
keepHtml: true, // Remove all Html formats               keepOnlyTags: ['
', '
', '
', '
', '', '','', ''],
But it remove all tag. and
newline: '
',
same default setting of summernote, not have any changed.


Horizontal line cannot be displayed on the the edge browser

Describe the bug:
Horizontal line cannot be displayed on the the edge browser
To Reproduce:
Steps to reproduce the behavior:

Use the same browser as me
Click on https://katex.org/docs/supported.html
Scroll down to Fractions and Binomials
See error

Screenshots:

Environment (please complete the following information):

KaTeX Version: 0.12.0
Device: Desktop
OS: Windows 10
Browser: edge dev
Version:  85.0.564.8

Additional context:
Add any other context about the problem here. If you're using a library to use KaTeX, please include its name and setup.

I'm not able to reproduce the issue. Could you check your zoom level? KaTeX works nicely with the default zoom.

I'm not able to reproduce the issue. Could you check your zoom level? KaTeX works nicely with the default zoom.

I found that the problem only occurred when the external display was used and the default zoom was used. When I zoomed in, the problem disappeared, so this should be a problem of the edge browser's adaptation to high-resolution screens.

@YinAoXiong Could you let us know the resolution of your screen?

@YinAoXiong Could you let us know the resolution of your screen?

The resolution of my external screen is 2k


Incorrect information for broker APP

Hi All,
Please can you correct the below statement:
A broker app is required to register the device. The broker app can be the Microsoft Authenticator for iOS, or either the Microsoft Authenticator or Microsoft Company portal for Android devices.
This should mention that both company portal AND Authenticator is required for Android.

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

ID: bd934939-4dbb-3a92-f996-56b9557f49ac
Version Independent ID: 3cda6b81-26e8-c9ac-e768-d912636a461b
Content: Grant controls in Conditional Access policy - Azure Active Directory
Content Source: articles/active-directory/conditional-access/concept-conditional-access-grant.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Donovand4 Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.

It depends on the policy configured. In some instances you will need both and then it lets you know and prompts for install. There is an answer in techcommunity https://techcommunity.microsoft.com/t5/microsoft-intune/why-different-broker-apps-for-ios-and-android-not-enrolled-when/m-p/332758 that explains a bit.
The Product Teams are aware of the confusion around having two apps and requiring less overhead for customers but there is no roadmap for the future to share at this point.
#please-close


Keras with mxnet-backend and 8 GPUs trains slow when using ImageDataGenerator

Following this great post: https://devblogs.nvidia.com/parallelforall/scaling-keras-training-multiple-gpus/ I tried to upgrade my model to run in parallel on my multiple GPUs instance.
At first I ran the MNIST example as proposed here: https://github.com/fchollet/keras/blob/master/examples/mnist_cnn.py with the additional syntax in the compile command as follows:
# Prepare the list of GPUs to be used in training
NUM_GPU = 8 # or the number of GPUs available on your machine
gpu_list = []
for i in range(NUM_GPU): gpu_list.append('gpu(%d)' % i)

# Compile your model by setting the context to the list of GPUs to be used in training.
model.compile(loss='categorical_crossentropy',
              optimizer=opt,
              metrics=['accuracy'],
              context=gpu_list)

then I trained the model:
model.fit(x_train, y_train,
          batch_size=batch_size,
          epochs=epochs,
          verbose=1,
          validation_data=(x_test, y_test))

So far so good. It ran for less than 1s per epoch and I was really excited and happy until I tried - data augmentation.
To that point, my training images were a numpy array at size (60000,1,28,28) and the labels were at size (10,60000) - one-hot encoded. For data augmentation I used the ImageDataGenerator function:
gen = image.ImageDataGenerator(rotation_range=8, width_shift_range=0.08, shear_range=0.3,
                               height_shift_range=0.08, zoom_range=0.08)
batches = gen.flow(x_train, y_train, batch_size=NUM_GPU*64)
test_batches = image.ImageDataGenerator().flow(x_test, y_test, batch_size=NUM_GPU*64)

model.fit_generator(batches, batches.N, nb_epoch=1,
                    validation_data=test_batches, nb_val_samples=test_batches.N)

And unfortunately, from 1s per epoch I started getting ~11s per epoch... I suppose that the "impact" of the ImageDataGenerator is destructive and it probably running all the (reading->augmenting->writing to gpu) process really slow and inefficient.
Scaling keras to multiple GPUs is great, but data-augmentation is essential for my model to be robust enough.
Here are 2 benchmarks I made:
Using data augmentation:

Without data-augmentation

Thanks!

Here are 2 benchmarks I made:
Using data augmentation:

Without data-augmentation

Twice faster

Hello,
If you want to stay within keras you can probably do your data augmentation as a custom layer and put it into your model then push raw data.
Otherwise do the data loading directly in mxnet (you can probably use keras model to generate the mxnet graph). In mxnet you can then use a prefetchingIter (automatically in a thread).

Maybe using more threads to create the augmentations would speed things up a bit?
You could pass 'workers=N' to fit_generator, where N is the number of threads.

I have the same problem. Before using ImageDataGenerator along with fit_generator, the code runs fine on multi gpus. When I tried these, it seems that the program runs only on one gpu, and it turns out to be very slow.
@ivo-leonov  I've tried what you said and it won't work. The program still runs on single gpu

@DNXie The 'workers' setting is only changing the number of CPU cores used for creating the augmentations. Nevertheless, weird behavior.


SKPathEffect.CreateDash returns null for odd number of elements in intervals array

Used version: 1.54.0
Wasn't able to reproduce v1.54.1, since samples didn't compile on my box.
Repro:
Change (this line)[https://github.com/mono/SkiaSharp/blob/v1.54.0/samples/SharedDemo/SkiaSharp.Demos.cs#L1002] and make the intervals[] array have an odd number of elements, like
using (var effect = SKPathEffect.CreateDash (new [] { 15f, 5f, 5f }, 0))
In the above line effect will be null.

I'll let the SkiaSharp owners correct me if I'm wrong, but I believe that's working as intended. If you look at the native Skia docs for dashing it specifies that the intervals array should contain an even number of elements.
The intervals array should contain a list of pairs of StrokeDist, GapDist. Therefore a simple method to fix your problem is to concatenate a copy of your intervals array onto itself (i.e. 15, 5, 5, 15, 5, 5). That's the method followed e.g. by the SVG standard

Thanks for the clarification. Nevertheless, a factory method returning null without any hints on what was wrong seems still confusing.
In my opinion, it should either throw an ArgumentException or, if the second approach you suggest creates the intended dash effect, it could be an option to silently apply that modification within the factory method. Whatever seems the solution that's better aligned with the design of the skia sharp library I would be happy to send a PR containing the desired fix.

Agreed, the docs should specify that. I know @mattleibow has a done bunch of docs improvements that will be released with the next version, so perhaps that work is already done.

@tdenniston Thanks for commenting. You are correct, it is working as intended. And, I have added some docs.
@codedevote @tdenniston About the exception... We are in the fortunate position to make decisions. I think C++ returns null as that is preferable to exceptions there. I also am creating a dumb API wrapper - acts as C++ acts. However, since we are doing a .NET API, maybe throwing an arguments exception is actually better. For example, I do throw a few null exceptions in some places - even though nullrefex is a bit different. I am seriously considering adding an exception for hard rules - so there will be no need to hit the docs or do any research.
An example of a hard rule would be the fact that "a color table is exactly 256 items", a "dash must be even number", the "stream cannot be null".
Any thoughts on whether an exception is a good thing, or should we just leave it up the docs?

I'll throw in one more option of approaching hard rules:
Instead of e.g. using an integer[] for the dash/gap definition, introduce a proper type, that just makes the invalid states unrepresentable. E.g. having a type like this
class DashDefinition {   public float Dash {get; set; }   public float Gap {get; set; } }
would allow for a DashDefinition[] to be passed to the factory method, actually enforcing an even number of dash/gap.
As far as I am concerned, I would either use explicit types (preferred) or throw an ArgumentException for hard rules (as I think this is more idiomatic C# than returning null).

The type-enforced approach would seem like the best approach except for the fact that SkiaSharp is (nominally) a thin wrapper around Skia. If there are small differences like DashDefinition[] instead of float[], SkiaSharp users might start to wonder what other subtle differences there are that they are missing. They also might wonder whether a function that takes DashDefinition[] has the same functionality as the native Skia method, even if it has the same name.
So I guess if we're voting here, I'd vote for the ArgumentException approach. That seems like a nice middle ground, and as @codedevote noted, probably more idiomatic in C#.

Thanks for the info. I am using an exception so that I don't stray too far off the underlying skia. They may cause issues if the decide to change thing from underneath us (again). I now throw an exception for various cases and the messages should be helpful


Use "q" to "quit" the results buffer

It's an accepted Emacs standard. Pepita honors it in the modes derived from tabulated-list, it should do it for the results too!

Added in 489ddc2.


Fix diff in self-healing test for PXC 5.7

Fix the diff for self-healing test for 5.7:
+ diff -u /mnt/jenkins/workspace/pxc-operator-gke-version/source/e2e-tests/self-healing/compare/proxy-vars.sql /tmp/tmp.NCCAVD6Hzf/proxy-vars1.sql
--- /mnt/jenkins/workspace/pxc-operator-gke-version/source/e2e-tests/self-healing/compare/proxy-vars.sql	2021-01-21 12:35:23.000000000 +0000
+++ /tmp/tmp.NCCAVD6Hzf/proxy-vars1.sql	2021-01-21 13:05:27.068301607 +0000
@@ -30,7 +30,7 @@
 admin-telnet_admin_ifaces	(null)
 admin-telnet_stats_ifaces	(null)
 admin-vacuum_stats	true
-admin-version	2.0.14-percona-1.1
+admin-version	2.0.15-percona-1.1
 admin-web_enabled	false
 admin-web_port	6080
 mysql-add_ldap_user_comment
@@ -88,6 +88,7 @@
 mysql-max_connections	2048
 mysql-max_stmts_cache	10000
 mysql-max_stmts_per_connection	20
+mysql-max_transaction_idle_time	14400000
 mysql-max_transaction_time	14400000
 mysql-min_num_servers_lantency_awareness	1000
 mysql-mirror_max_concurrency	16
@@ -142,7 +143,7 @@
 mysql-query_retries_on_failure	1
 mysql-reset_connection_algorithm	2
 mysql-server_capabilities	571947
-mysql-server_version	5.7.31
+mysql-server_version	5.7.32
 mysql-servers_stats	true
 mysql-session_idle_ms	1000
 mysql-session_idle_show_processlist	true

Test name
Status

recreate
passed

haproxy
passed

big-data
passed

upgrade-haproxy
passed

scaling
passed

storage
passed

init-deploy
passed

scaling-proxysql
passed

self-healing
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

monitoring-2-0
passed

smart-update
passed

demand-backup
passed

affinity
passed

one-pod
passed

operator-self-healing
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

pitr
passed

upgrade-consistency
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

recreate
passed

haproxy
passed

big-data
passed

upgrade-haproxy
passed

scaling
passed

storage
passed

init-deploy
passed

scaling-proxysql
passed

self-healing
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

monitoring-2-0
passed

smart-update
passed

demand-backup
passed

affinity
passed

one-pod
passed

operator-self-healing
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

pitr
passed

upgrade-consistency
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

demand-backup-encrypted-with-tls
failed


Add local workspace support options to 'Create Queue' command via palette

Fixes #1043
I'm proposing to make changes to pickAppResource here and here.
Basically my change does this - when creating queue from the command palette, the new change will first ask if the node we are looking for is remote or local.  Based on this, we will either traverse the app resources or the workspace resources.

Leaving this implementation for v2 of the API


Revert "Update blackduck-common-api to 2<IP_ADDRESS>"

Reverts blackducksoftware/blackduck-common#397

@mau-synopsys downgrading it to last change, not sure why we need 2<IP_ADDRESS>?

@mau-synopsys downgrading it to last change, not sure why we need 2<IP_ADDRESS>?

Sorry meant to say 2<IP_ADDRESS>. Is this rollback because 2<IP_ADDRESS> was not released via jenkins?

@mau-synopsys downgrading it to last change, not sure why we need 2<IP_ADDRESS>?

Sorry meant to say 2<IP_ADDRESS>. I have a PR to upgrade to use blackduck-common-api 2<IP_ADDRESS>

@mau-synopsys
Comprehensive tests are failing when using the latest blackduck-common-api


[DDO-2442] Make Sherlock state-loading more efficient

Moved the Sherlock StateReadWriter and StateLoader interfaces into clients/sherlock, where the implementations are, from state/providers/sherlock, where the usage is
Changed some method names inside state/providers/sherlock to be a bit more clear about the behavior (there's multiple packages with newEnvironments() etc methods that do different things)

The meat of the change:

Rather than requesting clusters, then environments, then chart releases for each destination, Sherlock state-loading now requests clusters, then environments, then chart releases, before sorting the chart releases into the correct destination in the state structure. This means the number of requests for each load goes from 2+len(clusters)+len(environments) to 3.
In the above process, both before and after the change, there's a risk of race conditions if Sherlock's state changes in between when it responds to requests (imagine a BEE being created in between fetching environments and chart releases--chart releases would exist in the second response without an environment in the first). The state-loading process now detects this and retries automatically. It does not retry actual errors, just this race condition that isn't anyone's fault.

A fun fact:

Thelma seems to load state twice for a lot of common operations--I'm not talking about the reload when creating a BEE; just running thelma bee list loads state twice
I suspect this is mostly just because of ThelmaApp.State() which is called 17 places throughout Thelma's code base, a lot of them outside of tests. The "created-a-BEE-now-reload-state" is not one of them, the underlying stateLoader.Load() is actually called directly there.
There might be some opportunity to cache the response to that oft-called ThelmaApp.State(), but that could quickly impact algorithmic correctness of things I wouldn't think to test. I figure best not to over-optimize right now and we can kick that can down the road. I continue to think most of the wait time will be latency rather than actual compute time inside Sherlock (returning all chart releases across Terra without a proxy in the way takes 60ms, clusters 1ms, environments 6ms). Then again, loading twice is like running twice as many invocations of Thelma. We'll see.

Moved the Sherlock StateReadWriter and StateLoader interfaces into clients/sherlock, where the implementations are, from state/providers/sherlock, where the usage is
Not a big deal but maybe internal/state/api is the right place for these? If we ever need to do another implementation of something that can read/write thelma state it would be kind of weird to import clients/sherlock in order to get access to these interfaces.

Moved the Sherlock StateReadWriter and StateLoader interfaces into clients/sherlock, where the implementations are, from state/providers/sherlock, where the usage is

Not a big deal but maybe internal/state/api is the right place for these? If we ever need to do another implementation of something that can read/write thelma state it would be kind of weird to import clients/sherlock in order to get access to these interfaces.

These aren’t the overall interfaces, these are the Sherlock-specific ones that can work with Sherlock-specific types—what the Sherlock client directly implements. state/providers/sherlock uses it to implement the actual overall interfaces that work strictly with the abstracted Thelma types.

Sounds good, there's alot of interfaces involved here. Probably got them mixed up


pull request for e2e test at 01/18/2017 20:56:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add notifications component

Notifications have been added to the Design Manual. Post v4, add a cf-notifications component and update the Design Manual when it's ready.

notification element can be ported from cfgov-refresh: https://github.com/cfpb/cfgov-refresh/search?utf8=✓&q=notification&type=

Ans already got started https://github.com/cfpb/capital-framework/pull/560


converter adding spaces to beginning/end of output

Converter consistently adds 1 space to beginning of output, and 2 spaces to end of output.

Thanks, I've now fixed this.


update Mysql driver to latest 8.0

modified:   go-sql-driver/mysql/.gitignore
modified:   go-sql-driver/mysql/.travis.yml
new file:   go-sql-driver/mysql/.travis/docker.cnf
new file:   go-sql-driver/mysql/.travis/gofmt.sh
new file:   go-sql-driver/mysql/.travis/wait_mysql.sh
modified:   go-sql-driver/mysql/AUTHORS
modified:   go-sql-driver/mysql/CHANGELOG.md
modified:   go-sql-driver/mysql/LICENSE
modified:   go-sql-driver/mysql/README.md
modified:   go-sql-driver/mysql/appengine.go
new file:   go-sql-driver/mysql/auth.go
new file:   go-sql-driver/mysql/auth_test.go
new file:   go-sql-driver/mysql/benchmark_go18_test.go
modified:   go-sql-driver/mysql/benchmark_test.go
modified:   go-sql-driver/mysql/buffer.go
modified:   go-sql-driver/mysql/collations.go
modified:   go-sql-driver/mysql/connection.go
new file:   go-sql-driver/mysql/connection_go18.go
new file:   go-sql-driver/mysql/connection_go18_test.go
new file:   go-sql-driver/mysql/connection_test.go
modified:   go-sql-driver/mysql/const.go
modified:   go-sql-driver/mysql/driver.go
new file:   go-sql-driver/mysql/driver_go18_test.go
modified:   go-sql-driver/mysql/driver_test.go
modified:   go-sql-driver/mysql/dsn.go
modified:   go-sql-driver/mysql/dsn_test.go
modified:   go-sql-driver/mysql/errors.go
new file:   go-sql-driver/mysql/fields.go
modified:   go-sql-driver/mysql/infile.go
modified:   go-sql-driver/mysql/packets.go
new file:   go-sql-driver/mysql/packets_test.go
modified:   go-sql-driver/mysql/rows.go
modified:   go-sql-driver/mysql/statement.go
new file:   go-sql-driver/mysql/statement_test.go
modified:   go-sql-driver/mysql/transaction.go
modified:   go-sql-driver/mysql/utils.go
new file:   go-sql-driver/mysql/utils_go17.go
new file:   go-sql-driver/mysql/utils_go18.go
new file:   go-sql-driver/mysql/utils_go18_test.go
modified:   go-sql-driver/mysql/utils_test.go

Thanks


[Hubs] Connector datasets – Add data parity with the Cost Management Power BI connector

📝 Scenario
As a FinOps practitioner, I need to report on many datasets in order to show a complete picture of my costs
💎 Solution
Add support for the following datasets based on what's currently available in the Cost Management connector for Power BI:

[ ] Balance summary (EA only)
[ ] Budgets
[x] Actual cost -- As of FinOps hubs 0.1
[x] Pricesheets -- As of FinOps hubs 0.6
[ ] Reservation charges
[x] Shared reservation recommendations -- As of FinOps hubs 0.6
[x] Scoped reservatios recommendations -- As of FinOps hubs 0.6

🙋♀ Ask for the community

We could use your help:

Please vote this issue up (👍) to prioritize it.
Leave comments to help us solidify the vision.

Closing this as most are now supported in FinOps hubs 0.6. If anyone needs the remaining datasets, please create a new issue to track it and vote it up so we can track the priority of it.


Incorrect Database type created on Server 2016 in <IP_ADDRESS>

I'm currently using version <IP_ADDRESS> due to the issue in #140. After successfully creating the Pull Server on a Server 2016 machine, an mdb file is created instead of an edb file. According to #91 the database type is determined by the operating system of the Pull Server. Because the server in question is 2016 an edb database is expected.
The file system after install:
Directory: C:\Program Files\WindowsPowerShell\DscService
Mode                LastWriteTime         Length Name

d---s-         6/1/2016   8:02 AM                Configuration
d---s-         6/1/2016   8:02 AM                Modules
-a----         6/1/2016   8:02 AM        1310720 Devices.mdb
The web.config for the endpoint has the appropriate values:

The mdb is created either way. The edb will be created when you register your first client.

@rustyhann
The content of the web.config is the actual type that will be used by your pull server endpoint. The mdb file is always being created. We can look into updating the deployment in such a way it places the mdb file under DSCService folder only when the ole provider is setup in web.config.

@rustyhann
I have updated the issue description.

I like the idea of only creating the mdb file only when the OLE provider is used. When I first saw the mdb I was confused (until I read megamorf's post) because I was expecting an edb file.

@rustyhann
Thanks for reporting this issue. It has been fixed by https://github.com/PowerShell/xPSDesiredStateConfiguration/pull/143. Version <IP_ADDRESS>


update all auto-generated exercises

Updates for all exercises for which test generators exist.
This also fixes up some left-over test versionings in those exercises.

I can't seem to find it in the changelog on the first glance. Have you bumped the upstream repository with the specifications?


Exception when saving

Hello,
Thank you for providing a very useful library.
I'm unfortunately having a problem with a simple example:
Exception:
dnlib.DotNet.Writer.ModuleWriterException
  HResult=0x80131500
  Message=Found some other method's instruction or a removed instruction. You probably removed an instruction that is the target of a branch instruction or an instruction that's the first/last instruction in an exception handler.
  Source=dnlib
  StackTrace:
   at dnlib.DotNet.DummyLogger.Log(Object sender, LoggerEvent loggerEvent, String format, Object[] args)
   at dnlib.DotNet.Writer.ModuleWriterBase.dnlib.DotNet.ILogger.Log(Object sender, LoggerEvent loggerEvent, String format, Object[] args)
   at dnlib.DotNet.Writer.MetaData.dnlib.DotNet.Writer.IWriterError.Error(String message)
   at dnlib.DotNet.Writer.MethodBodyWriter.ErrorImpl(String message)
   at dnlib.DotNet.Writer.MethodBodyWriterBase.GetOffset(Instruction instr)
   at dnlib.DotNet.Writer.MethodBodyWriterBase.WriteShortInlineBrTarget(BinaryWriter writer, Instruction instr)
   at dnlib.DotNet.Writer.MethodBodyWriterBase.WriteOperand(BinaryWriter writer, Instruction instr)
   at dnlib.DotNet.Writer.MethodBodyWriterBase.WriteInstruction(BinaryWriter writer, Instruction instr)
   at dnlib.DotNet.Writer.MethodBodyWriterBase.WriteInstructions(BinaryWriter writer)
   at dnlib.DotNet.Writer.MethodBodyWriter.WriteFatHeader()
   at dnlib.DotNet.Writer.MethodBodyWriter.Write()
   at dnlib.DotNet.Writer.MetaData.WriteMethodBodies()
   at dnlib.DotNet.Writer.MetaData.Create()
   at dnlib.DotNet.Writer.MetaData.CreateTables()
   at dnlib.DotNet.Writer.ModuleWriter.WriteImpl()
   at dnlib.DotNet.Writer.ModuleWriterBase.Write(Stream dest)
   at dnlib.DotNet.Writer.ModuleWriterBase.Write(String fileName)
   at dnlib.DotNet.ModuleDef.Write(String filename)
   at dnpatch.PatchHelper.Save(String name)
   at dnpatch.Patcher.Save(String name)
   at My_Patcher.Program.Main(String[] args) in E:\Documents\Visual Studio 2017\My_Patcher\My_Patcher\Program.cs:line 25

and this is the code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
using dnpatch;

namespace My_Patcher
{
    class Program
    {
        static void Main(string[] args)
        {
            Patcher p = new Patcher("Test.1.Server.exe");
            Target target = new Target()
            {
                Namespace = "ns0",
                Class = "GClass2",
                Method = "method_30",
                Indices = new[] { 26, 27 }
            };
            p.RemoveInstruction(target);
            p.Save("Test.1.Server_patched.exe");
        }
    }
}

I've downloaded and referenced dnpatch.dll and dnlib.dll from the releases zip and don't have any errors or warnings when compiling.
I'll be very grateful for your assistance please.
thanks

Does it work if you do Patcher("Server.exe", true)?

no, unfortunately not, same exception message

Can you please send me a screenshot of that method? I recommend using dnSpy for this. Please make a screenshot of the C# and IL version of the method.

0	0000	ldc.i4	0x11E90000
1	0005	stloc	V_0 (0)
2	0009	ldc.i4	0x75234B61
3	000E	stloc	V_0 (0)
4	0012	ldloca	V_0 (0)
5	0016	ldind.i2
6	0017	conv.i2
7	0018	ldc.i4	0x68FE4B61
8	001D	stloc	V_0 (0)
9	0021	ldloca	V_0 (0)
10	0025	ldind.i2
11	0026	conv.i2
12	0027	ceq
13	0029	switch	[14 (003A), 14 (003A), 14 (003A)]
14	003A	ldc.i4	0x19200001
15	003F	stloc	V_0 (0)
16	0043	ldloca	V_0 (0)
17	0047	ldind.i2
18	0048	conv.i2
19	0049	brtrue.s	20 (004B) ldc.i4 0x6D9C0000
20	004B	ldc.i4	0x6D9C0000
21	0050	stloc	V_0 (0)
22	0054	ldloca	V_0 (0)
23	0058	ldind.i2
24	0059	conv.i2
25	005A	brtrue.s	26 (005C) ldarg.0
26	005C	ldarg.0
27	005D	call	instance void ns0.GClass2::method_29()
28	0062	ret

namespace ns0
{
	// Token: 0x0200000C RID: 12
	public partial class GClass2 : GInterface3
	{
		// Token: 0x0600006D RID: 109 RVA: 0x000094B4 File Offset: 0x000076B4
		[CompilerGenerated]
		private void method_30(object sender, EventArgs e)
		{
			short num = (short)300482560;
			num = (short)1965247329;
			short num2 = num;
			num = (short)1761495905;
			switch (num2 == num)
			{
			default:
				num = (short)421527553;
				if (num == 0)
				{
				}
				num = (short)1838940160;
				if (num == 0)
				{
				}
				this.method_29();
				return;
			}
		}
	}
}

I'm attempting to remove this call
26	005C	ldarg.0
27	005D	call	instance void ns0.GClass2::method_29()

I see, what happens if you just empty the entire body?

That seems to work, thank you.
I hope that you plan to continue developing this library, it's very useful!

I am actually going to work on it again now since I need it personally for a few projects. I will only work on the v1 branch tho!

Excellent!


Bug: CLI doesn't work

Description
app command doesn't work:
ModuleNotFoundError: No module named 'app.cli'; 'app' is not a package

URL to code causing the issue
No response
MCVE
poetry install
app

Steps to reproduce
No response
Screenshots
No response
Logs
No response
Litestar Version
2.0.0 9e67d91 (from poetry.lock)
Platform

[ ] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

Just as a note, if you want to change the name from app to something else, you can edit this line and change app to whatever you want your command name to be.  Afterwards, run poetry install to ensure the link is created in the venv.

I think we should make the documentation a bit more clear that you should run make install, this will ensure there is a clean environment at the start.

Had to run poetry shell before running app then it works.
Haven't tried after change to pdm.

Resolved by #92


[Other issue]

Dear all,
When I am making custom circuit with scqubits I noticed that as soon as an inductance is put into the circuit, the cutoff parameter has to be large in order to get correct eigenenergies.
For instance, with the following fluxonium:
import numpy as np
import matplotlib.pyplot as plt
import scqubits as scq
from tqdm import tqdm
%matplotlib ipympl

zp_yaml = """
- [JJ, 0, 1, EJ1=100, ECJ1=1]
- [JJ, 0, 1, EJ2=100, ECJ2=1]
- [L, 0, 1, El2=0.400]
"""
circuit = scq.Circuit(
    zp_yaml, from_file=False, ext_basis="discretized", generate_noise_methods=True
)

fs = np.concatenate((np.linspace(0, 0.49, 100)[:-1],
                      np.linspace(0.49, 0.51, 500)))

circuit.cutoff_ext_1 = 30
spectrum30 = circuit.get_spectrum_vs_paramvals('Φ1', fs, num_cpus=8)
circuit.cutoff_ext_1 = 60
spectrum60 = circuit.get_spectrum_vs_paramvals('Φ1', fs, num_cpus=8)
circuit.cutoff_ext_1 = 90
spectrum90 = circuit.get_spectrum_vs_paramvals('Φ1', fs, num_cpus=8)
circuit.cutoff_ext_1 = 120
spectrum120 = circuit.get_spectrum_vs_paramvals('Φ1', fs, num_cpus=8)

fig, ax = plt.subplots(1, 4, figsize=(9,6), sharey=True)
ax[0].plot(fs, spectrum30.energy_table[:,1]-spectrum30.energy_table[:,0], label='30')
ax[0].plot(fs, spectrum30.energy_table[:,2]-spectrum30.energy_table[:,0], label='30')
ax[0].plot(fs, spectrum30.energy_table[:,3]-spectrum30.energy_table[:,0], label='30')

ax[1].plot(fs, spectrum60.energy_table[:,1]-spectrum60.energy_table[:,0], label='60')
ax[1].plot(fs, spectrum60.energy_table[:,2]-spectrum60.energy_table[:,0], label='60')
ax[1].plot(fs, spectrum60.energy_table[:,3]-spectrum60.energy_table[:,0], label='60')

ax[2].plot(fs, spectrum90.energy_table[:,1]-spectrum90.energy_table[:,0], label='90')
ax[2].plot(fs, spectrum90.energy_table[:,2]-spectrum90.energy_table[:,0], label='90')
ax[2].plot(fs, spectrum90.energy_table[:,3]-spectrum90.energy_table[:,0], label='90')

ax[3].plot(fs, spectrum120.energy_table[:,1]-spectrum120.energy_table[:,0], label='120')
ax[3].plot(fs, spectrum120.energy_table[:,2]-spectrum120.energy_table[:,0], label='120')
ax[3].plot(fs, spectrum120.energy_table[:,3]-spectrum120.energy_table[:,0], label='120')

ax[0].set_ylabel('Transition (GHz)')
for i in fig.get_axes():
    i.set_xlabel('flux (phi_0)')
fig.suptitle('cutoff')
ax[0].set_title('30')
ax[1].set_title('60')
ax[2].set_title('90')
ax[3].set_title('120')

Where I got:

Is this expected? If so why?
Thanks a lot.

This would seem reasonable to me...
Some super heuristic "explanation" might be something along the lines of: the EJ of your junctions is very "high", charging energy "low"... and inductive energy "low".. so your potential landscape is a "wide parabola", with many "tall" cosine peaks... the low EC means that your (low lying) wavefunctions live deep inside those wells, and thus they span over multiple ones...
All this means that you need a substantially large basis count (here scqubits chooses discretized phi basis) to capture this evecs structure properly.
You could try plotting the wavefunctions to get a better sense of what things look like.

In addition to @petergthatsme ‘s comment, to guarantee convergence you may also need to check if increasing phi grid range affect your eigenenergies. This document page instructs how to change the grid range: https://scqubits.readthedocs.io/en/v4.1/guide/circuit/ipynb/custom_circuit_bases.html
Another alternative choice is to use the harmonic oscillator basis (as we did in the Fluxonium class). This way you only need to increase the number of basis states to check for convergence.
The physics of adding just a small shunting inductor to a transmon circuit (this parameter regime is known as the Blochnium regime) makes its physics quite different from transmon. Some relevant papers about such parameter regime (and hopefully can help explain why the requirements on basis for convergence is more demanding):
https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.103.217004
https://www.nature.com/articles/s41586-020-2687-9

thanks a lot!


Add HTTP/2 related actions to composer

Description:
HTTP/2 support for HTTP connector will be added through
https://github.com/ballerina-lang/ballerina/pull/5188
Need to add composer support for newly added actions.
Please refer to following document to find out new actions.
https://docs.google.com/document/d/1mxoVFWR2_Ma67DpsekZU0T7rdkMdEJfnT_bnA75hU0g/edit#

As actions list is populated dynamically it should work out of box. Hence i am closing this issue.


Make explicitly clear the precedence of RABBITMQ_LOGS

We recently received a question on how to configure logging to a file in the Cluster Operator:
https://github.com/rabbitmq/cluster-operator/issues/771
The conclusion was that the Docker image sets RABBITMQ_LOGS environment variable, therefore any configurations like log.file were simply ignored. To me, it was not clear that the environment variable is not additive. A user could think that setting RABBITMQ_LOGS to - and log.file to a path would log to both, standard output and a file. This is not true and we can be explicitly clear about it in the docs.

Thank you!


[BEAM-12856] Change hard-coded limits for reading from a UnboundedReader to be configurable by options.

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@emilymye - Could you please review this PR?

Could this be merged?


Run proof-of-concept on compiled build of userbase-js

Currently proof-of-concept is compiling the source code of userbase-js
during the webpacking of the client.
This is happening because the userbase-js dependency is linked (either
by npm-link or using "file:" in package.json) to the local filesystem,
causing exclude: '/node_modules/' rule to not apply (since the path
resolves to the one on the local file system).
This was leading to subtle problems where modifications to how
userbase-js was compiled (in it's own package) were breaking
proof-of-concept, again because proof-of-concept was transpiling the
userbase-js source code itself using it's webpack configuration (rather than using the already compiled build of userbase-js, it only worked because the babel configs were identical).
This PR uses changes the proof-of-concept webpack configuration to
properly exclude the userbase-js package when linked to the local file
system. This means that the dependencies need to point to compiled
versions of userbase-js.
In order to do that I linking, I'm also proposing using npm-link:
npm link ../../npm_build/userbase-js
npm link ../../npm_build/userbase-server

Rather than linking using relative paths:
  "userbase-js": "file:../../npm_build/userbase-js",
  "userbase-server": "file:../../npm_build/userbase-server"

This makes makes it so that package stands on its own and the option to
use a local build is up to the developer.
A couple things to consider now that proof-of-concept no longer compiles
the userbase-js source:

npm start will no longer work unless userbase-js is built
changes to userbase-js will need to be rebuilt to picked up

These considers can both be cleaned up by (optionally) watching both
userbase-js projects as part of start.

Closing as this has been patched into #38 for convenience.


Support VIDEO-RANGE attribute

Hi Anton,
After packaging my media with the Shaka Packager and trying to parse the resulting m3u8 with this parser, it throws the exception
io.lindstrom.m3u8.parser.PlaylistParserException: Unknown key VIDEO-RANGE
VIDEO-RANGE is an attribute in a draft of RFC 8216 and has the values "PQ" or "SDR":
https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-06
Is it possible to add this attribute? I'll create a pull request for it as well.

Hi Simon,
Never heard of VIDEO-RANGE before, but I did understand some of the words in RFC describing it. :)
It looks like the attribute also can be used for EXT-X-I-FRAME-STREAM-INF. Do you want to add that, or is shaka packager not using that?
Thanks,
Anton

Hi Anton,
Yeah it's very confusing - the linked reference to the ISO standard does not help either, as you'd need to buy the standards document to even access the relevant section (TransferCharacteristics). As I understood it, it tells the player that the variant is a variant displayable by any screen (SDR) or it defines some colors that are not understood (any color range commonly referred to as HDR) and marks this with VIDEO-RANGE=PQ.
Thanks for the quick response!
Kind Regards,
Simon

Merged and released! Version 0.10 should be out on maven.org in an hour or so.
Thanks,
Anton


fixed using $caller::VariableName -

now using namespace in $caller then namespace "caller"

There appears to be some errors with that change. See the logs from the Travis-CI builds.

sorry :-( should be fixed now

Coverage increased (+0.003%) to 96.085% when pulling f5eeaf84d2dfd3e68c42489de34c8aec8529cb06 on ufobat:caller into 1ed1063759991bc4c50a976430027832e8b73a5a on njlg:master.

This looks good. I only have a minor quip: I prefer single quotes unless interpolation is required.

Good work!


add missing IO declarations for Windows

SetEndOfFile (Windows API)
open/sopen/fdopen/close (CLIB stdio)
fileno DMC
add missing underscore aliases for DMC

Auto-merge toggled on


Port missing examples from Array#uniq to Array#uniq!

The third commit should also use mocks of course :wink:

https://github.com/ruby/rubyspec/pull/99


Godot doesn't capture the physical 'back' and 'forward' buttons of my mouse

Tested versions
4.2.1
System information
Godot v4.2.1.stable - macOS 14.2.0, using a Logitech MX Master 3S mouse with the Steermouse system settings plugin instead of Logitech's own garbage configuration software
Issue description
The editor doesn't capture the physical 'back' and 'forward' buttons of my mouse, meaning I can't conveniently go back and forth in the script editor. And before we go blaming the Steermouse system settings plugin: the back and forward buttons work in all other applications where it makes sense (eg. browser, mail, text editors, other IDE's, etc) so Godot is specifically not tracking these buttons.
I have interface/editor/mouse_extra_buttons_navigate_history enabled.
Perhaps this has something to do with the fact that I'm on macOS and the input enums for the back and forward button have a comment saying those buttons are windows only, meaning that it never worked on macOS in the first place: https://github.com/godotengine/godot/blob/9d1cbab1c432b6f1d66ec939445bec68b6af519e/core/input/input_enums.h#L120
Steps to reproduce
Get yourself a mouse with back and forward buttons! Then put this in a script in an empty project in Godot:
func _input(event):
	print(event)

and then run from the editor on Mac. Press the back and forward buttons on the mouse: notice that nothing related to the back and forward buttons is in the output.
Minimal reproduction project (MRP)
N/A

Perhaps this has something to do with the fact that I'm on macOS and the input enums for the back and forward button have a comment saying those buttons are windows only

This isn't what the comment means, it means we can't name the enum XBUTTON1 🙂

Heh, ok, well, regardless: the buttons don't work for me and I have no idea why!

Seems like back/forward mouse buttons on macOS (at least Logitech MX Master 3S) are sending swipe gesture events, not mouse button events.


Editor doesn't scroll when cursor jumped to the end of long line while shift key is held

Type: Bug

have a very long line that requires horizontal scroll
place cursor on the line below, at column 0
Hold Shift key and press Arrow Left key
The cursor jumps to the end of the long line above, but editor doesn't scroll to it.

Almost same effect can be seen when cursor is placed at the beginning of the long line and pressed Shift + End keys. If cursor initially placed at column 5 or higher, it scrolls a few pixels depending on the start column position.
Extension version: 0.0.11
VS Code version: Code 1.70.2 (e4503b30fc78200f846c62cf8091b76ff5547662, 2022-08-16T05:35:13.448Z)
OS version: Windows_NT x64 10.0.19044
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (20.16GB free)

Process Argv
--verbose

Screen Reader
no

VM
50%

vscode has this now which can be used instead:
"editor.stickyTabStops": true,

"If you prefer to indent your code with spaces, there is a new setting called editor.stickyTabStops, which makes VS Code treat cursor movements in leading spaces similar to tabs." https://github.com/microsoft/vscode-docs/blob/7bdaf30689a2352238048150da7087cc6857ca72/release-notes/v1_52.md#sticky-tab-stops-when-indenting-with-spaces…

Basically, this setting makes this extension obsolete.


okay I dont know why the emulator is not working does anybody know how to solve it?

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

Operating System:
Python version:
Software versions:

Briefcase:
Toga:
...

Additional context
Add any other context about the problem here.

I'm going to close this - the original report doesn't provide any details about the problem you're having, errors you're seeing, the platform you're using, or anything else that would help us diagnose the issue.


[weaveproxy] [died] on ubuntu Ubuntu 16.04.1 LTS

I've started weave by weave launch --ipalloc-range <IP_ADDRESS>/24 on ubuntu cloud inside Azure with docker
Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   23cf638
 Built:        Tue, 27 Sep 2016 12:25:38 +1300
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.2
 Git commit:   23cf638
 Built:        Tue, 27 Sep 2016 12:25:38 +1300
 OS/Arch:      linux/amd64

and I got the following error: The weaveproxy container has died. Consult the container logs for further details.
and with this log for weaveproxy
INFO: 2016/11/01 18:29:11.846889 weave proxy 1.7.2
INFO: 2016/11/01 18:29:11.846967 Command line arguments: -H unix:///var/run/weave/weave.sock
INFO: 2016/11/01 18:29:11.848674 Docker API on unix:///var/run/docker.sock: &[GitCommit=23cf638 GoVersion=go1.6.2 Os=linux Arch=amd64 KernelVersion=4.4.0-45-generic BuildTime=Tue, 27 Sep 2016 12:25:38 +1300 Version=1.12.1 ApiVersion=1.24]
FATA: 2016/11/01 18:29:11.848858 Could not start proxy: Could not obtain address of docker0

Thanks for the report. Could you include an output of ip addr show docker0?

yes, of course,
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:e5:7c:7c:80 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 scope global docker0
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/16 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:e5ff:fe7c:7c80/64 scope link
       valid_lft forever preferred_lft forever

Interesting. Do you know how the docker0 bridge got two IP addresses? Did you create any docker network? Also, could you include systemctl show docker.service?

Nope, I did not create any docker network, you can find below the list of the active networks

docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
caf0ae224b7e        bridge              bridge              local
5b74e31500b1        host                host                local
94e17d42d6ec        none                null                local

and the details for the network caf0ae224b7e
docker network inspect caf0ae224b7e
[
    {
        "Name": "bridge",
        "Id": "caf0ae224b7ec6b5678e9f1ceaabd42b9e997db6ef0678ec16fac5af172e8d04",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/24",
                    "Gateway": "<IP_ADDRESS>"
                }
            ]
        },
        "Internal": false,
        "Containers": {},
        "Options": {
            "com.docker.network.bridge.default_bridge": "true",
            "com.docker.network.bridge.enable_icc": "true",
            "com.docker.network.bridge.enable_ip_masquerade": "true",
            "com.docker.network.bridge.host_binding_ipv4": "<IP_ADDRESS>",
            "com.docker.network.bridge.name": "docker0",
            "com.docker.network.driver.mtu": "1500"
        },
        "Labels": {}
    }
]

Below you can find the output of systemctl show docker.service

Type=notify
Restart=no
NotifyAccess=main
RestartUSec=100ms
TimeoutStartUSec=infinity
TimeoutStopUSec=1min 30s
RuntimeMaxUSec=infinity
WatchdogUSec=0
WatchdogTimestamp=Sun 2016-10-23 13:58:33 UTC
WatchdogTimestampMonotonic=83805061
FailureAction=none
PermissionsStartOnly=no
RootDirectoryStartOnly=no
RemainAfterExit=no
GuessMainPID=yes
MainPID=2508
ControlPID=0
FileDescriptorStoreMax=0
NFileDescriptorStore=0
StatusErrno=0
Result=success
ExecMainStartTimestamp=Sun 2016-10-23 13:58:25 UTC
ExecMainStartTimestampMonotonic=75492069
ExecMainExitTimestampMonotonic=0
ExecMainPID=2508
ExecMainCode=0
ExecMainStatus=0
ExecStart={ path=/usr/bin/dockerd ; argv[]=/usr/bin/dockerd -H fd:// $DOCKER_OPTS ; ignore_errors=no ;
ExecReload={ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ;
Slice=system.slice
ControlGroup=/system.slice/docker.service
MemoryCurrent=2966454272
CPUUsageNSec=799999150859
TasksCurrent=35
Delegate=yes
CPUAccounting=no
CPUShares=18446744073709551615
StartupCPUShares=18446744073709551615
CPUQuotaPerSecUSec=infinity
BlockIOAccounting=no
BlockIOWeight=18446744073709551615
StartupBlockIOWeight=18446744073709551615
MemoryAccounting=no

A few more things:

Could you run systemctl status docker.service?
Have you tried to launch weave from a clean state (weave reset && systemctl restart docker)?
Does <IP_ADDRESS>/16 belong to any Azure network?

docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2016-11-02 12:30:04 UTC; 5min ago
     Docs: https://docs.docker.com
 Main PID: 61548 (dockerd)
    Tasks: 35
   Memory: 42.0M
      CPU: 1.360s
   CGroup: /system.slice/docker.service
           ├─61548 /usr/bin/dockerd -H fd://
           ├─61555 containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim containerd-shim --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --runtime runc
           └─63053 containerd-shim 7854f1c9d0e1fe0fc5d6e2794ef91f3928b01a75f2a5aa6a5c40fb884caacf32 /var/run/docker/libcontainerd/7854f1c9d0e1fe0fc5d6e2794ef91f3928b01a75f2a5aa6a5c40fb884caacf32 runc

Nov 02 12:35:00 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:00.302821832Z" level=error msg="Handler for GET /v1.18/containers/weavedb/json returned error: No such container: weavedb"
Nov 02 12:35:00 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:00.303399132Z" level=error msg="Handler for GET /v1.18/images/weavedb/json returned error: No such image: weavedb"
Nov 02 12:35:00 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:00.314887616Z" level=error msg="Handler for GET /v1.18/containers/weaveplugin/json returned error: No such container: weaveplugin"
Nov 02 12:35:00 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:00.315330916Z" level=error msg="Handler for GET /v1.18/images/weaveplugin/json returned error: No such image: weaveplugin"
Nov 02 12:35:01 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:01.305712593Z" level=error msg="Handler for GET /v1.18/containers/weavevolumes-1.7.2/json returned error: No such container: weavevolumes-1.7.2"
Nov 02 12:35:01 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:01.306856592Z" level=error msg="Handler for GET /v1.18/images/weavevolumes-1.7.2/json returned error: No such image: weavevolumes-1.7.2"
Nov 02 12:35:01 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:01.330973860Z" level=error msg="Handler for GET /v1.18/containers/weaveplugin/json returned error: No such container: weaveplugin"
Nov 02 12:35:01 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:01.341816345Z" level=error msg="Handler for GET /v1.18/images/weaveplugin/json returned error: No such image: weaveplugin"
Nov 02 12:35:02 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:02.226724764Z" level=error msg="Error setting up exec command in container weaveproxy: Container b5aa0ecf2036866e1a058954ed8c120fbee838ac60bdd516d732134f21e9b934 is restartin
Nov 02 12:35:02 citytoday-2 dockerd[61548]: time="2016-11-02T12:35:02.226760964Z" level=error msg="Handler for POST /v1.18/containers/weaveproxy/exec returned error: Container b5aa0ecf2036866e1a058954ed8c120fbee838ac60bdd516d732134f21e9b934
lines 1-23/23 (END)

I tried to run the commands but I got the same error.
yes it is, and this is because I run weave with weave launch --ipalloc-range <IP_ADDRESS>/12.

Thanks.

Do you have any idea why / how <IP_ADDRESS>/16 got assigned to docker0?
Does <IP_ADDRESS>/16 belong to a Azure virtual network?

Yes that's true, I really don't know why it has the <IP_ADDRESS>/16, but I removed it and now weave works :). It is possible is something related to rancher? I'm also trying rancher. I'll do some investigation and report here. Anyway now it works.

I have the same issue but in my setup the secondary IP address on docker0 bridge is intentional. I want to make weave dns and dns resolver service on the host accessible to all my containers.
It would be really great if you could add an (optional) parameter to weave proxy to specify the docker bridge ip in case there are more than one. Alternatively you could filter out secondary IP addresses and default to the primary ip address for weave DNS. weave router works without problems in my setup and binds weave DNS listener to the primary bridge IP address.


Resolved issued #57

Title: Update User Model to Use Enum for Role Field
Description: This pull request updates the User model to define the role field as an enum. This change ensures that the role can only take specific values, thereby preventing inconsistencies and errors caused by different spellings or variations.
Changes Made:
Updated the role field in the UserSchema to use the enum property, allowing only the values ['user', 'admin', 'moderator'].
This enhancement improves data integrity and simplifies filtering users by role in queries.
Benefits:
Ensures consistency in role assignment.
Reduces potential errors when querying users based on their roles.
Please review and merge if everything looks good!

Sorry, but someone has already been assigned to this issue. Feel free to explore other open issues or suggest new ones!


Fix for Broken Service Commands

This patch fixes the issue where the service commands did not work on distributions that use SystemD. Additionally, this patch fixes a problem where the service was no longer forked successfully due to an improperly formed log file path.

Current coverage is 8.18% (diff: 16.12%)

Merging #668 into master will decrease coverage by <.01%

@@            master      #668   diff @@
========================================
  Files           19        19
  Lines         2306      2308     +2
  Methods          0         0
  Messages         0         0
  Branches         0         0
========================================
  Hits           189       189
- Misses        2102      2104     +2
  Partials        15        15

Powered by Codecov. Last update a51b0a1...cfdedf5