Tensorflow minimize operation runs into shape mismatch with StridedSliceGrad

System Info:

custom code
Linux Ubuntu 16.04
Tensorflow 1.4.0 installed with pip install tensorflow-gpu
python 2.7
CuDa 8
terminal command just calls my script with "python GAN.py"

Source code:
input_points = tf.placeholder(shape=[batch_size, 2048, 3], dtype=tf.float32)
latent_vector = encoder(input_points, encoder_weights, encoder_biases)
reconstructed_points = decoder(latent_vector, decoder_weights, decoder_biases)
AE_loss = chamfer_distance(input_points, reconstructed_points, batch_size)
AE_optimizer = tf.train.AdamOptimizer(learning_rate=0.0005, beta1=0.9)
AE_minimizer = AE_optimizer.minimize(AE_loss)
Context: The input points and reconstructed points are the same shape. After the call to chamfer_distance(), AE_loss becomes a tf.constant.
Upon calling AE_minimizer, I receive the following error log:
Traceback (most recent call last):
File "GAN.py", line 168, in
main()
File "GAN.py", line 162, in main
AE_minimizer = AE_optimizer.minimize(AE_loss, var_list=AE_parameters)
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 343, in minimize
grad_loss=grad_loss)
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 414, in compute_gradients
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py", line 581, in gradients
grad_scope, op, func_call, lambda: grad_fn(op, *out_grads))
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py", line 353, in _MaybeCompile
return grad_fn()  # Exit early
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py", line 581, in
grad_scope, op, func_call, lambda: grad_fn(op, *out_grads))
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/array_grad.py", line 245, in _StridedSliceGrad
shrink_axis_mask=op.get_attr("shrink_axis_mask")), None, None, None
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 5572, in strided_slice_grad
shrink_axis_mask=shrink_axis_mask, name=name)
File "/home/adraganov/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 546, in _apply_op_helper
inferred_from[input_arg.type_attr]))
TypeError: Input 'begin' of 'StridedSliceGrad' Op has type int64 that does not match type int32 of argument 'shape'.
I have seen traffic regarding problems with type mismatches with input 'begin', such as in Issue 11380. I have, however, seen nothing online for this specific problem, where the fields 'begin' and 'shape' have different types.

I found what the issue was, but am curious why the trace error didn't specify. The chamfer_distance loss metric had an arg_min operation, which was then being processed by minimize incorrectly, as it is non-differentiable. Does minimize not check for differentiability in the graph it is working with?

@ebrevdo or @andydavis1 might know whether tf.train.AdamOptimizer(loss) is supposed to return a better error, if loss is non-differentiable.

As I known, the gradient op is not registered for argmax and argmin, since there not practical implementation, see #14931 and #2177 .  I just wonder whether we should mark them by ops.NotDifferentiable or REGISTER_OP_NO_GRADIENT. So the gradients are always zero when those ops are involved.

@aselle Can you comment on the StrideSliceGrad?

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Perhaps this is solved, or just no longer of interest.


failed to build

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug

What happened:
I builded kubevirt from source code  but reported the following error, I confirmed that my internet network has no problem.
+ bazel build --config=x86_64 --stamp //tools/csv-generator/... //cmd/... //staging/src/kubevirt.io/client-go/examples/...
INFO: Build option --stamp has changed, discarding analysis cache.
INFO: Repository libvirt instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule container_pull defined at:
  /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/io_bazel_rules_docker/container/pull.bzl:228:33: in <toplevel>
ERROR: An error occurred during the fetch of repository 'libvirt':
   Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/libvirt/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name index.docker.io/kubevirt/libvirt@sha256:6a817da0fa85d6698e93594ef9d1d084358d62c93ed1b1237f3d147f77f92b58)
ERROR: /root/go/src/kubevirt.io/kubevirt/cmd/virt-handler/BUILD.bazel:63:16: //cmd/virt-handler:version-container depends on @libvirt//image:image in repository @libvirt which failed to fetch. no such package '@libvirt//image': Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/libvirt/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name index.docker.io/kubevirt/libvirt@sha256:6a817da0fa85d6698e93594ef9d1d084358d62c93ed1b1237f3d147f77f92b58)
ERROR: Analysis of target '//cmd/virt-handler:virt-handler-image' failed; build aborted: Analysis failed
INFO: Elapsed time: 604.390s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (795 packages loaded, 14231 targets configured)
+ finish

Environment:

KubeVirt version (use virtctl version): 0.34.0

I have built successfully after some time , I think the issue still was caused by network though I don't know where is root cause.


Add the ability to print a subtree in KCFG

As suggested by @lisandrasilva, it'd be easier to debug proofs if kontrol show allowed printing a subset of nodes between two different nodes.

We could add kontrol show --focus ... which you give a node-id, and it will print the path from th eroot to that node only. We could also have the f keystroke (for "focus") in the kontrol view ... hide the other paths and only display that one.
We could also add teh z keystroke to the kontrol view ... to make the behavior view atke the whole screen, instead of the left half.

Both would have been super useful in the Term engagement, where we had pretty big kcfgs.


Acc bug when using sparse label and custom sparse_categorical_crossentropy like loss?

When using sparse label without sparse_categorical_crossentropy loss, the acc is calculated by categorical_accuracy.
It's not expected when a custom loss like:
def my_loss(y_true, y_pred):
    loss = K.min(K.sparse_categorical_crossentropy(y_true, y_pred), 1)
    return loss

In keras/keras/engine/training.py it only compares the losses.sparse_categorical_crossentropy.
elif self.loss_functions[i] == losses.sparse_categorical_crossentropy:
    # case: categorical accuracy/crossentropy
    # with sparse targets
    if metric in ('accuracy', 'acc'):
        metric_fn = metrics_module.sparse_categorical_accuracy
    elif metric in ('crossentropy', 'ce'):
        metric_fn = metrics_module.sparse_categorical_crossentropy

I think it should judge the label with K.is_sparse or at lease give a warning?

what a coincidence!
I found the same issue. is there a way to solve it?


Update black to 20.8b1

@hramezani Did you find out why this didn't work?

@hramezani Did you find out why this didn't work?

I think the new version of black couldn't be installed on pypy3. I am going to make another PR and make the black format checking better. Currently, black format check runs on every test. I think it is not necessary and we can run it just once.


test: Re-use snapshot formatting from scip-python

The feature implementation PR #293 changes the snapshot formatting for a large
number of snapshots, making it harder to verify that there are no unexpected
changes due to the changes in the code. This patch separates out the
snapshot formatting so that it is clearer what the mapping from
code changes -> snapshot output changes is.
Test plan
Covered by existing snapshot tests

cc @Titou325


Fusion kernel name

Use target function name as the kernel name by default
Add kernel_name option to fuse to override the kernel name

LGTM except document,
Please update description of fuse.

OK


Task/clean admin front

What's this PR do?
Changes completely the front end for the application, changed the template being used
Where should the reviewer start?
Although it might seem like a lot, the reviewer should only check the template files
layouts/*
captura/*
administración/*
estudios_socioeconomicos/*
no view was touched in the process of doing this.
How should this be manually tested?
python manage.py runserver
login as capturista, then as admin
python manage.py test
Any background context you want to provide?
Front end was horrible, couldn't stand it.
This template was adapted ~stolen~ from Quickleft/Sprint.ly

Codecov Report

Merging #66 into develop will decrease coverage by 6.89%.
The diff coverage is 95.89%.

@@            Coverage Diff            @@
##           develop     #66     +/-   ##
=========================================
- Coverage     97.1%   90.2%   -6.9%
=========================================
  Files          101     116     +15
  Lines         2488    4381   +1893
  Branches         0     496    +496
=========================================
+ Hits          2416    3952   +1536
- Misses          72     429    +357

Impacted Files
Coverage Δ

...p2_online/static/vendors/DateJS/src/core/parser.js
74% <ø> (ø)

...p2_online/static/vendors/DateJS/src/core/extras.js
50% <ø> (ø)

estudios_socioeconomicos/models.py
100% <ø> (ø)
:arrow_up:

...tatic/vendors/DateJS/src/core/parsing_operators.js
70.38% <ø> (ø)

...online/static/vendors/DateJS/src/core/time_span.js
17.92% <ø> (ø)

...line/static/vendors/DateJS/src/core/time_period.js
33.33% <ø> (ø)

captura/test_views.py
100% <ø> (ø)
:arrow_up:

..._online/static/vendors/DateJS/src/core/sugarpak.js
96.62% <ø> (ø)

.../static/vendors/DateJS/src/core/core-prototypes.js
94.03% <ø> (ø)

.../static/vendors/DateJS/src/core/parsing_grammar.js
92.37% <ø> (ø)

... and 24 more

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 b34c52e...3b9d497. Read the comment docs.

All external javascript should get ignored from the coverage results


Http success callback fails to pass complete data

I'm passing fairly good-sized amounts of json data, and reading it in via the $http module.
It was failing to parse the json with the message:
SyntaxError: JSON.parse: end of data when property name was expected at line 1 column 288080 of the JSON data length: 288079
And when I print the length of the data argument passed to my success() callback:
$http.get("http://" + oxProxyServer + endpoint,{ transformResponse:function(data){return data} })
            .success( function( data, status, headers, config) {
             try {
                    console.log(headers());
                    var json = JSON.parse(data);
                    deferredResult.resolve(json);
                } catch ( e ) {
                    console.log(data);
                    console.log(e + " length: " + data.length);

It indeed prints "length: 288079" (you can see it above as well)
However the Response Header Content-Length is correct,
from Chrome debug web tools:
Access-Control-Allow-Credentials:true
Access-Control-Allow-Headers:host,connection,accept,origin,user-agent,referer,accept-encoding,accept-language,Authorization, Content-Type, Accept
Access-Control-Allow-Methods:GET, OPTIONS
Access-Control-Allow-Origin:http://localhost:63342
Access-Control-Max-Age:86400
Connection:keep-alive
Content-Length:289554
Content-Type:application/json
Date:Sat, 01 Aug 2015 01:20:55 GMT

And I also dump the data from the server, load it into json lint online, and it parses, and it's 289554.
So it looks like the $http success callback is getting called before all the data is read.

Note that I have sent considerably larger amounts through the system - I don't think it's size related. Some of the data was not a ascii subset of utf-8 (i.e. japanese characters, etc). I dump the size and data on the backend (a node proxy), and it is correct, and parseable via JSON.parse(). So something is dropping data client-side or intermediately, just for this data, and in a consistent fashion.

And confirmed the last of the data was sent in wireshark.. so there is some assembly issue client-side.

Invalid issue - I was setting the content-length from the (body.length). When I stopped doing this, and added the encoding to the content type:
responseHeader['Content-Type'] = "application/json;
Changed to:
responseHeader['Content-Type'] = "application/json; charset=utf-8";

It worked. All I can surmise for now is that the multibyte characters in the string threw off the body.length calculation, and lead to header with an invalid length value, which caused something to break, somewhere.


Small feature: Service Matcher on Embed.ly Client

Added a service matcher to the python client - allows you to determine if a URL is serviced by embed.ly or not. I think this is a similar approach to what reddit uses, except theirs is hardcoded.
In my own implementation I've also added a caching layer to get_services, which I think will be pretty important for speed, but isn't very implementation-agnostic just yet.
Not sure if this uses the same sort of internal lingo you guys might use at embed.ly - feel free to edit.

Updated to match the new version of the library. I assume you guys aren't going to use this at this point, but I'll leave it open in case anyone else stumbles upon it or you have feedback.

Hi,
I added your changes, but changed the method name and the way that the regex method worked:https://github.com/embedly/embedly-python/commit/051feb1b6539efa3831c540f5d0aeb0953296b82#L2R69
You can now do
>>> client.is_supported('http://yahoo.com')
False

Thanks for the pull request and bearing with us while we got to fixing it.
Sean

Sounds good, thanks for the feedback!


⚠ Inventory API Endpoint has degraded performance

In 9589752, Inventory API Endpoint (https://inventory.roblox.com/v1/users/82738847/assets/collectibles?limit=10&sortOrder=Asc) experienced degraded performance:

HTTP code: 503
Response time: 4476 ms

Resolved: Inventory API Endpoint performance has improved in e3a025a.


call the scheduleSending callback when stream.Close is called

Fixes #1067.
The stream needs to send the STREAM frame containing the FIN bit.

Codecov Report

Merging #1068 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1068      +/-   ##
==========================================
+ Coverage   90.94%   90.94%   +<.01%
==========================================
  Files         107      107
  Lines        7263     7264       +1
==========================================
+ Hits         6605     6606       +1
  Misses        427      427
  Partials      231      231

Impacted Files
Coverage Δ

send_stream.go
95.71% <100%> (+0.03%)
:arrow_up:

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 4519088...0d6032a. Read the comment docs.

I ran the integration tests in my VM a couple of hundred times, and I'm pretty sure this also fixes #1066.


UpdateTable re-running for all cells after any cell value changes/updates

Hi Paul,
I can see that updateTable method is running for all the cells in the table, even if any of the cell value is updated. Is there a way to stop this ? For larger tables, iterating through all the cells would be a big performance overhead.
Is there a way I can limit this to only initialization and not update?
Thanks in advance

You can use onchange and not use updateTable.

Actually I wanted to style every cell based upon some of the properties present in it's row. For that I have used updateTable. This method has all the params needed to serve my changes. For eg.,
updateTable: function(instance, cell, col, row, val, label, cellName) {
// I want to style few cells based upon the values
// present in their adjacent cells (same row)
},
This works perfectly fine and I'm able to add those classes. The only problem I face is when I try to update the value present in any of the cell manually, this updateTable cycle runs again for every cell. I can always check for the presence of classes before adding them. But I'm wondering whether there is some call back once the the updateTable cycle completes for every cell for the first time itself.


can't run python at jenkins slave using kubernetes plugin

I plan to use kubernetes plugin to run my jobs.  Because I need to run python,  I build a new image based on jnlp-slave then install python and related packages.  After running on slave I found that the slave node can hardly recognize any python command.  I also use

Building remotely on jenkins-slave-zcrgk (jenkins-slave) in workspace /home/jenkins/workspace/test
[test] $ /bin/sh -xe /tmp/jenkins7218841966279036340.sh

cd /usr/bin
ls -la

to list all the command, python is not in there.  But If I run this slave image at my local machine
docker run -it --rm --entrypoint /bin/bash --user root robinchen007/jenkins-slave:1.5
python interpreter works well.
Can you help to figure out the reason?

please use jenkins-user mailing list to ask questions
my guess is you are using the same label as some node that does not have python

I'm actually having the exact same issue but with trying to add dotnet. It's like the binaries I added in to the image simply don't exist. @Chenguoqing2008 what was your solution?

I think your problem is , is that you don't override the default jnlp slave, hence creating 2 slaves. then you see the files in your slave, but it's not the same slave ran by jenkins. Have a look at the kubernetes plugin docs: https://github.com/jenkinsci/kubernetes-plugin#constraints


the output takes forever... no output was generated :(

I'm doing it locally becoz I cannot even launch RVC on the google colab.
I think I run though everything but the output seems to take forever to load... so Im kinda stuck here (refer to the screenshot below) I've been waiting for like 1hr atm, (if its normal to take this long it might sound stupid but I cant find the average time it takes... ) is there any way to solve this?

Originally it cannot load the audio file either when I drag the file in, I end up putting the audio file inside the folder "audio", so that it appears in the drop down menu at 2. choose your audio, is this correct to do so?

I have been facing the exact same problem and this is my attempt with RVC. I had manually upload the .pth and .index and the audios files to respective folders for th web UI to recognize them because none of the UI buttons were doing the job and taking forever to upload model or audio file. Now after I manually loaded the files and finally hit convert, I face the same problem of running the convert task forever. I don't know if there is any solution to this problem. Any help is appreciated.

The first time i was running it locally, i had other problems, i think it was only with training tho, but the convert process worked without any issues. after deleting everything, because i thought i might encounter less problems with the colab, and downloading the local files again, i encounter the same problem. cmd says:
2023-11-02 01:30:18 | ERROR | root | Task exception was never retrieved
future: <Task finished name='j3mz9tazxth_9' coro=<Queue.process_events() done, defined at C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py:343> exception=1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'data': [], 'event_data'...on_hash': 'j3mz9tazxth'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.4/v/missing>
Traceback (most recent call last):
File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py", line 347, in process_events
client_awake = await self.gather_event_data(event)
File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data
data, client_awake = await self.get_message(event, timeout=receive_timeout)
File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py", line 456, in get_message
return PredictBody(**data), True
File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\pydantic\main.py", line 164, in init
pydantic_self.pydantic_validator.validate_python(data, self_instance=pydantic_self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'data': [], 'event_data'...on_hash': 'j3mz9tazxth'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.4/v/missing
no actual clue what to do from here

is no one else having the same issue? i get no errors while launching, none whatsoever. yet nothing works. trying to download models, refreshing audio lists, refreshing models, trying to get an output. everything just gets stuck in queue infinitely.

The first time i was running it locally, i had other problems, i think it was only with training tho, but the convert process worked without any issues. after deleting everything, because i thought i might encounter less problems with the colab, and downloading the local files again, i encounter the same problem. cmd says:
2023-11-02 01:30:18 | ERROR | root | Task exception was never retrieved future: <Task finished name='j3mz9tazxth_9' coro=<Queue.process_events() done, defined at C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py:343> exception=1 validation error for PredictBody event_id Field required [type=missing, input_value={'data': [], 'event_data'...on_hash': 'j3mz9tazxth'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.4/v/missing> Traceback (most recent call last): File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py", line 347, in process_events client_awake = await self.gather_event_data(event) File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py", line 220, in gather_event_data data, client_awake = await self.get_message(event, timeout=receive_timeout) File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\gradio\queueing.py", line 456, in get_message return PredictBody(**data), True File "C:\Users\Dionsaurier\Music\RVC\runtime\lib\site-packages\pydantic\main.py", line 164, in init pydantic_self.pydantic_validator.validate_python(data, self_instance=pydantic_self) pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody event_id Field required [type=missing, input_value={'data': [], 'event_data'...on_hash': 'j3mz9tazxth'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.4/v/missing
Edit: actually downloading the whole package from the .bat, extracting ONLY the \runtime\lib\site-packages\pydantic\ folder and replacing it with the existing one fixed this for me

IT'S WORKED! Thank you!


Web ssh

Create ssh connection to each node by using a web ssh library.

Until we find a proper lightweight client-side ssh terminal we can use plugins specific to browsers:
Firefox: FireSSH
Chrome: Secure Shell


Update Makefile: Add error handling, fallback for bpftool, and reorder installation steps

Summary
This pull request updates the Makefile ensure the installation process is not interrupted by errors .
The changes include:

Added error handling for each installation step.
Introduced a fallback mechanism for bpftool installation: if bpftool fails, the script will attempt to install linux-tools-common.
Reordered the installation steps to ensure that the failure of bpftool does not affect the installation of other components.
fix: updated go binary path

updated gen_vmlinux to
sudo bpftool btf dump file /sys/kernel/btf/vmlinux format c > ./bpf/headers/vmlinux.h


How can I use the gradients of variable 'a' to update variable 'b'?

Hi, I have two sets of weights 'a' and 'b' in my model, I want to use the gradients of 'a' to update 'b'. Can I call "compute_gradients" on 'a' to get the gradients, and use the result to call "apply_gradients" for 'b' to update weight 'b'? If feasible , what should I do?

Does a and b has the same shape?

Does a and b has the same shape?

Yes, it does. In fact, I want to transfer resnet50 to a binary net, so there are two sets of weights in my model. One is a set of weight in float, named "w", the other is a set of binary weights, named "bin_w", just like this:
`    def binarize(self,x):
gb = tf.get_default_graph()
with ops.name_scope("binarized") as name:
with gb.gradient_override_map({"Sign":"Identity"}):
return tf.sign(x)
def HardTanh(self,x):
    with tf.variable_scope("HardTanh"):
        return tf.clip_by_value(x,-1,1)

def bin_conv(self,x,num_out_layers,kernel_size,stride=1,name=None,activation_fn="HardTanh"):
    #num_in_layers=x.get_shape().as_list()[3]
    with tf.variable_scope(name,reuse=False):
        p = np.floor((kernel_size - 1) / 2).astype(np.int32)
        p_x = tf.pad(x, [[0, 0], [p, p], [p, p], [0, 0]])
        num_in_layers=p_x.get_shape().as_list()[3]
        my_w=tf.get_variable('weight',[kernel_size,kernel_size,num_in_layers,num_out_layers],initializer=tf.contrib.layers.xavier_initializer_conv2d())
        my_w=tf.clip_by_value(my_w,-1,1)

        bin_w=self.binarize(my_w)
        bin_x=self.binarize(p_x)

        out=tf.nn.conv2d(bin_x,bin_w,strides=[1,stride,stride,1],padding='VALID')

        my_b=tf.get_variable("bias",[num_out_layers],initializer=tf.zeros_initializer)

        out=tf.nn.bias_add(out,my_b)

        ##########################################################
        out=tf.contrib.layers.batch_norm(out)
        ##########################################################

        if (activation_fn == None):
            return out
        else:
            return self.HardTanh(out)`

Now I want to use the gradients of 'bin_w' to update 'w', and binarize new 'w' to update 'bin_w', and take bin_w as the final result in my checkpoint file.


Add TravisCI build status on readme

Hi! Thanks for your project! I've seen you have put jongo also on TravisCI and because there is a lot of "green status" on build history (see https://travis-ci.org/bguerout/jongo/builds ), why you don't add on readme  I mean this small image: https://api.travis-ci.org/bguerout/jongo.svg?branch=master
Keep going with this good project!

Thanks


Not working when upgraded the angular version to 4.4.6 and above

Are you recieving any error, because I am using this in Angular 5 with no problems


Feature/support conan package creation from local build

Feature/support conan package creation from local build

Closing stale PRs. We are tracking conan recipes on the project board.


ImVehFt Long Shadows

Add long shadows with G button like on ImVehFt. Not fog lights J button.

Added

Added

Can you also add the brightness change of corona when you enable long shadows like on the last 2 screenshots that i added on first message like on ImVehFt?
Also can you add toggle 'click' sound effect when you press G button like on ImVehFt? @user-grinch


Wagmi.sh/close#320

I have integrated the wagmi.sh for issue #320, but it will only work for meta-mask till now as the maintainer sees the code and approve it I will try to add the rest of the connectors like walletConnect and coin-base-wallet

Duplicates #670


Add KR translations link

Add  KR translations link to main docs

Not fully completed. but almost guide docs are completely translated. (except writing-a-plugin)
I will translate remains later.

Awesome - thanks!


x/sys: SYS___SYSCTL is not defined on darwin/arm

What version of Go are you using (go version)?
go version go1.9.1 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/steeve/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.9.1/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.9.1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bs/51dlb_nn5k35xq9qfsxv9wc00000gr/T/go-build313305023=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?
Try and build a package using golang.org/x/syscall.SYS___SYSCTL on darwin/arm
What did you expect to see?
A successful build.
What did you see instead?
Build fails with error:
vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go:224:23: undefined: SYS___SYSCTL

/cc @tklauser


How to inspect custom headers added with a middlewareStack?

I am adding custom headers using code that is very similar to the example in https://github.com/aws/aws-sdk-js-v3#middleware. However, when inspecting the list of command calls in my test, I do not see them in my command's args. Is it possible to inspect custom headers added with a middleware stack?
Thank you.

Headers are not part of the Command, but a request the SDK makes.
This library mocks the SDK Client send() call, so you can inspect only what was passed to the Client, not what the Client would do when actually sending the request. So no, it's not possible to inspect the result of middleware operations.
However, I will leave this open as a feature request. Maybe with more people needing this, someone will come up with a method to inspect the middleware operations.

Adding on for anyone in the future.
We had an issue where in AWS SDK V3 the endpoint being passed to ApiGatewayManagementApiClient requires a protocol, but in v2 it didn't. This gets checked in the middlewares, so the test will succeed.


centralized CI config + populating a gitlab instance

Automating the creation/configuration of the cross-cloud pipeline
It's getting more complex to configure and reproduce the cross-cloud / cross-project CI setup by hand.
Particularly as we add more projects and want to facilitate collaboration.
The ruby files at the top utilize a gitlab API key to populate/configure a developer's or team's instance of gitlab to repoduce the cross-cloud pipeline.
Centralizing all CI configs (bringing them in from the various ci-* branches of our projects)
Our project deals with many upstream repos that have separate governance processes.
Developing the CI configs separate from them simplifies the workflow and speeds up cross-project development.
Configuring the pipelines to use pristine upstream sources means commit-hashes can now match upstream without being disturbed by our adding a CI configuration.
This is accomplished by overloading the Custom CI Config Path feature by replacing it with a URL (back to this repo) to use a url.
It's available as a small patch which we apply to the recent releases.

There is an open ticket at Support CI job definition outside repository (external .gitlab-ci.yml) which we support via our locally applied patch


ripgrep: 0.9.0 -> 0.10.0

0.10.0 (2018-09-07)

Major new features include PCRE2 support, multi-line search and a JSON output format.

Things done

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

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

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

cc @tailhook

Success on aarch64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
post-installation fixup
moving /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/man to /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
shrinking /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
checking for references to /build in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0...
/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

Success on x86_64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
post-installation fixup
moving /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/man to /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
shrinking /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
checking for references to /build in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0...
/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

let's check darwin build
@GrahamcOfBorg build ripgrep

Success on x86_64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

Success on aarch64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

Success on x86_64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
post-installation fixup
moving /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/man to /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
shrinking /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0
checking for references to /build in /nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0...
/nix/store/6zppmvi9vi5nps8p0wz06y82mw0rqwy9-ripgrep-0.10.0

Success on aarch64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
post-installation fixup
moving /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/man to /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
shrinking /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin/rg
gzipping man pages under /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0
checking for references to /build in /nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0...
/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

Let's try darwin again. Unfortunately we cannot tell ofborg to only build one platform...
@GrahamcOfBorg build ripgrep

Success on aarch64-linux (full log)
Attempted: ripgrep
Partial log (click to expand)
/nix/store/m3jc9zyzcaa96sl6rskd4iy28n38gvh7-ripgrep-0.10.0

Success on x86_64-darwin (full log)
Attempted: ripgrep
Partial log (click to expand)
test result: ok. 186 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

installing
post-installation fixup
moving /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/man to /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/share/man
gzipping man pages under /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0/bin
patching script interpreter paths in /nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0
/nix/store/ms34lz0za59c8s5djbrz7i2qm61c93g0-ripgrep-0.10.0


feature request - user specified index for item to be dropped

can user decide on which index the item should be dropped? in dnd-drop callback function, we return the item so that the item gets dropped in the list. likewise, do we have any way to provide the index on which the item should be dropped?
Say I want the item to be dropped only in index 3 even if its dragged to index 7.

The best UX would probably to disallow dropping to other positions using a dnd-dragover handler. Other than that you can also have dnd-drop callback that returns true and does the insertion to the list on its own.


Potential issue with timing in multithreading environment

stacklog version: 1.1.0
Python version: 3.11

Description
Timing reported seems to be incorrect in some situations
What I Did
2024-07-25 04:02:57,623 Running myfunction...
2024-07-25 04:03:10,177 Running myfunction...DONE in 1.31 s

It reports 1.31s but it actually took ~13s

Reproduced in this stylized example
import time
import threading

def foo():
    elapsed = None

    def start():
        global elapsed
        elapsed = time.time()

    def end():
        global elapsed
        elapsed = time.time() - elapsed

    def print_():
        global elapsed
        print(elapsed)

    start()
    time.sleep(1)
    end()
    print_()

if __name__ == "__main__":
    threads = []
    for _ in range(10):
        threads.append(threading.Thread(target=foo))
    for thread in threads:
        thread.start()
    for thread in threads:
        thread.join()
    print('done')

$ python test.py
1.0017480850219727
1730141821.5548658
1.0017590522766113
1730141821.557236
1.0018329620361328
1.0018408298492432
1730141821.55726
1730141821.557271
1730141821.5572522
1.001849889755249
done

the global syntax was incorrect in version 1.x. the nonlocal syntax should have been used instead.
this has been fixed in https://github.com/micahjsmith/stacklog/commit/1010a365040d31d90680e515484218b430286149#diff-b3a0d340a039b43b4a15ba8fd43be822f208476f4cf370799a228c4d011d6c1a and is in the 2.x release series

Great find, I appreciate the investigation! Thanks!!


Updated Model Information for Tongyi-Qianwen and ZHIPU-AI

What problem does this PR solve?
Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR.
Type of change

[X] Bug Fix (non-breaking change which fixes an issue)
[ ] New Feature (non-breaking change which adds functionality)
[ ] Documentation Update
[ ] Refactoring
[ ] Performance Improvement
[ ] Other (please describe):

hi @morler  where i can find the information about Tongyi-Qianwen text-embedding-v3


sag is no PHP < 5.5 friendly anymore

Because of PR https://github.com/sbisbee/sag/pull/86 and usage of curl-reset() sag can't work anymore on PHP < 5.5
README needs to be updated if no revert is made.
Thanks!

Thank you, good catch. Updating the README as not even 5.5 is actively supported anymore (http://php.net/supported-versions.php), though of course it's mainline in Ubuntu.


export_dir in run_pretraining.py is necessary?

export_dir is just made at L545 in run_pretraining.py, but nothing else happens.
tf.gfile.MakeDirs(FLAGS.export_dir)

In the current script, unless --export_dir option is specified, the script dies in the evaluation step.
export_dir is necessary?

Yes, it is required.

But, it seems nothing is outputted under export_dir.

Good catch! Have submitted a change. Should be out soon. Thanks a lot!

Thanks for your quick response!
In addition to run_pretraining.py, please remove export_dir from README.md, run_pretraining_test.py and run.sh.
Thanks.

fixed. Thanks!


Autodump water, oxygen

Set fuel cells to always dump water, and KO2 scrubbers to always dump oxygen.
Forgetting to set resource dumping is a major trap for new players, and this avoids any possible bugs with kerbalism forgetting to dump (if those haven't been fixed yet).
Although there are potentially niche scenarios in which the player would not want this to happen, breaking those are preferable to the fuel cell and KO2 scrubber not functioning as expected 99% of the time.

This is an easy win. I notice there's a couple other places where we have dump_valve, should those change? Merging this for now.

Potentially. As mentioned, there are scenarios where you might not want to dump excess. A better solution would be to be able to set default dump behavior, and fix the bugs in kerbalism, but that may not be possible considering the development status of kerbalism.

fwiw, I've been running with this fuel cell fix for several years and never ran across a case where it was the wrong thing to do


Feature/error message existing account

This feature add a specific error message in the response of the API when you sign up and the account already exists.

You could add the same enhancement with the viewer users. (line 89 I guess)


a more generic approach when adding tag/s

now the toString() of any pojo decide what to show in the tag, the object is now changed to generics

Lovely stuff.


Use PolicyLearner in trainer_model_{based,free}

Thanks @koz4k ! I hope this makes the code more readable, thanks!


Fix tests failing in ci

Description
fixes tests failing in ci

@jakim929 made a pr to fix the go-tests failing in the main branch

think the tests have been fixed, and doesn't require this pr anymore


Modal tabs into background when last tabbable's tabindex="-1"

The issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.
Bug description: When the last tabbable element in a modal has tabindex="-1", tabbing does not return focus to the first element in the modal. It puts focus onto the background elements.
Link to minimally-working plunker that reproduces the issue: http://plnkr.co/edit/ejYEeIrDul5vrX9twvre?p=preview
Version of Angular, UIBS, and Bootstrap
Angular:
UIBS:
Bootstrap:

A possible solution is to filter elements with a tabindex="-1" attribute.
var tabbableSelector = 'a[href], area[href], input:not([disabled]):not([tabindex=\'-1\']), ' +
        'button:not([disabled]):not([tabindex=\'-1\']),select:not([disabled]):not([tabindex=\'-1\']), textarea:not([disabled]):not([tabindex=\'-1\']), ' +
        'iframe, object, embed, *[tabindex]:not([tabindex=\'-1\']), *[contenteditable=true]';

Sounds legitimate - feel free to file a PR


IDF: undefined reference to `ETH_EVENT' (CON-548)

I turned off "use CHIP MDNS" so that it would use the Espressif one. That worked on the ESP32C3, but it doesn't compile on the ESP32S3. I get this link error.
-idf/components/esp_phy/lib/esp32s3/libphy.a  /home/jonsmirl/esp/esp-idf/components/esp_phy/lib/esp32s3/libbtbb.a  esp-idf/esp_event/libesp_event.a  esp-idf/hal/libhal.a  esp-idf/esp_system/libesp_system.a  esp-idf/soc/libsoc.a  esp-idf/wpa_supplicant/libwpa_supplicant.a  esp-idf/efuse/libefuse.a  esp-idf/vfs/libvfs.a  esp-idf/driver/libdriver.a  esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a  esp-idf/mbedtls/mbedtls/library/libmbedx509.a  esp-idf/mbedtls/libmbedtls.a  -Wl,--end-group && :
/home/jonsmirl/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld: esp-idf/espressif__mdns/libespressif__mdns.a(mdns.c.obj):(.literal.unregister_predefined_handlers+0xc): undefined reference to `ETH_EVENT'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/jonsmirl/lowpan/build/log/idf_py_stderr_output_666744 and /home/jonsmirl/lowpan/build/log/idf_py_stdout_output_666744

I am on IDF:
commit ca8bf608df6caf9f83df2e2f98ff71815ad5c186 (HEAD, origin/release/v5.0)

This fails on IDF 5.1 too.
This is something broken in the IDF MDNS support for the ESP32S3.

@jonsmirl this will be fixed with https://github.com/project-chip/connectedhomeip/pull/27140

From that patch I can see there is a hidden ETH_ENABLED config variable for the S3.  USE_SPI_ETHERNET is defaulted on. That SPI option turns on ETH_ENABLED. I'm not using Ethernet, so the fix for me is to turn off USE_SPI_ETHERNET.
I just built without error after turning USE_SPI_ETHERNET off.


Reenable default -init method for DDLogMessage class.

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necesarry)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
By enabling -init method, you can write optimized loops like these since all DDLogMessage ivars are public:
NSMutableArray* lines = [NSMutableArray arrayWithCapacity:array.count];
DDLogMessage* logMessage = [[DDLogMessage alloc] init];
for (NSDictionary* dict in array) {
    logMessage->_message    = …
    logMessage->_flag       = …
    logMessage->_context    = …
    logMessage->_file       = …
    logMessage->_function   = …
    logMessage->_line       = …
    logMessage->_tag        = …
    logMessage->_timestamp  = …
    logMessage->_threadID   = …
    logMessage->_threadName = …
    logMessage->_queueLabel = …
    [lines addObject:[self formatLogMessage:logMessage withTimestamp:YES]];
});
It avoid DDLogMessage instance allocation for each loop.

Codecov Report

Merging #838 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #838      +/-   ##
==========================================
+ Coverage   23.02%   23.08%   +0.05%
==========================================
  Files          16       16
  Lines        3908     3911       +3
  Branches      279      279
==========================================
+ Hits          900      903       +3
  Misses       3006     3006
  Partials        2        2

Impacted Files
Coverage Δ

Classes/DDLog.h
88.23% <ø> (ø)
:white_check_mark:

Classes/DDLog.m
57.18% <ø> (+0.16%)
:white_check_mark:

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 0f18896...def3cb6. Read the comment docs.


Swipe keeps springing back

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 10 / Ubuntu 20.04
scrcpy version: 1.14
installation method: scoop (Windows) / manual build (Ubuntu)
device model: HUAWEI CLT-L09
Android version: 9

Describe the bug
Click and dragging to swipe down something such as the status bar doesn't always work. It will spring back every so often when I try. This also happens in any app where I need to swipe something to show it. This bug drives me balmy. This also affects scrolling. It's the same in both Windows and Linux and whether I use a touchpad or mouse.

It will spring back every so often when I try.

While your left click is kept pressed?
Does the mouse cursor stays inside your scrcpy window? (in other words, does the problem also occurs in fullscreen)

It will spring back every so often when I try.

While your left click is kept pressed?

I release it when I should.

Does the mouse cursor stays inside your scrcpy window? (in other words, does the problem also occurs in fullscreen)
Yes. It stays inside the window and also get the problem in fullscreen.

This bug also affects scrolling. E.g. swiping up to scroll down a web page will scroll back up a bit every so often when releasing the mouse button.

Could you provide a video, please? (for example scrcpy -r file.mkv + explain when you click)


Detect if docker is installed or started

The CLI should detect if docker is installed or started and display a nice error message

related to https://github.com/liteflow-labs/liteflow-js/issues/232

closing in favor of https://github.com/liteflow-labs/liteflow-js/issues/232


fix open tooltip alignment

some tooltips are not aligned correctly when opened, probably depending on the type/place of their target element

closed by https://github.com/peopledoc/layout-linter/pull/45


TextField: build error on Android and iOS since plugin version 5.1.7 using NS 7

Make sure to check the demo app(s) for sample usage
done
Make sure to check the existing issues in this repository
done
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
When creating a new project and adding the material textfield plugin via tns plugin add @nativescript-community/ui-material-textfield, the build fails during webpack with the following message:

webpack is watching the files…
...
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve '@nativescript-community/text' in '/Users/felixkrautschuk/PhpstormProjects/Testprojekte/nativescript-material-tf-ns7/node_modules/@nativescript-community/ui-material-textfield'
<EMAIL_ADDRESS>1:0-77 282:5-34
@ ./main-page.xml
@ . sync (?<!\bApp_Resources\b.)(?<!./\btests\b/.?).(xml|css|js|(?<!.d.)ts|(?<!\b_[\w-]*.)scss)$
@ ./app.ts

The last plugin version where I was able to build the app properly was 5.1.6, the build fails for all the newer plugin versions including the latest plugin version 5.1.12.
Which platform(s) does your issue occur on?

Android and iOS
no matter which os version
emulator and device

Please, provide the following version numbers that your issue occurs with:

CLI: 7.0.11
Cross-platform modules: 7.0.13
Runtime(s): tns/android 7.0.1, tns/ios 7.0.6
Plugin(s): @nativescript-community/ui-material-textfield 5.1.7 to 5.1.12 (5.1.6 is latest working version)

Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Create a new NS7 app and add the plugin > 5.1.6, or just take the provided sample app and try to run it (Android or iOS).
Is there any code involved?
nativescript-material-tf-ns7.zip

@felixkrautschuk sorry about this one ! I will release a fix

@felixkrautschuk released a fix in 5.1.13

@farfromrefug thanks for the fast reply and fix, it works now as expected.


Amend spec for visual question answering

cc @Wauplin, this PR is connected with https://github.com/huggingface/transformers/pull/34290. It updates the huggingface.js spec to remove the label output from visual question answering, because our pipelines don't have that output.

Thanks @Rocketknight1 ! transformers is the only supported library for VQA as far as I know so let's remove it yes.
Failing tests are unrelated if you wanna merge.


Enhance and optimise the authentication page

🛠 Fixes Issue
Closes #205

👨💻 Changes proposed

Fixed authentication issues with image and icons display
Linked the Mobile navbar to all authentication pages
Added success pop ups to authentication pages that did not have
Added the hide and show functionality to some password inputs in some authentication pages
Added redirecting paths to buttons and links like login, forgot password and create an account links
Adjusted the styling to have the same format with the figma design
Created the forgot password page since I couldn't see it in the pages folder

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Hey @ScottDeev, Nice work optimizing the unprotected pages which are the homepage,login,createaccount,kyc, support, e.t.c.However you added the dashboard navigation which is for authenticated users.

👆 This should be the navigation on this pages.

The link to the forgot password is broken
The footer links to support and kyc is also broken

I was thinking the issue was strictly for the pages found in the authentication section of the figma design. Because the support, home page are not there. I will try and fix the broken footer of those two pages

 Hey @ScottDeev, Nice work optimizing the unprotected pages which are the homepage,login,createaccount,kyc, support, e.t.c.However you added the dashboard navigation which is for authenticated users.

👆 This should be the navigation on this pages.

The link to the forgot password is broken
The footer links to support and kyc is also broken

Oh. I see now. That was a big mix up from me. I will correct the navigation

@t-bello7 I have been able to make the necessary corrections. You can help review again.

@ScottDeev Good to merge.

@ScottDeev please fix the conflicts, i should have merge this first

@ScottDeev please fix the conflicts, i should have merge this first

Done @ingressive4good


DepthRenderer method='median' is not differentiable

https://github.com/nerfstudio-project/nerfstudio/blob/702886b213a5942b64250b3c4dc632e62237a511/nerfstudio/model_components/renderers.py#L330
requires_grad=False while for expected its True
Seems like it will create a lot of "why is this not learning issues" downstream. Perhaps an improvement would be to raise a warning.

I agree, it might be good to have the method as "expected" by default
There was a small bug where expected depth wasn't previously used in depth-nerfacto:
https://github.com/nerfstudio-project/nerfstudio/pull/2852/files


two new BeONE components named beone and cgmlst; added md5 hashes to …

…paired_reads and contigs categories. To adapt to the recent addition of chewbacca, i will submit another pull request, to allow chewiesnake and chewbacca to live alongside each other.

commit 33defdb adds the beone and cgmlst categories, commit c4e7a6d uses the cgmlst category to host both, chewbbacca and chewiesnake results. the bifrost_chewbbacca pull request 14d3d4e has (hopefully) all necessary changes to the new schema structure.


Replaced CustomConversation with Bukkit API.

#18
I changed the the spigot dependency to the one that BuildTools puts into the local maven repo so that I could build it. Unless they released a new version recently, I think everyone else should have it as well and that it should be preferred to manually putting a spigot jar in.
Also added a .editorconfig file.

The spigot dependency doesn't have the NMS classes, so it wont build only with the dependency from their nexus (unless they recently changed that).

Well, it built for me.
Are you sure you're not thinking of the spigot API?

Yes, I am sure. Look at your current pom:
https://github.com/tyrothalos/CivModCore/blob/master/pom.xml
Where is it supposed to get the dependency from if there is no repository/nexus for it specified?
It probably built for you, because you have that exact spigot dependency installed locally (including nms)

Yes, it is installed locally because I used the Spigot BuildTools. Like I said, if you run BuildTools (for your desired version of Minecraft) it will automatically install the spigot jar into your local maven repo.
As far as I know there is no external repository to import the spigot jar from because doing so is illegal. The entire reason Spigot made BuildTools was to get around that.

No
http://www.spigotmc.org/wiki/spigot-maven/
That one doesnt have NMS though (those would be illegal, but bukkits/spigots stuff isnt)

That's for the Spigot and Bukkit APIs, it says right there in the example.
Distributing the API (the interface) is not illegal, but distributing the actual spigot server jar (the implementation) is illegal because it contains copyrighted Minecraft code.
If you want to include NMS stuff in your dependencies, then the preferred way of doing so is to use BuildTools to install the spigot server jar into your local maven repo and then using that in the pom.xml.

Long story short many of our plugins use a custom named spigot because we use a custom spigot build on our build server.
I tried to get everyone to switch to this notation but no dice :).
For the time being, please revert this PR to the prior dependency; locally feel free to stash the change so it builds fine.
One bright morning you and I will ninja in the correction while everyone else is asleep and they will be none the wiser, but that day is not today.

If you say so...
Where can I find the custom build?

Sorry, I was unclear.
Locally, build as you are.
For PRs to this repos and others equally ... unique ... leave the dependency as you found it.
The Jar itself is only available to admins. :-/ The changes would be available to everyone if Spigot ever accepted third party PRs...

@Maxopoly PR looks good. Any issues on your end? If none, feel free to merge.


Add method to apply a categorical colormap

Change list

Add a function apply_categorical_cmap that applies colors from a categorical column.

This is 180-200x faster than leafmap's existing assign_discrete_colors method on string data. When the user already has their data stored as a categorical, it's 620x faster than leafmap (although leafmap seemed to crash on the categorical I tested, so that's comparing apply_categorical_cmap on the categorical with assign_discrete_colors on the string).
On the dc wetlands dataset with 1500 rows:

Expanding the rows 1000 times to test with 1.5 million rows:

And when the input column is already a pandas categorical, this drops to 25ms.

Nice! I will switch to use apply_categorical_cmap in leafmap.


feat(gha): multi os base64.

Context
Add platform dependent base64 encoding function.
Reference(s)

https://github.com/philips-labs/slsa-provenance-action/issues/146

I'm currently working on a different approach because by serializing the GithubContext and display the base64 passed to the command line. We can dump the generated token.

I have identified various multiplatform support problems (use tar with zip, etc.)
I will do another PR later. Closing this one.


Add pace.edu

Pace University, New York, New York, Seidenberg School of Computer Science and Information Systems www.pace.edu/seidenberg

@dde I am sorry, the domain pace.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Open Letter Signature

Only addresses affiliated with an open letter signature are eligible at this time.
I'm getting this error when I try to claim my handle?
I'm newbie.
Hany

I deleted the message above as it contained a scam link.
The open letter as whitelisting condition was only available for those who signed before May 5th 2022. We are continuously adding whitelisting conditions, but we are also working on bringing permissionlesss minting to Lens profiles!


TODO

Demo1: simple operation with dataloader
Demo2: image inheritance & polymorphism
Demo3: bit field with filter design
Demo4: photo mosaic

try to itegrate wih tabulate: https://github.com/p-ranav/tabulate
and also argparse with stdarg for variadic function?

add catimg into data_loader display without x11 server
https://github.com/posva/catimg

Done


Why not include data collected with z from the posterior in the encoder buffer?

Thanks for your great work and code! I spot that at the training time of most environments, only data collected with z from the prior is added to the encoder buffer --- num_steps_posterior is set to zero for these environments. What's the reasoning behind this decision making? Why not include data collected with z from the posterior in the encoder buffer?

Thanks for addressing my concerns :-)


A rule with $domain modifier in French list blocks player

https://github.com/uBlockOrigin/uAssets/issues/18600#issuecomment-1605508867
URL to test: https://french-stream.gg/film/15114091-one-ranger.html
Steps to reproduce:

add @@||vido.lol^$domain=french-stream.gg,badfilter to counter https://github.com/AdguardTeam/AdguardFilters/commit/111547909de6b648a30aeae1497e4af7ab2a6bae
visit the site and try to play movie with ViDO server

Expected behavior: in this case player should not be blocked by the rule as french-stream.gg is not in the domain list.

@Yuki2718 Actually the rule @@||vido.lol^$domain=french-stream.gg is unnecessary, because the request to vido.lol does not really block, apparently it is a display error, later I will check on Windows, because on macOS everything is displayed and works correctly (although sometimes an error occurs, but it does not depend on these rules, and happens without them)

Yet as you see, at least on Chrome extension it's blocked and broken, and the logger relates to the rule.

I checked it on Windows, and it still works correctly. CoreLibs is only used in applications (macOS, Win, Android, iOS). I will move the problem to the appropriate repository.


Continuation of UX progress for swarm-mode

Hooked in growl style notifications (volume list page only at the moment)

@ehazlett There's a ton of new changes that are probably worth integrating in, in case others want to start building on top of the notifications, actions etc. that we have in this PR.

lgtm


CKKS keys don't get cleared from memory

It seems that the methods for clearing the CKKS keys or ReleaseAllContexts do not release the memory for the keys.

I was able to clear Bootstrapping stuff like this:
FHECKKSRNS* derivedPtr = dynamic_cast<FHECKKSRNS*>(context->GetScheme()->GetFHE().get());
derivedPtr->m_bootPrecomMap.erase(numSlots);
context->ClearEvalAutomorphismKeys();

I just needed to edit the library and to add that GetFHE() from the scheme to release pre-computations stored in m_bootPrecomMap.erase


Update the 250 XP Increase Item in the Store

Description
At the time of writing, it seems to be that the "250 XP" item in the Hildabot store seems to be broken. Rather than giving the user 250 XP for their 300 tokens, the bot only gives the user 100 XP.
I have yet to fully use the entirety of Hildabot's store, but this does not seem right, as previous commits affirm that the XP given should be 250, not 100.
Proposed changes

Fix the "250 XP" item in the Hildabot store where it describes it will give the user 250 XP but the user only receives 100

I have done so, should I have renamed the branch too?

Nah, the branch is fine.


Bring back changes from release-v2.7 to dev-v2.7

These are 3 "git merge" commits that were present in release/v2.6 and were not forward-ported to dev-v2.7 (or back ported to dev-v2.6). We need to get these in to correct the commit history between dev-v2.7 and release-v2.7


use k8s resource to keep the status of the ports

The best way to keep the KubeTLS report is in a k8s CRD.
The job itself should be converted to CronJob.
The Resource should contain:

Report time
y
z

Tasks:

[ ] Create k8s CRD
[ ] convert current k8s Job to k8s CronJob
[ ]

Hello, thanks for tool. Any plan how to get alert from this statuses then if there is non-tls uses ?

The report generates a json,csv report inside the job that can be used by the users to know the status.
However, the challenge is that once the job is Completed, the container local file system cannot be accessed. Typically what others (for e.g., KubeBench) do is to let the user mount a PV inside the pod and specify the volume mount point path for target report data.
Is there any easy way to export the data?


Lightclient Verifier dispatchables need weights assigned

We should calculate the weights for dispatchables in the parachain's lightclient verifier pallet.

Implemented by Riz in #307. Resolving.


Add increment proto build and use in CI

Adds a script to only build changed proto files in cirq/google/api.
Updates Google Actions to use this script instead of the full build.
Currently includes two changed proto files to test.  Will revert these before submission.
Could have also made one script but opted for separate. Feedback welcome :)
Also updates the full build tool to automatically grab all protos in cirq/google/api instead of having a hard coded list.
Fixes some documentation.

Fixes #2360

Fixes #2360

The logic in this file is getting quite complicated.  Check out bash_scripts_test.py if you want to test it.

The replaced Github action passes, but for some reason the status check is not reporting it as so.

This is stuck on the old action not being reported.  Is there further config that needs to be done for actions?  May try renaming it to old name.


Syncing back pictures to the cloud fails

Describe the issue
A one to many relation for pictures was set up according to the QField documentation https://docs.qfield.org/how-to/pictures/?h=pictur (with long UUID ID text fields). Syncing back to the cloud does not work. Is this an issue on my side or on QFieldCloud side?
Reproduction steps
Steps to reproduce the behavior:

Set up the one to many relation
Take pictures with QField/mobile device
Push the changes to QFieldCloud
Check the status/jobs on QFieldCloud

I will setup a small/new project if necessary to reproduce.
Expected behavior
The changes and pictures get applied on QFieldCloud
Observed behavior
After taking 2 pictures for one attribute with the QField app, they are saved in the app/project as I wanted. The 1 to N relation seems to works as aspected.
When syncing back to QField cloud I get a error message
Screenshots and GIFs

[Please also attach additional files if a specific project/dataset is useful to investigate the problem.]
Desktop (please complete the following information)

OS: Ubuntu 20.04.5 LTS
QGIS Version 3.26.3
QFieldSync Version v4.3.1

Mobile (please complete the following information)

Device: Samsung galaxy A52
OS: Android  13
QField version: 2.6.3 (aaa9ed v2.6.3)

Additional information

Problem started happening recently, didn't happen in an older version of QField: don't know
Problem can be reliably reproduced, doesn't happen randomly: I should test if the problem is on my side
Problem happens with all files and projects, not only some files or projects: don't know

Project is Vrijwilligers_Miradal_v1a (boswachter_marc).

Thank you @suricactus. The tbl_foto is indeed a geometry-less layer.

I just re-applied some synced 'errors' on the cloud. It worked!
I saw the one to many pictures on the desktop pc. Thanks for the update!

Great to hear! Sorry for the invonvenience.


python36Packages.ase: 3.16.2 -> 3.17.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-ase/versions.
meta.description for python36Packages.ase is: '"Atomic Simulation Environment"'.

Checks done (click to expand)

built on NixOS
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/.ase-wrapped passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/.ase-build-wrapped passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-build passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/.ase-db-wrapped passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-db passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/.ase-gui-wrapped passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-gui passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/.ase-info-wrapped passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-info passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/.ase-run-wrapped passed the binary check.
/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-run passed the binary check.
12 of 12 passed binary check by having a zero exit code.
2 of 12 passed binary check by having the new version present in output.
found 3.17.0 with grep in /nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0
directory tree listing: https://gist.github.com/7a947b16b8ca3cb1da444742b4c5cf04
du listing: https://gist.github.com/f92948b496dee5d1b60cf321d98d0abd

Rebuild report (click to expand)

19 total rebuild path(s)
5 package rebuild(s)
5 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
5 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.ase
python36Packages.ase
python36Packages.boltztrap2
python36Packages.dftfit
python36Packages.lammps-cython

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.ase https://github.com/r-ryantm/nixpkgs/archive/1d417463e2bf7752c6b4385d0bc750c8874f9605.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0
ls -la /nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin

cc @costrouc for testing.

Success on x86_64-linux (full log)
Attempted: python36Packages.ase
Partial log (click to expand)
patching script interpreter paths in /nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0
checking for references to /build in /nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0...
wrapping `/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-info'...
wrapping `/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-db'...
wrapping `/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-gui'...
wrapping `/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-build'...
wrapping `/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase'...
wrapping `/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/bin/ase-run'...
cannot link '/nix/store/.links/1yfiyxzxx6as9h19brbr5jypa68cm91x0jlj1kgijf3r9rkdin1i' to '/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/lib/python3.6/site-packages/ase/utils/timing.py': No space left on device
cannot link '/nix/store/.links/0qa5y663icvmwqawn9xr85l40dnswmrjzczda5p3vz3km0xvaznz' to '/nix/store/2vy3pl44jrzj45kx10nndyk7zbpd6cy6-python3.6-ase-3.17.0/lib/python3.6/site-packages/ase/db/__pycache__/__init__.cpython-36.pyc': No space left on device

Success on aarch64-linux (full log)
Attempted: python36Packages.ase
Partial log (click to expand)
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/lib  /nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin
patching script interpreter paths in /nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0
checking for references to /build in /nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0...
wrapping `/nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin/ase-run'...
wrapping `/nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin/ase-info'...
wrapping `/nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin/ase-gui'...
wrapping `/nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin/ase-db'...
wrapping `/nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin/ase-build'...
wrapping `/nix/store/brbhn5dak7kmkak4x31dmm89iir0lyz7-python3.6-ase-3.17.0/bin/ase'...

Success on x86_64-darwin (full log)
Attempted: python36Packages.ase
Partial log (click to expand)
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/lib  /nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin
patching script interpreter paths in /nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0
wrapping `/nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin/ase'...
wrapping `/nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin/ase-build'...
wrapping `/nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin/ase-db'...
wrapping `/nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin/ase-gui'...
wrapping `/nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin/ase-info'...
wrapping `/nix/store/dvhc9bgil2jc64pfc2dlhzvs0qqriz2i-python3.6-ase-3.17.0/bin/ase-run'...

@GrahamcOfBorg build python3Packages.boltztrap2 python3Packages.dftfit python3Packages.lammps-cython pythonPackages.boltztrap2 pythonPackages.dftfit  pythonPackages.lammps-cython

Unexpected error: unexpected build failure on aarch64-linux (full log)
Attempted: python3Packages.boltztrap2, python3Packages.dftfit, python3Packages.lammps-cython
The following builds were skipped because they don't evaluate on aarch64-linux: pythonPackages.boltztrap2, pythonPackages.dftfit, pythonPackages.lammps-cython
Partial log (click to expand)
creating build/bdist.linux-aarch64/wheel/libfuturize
creating build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/__init__.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_absolute_import.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_add__future__imports_except_unicode_literals.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_basestring.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_bytes.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_cmp.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_division.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes
copying build/lib/libfuturize/fixes/fix_division_safe.py -> build/bdist.linux-aarch64/wheel/libfuturize/fixes

Timed out, unknown build status on x86_64-linux (full log)
Attempted: python3Packages.boltztrap2, python3Packages.dftfit, python3Packages.lammps-cython
The following builds were skipped because they don't evaluate on x86_64-linux: pythonPackages.boltztrap2, pythonPackages.dftfit, pythonPackages.lammps-cython
Partial log (click to expand)
strip is /nix/store/n4hb93w6j076xcjw5pm09rdmc09s075b-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3/lib  /nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3/bin
patching script interpreter paths in /nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3
checking for references to /build in /nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3...
wrapping `/nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3/bin/ipengine'...
wrapping `/nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3/bin/ipcontroller'...
wrapping `/nix/store/m4cc4sfv4ndn68a37xz3brwhf4876kiq-python3.7-ipyparallel-6.2.3/bin/ipcluster'...
cannot build derivation '/nix/store/xwc6sqh6c75s8fd20zxpjhahyarsbqz5-python3.7-pygmo-2.8.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/4qvhl6pxj31pfyc1fmn5z3zkpbwjfs0g-python3.7-dftfit-0.4.22.drv': 5 dependencies couldn't be built
error: build of '/nix/store/42gklci4g629f4g6inz0six3mab14f96-python3.7-lammps-cython-0.5.7.drv', '/nix/store/4qvhl6pxj31pfyc1fmn5z3zkpbwjfs0g-python3.7-dftfit-0.4.22.drv' failed

@GrahamcOfBorg build python2Packages.dftfit python3Packages.dftfit

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: python2Packages.dftfit, python3Packages.dftfit
Partial log (click to expand)

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

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

Failure on aarch64-linux (full log)
Attempted: python3Packages.dftfit
The following builds were skipped because they don't evaluate on aarch64-linux: python2Packages.dftfit
Partial log (click to expand)
cannot build derivation '/nix/store/rshdxqhzzx7rr09mwfqzawf7v39cbxkf-yaml-0.8.32.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/vbxbifi73wbyhakvrlhgk37143w2m77k-http-client-tls-<IP_ADDRESS>.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/k8sygj23p7xy2nah84lvbhqlkfny3pvp-pandoc-2.2.1.drv': 40 dependencies couldn't be built
cannot build derivation '/nix/store/98n83xfrnqb63armqk98pv2m84yhc00w-rdma-core-21.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ggmdrbpinazfj4m61dy1vyc4x3j5w5w5-openmpi-3.1.3.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/f89ka1gcna33mvih2paqznygilc401cb-lammps-stable_22Aug2018.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/n3ql8rl9bd46kb1zk7d95jhrmfhqhyh1-python3.7-mpi4py-3.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8ffybnplds4b43wkj85i0khch50scnkb-python3.7-lammps-cython-0.5.7.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/j7nc3wgj1v69yi081pjj2pksl7kpjnr0-python3.7-dftfit-0.4.22.drv': 4 dependencies couldn't be built
error: build of '/nix/store/j7nc3wgj1v69yi081pjj2pksl7kpjnr0-python3.7-dftfit-0.4.22.drv' failed

I will fix dftfit later today

included in #51959


Miscellaneous tidying-up.

(Fixes #4.)

(Travis build tested here: https://travis-ci.org/damncabbage/purescript-yargs)

Great, thank you!


fix: fold 'version()' function in Nereids

Proposed changes
For compatibility with older optimizer, we fold version() with GlobalVariable.version in Nereids
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[x] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Beta release

Codecov Report
Base: 92.50% // Head: 92.50% // No change to project coverage :thumbsup:

Coverage data is based on head (fb204fe) compared to base (dd842c2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             beta     #166   +/-   ##
=======================================
  Coverage   92.50%   92.50%
=======================================
  Files          15       15
  Lines        3496     3496
  Branches      439      439
=======================================
  Hits         3234     3234
  Misses        260      260
  Partials        2        2

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix(derive): Pipeline Iterator

Description
Binds the Pipeline trait to be an Iterator<Item = L2AttributesWithParent>.
This replaces the custom next() method definition with the core::iter::Iterator trait that allows for greater fluency.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#334  👈
#331
#330
#327
#326
#325
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @refcell and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 77.7%. Comparing base (c8cb071) to head (cf2f421).

Files
Patch %
Lines

crates/derive/src/pipeline/core.rs
0.0%
3 Missing :warning:

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


I want to use perfit in .net core api. Is it possible? I want to use same as use in framework web api.

It already supports.

It already supports.


LINK ERROR …summary of comment…

I get the following error for an FXTF ED spec:
LINK ERROR: No 'dfn' refs found for '…summary of comment…'.
<i data-link-type="dfn" data-lt="…summary of comment…">…summary of comment…</I>

and am unsure what it means.

It means that your boilerplate has an i in it, and you've got Use <i> Autolinks set to on.  Do you want to remove the i linking (just switch them to a) in your doc so we can turn off that metadata, or should I just tweak the boilerplate to say that's not a link?

@tabatkins The masking spec still needs the old SVG perl script which transforms <a>. So for now I can not turn it off. Will check what it takes to remove the requirement the next days.
IMO very low priority to tweak the boilerplate.


pinta: 2.0 -> 2.0.1

Motivation for this change
New bugfix release: https://github.com/PintaProject/Pinta/releases/tag/2.0.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 153847 run on x86_64-linux 1

1 package built:

pinta

Thanks @lucasew .


Added suit tests and updated the package versions

Updated the package versions and added piece of code for test suites

Please somebody review my code


Support for mounting sensitive config values as secret volumes

In all of the configuration examples, secrets (e.g. API keys) that are used directly by external-secrets in order to authenticate with a secrets backend (e.g. secrets manager, vault, etc) are attached to the pod via an environment variable.
Generally, it's recommended to mount secrets as files rather than environment variables, because that's a slightly better security posture. (One example from SO: https://stackoverflow.com/questions/51365355/kubernetes-secrets-volumes-vs-environment-variables). Secret values can also be changed without restarting the pod when mounted as a volume.
Is there a reason that external-secrets doesn't seem to support this? If not, are folks open to enabling either mechanism in a plugin-agnostic fashion?

Ideally, you wouldn't need any credentials at all and rely on the trust relationship of the underlying compute infrastructure.
I agree, i see the value to use files!

Is there a reason that external-secrets doesn't seem to support this?

AFAIK there was no demand for that, yet. It seems that this is a risk people are willing to accept.

If not, are folks open to enabling either mechanism in a plugin-agnostic fashion?

Sure!


Accept HTMLFormElement form event

Fixes #2500

Released in<EMAIL_ADDRESS>

Released in<EMAIL_ADDRESS>/cc @corydeppen

Hello, should not the event type be : React.SyntheticEvent<HTMLFormElement> ? compile with react-final-form. Here is the function type in popular libraries :

https://github.com/final-form/react-final-form/pull/52/files#diff-b739f95ace6bbf2f0fd5e8cf1dab97d8R37
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/redux-form/v6/lib/reduxForm.d.ts#L488


Inciorrect returned value

https://github.com/rmariuzzo/Lang.js/blob/31474a87dc21e4434b66b527d00944c61fc2a13d/src/lang.js#L288
if we have two lines as
    'book.btn.finish'               => 'Finish Booking',
    'book.btn'                        => 'Book Now',

and request Lang.get('book.btn.finish') then _getMessage returned 'Book Now'

 if (message[subKey] && entries.length === 0) {

instead
 if (message[subKey] !== undefined) {

solves the problem

Hey @astralo! We need to create a test case we your proposed changes. Thanks for letting me know.

I ran into the similar issue.
Imagine the situation when you validate an input array with the nested fields in Laravel:
$request->validate([
    ...
    'location' => 'array',
    'location.city_id' => 'required',
    ...
]);

To localize the validation messages for both location and location.city_id attributes we need to add two translation strings:
// resources/lang/en/validation.php

return [
    ...
    'attributes' => [
        ...
        'location' => 'Location',
        'location.city_id' => 'City',
        ...
    ],
];

And in this case, if we want to use the validation.php file as a source for Lang.js, we will get the Location translation result for the lang.get('validation.attributes.location.city_id') call (instead of City).

@RomeroMsk I will try to revisit it on this weekend.

Bump.


With bracket colorization, handle symmetric block of brackets in a single color

To avoid an overload of colors, it would be nice that for the new bracket colorization, if there was an option to keep symmetric "chunks" of brackets in a single colors. IMHO, the colorization is mostly used to easily identify which opening goes with what closing. If multiple openings and multiple closings are both clump together, it's not that useful to know which specific opening bracket goes witch what specific opening bracket (especially since the colors are eventually reused).
C++ example of a current rendering:

Proposed feature:

In this particular example, the "[[" of the C++ attribute are not really individual brackets. Rendering then in separate colors is counter-productive.
For the struct, being able to identify each individual nested struct is not really useful. And even if it was, I think it's actually more readable with a single color because it provides a helpful "layer of nesting", with one layer for S1-S3, and another for S4-S6.

/assign @hediet

This would also solve the .vue and .liquid issues when using {{ and }} output tags in one sweep.

I think the feature is easy to implement, but I'm not certain yet that it is a good feature that solves a real problem.
I see its usefulness for C++, but maybe the underlying problem is something else.
I wonder how C++ parses [[maybe_unsed] ] S6 s = ...;. I also wonder if [[ is a single token.
In JS, you can easily do [[1]] to create a nested array. It would be strange if this is colorized differently, even though it is the very same expression:
[
    [
        1
    ]
]

@hediet
It's not really about "ambiguous pairs" or "accuracy". It's about cluttering. Too many color changes make it harder to read the code. In the first line, it's hard to find the "i" in the middle of all those "{" and "}". The "i" is the most important, the color of the brackets is secondary, and yet, that's what attract the attention the most.
For C++, I don't know if "[[" for attributes is technically a single token or not, but semantically at least it is.
I also don't know if newlines between brackets should count as part of the group or not. My initial idea was that it wasn't. The goal of the feature is to avoid the cluttering caused by too many color changes. When there are newlines, the cluttering is less pronounced and the indentation is (at least for me) primary way to distinguish between pairs.
A more ambiguous case is "[ [ [" (while spaces between brackets). Personally, I don't have white between consecutive brackets, but some C/C++ coding conventions do.
Maybe this could be part of the setting for the feature: "useSameColorForBracketGroup = [ false | consecutive | consecutiveWithShitespaces ]"
Another ambiguous one is: should it be all the same brackets or any combination, i.e. "(([((" should that be 3 colors or one? I'm more in the camp of "one" but I can see that on occasion "3" would be useful. That said, personally, I think I would rely on spaces or newline+indentation anyway for the cases where "3" would be beneficial. So "one" would be my preferred choice.
@lorand-horvath
I don't know vue nor liquid, but from the sound of it, you're more advocating for "multicharacter brackets". My proposed feature is for any combination of brackets. Having the manually list all combinations of '{', '(' and '[', in any reasonable number would be a major pain, and a performance bottleneck as well (for up to 3 characters, that's 72 combinations, for 4 that's 234), and ambiguous (if combination of 3 is defined, what is "{{{{{" (5)? It's 3+2 or 2+3 or 5? If combination of 4 is defined, add 4+1 and 1+4 to the potential list)


PHP warning after submit GroupButtonAction

Nette\Forms\Container::getValues() invoked but the form is not valid.
Same warning after filtering with or without pagination https://github.com/contributte/datagrid/issues/961
datagrid 6.9.0, nette/forms 3.1.3

I receive this warning when filter one column by SelectBox and another column with selectbox filter is hidden.
Then, is on another column generated error Please select a valid option.


Added tooltip for event expiration

https://github.com/augurproject/augur/issues/4477

consolidate string as a constant

Done @bthaile


Write tests for LicenseDescription component

Describe the solution you'd like
e2e and unit tests need to be written for the LicenseDescription.vue component (./src/components/LicenseDescription.vue). Please write e2e tests in a new file named LicenseDescripion.js in ./test/e2e/specs/, and unit tests in a new file named LicenseDescription.specs.js in ./test/unit/specs/.
The frameworks being used are (Jest)[https://jestjs.io/] for unit testing, and the (nightwatch.js)[https://nightwatchjs.org/] for e2e testing.
Additional context
Please comment on this issue to tell us that you're interested in working on it before getting started!

hello @akmadian . I would like to work on this issue

@75pollet go ahead :)


Arm64 support. Multi-arch image.

AWS Public ECR contains the DD lambda-extension available only for x86_64
Same time the  datadog/agent is available for arm64 as well
Having Datadog/lambda-extension available for arm64 seems quite reasonable.

Hi @SergeStrashko. I have tested this locally, it seems an arm64 image is in fact available. It's just not listed on the ecr webpage for some reason. Are you seeing something different?

It's just not listed on the ecr webpage for some reason. Are you seeing something different?

This is exactly the issue.
I believe that 99.99% of datadog/lambda-extension usages are like the following:
COPY --from=public.ecr.aws/datadog/lambda-extension:{version} /opt/. /opt/

Hey @SergeStrashko,
Our team doesn't control the image description, yet I asked them to please update it to include ARM64.
I'm going to close this issue, as it now appears in https://gallery.ecr.aws/datadog/lambda-extension


Http improvement

Needs:
https://github.com/Azure/msrest-for-python/tree/httpwork
https://github.com/Azure/msrestazure-for-python/tree/httpwork
Once both are released, I need to change the minimal version needed in the generated code.

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.5.10
❌ General: 98%
7 out of 535 features are not covered by tests
animalNotFoundError, expectedNoErrors, expectedPetHungryError, expectedPetSadError, intError, linkNotFoundError, stringError
✔ Azure: 100%

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.5.10
❌ General: 98%
7 out of 535 features are not covered by tests
animalNotFoundError, expectedNoErrors, expectedPetHungryError, expectedPetSadError, intError, linkNotFoundError, stringError
✔ Azure: 100%

🤖 AutoRest automatic publish job 🤖
success (version: 3.0.50)


Statistic generation - optimise hedley_stats_get_total_encounters() to minimise execution time [4h]

Currently, on live, for large health centers, it takes more than 4 minutes to complete.

Deployed to live


sklearn on deployed server

pip install sklearn doesn't work on deployed server. I've added some PCA stuff using this. Have made a branch deploy_branch, which doesn't have this stuff. Would be good to install the package so that we can have it on the deployed server...any ideas? Probably a linux thing??

This is due to missing dependencies on the OS level, so scipy cannot be built, e.g. missing BLAS, the linear algebra library.. Fixed by installing the pre-built packages from ubuntu instead.
Just did a quick test, seems to work now.
root@ms2ldaviz:~# python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from sklearn import decomposition
>>> quit()

Thanks! Case closed....


Another

Please look into this...

Have tested and working ok. I think there was a name change in the geoip-conn package that may have caused the issue.