Overlapping paths in Observe-Composite

Right now, while creating a new Composite Object, Leshan Server Demo warns the user that "Overlapped path will not work. (e.g. /3/0 with /3/0/1 is not valid)". Indeed, after adding two or more overlapped paths and trying to execute a Composite operation, an error will occur.
While it doesn't make sense for Read-Composite to allow overlapped paths, it might be different for Observe-Composite. According to LwM2M specification, this operation allows to set Attributes at each level of a path, e.g.:
"/3442/0" with Attribute pmin=60
"/3442/0/110" with Attribute pmin=30
It means that for all resources of Object 3442/Instance 0, any change to them will be reported after at least 60 seconds from the last notify except the resource 110, for which it will be 30 seconds.
In LwM2M 1.1 the Attributes are set globally before starting an Observe operation, which makes overlapping paths obsolete.
In LwM2M 1.2 however, the Attributes can also be set doing the Observe, overriding the global settings. In this case, the Leshan Server implementation is mostly OK, but the Client side is lacking some features - it must take into account the Attributes defining the wait period between notifications. It also must not send the same data twice for overlapping resources.
So, we can either:
a) Make the Client side compatible with LwM2M 1.2 for the future. It will also be potentially better in terms of interoperability as the Clients would be able to communicate with non-Leshan based platforms in terms of path overlapping.
b) Make the Client reject an Observe request with overlapping paths. Right now, Client accepts the request and the error occurs on the server side while decoding the payload.
Let me know which option you prefer.

historic
When I implemented this feature. I asked myself if we should support this :thinking:  ?
I decided to not support overlapping because I didn't see any benefits of this.
But you probably right this makes sense for LWM2M v1.2 for reason you express.
additional info
Not directly linked to your question but could worth to know:

current client Leshan implementation does not support Write Attribute (and so observe does not use pmin, pmax ...)
there is some missing clarification about how works attribute attachement. (https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/478#issuecomment-1031352743)

current state
Tell me if I'm wrong but the current state is :

leshan-server-demo ui doesn't allow overlapped path
ReadCompositeRequest does not allow it (there is a check in the code)
I didn't see the same check in ObserveCompositeRequest
the decoder at server side does not support overlapped path ? (I look at this quickly I didn't see where is the issue)

At client side, it is not clear to me if this works or not ?
Your b) seems to says yes but your a) make me think there is something to implement at client side ?
what do we want ?
Currently we are targeting LWM2M v1.1.
Personally, I'm not sure we want to make our client compatible with LWM2M v1.2.
But even if we put LWM2M v1.2 aside,  I think we can ask ourself if we should support/tolerate overlapped path ?
You are saying that :

It will also be potentially better in terms of interoperability as the Clients would be able to communicate with non-Leshan based platforms in terms of path overlapping.

Do you know such kind of platform ?
If you think we should support it. I'm not against the idea.
If we decide to support it I'm not sure about this impact ?
If we decide to not support it, I guess this is mainly about adding in ObserveCompositeRequest the same kind of check there is in ReadCompositeRequest ?

leshan-server-demo ui doesn't allow overlapped path

I'm pretty sure it allows users to create a Composite Object with overlapping paths as seen here:

ReadCompositeRequest does not allow it (there is a check in the code)
I didn't see the same check in ObserveCompositeRequest

That is true

the decoder at server side does not support overlapped path?

Yes, the exception states:
CodecException: 2 RESOURCE nodes (LwM2mSingleResource [id=110, value=initial value, type=STRING],LwM2mSingleResource [id=110, value=initial value, type=STRING]) with the same identifier 110 for path /3442/0/110
It's being thrown in LwM2mNodeSenMLDecoder line 462

At client side, it is not clear to me if this works or not ?
Your b) seems to says yes but your a) make me think there is something to implement at client side ?

Right now there is no error occurring on the client side, but the response for overlapping paths is still wrong. We should either (a) accept path overlapping which would require modifying the client implementation to suit LwM2M 1.2. or (b) reject the path overlapping completely upon detecting it on the client side. Right now it's a mix of both - the client accepts the request but returns duplicated resources which in turn cause decoder exceptions on the server side.
I'm not yet sure what we want exactly, I need to discuss it further with my team and I will let you know afterwards.

Ok, after some discussion we decided to go for option C, which is:

Enable sending overlapped paths in Observe-Composite request on the server side and accept it on the client side.
Remove overlapped data from client's response
Ignore attributes for the time being

This is a compromise between options A and B - we don't take attributes into account for now as it seems like a pretty complex topic. The important part is to remove overlapped data (nodes) from the response's payload so as not to cause any errors on the server side while decoding. I wrote some methods for that purpose and committed on opl/overlapping_paths_support_for_client.
In more detail, the main method for removing overlapped nodes works as follows:
Suppose the server requests an observe on /1/0/2 and /1/0. The algorithm will detect that /1/0 contains /1/0/2 among other resources and it will be removed from response data. The result will simply be /1/0.
I wrote a few tests, so you can take a look at them for more examples.
Let me know if you think option C is viable 🙂.

Before to define how we support this.
I would like to better understand the reason about why we want to support it (overlapped path) ? (sorry if you already explained it)
Is it driven by some needs you have ? or is it to try to fix something you consider as not consistent ? or ?
Knowing exactly why we do that will help to to know how to do it.

One reason for it is that the current implementation causes errors: Leshan server is able to send a request with overlapped paths but is unable to decode overlapped nodes. According to LwM2M specification, a LwM2M server should allow performing Observe with overlapped paths without any errors, hence my efforts to fix what's currently implemented.
We don't need to have Leshan client remove the overlapped nodes before sending them to the server - we can make the server accept the overlapped nodes from the client's data. I just went for the first option, but if you prefer we can switch the approach and fix it from the server side.

Leshan server is able to send a request with overlapped paths but is unable to decode overlapped nodes.

OK so the main goal is to remove this inconsistency.

According to LwM2M specification, a LwM2M server should allow performing Observe with overlapped paths without any errors, hence my efforts to fix what's currently implemented.

For LWM2M 1.1, this is not so clear. Not clearly allowed, Not clearly forbidden. Like for ReadComposite or I missed something ?
For read we agree this doesn't make so mush sense.
For observe, this could make sense for LWM2M 1.2 but for LWM2M 1.1 this makes no sense too.
Right ?
So how could we fix the inconsistency ?
For LWM2M 1.1 (leshan-2.0.0), I feel, the fast and easy way, we just don't allow to send overlapped path for observe request too.  (like in ReadCompositeRequest constructor)
If we consider we must tolerate overlapped path, there is several point :

if we tolerate it for observe, I feel we should tolerate it for read too ? because in LWM2M 1.1 there no more reason to support one than the other ?
we should tolerate that a client send overlapped data. (because nothing in the specification define how overlapped path should be handled ?)
Leshan client should ideally remove overlapped data. (for optimization reason but maybe this could be consider as optional)

But again I'm not sure this really pay-off to support this ?

We NEED to forbid Leshan Server from sending Observe-Composite request just as Read-Composite request (that will be compliant with LWM2M 1.1 as you said).

OK let's go for this one.

We MAY also have Leshan Client remove overlapped data just in case

I think if we implement the first point :point_up:,  this will make client to send Bad Request response when it receive Observe-Composite request with overlapped path.
In my opinion, it's OK like this. Eventually if we face a user who needs support of overlapped path for concrete reason, we could rethink about all of this. :slightly_smiling_face:

As expected, this was fairly easy to do, I implemented both points on opl/forbid_overlapped_paths. Should be ready for PR, unless you want to do something else with it.

It's on #1263


Late Include Behavior breaks existing code

See my comments on #1896
Macros defined in some header files used by cython can break late included files.
This behavior should never have been automatic, as it is new behavior and very unexpected.

Macros defined in some header files used by cython can break late included files.

...can break other included files. This has little to do with early/late includes.

If I understand correctly, the issue is that there are conflicts in your header files (and possibly Python's own header files) that were not exposed until the order of includes was rearranged.

structmember.h (python) included by cython generated code defines T_BOOL as a macro.
Normally this was included after our header files.  So it wasn't an issue.  But T_BOOL T_STRING define by that include are commonly used by apache:thrift as identifiers.

My argument is the new behavior can not be automatic, its dangerous to existing code.
That should matter more than a theoretical use case in the future using the new behavior.

We can work around by adding <> around our includes but, why new behavior should have to include special syntax, not expected existing behavior

This behavior would also manifest had we needed to move the include of structmember.h before any cdef extern from includes. It happened to be triggered by the late import change, but using overlapping symbols and relying on the relative import order of Python headers is solidly in undefined behavior territory.
On a practical note, this seems to affect very few (one?) projects, and you have an easy workaround.

That we know of, there were several internal projects.  This is a change made to master so not many people have run it yet.

Includes are not stateless in C/C++ its a problem old as dirt, which is why people place standard includes before project specific includes.  Its a known behavior that include ordering is important. Even in cpython they have this (https://github.com/python/cpython/blob/master/Python/ast.c#L587-L590) problem.
In our case its not overlapping symbols, one is symbol and one is a macro. If ordering is maintained its completely fine, like the cpython example above.
If this behavior makes it into the release for 0.28 then it should be gated somehow. Right now instead of requiring people to use a new syntax to get this behavior you are requiring "new syntax" to opt out of said behavior.

See #2006 for a solution to the concrete problem of <structmember.h>

On a practical note, this seems to affect very few (one?) projects, and you have an easy workaround.

We shouldn't forget that this feature was implemented to serve one specific project in the first place. It feels like the wrong trade-off to me to require existing code to be updated just for that.

We shouldn't forget that this feature was implemented to serve one specific project in the first place. It feels like the wrong trade-off to me to require existing code to be updated just for that.

I hope that you won't revert the "late include" feature. It's hard to tell how much it will break existing code. As one data point: within all of SageMath and its dependencies (several of which use Cython), one fix was needed.
One solution would be to make this behaviour non-default, either with a compiler directive or explicit syntax (as I originally proposed in #1650).

Ok, this needs a decision, @robertwb.
My personal feeling is that we shouldn't require existing code to adapt to this. It can already be difficult in some unfortunate cases to bring C includes into a non-conflicting and/or dependency enforced order, even without having Cython reorder them at will. This makes the situation worse, while providing no benefit for majority of users.
It also feels like the situation changes a bit with the new verbatim C code feature, but it's unclear if it's for better or worse, as the feature hasn't seen any real-world usage yet. From the surface, the interaction might have both benefits and uncertainties.
Overall, I would prefer if we could make this an opt-in of some sort, or really make the late includes explicit, as jdemeyer originally proposed.


When will the updated model codes be released?

Hi, @ZhendongWang6 Thanks a lot for your wonderful work in Uformer. I have noticed that the new version of Uformer have updated in arxiv about one month ago. The modulator seems to improve the performance a lot. So I wonder when will the new version of code be released?
Again, thanks a lot for your excellent job :)

Hi, thanks for your attention to our Uformer!
We will release the new version of code recently.


neo-cli run as service on systemclt

I want to make neo-cli service on systemd on ubuntu 18.04
create neo.service file on /etc/systemd/system with bellow code :
[Unit]
Description= Dotnet Core Neo wallet

[Service]
WorkingDirectory=/etc/neo-cli
ExecStart=/usr/bin/dotnet /etc/neo-cli/neo-cli.dll
Restart=on-failure
SyslogIdentifier=neo-service
PrivateTmp=true

[Install]
WantedBy=multi-user.target

after running
systemctl start neo.service
it just run for one secound and after that
when i run
systemclt status neo.service
i see bellow result:
systemctl status neo.service
● neo.service - Dotnet Core Neo wallet
   Loaded: loaded (/etc/systemd/system/neo.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Fri 2019-07-12 11:52:44 UTC; 1s ago
  Process: 21084 ExecStart=/usr/bin/dotnet /etc/neo-cli/neo-cli.dll --rpc (code=exited, status=0/SUCCESS)
 Main PID: 21084 (code=exited, status=0/SUCCESS)

Please help me

screen -S neo ./neo-cli --rpc not a good solution most of the time this solution is not working because process die and we didn`t realize that.

@highelf I've created this unit, and it worked fine for last 8 months:
[Unit]
Description=NEO node Daemon

After=network-online.target
Requires=network-online.target

[Service]
ExecStart=$data_dir/neo-cli/neo-cli --rpc
User=neo
WorkingDirectory=$data_dir/neo-cli
KillSignal=SIGTERM
Restart=always
RestartSec=60
StandardInput=tty-force
TTYPath=/dev/tty2
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=neod
TimeoutStartSec=30s
TimeoutStopSec=90s

[Install]
WantedBy=multi-user.target

Still it's not sending logss, but that is neo-cli fault, not systemctl

Hi @ksemaev  did you try to install ApplicationLogs plugin and start it with "--logs"?

it works thank you @ksemaev


Provide support for Spring Boot configurations

Can you squash before merging?

Can you squash before merging?

ups, yes! done


doc: release-notes-4.0: Update the DAC section

This incorrectly had references to timers and watchdog related items.

Sorry I had to make one small change.


algokit task transfer fails using a rekeyed account

Subject of the issue
When using a rekeyed account, algokit task transfer fails.

This has been fixed in utils via https://github.com/algorandfoundation/algokit-utils-py/pull/86
#498 applies the fix to the AlgoKit CLI.


Run causes server to lock up

Running the line below caused our CentOS 6.6 server to lock up, requiring a hard reset. We were able to replicate the problem on another CentOS 6.6 server.
docker run -t -i wordpress:latest /bin/bash

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Could you please add the requested information? There are a number of issues with CentOS/RHEL 6, some of them depend on the kernel version being used.
Also, be aware that running Docker on CentOS/RHEL 6 is no longer supported by RedHat, and will also be removed from the list of supported systems with the next (1.8) release.

docker version:
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.3.3
Git commit (client): a8a31ef/1.5.0
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.3.3
Git commit (server): a8a31ef/1.5.0
docker info:
Containers: 23
Images: 71
Storage Driver: devicemapper
Pool Name: docker-252:1-85220-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 3.662 GB
Data Space Total: 107.4 GB
Metadata Space Used: 6.267 MB
Metadata Space Total: 2.147 GB
Udev Sync Supported: true
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.89-RHEL6 (2014-09-01)
Execution Driver: native-0.2
Kernel Version: 2.6.32-504.23.4.el6.x86_64
Operating System:
CPUs: 2
Total Memory: 1.826 GiB
Name: Analytics
ID: Y7BO:KHWG:VQYL:B5CU:FF2L:2375:XCQJ:VWOL:Q7VC:BO7X:AIZU:MC5V
uname -a:
Linux Analytics 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Provide additional environment details (AWS, VirtualBox, physical, etc.):
KVM
List the steps to reproduce the issue:
1.docker run -t -i wordpress:latest /bin/bash
2.
3.
Describe the results you received: Server locked up and required a hard reset
Describe the results you expected: Wordpress container starts
Provide additional info you think is important:

This issue is exactly the same as #15057. The kernel used by the person who has opened that issue is newer than this one.
Please keep in mind that CentOS 6.x and RHEL 6.x are unsupported when it comes to Docker. You might want to upgrade to CentOS 7.x / RHEL 7.x to move to a supported setup.
I'll close this issue now since it's a duplicate of a known to be fixed issue.


Fix an issue introduced in #594

594 assumed that dump would use False as it's default, but since
--dump is a str type, it instead uses None when it is not
specified on the CLI.
The truth is that this is more pythonic anyway, and has the same effect.
I can't imagine when this could cause un-expected behaivior.

@zaro0508 can you verify this is ok for what you were thinking?
Note: This was hard to detect.  Integration tests in my environment worked.  Why?  Because I don't delete my s3 bucket between runs, so even though ensure_cfn_bucket_exists was returning True, the bucket already existed.


Update documentation on custom validators

Currently a custom validators should follow ES6 and there's not much documentation or an example about it.
Here is the maxLength thing as an external custom validator
import {req, len} from 'vuelidate/lib/validators/common'
import {withParams} from 'vuelidate'

export default length => withParams(
    { type: 'maxLength', max: length },
    value => !req(value) || len(value) <= length
)

// then where you want to use it
import maxLength from ./maxLength

Please add/enhance the documentation on this matter.

👍  I can clearly see the docs are missing some depth here.
How do you imagine an example for that? I'm thinking about a "boilerplate validator" that you can tweak to change the code slightly. Not sure if that's enough though.

Probably that's sufficient.

I found this thread while trying to understand how to write a common validator module for several Vue components that will check password complexity, and the sample from OP was useful for figuring out how to export one.
Since I'm not trying to extend an existing module (that i know of), I ended up producing a simple 'hello world' evaluator to get things started. In the hopes it helps, judging from the comment above, here's what I wrote:
`// ./customValidators/stringHelloWorldChecker.js
export default text_entry => {
return ('hello world' === text_entry);
};
// then where you want to use it
import stringHelloWorldChecker from ./customValidators/stringHelloWorldChecker`
validations: {
someTextInputModel: { required, stringHelloWorldChecker }
}

And just to contribute a simple implementation for evaluating password complexity ;)
// ./customValidators/passwordComplexity.js
export default password => {
    // probably already handled by the required flag
    if(_.isNull(password) || !_.isString(password) || _.isEmpty(password))
        return false;

    // Minimum of 1 Uppercase Letter
    if(false === /[A-Z]/.test(password))
        return false;

    // Minimum of 1 Number
    if(false === /\d/.test(password))
        return false;

    // Minimum of 6 Characters
    // separately targeting input length to provide specific error message

    return true;
};

// then where you want to use it
import { required, minLength } from 'vuelidate/lib/validators';
import passwordComplexity from ./customValidators/passwordComplexity`

validations: {
  someTextInputModel: { required, minLength: minLength(6), passwordComplexity }
}

@kevintruby Thank you for providing an example of a true custom validator. I am confused at the documentation/example that shows the use of withParams, it's not clear why I should use it and what type means in context.


Reduce iterations in tests

Also other simplifications and some more progress printing.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.3%) to 37.831%

Files with Coverage Reduction
New Missed Lines
%

src/mcmc/Inference.jl
2
52.44%

src/mcmc/abstractmcmc.jl
2
92.86%

Totals

Change from base Build<PHONE_NUMBER>5:
-0.3%

Covered Lines:
586

Relevant Lines:
1549

💛  - Coveralls

I can approve and merge once CI passes :)

Some Ubuntu tests are timing out, but I'm going to merge on the basis that the tests pass on Windows and macOS and the root cause for the timeout is known (https://github.com/TuringLang/DynamicPPL.jl/issues/750) and will presumably be fixed soon (https://github.com/TuringLang/DynamicPPL.jl/pull/751).


IPv6 support.

Huhuhu, please reopen this one in 2020/2022 !

It is 2022, please reopen :)

PR Welcome 👯

PR Welcome 👯

Implemented it, expect a PR soon.

Nice shot ! Thank you.
I'd like to double check package deps before releasing a new version with your PR. Give me a few days.

1.9.0 published
Thank you @dsbaars !


Break Android code into constants for all Cordova methods and events

The method names and events should be broken into its own module for the following:
Methods

StartBroadcasting
StopBroadcasting
Connect
Disconnect

Events

peerActivityChanged
networkChanged

Technically Jukka has done this work. We know it's not fully compliant but those will be bug fixes that will come out of your tests.


WIP(jsonp): provide a help method to patch jsonp

fix https://github.com/angular/angular/issues/7792
provide a helper method to patch jsonp.
Because jsonp has a lot of implementation, so
user need to provide the information to let json send and callback in zone.
sample usage is:
import 'zone.js/dist/zone-patch-jsonp';
Zone['__zone_symbol__jsonp']({
  jsonp: getJSONP,
  sendFuncName: 'send',
  onSuccessCallbackFactory: function (self, args) {
      return {
          target: args[1],
          callbackName: 'onSuccess'
      };
    },
    onErrorCallbackFactory: function (self, args) {
      return {
          target: args[1],
          callbackName: 'onError'
      };
  }
});

update
now the CI failed because new version jasmine complains,  I have pinned the version of jasmine in #994.

Change to WIP to make the success callback factory more flexible.  I will update this PR later today.


Add AsciiDoc link to copy list

Notes
This follows the same pattern as HTML and Markdown.
You can copy this (which is what would be generated here):
image:https://badge.imagelayers.io/node:latest.svg[title="Get your own badge on imagelayers.io", alt="Get your own badge on imagelayers.io", link="https://imagelayers.io/?images=node:latest"]

and see a preview of the generation by an online renderer, like this one

Thanks for the PR


Addition of Kronecker inference for Grid Inputs + Gauss-Markov Models for 1-D Inputs

This work extends GPy with an implementation of Gauss-Markov models for single-dimensional data, and fast Kronecker inference for grid inputs. The implementation of these two models is largely stand-alone within GPy and should not interfere with the existing functionality.
Both approaches enable inference in linear time for the indicated structured inputs. This work is based on some of the models (and their corresponding implementations) discussed in the PhD thesis 'Scalable inference for structured Gaussian process models' (2012), by Yunus Saatçi, and 'Scaling multidimensional inference for structured gaussian processes' (2015), by Cunningham et al.
This work has been carried out under the supervision of Dr. Maurizio Filippone, who has previously also collaborated on extending GPy. Further implementation details may be found below.

Kronecker Inference for Grid Inputs
GPy already contains a GPKroneckerGaussianRegression model for carrying out fast inference on two-dimensional grid inputs. However, due to the fact that the implementation is hard-coded for two dimensions, thus rendering it inflexible, we decided to implement the procedure from scratch as a separate model, GpGrid, and having a wrapper called GPRegressionGrid.
This class inherits most of its functionality from the standard GP model, but also redefines the following procedures:

parameters_changed - In the standard case, the derivatives may be computed using the information contained in the GP posterior returned from the inference procedure. In this case, the evaluated derivatives are returned by the inference function itself, thus requiring no further computations;
raw_predict - The procedure for making predictions at new input locations also requires updating. To achieve this goal, we implement a new function, kron_mmprod, which extends upon the kron_mvprod procedure. This simply amounts to executing the latter function M times, where M denotes the number of test inputs;

The computation of covariance for this algorithm relies on breaking down a regular kernel function into a tensor product over a scalar function evaluated for every dimension. In order to achieve this functionality, we introduce a getOneDimensionalKernel method, which returns the scalar variant of the designated kernel. This scalar kernel must in turn implement the methods defined by a GridKerns class, which is intended to be a superclass for all such scalar kernels. Thus far, we have only provided an implementation for the RBF kernel, which can be decomposed into the scalar product of the GridRBF kernel evaluated over the individual dimensions. Finally, we also implemented a GridPosterior object, which is returned upon completion of the inference procedure, and can then be used for making predictions over test data, etc.
This model can be invoked in a manner similar to that of the standard GP regression model. An example for 5-dimensional data is provided below:
kernel = GPy.kern.RBF(input_dim=5, variance=1, ARD=True)
gridModel = GPy.models.GPRegressionGrid(X, Y, kernel)

Gauss-Markov Model for 1D inputs
We introduced a GpSSM class which implements a Gauss-Markov model for one-dimensional inputs. Once again, the GpSSM model extends the regular GP class whilst overriding certain methods, as follows:

optimize - Unlike the regular GP model, the optimisation is not carried out by directly maximising the marginal likelihood. Instead, we were required to implement an Expectation-Maximisation procedure. For the maximisation step, we decided to use the Limited-memory BFGS algorithm, which is one of the most widely-used optimisation algorithms for hyperparameter learning;
parameters_changed - Given that we do not compute derivatives of the likelihood w.r.t. the parameters in this model, this step was omitted in our implementation, and we simply carry out inference using the updated parameters when this method is invoked;
raw_predict - The procedure for making predictions is markedly different in this model, since it relies solely on the conditional distributions at the neighbouring states (input locations) in the Markov chain representation of the GP;

We also introduced a wrapper for the GpSSM class, GPRegressionSSM, so that the former model is indirectly instantiated through this class. As expected, we also introduced a GaussianSSMInference class, which contains the main implementation for constructing the Gauss-Markov model assuming Gaussian likelihood. The inference procedure yields SsmPosterior, which is expressly intended for the SSM in order to represent a Gaussian posterior over latent function values. This contains attributes which are necessary for both the optimisation and prediction procedures. Finally, we also introduced a new class for kernel functions which are suitable for Gauss-Markov models, SsmKerns, which in turn inherits methods from the base kernel class. This class mandates that all sub-classing kernel functions implement a series of necessary procedures, such as the transition functions from one state to another, as well as computing derivatives of the transition and covariance functions w.r.t. the parameters of the model. So far, we have only adapted the Matérn-3/2 kernel for use with this model. However, more kernels can easily be added provided that they implement all of the required functionality.
As in the previous case, this model can be accessed by invoking the indicated wrapper class, and setting the necessary parameters of the kernel:
kernel = GPy.kern.Matern32_SSM(input_dim=1, variance=1, lengthscale=1)
ssmModel = GPy.models.GPRegressionSSM(X, Y, kernel)￼

Current coverage is 51.32%

Branch #281 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.

This is very cool!
I haven't reviewed the code, but I have two comments: first, you seem to have deleted a bunch of docs, I imagine it was accidental, so it should be reverted.
The second is regarding style, getOneDimensionalKernel is a method, so it should be called get_one_dimensional_kernel, or some shorter bikeshedded variant. CamelCase in Python is reserved for class names.

Excellent! Firstly great news @kurtCutajar that you've done this, and
thanks so much @Dapid for looking at any issues in the pull request.
@mzwiessele do you think we can integrate rapidly given the fixes @Dapid is
suggesting?
On Tue, Nov 24, 2015 at 12:50 PM, Dapid<EMAIL_ADDRESS>wrote:

This is very cool!
I haven't reviewed the code, but I have two comments: first, you seem to
have deleted a bunch of docs, I imagine it was accidental, so it should be
reverted.
The second is regarding style, getOneDimensionalKernel is a method, so it
should be called get_one_dimensional_kernel, or some shorter bikeshedded
variant. CamelCase in Python is reserved for class names.
—
Reply to this email directly or view it on GitHub
https://github.com/SheffieldML/GPy/pull/281#issuecomment-159258017.

This is great indeed!
It would be greatly beneficial if you could do the suggested pep adjustments:

pep8 https://www.python.org/dev/peps/pep-0008/
pep20 https://www.python.org/dev/peps/pep-0020/

Also, and for me more importantly, you could try to go over to the devel branch, as the test coverage has been greatly increased over there. Also is there gradient checks to be done? I understand you are using an EM-like optimisation, so I am not sure.
What is about the docs? I saw that as well, and was wondering why you deleted that part? On the devel branch the documentation has changed significantly, so this might help with getting the docs back into this branch.
We will actually put the devel branch release out next week, so if you'd like this to be in the next release, you need to do it before next week.
Thanks so much, this is great work!

Thank you all for your feedback!
I deeply apologise for the late reply, but I was caught up with some other work commitments and missed the notifications for this conversation thread!
Removing the documentation was indeed a mistake on my part - apologies! I will ensure that this change is reverted. The style recommendations have also been noted! This was my first time working in Python so I'll be a bit more careful in the future. I will also follow your suggestion to merge my changes with the development branch first too.
I plan on having a go at the recommended fixes over the December break, and I will get back to you in due course. Hope this works well for you!
Best regards,
Kurt

I hope this is not forgotten? Could you merge in the current devel branch, so we can see the checks run again?
Also, can you go over to the devel branch, instead of master?
https://help.github.com/articles/using-pull-requests/#changing-the-branch-range-and-destination-repository

bump

Apologies once again - for some reason I never get any email updates for this pull request.
I had a chance to look at the most recent developments and noted that some notable changes have been effected, particularly the separation of the Parameterisation functions.  In view of these modifications, I decided to re-fork the GPy repo as I figured it would be easier to re-introduce my code from scratch, and indeed had no problem with the GpGrid code.
However, I encountered a somewhat more pertinent issue for the SSM model which relies on a two-step EM procedure which was originally also slightly troublesome to introduce (I believe GPy doesn't yet support such forms of optimisation explicitly). I had originally included this in the code by way of a not-so-elegant hack, but a new approach is required as a result the afore-mentioned separation of concerns.
I haven't yet figured out which is the best way to go about this problem, but hope to (very soon) set aside some time to do it properly.

Sounds great! I am aware, that GPy does not allow for EM like optimization, as it is meant for gradient based opitmization. The best way of implementing an EM approach in my opinion would be to put a new optimizer in, which knows about EM. This would then need an additional function (E-step is parameters_changed()) for the M-step or something like it. The default optimizer for your method would then be the EM optimizer, which can then be reused by other people who need an EM optimizer?

On 6 Apr 2016, at 15:40, kurtCutajar<EMAIL_ADDRESS>wrote:
Apologies once again - for some reason I never get any email updates for this pull request.
I had a chance to look at the most recent developments and noted that some notable changes have been effected, particularly the separation of the Parameterisation functions. In view of these modifications, I decided to re-fork the GPy repo as I figured it would be easier to re-introduce my code from scratch, and indeed had no problem with the GpGrid code.
However, I encountered a somewhat more pertinent issue for the SSM model which relies on a two-step EM procedure which was originally also slightly troublesome to introduce (I believe GPy doesn't yet support such forms of optimisation explicitly). I had originally included this in the code by way of a not-so-elegant hack, but a new approach is required as a result the afore-mentioned separation of concerns.
I haven't yet figured out which is the best way to go about this problem, but hope to (very soon) set aside some time to do it properly.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/SheffieldML/GPy/pull/281#issuecomment-206407979

I will give it a go as soon as possible. I apologise once again for the constant delays.


ImageStore operations for dev clusters (FileSystem)

All operations on the ImageStore give exceptions when using the client with a dev cluster. (also UploadApplicationPackageAsync)
Microsoft.ServiceFabric.Common.Exceptions.ServiceFabricException: FABRIC_E_SERVICE_DOES_NOT_EXIST. Service does not exist.
The reason is the lack of an ImageStoreService in a dev cluster. It uses the file system instead. The old fabric client api could handle this as you specified the ImageStoreConnectionString (filepath incase of a dev cluster).
Will there come support for the file system imagestore in this client aswell?

Yes @PepijnGramberg, the support for file system based image store will be added. I will assign this to myself, feel free to raise a PR if you get  to it before me :). Inthis first preview release support for apis exposed through Service Fabric REST apis is added.

I anticipate i'll be able to look at this either today or beginning next week (we need it as well)
Have you started any work on this yet?

Thanks @aL3891. I haven't started it yet, you can start on it. We can move these Upload methods to IImageStoreClient as we were discussing in #4

@PepijnGramberg I've made a reasinably finished PR for this now, feel free to take a look and see that your scenarios are covered

@aL3891 looks good on first glance, currently not able to test it. Maybe next week


Add ability to hide widgets

This is a refactored version of #745 with the changes suggested by @danharrin and a isVisible() static method on base Widget class to allow for better readability and further customization by the developer.

Since widgets are visible by default, we can safely remove the extra $onlyVisible parameter as it's not a BC.

Updated!

Thank you


[5.10][Backtracing] Fix ARM64e build failure.

Cherry-picking https://github.com/apple/swift/pull/69859 to release/5.10 on @al45tair’s behalf.

Accessing the thread context structures is complicated because their member variables change name depending on various macros.  This caused a build failure for ARM64e.
rdar://118402226

@swift-ci Please test

Explanation: Extracting the program counter from the ucontext_t structure is complicated on Darwin because the names of the member variables are affected by a number of different macros. It seems I'd overlooked one relating to ARM64e that renames them, presumably to avoid things that don't understand signed pointers.
Risk: Very low. Fixes a build issue for ARM64e.
Original PR: #69859
Reviewed by: @mikeash
Resolves: rdar://118402226
Tests: Fixes the build, so we'll know if this is wrong.


ci: condition 'e2e.yml' on 'rust.yml'

closes: #119

It seems that this needs to be merged to main for it to work as intended according to the docs https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run


GPU Plugin crashes RuneLite on turning on.

Describe the bug
RuneLite boots correctly with gpu option turned off, when turned on it immdiatly crashes and comes up with with the following error this error has only just started happening, was playing yesterday with no problems when gpu was on.
'OpenGL ES Error cant find the intel graphics'

Steps to reproduce the behavior:

Go to RuneLite
Click on Gpu toggle
See error

Expected behavior
Yesterday was running the gpu plugin without an issue, should expect game to use my gpu to render map
Screenshots
Please see above error
Environment (please complete the following information):

OS: Windows
RuneLite version: <IP_ADDRESS>
Launcher version: 2.1.3

Additional context
Please see below crash log.
jvm_crash_pid_1564.log

We didn't make any changes to the client between the time you made this issue and the day before that, so whatever changed was likely something else on your computer. Can you try rolling back your graphics drivers to an earlier version to see if that changes the behavior?/

Hi Nightfirecat,
I have tried rolling back the drivers as per your request, but unfortunately this hasn't helped, is there a way of possibly getting a fresh reset of RuneLite, Whenever i seem to reinstall it already has all of my plugin preferences, would this help at all?
Please let me know :)

Same thing has started to happen to me as well. Was working fine, then two days ago the client freezes (the renderer) with the GPU plugin turned on. I have not updated any drivers, nor done any other changes to my PC since last time it was working.
However, I do not get that error message. My client just freezes without any errors.

We have recently replaced the GL library used by the GPU plugin. Given that change and that we are not able to reproduce this issue, we are closing this. Please comment if you still experience this issue.


Hard coded link in 404 template

The 404.html template in wagtail/admin/templates/wagtailadmin/ has a hard coded link.
In {% block furniture %}:
{% trans "Go to Wagtail admin" %}
Wagtail 2.0

Hey @robslotboom, thank you for reporting this. Could you submit a PR with the fix?

Hey @thibaudcolas, I’ll look for a workable sollution.

Well, seems like it was fixed in #4419 🙂.


This happens on some window managers like i3 while it works fine on others like kwin. I can't actually fix this because there is no sure way to get window frames on all systems and across all the possible combinations.


Added LogoutButton component

Components added:

LogoutButton (common)

/rebase

/deploy-staging

/rebase

/deploy-staging

/rebase

/deploy-staging

/rebase

/deploy-staging

/rebase

/deploy-staging

/deploy-staging

/merge

Aborted the merge since the commits need squashing

/merge

/merge


fully hide navigation drawer

I don't need the navigation drawer, how can I hide it completely?
I want to create something like this site.

Dont return a NavigationType.drawer from the navigationTypeResolver.
Set the overflow-attributes (e.g. railNavigationOverflow) to a value that matches the number of items that you want to display in the corresponding navigation type.

That should work out just fine. If not feel free to post your code and I will see if I need to update the package to make it possible.

Dont return a NavigationType.drawer from the navigationTypeResolver.
Set the overflow-attributes (e.g. railNavigationOverflow) to a value that matches the number of items that you want to display in the corresponding navigation type.

That should work out just fine. If not feel free to post your code and I will see if I need to update the package to make it possible.

Thanks it works but it does not have NavigationRailLabelType.

Perfect.
I initially only meant to provide default widgets for for faster prototyping. There are builders for each type. With those you can use any custom widget you like. I will revisit this once I have a little more time, if there arent too many props for each default widget I would be open to let the user customize them directly.


[fpga] Model USB output constraints as source-sync

Get a more forgiving max skew analysis by assigning one member of the
group as a clock and performing timing analysis for the others relative
to the "clock".

@GregAC This will hopefully allow us to reapply https://github.com/lowRISC/opentitan/commit/9f2fccf76a250c5398514da8a9bda98c544a9ee0 , as the output constraints should now be more forgiving of usbdev's placement.

@GregAC This will hopefully allow us to reapply 9f2fccf , as the output constraints should now be more forgiving of usbdev's placement.

Great I'll do a PR to reapply and see what the CI gives us.


Refactor code to use @bot.command instead of on_message

Right now, the commands are executed through the on_message mechanic; we need to refactor the code to use @bot.command as much as possible.

Also, refactor to use cogs as well.


Performance Optimization: Avoid recalculating static information with each codec call

Currently, we have in a lot of codecs the same or similar calls. Like getting a chunk of fields to iterate over.
The usual way of using schemas is to have static once that never change during runtime. Therefor recalculating a collection of all fields or transient fields and so on, should be done once and not with every call of a codec operation.
For recursive / tree like structures this might need to be lazy.

pre calculate needed information in the schema
replace the code parts that calculate them on each call in the codecs with the pre calculated values to increase performance

/bounty $100

/attempt #650


updating conda requirements to prevent pip installing things on its o…

Adding conda requirements. See: #25

Codecov Report

Merging #26 (36d49ea) into main (a361203) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   72.25%   72.25%
=======================================
  Files           9        9
  Lines         739      739
=======================================
  Hits          534      534
  Misses        205      205

Flag
Coverage Δ

unittests
72.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ChrisBarker-NOAA @lukecampbell I'd like to wait on this. I suspect this is mixed up because all of the packages hadn't been available on conda-forge previously. BUT, I think they are all now. I am going to put together the conda-forge recipe and then post back here.

As long as it gets cleaned up at some point.
But we will be installing from source, at least some of the time, and while under development and/or on our CI services, so we should have a correct conda_requirements.txt file, even if there's also a recipe for building it on conda-forge.
Now that I think about it -- we are installing on our CI right now, so merging this (or similar) sooner than later would be good.
While we are at it -- it would be nice to figure out what's up with the siphon package on conda-forge.

See https://github.com/NOAA-ORR-ERD/model_catalogs/issues/25 for more information


Method to determine key type if the key is a valid NSec key format

Dealt with a bug for 3 days because of a single typo of an X25519 key being imported as an Ed25519 key. Would be nice to input a byte[40] and get the key type, if it's valid.

Glad to hear that you caught that bug 😀
That sounds like it could be a useful addition. How would you use the method; could you provide some example code?

var key1 = Key.Create(KeyExchange.X25519 /*pretend we don't know this*/); var key1Bytes = key1.Export(KeyFormat.NSecPrivateKey); var importkey = Key.Import(NSec.Autodetect, key1Bytes, NSec.PrivateKey);
I found out I could simply inspect the bytes of a key and find out what type of key it was, that's what let me find the bug. I looked for documentation on the format of NSec.* keys but couldn't find any.

Thanks a lot for the example! The implementation of the autodetect method would be roughly like this:
foreach (var algorithm in AllAlgorithms)
{
    if (algorithm.TryImport(algorithm, blob, KeyFormat.NSecPrivateKey, out var key))
    {
        return key;
    }
}
return null;

Is it worth adding that to NSec or would it be better to provide this e.g. as an example for using NSec? (I'm asking because I guess that users might want to customize the subset of algorithms and the format. Then the API could become quite complex.)
Documenting the key formats is indeed something that should be useful; I haven't got around to do it yet.
(Apologies if this is going a bit slow...)

What about this?
 public static Key Import(
-    Algorithm algorithm,
+    Algorithm? algorithm,
     ReadOnlySpan<byte> blob,
     KeyBlobFormat format,
     in KeyCreationParameters creationParameters = default)

So it's the same method that already exists, except that, if algorithm is  null, it would attempt to auto-detect algorithm.

It seems this is not as simple as it seems: For foreach (var algorithm in AllAlgorithms) to work, NSec need to know the list of all algorithms. But some algorithms are in NSec.Experimental.
What we could do instead is this:
public static Key Import(
    Algorithm[] algorithms,
    ReadOnlySpan<byte> blob,
    KeyBlobFormat format,
    in KeyCreationParameters creationParameters = default)
{
    foreach (var algorithm in algorithms ?? Array.Empty<Algorithm>())
    {
        if (TryImport(algorithm, blob, format, out Key? key, in creationParameters) && key != null)
        {
            return key;
        }
    }

    throw Error.Format_InvalidBlob();
}

So it's a new function that takes an array of algorithms as input and then tries to import using each of them. Thoughts?

I was initially thinking of a function that would just inspect the beginning bytes and determine based on that (that's how I figured it out). It's a nitpicky edge case though, and if it would be too complicated to implement, that's okay with me.


"Google Account not Found" when you dismiss multiple times the modal

Hi, I encountered a problem when I dismiss the account selection modal more than once. It would seem that if you click outside the modal or on the X more than 3/4 times, Android blocks you and shows you the Google account not found dialog. Clearing the cache doesn't work, and neither does deleting the app and reinstalling it.

Android version 13
App is build signed with this 2 settings: isShrinkResources = true, isMinifyEnabled = true
App not works also with debug apk
This works in my case because I have multiple accounts on list
I set rememberAccount = false on OneTapSignInWithGoogle (Not works also with rememberAccount = true)

"If you encounter this 24-hour cooldown period during development, you can reset the cooldown by clearing Google Play services' app storage. Alternatively, to toggle on/off this cooldown on a test device and/or emulator alike, simply go to the Dialer app and input the following code: ##66382723##. Upon submission, there will be no feedback, but your dialer will clear all input and may close. The cooldown should be toggled off after this. To toggle it back on, input the same code again."
Check more information on this link: https://developers.google.com/identity/one-tap/android/get-saved-credentials#disable-one-tap

@stevdza-san Is it possible to cast this specific case in the OneTapSignInWithGoogle composable such as onDialogDismissed?

@AlessandroVendraminiDeveloper That's a good suggestion, however, underneath, the One-Tap API does trigger a cancel state, when that happens. Which is the same as when a user manually cancels the dialog. It's hard to distinguish.

Ok thanks a lot! :)

@AlessandroVendraminiDeveloper I've just pushed a new release "1.0.11". Now you should be able to receive a custom error message when your sign in call has been blocked.


Add option to allow inactive user authentication and token generation

The problem:
Some specific use cases require inactive users to be able to authenticate, but that is prevented by the code even though django allows it with 'AllowAllUsersModelBackend'.
The changes:
Added new authentication class and authentication rule that allow for inactive users
Added tests for them as well
So instead of having to rewrite the code allowing inactive users can be done by adding these settings:
SIMPLE_JWT = {
      "USER_AUTHENTICATION_RULE": "rest_framework_simplejwt.authentication.allow_inactive_users_authentication_rule",
}

REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': [
        'rest_framework_simplejwt.authentication.JWTInactiveUserAuthentication',
    ]
}

AUTHENTICATION_BACKENDS = [
    'django.contrib.auth.backends.AllowAllUsersModelBackend',
]

closes #607

Thanks for reaching out! So the offending line of code in the original authentication backend is:
        if not user.is_active:
            raise AuthenticationFailed(_("User is inactive"), code="user_inactive")

I would much prefer if we made a setting called "skip check is_active" where the setting defaults to False (as in by default check is_active) because I can also see how some users may not create an is_active flag. This would knock out two use caes. Ensure the default authentication rule function also checks for this setting.

Updated based on what you suggested, i also changed the check for user.is_active with the user authentication rule since it seems limiting for it to be hardcoded, i still need someone smarter to tell me if this breaks backwards compatibility or something.


IKS UAI: Decline "Something Went Wrong"

Describe the bug
Decline from IKS UAI when the request does not exist on the backend.

[x] Dismiss the UAI with a valid message, "IKS Request not found". and mark the UAI complete.

https://github.com/user-attachments/assets/d4c6df85-7756-49c6-a609-4fddab79c84f

Getting "Something went wrong" message on decline the IKS request.

it is resolved, tested it with @cakesoft-utkarsh.

Ok so closing @Raheel1258


add new feature AliasAssign to spec

Implementation: https://github.com/dlang/dmd/pull/11846

@WalterBright If you can address my review comments, I can merge this as soon as #2919 is good to go.


Update donations__thanks_dialog as per @xicciodj

Sorry for not following translation project but transifex link seems to be down.
Related:
https://github.com/Mygod/VPNHotspot/pull/137#pullrequestreview-336562467
https://github.com/Mygod/VPNHotspot/pull/137/commits/10e88ffc40a2ef226b40f6ab2744c3dcdf8812e9

I updated the link: https://www.transifex.com/sufficientlysecure/donations/
Please translate there.

Done!


Need to update sample

Type of issue
Missing information
Feedback
This sample steps little change, we have update readme, Please update the sample steps based on given Readme.
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/meetings-sidepanel/csharp/README.md
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-meetings-sidepanel?tabs=dev%2Cvs&source=docs
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/sbs-meetings-sidepanel.yml
Author
@surbhigupta
Document Id
c1a955d5-85bc-7efd-c991-c705cf18d0b0

Hi @surbhigupta12, could you please help here to update this SBS guide based on below sample README?
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/meetings-sidepanel/csharp/README.md


Button default slot is not working correctly with created preset

This is how my buttons looks like before (styling created with the old theme definition from https://primevue.org/button/
The second one is using the default slot

Now, with a generated preset (Lara) from https://tailwind.primevue.org/builder/ my buttons looks like this (ignore the different colors)

Hi, can you explain the problem a bit more? Or you can send a Codesandbox because I am not sure about the issue from these screenshots.
Thanks

Hi, I've faced the same issue yesterday, so maybe I can help :
If you try to set the content of the button directly in the slot instead of using the label prop, the button doesn't have the right width (like shown in the picture).

Hi, I've faced the same issue yesterday, so maybe I can help : If you try to set the content of the button directly in the slot instead of using the label prop, the button doesn't have the right width (like shown in the picture).

Correct.
But I'm not sure, if/how I can create a Codesandbox with Primevue + Tailwind Preset, but I have the issue with the generated Lara preset from https://tailwind.primevue.org/builder/

Thanks a lot for your updates! We'll check it before the next version is released.
Best Regards,

Hi, we will have a catchup release today. I will move this issue to this week's release.


Memory Leak Issue When Resizing Windows in Split Screen Mode

Type: Bug
Description:
I've encountered a significant issue that appears to be a memory leak when resizing windows in split screen mode. This issue specifically occurs when adjusting the size of the Visual Studio Code (VSCode) window.
Steps to Reproduce:
Open VSCode and Gedit.
Arrange the VSCode window on the right and the Gedit window on the left side of the screen to view them simultaneously in split screen mode.
Attempt to resize the VSCode window by dragging the middle divider to make it larger.
Expected Result:
The VSCode window should resize smoothly without impacting system performance.
Actual Result:
Upon resizing the VSCode window, my entire computer freezes. This freeze lasts for approximately 2 seconds, after which the window moves slightly. During this incident, I am unable to perform any actions on the computer.
Additional Information:
Upon checking the system's memory performance, there is a noticeable spike in memory usage coinciding with the resizing action. This suggests a potential memory leak.
This issue does not occur when resizing the Gedit window or when VSCode is used in full-screen mode.
here is the video evidence
https://github.com/microsoft/vscode/assets/64491307/2b95ba59-ef74-418a-9bb4-b63ef1a8bcad
VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T22:27:05.695Z)
OS version: Linux x64 6.2.0-37-generic
Modes:
Connection to 'ssh-remote+<IP_ADDRESS>' could not be established

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 4261)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
23.28GB (15.35GB free)

Process Argv
--unity-launch --crash-reporter-id a7f3a65f-a9e4-4a30-9293-3e0c9322e3af

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
wayland

Connection to 'ssh-remote+<IP_ADDRESS>' could not be established
Extensions (26)

Extension
Author (truncated)
Version

flutter-snippets
ale
3.0.0

file-properties-viewer
bru
1.1.0

dart-code
Dar
3.78.2

flutter
Dar
3.78.0

python-environment-manager
don
1.2.4

vscode-drawio
hed
1.6.6

git-graph
mhu
1.30.0

vscode-docker
ms-
1.28.0

pylint
ms-
2023.10.1

python
ms-
2023.22.0

vscode-pylance
ms-
2023.11.10

jupyter
ms-
2023.11.1003402403

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.327.0

remote-ssh
ms-
0.107.1

remote-ssh-edit
ms-
0.86.0

makefile-tools
ms-
0.7.0

remote-explorer
ms-
0.4.1

autodocstring
njp
0.6.1

ansible
red
2.9.118

vscode-yaml
red
1.14.0

gpthelper
Sil
0.3.6

pdf
tom
1.2.2

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
962ge761:30917236
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30910333
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232

Can you see if it still reproduces when disabling the GPU support in VSCode? You can do that by running VSCode from the command line like this: code --disable-gpu
If that helps, you can permanently configure this option via:

Command Palette search for "Configure Runtime Arguments"
Set disable-hardware-acceleration: true
Restart

Can you clarify if you have started VSCode with wayland platform (i-e) code --ozone-platform=wayland, if not please check whether the issue repros in this backend.

code --disable-gpu  = not working. Same issues
vs code was started in the standard way (clicking on the shortcut) I confirm that it was not from the ozone command line.
joseph@joseph-Latitude-5400:~$ code --ozone-platform=wayland
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium.
I can't test the ozone one because there is literally no border

Sorry for the late reply

I confirm that it's a Wayland issue!
when I switched to x11, there was no memory leak!
https://github.com/microsoft/vscode/assets/64491307/156075c6-9ce8-41f2-bc68-1603d8354890

I can't test the ozone one because there is literally no border

Ah for the current stable version you would also need to run with code --ozone-platform=wayland --enable-features=WaylandWindowDecorations

Does this issue repro with Chrome or Edge under wayland session ?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Is it possible to call the color picker from a plugin?

If someone is developing a vscode plugin, is there a way to call the color picker from a command?
If not, would adding the ability to do so be a good idea?

This will be supported in our next release, please see the currently proposed ColorProvider API in vscode.proposed.d.ts that we will make official.


Synchronisation sequence breaks in dual master mode

Hi, my production pika instance is in dual master mode, but I have found its behaviour that should be fixed.
Database contains about 1700 keys most of them are hash sets with less than 5k entities each. Size of DB is 21Gb.
Also I have set in it which I use as queue for processing workers (sAdd/sPop).
Usually sequence looks like hSet of task body and setting the task itself with sAdd right after.
If task is being set via DB instance 1 and worker is connected to instance 2 sometimes string record comes faster to it than hash entity.

which version of pika are you using in your production environment?
what did you mean by 'string record' which 'comes faster'?
to be more clearer, did you mean that in the dual-master mode, you did
HSET key field val
on instance1, and
SADD key2 member or SPOP key2
on instance2,
but the hash value of the corresponding key does not exist on instance 2?

I am using 3.0.2 binary release. Both instances running on the same machine connected over loopback interface.
On instance1 I do "HSET key1 field val" (size of value is about 1MB) and "SADD key2 member" right after (next line in PHP code). On instance2 "SPOP key2" returns "member" which is correct, but "key1 field" is not set.

We followed your description, but did not appear the problem you said, can you contact us in our qq technology exchange group (294254078)

@iseriser are there any clues in the pika.ERROR log?
since binlog writing is serialized, it looks a bit weird.
is the issue reproducible under a master-slave configuration, or only occurs when dual-master mode is used? are the server-ids of the 2 masters different with each other?
furthermore, if necessary and possible, you can sent your corresponding binlog(write2filexxx) to @Axlgrep to do some analyzing.
and the QQ group (294254078) might be more convenient to communicating with the dev team, if you have one :)


Add ALTools version 1.0

The Account Lockout and Management Tools are a small suite of utilities from Microsoft for troubleshooting account lockouts. Microsoft has not released any updates in six years, so I did not include a version check. I was also unable to locate a license for these utilities.

Replaced by https://github.com/lukesampson/scoop-extras/pull/1355


Make error message clearer for command

Make error message clearer for this command:
itadmins-MacBook-Pro:LEVEL2 maullz$ nidmfsl group_deweight_outliers.gfeat/ numsubjects 16
Traceback (most recent call last):
File "/usr/local/bin/nidmfsl", line 45, in
num_subjects = map(int, args.numsubjects)
ValueError: invalid literal for int() with base 10: ‘numsubjects'

@AlexBowring: Thanks for reporting this!
Can you make sure you use Markdown code blocks when you are citing code so that your comments are more readable? (I have updated your comment above).

This should also be fixed by https://github.com/incf-nidash/nidmresults-fsl/pull/93.


Could you check the memory usage for XL-large model?

I use a single V100 GPU with 32G RAM, and run the train sts-b script given in readme. The script runs succeed when I set batch size=4, or it will stop with OOM error. This phenomenon is different from the description in the memory usage table. So could you check the number in that table?
p.s. I notice you set batch size = 8 even you use 4 GPU.

A 32G memory GPU should be able to support a batch size of 8-16 with a max_seq_length of 128. You might want to double check the other hyperparameters and the TF version (tested under 1.13.1).
train_batch_size is per-GPU batch size (see Notes in https://github.com/zihangdai/xlnet#1-sts-b-sentence-pair-relevance-regression-with-gpus), so we are effectively using a batch size of 32 with 4 GPUs.

Ok, thanks to your reply.


Add spell variants for damage spells with variable cast times

Covers the straightforward damage spells with variable cast times that I could find.

We probably need to prevent description data from being spit into the overlays.

The core issue has been more or less resolved by Inluki (unfortunately it cannot be prevented, only stripped out towards the end) but I did some suggestions to hopefully not cause you to waste additional time because of a bug.


Swiper doesn't work with Typescript + ESM "NodeNext" specifier

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-esm-nodenext-bug-tfo8uf?file=/src/App.tsx
Bug description
Swiper modules like Pagination or Navigation can't be imported when using TypeScript, ESM and tsconfig with module and moduleResolution set to "NodeNext". A TypeScript error occurs: Cannot find module 'swiper' or its corresponding type declarations.ts(2307)
Expected Behavior
The import should just work.
Actual Behavior
The import doesn't work and TypeScript throws an error.
Swiper version
8.3.2
Platform/Target and Browser Versions
Browser
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

We are using Swiper with React on the server and client. Unfortunately we stumbled over this problem as well, while we started to convert our CommonJS source code to ESM. Any chances to fix your package.json using exports with proper typings references like

Same problem here. Would you accept a PR for this? All exports need to be declared explicitly as @Sebastian-Fitzner noted already.

can confirm! I thought it was a yarn v3 problem

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Avalonia adorner

Hello, the browser part of my application is blocking the avalonia adorner. How can I display the avalonia adorner on top of the browser?
Avalonia version: 10.22

Hi,
You need to use the offscreen rendering capabilities, setting this property
Beware that this brings some performance and behavior issues, and its recommend to stay off.


Bip 39 Worlist

Hi , I am using a 18 word recovery phase, but iancoleman.io/bip39/ is not accepting my words.
but i know my words are correct.why are my words not there in bip39 wordlist.

Sorry this is not the place for providing user support. Try stackexchange or reddit.


Added FalconMessenger to Messaging

Project URL
https://github.com/RMizin/FalconMessenger
Category
Messaging
Description
Falcon Messenger is a fast and beautiful cloud-based messaging app.
Checklist

[x] Only one project/change is in this pull request
[ ] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 5 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

204
404
https://www.pluralsight.com/courses/exploring-google-maps-for-ios

1068
301
https://github.com/MailOnline/ImageViewer redirects tohttps://github.com/Krisiacik/ImageViewer

2818
301
https://github.com/xcode-project-manager/xcproj redirects tohttps://github.com/xcode-project-manager/xcodeproj

3031
301
http://asciiwwdc.com redirects tohttps://asciiwwdc.com/

3061
404
https://www.pluralsight.com/courses/try-objective-c

  Generated by :no_entry_sign: Danger

Hello @RMizin, thanks for contributing! Unfortunately, I cannot approve your PR because this repo is an actual app and not a library / tool. You can include your project on @dkhamsing's repo: open-source-ios-apps


fix local variable 'func' referenced before assignment

I just met that problem, and adding func variable before will fix it.

can you give me your gcov output data, line where function name should before lines where lcout


copper chelator added

copper chelator added
PMID:24569997
synonym Tetrathiomolybdate added

synonym will have to be narrow, because lots of other compounds can chelate copper

yep.
do you think I should have requested "Tetrathiomolybdate added", or is it better to lump?

I don't have a strong preference ... lump for now and see if there's ever any demand for greater precision?

yep.

added plus narrow syn


Promise.map() got TypeError: Cannot match against 'undefined' or 'null'

It works at version 3.3.5 but doesn't work at version 3.4.0
Node version 6.0
Promise.map(httpCalls, (http, id) => {     const httpExp = preProcess(http, testData);     return request(id, httpExp).then(result => logResult(result)); }, 20);

The parameter 20 is incorrect, but it should give a more helpful error message

Cannot repro, I get: TypeError: options argument must be an object but it is [object Number]


Improve scraper for titles with special characters/symbols

The addon currently does not return links for titles that have special characters or accents (America's Got Talent, Tár). The original addon fixed this by removing the characters from the scraper and/or substituting a non accented letter, etc.
Fixing this would make the addon pretty much perfect.

Would you be interested in adding this feature? I'll gladly accept a PR!

Yes, it would make the addon perfect!


Rename reads to alignments in methods where appropriate

E.g.
AlignmentRecordDataset
sortReadsByReadName → sortByReadName
sortReadsByReferencePosition → sortByReferencePosition
sortReadsByReferencePositionAndIndex → sortByReferencePositionAndIndex
FragmentDataset
toReads → toAlignments
Timers
val SortReads = timer("Sort Reads") → val SortAlignments = timer("Sort Alignments")
val SortByIndex = timer("Sort Reads By Index") → val SortByIndex = timer("Sort Alignments By Index")
Reads2Coverage → Alignments2Coverage (or use a verb instead of foo2bar style?)

@akmorrow13 Is there a better name than Alignments2Coverage for the command line tool that calculates coverage for alignments?  I don't like the foo2bar style.

We can use toCoverage or AlignmentsToCoverage. The former is shorter and cleaner but doesn't specify the original state, which I think may be important in ADAM

Can we verb something?  All the other commands start with a verb, Count/Merge/Transform/Print/View.

I guess countCoverage?

Yeah, naming things is hard.  Is coverage enough?
https://www.biostars.org/p/5165/
https://www.illumina.com/science/education/sequencing-coverage.html
https://bedtools.readthedocs.io/en/latest/content/tools/coverage.html

Yes @heuermh  that sounds much better!


Update Composer dependencies (2024-03-22-00-12)

Visual regression test passed!
View the visual regression test report


Bot

Create a telegram bot with long polling of servers.

Discussed.
Improvements:
Add multi-stage build
Bug-fix


outbound为trojan协议时内置dns服务异常

What version of V2Ray are you using?

V2Ray 4.45.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.18.1 linux/amd64)
A unified platform for anti-censorship.

What's your scenario of using V2Ray?

proxychains curl google.com
What problems have you encountered?

outbound为trojan协议时内置dns服务会返回context deadline exceeded错误（详见下面log），在配置了多个备选dns服务的情况下会一直retry到最后一个失败后再返回内容。vmess协议无此问题。
值得注意的时，context deadline exceeded错误发生在A记录返回成功之后，但与vmess的日志对比发现trojan的日志里完全没有AAAA记录的输出，所以猜测该报错是否实为AAAA解析失败？
What's your expectation?
outbound为trojan协议时能正常完成dns查询。
Please attach your configuration here

Server configuration:
使用机场，无法提供。
Client configuration:
基于https://github.com/v2fly/v2ray-core/blob/master/release/config/config.json 修改log level并分别增加如下两个outbound用于对比测试：
// config.json, dns解析异常的情况
{
    "protocol": "trojan",
    "settings":{
      "servers": [
        {
          "address": "xxxxxxxx",
          "port": xxxxx,
          "password": "xxxx"
        }
      ]
    },
    "streamSettings": {
      "network": "tcp",
      "security": "tls"
    },
    "tag": "proxy"
  }

// config_vmess.json, dns解析正常，仅用于与异常状态对比
{
    "protocol": "vmess",
    "settings": {
      "vnext": [
        {
          "address": "xxxxx",
          "port": 443,
          "users": [
            {
              "id": "xxxxx",
              "security": "none"
            }
          ]
        }
      ]
    },
    "streamSettings": {
      "network": "ws",
      "security": "tls",
      "wsSettings": {
        "path": "/foobar"
      }
    },
    "tag": "proxy"
  }

Please attach error logs here

Server error log:
使用机场，无法提供。
Client trojan log:
❯ v2ray -c config.json
V2Ray 4.45.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.18.1 linux/amd64)
A unified platform for anti-censorship.
2022/05/21 15:49:41 [Info] main/jsonem: Reading config: config.json
2022/05/21 15:49:41 [Debug] app/log: Logger started
2022/05/21 15:49:41 [Info] app/dns: DNS: created UDP client initialized for <IP_ADDRESS>:53
2022/05/21 15:49:41 [Info] app/dns: DNS: created UDP client initialized for <IP_ADDRESS>:53
2022/05/21 15:49:41 [Info] app/dns: DNS: created UDP client initialized for <IP_ADDRESS>:53
2022/05/21 15:49:41 [Info] app/dns: DNS: created localhost client
2022/05/21 15:49:41 [Debug] app/proxyman/inbound: creating stream worker on <IP_ADDRESS>:1080
2022/05/21 15:49:41 [Info] transport/internet/tcp: listening TCP on <IP_ADDRESS>:1080
2022/05/21 15:49:41 [Warning] V2Ray 4.45.0 started
2022/05/21 15:49:53 [Info] [1747427106] proxy/socks: TCP Connect request to tcp:[2404:6800:4005:801::200e]:80
2022/05/21 15:49:53 [Info] [1747427106] app/dispatcher: sniffed domain: google.com
2022/05/21 15:49:53 [Debug] app/dns: domain google.com will use DNS in order: [UDP:<IP_ADDRESS>:53 UDP:<IP_ADDRESS>:53 UDP:<IP_ADDRESS>:53 localhost]
2022/05/21 15:49:53 [Debug] app/dns: UDP:<IP_ADDRESS>:53 querying DNS for: google.com.
2022/05/21 15:49:53 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:49:53 [Info] transport/internet/udp: establishing new connection for udp:<IP_ADDRESS>:53
2022/05/21 15:49:53 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:49:53 [Info] app/dispatcher: default route for udp:<IP_ADDRESS>:53
2022/05/21 15:49:53 [Info] transport/internet/tcp: dialing TCP to tcp:xxxxxxxxxxxxxxx
2022/05/21 15:49:53 [Info] proxy/trojan: tunneling request to udp:<IP_ADDRESS>:53 via tcp:xxxxxxxxxxxxxxx
2022/05/21 15:49:54 [Info] app/dns: UDP:<IP_ADDRESS>:53 got answer: google.com. TypeA -> [<IP_ADDRESS>] 203.649313ms
2022/05/21 15:49:54 [Debug] app/dns: UDP:<IP_ADDRESS>:53 updating IP records for domain:google.com.
2022/05/21 15:49:57 [Info] app/dns: failed to lookup ip for domain google.com at server UDP:<IP_ADDRESS>:53 > context deadline exceeded
2022/05/21 15:49:57 [Debug] app/dns: UDP:<IP_ADDRESS>:53 querying DNS for: google.com.
2022/05/21 15:49:57 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:49:57 [Info] transport/internet/udp: establishing new connection for udp:<IP_ADDRESS>:53
2022/05/21 15:49:57 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:49:57 [Info] app/dispatcher: default route for udp:<IP_ADDRESS>:53
2022/05/21 15:49:57 [Info] transport/internet/tcp: dialing TCP to tcp:xxxxxxxxxxxxxxx
2022/05/21 15:49:57 [Info] proxy/trojan: tunneling request to udp:<IP_ADDRESS>:53 via tcp:xxxxxxxxxxxxxxx
2022/05/21 15:50:01 [Info] app/dns: failed to lookup ip for domain google.com at server UDP:<IP_ADDRESS>:53 > context deadline exceeded
2022/05/21 15:50:01 [Debug] app/dns: UDP:<IP_ADDRESS>:53 querying DNS for: google.com.
2022/05/21 15:50:01 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:50:01 [Info] transport/internet/udp: establishing new connection for udp:<IP_ADDRESS>:53
2022/05/21 15:50:01 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:50:01 [Info] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2022/05/21 15:50:01 [Info] app/dispatcher: default route for udp:<IP_ADDRESS>:53
2022/05/21 15:50:01 [Info] transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2022/05/21 15:50:01 [Info] transport/internet/tcp: dialing TCP to tcp:xxxxxxxxxxxxxxx
2022/05/21 15:50:01 [Info] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2022/05/21 15:50:01 [Info] transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe
2022/05/21 15:50:01 [Info] proxy/trojan: tunneling request to udp:<IP_ADDRESS>:53 via tcp:xxxxxxxxxxxxxxx
2022/05/21 15:50:02 [Info] app/dns: UDP:<IP_ADDRESS>:53 got answer: google.com. TypeA -> [<IP_ADDRESS>] 154.079553ms
2022/05/21 15:50:02 [Debug] app/dns: UDP:<IP_ADDRESS>:53 updating IP records for domain:google.com.
2022/05/21 15:50:05 [Info] app/dns: failed to lookup ip for domain google.com at server UDP:<IP_ADDRESS>:53 > context deadline exceeded
2022/05/21 15:50:05 [Info] app/dns: Localhost got answer: google.com -> [2404:6800:4005:801::200e <IP_ADDRESS>]
2022/05/21 15:50:05 [Info] [1747427106] app/dispatcher: default route for tcp:google.com:80
2022/05/21 15:50:05 tcp:<IP_ADDRESS>:35036 accepted tcp:[2404:6800:4005:801::200e]:80
2022/05/21 15:50:05 [Info] [1747427106] transport/internet/tcp: dialing TCP to tcp:xxxxxxxxxxxxxxx
2022/05/21 15:50:05 [Info] [1747427106] proxy/trojan: tunneling request to tcp:google.com:80 via tcp:xxxxxxxxxxxxxxx
2022/05/21 15:50:06 [Info] [1747427106] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2022/05/21 15:50:06 [Info] [1747427106] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2022/05/21 15:50:09 [Info] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2022/05/21 15:50:09 [Info] transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe

Please attach access log here

Client vmess log:
// Please attach your server access log here.
❯ v2ray -c config_vmess.json
V2Ray 4.45.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.18.1 linux/amd64)
A unified platform for anti-censorship.
2022/05/21 15:57:06 [Info] main/jsonem: Reading config: config_vmess.json
2022/05/21 15:57:06 [Debug] app/log: Logger started
2022/05/21 15:57:06 [Info] app/dns: DNS: created UDP client initialized for <IP_ADDRESS>:53
2022/05/21 15:57:06 [Info] app/dns: DNS: created UDP client initialized for <IP_ADDRESS>:53
2022/05/21 15:57:06 [Info] app/dns: DNS: created UDP client initialized for <IP_ADDRESS>:53
2022/05/21 15:57:06 [Info] app/dns: DNS: created localhost client
2022/05/21 15:57:06 [Debug] app/proxyman/inbound: creating stream worker on <IP_ADDRESS>:1080
2022/05/21 15:57:06 [Info] transport/internet/tcp: listening TCP on <IP_ADDRESS>:1080
2022/05/21 15:57:06 [Warning] V2Ray 4.45.0 started
2022/05/21 15:57:13 [Info] [4260222460] proxy/socks: TCP Connect request to tcp:[2404:6800:4005:801::200e]:80
2022/05/21 15:57:13 [Info] [4260222460] app/dispatcher: sniffed domain: google.com
2022/05/21 15:57:13 [Debug] app/dns: domain google.com will use DNS in order: [UDP:<IP_ADDRESS>:53 UDP:<IP_ADDRESS>:53 UDP:<IP_ADDRESS>:53 localhost]
2022/05/21 15:57:13 [Debug] app/dns: UDP:<IP_ADDRESS>:53 querying DNS for: google.com.
2022/05/21 15:57:13 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:57:13 [Info] transport/internet/udp: establishing new connection for udp:<IP_ADDRESS>:53
2022/05/21 15:57:13 [Debug] transport/internet/udp: dispatch request to: udp:<IP_ADDRESS>:53
2022/05/21 15:57:13 [Info] app/dispatcher: default route for udp:<IP_ADDRESS>:53
2022/05/21 15:57:13 [Info] transport/internet/websocket: creating connection to tcp:xxxxxxxxxxxxxxx
2022/05/21 15:57:14 [Info] proxy/vmess/outbound: tunneling request to udp:<IP_ADDRESS>:53 via tcp:xxxxxxxxxxxxxxx
2022/05/21 15:57:14 [Info] app/dns: UDP:<IP_ADDRESS>:53 got answer: google.com. TypeA -> [<IP_ADDRESS>] 1.142444333s
2022/05/21 15:57:14 [Debug] app/dns: UDP:<IP_ADDRESS>:53 updating IP records for domain:google.com.
2022/05/21 15:57:14 tcp:<IP_ADDRESS>:35040 accepted tcp:[2404:6800:4005:801::200e]:80 [proxy]
2022/05/21 15:57:14 [Info] app/dns: UDP:<IP_ADDRESS>:53 got answer: google.com. TypeAAAA -> [[2404:6800:4004:80a::200e]] 1.142466659s
2022/05/21 15:57:14 [Debug] app/dns: UDP:<IP_ADDRESS>:53 updating IP records for domain:google.com.
2022/05/21 15:57:14 [Info] [4260222460] app/dispatcher: default route for tcp:google.com:80
2022/05/21 15:57:14 [Info] [4260222460] transport/internet/websocket: creating connection to tcp:xxxxxxxxxxxxxxx
2022/05/21 15:57:14 [Info] [4260222460] proxy/vmess/outbound: tunneling request to tcp:google.com:80 via tcp:xxxxxxxxxxxxxxx
2022/05/21 15:57:15 [Info] [4260222460] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2022/05/21 15:57:15 [Info] [4260222460] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > context canceled

Other configurations (such as Nginx) and logs here
If V2Ray cannot start up, please attach output from --test command
If V2Ray service is abnormal, please attach journal log here

请问楼主，为啥我日志中没有dns记录？
比如类似你上面的：
...
[Debug] app/dns: domain google.com will use DNS in order: [UDP:<IP_ADDRESS>:53 UDP:<IP_ADDRESS>:53 UDP:<IP_ADDRESS>:53 localhost]
[Debug] app/dns: UDP:<IP_ADDRESS>:53 querying DNS for: google.com.
...
我的日志级别也是debug，不管v2rayN还是命令行中运行都看不到dns的记录，请问该如何设置？

看起来是个bug。
逻辑上，应该是trojan模块获得的信息传递给dns模块，dns模块识别认为出错。
这两个模块都要检查，才能搞清楚问题在哪里。我倾向于认为trojan模块可能没问题，而是dns模块处理返还的数据没处理好。

5.1.0仍可复现

bump


Discord Bot Support (continued)

I was wondering if there was a way to integrate the in-game logs with Discord.js and how would I be able to do that? Or maybe mod-calls to send a message to a channel, that's what I am looking for maybe in a webhook?

Yo modifique un poco el modulo NPM y lo que logre fue esto:


Release Google.Cloud.Container.V1 version 3.18.0

Changes in this release:
New features

Add support for NodeConfig Update (commit d5f12a7)
Publicize tpu topology in v1 API (commit d5f12a7)

Created release for Google.Cloud.Container.V1-3.18.0


Notepad++-like copying file name and dir to clipboard

Feature request:
In Notepad++ there is a useful feature on getting file path and name data by right-clicking the file tab, much like in VSCode. However, VSCode can only copy full path to the file, while in Notepad++ there are two more options:

Filename to Clipboard (just filename)
Current Dir. Path to Clipboard (just dir where the opened file is located)

At least I find those options useful, in VSCode I often have to copy entire path to the file and then edit it to get a path component.

I've written external tasks to do this and it's quite pretty easy (using clip.exe on windows).  Nevertheless, it would be nice to have direct support for it in vscode. Another common one I use is to copy a fully qualified class name to the clipboard. That one is very language specific obviously.

yep in Webstorm you can copy relative path which is a killer feature as when sharing a file with a team mate or pasting it into github, ticket etc I never want to copy my local path but always need the file path relative to the repo.

I'd like to extend this request to relative file path, since #46719 has been auto-closed without a resolution proving fragmentation of information in issue threads to be alive an well. Cross-copying my comment from there:
FWIW I would also like to see Copy Relative Path and an internal command next to the Copy Path one which exists on the tab context menu currently. That one should be renamed to Copy Absolute Path. This feature request is titled Copy file name, which I am not sure refers to relative files? But that I think would be the most useful.


Cannot run the addon

Hello!
First of all, thanks for this addon, it looks incredible with a lot of potential!
I followed the docs and tried to run this addon in my Storybook 6 (with CSF components) but unfortunately didn't get it to work.
I used the following versions:
"storybook-addon-playwright": "^3.2.0",
"playwright": "1.4.1",
"playwright-core": "1.4.1",

The issue I had when running yarn storybook was this:
yarn run v1.22.4
$ start-storybook -p 6006 -s public
info @storybook/react v6.0.21
info
info => Loading static files from: /Users/yannbraga/Dev/open-source/cra-ts/public .
WARN Unable to close preview build!
ERR! Error: Cannot find module 'playwright-core/lib/deviceDescriptors'
ERR! Require stack:
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/utils/get-device-info.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/utils/index.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/api/server/utils/execute-action.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/api/server/utils/index.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/api/server/migration/migration.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/api/server/migration/index.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/dist/api/server/configs.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/node_modules/storybook-addon-playwright/configs.js
ERR! - /Users/yannbraga/Dev/open-source/cra-ts/.storybook/main.ts

then I downgraded to the following versions:
"storybook-addon-playwright": "^3.2.0",
"playwright": "1.3.1",
"playwright-core": "1.3.1",

And managed to load storybook correctly and even have the addon panels displayed, but the functionality itself was broken:

Is there any tips to work around this issue? Is this a bug or am I just not using the addon properly?
Also, why is addon knobs necessary?
Thanks!

Hi there,
Sorry for my late response.
I have just updated the addon to use playwright version 1.4.2, i have tested it with the latest storybook build, here is an example:
storybook-addon-playwright-example
Sometimes firefox takes too long to lunch if you received an error regarding timeout; comment out firefox and try, or set timeout to bigger value:
.storybook/main.js
 let browser = {
    chromium: await playwright["chromium"].launch(),
   //  firefox: await playwright["firefox"].launch(),
   //  webkit: await playwright["webkit"].launch(),
  };

Regarding addon knobs; the way the addon works is; it will take a screenshot from the browser and display it in the storybook environment, so if the component has a prop that needs to be tested you have to set the knob and addon will pass the knob value as a QueryString to the browser and will take a screenshot, therefore addon knobs have been used in many places in add on to apply, rest or remove props from the component. hence it's necessary.
Apparently, storybook V6 introduced Controls for replacement of addon knob, unfortunately, I don't have enough time to change the addon to use Controls, so for now, I am stuck with addon knobs.
Please try the example and let me know if have a problem.
Thanks.

Thanks a lot @ccpu! and thanks for the explanation. When I have some free time I might try to see how things are done with knobs and see if I can convert to controls (or add support for both!).
I think the problem I faced was because I installed playwright as well, instead of just relying on the peerdep of this addon. I tried your sample repo and it's great, however I can't set interactions because the app breaks. Here's a video showing what I mean:
https://streamable.com/y3o2kr

Sorry for that, i have fixed the problem, please try again, simply clone example or run yarn add storybook-addon-playwright.

When I have some free time I might try to see how things are done with knobs and see if I can convert to controls (or add support for both!).

That would be great, let me know if need any explanation 👍

closing as i think the problem is solved, please open a new issue if you have experienced the same problem.


Update ingress-tls.md

Added --namespace ingress-basic to apply cluster-issuer.yaml

@rayoef

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Erin verified this change. #sign-off


Threads not shutting down

Bug report

I'm trying to understand a behavior I'm seeing.  I'm using start_headless, and doing acquisitions.  Because of the way my program works, I cannot use the context manager, so I'm using the approach of putting a None into the event queue to close things down.
If I run this under pycharm, everything is good. Threads go away, and things shut down fine.
However, if I run stand alone from python command line as main, the threads for two of the acquisition hooks (ImageProcessor and AcquititionHoot) seem to be still running, causing the shutdown to hang.
I'm not sure if this is user error or a problem.
<!--Before submitting a bug report, make sure you have

This may be operator error... double checking


Pause on hover + trying to highlight text

When I try to highlight text in chatterino (pause on hover is enabled), the selection keeps on moving with the chat and it selects everything else, therefore I am not able to copy paste the text I want.
https://i.imgur.com/VvrSMLO.gifv

The issue has been fixed, thank you very much :)

Seems to be an issue with the message buffer filling up (1000 messages) and removing messages, this makes the chat scroll down even though on hover is enabled, if the chat isn't full it's not an issue


Fader can't unmute when it is not set to the Hardwarefaders

I have a profile that sets the Fader Line In to mute, but if I load a profile that does not set the Fade In Fader as a hardware fader but in the profile it is unmuted, the fader remains on mute. If I set the fader as hardware fader the mute button stays in unmuted status and if you press it then the fader is first muted and with another click unmuted also for routing.
Status with line in on hardware fader:
statuswithhardwarefader.txt
Status with line in without hardware fader:
statuswithouthardwarefader.txt
Status after manually set Fader Line to a Hardwarefader:
statusmanuallysetfader.txt
Status after switching the mute button on and off:
statusaftertoggledmutebutton.txt
Profile with hardwarefader:
PC Off.zip
Profile without hardwarefader:
Standard_Headphones.zip
Debuglog:
debuglog.txt
Driver:

Thanks for the detailed report, it looks like the hardware side mute state isn't being cleared when a profile is loaded so the old state is persisting.. I'll look into doing some tests and see if I can come up with an elegant solution to that, otherwise I can just force unmute everything before a profile applies.

This should be fixed now in dev-0.12.0, could you give test please and let me know?

Funktioniert jetzt danke :)


DownloadPipelineArtifact@2  -- Advice needed

Hi,
I use DownloadPipelineArtifact@2 to retrieve the latest artifacts from multiple pipelines and package it up in another pipeline. I am wondering though how would I go about identifying the different version numbers from each of the artifacts that I am downloading.
Would be ideal if there was a way to write it out to a markdown file something like.
Pipeline 123:  3.0.0
Pipeline 232:  7.0.1
etc
etc
Extra points would be to bring in the commit messages but I'm guessing that would be difficult
Thanks

It seems patters option would fit for you:
- task: DownloadPipelineArtifact@2
  inputs:
    source: 'specific' # Options: current, specific
    project: 'MyProj'
    pipeline: 'MyPipeline'
    runVersion: 'latest'
    artifact: 123
    patterns: '*3.0.0'
    path: '$(Pipeline.Workspace)'

@ArtjomP According to the documentation patterns limit what files are downloaded. I don't see how this will help.

Have you tried using a variable for artifact name:
- task: DownloadPipelineArtifact@2
  inputs:
    source: 'specific' # Options: current, specific
    project: 'MyProj'
    pipeline: 'MyPipeline'
    runVersion: 'latest'
    artifact: $(MyPipelineArtifactVersion)
    path: '$(Pipeline.Workspace)'

In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to Developer Community. Sorry for the delay/confusion.


Users/echong/schema

Added '@schema' uri which required by localization team so that they can identify it as a localizable file.
Category related localization changes will be the next item to work on.
FYI, the actual schema file doesn't exist and it is not required. It is just used as a placeholder.

this is another thing to add to your list of checks that have to pass before merging a PR after this?
all the files with the appropriate extensions shoudl have schema if the author is microsoft?


Expose Dall-E 3 revised prompt in the API

Is your feature request related to a problem? Please describe.
Not a bug, just a request for a small feature that I find useful.
I am trying to diagnose why images generated by Dall-E 3 API typically look worse/overly simplistic compared to those generated in ChatGPT Plus, despite using the same prompts.
Describe the solution you'd like
The image generation endpoint (https://api.openai.com/v1/images/generations), when used with the Dall-E 3 model, rewrites prompts and uses rewritten prompts to generate images instead of the original one. The API returns such a rewritten prompt in a response in the revised_prompt.
I would like to have this re-written prompt exposed as a C# property, so it's available to my application. The right place for it seems to be the ImageDataResult model.
Describe alternatives you've considered
I can switch to a tool like Postman or Insomnia to look into responses while debugging, but it would be convenient to have the whole response available in C# response model.
Additional context
For convenience, here's an example of a request and a response using DALL-E 3 API, illustrating the new property:
Request:
POST https://api.openai.com/v1/images/generations

{
  "model": "dall-e-3",
  "prompt": "Please generate a picture illustrating the following scene: 'a boy going through a tunnel, lit by torches on the walls, with a low ceiling'",
  "n": 1,
  "size": "1024x1024"
}

Response:
{
  "created":<PHONE_NUMBER>,
  "data": [
    {
      "revised_prompt": "Visualize a scene depicting an African adolescent boy adventuring through a narrow tunnel. The tunnel has a low ceiling, posing a physical challenge for the adventurer. The lighting is dim, provided only by torches mounted intermittently along the tunnel walls. The flickering flames from these torches cast contrasting shadows, enhancing the mysterious ambiance of the surrounding environment.",
      "url": "https://oaidalleapiprodscus.blob.core.windows.net/(...)"
    }
  ]
}

Thanks for considering the feature, and for the great work so far!

See this PR: https://github.com/betalgo/openai/pull/435


1.19.3

Could the mod be updated 1.19.3?

Should be compatible actually, did you tried the 1.19.2 version ?

Nope, opening the gallery or screenshot menu crashes the client.
crash-2023-02-06_15.54.37-client.txt
crash-2023-02-06_15.55.28-client.txt

Thanks, I'll take a look as soon as possible


Previous restarts polluting restart manifests with subruns

Initialise manifest in run_cmd for subruns, otherwise previous restart can remain in the manifest.
Addresses https://github.com/payu-org/payu/issues/188

I've tested this and it fixes the bug, so I'll merge it