installation error on Ubuntu14.04 LTS

Hi,
I have zeromq 4.1.2 installed under "/usr/local/" folder and C and Python samples already working.
Then I installed lua packages:
[u@ubuntu:~]$ dpkg -l | fgrep lua | awk '{print $1,$2}'
ii liblua5.1-0:amd64
ii liblua5.1-0-dev:amd64
ii libluajit-5.1-2:amd64
ii libluajit-5.1-common
ii libluajit-5.1-dev:amd64
ii lua5.1
ii lua5.2
ii luajit
ii luarocks

But when I follow the installation guide of this 0MQ Lua binding, I got errors like
[u@ubuntu:~]$ sudo luarocks install lua-zmq
...
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/pre_generated-zmq.nobj.c -o src/pre_generated-zmq.nobj.o -I/usr/local/include
src/pre_generated-zmq.nobj.c: In function ‘simple_zmq_send’:
src/pre_generated-zmq.nobj.c:1966:3: error: too few arguments to function ‘zmq_send’
   err = zmq_send(sock, &msg, flags);
...
In file included from src/pre_generated-zmq.nobj.c:14:0:
/usr/local/include/zmq.h:355:16: note: declared here
 ZMQ_EXPORT int zmq_recv (void *s, void *buf, size_t len, int flags);
                ^
Error: Build error: Failed compiling object src/pre_generated-zmq.nobj.o

Is there anything wrong?
Regards,
yanfeng

I am wondering this is by design since ZeroMQ 4.x was not mentioned in this project's installation guide.... If so, I will close this ticket soon.
Regards,
yanfeng

ZeroMQ 4.x is supported as per a335ef06256146637e81e4d034be08c93b6f724b, but it doesn't work with the latest version of ZeroMQ.

I also have trouble trying building lua-zmq with ZeroMQ 4.1.4.
It seems that monitor event interface changed in 4.x and that broke bindings (see this and this)
In my case, first error to show-up it due to zmq_event_t that doesn't exist any more in zmq headers.
So I guess it requires real work to get it ported to 4.1.x.
Regards,
Laurent

Same error while installing on CentOS 7 ("Failed compiling object src/pre_generated-zmq.nobj.o")

It's not compatible with the latest version. You need to:
wget https://github.com/zeromq/zeromq2-x/releases/download/v2.1.11/zeromq-2.1.11.tar.gz &&
tar -xvf zeromq-2.1.11.tar.gz && cd zeromq-2.1.11 &&
./configure && make && \
make install && sudo ldconfig
luarocks install lua-zmq ZEROMQ_LIBDIR=/usr/local/lib ZEROMQ_INCDIR=/usr/local/include

Any chance for getting support of modern ZMQ?

lzmq supports ZeroMQ 4.2.x :)

This library is not dropin replacement for lua-zmq library.

@moteus The problem is that I have a legacy Lua module that I need to install. And it depends on lua-zmq...

I think it may be quite easy to write wrapper around lzmq to provide needed API.

@moteus I would be very happy to see such a wrapper ;)

Wrote wrapper for lzmq to be drop-in replacement for lua-zmq. https://github.com/moteus/lua-lzmq-zmq
zthreads module from original lua-zmq also should be compatiabale with this library.


Recurrent Neural Network in Deep Learninig

Description:
Recurrent Neural Networks (RNNs) are a type of neural network architecture specifically designed to handle sequential data. RNNs are well-suited for tasks such as natural language processing (NLP), speech recognition, machine translation, and time series analysis.
The key feature of RNNs is their ability to maintain a hidden state that captures information from previous inputs in the sequence. This hidden state is updated at each time step and serves as the memory of the network, allowing it to capture long-term dependencies and context information.

@Kumar-laxmi please assign me this issue under SSOC'23 in python, java and c++.

Assigned!
@Craniace : C++, Java & Python


[scala3] Use standard project structure

Use a standard project structure. Would help with #499, to add a test/src/test/scalajvm test source folder for test3 project only
From
src/
  core/
  examples/
  test/
  test-enum/ <-- was no referenced by build

to
core/src/main/scala/magnolify1/
examples/src/main/scala/magnolify1/examples/
test/src/test/
  java/magnolify1/tests/
  scala/magnolify1/tests/

Thanks!


Set ayncio event loop to Selector on windows.

Relevant Issues
Fixes #409
Description
Sets the event loop to Selector to prevent bot crashes on windows when an aiohttp request is made, as described in #409
Same implementation as in https://github.com/python-discord/bot/pull/903

Thanks for the effort everyone!


Breakup GPIOBUS

This is intended to separate the systimer class from gpiobus and to move the different board types to their own header files. There shouldn't be any functional changes.
I removed the -Wextra from the Makefile since it looks like we lost that change. Let me know if you think it needs to stay in there.

Note: there are other changes/improvements needed. This is just the initial PR to break things up. More changes will be coming

@akuker Not sure what you mean with -Wextra. Currently it is part of the build process (this is why I found the compile-time issue on buster today), and it should stay in the Makefile, because our code compiles fine with it.

Approved, from my side. Please check my comment on -Wextra, please.

I added this back in. Thanks @uweseimet !

0cb6948 and 42178fb are identical now.
@uweseimet - would you mind taking a look at this again and make sure I didn't mess something up? I accidentally checked in a bunch of banana pi changes before I merged this PR :(

@akuker I could not find anything obviously wrong. I don't think that anything bad can happen anyway, because essentially that is a code move and not a change, and I bet that if something was wrong, rascsi would not work at al anymorel, i.e. there is hardly any potential of missing anything hidden.

Thanks @uweseimet


[BEAM-121] Add DisplayData for combine transforms

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace "<Jira issue #>" in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @bjchambers

The conflicts prevent test run. Probably want to rebase and push to kick them.

I've addressed all feedback so far. Please take another look. @bjchambers

A few minor comments, then LGTM.

I've addressed all feedback so far. Please take another look.

LGTM

Backported via https://github.com/GoogleCloudPlatform/DataflowJavaSDK/pull/216


Initial unit tests

@jits please take another look. I added a variable to DRY up a little, added basic tests for userdata and answered your queries. Thanks!

Thanks!


feature: support optional encryption and decryption methods

The current encryption and decryption method defaults to Aes GCM. I want to choose another method

good idea


MessageProperties is not robust to accept arbitrary kwargs.

Only hand the properties it supports from message.

Can one of the admins verify this patch?

/azp run python - servicebus - tests


Next

@jaumard does this address your concern?

Look like it! Did you push a npm version of this? I might be able to test later today :)

I haven't yet because my build is failing now. I'll push another pre-release later today and let you know when it's ready for testing :)

@jaumard I published 0.1.9-2~ with the next` tag for you to test.

Thanks! I'll try to test asap and let you know :) today will be difficult but tomorrow should be fine

So currently testing, look much more stable in case or errors, but I still have a problem sometime that is just stay in 'listen' state indefinitely (or very long time) and I have to trigger the hot word again and say something to "unlock" the state. But this is more the issue of the timeout.

Back from vacation :)
Glad this is a step in the right direction, but I'd like to actually understand how  listening can get into a bad state. There's some edge case not being handled correctly.
I also have to fix these build errors (which seem to be caused by dependencies). I should be able to fix them in the next few days.

Hey @evancohen :) hope your vacation were good ! I use this version since few days now and it's really a big improvement ! I don't have to restart my project when there an error now so that's a big step ;)
Here is what I did on my project, I just plug my leds to sonus event, when hotword event is fired, I turned leds green, in case of error in red (and off after some time), and when I have the final-result I turn them off. And in some cases they just stay green so this mean that final-result is never fired.
For now can't say more than this about this other issue :/

I think the edge case is that StreamingRecognizeResponse doesn't always send a response.
What's unclear to me is if we can always expect a END_OF_SINGLE_UTTERANCE for the SpeechEventType when single_utterance  is set to true. This is what we depend on today.
Kinda coding out loud here, but maybe we shouldn't be looking at the SpeechEventType at all...
killStream = () => {
    cloudSpeechRecognizer.listening = false
    audioStream.unpipe(recognitionStream)
    recognitionStream.end()
}

.streamingRecognize(request)
.on('error', error => {
    // Emit error
    killStream()
})
.on('data', data => {
        if(data.results[0] && data.results[0].alternatives[0]) {
        // Emit Partial or final transcript
        // If final:
            killStream()
        } else {
        // Reached transcription time limit
        killStream()
        }
    )
);

Ok, I think those changes should address the root issue (finally). I did make an incompatible API change and added a timeout event to replace the hack for empty final results.
In the interest of backwards compatibility I think I'll just publish a minor release that sends an empty final results instead of the timeout, but for the next update (with more cloud recognizers) I'll move to the new model.

@jaumard I've done some testing on this and it seems very stable :) This is much cleaner and should gracefully handle the case you described above (with no final transcript). I published 1 final prerelease<EMAIL_ADDRESS>if you could give that a test pass that would be awesome.

Ho you've been busy :D I'll setup this new version this evening and test it for few days and let you know how it goes by the end of week.

Everything setup on two different device, let's see during the next days how it goes ;)

So far so good @evancohen ! Great improvements :) I still test it but I think you can publish this one, I'll open new issue or reopen if I have the problem again as it append randomly maybe I just get lucky lol
But for errors look like it's 100% fixed

when I try to get the latest, I get
pi@raspberrypi:~/smart-mirror $ npm install<EMAIL_ADDRESS><EMAIL_ADDRESS>/home/pi/smart-mirror
└── (empty)


as-element not rending bound attributes

I'm submitting a bug report

Library Version:
1.0.6

Please tell us about your environment:

Operating System:
OSX 10.x

Node Version:
5.12.0

NPM Version:
3.8.6

JSPM OR Webpack AND Version
JSPM 0.16.48

Browser:
all

Language:
ESNext

Current behavior:
If I create a custom component and set this.cls in the constructor, I can't use that attribute in the custom componet if I render that component as-element
Expected/desired behavior:
I would expect to use that in the custom element as-element as I would without the as-element. But it doesn't recognize this.cls
Plunker example:  https://plnkr.co/edit/BIhLjfyUN9I3v7comQKx?p=preview

What is the motivation / use case for changing the behavior?
I need to set styles on certain  table cells used a computed property, but it is just not rendering.

I'm running into the same problem. Trying to add a class to an  tag that is using as-element attr.

I think you may be confusing the scope of the element's properties. Those are only "visible" inside the view of the element, not outside it.

For those who may run into a similar situation I figured it out. it was a combination of using as-element, @containerless, and putting my html <require> statements at the bottom of my template.
actual code...
calling my data-cell element
                    <tbody>
                        <tr repeat.for="record of data" class="row-status" click.trigger="rowClick(record)">
                            <td as-element="data-cell"
                                repeat.for="col of columns"
                                col.bind="col"
                                record.bind="record"
                                prop.bind="record[col.key]">
                            </td>
                        </tr>
                    </tbody>

data-cell.js
import {bindable, containerless, computedFrom} from 'aurelia-framework';

@containerless
export class DataCell {
    @bindable col;
    @bindable record;
    @bindable prop;

    @computedFrom('record', 'prop')
    get cls() {
        const record = this.record;
        if (!this.col.getClass) {
            return '';
        }

        return this.col.getClass(record);
    }
}

data-cell.html
<template>
    <td if.bind="col.isVisible" data-th.bind="col.label" get-class.call="col.getClass(record)" class.bind="cls">
        <compose if.bind="col.view" view.bind="col.view" view-model.bind="col.viewModel" model.bind="{record: record}"></compose>
        <record-value if.bind="!col.view" prop.bind="record[col.key]" record.bind="record" get-value.call="col.getValue(record)"></record-value>
    </td>

    <require from="resources/data-table/record-value"></require>
</template>


feat: add pad_spaces fn to input the number of spaces we want

close #182
This PR added a function pad_spaces(num: usize) -> String to conveniently input the number of spaces we want.

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

Thanks for the PR @levisyin! This is certainly nicer than what is currently being done.
Instead of using the pad_spaces function, perhaps we should use rust's built-in alignment capabilities as I suggested above. You can see more info about that here. Thanks!

Thanks for the PR @levisyin! This is certainly nicer than what is currently being done.
Instead of using the pad_spaces function, perhaps we should use rust's built-in alignment capabilities as I suggested above. You can see more info about that here. Thanks!

Hi sir, using rust's built-in alignment won't work well for issue #182 . Think about this:
I wanna print!("    -hello world"), with 4 space left on "-hello world". If using rust's built-in alignment, we should calculate the whole str length to find how many padding we should set. In this case, string length is 16, so we should set println!("{:>16}- ", ""). This is not convenient enough for us to quick set the num space we wanna leave.

Done! See following creenshot:


Device-type of an deConz-Accessoire

Hello @ebaauw, thanks a lot for your good work!
I'm using your plugin since many years. I have added a Osram Plug a year ago which I used for my christmas tree. It was declared as a light in Homekit.
Now I want to use this plug for a fan. I've added the plug to my deConz-Setup and it is exposed to homekit through your plugin; but it is exposed as a light.
Normally this is not a problem. But when I Siri "turn off all lights in bedroom" the fan turns off.
This is not what it should do... I dont have any possibility to change the type in the home-app.
Is there a way to change the type of the device to a switch or plug in your plugin?
Thanks a lot!

Add it to an outlet resourcelink to make homebridge-hue expose it as an Outlet.  Then you can change the device type in HomeKit.  See https://github.com/ebaauw/homebridge-hue/releases/tag/v0.10.0.

@ebaauw, dankje!!!!  That worked!  Thanks a lot!


Back button takes you back to the general settings screen

Swiping back on any screen will take you back to the general settings screen of the app, instead of the previous screen you were on.
This is particularly annoying when trying to edit the Knowledge Base, as I'm trying to delete a few terms but each time I delete and confirm, swiping back takes me two screens back. I would like to be taken back to the Knowledge Base list..
This issue happens to other menu sections as well.
When I click here or swipe back in this screen...

I want to be taken back here...

...not here!

Hi @ZTetriminos: I was able to find and fix this issue for the next patch release. Should be a couple days. Thanks!


API 'android.registerTransform' is removed  at gradle 8.x

when i use  classpath "cn.therouter:plugin:1.1.4" , an error occurred :

when i use  classpath 'cn.therouter.agp8:plugin:1.2.0-rc1' , an error occurred :

https://therouter.cn/docs/2022/11/23/01

#97


schedule action task not work

Description
reported from qq group.
in 1.21.5, schedule action task does not work when the cron is:

There is the actions task list:

At first, we set the task to run every minitues, and it worked as the action task #75.

Then we changed it to "0 0 * * *", and we can see the action task #76 for this change about 20 hours before.

But the schedule action task didn't run in about 20 hours.
We check the timezone, it is correct.

Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
other user's instance
Database
None

There's a bug in actions notifier, but don't know whether it is related to this issue.

The details of this bug:
I think it comes from #27662.
After this PR, handleSchedules will always delete existing scheduled tasks, and if schedules(which names detectedWorkflows in handleSchedules) is empty, it will return nil.
This may causes a bug, when user forked the repo for creating a PR, detectSchedule is false, so schedules is empty.
Then in handleSchedules, we will delete all existing scheduled tasks in the original repo, and then return.

Not sure whether other cases when detectSchedule is false, will also cause unexcepted deletion of existing scheduled tasks.

I've been noticing this on 1.21.5 as well. It seems like scheduled actions stop working after a pull request gets merged.


Model for GEK in SMT.

Hello,
My question is about how to use the SMT for GEK.

Is there any dedicated model in the SMT package for GEK. I can find models for Kriging, LS, KPLS and several others related to GEK-KPLS, etc. But I could not find model for GEK!

If there is no dedicated model for GEK in the SMT, then is it possible to modify something (some parameters) in the following GEKPLS model, so that it works as GEK

The model for GEKPLS (for the case- GEKPLS model using 1 PLS component and 1 approximating point) is:
t = GEKPLS(n_comp=1, theta0=[1e-2], xlimits=fun.xlimits, delta_x=1e-2, extra_points= 1, print_prediction = False)
A very sincere thanks for your consideration to reply as soon as you can. Thank you!
Best regards,
Jay.

If you take n_comp=nx, where nx is the dimension of the given problem input, then GEKPLS boils down to GEK.

If you take n_comp=nx, where nx is the dimension of the given problem input, then GEKPLS boils down to GEK.

Hi relf. Thank you very much. Really really appreciate for the clarification.

Hello Relf,
I am back again, with another related question.
Lest say, the problem dimension is 4, So to use GEKPLS as GEK, i need to assign n_comp=4, as you suggested me earlier.
And so, in this case, I think, i must assign 4 values to the parameter theta0: theta0=[1e-2, 1e-2, 1e-2, 1e-2]
so, the model for GEK will look like:
t = GEKPLS(n_comp=4, theta0=[1e-2, 1e-2, 1e-2, 1e-2], xlimits=fun.xlimits, delta_x=1e-2, extra_points= 1, print_prediction = False)
I hope above adaptation for GEK for 4 dimension is correct? Thanks!
Best regards,
Jay.


No callServerTypeTelegramReflector servers

I'm using tdlib 1.7.0 c++ bindings. I'm accepting call with
    callProtocol->udp_p2p_ = true;
    callProtocol->udp_reflector_ = true;

both udp_p2p_ and udp_reflector_ set to true but when handling callStateReady i only get callServerTypeWebrtc servers. I tried setting udp_p2p_ to false but result was the same. I don't know what i have to do to get reflector servers. And because of that calls with anyone that isn't in same lan fail.

You need to specify valid library_versions in callProtocol to receive reflectors specific to these versions. Between, callServerTypeTelegramReflector are relevant only for very old libtgvoip libraries.

Ah ye my bad i had some issue with connecting to TURN servers, Everything's okay now


(Experimental Branch) error: identifier "aten_sigmoid_flat__1" is undefined

For the past week or two, I've been training in Google Colab using the experimental branch, and it's gone well.  I do have to make a few changes to the code for it to function in Colab.
However, I tried to do some more training today, and I've ran into an error that I can't figure out.  It was when I ran the training script with my own dataset, using the last checkpoint I had.
I'm training at a 44100 sampling rate, with hop size, window size, etc. adjusted accordingly.  I had to adjust the n_speakers and decoder_rnn_dim, and turn off the second decoder, so that my old checkpoints would be compatible.
    train(args, args.rank, args.group_name, hparams)
  File "train.py", line 707, in train
    y_pred = force(model, valid_kwargs=model_args, **{**y, "teacher_force_till": teacher_force_till, "p_teacher_forcing": p_teacher_forcing, "drop_frame_rate": drop_frame_rate})
  File "/content/cookietts/CookieTTS/utils/_utils_.py", line 35, in force
    return func(*args, **{k:v for k,v in kwargs.items() if k in valid_kwargs})
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/apex/amp/_initialize.py", line 197, in new_fwd
    **applier(kwargs, input_caster))
  File "/content/cookietts/CookieTTS/_2_ttm/tacotron2_tm/model.py", line 1012, in forward
    return_hidden_state=return_hidden_state)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/content/cookietts/CookieTTS/_2_ttm/tacotron2_tm/model.py", line 835, in forward
    mel_output, gate_output, attention_weights, decoder_hidden_attention_context = self.decode(decoder_input, memory_lengths)
  File "/content/cookietts/CookieTTS/_2_ttm/tacotron2_tm/model.py", line 746, in decode
    decoderrnn_state = self.decoder_rnn(decoder_input, (decoder_hidden, decoder_cell))# lstmcell 12.789ms
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/content/cookietts/CookieTTS/utils/model/layers.py", line 386, in forward
    self.bias_ih, self.bias_hh,
RuntimeError: default_program(57): error: identifier "aten_sigmoid_flat__1" is undefined

default_program(58): error: no operator "=" matches these operands
            operand types are: half = float

default_program(64): error: identifier "aten_mul_flat__1" is undefined

default_program(65): error: no operator "=" matches these operands
            operand types are: half = float

4 errors detected in the compilation of "default_program".

nvrtc compilation failed:

#define NAN __int_as_float(0x7fffffff)
#define POS_INFINITY __int_as_float(0x7f800000)
#define NEG_INFINITY __int_as_float(0xff800000)

template<typename T>
__device__ T maximum(T a, T b) {
  return isnan(a) ? a : (a > b ? a : b);
}

template<typename T>
__device__ T minimum(T a, T b) {
  return isnan(a) ? a : (a < b ? a : b);
}

#define __HALF_TO_US(var) *(reinterpret_cast<unsigned short *>(&(var)))
#define __HALF_TO_CUS(var) *(reinterpret_cast<const unsigned short *>(&(var)))
#if defined(__cplusplus)
  struct __align__(2) __half {
    __host__ __device__ __half() { }

  protected:
    unsigned short __x;
  };

  /* All intrinsic functions are only available to nvcc compilers */
  #if defined(__CUDACC__)
    /* Definitions of intrinsics */
    __device__ __half __float2half(const float f) {
      __half val;
      asm("{  cvt.rn.f16.f32 %0, %1;}\n" : "=h"(__HALF_TO_US(val)) : "f"(f));
      return val;
    }

    __device__ float __half2float(const __half h) {
      float val;
      asm("{  cvt.f32.f16 %0, %1;}\n" : "=f"(val) : "h"(__HALF_TO_CUS(h)));
      return val;
    }

  #endif /* defined(__CUDACC__) */
#endif /* defined(__cplusplus) */
#undef __HALF_TO_US
#undef __HALF_TO_CUS

typedef __half half;

extern "C" __global__
void func_3(half* t0, half* t1, half* aten_mul_flat, half* aten_sigmoid_flat, half* aten_mul_flat_1, half* aten_tanh_flat, half* aten_sigmoid_flat_1, half* prim_constantchunk_flat) {
{
  float v = __half2float(t1[((512 * blockIdx.x + threadIdx.x) % 1280 + 4 * (((512 * blockIdx.x + threadIdx.x) / 1280) * 1280)) + 3840]);
  prim_constantchunk_flat[512 * blockIdx.x + threadIdx.x] = __float2half(v);
  float t1_ = __half2float(t1[((512 * blockIdx.x + threadIdx.x) % 1280 + 4 * (((512 * blockIdx.x + threadIdx.x) / 1280) * 1280)) + 1280]);
  float aten_sigmoid_flat_ = __half2float(aten_sigmoid_flat[512 * blockIdx.x + threadIdx.x]);
  aten_sigmoid_flat__1 = __float2half(1.f / (1.f + (expf(0.f - t1_))));
  aten_sigmoid_flat[512 * blockIdx.x + threadIdx.x] = aten_sigmoid_flat_;
  float t1__1 = __half2float(t1[((512 * blockIdx.x + threadIdx.x) % 1280 + 4 * (((512 * blockIdx.x + threadIdx.x) / 1280) * 1280)) + 2560]);
  aten_tanh_flat[512 * blockIdx.x + threadIdx.x] = __float2half(tanhf(t1__1));
  float t1__2 = __half2float(t1[(512 * blockIdx.x + threadIdx.x) % 1280 + 4 * (((512 * blockIdx.x + threadIdx.x) / 1280) * 1280)]);
  aten_sigmoid_flat_1[512 * blockIdx.x + threadIdx.x] = __float2half(1.f / (1.f + (expf(0.f - t1__2))));
  float aten_mul_flat_ = __half2float(aten_mul_flat[512 * blockIdx.x + threadIdx.x]);
  aten_mul_flat__1 = __float2half((1.f / (1.f + (expf(0.f - t1_)))) * __half2float(t0[512 * blockIdx.x + threadIdx.x]));
  aten_mul_flat[512 * blockIdx.x + threadIdx.x] = aten_mul_flat_;
  aten_mul_flat_1[512 * blockIdx.x + threadIdx.x] = __float2half((1.f / (1.f + (expf(0.f - t1__2)))) * (tanhf(t1__1)));
}
}

Epoch::  46% 456/1000 [00:12<00:14, 37.47epoch/s]
Iter:  :   0% 0/67 [00:11<?, ?iter/s]
/content/cookietts/CookieTTS/utils/torchmoji/model_def.py:193: UserWarning: This overload of nonzero is deprecated:
	nonzero()
Consider using one of the following signatures instead:
	nonzero(*, bool as_tuple) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  input_lengths = torch.LongTensor([torch.max(input_seqs[i, :].data.nonzero()) + 1 for i in range(input_seqs.size()[0])])

Yeah... that's a new one. I can't see enough information here to identify the cause.

I'm still getting this error.  I think it's connected to FP16, based on this instance of someone getting a similar error.
https://github.com/pytorch/pytorch/issues/47138
I tried turning off FP16, and I got a little further, but I ended up bumping into a whole separate error.
  File "train.py", line 933, in <module>
    train(args, args.rank, args.group_name, hparams)
  File "train.py", line 749, in train
    optimizer.step()
  File "/usr/local/lib/python3.6/dist-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/torch/optim/adam.py", line 119, in step
    group['eps']
  File "/usr/local/lib/python3.6/dist-packages/torch/optim/functional.py", line 86, in adam
    exp_avg.mul_(beta1).add_(grad, alpha=1 - beta1)
RuntimeError: The size of tensor a (1313) must match the size of tensor b (2) at non-singleton dimension 1
Epoch::  73% 1092/1500 [01:17<00:28, 14.08epoch/s]
Iter:  :   0% 0/28 [01:17<?, ?iter/s]
/content/cookietts/CookieTTS/utils/torchmoji/model_def.py:193: UserWarning: This overload of nonzero is deprecated:
	nonzero()
Consider using one of the following signatures instead:
	nonzero(*, bool as_tuple) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  input_lengths = torch.LongTensor([torch.max(input_seqs[i, :].data.nonzero()) + 1 for i in range(input_seqs.size()[0])])
/content/cookietts/CookieTTS/utils/torchmoji/model_def.py:193: UserWarning: This overload of nonzero is deprecated:
	nonzero()
Consider using one of the following signatures instead:
	nonzero(*, bool as_tuple) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  input_lengths = torch.LongTensor([torch.max(input_seqs[i, :].data.nonzero()) + 1 for i in range(input_seqs.size()[0])])
/content/cookietts/CookieTTS/utils/torchmoji/model_def.py:193: UserWarning: This overload of nonzero is deprecated:
	nonzero()
Consider using one of the following signatures instead:
	nonzero(*, bool as_tuple) (Triggered internally at  /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  input_lengths = torch.LongTensor([torch.max(input_seqs[i, :].data.nonzero()) + 1 for i in range(input_seqs.size()[0])])```

You'll have to use --warm_start_force, looks like the optimizer has changed from your checkpoints version.

Got some more training done by warm starting the model, now whenever I try to do inference with the resulting model, the ngrok page loads okay but then when I try to generate something it crashes with this.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "app.py", line 88, in texttospeech
    tts_outdict = t2s.infer(**tts_dict)
  File "/usr/local/lib/python3.6/dist-packages/torch/autograd/grad_mode.py", line 15, in decorate_context
    return func(*args, **kwargs)
  File "/content/cookietts/CookieTTS/_5_infer/t2s_server/text2speech.py", line 526, in infer
    outputs = self.tacotron.inference(sequence, text_lengths.repeat_interleave(batch_size_per_text, dim=0), tacotron_speaker_ids, style_input)
  File "/content/cookietts/CookieTTS/_2_ttm/tacotron2_tm/model.py", line 1086, in inference
    res_embed, zr, r_mu, r_logvar = self.res_enc(gt_mel, rand_sampling=False)# -> [B, embed]
NameError: name 'gt_mel' is not defined```

try again? (new commit should've updated this)

I'm still having the original sigmoid issue, but it's easily fixed by turning off fp16, and every other issue I've mentioned here has been fixed!

Closing issue.
Problem has been patched, and tacotron2_tm should be compatible with Pytorch 1.7 and Nvidia/Apex AMP


add stat-sm

Added per my use case

Thank you for the PR,
However I think there are things that must be reconsidered.

daisyUI components that have size variants come with 4 sizes: xs, sm, md (default), lg so if stat is going to have different size variants I think it should be available on other sizes as well, not just sm
stats is the parent and stat is the item. I think if the size should be applied to the parent (stats-sm, not stat-sm) because there's no point of having stat items with different sizes, and if stat has size, it forces us to repeat the size class name for each item which is just extra.
parts of stat like stat-title, stat-value, stat-desc don't need to have sm- prefix at all. Ideally if it's stats stats-sm everything should be sized accordingly.

I understand, and I definitely jumped the gun on this a bit. I'll research some of the already built out components that use size variants a bit more and and see if I can get this more in line with current specs.


Desirable

https://github.com/scalar/scalar

https://github.com/Redocly/redocly-cli

https://github.com/steven-tey/novel


inspection table changes and get all inspections endpoint

IR type id to be a list
Inspection Status column added
inspections -GET endpoint

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

Project coverage is 25.93%. Comparing base (1d56ae0) to head (00e89e2).

Files with missing lines
Patch %
Lines

...iance-api/src/compliance_api/schemas/inspection.py
0.00%
25 Missing :warning:

...ance-api/src/compliance_api/services/inspection.py
0.00%
16 Missing :warning:

...liance_api/models/inspection/inspection_ir_type.py
64.00%
9 Missing :warning:

...nce-api/src/compliance_api/resources/inspection.py
0.00%
9 Missing :warning:

...ance-api/src/compliance_api/resources/case_file.py
0.00%
1 Missing :warning:

...liance-api/src/compliance_api/schemas/case_file.py
0.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (1d56ae0) and HEAD (00e89e2). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (1d56ae0)
HEAD (00e89e2)

compliance-web
1
0

Additional details and impacted files
@@             Coverage Diff              @@
##           develop      #46       +/-   ##
============================================
- Coverage    50.46%   25.93%   -24.53%
============================================
  Files           69       60        -9
  Lines         1078     1970      +892
  Branches       281        0      -281
============================================
- Hits           544      511       -33
- Misses         532     1459      +927
+ Partials         2        0        -2

Flag
Coverage Δ

compliance-api
25.93% <30.68%> (?)

compliance-web
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


feat(client): clear enlist comment in learn layout

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

ref #48097
Can I swap the useEffect that run once, with useEvent hook?
It should be doing the similar thing, but stable with less chances off weird bugs

I was thinking of way to remove the other 2nd eslint comment, useEvent on the submit button with a logic that mutate value that is carried between states, if the value is in certain level we display the donation.
but this seems too much work for a comment, and I remembered Ahmad is working on donation system, so I am happy to ignore the useEvent comment

@Sboonny I think it's fine to include tryToShowDonationModal in the dependency array.  Additional calls to tryToShowDonationModal should only happen if the function itself changes. Which it won't.
But, as you say, it's only a comment. I'm happy to merge this as is.


Where to put webxml and appengine-web.xml

We're generating them into src/main/webapp but maven expects them in src/main/webapp/WEB-INF
See if there's a canonical location for these; and, if we're doing it wrong, fix the location

web.xml definitely belongs in WEB-INF: https://cloud.google.com/appengine/docs/java/config/webxml
probably the other one too

Yep, both of them: https://cloud.google.com/appengine/docs/java/config/appref
will send fix.


Update on readme file

Update on issues in readme file

Update on issues

Updates on readme and clean main.py

Noted


travis: bump min version to PHP 5.6, add PHP 7.1

Min version is PHP 5.6, see composer: https://github.com/thephpleague/skeleton/blob/ad403d7a63d7f2989657960d2e9e84e90fa3be9a/composer.json#L20
Also PHP 7.1 is available on Travis

Thank you


Message is centered

I'm using it like this:
new SnackBar.Builder(this)
    .withMessageId(messageId)
    .show();

In my case message is displayed centered in the snackbar box. Isn't it a bug?

This has now been fixed in version 1.0.0


The job cloud_controller_ng failed when updating instance api

Issue
The job cloud_controller_ng failed when updating instance api.
Context
The instance 'api' is not running after update. The update costs 20+ minutes which is much longer than usual.
When I ssh into the instance api and run monit summary. The result is:
Process 'consul_agent'              running
Process 'cloud_controller_ng'       Execution failed
Process 'cloud_controller_worker_local_1' running
Process 'cloud_controller_worker_local_2' running
Process 'nginx_cc'                  running
Process 'route_registrar'           running
Process 'statsd_injector'           running
Process 'file_server'               running
Process 'routing-api'               running
Process 'policy-server'             running
Process 'policy-server-internal'    running
Process 'cc_uploader'               running
Process 'metron_agent'              running
System 'system_localhost'           running

But I didn't find any useful information in /var/vcap/sys/log/cloud_controller_ng/cloud_controller_ng.log.
After restarting the process cloud_controller_ng using monit restart cloud_controller_ng, everything is OK. The instance api is running, and the deployment is successful.
Steps to Reproduce

Deploy CF using cf-deployment.yml v1.5.0.
The deployment failed in the step of updating instance api

Expected result
The CF should be deployed successfully.
Current result
The task log:
Task 42 | 05:46:51 | Updating instance consul: consul/9e8fd131-1835-4beb-8f18-b330c6fa5b2d (0) (canary) (00:02:34)
Task 42 | 05:49:25 | Updating instance adapter: adapter/2cfebb1d-6f30-40ff-80d5-87b168ebd916 (0) (canary)
Task 42 | 05:49:25 | Updating instance nats: nats/17e03f6a-0fa6-4727-9ad4-09cd0e932c0f (0) (canary)
Task 42 | 05:50:14 | Updating instance adapter: adapter/2cfebb1d-6f30-40ff-80d5-87b168ebd916 (0) (canary) (00:00:49)
Task 42 | 05:50:14 | Updating instance nats: nats/17e03f6a-0fa6-4727-9ad4-09cd0e932c0f (0) (canary) (00:00:49)
Task 42 | 05:50:14 | Updating instance database: database/f4b765b3-6d2e-42b4-8f77-5eceb4cc95e6 (0) (canary) (00:05:04)
Task 42 | 05:55:18 | Updating instance diego-api: diego-api/71483cb8-ad54-481f-a47b-56198b526d48 (0) (canary) (00:00:52)
Task 42 | 05:56:10 | Updating instance singleton-blobstore: singleton-blobstore/380fc426-1869-489d-93b0-4e9418057591 (0) (canary)
Task 42 | 05:56:10 | Updating instance uaa: uaa/1d636b7b-415a-4bf8-bfcf-091a17999e64 (0) (canary)
Task 42 | 05:56:10 | Updating instance api: api/17ea48e1-5083-4a21-b7a4-1536c1bfb066 (0) (canary)
Task 42 | 05:56:10 | Updating instance cc-worker: cc-worker/e040fcbb-c80c-47fc-8e06-3320f39220ff (0) (canary) (00:01:10)
Task 42 | 05:58:58 | Updating instance uaa: uaa/1d636b7b-415a-4bf8-bfcf-091a17999e64 (0) (canary) (00:02:48)
Task 42 | 05:59:03 | Updating instance singleton-blobstore: singleton-blobstore/380fc426-1869-489d-93b0-4e9418057591 (0) (canary) (00:02:53)
Task 42 | 06:18:11 | Updating instance api: api/17ea48e1-5083-4a21-b7a4-1536c1bfb066 (0) (canary) (00:22:01)
                   L Error: 'api/17ea48e1-5083-4a21-b7a4-1536c1bfb066 (0)' is not running after update. Review logs for failed jobs: cloud_controller_ng
Task 42 | 06:18:11 | Error: 'api/17ea48e1-5083-4a21-b7a4-1536c1bfb066 (0)' is not running after update. Review logs for failed jobs: cloud_controller_ng

Task 42 Started  Wed Dec 27 05:38:12 UTC 2017
Task 42 Finished Wed Dec 27 06:18:11 UTC 2017
Task 42 Duration 00:39:59
Task 42 error

Updating deployment:
  Expected task '42' to succeed but state is 'error'

Exit code 1

The monit.log:
api/17ea48e1-5083-4a21-b7a4-1536c1bfb066:/var/vcap/sys/log/cloud_controller_ng# grep cloud_controller_ng  /var/vcap/monit/monit.log
[UTC Dec 27 05:58:04] error    : 'cloud_controller_ng' process is not running
[UTC Dec 27 05:58:04] info     : 'cloud_controller_ng' trying to restart
[UTC Dec 27 05:58:04] info     : 'cloud_controller_ng' start: /var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_ng_ctl
[UTC Dec 27 05:58:09] info     : start service 'cloud_controller_ng' on user request
[UTC Dec 27 05:58:34] error    : 'cloud_controller_ng' failed to start
[UTC Dec 27 05:58:34] info     : 'nginx_cc' start: /var/vcap/jobs/cloud_controller_ng/bin/nginx_ctl
[UTC Dec 27 05:58:35] info     : 'cloud_controller_worker_local_1' start: /var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl
[UTC Dec 27 05:58:36] info     : 'cloud_controller_worker_local_2' start: /var/vcap/jobs/cloud_controller_ng/bin/cloud_controller_worker_ctl
[UTC Dec 27 05:59:46] info     : 'cloud_controller_ng' start action done
[UTC Dec 27 05:59:46] info     : 'cloud_controller_ng' process is running with pid 8673

The logs of the job cloud_controller_ng:
api/17ea48e1-5083-4a21-b7a4-1536c1bfb066:/var/vcap/sys/log/cloud_controller_ng# cat cloud_controller_ng_ctl.log
[2017-12-27 05:58:04+0000] ------------ STARTING cloud_controller_ng_ctl at Wed Dec 27 05:58:04 UTC 2017 --------------
[2017-12-27 05:58:04+0000] Checking for blobstore availability
[2017-12-27 05:58:40+0000] Blobstore is available
[2017-12-27 05:59:12+0000] Thin web server (v1.7.0 codename Dunder Mifflin)
[2017-12-27 05:59:12+0000] Maximum connections set to 1024
[2017-12-27 05:59:12+0000] Listening on /var/vcap/sys/run/cloud_controller_ng/cloud_controller.sock, CTRL+C to stop

monit regarded cloud_controller_ng as failed at UTC Dec 27 05:58:34. But Blobstore is available at 2017-12-27 05:58:40+0000, and cloud_controller_ng was finally up.
The status of cloud_controller_ng is not monitored correctly.

@slenky bosh ssh into api and execute monit restart
monit restart cloud_controller_ng

And then, bosh deploy (again) would continue deploy successfully (in my case).
It is just workaround.
Anyway, I could able to move on the next version.

Closing due to inactivity. Please reopen if this is still an issue.
@christarazi && @cwlbraa


update_checkout: bump s-a-p to 1.2.3

In order to work with further improvements to static linking on Windows to enable Swift in Swift and C++ Interop, we need to bump the s-a-p with a fix for underlinking.

@swift-ci please test

Updating tag check list: https://github.com/apple/swift/blob/main/docs/Branches.md#updating-branchtag

Please also update the next scheme.

https://github.com/apple/swift-source-compat-suite/pull/838 is the swift-source-compat-suite change.


Update lib/hooks/post-receive.sh

i am really new to this bash thingy :) so learning while doing. according to http://www.cyberciti.biz/faq/redirecting-stderr-to-stdout/ it should work.

Yup. You got it

Would you also accept a PR slimming it down not being Rails specific? I am using it for a Symfony app

Right now it's Ruby-specific, it won't really break when used on a non-Rails app (I'm using it for Sinatra). But agreed that the initial script is useless for non-Ruby apps. However, I wouldn't remove the initial script entirely. I would rather provide more examples for other frameworks/languages. You could for instance send me a pull request changing the deploy script to work with general Symfony apps, and I would try to incorporate it with the project somehow.

The only thing that is rails / passenger specific is the /tmp/restart.txt that is created. I will clean my script up and do a PR, but otherwise that is the only part you cannot easily change your self :)

And i guess touch /tmp/restart.txt should be a restart thing

I would be nice if we could setup both sync & async behaviours


MATLAB compatibility

I could run RCNN demo only on Matlab R2012b. Matlab 2013a failed with the following error:
Invalid MEX-file '/home/felix/Projects/rcnn/external/caffe/matlab/caffe/caffe.mexa64': /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol:

FT_Face_GetCharVariantIndex
And even with Matlab R2012b I had to change its simlink for libstdc++ to my default system one to make the demo run.

I have similar problem.
I try 2.4.10 but not work.

matcaffe_demo
Invalid MEX-file
'/home/Feature/caffe-master/matlab/caffe/caffe.mexa64':
/usr/local/lib/libopencv_highgui.so.2.4: undefined symbol:
_ZNK9QCheckBox15minimumSizeHintEv
Error in matcaffe_init (line 19)
if caffe('is_initialized') == 0
Error in matcaffe_demo (line 53)
matcaffe_init();

I checked my LD_LIBRARY_PATH already set.
getenv('LD_LIBRARY_PATH')
ans =
/usr/local/MATLAB/R2012b/sys/os/glnxa64:/usr/local/MATLAB/R2012b/bin/glnxa64:/usr/local/MATLAB/R2012b/extern/lib/glnxa64:/usr/local/MATLAB/R2012b/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/R2012b/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/R2012b/sys/java/jre/glnxa64/jre/lib/amd64:/usr/local/lib:/usr/local/cuda-6.5/lib:/usr/local/cuda-6.5/targets/x86_64-linux/lib:/usr/local/cuda/cudnn:/usr/lib/x86_64-linux-gnu:/usr/local/MATLAB/R2012b/bin/glnxa64

Please help.

I can run Caffe matlab_demo now. Here is what I did.
After Install Caffe http://caffe.berkeleyvision.org/ on my Linux Machine Linux Mint based on Ubuntu 14.04
I am trying to use matlab interface mex file. Here is what I got
>>matcaffe_demo

Invalid MEX-file
'/home/Feature/caffe-master/matlab/caffe/caffe.mexa64':
/usr/local/lib/libopencv_highgui.so.2.4: undefined symbol:
_ZNK9QCheckBox15minimumSizeHintEv
Error in matcaffe_init (line 19)
if caffe('is_initialized') == 0
Error in matcaffe_demo (line 53)
matcaffe_init();

What I did to solve this problem was to check ldd between matlab and linux
in Linux Command Line
ldd matlab/caffe/caffe.mexa64

on Matlab
!ldd matlab/caffe/caffe.mexa64

There are many library of which when running mex file in Matlab points to matlab provided libraries (via symbolic links) instead of native library. so I change all of that by
ln -s   <lib.so name in native> <symbolic link lib.so name found on Matlab>

If the destination symbolic links are already exist, one must delete them before ln.
For example, two of those symbolic links are qtGui.so and qtCore.so. One may just
 sudo rm /usr/local/MATLAB/R2012b/bin/glnxa64/libQtGui.so.4
 sudo ln -s /usr/lib/x86_64-linux-gnu/libQtGui.so.4 /usr/local/MATLAB/R2012b/bin/glnxa64/libQtGui.so.4
 sudo rm  /usr/local/MATLAB/R2012b/bin/glnxa64/libQtCore.so.4
sudo ln -s /usr/lib/x86_64-linux-gnu/libQtCore.so.4  /usr/local/MATLAB/R2012b/bin/glnxa64/libQtCore.so.4

The way around this is to launch matlab with
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libQtCore.so:/usr/lib/x86_64-linux-gnu/libQtGui.so matlab

I got a easier way to resolve this issue:

When running the code, if you get an error saying: /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0:
undefined symbol: FT_Face_GetCharVariantIndex, try adding /usr/lib/x86_64-linux-
gnu/libfreetype.so.6(or the equivalent library that your system may have) to the LD_PRELOAD
environment variable before starting MATLAB.
Copied from https://github.com/bharath272/sds_eccv2014

@TorosFanny  thank you for your comment, It really help me solve the problem.

matlab crashed after execute rcnn_demo,my matlab version is 2014a,in centos7.


Automatically review and rollout

Hey awesome guys,
question regarding Android:
it is possible to use fastlane for publishing to Alpha a “ready for publish” application (I’m referring to an application that wasn’t published yet to Alpha)?
I have to manually publish for the first time the app to Alpha for automate deployment process?

If the app is already registered w/ the console, I think it should work. If it doesn’t let us know :+1:

hei @taquitos,
thank you for response. Yeah, the app is registered, but I’m asking this because I don’t find in documentation how I could use fastlane to review and rollout for the first time to one track a “Ready to publish app”.  I can just update the APK to the released app using supply.
ps.: A quick feature that did this is that I integrated a selenium job that reviews and starts the rollout data.


fba-inventory-api not found on the documentation for available endpoints

Hello,
I have encountered your  documentation . From the list of endpoints in the documentation there is no fba-inventory-api which was recently listed in the  selling-partner-api-docs  as shown in the screenshot below.

I would like to clarify if the fba-inventory-api endpoint is available in your library even if it was not shown in the documentation?

Seems to be missing in the docs, will add that. The client for fba inventories is called Inventories.


⚠ Bofrost.at has degraded performance

In e8a8c00, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1670 ms

Resolved: Bofrost.at performance has improved in c5dd868 after 6 minutes.


Comment padding tweak

There's too much horizontal padding between the comment text and the avatar
reference: https://zpl.io/a3XqBm8 / https://zpl.io/awqYkvK

@dzucconi putting you on this as I'm not sure what to do with the flex percentages. @csherron also, do you have a mockup for comments longer than one line? I'm assuming we want the avatar to hang towards the top (which it's not doing right now).


Summary of Direction/Type columns problem and a new suggested trade-off

As mentioned in #372, the "Type" column without the "Direction" one looks indeed like unfinished business.
Personally, I'm using the "Type" column sorting every time I open the GUI. And I'll be very disappointed if we end up with reverting this feature back (see #372).
One of the flaws in the current state is mixing of independent data in the "Address" column content. It leads to unwanted issues (see #397, #400).
Currently, we have two alternative PRs that add the "Direction" column: #317 and #363.
#317 (#289)

has support of 5 developers (including pr authors)
2 developers expressed their satisfaction with the current state (one of these opinions includes a suggestion for a different approach)
1 developer submitted an alternative PR

#363

has support of 1 developer (pr author only)
2 developers expressed their disagreement

Nevertheless, I still believe we could find the common ground and reach the rough consensus in this problem.
Here is my attempt at formulating the distinguished issues related to the problem.
Issue 1: Mixing of independent data
The fact is that a connection direction and a peer address are completely independent data, therefore, a table that presents such data to users shouldn't mix them into one column, as this definitely hurts UX.
For historical notes, see:

https://github.com/bitcoin/bitcoin/issues/13483
https://github.com/bitcoin/bitcoin/pull/13537

Issue 2: Semantics of "arrows"
The fact is that arrow symbols—neither "up" and "down" (current state), nor "left" and "right"—have no implicit or ubiquitous semantics of "inbound" and "outbound". They mean nothing without a context.
Issue 3: Horizontal space and Localization
One of the concerns about adding a new "Direction" column is that it consumes more horizontal space then a symbol does.
As an alternative, the "in" and "out" short words were suggested (disregarding letter capitalization).
The main flaw of such an approach is that the shortest translated words with the suitable meanings could be much longer. It makes this approach practically useless.

Note about symbols
We could replace arrows with symbols with suitable semantics, for example:

https://github.com/bitcoin-core/gui/blob/master/src/qt/res/icons/tx_input.png

https://github.com/bitcoin-core/gui/blob/master/src/qt/res/icons/tx_output.png

Or we could choose any other free icons with appropriate semantics.
Note about data mixing
After replacing the meaningless "arrow" symbols with some meaningful ones, it'll still require to move it out from the "Address" column:

(A) into a new dedicated "Direction" column
(B) into the current "Type" column

Note about horizontal space and Localization
Unfortunately, the (A) solution won't save the horizontal space in all cases. The "Direction" column still require a header title, e.g., the word "Direction". And, again, its localized variant could be much longer.

Suggested trade-off approach: a combined "Direction/Type" column instead of the current "Type" one
The combining a direction and a type data into one column looks pretty legitimate because these data are closely entangled (see #203).
Here are possible implementations:

(B.1) an icon-prefixed string
(B.2) considering that in the current "Type" column cells are empty iif a connection is inbound, we could use the "Inbound" word as a type of inbound connection, and connections with other types are implicitly outbound. In that case no icons/symbols are required at all.

I think the B.2 solution is a good trade-off. And it does not increase the horizontal space usage. Actually, this solution decreases it by removing arrow symbols from the "Address" column.
Searching for productive discussion without opinions based on personal taste.

Closed in favor of #317.

Thank you very much.
I already thought about if for every inbound connection, the type is definitely empty. I do not know if this is guaranteed because it is (at least currently) technically not detectable?
My suggestion:
(B.3) Put the inbound/outbound icon prefix (which I like very much) before every connection type. If connection is inbound, the connection type should be "Not detectable" (if this is this technically correct) or alternatively "Unknown"

I generally agree with this line of thinking.
Long term - establishing a symbolic "language" will have benefits.
git/github tackled this issue years ago.
I would suggest drawing from the established iconography - the work has already been done.
https://github.com/primer/octicons


COCO enable bbox with segement annotation

Summary

Resolves: CVS-98131
Currently, Datumaro removes the bbox annotations when segmentation annotation exits.
It confused the users and makes a dataset not fit for a detection task.
We thus keep the bbox annotations when importing a COCO dataset.
Then export the bbox annotation and relevant segmentation annotation to single annotation when exporting.
How to test

Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG
[ ] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] I have linked related issues

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Codecov Report
Base: 84.17% // Head: 84.03% // Decreases project coverage by -0.14% :warning:

Coverage data is based on head (b9858d4) compared to base (3547c32).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #772      +/-   ##
===========================================
- Coverage    84.17%   84.03%   -0.15%
===========================================
  Files          157      157
  Lines        22064    22051      -13
  Branches      4830     4635     -195
===========================================
- Hits         18573    18530      -43
- Misses        2389     2418      +29
- Partials      1102     1103       +1

Flag
Coverage Δ

macos-10.15_Python-3.10
?

macos-10.15_Python-3.7
?

macos-10.15_Python-3.8
?

macos-10.15_Python-3.9
?

ubuntu-20.04_Python-3.10
?

ubuntu-20.04_Python-3.7
?

ubuntu-20.04_Python-3.8
84.03% <75.00%> (-0.01%)
:arrow_down:

ubuntu-20.04_Python-3.9
?

windows-2019_Python-3.10
?

windows-2019_Python-3.7
?

windows-2019_Python-3.8
?

windows-2019_Python-3.9
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

datumaro/plugins/coco_format/extractor.py
91.96% <75.00%> (-0.38%)
:arrow_down:

datumaro/util/os_util.py
68.70% <0.00%> (-8.58%)
:arrow_down:

datumaro/plugins/yolo_format/converter.py
84.07% <0.00%> (-1.77%)
:arrow_down:

datumaro/plugins/kitti_raw_format/extractor.py
84.35% <0.00%> (-1.68%)
:arrow_down:

datumaro/util/test_utils.py
87.84% <0.00%> (-1.66%)
:arrow_down:

datumaro/plugins/yolo_format/extractor.py
89.75% <0.00%> (-0.61%)
:arrow_down:

datumaro/plugins/voc_format/converter.py
89.48% <0.00%> (-0.58%)
:arrow_down:

datumaro/plugins/icdar_format/extractor.py
87.09% <0.00%> (-0.47%)
:arrow_down:

datumaro/plugins/coco_format/converter.py
89.03% <0.00%> (-0.44%)
:arrow_down:

datumaro/plugins/cvat_format/extractor.py
95.68% <0.00%> (-0.40%)
:arrow_down:

... and 9 more

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.


A style update is needed to match coding guidelines

https://www.haiku-os.org/development/coding-guidelines/

Haiku coding guidelines don't apply per se to the project VMwareAddons, but a style update for instance with haiku-format would be nice.


Bad example in the Introduction tutorial

In Introduction.ipynb, there is an example which should not be recommended:
from holoviews import Dimension
chans.Channel.Blue.value_dimensions[0]=Dimension("Luminance")
print(repr(chans.Channel.Blue))

This is an example of mutating an object when clone should be used instead. We would make this into an error if possible but as lists are mutable, it is hard to prevent things like this.

Fixed in ed13b64 using a more idiomatic/recommended approach:
chans.Channel.Blue = chans.Channel.Blue.clone(vdims=["Luminance"])

I decided there was no need to import Dimension as none of the Dimension features were used in this example and Dimension isn't used anywhere else in the tutorial.


Some icon sizes are missed

Hi,
The next error getting while uploading ipa file to iTunes:
ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'AppIcon57x57.png'"
ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles'<EMAIL_ADDRESS>ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles'<EMAIL_ADDRESS>ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'AppIcon72x72~ipad.png'"

The next config I'm using
appicon(appicon_devices: [:ipad, :iphone, :ios_marketing])
Fastlane version 2.62.0, appicon version 0.10
Could you help please

In xcode project some icons unassigned, I'm using xcode 9.0

In source code these sizes not specified
iphone: {
            '2x' => ['20x20', '29x29', '40x40', '60x60'],
            '3x' => ['20x20', '29x29', '40x40', '60x60']
          },
ipad: {
            '1x' => ['20x20', '29x29', '40x40', '76x76'],
            '2x' => ['20x20', '29x29', '40x40', '76x76', '83.5x83.5']
          },

Hi, I am new to github and fastlane as well as ruby. I already found this plugin is really awesome. However, I am wondering how to use this plugin to generate icon with @2x naming. Thanks.


Update BlueSocket commit and config to build against Swift 4.2

Pull Request Description
Update BlueSocket commit and config to build against Swift 4.2

[x] pass ./project_precommit_check script run

PASS: BlueSocket, 4.2, fb4e74, Socket, generic/platform=macOS
PASS: BlueSocket, 4.2, fb4e74, Socket-iOS, generic/platform=iOS
========================================
Action Summary:
     Passed: 2
     Failed: 0
    XFailed: 0
    UPassed: 0
      Total: 2
========================================
Repository Summary:
      Total: 1
========================================
Result: PASS
========================================

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Detect circular redirects

Is your proposal related to a problem?
Currently, redirects can be created which are circular, where the redirect redirects to itself. This is most common when importing URLs as part of an SEO audit, where the audit attempted to normalise URLs to always have a trailing slash, but Wagtail / Django already handle this redirect. There's also nothing stopping someone from typo-ing a redirect and creating a loop manually.
Describe the solution you'd like
I think detecting a multi-stage loop is quite resource intensive (unless it was run out of band), but detecting a redirect referencing itself is quite simple.
Whether this is a management command or a report, I'm not sure.
Detecting is relatively simple, especially when not using multiple sites:
redirect.old_path == Redirect.normalise_path(redirect.link)

Describe alternatives you've considered
This is fairly obviously caused by user error, and in some cases this isn't especially likely to happen, but it's still an annoying foot-gun, especially when dealing with lots of old redirects.
Additional context
Working on this
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.

Hello 👋  I'd like to work on this issue.
From what I understood, this would involve changes in the redirects module. So I'll go through the module and understand how it works. Is this a good approach?


How do I recognize a swipe-without-lifting-finger gesture?

 This is present around iOS7 (for instance, it switches tabs in the notification center).
mc = Hammer(el);
mc.on('flickleft', function () { switchToLeftTab(); });
mc.on('flickright', function () { switchToRightTab(); });

It's kinda like a pan left, but only triggers once. Is this possible with the default recognizers?

Closing this as not a bug/issue but an implementation question.


Option for ctrl/cmd + F for fullscreen

https://scratch.mit.edu/users/Sheep_maker/#comments-141217533

could you add a feature where we can choose a keyboard key to go fullscreen?

possibly something bundled with the ctrl button would be better in case somebody's game uses "f"

ctrl+f and alt+enter are used most often after f11

Should it be an option?

I guess it shalln't be an option until people complain


IPv4 is not optional

For WIP, IPv4 is not optional, but mandatory to be configured.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/9208

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

#sign-off

@Dansimp PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Feature: Integration with AD and Socials Auth

Feature: Integration with AD and Socials Auth

Could you flesh this out a little? What kind of integration are you looking for?

Closing due to inactivity. Feel free to reopen with further information.

I mean if is possible to use the Social Autentications or Active Directory.


Not building in web

As soon as I add the package and Element for web comes an unimplemented Error although gradient_text should be Web compatible.
On phone working fine

As soon as I add the package and Element for web comes an unimplemented Error although gradient_text should be Web compatible. On phone working fine

Hello, thanks for post your issue, please add a minimum reproducible code, because, I just tested and it works fine.

`import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'SHARING - einfach Dinge teilen',
theme: ThemeData(
primaryColor: Colors.white,
),
home: MyHomePage(title: 'SHARING.'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
int _counter = 0;
void _incrementCounter() {
setState(() {
_counter++;
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title,
style: TextStyle(fontSize: 20.0, fontWeight: FontWeight.bold),),
actions: [
TextButton(
style: TextButton.styleFrom(
primary: Color.fromRGBO(21, 128, 61, 1),
),
onPressed: () {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(content: Text('This is a snackbar')));
},
child: Text("Einloggen")),
TextButton(
child: Text("Registrieren"),
style: TextButton.styleFrom(
padding: const EdgeInsets.all(16.0),
primary: Color.fromRGBO(220, 252, 231, 1),
backgroundColor: Color.fromRGBO(21, 128, 61, 1),
),
onPressed: () {
print('Pressed');
},
)
],
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'Teilen macht',
style: TextStyle(fontSize: 40.0, fontWeight: FontWeight.bold),
),
Text('glücklich.'),
        Text(
          'You have pushed the button this many times:',
        ),
        Text(
          '$_counter',
          style: Theme.of(context).textTheme.headline4,
        ),
      ],
    ),
  ),
  floatingActionButton: FloatingActionButton(
    onPressed: _incrementCounter,
    tooltip: 'Increment',
    child: Icon(Icons.add),
  ), // This trailing comma makes auto-formatting nicer for build methods.
);

}
}
With this code everything works fine. This is just a quick and dirty example application. Then I run the needed command:flutter pub add simple_gradient_text`
Add the import at the top of my main App and added:
GradientText(               'glücklich.',               style: TextStyle(                 fontSize: 40.0,               ),               gradientType: GradientType.radial,               radius: 2.5,               colors: [                 Color.fromRGBO(29, 78, 216, 1),                 Color.fromRGBO(126, 34, 206, 1),                 Color.fromRGBO(190, 24, 93, 1),               ],             ),
This works fine in application but fails in Chrome or Edge.
Same problem when I do it with the example you provide on your website:
GradientText(                 'Gradient Text Example',                 style: TextStyle(                   fontSize: 40.0,                 ),                 colors: [                   Colors.blue,                   Colors.red,                   Colors.teal,                 ],               ),
The error I got was:

I excuse me if this is an error on my side, as this is kind of my first steps towards flutter but couldn't find any other problem and as soon as I remove the package and the Lines with the example, everything works fine.

The package use ShaderMask to create gradients. Flutter (>=2.5.0) requied.
Check the version of Flutter you're using, as ShaderMask previously didn't support the web.
Run flutter upgrade.
Hello, the problem is not with the package, check if it appears inside the pubspec.yaml file correctly imported.

If you have other packages imported try removing and testing without using any other packages.
I used your code and tried to reproduce the error, but it works fine.
import 'package:flutter/material.dart';
import 'package:simple_gradient_text/simple_gradient_text.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SHARING - einfach Dinge teilen',
      theme: ThemeData(
        primaryColor: Colors.white,
      ),
      home: const MyHomePage(title: 'SHARING.'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          widget.title,
          style: const TextStyle(fontSize: 20.0, fontWeight: FontWeight.bold),
        ),
        actions: [
          TextButton(
              style: TextButton.styleFrom(
                primary: const Color.fromRGBO(21, 128, 61, 1),
              ),
              onPressed: () {
                ScaffoldMessenger.of(context).showSnackBar(
                    const SnackBar(content: Text('This is a snackbar')));
              },
              child: const Text("Einloggen")),
          TextButton(
            child: const Text("Registrieren"),
            style: TextButton.styleFrom(
              padding: const EdgeInsets.all(16.0),
              primary: const Color.fromRGBO(220, 252, 231, 1),
              backgroundColor: const Color.fromRGBO(21, 128, 61, 1),
            ),
            onPressed: () {
              print('Pressed');
            },
          )
        ],
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            const Text(
              'Teilen macht',
              style: TextStyle(fontSize: 40.0, fontWeight: FontWeight.bold),
            ),
            const Text('glücklich.'),
            const Text(
              'You have pushed the button this many times:',
            ),
            GradientText(
              'glücklich.',
              style: const TextStyle(
                fontSize: 40.0,
              ),
              gradientType: GradientType.radial,
              radius: 2.5,
              colors: const [
                Color.fromRGBO(29, 78, 216, 1),
                Color.fromRGBO(126, 34, 206, 1),
                Color.fromRGBO(190, 24, 93, 1),
              ],
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

The error is not caused by the package.

Thanks, found the issue unfortunately my flutter version still was 2.0.6. Upgraded to 2.10.5 and everything works now. Thanks for the help.
Maybe you could add this to the package information. Thanks for you're help


hyphen removal in class names

.display2 {
  color: 'red';
}
.display-2 {
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1.1;
}

These seem to generate the same class name in JS:
export const display2 = css`
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.1;
`;
export const display2 = css`color: "red";`;

Not sure if there is a good solution.

You are right, classnames are camelized, and so this can lead to something wrong... I don't have the answer right now, but having both display-2 and display2 is an edge case, as library is still experimental.

push the class name to an array and check whether it already exists. If yes, add a suffix that can be a unique id.


[Feature request] Option to dial *#*#CHECKIN#*#*

Hello !
In my latest push messages troubleshooting session, I eventually solved my issue by finding https://gitlab.com/Nanolx/NanoDroid#issues and doing the following :

if you can't make any app registering for Google Cloud Messaging, try the following

open the Phone app and dial the following: *#*#2432546#*#* (or *#*#CHECKIN#*#*)

Though this solved my issue, I found it a bit frustrating that I couldn't find it earlier/more easily, and that got me thinking about an improvement :
In the same way as the "Request permissions" in MicroG settings, why not add a "Tap to dial *#*#CHECKIN#*#*" to the most appropriate check item ?
(In the same way, why not add a "Tap to open app permissions and allow "Permission spoofing"" ?)

I totally agree, every time I reinstall a ROM, I have to look that code up.
I would also be grateful for an option to grant the signature spoofing to apps directly from the microG settings, especially for ROMs that do not include it in their settings (you have to grant it to FakeStore through a terminal).


同步最新代码

Why are these changes needed?

Related issue number

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

@linsida1 I am closing this. Looks like an accidental PR.


fix(auth-secret): Make template use correct retrieval method

datahub-auth-secret yaml was incorrectly using the index template function which is for list variables. For dictionaries as is the case with the $secret.data object, the correct method is: https://helm.sh/docs/chart_template_guide/function_list/#get
Tested locally, that this works against a running cluster.
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Chart version needs to be updated

I don't want this PR to be released standalone. I will follow up with another PR shortly that I would like bundled.


Only 1 out of 5 Zones Value showing up

Hi,
All zones have been recognized and objects for the zones are created. However only 1 zone shows its values, for all other zones no values at all.
Thank you

Hmm.... I can't really say what the problem might be with so little information. I haven't had any reports of missing zones.
Are your zones called anything unusual?
[Sorry for the delay answering - for some reason, I didn't get a notification].


Voip Delay With 90+ connections.

Hello, I am using the vRP2 Voip (WebRTC + nodejs + TURN server)
On my server, up to about 90 connections (players), voip works normally, but when more than 100+ people start to enter, there is a delay in the voice. People talk, and it takes up to 10 seconds of delay to receive the audio of what was said.
I would like to know if you, Imagic, have any suggestions or fixes so that I can continue using voip.
Example, which functions should be async, etc.
I appreciate if I can help.

Imagic?

Sounds like something else bottle-necking your server.
Are you getting hitches on the server console?

Parece que outra coisa está atrapalhando seu servidor.
Você está tendo problemas no console do servidor?

no man. :/

Sounds like something else is bottle-necking your server.
Are you getting hitches on the server console?

no man. :/

Hmm sounds more like a bandwidth bottleneck to be honest.
Got to say i personally dont think WebRTC + nodejs + TURN server - is a good solution for ingame voice, use the integrated mumble og toko makes a lot more sence.

@benzon It seems you're underrating modern WebRTC. Imagic's solution is not very scalable, it's true. But there's lots of ways to make WebRTC voip solution be able to handle hundred or even thousands of actively talking people. Mumble is good too thought.

WebRTC works fine nothing there, but requires bandwith, and if you got it on the same server as fivem you might run in to a cap at some point, depends on your provider ofc.

@benzon Mumble and WebRTC both using OPUS, there's almost no difference in bandwidth at the same bitrate. And I don't see anything wrong since it's very scaliable.

There is a WebRTC solution created by one person, for the VioV server, I didn't get to test it, but it seems to be very scalable
https://github.com/Z8pn/VioVoice
I would like to use the vrp2 voip, as it is very simple and effective, you would only have to make it scalable from 200 to 500 players

I'm not satisfied with the VoIP implementation, it's not very good. JavaScript, Node.js and WebRTC are to me overly complicated pieces of software; I don't feel sane when trying to workaround what I don't like / understand. And I can't use things I want with FiveM, like sockets or threads, thus I think I will just delegate by using other people's work.

I'm not satisfied with the VoIP implementation, it's not very good. JavaScript, Node.js and WebRTC are to me overly complicated pieces of software; I don't feel sane when trying to workaround what I don't like / understand. And I can't use things I want with FiveM, like sockets or threads, thus I think I will just delegate by using other people's work.

Does that mean you'll switch to Mumble?

Does that mean you'll switch to Mumble?

@AleDema Probably not, it would use higher level libraries instead.

@AleDema Probably not, it would use higher level libraries instead.

@AleDema I meant the in game implementation of Mumble. It seems like its slowly becoming the standard. NoPixel is using it for voice chat along with RTC for calls/radio.

@AleDema I meant the in game implementation of Mumble. It seems like its slowly becoming the standard. NoPixel is using it for voice chat along with RTC for calls/radio.


Bug: Undo not working

I don't know if this is an issue specific to me. I do have a lot of other extensions enabled, and perhaps one is interfering. But undo is currently  not working. I've tried refreshing the page, disabling and re-enabling extensions, etc. I also tried each undo shortcut option separately. As in, I created Test task 1, completed it, then (while the Undo button was still visible), tried u. Didn't work, so I did the same process for the other listed options (z and ctrl-z, as well as the additional native Todoist shortcut: cmd-z).
None of them did anything.
I'm on a Macbook Pro, on Chrome (obviously), latest version of each, and using the Todoist web app.
Lmk if there is any additional information I can provide or if you have trouble replicating the issue.
Dan

This has actually bugged me for a while, but been busy so only just got around to fixing it.  Fix is included in version 178!


How to show error message on submit?

If I set required property on the input component then showError() and getErrorMessage() don't work properly if the input value is empty and user presses submit. showError is false and getErrorMessage() returns null.
If I don't set required property it works as expected but then isRequired() returns false which is not true because the field must be valid to pass.
Am I not understanding your implementation of required?

Hi @salayev ,
Validation vs required is a surprisingly difficult concept. validations is related to showError and getErrorMessages. required is related to showRequired(). So you never check errors related to required. The reason is that they are two different things. You want to indicate a required input differently than when a validation is wrong :-)

Thanks for the explanation, why required though, in HTML5 spec it is the validations, may  be different name :)?


Training code

Congratulation on the wonderful work! The results are amazing!
I wonder if you have any plan to release the training code? (If there is a plan, could you tell me the approximate time?)
Thanks for your great work!

Hi~ Thanks for your interest. Currently we don't have any plan to release the training code, but personally, I think it is easy to implement that based on the image training code from SD. Thanks for your interest again.

Thanks for your response : )

Hi. I find the open-source code from MotionCtrl and LVDM may contain nearly-complete applicable training code for our DynamiCrafter (I think those code can be used with a minor modification)!

The training code is available now! @WUMINGCHAzero


Initial commit of spring2017 commonAST tools

It looks like you're using python 2 in this PR? Is there a reason you cannot use python 3 here (like the rest of the python scripts for Submitty and python 2 may go away in the future).


Use Controls without rest of Theme

I'd like to use specific controls from the application, but I'd rather not apply the entire Metro theme to my application.  Right now no matter what combinations of Resource Dictionaries I include, either my entire app starts looking different OR the ToggleSwitch doesn't render (just see the text).

@jpwkeeper 👉🏻 https://github.com/MahApps/MahApps.Metro/discussions/4029

@jpwkeeper 👉🏻 https://github.com/MahApps/MahApps.Metro/discussions/4029


fix: working_directory removed from annotation

Fixes #20

This doesn't fix it, closing for now, may look into it again


Make the CMS SSL compatible

I had to change the gravatar url because it was delivered over http:// which defeats the purpose of the SSL certificate.

Do you use Cockpit Next or legacy?

I downloaded the stable version from https://getcockpit.com/download

Nevermind, didn't realize that the github version and the version on your website were different.


Controller is reloaded even when the view is in cache

Hi guys,
I noticed when using navigation tips with ion-nav-view and ion-view a strange behavior.
I took your demo codepen "Tabs And Navigation" and added some logs and a controller of "Facts tab  " and another of "Facts2 tab" to explain myself.
Here is the link:
http://codepen.io/khor6475/full/vEXELY
When you go to "facts" tab and then go back to home, home controller is not reloaded and cached as described in your description .
Yet, if I then go back to "facts" tab, the controller is reloaded and cached view doesn't seem to work.
If I go to "Facts" tab  and then to "Facts2" tab and then go back to home, all the 3 views are cached and we can't see the logs saying the controller is loaded in the console.
In conclusion, it seems that each time user goes to previous view, cache of the old current view can't be accessed.
It seems stange to me, Is that the wanted behavior ?
I'm pretty new with angularJS and Ionic, so did I missed something which explains this behavior ?
Thanks !

+1
$ionicConfigProvider.views.forwardCache(true)
fix my problem  :)

Thanks for sharing! it also solves my problem


'nyx clean' appears to be broken (in the epilogue)

This error came from nix-env --list-generations


Shell syntax error in ExecuteRCAsync

https://github.com/lyuts/vim-rtags/blob/master/plugin/rtags.vim#L570
First, what you want is "&>" not ">&", which means redirect to file descriptor. Secondly, no, this is not portable. Lastly, you should use the on_stderr, on_stdout callbacks, not temporary files.

Hi. That's how it is used to be. However, this was causing issues for someone. From what I could tell that was caused by that person's shell (it might have be broken for my shell as well, don't remember exactly), and I did this change https://github.com/lyuts/vim-rtags/commit/74e667e7ebfb533b9e2cff503d4bb2385dd6c450
I agree i should switch to a portable approach.


Dockerfile is broken

Hi @zwopir,
I tried the docker build target today, and I think that the Dockerfile is not right.
$ make docker
>> building docker image
Sending build context to Docker daemon  10.12MB
Step 1/9 : FROM quay.io/prometheus/golang-builder as builder
 ---> f020175c27db
Step 2/9 : ADD .   /go/src/github.com/justwatchcom/elasticsearch_exporter
 ---> Using cache
 ---> 79f6b27e01a6
Step 3/9 : WORKDIR /go/src/github.com/justwatchcom/elasticsearch_exporter
 ---> Using cache
 ---> 24df83db0617
Step 4/9 : RUN make
 ---> Running in f8642bfd5d08
>> formatting code
# cd .; git clone https://github.com/prometheus/promu /go/src/github.com/prometheus/promu
Cloning into '/go/src/github.com/prometheus/promu'...
fatal: unable to access 'https://github.com/prometheus/promu/': Could not resolve host: github.com
package github.com/prometheus/promu: exit status 128
make: *** [promu] Error 1
Makefile:64: recipe for target 'promu' failed
The command '/bin/sh -c make' returned a non-zero code: 2
make: *** [Makefile:61: docker] Error 2

What about just running make, and then make docker copying the binary from the previous build?

can't reproduce. The Could not resolve host: github.com seems suspicious to me


Failt to use proj4 with rails.

System: MacOSX Catalina 10.15.6
Instaled from Homebrew
brew install proj

When I run:
projsync --system-directory

At least one of --list-files, --file, --source-id, --area-of-use, --bbox or --all must be specified.

usage: projsync
          [--endpoint URL]
          [--local-geojson-file FILENAME]
          ([--user-writable-directory] | [--system-directory] | [--target-dir DIRNAME])
          [--bbox west_long,south_lat,east_long,north_lat]
          [--spatial-test contains|intersects]
          [--source-id ID] [--area-of-use NAME]
          [--file NAME]
          [--all] [--exclude-world-coverage]
          [--quiet] [--dry-run] [--list-files]

Gemfile
gem "rgeo", "~> 2.1"
gem "rgeo-proj4", "~> 2.0"

Ruby Version
2.5.8

Rails Version
rails <IP_ADDRESS>

rails c
pry(main)> RGeo::CoordSys::Proj4.supported?
false

Potential duplicate of https://github.com/rgeo/rgeo-proj4/issues/4
Which proj version do you have installed ($ proj -v)?

Fixed by #10


Update CODEOWNERS for Azure IoT SDK

Add Tahir and correct Andy's alias

/check-enforcer override