Request was not matched for GET URL with query parameters

Proposal
Hi, I'm trying to stub a GET endpoint that expects a few query parameters.
For some reason, WireMock is not matching the URL, even though I have specified the query parameters.
Initially, I tried using equalTo for the query parameters, but since that didn’t work, I tried using contains.
However, it is still not matching.
Reproduction steps
I have started a new instance of WireMock.
docker run -it --rm \
  -p 8080:8080 \
  --name wiremock \
  wiremock/wiremock:3.9.1

Then, I created a new stub mapping as shown below
curl --location 'localhost:8080/__admin/mappings' --header 'Content-Type: application/json' --data '{
  "request" : {
    "url" : "/test",
    "method" : "GET",
    "queryParameters" : {
      "a" : {
        "contains" : "wiremock"
      },
      "b" : {
        "contains" : "all"
      },
      "c" : {
        "contains" : "test"
      }
    }
  },
  "response" : {
    "status" : 200,
    "jsonBody" : []
  }
}'

Then, I attempted to hit the stubbed endpoint
curl --location 'localhost:8080/test?a=wiremock&b=all&c=test'

It returned the following response.

                                               Request was not matched
                                               =======================

-----------------------------------------------------------------------------------------------------------------------
| Closest stub                                             | Request                                                  |
-----------------------------------------------------------------------------------------------------------------------
                                                           |
GET                                                        | GET
/test                                                      | /test?a=wiremock&b=all&c=test                       <<<<< URL does not match
                                                           |
Query: a [contains] wiremock                               | a: wiremock
Query: b [contains] all                                    | b: all
Query: c [contains] test                                   | c: test
                                                           |
                                                           |
-----------------------------------------------------------------------------------------------------------------------

References
No response

When you specify url in the request, you are telling WireMock to match the path and query exactly.  Therefore what you are seeing is the expected behaviour because /test?a=wiremock&b=all&c=test does not equal /test
If you change url to urlPath you should see the behavior you are looking for

Ahh @leeturner, got it! Thanks! It worked by replacing the url to urlPath.
Closing the issue now.


[WIP] Setting up programatic call of safety-analysis.py

Summary:
This commit is a Work in Progress, and I am blocked on some bug right now. Would appreciate some help.
I think I need to include this to my path in order to have safety-analysis.py
export PYTHONPATH="${PYTHONPATH}:/home/user/Traffic/trafficintelligence/scripts"

Running from cmdline works just fine.
safety-analysis.py --cfg=project_dir/{project_identifier}/run/run_tracking.cfg --prediction-method=cv
To call programatically, run main.py with the project_identifier changed manually.
Programatic call gives this error.
DB Error: no such table: positions
DB Error: no such table: velocities
DB Error: no such table: objects_features

OK updates to this.  I figured out that if I go into the directory of the cfg file for safetyanalysis, i.e.
cd project_dir/{project_identifier}/run/
then run main.py
python ../../../main.py
the database file (results.sqlite) is found and the scripts runs normally.    So there is a path issue with where the database file is located in the cfg file.  Quickest fix is the use an absolute path, instead of relative


Reference CSV RF: UAS Data data product types and processing levels

Documentation reference (URL): UAS Data data product types and processing levels

It could be nice to include a link to the CSV reporting format for data products that may be in CSV file formats (eg. Calibration panel reflectance reference lists CSV as an example file type), or point to the RF somewhere in the introductory paragraphs of the page. I'm not sure what these data products usually look like or what format they are typically in, so this may not be relevant or useful for data contributors.

I've added a link to the intro paragraph.


chore(Algebra.Basic): override toFun and smul in Algebra.id

The current definition of Algebra.id is (RingHom.id _).toAlgebra. The problem with this is that RingHom.id is a def and is not reducible. Thus Lean will often refuse to unfold it causing unification to fail unecessarily in typeclass searches. This overrides the data fields to avoid RingHom.id and makes some intermediate def's reducible.

!bench

The benchmark doesn't look particularly convincing; is there a test-case you have in mind where this definitely makes a difference, even if it doesn't make much of a difference to mathlib overall? If so, can you add it to the tests directory?

I wasn’t expecting a speed up. In fact, I was worried about a slowdown. This is about restoring sane behavior for simp see
Zulip1 Zulip2 (links in one moment)

I’ll add the examples from the topics as tests

From the second Zulip discussion, the attempt to fix the behavior in #9020 was a bit ad-hoc while #9025 was awful for performance.


fill ModifyId in Service Modified History

Fixed https://github.com/eclipse-xpanse/xpanse/issues/1935

LGTM


[FreeBSD] [hvt] hw.vmm.destroy fails with "Operation not permitted"

Since this change, the "cleaning up /dev/vmm/solo5-PID" step does no longer work (installed via atexit(cleanup_vm) and atexit(cleanup_vmfd) in hvt_freebsd.c), since sysctlbyname("hw.vmm.destroy", ... receives a permission denied (not output anywhere, see ktrace/kdump below).
I'm not sure what the best way to handle this is... given that solo5-hvt indeed created the device (via hw.vmm.create), it should be responsible for cleaning up. but in the meantime it lost sufficient privileges to clean it up. Any thoughts? The vmfd is no critical AFAICT since unix cleans up all open file descriptors when a process exits. A solution would be to chown /dev/vmm/solo5-PID to nobody to enable the dropped priv user to destroy that device.
  7753 solo5-hvt CALL  write(0x1,0x820dffe10,0x1c)
  7753 solo5-hvt GIO   fd 1 wrote 28 bytes
       "Solo5: solo5_exit(0) called
       "
  7753 solo5-hvt RET   write 28/0x1c
  7753 solo5-hvt CALL  ioctl(0x3,0xc0907601,0x800644010)
  7753 solo5-hvt RET   ioctl 0
  7753 solo5-hvt CALL  close(0x3)
  7753 solo5-hvt RET   close 0
  7753 solo5-hvt CALL  __sysctl(0x7fffffffe330,0x2,0x7fffffffe380,0x7fffffffe378,0x2015fe,0xe)
  7753 solo5-hvt SCTL  "sysctl.name2oid"
  7753 solo5-hvt RET   __sysctl 0
  7753 solo5-hvt CALL  __sysctl(0x7fffffffe380,0x3,0,0,0x800649000,0xa)
  7753 solo5-hvt SCTL  "hw.vmm.destroy"
  7753 solo5-hvt RET   __sysctl -1 errno 1 Operation not permitted

Originally posted by @hannesm in https://github.com/Solo5/solo5/pull/286#issuecomment-455878784

Ok, so, in the light of:

Discussion in #316, the real fix here is as described in https://github.com/Solo5/solo5/pull/316#issuecomment-464757104 (fixing the FreeBSD vmm APIs).
The build system refactoring in #326 changes the way hvt modules work, and the HVT_DROP_PRIVILEGES=0 case will effectively be non-functional until I re-design that to not use compile-time flags. However, in the mean time, I need the tests to pass!

I'm going to make an executive decision here, which is: The FreeBSD privilege dropping introduced in #286 will be reverted on master shortly.
Also, I'm going to close all issues/PRs related to this except #282, since the multiple discussions are confusing. We can discuss how to proceed forward there.
Note to self: TODO: The existing VM cleanup code for FreeBSD and OpenBSD should be audited and at  warn() should be used in the atexit handler(s) if any syscalls fail.
/cc @sg2342 @hannesm


Issue dilling (pickling) HasProperties classes

Using the CofffeProfile example class from the front page and doing the following:
import dill
coffe_p = CoffeeProfile(name='John')
print('Is validated={}'.format(coffe_p.validate()))
dill.dump(coffe_p, open('test_CoffeeProfile.pkl', 'w'))
dill.load(open('test_CoffeeProfile.pkl', 'r'))

Results in the following output:

I am working on a freshly pulled dev branch.
Shouldn't I be able to pickle dump and load the class directly?

Can you try with pickle?
import pickle
coffe_p = CoffeeProfile(name='John')
print('Is validated={}'.format(coffe_p.validate()))
pickle.dump(coffe_p, open('test_CoffeeProfile.pkl', 'wb'))
pickle.load(open('test_CoffeeProfile.pkl', 'rb'))

It looks to me like dill as not triggered the startup of the class, it is missing the _props keys - not sure what is up there.

It works with pickle.
My pickle interest is prompted by wanting to pickleSimPEG object to use with dask. I posted an issue on SimPEG's github https://github.com/simpeg/simpeg/issues/582. However, I do think it might be a properties issue since I can replicate the error with the following class.
class TestClassPickle(properties.HasProperties):
    """
    A simple test class with 2 __init__ inputs

        freq  - given as required property and as __init__ input
    """

    freq = properties.Float("frequency", min=0, required=True)

    def __init__(self, freq, **kwargs):

        self.freq = freq
        self._period = 1. / freq

And working with it is fine

but when I pickle, I get this error.

I assume the issue has something to do with the __init__  method but haven't been able to figure out how to get this to work. Do you have any idea's?

I continue playing around and this works.

that is pickling a serialized version of the class and deserialize the loaded pickle object.
Hopefully, this sheds some light on the issue.

I believe that in this case you are actually pickling up a json string, which is a bit redundant - you could just write it to disk as is.

Fair enough, but I need things to pickle to use  dask.

This works, be adding that additional args check. It is a hack but it works. The issue arises in the PropertyMetaclass.__call__ line, where it seems to me that *args aren't given so the call to the obj.__init__ is missing the arguments needed. But that is beyond me.
Thanks for the help and look forward to learning more and get it working.


Sometimes inspecting a container fails with "Unknown device"

From time to time, this shows up when I try to inspect a container:
Handler for GET /v1.15/containers/<container id>/json returned error: Unknown device bfbc9c7d7c9b5d0d3c6c74a4ebdf9f4d2c19c87d8853ee15d452b7029f20e026

And the inspect fails with a 500 error.
This happens on CentOS 7 on Rackspace Cloud Servers:
# uname -a
Linux acceptance-test-jeanpaul-0 3.10.0-229.11.1.el7.x86_64 #1 SMP Thu Aug 6 01:06:18 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:25:01 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:25:01 UTC 2015
 OS/Arch:      linux/amd64
# docker info
Containers: 5
Images: 39
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker-202:1-919278-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem:
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 714 MB
 Data Space Total: 107.4 GB
 Data Space Available: 38.26 GB
 Metadata Space Used: 1.753 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-229.11.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 8
Total Memory: 7.389 GiB
Name: acceptance-test-jeanpaul-0
ID: AS27:V5CG:JJKM:ZMDR:K5E6:SWNJ:7TA6:KWMP:EBYV:YQA6:X2C7:NH2B
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

and on CentOS 7 on Amazon EC2:
# uname -a
Linux ip-172-31-24-158 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# docker info
Containers: 0
Images: 40
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker-202:1-25568900-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 782.5 MB
 Data Space Total: 107.4 GB
 Data Space Available: 6.39 GB
 Metadata Space Used: 1.81 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-229.14.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 2
Total Memory: 6.897 GiB
Name: ip-172-31-24-158
ID: G352:6B3C:BECE:Y3ZK:K3PU:L5TL:ZNTR:NB26:UZM3:ZMSU:4D4X:UBSF
[root@ip-172-31-24-158 ~]# docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:25:01 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:25:01 UTC 2015
 OS/Arch:      linux/amd64
#

and on CentOS 7 running with Vagrant/VirtualBox (the specific details of which I don't have handy at this particular moment).

I met similar problem on Docker 1.8.3/Ubuntu 14.04;

# uname -a
Linux SVR9369HP360 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

# docker  info
Containers: 21
Images: 8
Storage Driver: devicemapper
 Pool Name: ubuntu--docker-docker--data-tpool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file:
 Metadata file:
 Data Space Used: 10.54 GB
 Data Space Total: 2.584 TB
 Data Space Available: 2.573 TB
 Metadata Space Used: 20.06 MB
 Metadata Space Total: 16.98 GB
 Metadata Space Available: 16.96 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Library Version: 1.02.77 (2012-10-15)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.16.0-30-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 48
Total Memory: 188.8 GiB
Name: SVR9369HP360
ID: CDGW:QWWD:DX4I:O6PP:GTBB:2K7W:RJ5J:DGGO:YV2D:TKQA:5K3X:PWWC
WARNING: No swap limit support

It looks like this error happens inspecting between daemon.Register and daemon.createContainerPlatformSpecificSettings. Since after a while, inspect on the same id will succeed.

We are seeing a similar issue on centos 7 and Docker 1.9.1.

I experienced a similar issue on centos 7 and Docker 1.8.3, every time when inspecting a container just after it being created but not started yet, or imediately after deleting it.

This is happening for us as well with Docker 1.12.5 on Ubuntu 14.04.
Maybe it's useful to mention that our Docker installation is creating and deleting many ephemeral containers. I would say thousands per day.
Any idea what might be causing this?
docker info
Containers: 96
 Running: 68
 Paused: 0
 Stopped: 28
Images: 138
Server Version: 1.12.5
Storage Driver: devicemapper
 Pool Name: docker--2016--08--25-data-tpool
 Pool Blocksize: 65.54 kB
 Base Device Size: 5.369 GB
 Backing Filesystem: ext4
 Data file:
 Metadata file:
 Data Space Used: 32.15 GB
 Data Space Total: 102 GB
 Data Space Available: 69.85 GB
 Metadata Space Used: 186.2 MB
 Metadata Space Total: 5.369 GB
 Metadata Space Available: 5.182 GB
 Thin Pool Minimum Free Space: 10.2 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Library Version: 1.02.77 (2012-10-15)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: overlay null bridge host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-106-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 29.96 GiB
Name: apocalypse.servers.lair.io
ID: Q444:V3WX:RIQJ:5B3T:SYFQ:H2TR:SPVF:U6YE:XNDX:HV2Z:CS7F:DEJJ
Docker Root Dir: /var/lib/docker-2016-08-25
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

docker version
Client:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 02:30:42 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.5
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   7392c3b
 Built:        Fri Dec 16 02:30:42 2016
 OS/Arch:      linux/amd64

lsb_release -r
Release:	14.04

uname -r
3.13.0-106-generic

We see this when kubernetes is bringing up pods. But I don't think it's a problem - I think it's a race between it getting the ID and looking up the ID. Some times needs to elapse before it will work. But I don't think it's much of a problem - it just looks a little concerning in the logs.


ENH: special: customisation for ufuncs and gufuncs

This PR demonstrates a way forward for special functions defined by recurrence relations, as well as some other issues with special functions more generally. Here we will use the Legendre polynomials lpn, lpmn, and clpmn as illustrative examples, and the work has been done for these functions.
As has been discussed extensively elsewhere, a good model for special functions is C / C++ kernels published to Python as NumPy universal functions [1]. Even the more complicated functions that need to operate on subarrays, like the Legendre polynomials being discussed here, fit into this model as generalized universal functions [2]. By refactoring the existing special functions to be ufuncs, we are also able to provide the scalar kernels to other array libraries, so our model is more general than just NumPy on the CPU.
An unsolved question so far is then how to handle variants of the normal behaviour. This is necessary for some of the more complicated special functions and hasn't been properly solved before. Consider the associated Legendre polynomial lpmn for instance. It should be able to support:

Returning either the normalized or unnormalized associated Legendre polynomials. Currently only the unnormalized associated Legendre polynomials are available in SciPy, but everyone else (Julia, MATLAB, ...) supports normalization. Why does SciPy not?
Returning derivatives, also up to different orders. Currently lpmn has to return both the polynomials Pmn_z and their derivatives Pmn_d_z. There is no option to not return the derivative. And throughout the special functions there are many different adhoc conventions for keywords that return derivatives.
Returning all the values computed throughout the recurrence. These pairs of "at" versus "all" functions have already been discussed a lot [4].

Here I have refactored lpn, lpmn, and clpmn in both C++ and Python so that all these things can be supported easily. The C++ code is important but, for the purposes of SciPy, it is a private implementation. In Python, there are a couple of changes to the public SciPy API in the special module. I will describe everything below.
Python API changes.

lpn, lpmn, and clpmn all gain a keyword diff_n that indicates the order of derivatives to return. It defaults to 0, but can be 1 or 2. All derivatives up to that order are returned, so diff_n = 2 gives you 3 outputs. This is just what makes sense for Legendre polynomials. Note I am happy to change the name of this keyword if suggested.
The "all" versions of lpn, lpmn, and clpmn are introduced as lpn_all, lpmn_all, and clpmn_all. I thought long and hard about whether they should be in like that or as a keyword similar to mode = "at" or mode = "all". Given how things are implemented, it just doesn't make a lot of sense to use a keyword here, so I've gone with separate functions.
lpn, lpmn, and clpmn historically have returned the "all" versions, but will become the "at" versions going forward. There is a keyword legacy that defaults to True to switch the behaviour. There will need to be a deprecation cycle.
lpmn and clpmn also gain a keyword norm which can be either True or False to return the normalised or unnormalised Legendre polynomials. I still have to implement the normalisation, but that will come once everyone is happy with all of this.

C++ implementation

To support all these different variants (derivative or not, "all" or "at", and so on), I have rewritten the C++ algorithms to take a C++ callback. This callback is called at each recurrence step and can be fully custom. I've added callback functions to work out the derivatives and callbacks to store all the recurrence values in a subarray, this is how we can support all these different behaviours without writing the same algorithm many times. It should be effectively zero cost as C++ allows templating on the callback type, which is what I have done. The lpn C++ code is a clear example of how this works, see https://github.com/scipy/scipy/blob/79421615dc66425bc47899f2afe254f5c7284398/scipy/special/special/legendre.h#L22.
Not all behaviour can be added on like that, and normalisation is a good case where it is just a different function.
clpmn and lpmn have been merged into one function, but defaulting to different branch cuts just like SciPy currently does.
Each pair of diff_n and norm is published to Python as a ufunc. In this case, they are collected using Py_BuildValue as a dictionary of tuples. So essentially what we have is a simple and minimal collection of ufuncs that encapsulates all the behaviour variants.

Python implementation

At the Python level, I have introduced a minimal class called multiufunc. This is only intended to be used for these special functions with complicated behaviour, and will behave like a ufunc as much as possible. It has a very simple model.
In a multiufunc, keywords can be used to select the right ufunc from the collection of ufuncs. So lpmn(m, n, x, norm = True, diff_n = 1) will use norm and diff_n to select a ufunc that computes the normalised Legendre polynomials and their derivative. Additional positional arguments that precede the array arguments can be used to allocate the output, as lpmn_all(m, n, x, norm = True, diff_n = 1) needs to allocate output arrays of shape (2 m + 1, n, ...).
There are no "special" keywords, it is just convention. So diff_n has no special meaning and is not builtin to the multiufunc class or anything like that.
You can see how this works for lpmn at https://github.com/scipy/scipy/blob/79421615dc66425bc47899f2afe254f5c7284398/scipy/special/_basic.py#L1727

I know this is a lot of information. I've been thinking and working on how to solve these problems for a long time. My guiding principle has been to keep the fundamental model of computation a ufunc and build on top of that. Happy to discuss and elaborate more.
[1] https://github.com/scipy/scipy/issues/19404
[2] https://github.com/scipy/scipy/pull/20319
[3] https://github.com/jishnub/LegendrePolynomials.jl; https://www.mathworks.com/help/matlab/ref/legendre.html
[4] https://github.com/scipy/scipy/issues/20448; https://discuss.scientific-python.org/t/naming-convention-for-generalized-ufuncs-in-special/1144;

This PR is, in fact, ready for wider discussion. I'm going to update my original post to explain it.

Right, so this is done now. I've done a lot more refactoring at the C++ level to get things where I want them to be, but haven't changed anything at the Python level since I last posted. I still haven't implemented normalized Legendre polynomials, but the interface is there for them, and they will come in a follow-up PR.

I also want to highlight again the diff_n keyword we are introducing. This is being used to select how many derivatives (0, 1, or 2) that should be returned. The intention is to make things more consistent in special. Currently, throughout special, there are many functions that have to return the value and the first derivative, without the ability to not return the derivative. There are also a couple of other ad-hoc arrangements (like spherical_jn, which has a derivative keyword). By introducing diff_n we are working towards, if not a standard, at least a convention for how to handle returning derivatives or not. And one that supports higher orders than first (indeed, here I've implemented up to second order here).
The alternative to a diff_n is to make functions like lpmn_derivative or lpmn_derivative2, which doesn't make sense to me. You could make these functions methods on the custom ufunc wrapper, but it's still not great. Even though diff_n changes the number of outputs, I think it is nicest thing that can be done here.
Again, happy to hear different names for diff_n if anyone has them.
cc @steppi

Sorry for the driveby, but just throwing something out there in case it wasn't considered: an array of the derivative orders that is just broadcast with the other arguments.

Sorry for the driveby, but just throwing something out there in case it wasn't considered: instead of an integer diff_n, pass an array of the derivative orders that is just broadcast with the other arguments. So it would be e.g. [0, 2] to get the function value and second derivative. I'm not sure if there is any computational savings, but then the number of outputs doesn't depend on an integer argument; it would just follow broadcasting rules.

Thanks for the thoughts @mdhaber! That is a good suggestion. I'm all for allowing diff_n to be able to do that, and indeed there is nothing here forcing diff_n to be an integer or anything like that. So totally agree there.
For the Legendre polynomials in particular, it's just not possible to do that unfortunately. Essentially the first derivative of the Legendre polynomials requires computing the value, the second derivative requires computing the first derivative, and so on.

it's just not possible to do that unfortunately.

Sure - i mentioned that there might not be computational savings. But could you only return the orders that are requested?

it's just not possible to do that unfortunately.

Sure - i mentioned that there might not be computational savings. But could you only return the orders that are requested?

Gotcha, understood.
All diff_n is is a keyword that selects which ufunc to use. In this case, it would be the ufunc that returns only the value (diff_n = 0), the ufunc that returns the value and derivative (diff_n = 1), or the ufunc that returns the 1st derivative, 2nd derivative, and the value (diff_n = 2). The keyword diff_n is not builtin or anything, it's just a convention I'd like to see special stick to. For functions that want custom behaviour, like you suggested, perhaps they should just apply decorators to select appropriate outputs or whatever.

@steppi @lucascolley I have now addressed all your comments. In a couple of places I have left questions for you, notably on the typ / branch_cut argument name.
I'd very much appreciate it if you could have another look through this as soon as possible. It's a complex and big PR, so good to as many eyes on it as possible.

I have renamed typ to branch_cut.

I think I've addressed everything, cc @steppi

The test failure
ERROR: objects in refguide but not in scipy.special.__all__::

    assoc_legendre_p
    assoc_legendre_p_all
    legendre_p
    legendre_p_all
    sph_harm_y
    sph_harm_y_all
    sph_legendre_p
    sph_legendre_p_all

This issue should likely be fixed by removing these objects
from the function listing in __init__.py for this module
or adding them to __all__.

can be fixed by changing this line:
https://github.com/scipy/scipy/blob/72c5707b1796164ca2e6cb85f0399d66d61cca3d/scipy/special/__init__.py#L857
to:
__all__ = _ufuncs.__all__ + _basic.__all__ + _orthogonal.__all__ + _multiufuncs.__all__

You can get rid of this warning on gcc
../scipy/special/special/recur.h:89:6: note: the ABI of passing structure with ‘complex float’ member has changed in GCC 4.4
   89 | void forward_recur(InputIt first, InputIt last, Recurrence r, std::tuple<T (&)[K]...> res, Func f) {

by adding -Wno-psabi to the cpp_args for the _gufuncs and _special_ufuncs extension modules in special's meson.build (from stackoverflow). Since these extension modules will never need to interact with programs compiled with an earlier GCC, this ABI changes won't affect us.

@izaid, I'm going to go ahead and make the small changes mentioned above myself and push since I know you're busy now.

The multiufuncs still have a lot of scaffolding methods that are not meant to be user facing which are still public. I'll push an update for this too.
 'key',
 'override_key',
 'override_resolve_out_shapes',
 'override_ufunc_default_args',
 'override_ufunc_default_kwargs',
 'resolve_out_shapes',
 'ufunc_default_args',
 'ufunc_default_kwargs'

We've got more errors in the Windows + MSVC job that were masked by the previous error.
2024-07-08T18:42:19.8664491Z D:\a\scipy\scipy\scipy\special\special\recur.h(88): error C2061: syntax error: identifier 'ssize_t'
2024-07-08T18:42:19.8665354Z D:\a\scipy\scipy\scipy\special\special\recur.h(89): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8666200Z D:\a\scipy\scipy\scipy\special\special\recur.h(89): error C2061: syntax error: identifier 'Func'
2024-07-08T18:42:19.8667045Z D:\a\scipy\scipy\scipy\special\special\recur.h(91): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8667913Z D:\a\scipy\scipy\scipy\special\special\recur.h(98): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8668723Z D:\a\scipy\scipy\scipy\special\special\recur.h(100): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8669537Z D:\a\scipy\scipy\scipy\special\special\recur.h(107): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8670353Z D:\a\scipy\scipy\scipy\special\special\recur.h(107): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8671157Z D:\a\scipy\scipy\scipy\special\special\recur.h(91): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8671954Z D:\a\scipy\scipy\scipy\special\special\recur.h(98): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8672747Z D:\a\scipy\scipy\scipy\special\special\recur.h(100): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8673705Z D:\a\scipy\scipy\scipy\special\special\recur.h(115): error C2061: syntax error: identifier 'ssize_t'
2024-07-08T18:42:19.8674556Z D:\a\scipy\scipy\scipy\special\special\recur.h(116): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8675400Z D:\a\scipy\scipy\scipy\special\special\recur.h(116): error C2061: syntax error: identifier 'Func'
2024-07-08T18:42:19.8676239Z D:\a\scipy\scipy\scipy\special\special\recur.h(118): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8677046Z D:\a\scipy\scipy\scipy\special\special\recur.h(125): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8677840Z D:\a\scipy\scipy\scipy\special\special\recur.h(127): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8678641Z D:\a\scipy\scipy\scipy\special\special\recur.h(134): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8679445Z D:\a\scipy\scipy\scipy\special\special\recur.h(134): error C3861: 'K': identifier not found
2024-07-08T18:42:19.8680246Z D:\a\scipy\scipy\scipy\special\special\recur.h(118): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8681056Z D:\a\scipy\scipy\scipy\special\special\recur.h(125): error C2065: 'K': undeclared identifier
2024-07-08T18:42:19.8682327Z D:\a\scipy\scipy\scipy\special\special\recur.h(127): error C2065: 'K': undeclared identifier

The issue is that ssize_t is POSIX but not C++ standard. It seems the usual solution is to use ptrdiff_t as a substitute as described here, https://www.scivision.dev/ssize_t-platform-independent/. I can take care of this too.
That Windows + MSVC CI job is a real lifesaver.

More Windows + MSVC failures. My local Windows + MSVC build is erroring out for unrelated reasons before it gets to special. I'll need to fix that so I can debug this properly.

More Windows + MSVC failures. My local Windows + MSVC build is erroring out for unrelated reasons before it gets to special. I'll need to fix that so I can debug this properly.

Ok, thanks for looking into this! I'm a bit surprised, as all the Windows CI passes, but there you go. Appreciate it.

It turns out I can just use gcc with the --pedantic flag and check the warnings to debug locally. The primary thing I'm seeing leading to failures is that MSVC doesn't allow for creation of zero-size arrays, which isn't supported by the C++ standard.

It turns out I can just use gcc with the --pedantic flag and check the warnings to debug locally. The primary thing I'm seeing leading to failures is that MSVC doesn't allow for creation of zero-size arrays, which isn't supported by the C++ standard.

Where is that? Probably an easy fix, just ping if you want to discuss.

@izaid, I won't be available for the next few hours, but you can search for error in the logs here or add pedantic to your CXXFLAGS before compiling locally and check the warnings
export CXXFLAGS="--pedantic"
python dev.py build

I think it is an easy fix. If you have time to fix it, that would be great, otherwise I can do it tonight.

@steppi Done.

Another one
2024-07-08T21:56:45.2319737Z D:\a\scipy\scipy\scipy\special\special/legendre.h(332): error C2668: 'signbit': ambiguous call to overloaded function
2024-07-08T21:56:45.2320871Z C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\corecrt_math.h(319): note: could be 'bool signbit(long double) noexcept'
2024-07-08T21:56:45.2322051Z C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\corecrt_math.h(314): note: or       'bool signbit(double) noexcept'
2024-07-08T21:56:45.2323191Z C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\corecrt_math.h(309): note: or       'bool signbit(float) noexcept'
2024-07-08T21:56:45.2324318Z D:\a\scipy\scipy\scipy\special\special/legendre.h(332): note: while trying to match the argument list '(int)'
2024-07-08T21:56:45.2325284Z D:\a\scipy\scipy\scipy\special\special/legendre.h(332): note: the template instantiation context (the oldest one first) is
2024-07-08T21:56:45.2326943Z ../scipy/special/_special_ufuncs.cpp(546): note: see reference to function template instantiation 'void `anonymous-namespace'::assoc_legendre_p<special::assoc_legendre_norm_policy,double>(NormPolicy,__int64,__int64,T,__int64,T &,T &)' being compiled

and --pedantic doesn't catch this one on gcc.
The offending lines are
template <typename NormPolicy, typename T, typename... OutputVals, typename Func>
void assoc_legendre_p_for_each_m_abs_m(
    NormPolicy norm, int m, T z, int branch_cut, std::tuple<OutputVals (&)[2]...> res, Func f
) {
    bool m_signbit = std::signbit(m);

which is kind of weird. The signbit docs  say that std::signbit has an overload for ints as of C++11, but MSVC doesn't support this https://github.com/microsoft/STL/issues/519. Although it looks like that's going to change in a coming version, https://github.com/microsoft/STL/pull/4537.
I guess just use m < 0

Another one
2024-07-08T21:56:45.2319737Z D:\a\scipy\scipy\scipy\special\special/legendre.h(332): error C2668: 'signbit': ambiguous call to overloaded function
2024-07-08T21:56:45.2320871Z C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\corecrt_math.h(319): note: could be 'bool signbit(long double) noexcept'
2024-07-08T21:56:45.2322051Z C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\corecrt_math.h(314): note: or       'bool signbit(double) noexcept'
2024-07-08T21:56:45.2323191Z C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt\corecrt_math.h(309): note: or       'bool signbit(float) noexcept'
2024-07-08T21:56:45.2324318Z D:\a\scipy\scipy\scipy\special\special/legendre.h(332): note: while trying to match the argument list '(int)'
2024-07-08T21:56:45.2325284Z D:\a\scipy\scipy\scipy\special\special/legendre.h(332): note: the template instantiation context (the oldest one first) is
2024-07-08T21:56:45.2326943Z ../scipy/special/_special_ufuncs.cpp(546): note: see reference to function template instantiation 'void `anonymous-namespace'::assoc_legendre_p<special::assoc_legendre_norm_policy,double>(NormPolicy,__int64,__int64,T,__int64,T &,T &)' being compiled

and --pedantic doesn't catch this one on gcc.
The offending lines are
template <typename NormPolicy, typename T, typename... OutputVals, typename Func>
void assoc_legendre_p_for_each_m_abs_m(
    NormPolicy norm, int m, T z, int branch_cut, std::tuple<OutputVals (&)[2]...> res, Func f
) {
    bool m_signbit = std::signbit(m);

which is kind of weird. The signbit docs say that std::signbit has an overload for ints as of C++11, but MSVC doesn't support this microsoft/STL#519. Although it looks like that's going to change in a coming version, microsoft/STL#4537.
I guess just use m < 0

Fixed.

I'm not sure why the linter is complaining about something unrelated to this PR now but didn't earlier. I assume it's fine to ignore that.
2271 |         # see https://github.com/numpy/numpy/issues/24050
2272 |         def assert_really_equal(x, y):
2273 |             assert type(x) == type(y), f"types not equal: {type(x)}, {type(y)}"
     |                    ^^^^^^^^^^^^^^^^^^ E721
2274 |             assert_equal(x, y)

I'm not sure why the linter is complaining about something unrelated to this PR now but didn't earlier.

New ruff release two days ago, so my guess is that some detection was improved.

I assume it's fine to ignore that.

Yep, in this case noqa: E721 looks like the correct move, as this is one of the exceptions to the rule where we don't want to accept subclasses with isinstance.

The docs failure is unrelated, it's appearing on other PRs as well.

I propose to merge this PR this coming Tuesday if no one has any objections.

It seems that there were no objections here or on discourse. Thanks @izaid, let's get this in.


Prefix prompt when logged in as root

This is a feature on the zsh version

Any update on this ?

Workaround with a fish script ~/.config/fish/conf.d/pure-symbol.fish
if test $USER = root
  set pure_symbol_prompt "•"
else
  set pure_symbol_prompt "➜"
end


Code actions on save in [python] section when ignored running in devcontainer

Behaviour
Preferences for code actions on save (e.g. formatting or sorting imports) are ignored under the language-specific [python] section when running in a devcontainer.
Steps to reproduce:
Repro repo: https://github.com/stewartadam/devcontainer-repro

Configure settings as per :

{
  "[python]": {
    "editor.defaultFormatter": "charliermarsh.ruff",
    "editor.codeActionsOnSave": {
      "source.organizeImports": "explicit"
    },
    "editor.formatOnSave": true
  }
}

Edit a Python file (locally) and format it badly, unorder the imports
Save file -> code actions are applied
Rebuild the devcontainer in the sample repo and attempt the same steps

Diagnostic data

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2024-06-24 23:56:25.766 [info] Experiment 'pythonCreateEnvOnPipInstall' is active
2024-06-24 23:56:25.766 [info] Experiment 'pythonRecommendTensorboardExt' is active
2024-06-24 23:56:25.766 [info] Experiment 'pythonSurveyNotificationcf' is active
2024-06-24 23:56:25.766 [info] Experiment 'pythonTerminalEnvVarActivation' is active
2024-06-24 23:56:25.766 [info] Experiment 'pythonTestAdapter' is active
2024-06-24 23:56:25.766 [info] Default formatter is set to null for workspace /workspace
2024-06-24 23:56:25.766 [info] Python interpreter path: ./.venv/bin/python
2024-06-24 23:56:26.148 [info] > pyenv which python
2024-06-24 23:56:26.148 [info] cwd: .
2024-06-24 23:56:26.173 [info] > conda info --json
2024-06-24 23:56:26.278 [info] > . ./.venv/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2024.8.1/python_files/printEnvVariables.py
2024-06-24 23:56:26.278 [info] shell: bash
2024-06-24 23:56:26.320 [info] > /usr/bin/python3 ~/.vscode-server/extensions/ms-python.python-2024.8.1/python_files/printEnvVariables.py
2024-06-24 23:56:26.320 [info] shell: bash
2024-06-24 23:56:26.335 [info] Setting environment variable VIRTUAL_ENV in collection to /workspace/.venv {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-06-24 23:56:26.335 [info] Setting environment variable VIRTUAL_ENV_PROMPT in collection to workspace-3.11 {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-06-24 23:56:26.335 [info] Prepending environment variable PS1 in collection with workspace-3.11 {"applyAtShellIntegration":true,"applyAtProcessCreation":false}
2024-06-24 23:56:26.335 [info] Prepending environment variable PATH in collection with /home/vscode/.vscode-server/extensions/ms-python.python-2024.8.1/python_files/deactivate/bash:/workspace/.venv/bin: {"applyAtShellIntegration":true,"applyAtProcessCreation":true}
2024-06-24 23:56:26.335 [info] Send text to terminal: /usr/bin/python3 /home/vscode/.vscode-server/extensions/ms-python.python-2024.8.1/python_files/printEnvVariablesToFile.py /home/vscode/.vscode-server/extensions/ms-python.python-2024.8.1/python_files/deactivate/bash/envVars.txt
2024-06-24 23:56:27.119 [info] Starting Pylance language server.
2024-06-24 23:56:29.301 [info] Discover tests for workspace name: workspace - uri: /workspace/src/example-flow/hello.py
2024-06-24 23:56:31.298 [info] Discover tests for workspace name: workspace - uri: /workspace/src/example-flow/hello.py
2024-06-24 23:59:57.685 [info] Discover tests for workspace name: workspace - uri: /workspace/src/example-flow/hello.py
2024-06-24 23:59:58.762 [info] Discover tests for workspace name: workspace - uri: /workspace/src/example-flow/hello.py
2024-06-24 23:59:59.988 [info] Discover tests for workspace name: workspace - uri: /workspace/src/example-flow/hello.py

Python extension actually does not trigger this. This comes from core. Moving this to VS Code.


[BUG] - #[remote_message] macro errors when used with generics

Bug Description
Using generics with the remote_message macro can cause compile errors.
Steps to Reproduce
#[remote_message("message-id")]
impl<H, L, R> Message<MyMessage> for MyAcotor<T>
where
    T: Send,
{
    type Reply = ();

    async fn handle(
        &mut self,
        msg: MyMessage,
        _ctx: Context<'_, Self, Self::Reply>,
    ) -> Self::Reply {
    }
}

Hello, we tried to solve the issue.
This is what we did:
Modified the RemoteMessage struct and its parsing to handle generic parameters. Updated the into_tokens method to correctly generate code for generic types.
You can review changes in this commit: https://github.com/mark-addams001881/tqwewe-kameo-102/commit/9e8cf4984263571817031d25ab8b6ec7e012044b.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Currently this is a limitation with remote actors and messages, since generics make the concrete types difficult to know. I'm not sure how this could be implemented but open to suggestions


Docs/readme

After the latest feedback, this aims to fix the following points:

Missing cd dojo-guestbook
Missing RUN go mod tidy in Dockerfile
Missing WORKDIR in Dockerfile
Unclear that the Docker Compose file is useless for the Kubernetes part

@ElTacitos mais !


Some optimizations in the DropMissing transform

Codecov Report

Merging #202 (1e610c2) into master (0f48b1d) will decrease coverage by 0.02%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master     #202      +/-   ##
==========================================
- Coverage   92.61%   92.59%   -0.02%
==========================================
  Files          33       33
  Lines        1111     1108       -3
==========================================
- Hits         1029     1026       -3
  Misses         82       82

Files Changed
Coverage Δ

src/transforms/dropmissing.jl
97.29% <92.85%> (-0.21%)
:arrow_down:


websocket error in chrome without metamask

See: https://github.com/leapdao/burner-wallet/issues/26#issuecomment-484470729


Feature/add group admin owner

Apologies for violating the 2 approver policy, but we have hit a delay getting Adam Gering's approval rights on this repo. He has reviewed and approved the changes and thus I am merging.


replay should support replaying in current tab

right now, replay always opens a new tab, which doesn't quite work with the notebook client use case

for now, i suggest we do the braindead but workable solution, which is to add a --close-current-tab option to replay


[200] Add host information to AKS review apps

Context
Email links for AKS review apps don't have the proper URL set because the "CUSTOM_HOSTNAME" and "AUTHORISED_HOSTS" are not included in the app_env_values.
Changes proposed in this pull request
Set the "CUSTOM_HOSTNAME" and "AUTHORISED_HOSTS" when the app is review
Guidance to review
Tested by requesting a new account and confirming the URL in the email works properly.
Link to Trello card
https://trello.com/c/lJ6P4iSH
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

 Bug: Email links don't contain AKS domain


Update udev rules to name and symlink NVMe disks and partitions

Fixes #485
Description:
We don't have custom naming/symlink rules for NVMe disks which results in them not getting unique symlinks under /dev/disk/by-id (when you have multiple NVMe disks all you get is a single nvme_card entry).
Fix:
Update the custom GCE udev rules file and add rules for NVMe disks. With this change, the NVMe disks will have symlinks (and ID_SERIAL and ID_SERIAL_SHORT attributes in case anyone relies on them) similar to those of SCSI disks.
Test Notes:
Verified that this works for CentOS 6, Debian 7, 8, 9, Ubuntu 16 and SUSE 12.

Please verify other team member's internally are happy with this change and let me know when you're confident we can merge. From my end this looks good to me.

/lgtm from Kubernetes Storage


feat: Allow ArrayIndex for GenericDialect

Hello!
From discussion: https://github.com/apache/arrow-datafusion/pull/2195#issuecomment-1096599374
Looks like it's a good decision to allow ArrayIndex for Generic dialect, but anyway it will be cool to improve dialect with feature flags.
Thanks

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.403%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8035

Relevant Lines:
8888

💛  - Coveralls

👍  looks good to me -- would it be possible to add a test (so someone doesn't accidentally break this)?
Also I hope to make a release if sqlparser sometime early next week


Would it be possibile to move this with python37?

It seems python27 won't be supported anymore on Google Cloud.
Is there an alternative that works for python37?

As of 2021 Google committed to making these "legacy" APIs such as Images, Mail, User, Memcache, Blobstore, so they work in Python3.
https://cloud.google.com/appengine/docs/standard/python3/reference/services/bundled/google/appengine

This is great! I just checked Google's docs and it seems that they are ending support for python27 by 2024-01-30.
Thus, updating this lib to use Python3 is a must, I guess.

Is there anyway to run it now with a new install? I can't run it because of ending support for python27


Get rid of externs/olx.js and src/ol/typedefs.js

We have everything in place now for moving type definitions from externs/olx.js to other places. The new typedefs for copying/pasting into other places (class modules for classes, src/ol/types.js for things like FrameState) can be found in the temporary externs/xol.js file.
An example pull request for part of the work is #7946, which is based on #7609. Additional pull requests should remove types from externs/olx.js as they are moved to other places.
The desired result is outlined in #7838, which also involves getting rid of src/ol/typedefs.js, whose types are redistributed to the place where they are used if there is only one and its internal only, or to src/ol/types.js.
This issue keeps track of progress. Here are the namespaces to tick away:

[x] #7953 ol
[x] #7965 ol/control
[x] #7953 ol/events
[ ] ol/extent
[ ] ol/format
[ ] ol/geom
[ ] ol/interaction
[ ] ol/layer
[ ] ol/pointer
[ ] ol/proj
[ ] ol/render
[ ] ol/renderer
[ ] ol/reproj
[ ] ol/source
[ ] ol/structs
[ ] ol/style
[ ] ol/tilegrid
[ ] ol/vec
[ ] ol/webgl

I'm taking on ol.

I'm also taking on ol/events.

I'll do ol/control.

I'll take ol/format next.

Working on ol/extent now.

Now taking on ol/interaction.

I will have a look at ol/layer.
Thanks @ahocevar for the intro to the topic and greetings from the OSGeo Code Sprint

I will have a look at ol/source tomorrow, which seems to be the biggest chunk left => it should keep me busy on the train ride back from the code sprint :-)

hi guys, what's going on on this task ? @ahocevar ?
Seems the list of what is done is not up to date.
What's left ? we have some time to push things this week.

I was out for 2 weeks and need some time to catch up. If possible, could anyone who contributed to this effort update the ticket description so we have a better overview of what's left?
cc @fgravin

I'm already on that, I cannot update the description myself, but I will just post a list of changes here in a few minutes.

I take ol/tilegrid

Starting with ol/render now.

Now taking ol/structs

seems that nothing to do in ol/renderer
i take ol/render

@fgravin Done that already here: #8081
Besides ol.LoadingStrategy and reviewing/merging my pull requests, there should not be anything left to do.

@pfirpfel ok i'll let you on that then.
@ahocevar is there some other tasks we could help on toward ol 5.0 release ?

@fgravin The next task is to get rid of oli. interfaces. In addition to doing the same thing we did for olx.*, this requires to change all object properties listed in oli. interfaces to use bracket instead of dot notation (e.g. this['coordinate'] = options.coordinate instead of this.coordinate = options.coordinate).

@fgravin (and others), see the 5.0 Milestone for additional work toward the release.
We should ticket the work to redistribute oli.js separately.
There is also a fair bit of work to get rid of the legacy ol.foo.Bar notation (see #7970).  A search for \bol\..* reveals 1146 results in 329 files.  TypeScript is looking pretty good right now...


DOC: 2.x.rst - Add API REFERENCE link

Closes #1660

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 87.085%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
2387

Relevant Lines:
2741

💛  - Coveralls

Thanks @jorisvandenbossche!


[tuify] giti : TUI tool to delete local branches of git

Closes #187

@Harshil-Jani @NadiaIdris https://github.com/r3bl-org/r3bl-open-core/issues/187#issuecomment-1813015558

https://asciinema.org/a/14V8v3OKKYvDkUDkRFiMDsCNg


413 Entity too large

I am leveraging a proxy solution upstream of this service. Unfortunately my proxy inserts some rather large cookies and headers.  I believe express is not happy about the size of the request header and is returning a 413 entity too large.  Is there any option we can use to tune the request body or headers maximum size?  Sorry if this has been asked already, I am not too familiar with NodeJS.

So after much further testing I discovered that this appears to be an AWS ES issue.  The cookie header was too large that AWS ES returns a 413 back to the user. This is not related to this proxy.

I am currently experiencing the same issue. How do you solve that if it's on AWS side ?

Since kibaba does not rely on cookies you can strip the entire cookie
header as it is sent to AWS ES. I am using Nginx to do the manipulation.
On Feb 8, 2017 7:21 PM, "Dorian B."<EMAIL_ADDRESS>wrote:

I am currently experiencing the same issue. How do you solve that if it's
on AWS side ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/santthosh/aws-es-kibana/issues/18#issuecomment-278536148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJWM0BmG61YUCromU_1kdnKImM7D1-Z3ks5raoYpgaJpZM4L10cQ
.


Update connect-workday.md with GCC URI

Document is missing details for "Redirection URI" for GCC customers, hence GCC customers are getting confused and try to use the commercial or GCC High URI that is provided in the document. Adding the URI for GCC customers will help them use the correct URI for GCC and reduce support cases for CSS.
Currently, doc only shares the URI for Commercial and GCC High Customers, URI details for GCC customers is missing. So I added the URI details for GCC as well.
Line added to the doc:  For US Government GCC customers, enter the following value: https://portal.cloudappsecuritygov.com/api/oauth/connect

@preetgill9  - You opened this PR in the public repo. I'm closing it - can you please open it in the private repo instead?
Instructions can be found here:
https://review.learn.microsoft.com/en-us/help/get-started/checklist-get-started?branch=main&tabs=github


[Shuffle] Add shuffle info to proxy

What do these changes do?
This PR add n_mappers/n_reducers info to shuffle proxy, so it can be used for shuffle optimization such as fetch by index

Related issue number

Fixes #xxxx
Check code requirements

[ ] tests added / passed (if needed)
[ ] Ensure all linting tests pass, see here for how to run them

In my opinion, n_mappers and n_reducer shall be recorded on graph execution to reduce complexity for operand writers.

In my opinion, n_mappers and n_reducer shall be recorded on graph execution to reduce complexity for operand writers.

Some reducer chunks are not included in the chunk graph, we can't get all info when build graph.


full and remaining unmasked latent embeddings

Hello, I would like to know how this sentence in the paper is achieved: "In MDT, both the full and remaining unmasked latent embeddings are fed into the diffusion model during training."? I can't find this part in the code

@gasvn


Remove duplicate skipReason check

This was introduced in 1245eb94e97d4958a6ed124b4a8b5453f2d60be3

@alcaeus: It looks like phpcs was enabled on v1.5 in https://github.com/mongodb/mongo-php-library/commit/339492ff76b7f3c60d78624264211ae1c50793dc. Was the branch not updated at the time to satisfy the code checks? I wouldn't have expected this to fail as it did.

@alcaeus: It looks like phpcs was enabled on v1.5 in 339492f. Was the branch not updated at the time to satisfy the code checks? I wouldn't have expected this to fail as it did.

This could be due to recent changes in phpcs or sniffs: the tool has a history of fixing bugs or introducing sniffs that create new errors on a run, even when upgrading patch or minor releases. In this case, this is a regression that we've ignored in a later branch, so feel free to ignore (and maybe run phpcs after merging up to the current stable branch).


Bump bounds for ghc-9.6.1

Same as #69 but solves merge issues and adds ghc 9.6.1 to github actions build

Duplicate of #69


Who's using React Router?

Drop your company name, SVG logo, and a link to your website. Links to any public repos using React Router are welcome, too!
We are going to add these to the brand new React Router website we are working on.

Ooh, want to include my spaceship controls?
Name: Thorium
Website: https://thoriumsim.com
Repo: https://github.com/thorium-sim/thorium
Logo: https://github.com/Thorium-Sim/thoriumsim.com/blob/master/src/img/thorium.svg

Hi, are you interested only projects with public repos?

@filipenevola Nope. If you can't link to the repo it's no problem. Company name + logo + link to the website is OK.

Not a company, but a personal project!
Name: GitCleanup
Website: https://www.gitcleanup.com/
Repo: https://github.com/MehediH/GitCleanup
Light Logo: https://github.com/MehediH/GitCleanup/blob/master/src/assets/logo.png
Dark Logo: https://github.com/MehediH/GitCleanup/blob/master/src/assets/lightLogo.png

CALA
Site: https://ca.la
Logo: here
Many private repos, at least one public one.

Elastic
Site: https://www.elastic.co/
Logo: https://www.elastic.co/brand
Repos: https://github.com/elastic/kibana/ and https://github.com/elastic/eui

Spaceship uses React Router!
https://spaceship.run
Logo is actually being finalized in a day or two, but I edit it into this comment when it's done.

Not a company. cuHacking: Carleton University's (Ottawa, Canada) hackathon organization. We run events that promote personal development of student skills, and of course, an annual hackathon.
Websites: https://cuhacking.com, https://my.cuhacking.com
Repos: Website Proper, My cuHacking
Logo: https://github.com/cuhacking/brand-assets/blob/master/logos/logo.svg

Tesorio
Site: https://www.tesorio.com/
Logo: here

Shotdrop
Site (Almost done): https://useshotdrop.com
Logo:
(png) https://imjake.d.pr/LA0Yzp
(svg) https://imjake.d.pr/3f82o1
and for work..
NewEngen
site: https://newengen.com
logo:
(png) https://imjake.d.pr/gJ2GCQ
(svg) https://imjake.d.pr/exR9cY

Hi!
Using React Router for almost 4 years (v2.4.1 on 2016-06-02) here at Mille Volts!
Our website: https://www.millevolts.fr
Our logo: https://www.millevolts.fr/wp-content/themes/millevolts2020/img/logo-millevolts.png
Thanks for the hard work!

Hi!
Usinng RR since day 1 :D
Company: Everyday
Website: https://everyday.app
Logo: https://everyday.app/app/images/everyday-ab4c0bfb2adf245409aede3c211123c5.png?=[version-number]

Hey 👋🏻,
Company: Agent Advance
Website: https://agentadvance.com
Logo: https://www.agentadvance.com/agent-advance-dark.svg
Note: The landing page uses NextJS but the actual app once you login uses React Router :)

Hi!
We using React Router in every project  :)
Company: Neoweb Studio
Website: https://neowebstudio.ir
Logo: https://neowebstudio.ir/static/media/Logo.17bb199d.png

Company
Website
Logo

XP Bytes
https://xpbytes.com

NoticeSound
https://noticesound.com

Sounders Music
https://soundersmusic.com

TrailerVote
https://trailervote.com

Delft Solutions
https://delftsolutions.com

Ping me if you only want logo marks (so without the name in the logo). Some of them use react-router, but not on the main page.

Company: AutoGuru
Website: https://www.autoguru.com.au/
Logo: https://cdn.autoguru.com.au/images/logos/autoguru.svg

Hello, literary we have some private repo, but we trying to engage an oss
Company: Qlue
Github: https://github.com/qlue-dev
Website: https://www.qlue.co.id/
Logo: https://www.qlue.co.id/images/logo.png

Company: Innomius
Website: https://innomius.com/
[Logo](url

)

Company: Wrk
Website: https://wrkhq.com
Logo: https://inflow-public.s3.amazonaws.com/WrkLogo.svg

Company: codedamn
Website: https://codedamn.com
Logo: https://www.dropbox.com/s/t79uhx5dd1gpn1k/logo.svg?dl=0

Company: Vanilla Forums
Website: https://vanillaforums.com
Repo: https://github.com/vanilla/vanilla
Logo: https://vanillaforums.com/svgs/logo.svg

Company: Medal
Website: https://medal.tv
Logo: https://site.medal.tv/assets/images/medal_logo.svg

Company: Expressable
Website: https://expressable.io
Logo: https://ik.imagekit.io/expressable/expressable-logo_nXE3ezjy-.svg

Company: Koan
Website: https://www.koan.co/
Logo: https://assets.website-files.com/5de6b8dd447c5317a7a81e7c/5de6b8dd447c53816ea81ea7_koan_logo.svg

Company: Course Hero
Website: https://www.coursehero.com/textbook-solutions/
Logo: https://www.coursehero.com/assets/img/ch_blue_logo.svg

Company
Website
Logo

AdaKerja
adakerja.com

Company: CloudHealth by VMware
Website: https://www.cloudhealthtech.com/
Logo: https://www.cloudhealthtech.com/sites/all/themes/cloud_health/img/ch-vm-logo.svg

Company name
Website
Logo

Smartplace
Website and logo coming soon!
Will update in a couple days :)

🏢 Company: Saagie
🌐 Website: https://saagie.com
🖼 Logo: https://www.saagie.com/wp-content/themes/saagie/dist/assets/img/logo.svg

Company
Website
Logo

Adevinta
https://www.adevinta.com/es/

Habitaclia
https://www.habitaclia.com

Fotocasa
https://www.fotocasa.es

Milanuncios
https://milanuncios.com

Coches.net
www.coches.net

Some of them use react-router, but not on the main page.

Us at Einride uses React Router for our Transport Platform and Companion PWAs!
🏢Company: Einride
🌐Website: https://www.einride.tech/
🖼Logo:

https://raw.githubusercontent.com/pomle/einride-resource/master/einride.svg

Hey guys! Pleased to post our Startup here! We have have been always using React Router! 🚀👇
Name: Scope
Website: https://scope.ink/
Logo: https://user-images.githubusercontent.com/48650098/81046131-fa6f9f00-8eb7-11ea-9c87-c411313ac427.png
Light Logo: https://user-images.githubusercontent.com/48650098/81046136-fc396280-8eb7-11ea-9df5-bab7e9edfa1a.png
Good work team!

Company: Lynx Solution
website: https://lynxsolutionz.com
logo: lynx solutionz

Company
Website
SVG Logo image

Brandox
https://brandox.com/

Company: Upgrowth
Website: https://www.upgrowth.com.au/

Company
Website
Logo

Gorrion
https://gorrion.io

Company: XM Cyber
Website: https://www.xmcyber.com/
Logo: https://xmcyber.com/wp-content/uploads/2019/06/xm-cyber-logo-thick-1.png

Personally very thankful for RR and the work invested! Always happy to use it in personal projects as well as at work:
Company: Interhyp
Website: https://www.interhyp.de/home
Logo: https://www.interhyp.de/assets/interhyp/website-assets/images/logo.svg

Company: e-point
Website: https://www.e-point.com/
Logo: https://bit.ly/e-point-logo-svg

Company: Nifty Learning
Website: https://niftylearning.io
Logo: https://niftylearning.io/wp-content/themes/niftylearning/static/img/logo/Logo_FullColor.svg

Company: Branch Insurance
Website: ourbranch.com
Logo: https://images.prismic.io/branch/19e90dcd-4e11-4a1f-abf6-6aa98c5a28cf_logo.min.svg?auto=compress,format

Appio
Site: https://appio.cz
Logo: here

Company: Kistler
Website: https://www.kistler.com/en/
Logo: https://upload.wikimedia.org/wikipedia/commons/a/a2/Kistler-Logo.svg

Company: Chronoscope
Website: https://www.chronoscope.app/
Logo for dark background: https://storage.googleapis.com/chronoscope-general/images/logos/chronoscope-logo-light.png
Logo for light background: https://storage.googleapis.com/chronoscope-general/images/logos/chronoscope-logo-dark.png

Company
Website
Logo

Cerner
https://www.cerner.com/

Company: Sentry (@getsentry)
Website: https://sentry.io/
Logo for dark background: https://sentry-brand.storage.googleapis.com/sentry-logo-white.png
Logo for light background: https://sentry-brand.storage.googleapis.com/sentry-logo-black.png

Company: Smplrspace (@smplrspace)
Website: https://www.smplrspace.com
Logo for light background:
Logo for dark background: https://raw.githubusercontent.com/smplrspace/website/live/static/media/logo-white.svg
Thanks for your work ✌

Personal website!
name: Nino Filiu
Website: https://ninofiliu.com
Logo: https://storage.googleapis.com/nino-filiu-pictures/misc/me.jpg

Company: VAS
Company Website: https://web.vas.com
Logo: https://www.dropbox.com/s/za50k7o0h07oaf2/vas-isologo.svg?dl=0
Unfortunately no public repos to show 😞

Company: Zesty.io
Website: https://www.zesty.io
Logo: https://brand.zesty.io/zesty-io-logo-horizontal.svg
Repo: https://github.com/zesty-io/accounts-ui/
Working towards making our platform front-end public where we use it heavily. Recently mentioned on our latest feature build. https://www.zesty.io/mindshare/product-announcements/zesty-io-web-ide/#technical-details
Thanks for such a great library!

Company: Rapid7
Company Website: https://www.rapid7.com/
Logo: https://www.rapid7.com/includes/img/Rapid7_logo.svg

Company: HiringSolved

Company website: https://hiringsolved.com/ (our React-Router app is behind a login)

Logo (light + dark variants): https://gist.github.com/tsnieman/1eaf8ee32ccadc19f97d937ff81ad4c5

No public repos.

Company: Endpoint Closing
Company website: https://endpointclosing.com/
Logo: here

Company: Uberall
Website: https://uberall.com
Logo: https://uberall.com/assets/images/logo.svg

Company: Carta
Website: https://carta.com (RR is behind a login)
Logo: https://carta.com/wp-content/uploads/2018/10/Carta.png

Company: SumUp
Website: https://sumup.com
Project URLs: https://me.sumup.com, https://parceiros.sumup.com.br
Logo: https://gist.github.com/connor-baer/428c303af5fc1e8e2757ec98baae6830

Company: CoverWallet
Website: https://www.coverwallet.com/
Logo: https://coverwallet-static-files.s3.amazonaws.com/logo-44121bfa-9a00-4dd1-b9df-7628d5bc9f2d.svg

Name: Where is COVID-19
Website: https://whereiscovid.info
Repo: https://github.com/cakebatterandsprinkles/whereiscovid
Logo: https://raw.githubusercontent.com/cakebatterandsprinkles/whereiscovid/master/public/logo512.png

Company
Website
Logo

Everlane
https://everlane.com

Company : Upshift
Website: https://www.upshift.work/
Logo: Link

Company: Curology
Website: https://www.curology.com/
Logo: Link

company: Gem4Me (messenger)
Website: https://web.gem4me.com/
Logo: Link

company Cyberhaven
Website: https://cyberhaven.com/
Logo: link

company: OpenFeedback
Website: https://openfeedback.io
Logo svg: here
Logo png: here
Repo: https://github.com/HugoGresse/open-feedback

Company: N26
Website: https://n26.com/
Logo: here

LWJGL
Website: https://www.lwjgl.org/
Logo: https://www.lwjgl.org/img/fav/lwjgl.svg

Company: ShiftLeft Inc.
Website: https://www.shiftleft.io
Logo: https://www.shiftleft.io/static/images/logo.svg

Company: Medium
Website: http://medium.com/
Logo: logo

Company: Zmagle
Website: https://zmagle.com
Logo: link

Name: Buffer
URL: https://buffer.com
Logo (Black): SVG link 🔗
Logo (White): SVG link 🔗

Name: HackTJ
URL: https://hacktj.org/2020v2/
Logo: https://github.com/HackTJ/2020v2/blob/ef82805cf711807f9639de13666cc364075fcfe6/src/images/bigweblogo.svg

Name: The Webstronauts
URL: https://webstronauts.com
Logo:

Company: AdCellerant
Website: adcellerant.com
Logo:

Why update so frequently and no special feature, may be for sense of presence ？？

Company: Radity
Website: https://radity.com/
Logo:

Company : SpaceFill
Website : https://www.spacefill.fr/
Logo:

Company: Quantum Mob
Website: https://qmo.io
Logo:

HENNGE K.K. https://hennge.com/
https://hennge.com/jp/about/brand/images/hennge_logo.svg

Hi,
Name: Global CTO Forum
Website: https://globalctoforum.org/
Logo:

Name: Aviondo
Website: https://aviondo.com
Logo:


Passing props from parent component to custom navigator

Current Behavior
Referring to the custom tabs example on the docs, I had passed params through the navigate function to a screen. eg.
onPress = {() => navigate('ListingDetails', {listingAttributes: listing})
this works as expected and when I go to the ListingDetails screen, console logging this.props.navigation.state.params returns me the listingAttributes.
Expected Behavior
Now my problem is I have a CustomTabs component in ListingDetails. Would it be possible to pass this.props.navigation.state.params into the CustomTabs and render the data from each CustomTabView, and how to do so?
Your Environment

software
version

react-navigation
"react-navigation": "1.0.0-beta.7",

react-native
"react-native": "https://github.com/exponent/react-native/archive/sdk-15.0.0.tar.gz",

node
v7.2.1

npm or yarn
4.6.1

I'm not sure I follow your question. Can you post a relevant code snippet?

Hey @matthamil thanks for taking a look at my thread!
Here is a snippet:
class ListingDetailsScreen extends Component {

  componentDidMount() {
    console.log("state", this.props.navigation.state.params);
  }

    static navigationOptions = {
    header: { style:{ position: 'absolute', backgroundColor: 'transparent', zIndex: 100, top: 0, left: 0, right: 0 } }
    }

    render() {

      const {navigate} = this.props.navigation;
      this.props.userFetch();

        return (
            <View style = {{backgroundColor: 'white', height: 650}}>

            <ListingHeader
            name = {this.props.name}
            bio =  {this.props.bio}/>

                <CustomTabs />
            </View>
        );
    }
}

CustomTabs refers to CustomTabs.js
I would like some way to pass this.props.navigation.state.params into CustomTabs through something like screenProps but unsure if it is possible.

Hi! In an effort to get the hundreds of issues on this repo under control I'm closing issues tagged as questions. Please don't take this personally - it's simply something we need to do to get the issues to a manageable point. If you still have a question I encourage you to re-read the docs, ask on StackOverflow, or ask on the #react-navigation Reactiflux channel. Thank you!


Get manuscript gdoc and start writing

Need to get as much written as we can

Great job! Will get back to this after doing the app


Add capture support for Android

Very basic; this works for my project so others may find it useful

Thank you for your work!
I simplified the conversion to base64 in the onPictureTaken callback which should reduce memory usage and added a capture method to the javascript component.


Dash-qt wallet gets laggy

Hello guys,
We've got an issue - the wallet gets laggy at times - both GUI and RPC interface react with significant latency. The wallet is pretty big and it's used alot. At the moment it consists of about 18k transactions, there's 400 transactions daily on average.
Applicaton is run with:
spentindex=1 addressindex=1 timestampindex=1 server=1 txindex=1
I'm not sure if the issue is caused by the number of transactions, it's just my guess, but is it possible to make the wallet not maintain data about all 18k transactions and only keep some of the most recent?
Any ideas what's the actualy reason for this and what's the solution?

Closing due to no response. please feel free to open if you still have an issue you'd like to investigate


Update notices.rst

Changed "notifications" to "notices" to match existing content. Minor rewording of AA content for ease of reading.

@justinegeffen @cwarnermm I didn't realize we added the admin advisor docs into this page as well (that was originally written for in-product notices). If we are consolidating the in-product notices docs and the admin advisor docs here, then we really need to include screenshots and improve the hierarchy of this page. For example:

Without the tribal knowledge of what in-product notices are and what admin advisor is, this page is very hard to understand now. Images may help
The FAQs I wrote were for in-product notices (not admin advisor), but now they are at the same hierarchy as the rest of the headings

Resources that may help in resolving this:
End user in-product notice image example:

Admin in-product notice example:

Admin Advisor example:
Please ask @jasonblais

Thanks, @esethna. Those are very good points. I'm 4/5 for keeping this content in this page and will update this PR with the provided images tomorrow, thanks. :)

@justinegeffen you can get a screenshot of the admin advisors here.

Apologies for the delay on this. I'll be addressing it today.

Thanks @justinegeffen, see (2) and (3) from my comment above, I think we need more updates to hierarchy in this doc

Ah, thanks @esethna, totally skipped those. I'll sort that out.

@esethna, I've rearranged the content as suggested. I moved the FAQ to a point between the in-product notices and admin advisor notices sections as the FAQs related only to the in-product notices. If we do add admin advisor FAQs I'll fold those into that section and then move it to the bottom of the page.


kube-dns improvements

Closes #584.

Codecov Report

Merging #615 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #615   +/-   ##
======================================
  Coverage    37.7%   37.7%
======================================
  Files          51      51
  Lines        3302    3302
======================================
  Hits         1245    1245
  Misses       1854    1854
  Partials      203     203

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7db8629...2d3ffa4. Read the comment docs.

@mumoshu Done!

@danielfm LGTM. Thanks a lot for your continuous support 👍


rst-1486 cucumber framework

Basic Cucumber framework for the HwF's staff app. Aim was to get at least one test passing but I've done a bit more than that. Some feature files are in progress but can be used for manual testing while the steps get defined. See Jira https://tools.hmcts.net/jira/browse/RST-1486

Are the fixtures necessary? The staff app already has factories.

Requires dev time to fix travis error and ignore the codeclimate


Dockerized and updated the readme

Thanks! I appreciate the dockerization!

My pleasure, Joshua!
On Fri, May 24, 2019 at 3:38 PM Joshua Barone<EMAIL_ADDRESS>wrote:

Thanks! I appreciate the dockerization!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jbarone/xxelab/pull/4?email_source=notifications&email_token=ABFJK57WNE22C4HEAFBUBFLPXBU73A5CNFSM4HPREP52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWGWNEA#issuecomment-495806096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFJK5YE7RRLSFRJ4AYZ2TLPXBU73ANCNFSM4HPREP5Q
.


Error on installing on swift 3

Hi,
I tried my best before posting my answer here ... but still did not work ..
pod 'Caishen', :git => 'https://github.com/prolificinteractive/Caishen.git', :branch => 'swift-3.0'
but I receive this error:
[!] Error installing Caishen
[!] /usr/bin/git clone https://github.com/prolificinteractive/Caishen.git /var/folders/3f/hlddm2z55_91b6hx68g2vflw0000gn/T/d20161229-86999-1vt21f1 --template= --single-branch --depth 1 --branch swift-3.0
Cloning into '/var/folders/3f/hlddm2z55_91b6hx68g2vflw0000gn/T/d20161229-86999-1vt21f1'...
warning: Could not find remote branch swift-3.0 to clone.
fatal: Remote branch swift-3.0 not found in upstream origin

Hi,
The branch you are pointing to (swift-3.0) has been merged and deleted, which is why cocoapods cannot install it with pod 'Caishen', :git => 'https://github.com/prolificinteractive/Caishen.git', :branch => 'swift-3.0' anymore. You can use pod 'Caishen', '2.0.1' now and it should work.

[!] Unable to satisfy the following requirements:

Caishen (= 2.0.1) required by Podfile

None of your spec sources contain a spec satisfying the dependency: Caishen (= 2.0.1).
You have either:

out-of-date source repos which you can update with pod repo update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

Right, you'll need to run pod repo update before pod install in this case. Your local Cocoapods repo is outdated and it can't find this new version of Caishen. pod repo update should fix this.

thank you ... I am running  and it takes time


Error mzML import in MZmine3

Basic information
Hi !

My operating system and version: Ventura 13.1 (MacOS) and I also use Windows 10 PRO (V18363.1556)
My MZmine version: 3.3.0 (also try 3.2.8, 3.4.16, 3.4.27)

What happened : I need to export my data in mzML, but this message error when I try to use mass detection. I was recommended to try to convert my data twice in mzML, but then I have this message error.
When I open my mzML files in text editor, there are no special characters.
This is a conversion file in positive and negative mode, maybe the problem is here ?
Using mzXML seems better, but I always ended with an empty files at the end... Any solutions ?

I am working on shimadzu vendor files .lcd

Can you add an example file?
Raw and converted


[will not merge, created a new PR] Remove Account Operation for SSO extension [common core]

Targeting sedemche/sso-extension instead of sedemche/sso-extension-release for readablily.
Will change the target branch later.

Close as another PR with same change got merged.


tests(ticdc): Adding tests to the default dispatcher when old value is enabled

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/4379
What is changed and how it works?
Adding tests to the default dispatcher when old value is enabled.
Check List
Tests

Unit test

Code changes
None
Side effects
None
Related changes
None
Release note
None

/run-all-tests

/cc @asddongmen @zhaoxinyu
Could you please take a look? Thanks! 💚 💙 💜 💛 ❤

/run-all-tests

/merge


[LLM Runtime] Control printing information using NEURAL_SPEED_VERBOSE

Type of Change
feature
API changed
Description
NEURAL_SPEED_VERBOSE for c++ and python api.
Enable verbose mode and control tracing information using the NEURAL_SPEED_VERBOSE environment variable.
Available modes:

0: Print all tracing information. Comprehensive output, including: evaluation time and operator profiling.
1: Print evaluation time. Time taken for each evaluation.
2: Profile individual operators. Identify performance bottlenecks within the model.

example:
NEURAL_SPEED_VERBOSE=1 ./build/bin/run_llama -m runtime_outs/ne_llama_q_int4_jblas_cint8_g32.bin -p "once upon a time, a little girl" -n 10

...................................................................................................
model_init_from_file: support_jblas_kv = 0
model_init_from_file: kv self size =  128.00 MB

system_info: n_threads = 56 / 112 | AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | F16C = 1 | BLAS = 0 | SSE3 = 1 | VSX = 0 |
sampling: repeat_last_n = 64, repeat_penalty = 1.100000, presence_penalty = 0.000000, frequency_penalty = 0.000000, top_k = 40, tfs_z = 1.000000, top_p = 0.950000, typical_p = 1.000000, temp = 0.800000, mirostat = 0, mirostat_lr = 0.100000, mirostat_ent = 5.000000
generate: n_ctx = 512, n_batch = 512, n_predict = 10, n_keep = 0

 once upon a time, a little girl named Lily lived in a small village nestled
model_print_timings:        load time =  2233.65 ms
model_print_timings:      sample time =     7.48 ms /    10 runs   (    0.75 ms per token)
model_print_timings: prompt eval time =   222.95 ms /     9 tokens (   24.77 ms per token)
model_print_timings:        eval time =   408.06 ms /     9 runs   (   45.34 ms per token)
model_print_timings:       total time =  2653.31 ms
========== eval time log of each prediction ==========
prediction   0, time: 222.95ms
prediction   1, time: 43.97ms
prediction   2, time: 43.83ms
prediction   3, time: 43.74ms
prediction   4, time: 43.80ms
prediction   5, time: 50.83ms
prediction   6, time: 45.16ms
prediction   7, time: 46.75ms
prediction   8, time: 44.81ms
prediction   9, time: 45.19ms

Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

NEURAL_SPEED_VERBOSE

0: print all
1: print eval time
2: profile op

example:
NEURAL_SPEED_VERBOSE=1 ./build/bin/run_llama -m runtime_outs/ne_llama_q_int4_jblas_cint8_g32.bin -p "once upon a time, a little girl" -n 10

...................................................................................................
model_init_from_file: support_jblas_kv = 0
model_init_from_file: kv self size =  128.00 MB

system_info: n_threads = 56 / 112 | AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | F16C = 1 | BLAS = 0 | SSE3 = 1 | VSX = 0 |
sampling: repeat_last_n = 64, repeat_penalty = 1.100000, presence_penalty = 0.000000, frequency_penalty = 0.000000, top_k = 40, tfs_z = 1.000000, top_p = 0.950000, typical_p = 1.000000, temp = 0.800000, mirostat = 0, mirostat_lr = 0.100000, mirostat_ent = 5.000000
generate: n_ctx = 512, n_batch = 512, n_predict = 10, n_keep = 0

 once upon a time, a little girl named Lily lived in a small village nestled
model_print_timings:        load time =  2233.65 ms
model_print_timings:      sample time =     7.48 ms /    10 runs   (    0.75 ms per token)
model_print_timings: prompt eval time =   222.95 ms /     9 tokens (   24.77 ms per token)
model_print_timings:        eval time =   408.06 ms /     9 runs   (   45.34 ms per token)
model_print_timings:       total time =  2653.31 ms
========== eval time log of each prediction ==========
prediction   0, time: 222.95ms
prediction   1, time: 43.97ms
prediction   2, time: 43.83ms
prediction   3, time: 43.74ms
prediction   4, time: 43.80ms
prediction   5, time: 50.83ms
prediction   6, time: 45.16ms
prediction   7, time: 46.75ms
prediction   8, time: 44.81ms
prediction   9, time: 45.19ms

@hshen14 @kevinintel @airMeng @DDEle , redesign log, help review again~


MSID: 90497 Version: 1 DOI: 2<IP_ADDRESS>1580

"msas": "Neuroscience"
"msid": "90497"
"preprintDoi": "10.1101/2<IP_ADDRESS>1580"
"Reviewed Preprint posted": "2023-11-17"
"Sent for peer review": "2023-07-21"
"Posted to bioRxiv": "2023-08-03" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>1580v1/")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=90497)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/90497/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1580)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/90497/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/90497)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/90497

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/90497

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/90497/v1/90497-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/90497)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

elocations missing from the references


OpenCC in Pure Python

Hi @BYVoid , I find your OpenCC project, and I really want to use it in my Python script. But I have problems.  There are many Python wrappers (like: OpenCC, pyopencc, opencc-python). They all require binary of OpenCC installed. Building and installing OpenCC on many platform are not very easy from your source code.
I was think of re-write the convertor purely in Python. The convertor will only use config and dictionary resource from your project. The converting time will be longer, the quality of the results may be not good due to different coding. But, in this way, the benefits is that the Python package will not require OpenCC binary, and will install on many platforms with ease.
What do you think my idea? Is it proper to add these changes to your project, and create a package on PyPI(https://pypi.org/)? Or, should I create my own project and retrieve data file from OpenCC?

I am writing tests for Python, using OpenCC test cases. I Find few bug about max matching length of phrases. I will continue writing fixes and test code.

Please feel free to create your own standalone project. I am not planning to maintain any other implementation than the C++ version.
Thanks.


PostgreSqlBuilder should use " as tableAndColumnDelimiter.

I made the change in the PostgreSqlBuilder, but soon after I realized how rubbish PostgreSql starts behaving. People will be forced to start using delimiters in the SQL as well, whether they like it or not:
where ""{nameof(Entity.Property)}"" = 'Alice' or
where {sqlBuilder.GetColumnName(nameof(Entity.Property)} = 'Alice'
Otherwise the names won't be properly resolved.
So for the time being I've reverted my changes. In the future, I will make this a choice.
Added to the FAQ section.

We could wrap all arguments of FormattableString that are entity properties names with tableAndColumnDelimiter(and transform them to databseColumnName if configured).
Currently we use it like that: $"where [{nameof(Entity.Property)}] = 'Alice'".ToAnsiQuotedIdentifiers(), ToAnsiQuotedIdentifiers is simple string extension method that replaces '[' and ']' with '"', it works on both sql server and postgres.
Thoughts?

That is a wonderful idea. The FormattableString gives us access to both the format and the arguments.
Problems will arise however when referencing other tables in clauses:
$where {nameof(Person.EmployeeId)} in (select {nameof(Employee.Id)} from {nameof(Employee)})). How are we gonna handle that?

Following your idea, another approach that avoids false positives and gives more control to the developers would be using a custom formatter in the library:
$where {nameof(Person.EmployeeId):C} = 'Alice'
The final sql would use something like formattableQuery.ToString(new SqlFormatProvider())
The SqlFormatProvider will provide a formatter that looks for a C specifier for columns in the context of the current entity.
Still doesn't solve referencing other entities/tables. Or it could, but in the format people will need to provide the name of the referencing entity in a T specifier.

Good point, to avoid ambiguity in such cases I think it's reasonable to use another C# 6 feature 'Using static members':
$where {nameof(Person.EmployeeId)} in (select {Table<Employee>(nameof(Employee.Id))} from {Table<Employee>()}))
It will also allow to use expressions:
$where {nameof(Person.EmployeeId)} in (select {Table<Employee>(e => e.Id)} from {Table<Employee>()})).

Looks good. Will definitely go into the next release, one way or another. It does need slight refactoring of the sql builder.

Released in 2.2 BETA


Add type hint for pandas.to_numeric()

Fixes #108

The CI errors look like coming from #109

I solved #109. Can you rebase?

Perfect, thanks!


--explain is deprecated

An user-visible error is thrown when # noqa: RUF001 or a similar noqa comment is hovered:
error: `ruff --explain <RULE>` has been removed. Use `ruff rule <RULE>` instead.

Error Running Ruff
	at com.koxudaxi.ruff.RuffKt.runCommand(Ruff.kt:285)
	at com.koxudaxi.ruff.RuffKt.runCommand(Ruff.kt:214)
	at com.koxudaxi.ruff.RuffKt.runRuff(Ruff.kt:374)
	at com.koxudaxi.ruff.RuffKt.runRuff(Ruff.kt:324)
	at com.koxudaxi.ruff.RuffNoqaDocumentationTarget$computeDocumentation$1.invokeSuspend(RuffNoqaDocumentationTarget.kt:35)
	at com.koxudaxi.ruff.RuffNoqaDocumentationTarget$computeDocumentation$1.invoke(RuffNoqaDocumentationTarget.kt)
	at com.koxudaxi.ruff.RuffNoqaDocumentationTarget$computeDocumentation$1.invoke(RuffNoqaDocumentationTarget.kt)

The error is quite straightforward: The --explain option was removed, and its replacement is rule.
This line is causing the problem:
val markdown = runRuff(psiComment.project, listOf("--explain", noqaCode), true)

It should be changed to:
val markdown = runRuff(psiComment.project, listOf("rule", noqaCode), true)

...though I guess it won't be that easy since support for old versions is probably desired.

The  supported version was released
0.0.36
Thank you


[Feature] Nightly helm releases

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
I would like to use a feature of the helm chart that has been committed since the last (0.4.0) release.
Please can we (a) release it perhaps under 0.4.1, and (b) Setup a nightly helm release so we can use new features more easily
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

It's a good idea to have a nightly Helm release. Welcome to open a PR at https://github.com/ray-project/kuberay-helm.


Only consider defects in the missing regression script

Coverage remained the same at 27.307% when pulling 0f081f817dd5c4ccea8a1b07c8044ed90e60956d on marco-c:only_defects into 811b369f465b6c1274d521e7d2b7c688d3908035 on mozilla:master.


Fix cupy.copyto ignore where argument when src is scalar

Fixes #872

Could you add more test cases?
(i.e. complex and numpy scalars)

Thanks, I added the complex test case.
Currently cupy.copyto does not support NumPy scalar as a source, so I think it should be a separate PR if we need to support it.

OK.

LGTM!


[Code health] Override clean Gradle task to remove generated ground-android/build

The following root build.gradle stopped compiling after upgrading to Gradle 8.5:
task clean(type: Delete) {
    delete rootProject.buildDir
}

Alternate syntaxes were not accepted and not sure of the correct way to add it back. @shobhitagarwal1612 any ideas?

We can probably remove this custom gradle task. I don't this it's used very often.

We can probably remove this custom gradle task. I don't this it's used very often.

That's what I ended up doing in #2181, but then after gradle clean the reports are left behind in /build dir.

Unfortunately I still receive the following error in #2184:
Build file '/Users/gmiceli/Git/google/ground-android/shared/build.gradle.kts' line: 25

Failed to apply plugin class 'org.gradle.language.base.plugins.LifecycleBasePlugin'.
> Cannot add task 'clean' as a task with that name already exists.
```


Need to be able to pass on SearchAttributes to child workflows

From user - For SearchAttributes: Is there any way to pass SearchAttribute for childworkflows? I have checked that it's not getting passed implicitly.
I cannot even find an explicit way of doing so. We pass the SearchAttribute in StartWorkflowOptions and ExecuteWorkflow takes the StartWorkflowOptions as a parameter but ExecuteChildWorkflow doesn't have such parameter.

https://github.com/uber/cadence/pull/2266
https://github.com/uber-go/cadence-client/pull/802