Handle communication between 2 language servers -> language client registry

When a language server requires some Java features (ex: track change of classpath for Spring Tools LS, collect properties computed by scanning some Java annotations from a project for Quarkus LS), it uses JDT LS the Java Language server:

it registers custom command on JDT LS server by using Eclipse extension point
the external language server call this custom command.

This issue is about calling this custom command. Here a simple schema which show you how Quarkus LS communicates with JDT LS:

The basic idea is that Quarkus LS request the Quarkus vscode language client and this client call a vscode java workspace command (coming from the vscode-java language client) which call the JDT LS. See https://github.com/redhat-developer/vscode-quarkus/blob/master/src/extension.ts#L49
In other words the 2 language client instances are used to delegate communication between the 2 language servers.
This mechanism is working but it requires some extra glue and it is not very clean. I would like to improve this mechanism to use custom LSP services instead of executing workspace command.
To do that I need that the 2 language client instances can be available in a language client registry to override languageClient#onRequest  (from vscode-quarkus) and delegate the request to the other languageClient#sendRequest (vscode-java).
I create this issue here, because it is related to the vscode language client. In other words it should be very fantastic if vscode-languageclient could provide this languageclient registry kind to register a languageclient instance with an id and get a language client instance from an id.
Many thank's for your help. @martinlippert I think you could be interested with this idea.

@angelozerr thanks for adding me to this, I am indeed very interested in a better solution for this scenario. The Spring Boot language server that we work on has to exchange information with the JDT LS and we do this in the same way, but it would be indeed fantastic if there would be a better and easier mechanism to do that.
Maybe there could even be an option/way in the language server protocol itself to send commands/requests to other language servers and let the client implementation of the LSP take care of that automatically. That would make the whole mechanism more explicit within the protocol.

@martinlippert many thanks for your answer.

Maybe there could even be an option/way in the language server protocol itself to send commands/requests to other language servers and let the client implementation of the LSP take care of that automatically.

Indeed it should be the ideal solution, but is it possible? @dbaeumer  what do you think about this idea?
Perhaps in the first step we could manage communication between 2 servers with language client instances (like today) and implement language client registry?

Maybe there could even be an option/way in the language server protocol itself to send commands/requests to other language servers and let the client implementation of the LSP take care of that automatically. That would make the whole mechanism more explicit within the protocol.

I am not a fan of this since it assumes that language features are implemented using language servers. This is IMO not necessarily the case.
So IMO this always have to go through the extension code that manages the language server, either using commands or better defined API.
To better understand what you needs can you provide a concrete example?

To better understand what you needs can you provide a concrete example?

Let me try to explain the Quarkus LS. In Quarkus we have an application.properties file where you can configure some properties:
quarkus.datasource.url=vertx-reactive:postgresql://localhost:5432/quarkus_test
quarkus.datasource.username=quarkus_test
quarkus.datasource.password=quarkus_test
myapp.schema.create=true

Each property are declared in a Java class field. For instance myapp.schema.create comes from this Java class field annotated with @ConfigProperty annotation:
public class FruitResource {

    @ConfigProperty(name = "myapp.schema.create", defaultValue = "true")
    boolean schemaCreate;

}

The Quarkus LS provide a support to manage completion, validation, hover, definition for those properties in application.properties. See the following demo:

In technical point of view, we have a Quarkus LS written in Java and a vscode-quarkus extension which consumes this language server. This vscode-quarkus extension embed the Java JDT LS Eclipse plugin com.redhat.quarkus.jdt.core.jar which provides a delegate command handler (registered with quarkus.java.projectInfo id) which scans all JAR and Java sources files from a given project to collect all Quarkus properties (that you can see in completion for instance). See https://github.com/redhat-developer/vscode-quarkus/blob/master/package.json#L44
"contributes": {
    "javaExtensions": [
      "./jars/com.redhat.quarkus.jdt.core.jar"
    ]
}

This com.redhat.quarkus.jdt.core.jar JAR is loaded by JDT LS Java language server to register a new workspace command in the server.
Here a schema which shows how the 2 language (JDT Java LS <-> Quarkus LS) server communicates:

When completion is triggered in application.properties, the vscode-quarkus language client call the Quarkus LS LSP completion service. This service call the quarkus/projectInfo request of the vscode-quarkus language client and executes the proper java workspace command quarkus.java.projectInfo:
languageClient.onRequest('quarkus/projectInfo', async (params: QuarkusProjectInfoParams) =>
       <any> await commands.executeCommand("java.execute.workspaceCommand", 'quarkus.java.projectInfo', params)
    );

See https://github.com/redhat-developer/vscode-quarkus/blob/master/src/extension.ts#L49
The java.execute.workspaceCommandis a vscode (client) command coming from vscode-java which call the JDT LS language server with the proper command . In Quarkus LS context, it call the command registered with id quarkus.java.projectInfo, scan all JAR, Java sources files and returns an array of Quarkus properties.
As you can see, the quarkus language client communicates with the java language client with workspace command.
I would like to avoid doing that and manage communication with LSP standard services. In other word, the com.redhat.quarkus.jdt.core.jar Eclipse plugin should register dynamicly a custom standard LSP service (named with quarkus./projectInfo request) in the JDT Java Language Server and when Quarkus LS call the quarkus./projectInfo request, the vscode-quarkus language client which receives this request delegate this request to the vscode-java language client which call the JDT LS Java Language server.
In other words, the quarkus./projectInfo request must be bound between the 2 language client vscode-quarkus and vscode-java.
We are experimenting this idea and it starts working well. I will give you more information once we will clean more our code. But it's not generic (the bindRequest method is linked to vscode-java), but I think it should be very good if vscode-languageclient could provide this bindRequest feature.

The examples in the Spring Boot language servers are:

the spring boot language server needs project and classpath information for the java projects in the workspace
the spring boot language server needs detailed information about certain java types

Since the Spring Boot language server is not strictly speaking a "language" server, but more an framework-specific extension to existing languages (Java, XML, property files, in our case), we try to not duplicate the base language tooling in our language server, but rely on other language servers (or language support extensions) to do the work for us.
At the very beginning, we had our own Java project understanding included in our language server, which resulted in, for example, that both language servers (the Java one and ours) were doing the same work twice (identifying the projects, using Maven or Gradle to resolve dependencies, etc). This involves the inherent danger to have subtle differences in the way we handle those projects, compared to the Java language server. Therefore we decided to depend on the existing Java tooling to do this work once (and to be the only source of truth) and send us the information (via commands, as described above).
The downside of this is that our language server directly depends on the Java . We even have to contribute an extension to the Java language server.
(I think it would be much better to handle all this at a higher level, so that our language server would not need to know anything about the Java language server, but that sounds like a totally different game. However, would be interesting to investigate for sure.)

@martinlippert thank a lot for your feedback.
We have created a little POC with jdt.ls, vscode-java and quarkus ls, vscode-quarkus whith which simplifies the communication between the 2 language servers. On client side (it's the side which is interested by this issue, we bind request between 2 language client (from vscode-quarkus to vscode-java, see poc at https://github.com/xorye/vscode-java/tree/registry).
You can see more informations and link to the POC at https://docs.google.com/document/d/1HHC39OVcenfF7bxhhaQO8rgMgyX_YVBzx-arUKpDnCE

I want to point out that the 'trick' of using commands as a communication tool to send data between language servers is actually a bit of hack and technically isn't even guaranteed to work within the LSP protocol as it is currently written. It works in vscode but maybe this more of a 'accident' than actually by design. I recall some heated discussions with Atom folks about their interpretation of the spec in this regard and how their interpretation essentially keeps command registered to a language server specifically limited to be called by that same language server. This makes it so its impossible to use these commands to send information between two different servers.
See (amongst others):
https://github.com/atom/atom-languageclient/issues/183#issuecomment-375130882
I also raised a ticket in lsp protocol about this and we (@dbaeumer  and me) had a long exchange of ideas already but I don't think its really resolved. See:
https://github.com/microsoft/language-server-protocol/issues/432
Ultimately that issue was really about the same underlying need: Sometimes you will want a language server to be able to exchange information with another instead of re-implementing all the functionality that is needed to compute that information on its own.

I want to point out that the 'trick' of using commands as a communication tool to send data between language servers is actually a bit of hack

I agree with you, have you read our proposition https://docs.google.com/document/d/1HHC39OVcenfF7bxhhaQO8rgMgyX_YVBzx-arUKpDnCE  ?
The basic idea is that you can register with an Eclipse plugin a custom LSP service (by using LSP4J annotation @JSonRequest) to the JDT LS Java language server and the external language client  (ex: vscode-quarkus) delegates the request to vscode-java. The request is a standard LSP request. It's just a delegation. Do you like the idea? @kdvolder please give us your feedback, thanks!

@angelozerr I did take a peek at it but I don't understand much of what it is proposing. So take mu opinion with a grain of salt. It looks to me like a rather complex solution that is very much specific to lsp4j/lsp4e and requires custom handling in every client implementation and server. So not sure this is really better than using the 'exploit command as inter-server messages'. At least the 'hack' requires no new protocol and only requires reading slightly more into the spec than it really says.
The idea of a mechanism for defining 'services' sounds nice though... if it could be fitted into lsp protocol as a proper and standardized extension of the protocol.

Perhaps what we need is a kind of 'message bus'. Some way for a server to declare (as a server capability) that it accepts messages of a given custom type. And also some protocol that allows (other) servers to send these messages with the understanding that the server who declares it handles the message type will receive them when another server sends them. Effectively that is the kind of thing that we are simulating with commands today.

@angelozerr I did take a peek at it but I don't understand much of what it is proposing.

That's shame, we should improve our documentation,but it is linked to JDT LS. The main idea of the proposition is:

extends JDT Java language server with standard LSP services (by using Eclipse plugin), it's out of the scope of this issue.
binding request between 2 language clients. It's this feature that I would like to promote in this issue.

Forget the extension feature and takes an another example with standard LSP request like textDocument/documentSymbols. Imagine you have a language server X which manages *.x file. The MyClass.x is bound to  MyClass.java file and contains fields declared in the class.
For instance:

MyClass.java looks like this:

public class MyClass {

   private String name;
   private int age;
}

MyClass.x looks like this:

name=xxxx
age=10

Now you want to manage completion for name, age fields coming from MyClass.java. You don't want develop a JDT LS extension with delegate command handler or with standard LSP4J annotations (like explained in our proposition)
The textDocument/completion from the language server X, could call the standard LSP textDocument/documentSymbol from the Java JDT language server and extract fields kind from the document symbols and manage their own completion by using those collected fields. And imagine the language server X is written in TypeScript.
connection.onCompletion((textDocumentPosition, token) => {
	return runSafe(() => {
		const document = documents.get(textDocumentPosition.textDocument.uri);
		if (!document) {
			return null;
		}
                // replace .x with .java extension
                const javaUri = textDocumentPosition.textDocument.uri.replace('.x', '.java');
                // request the X language client with   java/textDocument/documentSymbols
                const params = {'textDocument': {'uri': textDocument.uri.r
                const symbols = connection.sendRequest('java/textDocument/documentSymbols', params);
               // Loop for Java symbols and return the proper comletion based on those Java symbol fields kind.
               return ...

The call of
const symbols = connection.sendRequest('java/textDocument/documentSymbols', params);`

send a request to the language client X. This language client X must delegate the request to the JDT LS language server like this:
xLanguageClient.onRequest('java/textDocument/documentSymbols', async (params: any) =>
       // delegate the request by sending the standard LSP request 'textDocument/documentSymbols' to the java language client (vscode-java language client)
       return javaLanguageClient.sendRequest('textDocument/documentSymbols', params);
    );

It's the idea of the binding request between 2 language clients instances.  As vscode-java doesn't expose their language client instance javaLanguageClient, a language client registry is a good candidate to write only
registry.bindRequest('x', 'java/textDocument/documentSymbols', 'java', 'textDocument/documentSymbols');

where :

'x' is the id of the from language client
'java/textDocument/documentSymbols' is request id of the from language client
'java' is the id of the to language client
'textDocument/documentSymbols' is request id of the to language client

In other words, with request binding features you can bind any request (standard or custom (with extension capability)) between 2 language clients instances. The communication between 2 language servers uses their language client to communicate each other by using request binding feature provided by the language client registry.

So take mu opinion with a grain of salt. It looks to me like a rather complex solution that is very much specific to lsp4j/lsp4e and requires custom handling in every client implementation and server.

What is complex?
I try to show in the document that the language server delegates a custom LSP request to the client.

If the client have the capability to do it (ex: in Eclipse IDE with LSP4E, the language client have the capability to manage Java parsing and scan of annotations, it can do it, so it manage it).

if the client have not the capability, it delegates the request to the proper language server bu using their own language client instance (in vscode context, the vscode-quarkus language client written in TypeScript cannot parse Java file, so it delegates this feature to the vscode-java). In this case it call a custom LSP services (an extension) which is registered with Eclipse plugin extension point mechanism (out of the scope of this issue).

So not sure this is really better than using the 'exploit command as inter-server messages'.

It uses standard LSP service and you can do that with other technologie than JDT LS (ex: yaml language server could expose some custom LSP services with an another extension mechanism).
At least the 'hack' requires no new protocol and only requires reading slightly more into the spec than it really says.

The idea of a mechanism for defining 'services' sounds nice though... if it could be fitted into lsp protocol as a proper and standardized extension of the protocol.

It's an another topic, provide a specification to extend a language server with custom LSP services. This issue is about language client side to manage bindings between request.

Perhaps what we need is a kind of 'message bus'. Some way for a server to declare (as a server capability) that it accepts messages of a given custom type. And also some protocol that allows (other) servers to send these messages with the understanding that the server who declares it handles the message type will receive them when another server sends them. Effectively that is the kind of thing that we are simulating with commands today.

The binding request feature should take care of that and you can manage communication between 2 language servers which are written in different technologies.

Okay I think I'm starting to understand a bit better what direction you are going with this. I think I could probably get behind something like this. But I also think it is quite a long way to go from that linked google doc to something that can be folded into LSP protocol with a 'model' implementation in vscode client.

In my opinion, this whole affair could quite easily be solved by promoting "registerCommand" down do LSP. One LS could register a command, the other could invoke it. Of course, there would have to be some rules on how to handle collisions, etc.

Command is indeed a generic mean, but as you can send any data, it's hard to know what you receive, send.
You could manage the whole LSP protocol (completion, hover, etc) with Command. But code would be ugly (no Pojo params).
We have a completion with clean Pojo params, result, why we could not have this same support for custom services? For me Command is like Java reflection API. Using Java reflection is generic but provides awful code.

@angelozerr because you're asking for a fundamental change of architecture (LS being recognized as a concept in VS Code) and a lot of machinery to be implemented to achieve compile-time type safety.  If type-safety were the only consideration, I might agree with the approach, but it is not.
Don't forget that every client (there are quite a lot: https://microsoft.github.io/language-server-protocol/implementors/tools/) will have to implement your proposal for language servers to work with those clients. I believe that implementing command registration has a much greater probability of adoption any time soon.
I am generally a fan of type-safety, but in this instance, I think it's quite simple for language servers to document the actions they implement and what the parameters should be. They could even offer descriptions (json schema, *.d.ts) that allows to check and convert parameters automatically and offer type-safety to languages where that applies.
But you don't have to convince me, you have to convince the good folks from MS, like @dbaeumer. Until we get some resolution from that side, I don't think we should invest in the approach.

In my opinion, this whole affair could quite easily be solved by promoting "registerCommand" down do LSP. One LS could register a command, the other could invoke it. Of course, there would have to be some rules on how to handle collisions, etc.

I tend to agree. Effectively it is how the vscode client works today. So perhaps we just need the spec to be a bit more specific about the fact that there is a shared command registry.
I've tried to have this kind of 'clarification' added to the spec (i.e. see the issue I also linked above already https://github.com/microsoft/language-server-protocol/issues/432). I understand there is some reluctance to add that kind specificity into the spec.

It even seems we have @dbaeumer on board: https://github.com/microsoft/language-server-protocol/issues/432#issuecomment-388722622 Any idea why that issue has not been addressed (apart from "other stuff to do")?

Any idea why that issue has not been addressed

Just guessing here, but I think that its not really so clear what the right solution.

The use of commands works today but is more of a hack not guaranteed by the spec. And doesn't feel like a nice solution. (I think that's why there is reluctance to enshrine it in the spec)
A better solution seems like something complex to design and build. For example Dirk's suggestion to make it part of the client. may not work unless all servers actually use the same client / version.

TBH. I kind of agree with you @tsmaeder that  updating the spec to guarantee that the 'commands hack' works for all conforming LSP clients... but only because its the least complex thing to realize. Not because it feels like a 'properly designed' solution. And because a 'properly designed soultion' seems so complex right now that it may not be realistic to expect an expedient resolution via that route.

Hi
Is there any update on this ?
or is there any hack other than using commands to do so ?


LCFS - User Activity table for IDIR users

Title:
Description:
Wireframe:
Screenshot: Private Zenhub Image
Purpose and benefit to user:
Acceptance Criteria:

[ ] Given I am a , When I am , then
[ ] Given I am a , When I am , then

Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

Leaving this feature until we have the necessary features developed in LCFS (e.g., transfers, compliance reporting, initiative agreement issuance, etc.).


How reach good accuracy in Linear Evaluation

In the notebook of pretrain, we must reach zero of contrastive Loss to have a good performance in Linear evaluation ?
Meaning that I must decrease loss to zero before passing to finetune ?

It's good to have the contrastive loss to as low as possible without getting into representation collapse, yes. This repository provides a minimal implementation in order for developers to understand what's happening under the hood with SimCLR. I think I made this point clear in the README too.
If you want to get good performance, I recommend using the official code of the method you are interested in. You can also try out the vissl library by FAIR that implements a wide range of different SSL methods.


uploaded complete unit 3.

refer this material for ct's and end sem.

Thanks for the contribution @RitanshBagal


help me

help me please anyone.in the morning the icon through which I enter keybase disappeared and I can’t enter it now, I rebooted the computer and reinstalled the file, it doesn’t appear. How do I enter keybase and what should I do?

@yury653 I am not pretty sure if this is the right place to ask about your problem. PLease try to ask on github forum and explain it more.

@yury653 I am not pretty sure if this is the right place to ask about your problem. PLease try to ask on github forum and explain it more.
nobody answers anywhere


In keyboard-creation.md, SMD component link does not liked properly

it gives 404 error

Resolved


Take User feedback after leave page

make a UI component to take user feedback after leave page. For now, this will only be printing the feedback to console. Design mockup for the component -

In above leave page is already there, the send feedback button is required in center bottom, which when clicked opens the below modal.

Hi @triptu  can you assign this to me ?

Thanks for the help @triptu


Error when using SlurmExecutor on RHEL8 compute nodes

Environment

Covalent version: 0.177.0
Covalent-Slurm plugin version: 0.7.0
Python version: 3.10
Operating system: PopOS 22.04 LTS

What is happening?
asyncssh seems to have trouble sending the command to create a directory on the compute node. I don't know exactly what's going on, but based on this article I'd conclude that some HPCs do not like a login shell due to a legacy command mesg n in /etc/profile.
How can we reproduce the issue?
import covalent as ct
import numpy as np

@ct.electron(executor='local')
def sum_(n):
    return np.sum(np.arange(n))

@ct.electron(executor='local')
def product_(n):
    return np.prod(np.arange(n)[1:])

def get_sum_product(n):
    return sum_(n) + product_(n)

if __name__ == '__main__':
    workflow = ct.lattice(get_sum_product, executor='slurm')
    dispatch_id = ct.dispatch(workflow)(10)

What should happen?
[2022-11-15 13:22:54,295] [ERROR] execution.py: Line 364 in _run_task: Exception occurred when running task 4: mesg: ttyname failed: Inappropriate ioctl for device
[2022-11-15 13:22:54,297] [ERROR] execution.py: Line 372 in _run_task: Run task exception
Traceback (most recent call last):
  File "/home/sandervandenhaute/envs/covalent_env/pyenv/lib/python3.10/site-packages/covalent_dispatcher/_core/execution.py", line 345, in _run_task
    output, stdout, stderr = await execute_callable()
  File "/home/sandervandenhaute/envs/covalent_env/pyenv/lib/python3.10/site-packages/covalent/executor/base.py", line 572, in execute
    result = await self.run(function, args, kwargs, task_metadata)
  File "/home/sandervandenhaute/envs/covalent_env/pyenv/lib/python3.10/site-packages/covalent_slurm_plugin/slurm.py", line 399, in run
    raise RuntimeError(client_err)
RuntimeError: mesg: ttyname failed: Inappropriate ioctl for device

Any suggestions?
Adding request_pty='force' to the conn.run() call seems to fix the issue, although the message is still displayed in the log. Replacing mesg n with tty -s && mesg n as suggested elsewhere is only possible with root access, which will not always be the case.

Hi @svandenhaute thanks so much for this feedback and suggestion.  We'll take a look into this and see if we can reproduce the issue.
CC: @AlejandroEsquivel


Brew upgraded to python 3.5.0 and it breaks this

Numpy install compile fails to find Python.h, and I think it is because it is looking for a 3.4 include path. I tricked brew into installing the last 3.4 bottle , then disabled the python install step of this script, and then numpy install worked as did everything that followed.
$ cd $( brew --prefix )
$ git checkout c4b18ab13259dded1e095f06e9e55d421045578e Library/Formula/python3.pb
$ brew install python3

I will work on making this go with 3.5.0

Should work in master


Support sqlite3_file_control()

Hi @mattn, thanks for the great library. I use it all the time.
I'm using go-sqlite3 in my Litestream project for SQLite replication and I've been doing a hack to persist the WAL file across restarts where I just don't call Close() on the database. Definitely hacky but it works. However, I recently learned there's sqlite3_file_control() opcode called SQLITE_FCNTL_PERSIST_WAL that does the same thing.
Is there an existing way to execute sqlite3_file_control() in go-sqlite3? I didn't see one but I thought I'd ask.
I'm happy to add the functionality. Are you open to accepting a patch for it?

Seems fine. But do be mindful that some users compile against their system installation of SQLite, meaning that not all constants/functions from the statically compiled header file are guaranteed to exist in all cases.

@rittneje I pushed up a pull request to add a FileControl() method to SQLiteConn and a corresponding test. I also tested it against Litestream in this persist-wal branch. Let me know if there's anything you'd like me to change with the PR. Thanks!

@rittneje @mattn Thanks so much for all the reviews! 🙏


A small update that allows text to be pasted manually into the textbo…

…x and fixes the error that happend when pasting manually.
If the manual pasting is prevented intentionally then e.preventDefault(); needs to be reverted.
navigator.clipboard.getText() doesn't work nontheless

@developit Tagging you since you worked on the project.

LGTM!


Rework backend_test_util:standard_test/2

At some call points, this function was expected to run a test. At others
it was expected to generate a test.
Now there are two functions: standard_test_gen/2 and standard_test_fun/2.
All call points, even ones that do not actually run today, have been
updated appropriately.

/cc @russelldb

+1
Looks good to me. Many thanks

:+1: 515fe02

(translating Russell's +1 into Bors-speak)

@borshop merge


Validation of equality between MachineDrainTimeout and maxGracefulTerminationSeconds flags

How to categorize this issue?

/area auto-scaling
/kind enhancement
What would you like to be added:
A quantitative equality check where the MCM MachineDrainTimeout flag is always greater than or equal to maxGracefulTerminationSeconds  flag of CA.
Why is this needed:
There are two flags that could be set in the Shoot yaml. One is MCM MachineDrainTimeout(Time after which the pods will be force evicted) and another is CA maxGracefulTerminationSeconds(Maximum number of seconds CA waits for pod termination when trying to scale down a node.)
These two eviction processes are independent of each other. In case where CA scales down the nodes and MachineDrainTimeout is less than the MaxGracefulTerminationSeconds then MCM will override the MaxGracefulTerminationSeconds and force drains the node which might not be what customers expect to happen (one customer even raised a concern about it recently)
So, it would be good to keep a validation such that MachineDrainTimeout is always greater than or equal to MaxGracefulTerminationSeconds.
cc: @himanshu-kun @ashwani2k

/close
CA drain is followed by MCM drain so they shouldn't interfere.


Consider using subscriptions alongside with reads

For continuous replication (online backup or testing the cloud on prod data), it would be better to use a catch-up subscription, which runs continuously, rather than end to the end of $all, then wait and start again.

For continuous replication (online backup or testing the cloud on prod data), it would be better to use a catch-up subscription, which runs continuously, rather than end to the end of $all, then wait and start again.

Does it still work like this - end to end, wait, repeat?


Fancy Zones Integration with Teams

Description of the new feature / enhancement
Allow Teams to screen share using a selected Fancy Zone from PowerToys, in the same way you could share a monitor or an application.
Scenario when this would be used?
Teams meetings using very large monitors are impossible when sharing the whole screen. You can certainly share an individual app to Teams but when teaching students online, you need to be able to rapidly context switch between applications in the same area of the monitor.  At the moment I'm using a third-party application (Screenshare Helper:  https://github.com/michiproep/ScreenshareHelper ) but it's very awkward at the best of times and is not a proper solution. Having Fancy Zones and Teams talk to each other and being able to context switch using  Win/PGUP Win/PGDN is ideal.
Supporting information
I've been using Screenshare Helper for over 6 months now in delivering computing subjects at TAFE in Australia and the novelty of the clunkiness has definitely worn off. Surely I'm not the only person that would want this feature added to PowerToys.

+100 on this feature request.
For the admin, it looks like this ask is very popular - see: #24125 and #2774.
Thank you 🙏

Hello,
any news on this topic?

/dup https://github.com/microsoft/PowerToys/issues/2774


All successful client sockets are not closed

As topic.
If you use this server as a web proxy, because websites nowadays make a lot of requests, it also creates a lot of sockets on socksv5 server. As all successful sockets are not closed, it will eats up all system resources and emits EMFILE error shortly. As a result, the server is no longer working anymore.
After some investigations, in server.js, I found out that after the dstSock (the socket between proxy server and destination server) is closed, it do not close the client socket together.
To fix this, just need to add close event and destroy the client socket.
server.js
function proxySocket(socket, req) {

    ....

    dstSock
            .on('error', onError)
            //////////// Missing Part ///////////
            .on('close', () => {
              socket.end()
              socket.destroy()
            })
           //////////// Missing Part End ////////////////////
           .on('connect', function() {
             connected = true;
             if (socket.writable) {

    ....

However, it seems that this project is abandoned. My recommendation is you should not use this library.

In theory piped sockets are closed automatically when the source stream emits 'end': https://nodejs.org/api/stream.html#readablepipedestination-options
Anyway, if node doesn't do what it says it does, better do it manually.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_db5c4042-4c9c-485c-bcc6-566a58e45b33/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_db5c4042-4c9c-485c-bcc6-566a58e45b33.git

Docs Build status updates of commit 06202ef:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-10-09-07-42-11 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-10-09-07-42-11

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.


🌱 Bump operator dependency to 0.9.1

What this PR does / why we need it:
This introduces recent fixes for provider upgrades.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

@furkatgofurov7 There is a separate PR for go mod bump - https://github.com/rancher/turtles/pull/441


How to make meshes

THIS is not a issue I do not know how you get the meshes in the .mesh format Blender cannot open that format and I've tried online converters and they don't work.

Hi! sorry for this late reply, have you joined the discord? https://discord.gg/9HS7cb6
I have released a tool that converts .obj files to .mesh files, if yo uwant to go the other way, there is no released tool yet, but you can simply export the mesh you wish to edit from stormworks anyway.
Hope this helps!


Services list in Subdomain Details page

Mockups

Specifications

The services list will contain the following columns:

Name
Last Run: Display the port name from which the service ran

The services tab title will include the total amout of services included in the list.
Every column of the list will contain arrows to sort the data ascending or descending
The list will have a paginator, if needed

@gorums Please, answer the following questions:

How is going to be populated this list?
Last Run column should display the date of the last run or the value of a port?

@gorums Please, answer the following questions:

How is going to be populated this list?
We get that data running the agents, is not a manually thing
Last Run column should display the date of the last run or the value of a port?
Is not Last Run, is Port. We only have two columns the Service Name and the Port

@gorums Please, check again and give me your feedback


remove unused new person page

Page was unused because of the new person-selector component.

PR looks good, only woodpecker npm error


How can I add translated version?

Well done, dear author, because I've done a lot of "toy-project" but learned a lot from them. They can't enhance my resume and can't earn money for me, but coding on them and share them in a open source license let me found a interesting time.
I totally agree with your point of view, so I want to translate it in my native language, let more people can share it. How can I do? fork this project and PR? But I noticed this project don't have i18n support.

Sure, that would be great. The page is mostly just text ... what about adding a zh directory (or whatever) and adding an index.html there with the translated version?
We can add links to the top of the main index.html to go to the translated pages, i.e. zh/index.html.
index.html
zh/index.html
de/index.html

Does that work?

Wow, thank you for your quickly reply!
I've tried to contribute to https://github.com/semver/semver.org, so I suggest we separate translated version in a specific folder, if future there are other translator was attracted by this, root dictionary won't have a mass.
like:
- index.html
- i18n/translation (folder)
    - zh.html
    - de.html

And I don't care whether language switch part was shown in header, or footer, or collpse menu, whatever, you can allow this be added is already very helpful.

Ok that works for me!

I'm going to close this for now. Let me know if you need further help!

I'm going to close this for now. Let me know if you need further help!

Sorry for late 😭
But I probably won't have the time to work on it before the new year, I'll create PR if things done


Why the selector,rewriter,end2end model that I pretrained cannot be found in exp_sample directory?

My teminal no error be found;
but the pretrained model cannot be found in the exp_sample directory;

I'm not sure what's the problem.
Could you provide your train script or the terminal output?

I have found the error. Can you  explain the dataset that is maked by the python file.  what's the extract_ids mean?

I'm not sure what's the problem.
Could you provide your train script or the terminal output?

I have found the error. Can you explain the dataset that is maked by the python file. what's the extract_ids mean?

extract_ids mean the sentence indices which are chosen to form the extractive summary.


Saving DA Message Commitment to Header

[ ] Define Commitment endpoint
[ ] Create node endpoint for getting Commitments
[ ] Implement Commitment method in open-rpc
[ ] Extend DA interface to support DA message Commitments

Duplicate: https://github.com/rollkit/rollkit/issues/1174


[Bug]. Import/Export Function is broken: Cannot read properties of undefined (reading 'getActivity')

Steps to reproduce:

Export config.
Import config
Click on "Restart" -> The following Message appears: Cannot read properties of undefined (reading 'getActivity')

It needs to be checked whether this is a bug in import or export.
Here's the config file:
alpimaps_settings_2023-12-17.json
OSS Document Scanner Version: 1.1.4 Build 9
System & Device Info:
OS version: 9
Bootloader: G950FXXUCDVI1, VM: ART
Kernel: 4.4.111-21427293
Brand: samsung, Model: SM-G950F
Board: universal8895, Manufacturer: samsung
SDK
Target: 28, Min: 17
Security
Root: false
Encryption: Encrypted (FDE)
Patch level: April 1, 2021

On export settings received this error

@Raj9039852537 thanks i fixed all those bugs. New release today

@Raj9039852537 thanks i fixed all those bugs. New release today

Not solved in latest version 10
showing same error as above

@Raj9039852537 OK thought it would be fixed. will look again. thanks

@Raj9039852537 OK thought it would be fixed. will look again. thanks

Also manual cropping does not work

@Raj9039852537 what do you mean ? changing the crop after with the recrop button ?

Yes
For example  if auto crop done on image which is not precise, I re crop it with recrop button, which selected correct area but clicking on ✔ button doesn't apply desired changes to the document .

@Raj9039852537 thanks must have broken something as it was working. will look

@Raj9039852537 thanks i fixed all those bugs. New release today

Not solved in latest version 10 showing same error as above File gets created by no content gets written

Actually you say the same error but you now the file exists but is empty. Do you still see the error dialog with FileNotFoundException ? I can t reproduce it here but it feels like it creates a folder instead of a file

I said same error because as you can see in screenshot just taken it provides same exception with just different file name which is actually changed in one commit by you.

Thanks Re crop bug is fixed in release  11

I said same error because as you can see in screenshot just taken it provides same exception with just different file name which is actually changed in one commit by you.
also in error file looked for is inside of a folder which is of same name which doesn't exist

Ok sorry for now i dont see what the issue is as i cant reproduce. Will try on multiple devices

I tried on my Android 14 device and also receive the error:

A 0 byte file gets saved:

@user8446 @Raj9039852537 i think i finally fixed it. Look at the latest version

Yes I checked and on my device the backup saves correctly with version <IP_ADDRESS>... nice work!

@user8446 @Raj9039852537 i think i finally fixed it. Look at the latest version

Export function works fine now. 👍
import function got this error.

I have the same error in import as well.
Sorry I should have checked that.

@Raj9039852537 @user8446 it is me who is sorry :) will fix it

@Raj9039852537 @user8446 should be fixed in latest.

Finally solved 👍

Yes export and import both work as expected!

Version 1.2.25 Build 35 produces empty output again.
With the following message: Write TextTask returns no result.

@NA0341 sorry about that. will fix it


Add additional info when updating user pool group order

When setting the preference of the cognito user groups.  Display a message that the preference is in reverse order meaning the entries on the top take preference. Wasn't entirely obvious and caused a lot of wasted time.

Hi @ktmdan - thanks for raising this issue. This is currently working as expected as the "top most preference" is on the "top". This is inline with many common UX. The intent is to order by preference i.e. primary preference, secondary preference, and and so on.


Implement oEmbed endpoint

https://ombed.com

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.

To support oEmbed, we are going to need to implement an API endpoint at /v1/oembed, which will accept parameters url and format. Fully implement the specification except for wildcards. Right now, we only have photos, so only implement the photo type. We want to support both JSON and XML formats (this should be as simple as switching Django renderers). Most importantly, we want to add a license_url field to the response, which will link to the CC License for an embedded image.
oEmbed requires a height and width field for images. In some cases, we don't know the dimensions of an image. In those cases, the oEmbed endpoint should load the image server-side and measure the dimensions before returning the fully populated response.
The endpoint must be cleanly represented in our generated documentation. There should be some unit tests demonstrating that the endpoint works as expected.
Example request:
GET https://api.creativecommons.engineering/v1/oembed/?format=json&url=https%3A//search.creativecommons.org/photos/f5af4a72-9ab2-4f5a-a0c5-090e7350c209
Response:
{
  "version": "1.0",
  "type": "photo",
  "width": 1024,
  "height": 768,
  "title": "kittens 022",
  "author_name": "bytehead",
  "author_url": "https://www.flickr.com/photos/66884677@N00",
  "license_url": "https://creativecommons.org/licenses/by-sa/2.0/"
}

We would also like to use the html field (normally not required for photo types) to embed additional rich attribution information as we do in the CC Search front end (optional for contributors; we can add this ourselves).

I did a project embedr (https://www.kl.nl/en/projects/embedr-image-embedding-done-right/ ) where we only used CC-licensed material, we used the html tag to add the proper attribution as part of the embed.

@aldenstpage Can I work on this?

Can I contribute to this issue?

Hi @nathzi1505 and @Tanuj22, as the README says, you should feel free to work on tasks that are marked with help wanted. You should both check out branches and work in the open on the issue. Consider collaborating together to prevent redundant work.


Feature/firmware 0.6.0

Add system firmware binaries for 0.6.0 and make update work for 3 part Electron firmware.

FYI: Node v5.1 is failing the build on appveyor


Improves the authentication flow

The main goal was to simplify the req method in
request.go and making it easier to add more authentication methods.
All the magic went into the auth.go file.
This feature introduces an Authorizer which acts as an
Authenticator factory. Under the hood it creates an authenticator
shim per request, which delegates the authentication flow
to our authenticators.
The authentication flow itself is broken down into Authorize' and Verify' steps to encapsulate and control complex authentication challenges.
Furthermore, the default NewAutoAuth authenticator can be overridden
by a custom implementation for more control over flow and resources.
The NewBacisAuth Authorizer gives us the feel of the old days.

Thanks @ueffel!
Any thoughts on the basic strategy of the game?
Is it clear or easier to gasp?

The Authorizer and Authenticator look easy enough to implement for a third party. Maybe @Gamer92000 can checkout if this new API simplifies #70.
Overall it looks good to me.

It may be interesting to try implementing Kerberos authentication without wrapping the http.Transport (which is need with github.com/dpotapov/go-spnego)
I think I will try that to check how it goes.

I think there should be a way to create an Authorizer without the Basic and Digest methods, so one can just add (AddAuthenticator) the Authenticators, that are wanted.
func NewEmptyAuth() Authorizer {
	fmap := make(map[string]AuthFactory)
	az := &authorizer{fmap, sync.Mutex{}, &nullAuth{}}
	return az
}

And maybe one Authorizer that does authenticates preemptively:
func NewPreemptiveAuth(auther Authenticator) Authorizer {
	fmap := make(map[string]AuthFactory)
	az := &authorizer{fmap, sync.Mutex{}, auther}
	return az
}

Minor inconvience newPathError and newPathErrorErr could be public, so they can be reused.

Sample kerberos authentication
package main

import (
	"net/http"
	"os"

	"github.com/dpotapov/go-spnego"
	"github.com/studio-b12/gowebdav"
)

type krb5Auth struct {
	sspi           spnego.Provider
	NoCanonicalize bool
}

func NewKrb5Auth() *krb5Auth {
	return &krb5Auth{sspi: spnego.New()}
}

func (k *krb5Auth) Authorize(c *http.Client, rq *http.Request, method string, path string) error {
	return k.sspi.SetSPNEGOHeader(rq, !k.NoCanonicalize)
}

func (k *krb5Auth) Verify(rq *http.Request, rs *http.Response, method string, path string) (bool, error) {
	if rs.StatusCode == http.StatusUnauthorized {
		return false, &os.PathError{
			Op:   "Authorize",
			Path: path,
			Err:  gowebdav.StatusError{Status: rs.StatusCode},
		}
	}
	return false, nil
}

func (k *krb5Auth) Clone() gowebdav.Authenticator {
	auther := NewKrb5Auth()
	auther.NoCanonicalize = k.NoCanonicalize
	return auther
}

func (k *krb5Auth) Close() error {
	return nil
}

var _ gowebdav.Authenticator = (*krb5Auth)(nil)

Usage like this
authorizer := gowebdav.NewEmptyAuth()
authorizer.AddAuthenticator("negotiate", func(rq *http.Request, rs *http.Response, method, path string) (auth gowebdav.Authenticator, err error) {
	return NewKrb5Auth(), nil
})

or
authorizer := gowebdav.NewPreemptiveAuth(NewKrb5Auth())

awesome!
for kerberos only auth it could shipped with a authorizer like the BasicAuth does.
func NewBasicAuth(login, secret string) Authorizer {
    return &basicAuthAuthorizer{&BasicAuth{login, secret}}
}

es.

Yeah, but this requires far more code :innocent:.
Also I thought about what would happen, if a server offers multiple ways to authenticate (multiple Www-Authenticate headers) and the first one (what rs.Header.Get() returns) is not the one that should be taken by the client.
I think right now this would work.

Yeah, but this requires far more code innocent.

I LIKE U

Also I thought about what would happen, if a server offers multiple ways to authenticate (multiple Www-Authenticate headers) ....
we ship this since 2014, so it works(tm)
but it's a good thought. we need to sort the Authenticators and pull out all headers.
PR welcome.

Minor inconvience newPathError and newPathErrorErr could be public, so they can be reused.

we will take care about that too.

@chripo
Have a look at the "next-plus" branch
I tried myself at supporting multiple Www-Authenticate header but i'm not happy with the solution. Too many new struct members for the authorizer. Maybe you have an idea to make it better?

@ueffel
indeed that a lot of changes.
take a look at 9da199c this should be enough to favor the order if the server supports multiple authentication methods.

take a look at 9da199c this should be enough to favor the order if the server supports multiple authentication methods.

but this still only looks at the first authentication header header := strings.ToLower(rs.Header.Get("Www-Authenticate")) instead of all of them headers := rs.Header.Values("Www-Authenticate")

In fact, I was looking up in the wrong docs, somehow...
This needs some more work, I've got an idea.

Well, I'm done so far.
@ueffel What do you think about the last changes?
What needs to be done to get merged:

[ ] add some auth flow / API documentation and examples of how to enroll a custom authentication (Readme)
[ ] clarify how to deal with 3rd party authentication that pulls in dependencies
[ ] more reviews
[ ] #70 may show up with more changes, hopefully not

thank you again @uffel! Absolut Fett!
your tests made it awesome.
I'll pull them off at the final squash / end, that you could apply them by our own to preserve ownership!!

@zekroTJA Do you have time for a feature review?

@zekroTJA Do you have time for a feature review?
Yeah, I would take a look into it in the next couple of days if that fits. I am not that deep into the WebDav protocol itself but I'll take a look into it. :)

Hey, sorry to bother you. Could you get this resolved and merged? This is needed for #70 which in turn would benefit a lot of projects downstream (e.g. rmfakecloud).


problem with Anthem

Hello, I used the program during the intro of Anthem and it worked great! However, after the game fully installed the display won't scale up to 5760x1080. The resolution reverts back to 2445. Any ideas on how to fix? Using Windows 10 on an Asus RTX2060 with updated Nvidia drivers

run game in windowed mode, not borderless window or fullscreen. However sometimes a game resizes the viewport limited to the desktop size, and it then requires adjustments inside the game engine, which is outside the scope of srwe.


Network error

Hi team,
I have been using vott application for ah long back ago ,,,,,,application awesome for object detection ,,,,but now iam facing ah problem while exporting in json format with including images option --- error:- NETWORK ERROR
Please help me out how to solve this ,,,,do need full ASAP
Thanks & Regards
Seshu

Can you provide more details on which version/platform you are using?

Yes, I meet the same problem today.

just try to uncheck export with images.
PS: it worked for me !!


resilio-sync: 2.6.0 -> 2.6.1

Motivation for this change
Changelog: https://help.resilio.com/hc/en-us/articles/206216855-Sync-2-x-change-log
Note: this version contains a security fix, and should thus probably also be backported to 18.09.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build resilio-sync

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: resilio-sync
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: resilio-sync
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: resilio-sync
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

unfree package, build checked locally on x86_64-linux

backported: cbf6eede269


[Fuzzing] Added fuzz tests to the secure JSON RPC client.

Motivation
This PR adds fuzz tests to the secure JSON RPC client (one of the core components relied on by the key manager). More specifically, this PR tests the client's handling of JSON RPC responses from a JSON RPC endpoint (i.e., responses sent over the network). This makes the client an ideal candidate for an adversary to target (e.g., by manipulating data/responses sent to the client).
To achieve this, the PR offers a small single commit that:

Moves the handling of JSON RPC responses into functions (so they can be called directly by the fuzzer).
Extracts a "test_helpers" module to allow unit tests and fuzz tests to share useful testing functions (e.g., for generating various data structures)
Implements the fuzz targets for each of the 3 API calls the JSON RPC client currently supports. For this, we add support for generating a template response (corpus) used by the fuzzer.

Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan

I first ran all unit tests locally to ensure the fuzzing paths were being executed.
I next ran the command 'cargo run --bin libra-fuzzer list' to ensure that the new fuzzing targets were shown.
I followed by generating a corpus locally, and running the fuzzing targets locally (e.g., using 'RUSTC_BOOTSTRAP=1 cargo run --bin libra-fuzzer fuzz  -- --release --debug-assertions'). I let it run for about 20 minutes before killing it. No errors found thus far for each of the fuzzers.

Related PRs
None.

Note: this PR isn't ready to be reviewed yet. It requires some changes to the fuzz testing infrastructure. Will update when it's ready 😄

Thanks @mimoo! As discussed, I'll upgrade these fuzzers to use the proptest format in the new PR!

/land

:broken_heart: Test Failed - commit-workflow

/retry

:exclamation: Invalid command

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Canary
canary, try
canary a PR by performing all checks without merging

Cancel
cancel, stop
stop an in-progress land

Help
help, h
show this help message

Priority
priority
set the priority level for a PR (high, normal, low)

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.

/land


Throw proper error message when udev rules are not set on host.

We should also improve the host app and throw a proper error message when the udev rules are not installed (the backend libusb API returns a "permission denied" error in this case).
And in this case potentially offer the user an option to auto-install the rules by running the above script (the user would need to input sudo password).
The udev rules installation could be simplified to not necessarily depend on OpenVINO.
Looks like this works:
Run this command:
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
Reset or reconnect(USB) the DepthAI device.

Issue resolved.


"Attempted to assign to readonly property" with Webpack 2.2.1

Guys,
I just put together a web pack 2.2.1 with the latest vue.
I have 1 line in my main.js:
import Vue from 'vue'

and I see this on my screen in the browser: "Attempted to assign to readonly property"
by removing the import, error disappears, any thoughts?

Had to refine my babel config:
{
	"presets": [
		["es2015", { "modules": "commonjs" }]
	]
}


PodidentityAssociation ready state is false

Hello,
I have upgrade my crossplane deployment to xpkg.upbound.io/upbound/provider-aws-eks:v1.0.0. I have started to use Podidentityassociation.
Crossplane was successfully able to create the association and synced, but the ready state is false 😕 Below is the error of the managed resource. I dont have any previous managed resource / already existing association with an association id a-stubassocid123456
async create failed: resource creation call returned error diags: creating Amazon EKS (Elastic Kubernetes) Pod Identity Association ("a-stubassocid123456"): operation error EKS: CreatePodIdentityAssociation, https response error StatusCode: 409, RequestID: f9cb61ba-2e55-4c0e-a8f7-962bfd8302bc, ResourceInUseException: Association already exists: a-dt1bedfjc72dlwp5n: operation error EKS: CreatePodIdentityAssociation, https response error StatusCode: 409, RequestID: f9cb61ba-2e55-4c0e-a8f7-962bfd8302bc, ResourceInUseException: Association already exists: a-dt1bedfjc72dlwp5n

Hi @ashishvaishno, can you provide the Crossplane manifest(s) you used so I reproduce this?

Hi @ashishvaishno , I tried testing but the provider names are different than the ones in this repository. I know it's been a while, did you get this working or should we dig in?

@candonov Sorry for the late reply. This is still an issue.

Can I force crossplane reconciliation if the PIA already exists somehow?


Comment documentation is wrong

Description
Documentation states
Lines that start with either # or // are comments. These lines are ignored when Visual Studio sends HTTP requests.
This is not correct. You need 3 hashes (###) to start a comment.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/test/http-files.md
Document ID
26f1374f-556a-35fc-cc42-b8911746db80
Article author
@tdykstra

The statement about comments is correct. Three hashes are needed only as a delimiter between requests, as in the following example:
# comment
@WebApplication9_HostAddress = http://localhost:5056
# comment
GET {{WebApplication9_HostAddress}}/weatherforecast/
Accept: application/json
# comment.
### start a new request
# comment
GET {{WebApplication9_HostAddress}}/weatherforecast?date=2023-05-11
Accept: application/json
# comment

The function of the three hashes is explained here


FR: Add dialog on XRTK-Core UPM installation, to request the install of other packages

XRTK - Mixed Reality Toolkit Feature Request
Is your feature request related to a problem? Please describe
Presently, when the user imports the seed package or registers the Core UPM package, they then have to manually launch the package manager to locate and install the other XRTK UPM packages.
Originally we had a dialog to select the other packages, which was very useful.  We should still have a popup on first import to offer the user the choice to import the other packages
How would you classify your suggestion

Usability / Configuration

Describe the solution you'd like
When the Core package is first imported, the user should get a view asking if they want the other XRTK packages installed.
This should list the available packages for install. preferably using the Unity window launched and filtered to XRTK.  An option should exist in the menu to return to this view.

Describe alternatives you've considered
Manually registering packages

I wonder if there's a way to open the upm package manager window and put it a specified search.

Remember we used to have something like this, but we got a ton of feedback that it was annoying and took forever to install the other missing packages.

I was just investigating for a programatic way to open the UPM manager, which would be ideal.

Remember we used to have something like this, but we got a ton of feedback that it was annoying and took forever to install the other missing packages.

The feedback wasn't that this was annoying. What was annoying was that everything was installed by default and you couldn't uninstall them (as they would just reinstall) :D

I was just investigating for a programatic way to open the UPM manager, which would be ideal.

Awesome 😁 Can't wait to see it

Any update to this?


deployments.run() disables .save() inside deployment scripts

If you have a deployment script, say deploy/01-Sample.ts, and that script has code along the lines of:
async function deploy(bre, name) {
  const dr = await deployIfDifferent(name, ...)
  if (dr.newlyDeployed) {
    const dep = await deployments.get(name)
    deployments.save(name, dep)
  }
}

Then if you run npx buidler deploy, the save() operation writes to the deployments folder, as expected. If you run npx buidler deploy again (when using a non-transient network, like mainnet), the saved deployments are loaded, checked on-chain, recognized as identical, and not re-deployed. Great!
But if you call deployments.run([name]) from a script or a test, then the contract is deployed but the save() operation does not write any files. Repeating the operation re-deploys the contract.
I'm not sure if this is intended, but the reason is that the noSaving option has default value true here:
https://github.com/wighawag/buidler-deploy/blob/b8a202ff070602d8dd1973ab9a98db58603bd708/src/DeploymentsManager.ts#L146-L155
The option is not exposed in the public type interface here:
https://github.com/wighawag/buidler-deploy/blob/b8a202ff070602d8dd1973ab9a98db58603bd708/src/type-extensions.d.ts#L73-L76
If this is all intended, then how do I achieve this pattern:

Using a persistent network like mainnet
npx buidler test deploys contracts if needed, but does not re-deploy if already existing

It was indeed intended, but your issue is making reconsider :)
The idea was that test have to ensure they start on a blank state so .run should clear the old deployments
But now with have deployments.fixture which is much better than .run for test, I might make .run act the same in all condition.
But actually the reset option should achieve what you want : if the reset is false, it will not redeploy if existing. At least it should not.
Re your use case, I am curious :
I suppose the test you run on the mainnet are not the same as the test you use for testing yoru contract, or at least they are a subset, right ?
Could this not be done with scripts ?

I suppose the test you run on the mainnet are not the same as the test you use for testing yoru contract, or at least they are a subset, right ? Could this not be done with scripts ?

Right, the tests I have in mind are integration tests with existing mainnet contracts. I'd like to use ganache --fork as an iterative testbed, where most of my contracts are static between test runs, but perhaps one of them changes as I make edits.
It could be done with scripts, but it's nice to use 'npx buidler test' and the mocha framework.

But actually the reset option should achieve what you want : if the reset is false, it will not redeploy if existing. At least it should not.

Hmm ... in my simple test, deployments.run(name, { reset: false }) on a blank slate does not save any files.
But deployments.run(name, { reset: false, noSaving: false }) does save files (after tweaking the typescript type definition to allow the option).

And regardless of the reset behavior, it is definitely confusing to call
deployments.save(name, dep)
and it silently does nothing.

ok there is a bit of confusion:
deployments.save do potentially 2 thing :

save deployment in memory (useful for testing)
save deployemnt to file (useful for live network)

reset:false will ensure memory is not cleared, it will not save to disk.
saving to disk is currently reserved to the command buidler deploy
I could add the option as you did, but I though the problem was you want npx buidler test deploys contracts if needed, but does not re-deploy if already existing
reset should achieved that

Okay, thanks for the clarification. I will use either npx buidler deploy or deployments.run(name, { reset: false }) depending on the situation.

new version (with breaking changes) : 0.4.1 give more options to run, see https://github.com/wighawag/buidler-deploy/blob/35c9e3b334e21e3e40850bb7aa15529d1a903199/src/type-extensions.d.ts#L123-L131
I ll close the issue, reopen if this does not solve your problem.
Thanks!


Np 45524 add facets to person query

Will update Karate tests and OpenApi in later commit, everything else is ready for review.


added documentation

if this format is good I will be able to do documentation to all the files... please let me know

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

Thanks for the PR @Reallyaravind
This format of documentation doesn't match the format in all other places
Thanks again


Will LDAP authentication be supported soon?

As the topic says.

I will add this as a feature request. I have no experience using LDAP in general or LDAP with PHP specificly. But maybe if I have enough time in the future I will implement this, seems useful for some cases. If someone wants to implement this I welcome a any pull request

Found this http://adldap.sourceforge.net/ should make it easier for someone to implement.

Hi, I have implemented LDAP support for pdnsmanager. See pull request 63 or my fork of the repository.

Version 2.0 will have a plugin api so that can be implemented without touching the core of pdnsmanager.
Whilst that allows an easy implementation, I have no experience in ldap therefore I am not shure weather I will implement this by myself.


Add smarter camera position initialisation

Maybe start by crossing the different vantage angle requirement.

Added a draft: now initialisation takes into consideration the first Vantage Angle Property or the first Relative Position property


Allow key rotation

Use MultiFernet to allow key rotation
Interpret, tuples, lists, and OrderedDicts as containers for keys

@LucasRoesler Thanks for the update. This looks great.


Use Github CI in addition to Travis

Fixes https://github.com/bpfkorea/agora/issues/385

Btw, I couldn't figure out how to have OS-specific commands. The only way it seems doable is with runs-on. But this applies to jobs, and jobs are done in parallel. So I had to split these into two job definitions.

Sweet!

Trying out pkg-config & newer ldc.

Looks like it worked

Very noice


Release 142.0.0

@metamask/selected-network-controller
[12.0.1]
Fixed

When getProviderBlockTracker is called with domain for which there is no cached networkProxy in the domainProxyMap, if the useRequestQueue preference is off and the domain does not have permissions the newly created network proxy for this domain should be pointed at the NetworkController's own proxied selectedNetworkClient. (#4187)

Oh sorry, you might need to re-run yarn again to update the lockfile.


Migrating to the new APNs Provider API based on the HTTP/2 network protocol

Is there any interest to gradually migrate this project over to the new API? Apple is recommending developers should migrate their remote notification provider servers to the more capable and more efficient HTTP/2-based API described in APNs Provider API.
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/APNsProviderAPI.html#//apple_ref/doc/uid/TP40008194-CH101-SW1
Or should this project use the binary API for legacy reasons?

@riegie we do want to migrate to the new API! But we've not done this yet, obviously.

This would be awesome! :+1: :smile:

+1

+1

This project does a great job encapsulating HTTP/2 API
https://github.com/joshfriend/apns3

https://pypi.io/project/apns2/#description This one looks good to me as well.

+1

I'm not sure it's smart to change this project to use the new API. Not everyone can use the new API, because HTTP/2 support is far from everywhere yet. If possible, I think it is better to create a new project that calls the new API, and make it backwards compatible with this one. This will make upgrading easy, while those who have to stay on this version for legacy reasons can do so.

Any updates?


Xresources Issue

I get this error: '#D9E0EE': unknown terminal type.
Also weird stuff happens with my input (can't remove letters, etc..)
This is my xressources:
Xft.antialias:	1
Xft.hinting:	1
Xft.autohint:	0
Xft.hintstyle:	hintslight
Xft.rgba:	rgb
Xft.lcdfilter:	lcddefault

! window padding
st.borderpx: 20

!- 0.1 to 0.9 = transparency
st.alpha: 1.0

*background: #1E1E2E
*foreground: #D9E0EE

! Gray
*color0: #6E6C7E
*color8: #988BA2

! Red
*color1: #F28FAD
*color9: #F28FAD

! Green
*color2: #ABE9B3
*color10: #ABE9B3

! Yellow
*color3: #FAE3B0
*color11:  #FAE3B0

! Blue
*color4: #96CDFB
*color12: #96CDFB

! Mauve
*color5: #DDB6F2
*color13: #DDB6F2

! Pink
*color6: #F5C2E7
*color14: #F5C2E7

! Whites
*color7: #C3BAC6
*color15: #D9E0EE

i cant reproduce this error!

i'm reinstalling anyways, maybe it'll fix it xD

did it fix?

not really, the keyboard works but it gives me an error of #CDD6F4: unknown terminal type

looks like your system issue
:(

Welp, it works now. I commented the foreground line out

@radstevee works for me tho :c

just tried using xresources again, checked my $TERM env and it was set to my *foreground colour. ???. just set it to st-256color now..


Submit voted update to the pool contract

The new update contract was successfully submitted in the ERG/XAU testnet pool. The next step is to test it #241


Problem with callkit opening a new empty instance of the app

I'm having a problem with callkit opening a new empty instance of the app. Even though the application is in the foreground, when the callkit window arrives, I click and Callkit opens in full screen, as soon as callkit closes, I open a new instance of the app as if it were the first time I opened the

set android:launchMode="singleInstance" for mainActivity inside manifest file.

Thanks


bump IO, Util, and LM

To validate this pull request against other sbt modules, please visit this link.


Can't connect via Airplay

Hi, first, thanks for Pi Musicbox! After trying all of the other Pi music distro's I've found this one to be the best! My only issue is that I'm having trouble connect to the device with airplay/shairport. When I first installed Pi Musicbox I was able to stream with Airplay from my macbook for the first few days with no problem, though my wife tried was unable connect from her windows-based machine (using tuneblade). For some reason airplay then stopped working for me as well. I can see the Airplay device under my Mac's speaker output options, but I can't connect. I've since reformatted my SD card and reinstalled a fresh image of Musicbox, but still can't connect via Airplay. I also tried renaming the device from the standard "MusicBox" just in case there were settings stored on my Mac for this output device, but I still can't connect. Any ideas? Thanks!

This sounds like #409, both the firewall blocking and the limited number of control ports.   You should be able to workaround it by following both parts of https://discuss.mopidy.com/t/after-first-reboot-cant-access-musicbox-local/1580/15

Great, thanks I'll try this out. Sorry, I didn't find that (very similar) issue (#409) in my googling, and I guess I only checked open issues here on github.

The instructions at https://discuss.mopidy.com/t/after-first-reboot-cant-access-musicbox-local/1580/15 worked for me and resolved the issue.
I also tried the modified iptables rules at #409 (comment) rather than disabling the firewall, and that also seemed to work.

Thanks for updating.  I need to upload a new image with these fixes as a few people have run into it now.


Properly highlight scala code in README

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

Merged with slight modifications.
Note: the CLA thing was triggered because of these modifications, I overrode it because they are my modifications...


Flowchart Window refactor

Still working on this, but I'm basically just trying to clean some code up and improve the performance of the flowchart window.
Refactoring:
I wanted to make the event handling code less all over the place, but that's apparently pretty tough to do with the IMGUI system. The flow is now basically like this:

Pre-process events that built-in GUI controls will use (eat). This seems to be necessary if you want to attach any functionality to controls. An example would be clicking on the search bar.
Draw all of the main content.
Draw all of the built-in GUI controls, e.g. the toolbar, (after main content so it's layered above it).
Handle events for content drawn in part 2. This allows the built-in controls to handle the events first, which is more intuitive since they're layered above the main content.

This didn't work totally seamlessly, but I think it's a little easier for me to follow than how things were previously.
Performance:
After profiling the window a bit it became obvious that garbage was the biggest issue. On one of my computers, dragging lots of blocks around, for instance, is really choppy. I've tried to reduce allocations and also get things out of OnGUI if they can be handled on more per-event basis. On my Macbook Pro, I can now use 100+ block flowcharts without it getting choppy. I regret doing this all in a single PR, though, because I'm not sure which changes have made the biggest impact and I'd rather not make them at all if they aren't helping much. Let me know if you'd prefer to integrate things more gradually (or at all). I think the next significant thing to look at would be the variables window, which can make the window start to chug pretty easily.
I'll ask questions in the code.

The changes look great so far. Nice idea to make the event handling more structured.
btw let me know if you have any ideas to improve the layout of the variables window. I tried a few different options and ended up settling on the floating window approach, but still not convinced it's the best way to do it. It might work better as a collapsible side panel for example. I think it does need to be part of the Flowchart window though so it's easy to see the values changing at runtime.

Hey - is there more work to do on this or can I merge it now? Getting ready for the next release once I clear out some bugs this week.

Hey! Sorry I haven't updated this in a while--been way busier than I realized I'd be. There were still some things I wanted to look at in this PR, so I'd say leave this out of the next release. I would like to get to this afterward, though. Hopefully I can get back to it soon!

No problem, I'll hold off merging for now.

I've been looking at this a bit today and I think I actually want to close this PR so that I can split it up into separate, smaller PRs. I want to spend more time benchmarking the optimizations so that I don't do anything that isn't worthwhile that might introduce bugs.


rednotebook: 2.20 -> 2.21

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rednotebook is: "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds"
meta.homepage for rednotebook is: "https://rednotebook.sourceforge.io/"
meta.changelog for rednotebook is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.21 with grep in /nix/store/m7a3sdc3g1pxwf43spiny5q22s8r0ij9-rednotebook-2.21

directory tree listing: https://gist.github.com/e9daa60a930495f609cab5bdf04a67a8

du listing: https://gist.github.com/917364c2101fce797cd3e9fdf0d0e488

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
rednotebook

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m7a3sdc3g1pxwf43spiny5q22s8r0ij9-rednotebook-2.21 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rednotebook https://github.com/r-ryantm/nixpkgs/archive/1ecb8e72c216ff937e788e50506f0ae09f3088aa.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m7a3sdc3g1pxwf43spiny5q22s8r0ij9-rednotebook-2.21
ls -la /nix/store/m7a3sdc3g1pxwf43spiny5q22s8r0ij9-rednotebook-2.21/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

rednotebook

Maintainer pings
cc @orivej for testing.

Result of nixpkgs-review pr 106322 run on x86_64-darwin 1

1 package failed to build:

rednotebook


OTL-3190 Additional fixes for operator install order issues using Helm hooks

Description
Helm install failures occur in rare cases due to deployment order issues:

Instrumentation Object: May fail because the Operator and its webhook are not ready.
Cert-Manager Certificate: May fail because Cert-Manager is not yet initialized.

Proposed Solution
Add Helm hooks to enforce readiness checks and ensure resources are deployed in the correct order. Cert-Manager and Operator readiness will be validated before Instrumentation deployment. We will use appropriate Hook weight values to ensure each related operation is completed sequentially.
Installation Order

Default Installation Phase: Deploy Cert-Manager, Operator, and Operator CRDs.
Cert-Manager Readiness Check: Post-install hook (weight 1) verifies Cert-Manager is operational.
Install Issuer: Post-install hook (weight 2) deploys the Cert-Manager Issuer.
Install Certificate: Post-install hook (weight 3) deploys the Cert-Manager Certificate.
Operator Readiness Checks: Post-install hooks (weight 4) validate the Operator and related webhook are ready.
Install Instrumentation: Post-install hook (weight 5) deploys Instrumentation resources.

Benefits

Ensures dependencies are deployed in the correct order.
Mitigates Helm installation errors reported from the field.

Cons

Using Helm hooks like this and this much is an anti-pattern for Helm.

Callouts

Future Refactoring: We may refactor Cert-Manager usage and CRD installation in the near future, potentially eliminating the need for post-install hooks. While this PR provides an effective interim solution, it may be short-lived within this project.

Testing

Verified with local and lab Kubernetes clusters.

Related Alernative solution: https://github.com/signalfx/splunk-otel-collector-chart/pull/1561

This ticket can be closed in favor of https://github.com/signalfx/splunk-otel-collector-chart/pull/1586


Create a cargo-generate template?

See:

https://crates.io/crates/cargo-generate
https://github.com/topics/cargo-generate

Done. See https://github.com/NLnetLabs/ploutos-template/.


Weird error when making a textbox with sugarcube 2 in a .twee file

not quite sure what this is but figured I should post it here if not intentional.
so I am trying to port my game over to use Tweego and this extension is helping out a lot but after moving something over that had a macro to make a textbox VS code threw this error
the text box code ---> Your Name: <<textbox "$name" "" [[GuruIntroduction]]>>
the error it throws ---> Expected literal ('autofocus'), but found:  sc2-ex(109)
it is of note that this does in fact work just fine in the twine editor

Patched in v0.11.9! Should be working fine now.


Move to net-attach v1.7

What this PR does / why we need it:
Bump network-attachment-definition-client to v1.7.0.
It requires moving to  skel.PluginMainFuncs instead of skel.PluginMain
Error: cmd/whereabouts.go:21:2: skel.PluginMain is deprecated: Use github.com/containernetworking/cni/pkg/skel.PluginMainFuncs instead.  (SA1019)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer (optional):

Superseeded by https://github.com/k8snetworkplumbingwg/whereabouts/pull/452


Create Trimm analysis

The analysis says:

The tail should be able to trimm the plane for the two flight extremes, CL_min and CL_max

Solved on #68


bug fix in register.js

tree.args is an Object and has no method "concat"... tree.args.args is the array we're looking for.

Amazing, thank you.


Update wsd.py  by  Adding porter stemmer

performing stem forms of context  words and words in definations will give better intersection count.
Example:
'playing' word in sentence , 'plays' word in sense definition
will give null intersection
but if we perform stemming both words will be play and gives intersection as 1.
which may helps to predict best sense.

Thanks for your contribution @DASHANANT. This is a proposal to modify the definition of the Lesk algorithm. Minimally it would have to be controlled by a flag, defaulting to the existing behaviour. However, the proposal has a linguistic flaw: the senses of a word are not necessarily included in the senses of the stemmed version of that word. For example, in Wordnet, computer has two senses, while compute only has one.

Thank You, The flaw can be solved using a simple if condition .
def stem(i):
if wordnet.synsets(ps.stem(i))==wordnet.synsets(i):
return PorterStemmer.stem(i)
else:
return i
we change the stem function according to wordnet.
I have simulated it, now it is giving better results than previous.
Thank You again.
Please check it.


Deprecated selector in atom-like-brackets-editor/styles/atom-like-brackets-editor.less

In atom-like-brackets-editor/styles/atom-like-brackets-editor.less:
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

atom-text-editor::shadow .cursor => atom-text-editor.editor .cursor

atom-text-editor::shadow .line.cursor-line => atom-text-editor.editor .line.cursor-line

atom-text-editor::shadow .bracket-matcher .region => atom-text-editor.editor .bracket-matcher .region

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

I like this package greatly!!!
when we can expect an update to it to be compatible with Atom 1.17.2?!!!

Same issue 😞  Atom 1.18.0

atom-like-brackets-editor/styles/atom-like-brackets-editor.less
Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor::shadow .cursor => atom-text-editor.editor .cursor
atom-text-editor::shadow .line.cursor-line => atom-text-editor.editor .line.cursor-line
atom-text-editor::shadow .bracket-matcher .region => atom-text-editor.editor .bracket-matcher .region
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
Report Issue

Hello guys. Thanks for reporting. I just updated the css selectors. Please update your packages.


GLEDOPTO GL-W-001Z Does not update status (on or off)

I have successfully completed pairing, but it does not update its status when I physically manage. From HA it turns on and off without problems, but when I turn it on or off physically, I can’t see the status. Such a problem was in zigbee2mqtt with this switch for a very long time, but it was successfully fixed. In ZHA status is still not updated
https://www.zigbee2mqtt.io/devices/GL-W-001Z.html

will take a look at what they did when I have a bit of free time.

 {
        zigbeeModel: ['GL-W-001Z'],
        model: 'GL-W-001Z',
        vendor: 'Gledopto',
        description: 'Zigbee ON/OFF Wall Switch',
        supports: 'on/off',
        fromZigbee: [fz.on_off],
        toZigbee: [tz.on_off],
        onEvent: async (type, data, device) => {
            // This device doesn't support reporting.
            // Therefore we read the on/off state every 5 seconds.
            // This is the same way as the Hue bridge does it.
            if (type === 'stop') {
                clearInterval(store[device.ieeeAddr]);
            } else if (!store[device.ieeeAddr]) {
                store[device.ieeeAddr] = setInterval(async () => {
                    try {
                        await device.endpoints[0].read('genOnOff', ['onOff']);
                    } catch (error) {
                        // Do nothing
                    }
                }, 5000);
            }
        },
    },

so the device doesn't support reporting... we don't have a per device way to poll yet in ZHA and until we do we won't be able to support this. I'll start thinking about the best way to handle this.

@dmulcahey
Apparently yes, looking at the log, I see that zigbee2mqtt constantly polls it

@Adminiuga should we do the same thing we did for Hue here? Or should we start to explore device specific configuration like what is in the code snippet I posted above from z2m?

Is this  a remote or  a wall switch? Do we have a pairing log?
If it really doesn't support reporting, then should go the hue route probably

https://m.banggood.com/GLEDOPTO-GL-W-001Z-AC100-240V-1-Gang-1-Way-Smart-Light-Switch-Work-With-Zigee-Amazon-Echo-Philip-Hue-p-1524408.html
Hard wired switch

What does deCONZ do with it?
I guess we could go HUE approach then.

I’ll look in a bit


fix(PrivateAuth): remove feature flag from auth flow

Fixes

https://issues.redhat.com/browse/KFLUXBUGS-1260
https://issues.redhat.com/browse/KFLUXBUGS-1259
Description

Type of change

[ ] Feature
[ ] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review

How to test or reproduce?

Browser conformance:

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

need tests for codecov

code looks good, kindly fix the codecov requirement

/lgtm

/retest


Little version Zenject

Hi,
Zenject is very usefful but, is very robust. Can a smaller version be created (remove from librarie)? We need only DI, without Signal, Poller, Tickables and many other uselessness, which occupies memory and CPU only.

By the way this can be done somewhat already by just unchecking the OptionalExtras directory when importing.  But support for the interfaces like ITickables are always added in the Context classes, so not easy to make those optional


Please add  step "Restart the server instance" after reinstalling the Base Application

After reinstalling System and Base app I tried to install other published non Microsoft apps but they failed.
Error was like "Could not find table ...... in ...." and after that "Install-NAVApp : An item with the same key has already been added"
So after few hours of troubleshooting I decided to:
Restart-NAVServerInstance -ServerInstance <server instance>
and after that all my extensions got installed with one command:
Get-NAVAppInfo -ServerInstance <server instance> | Install-NAVApp
So I suggest to update topic "(Single-tenant only) Reinstall extensions" to this:
1.Install System app
2.Install Base app
3.Restart the server instance
4.Install other extensions, including Microsoft and third-party extensions.
Thank You.

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

ID: e71477e4-f2ea-1481-7597-29b324bd4f57
Version Independent ID: a2bb3a05-e5c1-d9f7-f47f-d2f34c4a91ea
Content: Install an update - Business Central
Content Source: dev-itpro/upgrade/upgrading-cumulative-update-v15.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hello, Thanks for the feedback. I have tried several times to reproduce this issue but with no luck, so perhaps there is something triggering this that is not happening on my installations, like an extension.

Hi,
Let me clarify, that all Microsoft extensions installed fine without the Service instance restart but my other extensions (like Estonian official localization apps) failed to install.

Hi, I am curious whether it has anything do with the fact that we do recommend that you restart the server after you run Repair-NAVApp cmdlet. The instructions to not sate this.

Hello, the article has been updated. Hopefully this resolves the issue. Otherwise, let us know and we will reopen this. Thanks for the feedback!


Change logo and favicon not success

Terima kasih atas plugin yang keren ini, bang.
I’m consistently encountering a failure when attempting to update the logo and favicon; it results in a ‘404 not found’ error for the logo. It appears that the file in livewire-tmp has been successfully moved, but the filename has not been renamed as expected.
What should I do?

Samii2 @lutfiidham ,
It's been fixed and merged on branch Master last week but not released yet. You can see merged history here or see latest code from Master Branch.

Mantap. Thanks! ✨

I am so sorry for bothering but i got Failed to update settings. error when save changes in setting page, i installed this kit yet with new released master branch. Please help, thanks


Dependency @types/node should be v10

We're targeting node 10 until it leaves LTS, but currently we depend on @types/node v12.
We can't easily roll back because @types/node v10 currently has incomplete types for fs.promises.readFile.

Obsolete because node 10 has left LTS now.


Ondrej-php PPA fixes/enhancements for Ubuntu

Hi,
I've been doing work to get mayflower-php working with the ondrej-php PPA. It appears ondrej/php5.5 and ondrej/php5.6 are now deprecated and he has combined PHP 5.5, 5.6 and 7.0 into one repo. This completely breaks the module as it currently is. I've also put in some fixes so that it actually adds the PPA before it even tries to install the packages (in packages.pp, pear.pp and dev.pp).
Please test and let me know if all works as it should. I've tested it on Ubuntu 14.04 (Trusty) with versions 5.5, 5.6, and 7.0 with the PPA.

Oh I should note, this is what I've got in hiera:
php::globals::php_version: '5.6'
php::manage_repos: true
php::fpm: true
php::dev: true
php::composer: true
php::pear: true
php::phpunit: false

I think the tests are incorrect because:
Failures:

php::fpm on ubuntu-12.04-x86_64 when called with no parameters should contain Service[php5-fpm] with ensure => "running"
Failure/Error:
should contain_service('php5-fpm').with({
'ensure' => 'running',
})
expected that the catalogue would contain Service[php5-fpm]
./spec/classes/php_fpm_spec.rb:18:in `block (5 levels) in <top (required)>'

It looks like services are now handled by php::fpm::service

I will work on fixing the tests as the pathnames and service names have changed for Ubuntu and using ondrej-php

I've squashed my 19 commits into a single commit to make it easier.

Thanks @tdm4, that's looking good! Could anybody test this and report back here?

also, please rebase after the merge of #192

a bit of documentation would also be nice :newspaper:

@mmoll where's best to put documentation?

@tdm4 in this case just in the README as further or updated examples

@mmoll Do you think we could deprecate php::repo::ubuntu::ppa ? Seeing as how it dependent on version, and version is what people really would rather change rather than figuring out which repo to select?

@tdm4 yes, that makes sense. However, I'd rather want to merge this PR very soon and then you could work on removing php::repo::ubuntu::ppa. As we're bumping the major version anyway, we don't need to care about compatibility. :boom:

@mmoll sounds good to me! 👍

merged, thanks @tdm4!

@mmoll Great! Thanks for merging it!


initializing seq2seq embedding with pretrained w2v

Hi, is there a straightforward way to initialize seq2seq embedding with pretrained w2v?
the embedding variable is in the embedding_tied_seq2seq (the model I am using). is there anyway to access this variable from translate.py and call .assign() to assign it after random initialisation with all other variables?? is there a global variable name I could call for this embedding?

Check out the answer on the google groups here: https://groups.google.com/a/tensorflow.org/forum/#!topic/discuss/bH6S98NpIJE
The short answer given by Rafal is:
You can initialize it randomly and afterwards do:
session.run(embedding.assign(my_word2vec_matrix))

You need to do separate assigns for the encoder and decoder.

Closing.  For future reference, this kind of question is better on stackoverfow.


feat(rust_indexer): Get source file contents from the FileProvider

Previously, the indexer binary would extract an entire kzip to the file system, and the library would read those source files from the file system. This PR makes the indexer library request source files from a FileProvider instead.

@jaysachs The linter was complaining about how some of the rust code was formatted. I can try to isolate that the files it was explicitly complaining about and only include those in the PR