[question] A2C GPU utilization

Hello,
I'm running stable-baselines A2C with my custom environments.
My custom envs are nothing special except it has a DataManger instance that swaps data needed for learning at a certain timestep.
My python environment is as follows:
Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz (4cores, 4 threads)
Ubuntu 18.04 LTS
cudatoolkit               10.0.130                      0
cudnn                     7.6.0                cuda10.0_0
tensorflow-gpu            1.13.1
on Python 3.7 on anaconda virtual env.
As I have only 4 cores, I use 4 envs with SubprocVecEnv.
My problem is that A2C model uses CPU only until it reaches some timesteps like
100k, 160k, 1M steps. (The number of timesteps it begins to use GPU differs by 'net_arch' and policy)
As I know, it should have used GPU when updating params of 'train_model,' which should have happened at every batch step (n_envs * n_step), but it doesn't use GPU at all until it reaches some timesteps.
When I'm monitoring the learning process on tensorboard, everything seems fine:
'advantage'/'policy_loss' is rising, 'value_loss' is decreasing, etc.
I'm using MlpLSTMPolicy and MlpPolicy but it actually doesn't matter what kind of policy I use.
I checked GPU use ratio but it is almost always 0% until it reaches some timestep.
4 python processors are busy (30~60% use ratio) until it starts to use GPU.
When it starts to use GPU, only a single processor shows 100-150% use ratio and the others show 1-5% ratio, which was just expected to happen from the very beginning of the learning (updating 'train_model'), not after a tens of thousands, or several millions of timesteps.
If it were my lousy mistake, please forgive me and enlighten me.
Thank you.
p.s> I tried n_envs>4 with SubprocVecEnv or SubprocChunkVecEnv (recently updated custom VecEnv), but I think in my case, these are some problems on updating net params using GPU (train_model net params are overwritten away from expectation.)

Hello,
I think your question was already addressed here: #308


add getter for single table-rows

Feature-request
Description
Add getter for single table-rows

accidentally pushed directly to master


Support Python 3.5.2 in typing checks (Ubuntu 16.04 default python3)

Support Python 3.5.2 in typing checks
Description
The model gpflow/saver/coder.py makes use of the private API for the typing module, and due to internal changes the current code does not support Python 3.5.2 (the default python3 for Ubuntu 16.04 LTS). This change adds support for the private API for Python 3.5.2 as well as Python 3.5.3+

Hello @joel-wright! Just in time, we've discussed it today. ;)

@awav, @joel-wright heard us discussing it and came to the rescue :)


fix the html syntax in model-builder.html

This change is

I signed it!

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Thanks!

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


outlook support

Does this module support outlook as one of the host or is it only for gmail at this time?
Thanks,
Richard

I've only ever used it against Gmail, so I don't know. If you end up making modifications to get it to work against outlook, contributions are welcome :)

@rhsu0268  If your Exchange is running the IMAP service and the IMAP ports are open you can connect top IMAPv4.


HBASE-22692 Added Rubocop definition file to bin directory

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
211
Docker mode activated.

_ Other Tests _

+1
asflicense
11
The patch does not generate ASF License warnings.

294

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname  asflicense  yamllint

uname
Linux f4a0bfbba821 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 74731c2a46

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Max. process+thread count
46 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
74
Docker mode activated.

_ Other Tests _

+1
asflicense
26
The patch does not generate ASF License warnings.

163

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname  asflicense  yamllint

uname
Linux a1e577a7e008 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / cc38de1a39

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Max. process+thread count
47 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/2/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
53
Docker mode activated.

_ Other Tests _

+1
asflicense
12
The patch does not generate ASF License warnings.

114

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname  asflicense  yamllint

uname
Linux 9c0292f8663e 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 72e58a8fed

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Max. process+thread count
46 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/3/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
157
Docker mode activated.

_ Other Tests _

+1
asflicense
18
The patch does not generate ASF License warnings.

240

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname  asflicense  yamllint

uname
Linux 76e71a739755 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 00075ea4fc

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

Max. process+thread count
41 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/4/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
266
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
13
The patch does not generate ASF License warnings.

334

Subsystem
Report/Notes

Docker
Client=18.09.8 Server=18.09.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux 8303c5049865 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / c9293b0b12

Max. process+thread count
47 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/5/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
212
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
16
The patch does not generate ASF License warnings.

283

Subsystem
Report/Notes

Docker
Client=18.09.8 Server=18.09.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux 8b611cde7c6f 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / aa9679ddbc

Max. process+thread count
47 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/6/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
116
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
14
The patch does not generate ASF License warnings.

179

Subsystem
Report/Notes

Docker
Client=18.09.8 Server=18.09.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/7/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux cff34dcd1156 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 7f68591767

Max. process+thread count
46 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/7/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
127
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
18
The patch does not generate ASF License warnings.

219

Subsystem
Report/Notes

Docker
Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux 22821ccb2809 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 7f68591767

Max. process+thread count
41 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
192
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
16
The patch does not generate ASF License warnings.

266

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux 5d727a25e42b 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 9615c644f5

Max. process+thread count
47 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
56
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
16
The patch does not generate ASF License warnings.

127

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux bad4226cd82f 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 0e34dcbf4b

Max. process+thread count
47 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/3/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
71
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
12
The patch does not generate ASF License warnings.

130

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux 2d9f7bf23428 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 06f5c43de3

Max. process+thread count
47 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/4/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
37
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
12
The patch does not generate ASF License warnings.

96

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux e40b699467da 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 06f5c43de3

Max. process+thread count
46 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/5/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
78
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
12
The patch does not generate ASF License warnings.

157

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/6/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux f470781548b6 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / b6d4529102

Max. process+thread count
46 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/6/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

With this commit there will be 2 .rubocop.yml files in HBase with the same content. Would it make sense to move hbase-shell/src/main/ruby/.rubocop.yml to root folder instead?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
67
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
18
The patch does not generate ASF License warnings.

153

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/7/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint

uname
Linux d28687a6ef56 4.4.0-143-generic #169-Ubuntu SMP Thu Feb 7 07:56:38 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / e74d501df9

Max. process+thread count
46 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/7/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@petersomogyi You're right. I updated the PR and moved the .rubocop.yml file into the root directory. Tested it by running Rubocop in both, the bin directory and the hbase-shell module. The reported violations are remaining the same.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
80
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

0
mvndep
26
Maven dependency ordering for branch

+1
mvninstall
331
master passed

+1
javadoc
187
master passed

_ Patch Compile Tests _

0
mvndep
13
Maven dependency ordering for patch

+1
mvninstall
338
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
javadoc
187
the patch passed

_ Other Tests _

-1
unit
15519
root in the patch failed.

+1
asflicense
74
The patch does not generate ASF License warnings.

16824

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestMobSnapshotCloneIndependence

hadoop.hbase.util.TestFromClientSide3WoUnsafe

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/10/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint javac javadoc unit

uname
Linux c8e85f2163ac 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 6705d4ffdf

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/10/artifact/out/patch-unit-root.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/10/testReport/

Max. process+thread count
5027 (vs. ulimit of 10000)

modules
C: hbase-shell . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/10/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
63
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

0
mvndep
29
Maven dependency ordering for branch

+1
mvninstall
407
master passed

+1
javadoc
228
master passed

_ Patch Compile Tests _

0
mvndep
16
Maven dependency ordering for patch

+1
mvninstall
389
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
javadoc
228
the patch passed

_ Other Tests _

-1
unit
19820
root in the patch failed.

+1
asflicense
65
The patch does not generate ASF License warnings.

21318

Reason
Tests

Failed junit tests
hadoop.hbase.replication.TestReplicationSmallTestsSync

hadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated

hadoop.hbase.client.TestCloneSnapshotFromClientNormal

hadoop.hbase.master.locking.TestLockProcedure

hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory

hadoop.hbase.util.TestFromClientSide3WoUnsafe

hadoop.hbase.replication.TestReplicationSmallTests

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/11/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint javac javadoc unit

uname
Linux 8a5c053e9bad 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 7ebf80fe1d

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/11/artifact/out/patch-unit-root.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/11/testReport/

Max. process+thread count
4720 (vs. ulimit of 10000)

modules
C: hbase-shell . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/11/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
36
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
yamllint
0
yamllint was not available.

+1
@author
0
The patch does not contain any @author tags.

-0
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

0
mvndep
28
Maven dependency ordering for branch

+1
mvninstall
305
master passed

+1
javadoc
193
master passed

_ Patch Compile Tests _

0
mvndep
13
Maven dependency ordering for patch

+1
mvninstall
311
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
javadoc
180
the patch passed

_ Other Tests _

+1
unit
13198
root in the patch passed.

+1
asflicense
61
The patch does not generate ASF License warnings.

14393

Subsystem
Report/Notes

Docker
Client=19.03.0 Server=19.03.0 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/12/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/382

Optional Tests
dupname asflicense yamllint javac javadoc unit

uname
Linux cc91547e8dd8 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-382/out/precommit/personality/provided.sh

git revision
master / 7ebf80fe1d

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/12/testReport/

Max. process+thread count
5461 (vs. ulimit of 10000)

modules
C: hbase-shell . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-382/12/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


 AND "SearchPhrase" <> '' GROUP BY "SearchPhrase" ORDER BY c DESC LIMIT 10;

SELECT * FROM hits WHERE "URL" LIKE '%google%' ORDER BY to_timestamp_seconds("EventTime") LIMIT 10;

we get this error,
type_coercion caused by Error during planning: There isn't a common type to coerce Binary and Utf8 in LIKE expression

To Reproduce
Download the data using,
 ./benchmarks/bench.sh data clickbench_partitioned

A hits_multi directory with the parquet files will be created.
Execute the above queries,
datafusion-cli -c "CREATE EXTERNAL TABLE hits STORED AS PARQUET LOCATION 'hits_multi';" "{query}"

Expected behavior
The queries should run successfully without erroring.
Additional context
Datafusion 29.0.0

This looks similar to https://github.com/apache/arrow-datafusion/issues/7039 which @jonahgao  fixed by adding a coercion from binary --> UTF8 for comparison. I think we could do something similar here.

Marking as a good first issue as there is a reproducer and I think the fix should be relatively straightforward

Working on a fix

I looked into this issue a little bit. Looks like there needs to be changes in arrow-string which is basically a part of arrow-rs. Specifically, I found out that there is no support for like operation for binary operands in arrow-datafusion. It only exists for utf8 operands. Support for the like operation in utf8 stems from this code in arrow-string. We basically need to add a binary version of this function in arrow-rs. Does that sound correct ?


Error: Template missing: blog.hbs

After installing the Postleaf, I have error when to go to localhost/postleaf/app:
Application Error
Template missing: blog.hbs

localhost

And have problem like this:

You can see when press button install, the bar process appear quick. And it not auto redirected to homepage after install success. I think you need navigation to homepage after install success.

Sorry, you'll need to download the default theme from github.com/postleaf/range and place it into content/themes/range. This is missing from the current build process but will be added soon. Then simply refresh and you should be good to go.

Thanks, @claviska . Seem when to installing success, it does not save username and password to the database. I check in phpmyAdmin at table postleaf_users not have any rows contains in this. I log in at fields Pick a Username and Create a Password.

Strange, what does your error log show from when you installed it? Did the default settings and posts get inserted?

The Postleaf is connected successfully with the database because it auto a generates 7 table. You can see at here:

At table postleaf_users not have any rows.

I understand that, but need to see your PHP error log to identify what went wrong.

I found this log.
PHP Fatal error:  Uncaught exception 'Exception' with message 'Invalid slug: admin' in C:\wamp64\www\postleaf\app\source\classes\User.php:41
Stack trace:
#0 C:\wamp64\www\postleaf\app\source\installer\install.php(213): Postleaf\User::add('admin', Array)
#1 {main}
  thrown in C:\wamp64\www\postleaf\app\source\classes\User.php on line 41

Perfect. I need to add a try/catch to this as certain slugs are restricted. For now, use something other than "admin". Delete database.php and retry the install :)
Thanks!

It's working. Thank you very much.
You should update exception in README.md is not set Username is: admin or administrator(I think like this).

I've added a check for this so you'll see an error message if you use a reserved username. Thanks for reporting this!


🐞 - Why are dropdown styles recalculated?

Which @taiga-ui/* package(s) are the source of the bug?
Don't known / other
Please provide a link to a minimal reproduction of the bug
https://taiga-ui.dev/stackblitz
Is this issue blocking you?
Non-Blocking
Description
https://user-images.githubusercontent.com/12021443/222139325-9c83052e-fe10-42f2-bcb7-3a96cf9ee187.mov
Angular version
latest
Taiga UI version
latest
Which browsers have you used?

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

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

This is expected. They are getting recalculated all the time, just values are the same so you don't see the updates. With complex cases like limited height due to screen edge or nested dropdowns some decimals probably do not add up to exactly the same number, even though Chrome probably trims it to max precision.

Doesn't seem to be reproducible anymore.


feat(cmd/influx): add -f option to query, and task commands

Closes #17356
Describe your proposed changes here.

influx query, influx task create and influx task update now support a new --file (-f) option
flux literal is read from stdin when no argument or file is supplied
'@/path/to/flux' and '-' are still supported for b/c

$influx query --help
Execute a literal Flux query provided as an argument or
in a file using the -f flag or via stdin

Usage:
  influx query [query literal or -f /path/to/query.flux] [flags]

Flags:
  -f, --file string     The path to the Flux query file
...

$influx task create --help
Create task with a Flux script provided as an argument or
in a file using the -f flag or via stdin

Usage:
  influx task create [script literal or -f /path/to/script.flux] [flags]

Flags:
  -f, --file string     The path to the Flux script file
...

$influx task update --help
Update task
An optional Flux script can be provided as an argument or
in a file using the -f flag, '-' argument reads the Flux script from stdin.

Usage:
  influx task update [flags]

Flags:
  -f, --file string     The path to the Flux script file
...

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

@sanderson can you pls review/proofread help messages


[continuous-integration] disable firewall to fix macOS CI

The macOS CI was broken since OT_FIREWALL was set to ON all the time.
See the test results with latest HEAD of openthread main branch: https://github.com/openthread/ot-br-posix/pull/1194.

I pushed this branch by mistake. I've created https://github.com/openthread/ot-br-posix/pull/1196 which should be the actual PR being merged. I'll close the current PR(https://github.com/openthread/ot-br-posix/pull/1195) when CI run completes.

Superseded by #1196


infra: move requirements to a pyproject file and set up hatch env

[ DO NOT MERGE ] - this is used for discussion currently
Issue #, if available:
Description of changes:
This pyproject file uses hatch for management. With this, we can define testing environments  including the default one which is being used here. Currently, this is a sloppy implementation and generalizes for our use case. There are a few improvements to be done based on this:

style checks and linting
1.1 We can use ipynb specific linters. Still researching this to properly propose something.
Add a test env for using the requirements file. While we have great confidence around the dependencies working based around testing from the constrained dependencies defined in this file, it would provide better confidence if we also tested with those dependencies. This would be a script included and whether it is to be included in the test executions is a later question.
Updating the README for the new testing plan. Commands are slightly changed. For instance, hatch run test takes case of the dependency setup and utilizes the constraints in the pyproject file. A user can still run pip install -e . to install these dependencies if they wish to use other tools besides hatch.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This will use hatch as a trial of the tooling for Braket. This is a 2 way door and a follow up PR can be released to remove this should the case arise.


Set up base files

In this commit, we set up the base files based on Siew La's guide on YouTube and this article from V School.
We discussed how we should organise our mongoose models. Our models need to function as follow:

Base website should display all hotels.
Each hotel should to display all the rooms of various types (size).
Each room should display dates.
Each date should indicate if it's vacant.
Each user should be able to view which room he/she has booked.

Accidentally PR on main branch. Should be on dev branch.


Remove the (^+) operator for powNat

Fixes #91. Do I need to do the version bump now?

This definitely needs a major version bump, as it's an API break.

master now has fixes for the CI issues you're seeing @re-xyr - should work OK once you merge.

This should be ok to merge now.


GoogleAdsError never raised in v1

After the v1.0 update, a query with wrong arguments should expect the next error: Google::Ads::GoogleAds::Errors::GoogleAdsError
But it never raised and, instead, it raises a GRPC::InvalidArgument error.
Is this correct? Thanks.

I believe this is fixed now. It was an error with the logging interceptor.

I just checked again and it's still happening

A month later and the same problem continues...


SteamGuard-Code Input (empty)

To avoid problems with SteamGuard I would recommend to jump to next step if you put in empty SteamGuard-Code (just press enter)  and abort logon-attempt or retry later. Sometimes I didn´t got any SteamGuard-Mail for no reason and then I had to press enter and the empty code been send to steam. I think this also counts as failed login-attempt and can cause being blocked by steam. Here I just want to lower the risk of being banned for an hour or more.
Additionally w/o checking it - remove of all whitespace-characters (trim) SG-Code-Input. Most of the time I copy SG-Codes theres a space at the end of the string and I have to remove it by myself. But maybe Steam removes this whitespace by themselves - dunno.

This is actually not possible because regardless of what steamguard code you enter, flow is then continued to OnDisconnected() callback, which initiates reconnecting through SteamClient.Connect().
Connect -> OnDisconnected -> Login -> OnLoggedOn -> EResult.AccountLogonDenied -> OnDisconnected -> Connect...
This doesn't work like typical steam client, we actually initiate second Login, just with same steam client so code is not being sent twice. The only thing I could do is spawning totally new steam client if your AuthCode is empty, but then again, it doesn't fix your situation in any way, as new client will once again try to login, get AccountLogonDenied, then do it twice. You're not saving a request here.
Trimming sounds like a good idea.


TPC-H Query 21

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11534
Fails with error:
Error: NotImplemented("Unsupported compound identifier '["l1", "l_suppkey"]'")

Latest failure:
Error: NotImplemented("Physical plan does not support logical expression EXISTS (Subquery: Projection: #l2.l_orderkey, #l2.l_partkey, #l2.l_suppkey, #l2.l_linenumber, #l2.l_quantity, #l2.l_extendedprice, #l2.l_discount, #l2.l_tax, #l2.l_returnflag, #l2.l_linestatus, #l2.l_shipdate, #l2.l_commitdate, #l2.l_receiptdate, #l2.l_shipinstruct, #l2.l_shipmode, #l2.l_comment\n  Filter: #l2.l_orderkey = #l1.l_orderkey AND #l2.l_suppkey != #l1.l_suppkey\n    SubqueryAlias: l2\n      TableScan: lineitem projection=None)")

Possibly fixed in https://github.com/apache/arrow-datafusion/pull/2451

Fixed in this branch:
| 122819     | 7888881.02         |
| 154731     | 7888301.33         |
| 101674     | 7879324.6          |
| 51968      | 7879102.21         |
| 72073      | 7877736.11         |
| 5182       | 7874521.7299999995 |
+------------+--------------------+
Query 11 iteration 0 took 5595.7 ms and returned 1048 rows
Query 11 avg time: 5595.66 ms

postgres:
|25891     |7890511.2         |
|122819    |7888881.02        |
|154731    |7888301.33        |
|101674    |7879324.6         |
|51968     |7879102.21        |
|72073     |7877736.11        |
|5182      |7874521.7299999995|
+----------+------------------+

This is the final subquery fixed. Dependent on #2843 . Fixed in this branch:
datafusion:
| Supplier#000003834 | 4       |
| Supplier#000005998 | 4       |
| Supplier#000009721 | 4       |
| Supplier#000006684 | 3       |
| Supplier#000007656 | 3       |
| Supplier#000008136 | 3       |
+--------------------+---------+
Query 21 iteration 0 took 161136.2 ms and returned 411 rows
Query 21 avg time: 161136.18 ms

postgres:
|Supplier#000003834|4      |
|Supplier#000005998|4      |
|Supplier#000009721|4      |
|Supplier#000006684|3      |
|Supplier#000007656|3      |
|Supplier#000008136|3      |
+------------------+-------+

PR for all the subquery fixes inbound shortly :partying_face:


Consider defering endpoint plug to container start

Its my understanding that in libnetwork, creating an endpoint calls the underlying driver, where IPs are likely to be allocated, advertised, routed etc.  In our PoC implementation, we found it useful to defer this action to container start; ie non-running containers would not have "plugged" interfaces.  This allows network drivers to not advertise these containers, allows them to potentially reuse IP addresses, and generally makes all the allocation decisions lazy.
Does this sound like a reasonable ask?  I am happy to prepare code for this.  I'd envisage there being a Plug and Unplug method in the Endpoint interface, and having these return the SandboxInfo struct instead of Network.CreateEndpoint.

@tomwilkie Thanks for bringing it up. With the CNM design we wanted to decouple network management from container lifecycle management. IOW, we wanted the network resources like endpoints to have independent lifetime compared to containers themselves so even when a container restarts when it comes back and uses the same endpoint it is guaranteed to get the same set of resources. From what we have seen in the docker user community they would prefer much to see the same resources provided to the container every time it restarts.
This all works in a nice way with the current api. If we introduce the Plug/Unplug methods then we tie in endpoint resources to container lifecycle and different drivers will start behaving differently for these methods and the user experience is going to differ based on those. So in effect the time window between endpoint creation and container start (which would not be that much) is to be considered as the same case as the time when container is down i.e container is down but endpoint is available.
Does that make sense?

@mrjana Thanks for getting back to me!  I can understand that you want networks & endpoint instances to have a separate lifecycle to containers; I agree with this.
Conflating the lifecycle of network & endpoint instances with the resources associated with these instances is risky; you are mandating a particular behaviour for network providers beneath your nice, abstract interface.   You are risking introducing limits beyond what is obvious - for instance, assuming a network has a limited number of available IPs (most I've seen do) you are forcing the total number of containers to match these limits (not the total number of running containers).
I guess a potential reason for perceiving this method as preferred by the docker user community is due to the lack of built in name resolution - not a problem with the Weave Network (and others).  If our plugin is forced to allocate IPs and names on container creation, without an appropriate hook for container start and stop, our distributed DNS will be forced to contain stale entries or work around this plugin interface.
As you recognise, introducing a Plug method (and returning a SandboxInfo) would leave the decision about the lifecycle of resources to the plugin; I think you need to accept and encourage different plugins implementing the interface differently.
I don't think it's safe to assume the time window between endpoint creation and container start will be small; it's a perfectly reasonable usecase to have lots of non-running containers sitting around.  Users will be more used to resources being bound to containers when they are run - this is how DHCP and volumes attachments (LUNs) work with physical and virtual machines.
If the concern is that allocating the resources could be an expensive operation, the cost of which you do not wish to incur on container start, then my proposed modification still allows for plugins to cache and reuse these resources to amortise the cost of a Plug operation.
TLDR different network plugins will want to manage their resources differently; this should be embraced and encouraged, and we shouldn't assume at this stage to be able to envisage all potential implementations.

Is it more a question of when CreateEndpoint() hook is called? I am thinking if it is called before the container starts (when the container's network namespace is created) it shall be good enough. Likewise DeleteEndpoint() can be called just before the container's network namespace is deleted.
Or do we really need two separate hooks one for container create and one for start and likewise for stop and delete. I can't think of much that a network driver can do as part of container create and delete when the namespace doesn't even exists.

This was taken care of as part of the libnetwork/docker integration and is documented in https://github.com/docker/libnetwork/blob/master/docs/design.md


ALconset.jl required

Hi,
The ALconset.jl file was removed from TrajectoryOptimization, to be added to Altro (according to this commit), but no changes were made to Altro and it errors when it tries to import ALconset from TrajectoryOptimization. Is there a commit in progress to fix this?

Yes, this is a WIP. It's working on a branch right now but hasn't been merged to master yet. You can always specify the previous version of TrajectoryOptimization that included that file.

Ok, thanks.


Add border colors, border styles, border widths, border radiuses.

🔲

@NickCiliak definitely better. I would take things a step further to something like border-bottom => .bb which seems akin to margin-bottom => .mb


Falco 0.36.2 BPF probe for driver.kind fails in Kubernetes clusters with permission denied error

Describe the bug
After upgrading the Falco base image from 0.35.1 to 0.36.2, the bpf probe for the driver.kind started failing in Kubernetes clusters. The new version works in a VM environment. The following error was encountered: Error: failure populating program array: Operation not permitted. Is there a need for Falco pod to run with high privelage security context from 0.36.2?
Complete Log from the falco pod:
2023/12/06 20:49:25 Command [/falco-coapp] with parameters [[]] started with PID: 13
2023/12/06 20:49:25 Command [/usr/bin/falco] with parameters [[]] started with PID: 14
Wed Dec  6 20:49:25 2023: 'output.rate' config is deprecated and it will be removed in Falco 0.37
2023-12-06T20:49:25+0000: Falco version: 0.36.2 (aarch64)
2023-12-06T20:49:25+0000: Falco initialized with configuration file: /etc/falco/falco.yaml
2023-12-06T20:49:25+0000: Loading rules from file /etc/falco/falco_heartbeat_rules.yaml
2023-12-06T20:49:25+0000: The chosen syscall buffer dimension is: 8388608 bytes (8 MBs)
2023-12-06T20:49:25+0000: Loaded event sources: syscall
2023-12-06T20:49:25+0000: Enabled event sources: syscall
2023-12-06T20:49:25+0000: Opening 'syscall' source with BPF probe. BPF probe path: /root/.falco/falco-bpf.o
2023-12-06T20:49:25+0000: An error occurred in an event source, forcing termination...
Events detected: 0
Rule counts by severity:
Triggered rules by rule name:
Error: failure populating program array: Operation not permitted
2023/12/06 20:49:25 Wait for command [/usr/bin/falco] failed; Error: exit status 1
falco exited

Expecting Falco to startup as it used to be working for 0.35.1 version. Tried to run the 0.36.2 image in the vm set up to make sure it is not something wrong with my configurations in Falco.
How to reproduce it
Upgrade the deployment from 0.35.1 to 0.36.2
Expected behaviour
Events should start appearing.

Falco version:
0.36.2
System info:

* Filename 'falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o' is composed of:
 - driver name: falco
 - target identifier: amazonlinux2
 - kernel release: 5.10.184-175.749.amzn2.aarch64
 - kernel version: 1
* Trying to download a prebuilt eBPF probe from https://download.falco.org/driver/5.0.1%2Bdriver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o
* Skipping compilation, eBPF probe is already present in /root/.falco/5.0.1+driver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o
# Please edit the object below. Lines beginning with a '#' will be ignored,
* eBPF probe located in /root/.falco/5.0.1+driver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o
* Success: eBPF probe symlinked to /root/.falco/falco-bpf.o

Additional context
Running the 0.36.2 image in a QEMU cloud VM works fine, but in Kubernetes clusters, pods go into a crash loop due to permission denied. Is there a new set of requirements for Falco ebpf probe on the 0.36.2 version?

ei @navaneeth-c the issue is in the log you posted
* Filename 'falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o' is composed of:
 - driver name: falco
 - target identifier: amazonlinux2
 - kernel release: 5.10.184-175.749.amzn2.aarch64
 - kernel version: 1
* Trying to download a prebuilt eBPF probe from https://download.falco.org/driver/5.0.1%2Bdriver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o
* Skipping compilation, eBPF probe is already present in /root/.falco/5.0.1+driver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o
# Please edit the object below. Lines beginning with a '#' will be ignored,
* eBPF probe located in /root/.falco/5.0.1+driver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o
* Success: eBPF probe symlinked to /root/.falco/falco-bpf.o

More in detail, in this line
* Skipping compilation, eBPF probe is already present in /root/.falco/5.0.1+driver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o

Falco 0.36.2 requires a driver version 6.0.1+driver but on your node you have an old driver version 5.0.1+driver.
My suggestion is to try a clean build removing the old artifact /root/.falco/5.0.1+driver/aarch64/falco_amazonlinux2_5.10.184-175.749.amzn2.aarch64_1.o or to use directly the modern-bpf driver, it is bundled inside Falco so you can get rid of all these issues of downloading artifacts

any update?

@Andreagit97 , The issue was due to the driver version as you mentioned above. Thank you for the help. I updated the driver and it works now.


About shuffle_orders

I've observed that shuffle_orders are enabled during both training and testing. However, during testing, torch.randperm generates different results each time inference is performed, which could lead to inconsistent inference results for the same sample across different runs. Could you please clarify this? Thanks a lot!

Hi, it doesn't matter as it won't be a huge difference. The model already learns to fit the different patterns of serialization. You can fix the order during the inference phase if you care about consistency.

Thanks a lot.


crash on ios 10 ( 10.3.3) after dismissing view

On ios 10 ( 10.3.3) app crashes with logs:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x1048e8c00 of class UITableView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x17443a540> (
<NSKeyValueObservance 0x17484c7b0: Observer: 0x1728779c0, Key path: contentOffset, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x17484c720>
<NSKeyValueObservance 0x17484ca50: Observer: 0x174c6d200, Key path: contentSize, Options: <New: NO, Old: NO, Prior: NO> Context: 0x0, Property: 0x17484c990>
)'
Issue is fixed by removing KRPullLoadView in viewWillDisappear, but for clean code will be better to fix this issue from library side
Thank you

@daryachuiko
Whether #8 is not helpful to you?

@krimpedance, it's fix the issue, so will you something do with this issue from your side ?

@daryachuiko
I will investigate.

fixed in 1.1.3


Typescript definition

Hi, thanks for the library, it's small but neat and does exactly what is needed.
Would you consider creating the TypeScript definition ?
Thanks
Tom

Almost one year later, we added it :sparkles:


How can we send a file like image, video in bot builder 4 using waterfallstepcontext

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/botframework
[question]

Hi @Anu0763
The WaterfallStepContext has a Context property that is the TurnContext.  The TurnContext has a SendActivityAsync method.  Creating an image Attachment, and adding it to the reply's attachments can be done in C# with code like this:
private async Task<DialogTurnResult> StepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
{
  var turnContext = stepContext.Context;
  var activity = turnContext.Activity;
  var reply = activity.CreateReply();
  reply.Text = "This is an attachment.";

  // Inline attached image
  var imagePath = Path.Combine(Environment.CurrentDirectory, @"Resources\architecture-resize.png");
  var imageData = Convert.ToBase64String(File.ReadAllBytes(imagePath));
  var attachment = new Attachment
  {
    Name = @"Resources\architecture-resize.png",
    ContentType = "image/png",
    ContentUrl = $"data:image/png;base64,{imageData}",
  };
  reply.Attachments = new List<Attachment>() { attachment };

  // Or, an Internet url attachment
  var urlAttachment = new Attachment
  {
    Name = @"Resources\architecture-resize.png",
    ContentType = "image/png",
    ContentUrl = "https://docs.microsoft.com/en-us/bot-framework/media/how-it-works/architecture-resize.png",
  };
  reply.Attachments = new List<Attachment>() { attachment };

  await turnContext.SendActivityAsync(reply);

More information can be found here


Unrecognized Character issue in brain JS training and output

I'm using brain JS for predicting some data using 'recurrent LSTM'. I'm using nodeJS,express as the interface to train it and predict output.
Here is some basic training data :
var net = new brain.recurrent.LSTM();
net.train([
      { input: 'I feel great about the world!', output: 'happy' },
      { input: 'The world is a terrible place!', output: 'sad' },
]);

Training Part :
app.get('/learn', function(req, res) {
    var params = req.query;
    if( params.str !== '' )
    {
        net.train([
            { input: params.str, output: params.output }
        ]);
        res.send('Training Done');
    }
    else{
        res.send('Nothing to train');
    }
});

Output :
app.get('/predict', function(req, res) {
    var params = req.query;
    if( params.str !== '' )
    {
        var output = net.run(params.str);  // 'happy'
        res.send(output);
    }
    else{
        res.send('Nothing to predict');
    }
});

Now the issue appears when I'm using any of the following letters anywhere in the string for training or for prediction.
j k m n q v x z
Exact error String :
Error: unrecognized character "q"
    at DataFormatter.toIndexes (/var/www/html/brainjs/node_modules/brain.js/dist/utilities/data-formatter.js:85:17)
    at DataFormatter.toIndexesInputOutput (/var/www/html/brainjs/node_modules/brain.js/dist/utilities/data-formatter.js:101:23)
    at LSTM.formatDataIn (/var/www/html/brainjs/node_modules/brain.js/dist/recurrent/rnn.js:766:35)
    at LSTM.run (/var/www/html/brainjs/node_modules/brain.js/dist/recurrent/rnn.js:378:24)
    at /var/www/html/brainjs/index.js:56:23
    at Layer.handle [as handle_request] (/var/www/html/brainjs/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/www/html/brainjs/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/var/www/html/brainjs/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/var/www/html/brainjs/node_modules/express/lib/router/layer.js:95:5)
    at /var/www/html/brainjs/node_modules/express/lib/router/index.js:281:22

This is known issue, a fix is in progress. More info: https://github.com/BrainJS/brain.js/issues/217

Fixed in: https://github.com/BrainJS/brain.js/pull/241

Try again and let us know if our fix didn't resolve it.  Ty again for helping us help you.

Thanks a lot @mubaidr @robertleeplummerjr  .
I tested, the issue has been resolved.


[submodule] Update SAI submodule to origin/master

To include
[test] Refactor saithriftv2 Makefile
https://github.com/opencomputeproject/SAI/commit/4f39bd

@chrispsommers please review and if good to go please merge

@kcudnik Does this pave the way to resolve https://github.com/sonic-net/DASH/issues/395 ? In particular, does sai-thrift still require sai meta code inside vendor libsai?

@kcudnik Does this pave the way to resolve #395 ? In particular, does sai-thrift still require sai meta code inside vendor libsai?

No, currently saimetadata*.o objects are compiled into libsai.so (from dash)
for example: in ~/SAI/test/saithriftv2/Makefile you can se saimetadata lib added when saivs is compiled
 40 ifeq ($(platform),vs)
 41 LIBS = -lthrift -lpthread -lsaivs -lsaimeta -lsaimetadata -lzmq
 42 else
 43 LIBS = -lthrift -lpthread -lsai
 44 endif

so currently that libsai.so from DASH trhift will require that metadata, i have PR almost ready that will simplify this, Makefile DASH/dash-pipeline/SAI/templates/Makefile.j2, and metadata function sai_metadata_get_attr_metadata is required from SAI/meta/sai_rpc_frontend.cpp, since they need to get a attribute type to properly convert sai_attribute to sai_thrift_attribute, and this is manually created file, not sure if any other things could be used in the future in rpc frontend
currently im compiling saimetadata into libsai.so to make it link correctly, but if it's planned to use other libsai than generated from DASH, then we can update SAI/SAI/test/saithriftv2/Makefile to store those metadata objects in that librpcserver.a archive

since many different parties are using or will use some part of saimetadata, i propose to make libsaimetadata.so and share it everywhere instead to linking objects in each project, deal later with duplicate references, and make size increase of each file, libsaimetadata.so can be already generated by SAI repo latest commit :)
please take a look at further improvements: https://github.com/sonic-net/DASH/pull/432


Create a proper warning system for the UI

Issue description
Describe your issue in detail here
Implement a external warning system with a globally callable warning function and queue of warnings that will be shown to the user.
Approach would be to have a class-composable (singleton) that implements a warning queue (array) where messages get stored and according methods for message push and message delete.
This also includes the (prominent) displaying of the messages to the user. They should be able to remove the warnings by clicking on them.
Definition Of Ready (DoR)
This issue can be worked on if

[ ] a developer is assigned
[x] the issue is labeled
[ ] the issue is assigned to the current sprint
[x] the issue is estimated
[x] a meaningful title has been set
[x] the issue is described in detail

I will provide some help with this


feat(batcher): abort when resetting the height, and fail if height already in progress

This change is

[!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

#2063  👈
#2060
main

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

Join @dafnamatsry and the rest of your teammates on  Graphite

Merge activity

Nov 17, 8:01 AM EST: A user started a stack merge that includes this pull request via Graphite.


Help - locate which pin corresponds to non-functioning key column

Hi,
Many thanks for this wonderful design!
I've bought a Falba wired Redox board (the recent version that comes with hotswap), and after a short while one column of keys (the 5 keys circled in blue in the attached screenshot) has stopped working. All other keys work just fine.

I suspect this is due to a bad joint or something equivalent on a pin of the microcontroller.

Being completely new to microelectronics in general, could someone confirm this hypothesis?
I am trying to figure out which pin it is. According to the Redox PCB schematic, I suspect my disfunctioning column is col6, and therefore the bad joint must be on pin 10. Am I right? Or could there be a bad joint elsewhere as well?

Thank you

Hi,
all your assumptions are correct. If you want to be extra sure you can use a multimeter to check continuity. Hope this helps


Modify the circuits files to include js-sdk dependencies instead of relative paths

Describe the bug
Invalid references to '../utils' and '../verifiable' types from the circuits files
To Reproduce
Steps to reproduce the behavior:

Download circuits & unzip them

Expected behavior
Expected to have references to js-sdk '@0xpolygonid/js-sdk/dist/types/utils'

Screenshots
If applicable, add screenshots to help explain your problem.
** Environment info (please complete the following information):**

OS version [e.g. Mac OS]
Node version: [e.g. 18.16]
Browser [e.g. chrome, safari]
Package version [e.g. 1.0.0]
Build [e.g. umd, cjs]

Additional context
Add any other context about the problem here.

There is no such files in circuits folder in this repo,
please try to reinstall node modules and remove circuits folder and download/unzip again.


completion-at-point

I wonder if it's possible to use selectrum for completion-at-point? It's pretty much "magically" took over all selection inputs, except this one: it shows a new buffer with completion-list-mode.

I agree, that default interface looks pretty icky (I had never used completion-at-point before). Should be not too hard to implement.

Try this in my (currently private) package ;)
(defun citre-completion-in-region (start end collection &optional predicate)
  "A function that replace default `completion-in-region-function'.
This completes the text between START and END using COLLECTION.
PREDICATE says when to exit.

When there are multiple candidates, this uses standard
`completing-read' interface, while the default one in Emacs pops
a *Completions* buffer to show them.  When combined with some
minibuffer completion framework, it's more user-friendly then the
default one.

Notice when `completing-read-function' is
`completing-read-default' (i.e., not enhanced by a minibuffer
completion framework), this falls back to
`completion--in-region'."
  (if (eq completing-read-function #'completing-read-default)
      (completion--in-region start end collection predicate)
    (let* ((str (buffer-substring-no-properties start end))
           (completion-ignore-case (string= str (downcase str)))
           (candidates
            (nconc
             (completion-all-completions str collection predicate (- end start))
             nil))
           (completion nil))
      (pcase (length candidates)
        (0 (message "No completions"))
        (1 (setq completion (car candidates)))
        (_ (setq completion (completing-read (format "(%s): " str)
                                             candidates predicate t))))
      (when completion
        (delete-region start end)
        (insert (substring-no-properties completion))))))

and set completion-in-region-function to it.

@AmaiKinono Would you be alright with my making some amendments and then including a version of your code in Selectrum?

Of course ;) Please do it.
And, I have some suggestions. A completion-at-point-function backend can have an :annotation-function property in its return value. The default completion--in-region uses it to display an annotation for each candidate. I didn't look into how it handles this. And, if you look into the code of elisp-completion-at-point, you'll see it offers some extension properties that's useful for company-capf. I think it would be good if selectrum could make use of :annotation-function and :company-docsig. We can use a prefix and a right-margin text to display them.

I haven't implemented any extensions at this time, but would be happy to see a pull request.

I feel like ya'll were reading my mind. I went through the pain of setting up Company so I could use completions from LSP without the terrible default completion framework...this is all I wanted, to select completions using Selectrum.
Thank you! 😍

This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :)


scan_nd will not make heatmaps for two dimensional scans with Best Effort Callback

Expected Behavior

Both outer and inner product scans should give us the same BestEffortCallback
Current Behavior

If you run grid_scan with two motors and BestEffortCallback we get two very nice heatmaps. Using the multi-axis syntax for scan does not  produce the same result. This is unfortunate as I want these plots but for an "inner product" instead of a grid.
Possible Solution

The hints that are in grid_scan that alert BestEffortCallback should be added to the base scan_nd.

The hints in grid scan tell us that it is a grid that we can stuff into a nice heat map.  We use dead reckoning based on the sequence number to know how to fill in the heat map (which maybe should changed?), but in general we don't know enough about a nd scan to know how to fill in a heat map.

We have discussed changing this to allow square-spiral plans to also work with grid_scans by allowing rasters that have non-trivial orderings(bluesky issue 1003). This may also help with this issue.

Naive question.  Does this requested change prohibit having scan_nd() output 1D plots in LivePlot?  Can the default remain 1D?

@coretl this sounds relevant to scanspec, right? does scanspec solve this already?


Fixed spelling mistakes

I'm sure you'll tell me that "arguements" is a valid spelling of "arguments" but I could only find one source that even listed it as something other than a mispelling and it was listed as an "Obsolete form of argument".

Closing this as it was fixed during other changes.


Change the License for static linking

LGPL isn't the best for static linking. This is a proposal to switch to a more appropriate permissive license.
Which one do people recommend? I suggest MIT but IANAL. An other alternative is to explicitly add an exception about static linking, like GNU Guile does.
https://en.wikipedia.org/wiki/GPL_linking_exception

MIT or BSD sounds ideal, most other Rust projects seem to do MIT / Apache but I'm not seeing the point in having Apache there as it only adds restrictions on top of MIT.
Guile is GPL with linking exception, no? That's basically LGPL then. Or can you link to a license text for clarification? Main problem with this approach is that it's a "new" license, not a well known one.

I also prefer MIT.
No need to discuss the Guile license if we agree on MIT. I think that explicit exceptions aren't that good because it requires people reading the license text instead of automatically knowing by looking at the license name.

Apache2 has stricter terms but includes a patent grant / retaliation clause, which is nice. So going with MIT and that makes sense, either you get just the code, or you get more restrictions but patent grant
Apache2 only makes no sense due to (L)GPL 2 incompatibilities (v3 is fine).

Basically, AFAIU, it requires everybody contributing code, do also give you the right to use their patents involving that code. Which might not be nice for some people, but I think it makes sense. AFAIU it does not apply to any code you built upon unless you also distribute it under the terms of the Apache2 license, which you don't have to.

It does make sense.
But I am wondering if companies would be scared of Apache2, because of the risk of patent leaks.

Android is Apache2, so companies apparently don't worry. It's also not requiring that modifications to the existing code are to be released under the same license, only that the original code must be.

I'm fine with the Apache2/MIT solution. It removes all fears.
Unfortunately it means changes on-top of the shared code don't have to be contributed back, but that is a worthy sacrifice.

Great, so we only need @suhr to agree for completeness (see https://github.com/sdroege/rsplugin/pull/6)

Sure, you can change it.

@sdroege if you want I can send you a pull request that changes the COPYING file to be the Apache2 license, plus the header of all the .rs/.c files.


v0.1.0.dev2 - naming change, code improvement

naming change: LinearFittingObjective->LinearObjective, LinearFittingFwd->LinearForward, design_matrix->basis_matrix, calc_design_matrix->basis_function
code improvement: attempt to increase pylint rate a bit
added readthedocs.yaml
version bumped to 0.1.0.dev2

Codecov Report

Merging #12 (e49429c) into main (9604895) will decrease coverage by 0.06%.
The diff coverage is 98.97%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   91.85%   91.78%   -0.07%
==========================================
  Files          32       32
  Lines        1473     1485      +12
==========================================
+ Hits         1353     1363      +10
- Misses        120      122       +2

Impacted Files
Coverage Δ

cofi/_version.py
100.00% <ø> (ø)

cofi/__init__.py
86.66% <75.00%> (-13.34%)
:arrow_down:

cofi/base_forward.py
100.00% <100.00%> (ø)

cofi/base_objective.py
100.00% <100.00%> (ø)

cofi/base_solver.py
100.00% <100.00%> (ø)

cofi/cofi_objective/__init__.py
100.00% <100.00%> (ø)

cofi/cofi_objective/exponential_decay.py
100.00% <100.00%> (ø)

cofi/cofi_objective/rfc.py
100.00% <100.00%> (ø)

cofi/cofi_objective/tests/test_exp_decay.py
100.00% <100.00%> (ø)

cofi/cofi_objective/tests/test_rfc.py
100.00% <100.00%> (ø)

... and 17 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 2273466...e49429c. Read the comment docs.


Add method with a dictionary of cumulative br counts

This is a nice, simple PR that just adds the ability to output the number of comparisons generated by each BR entered by the user, as a dictionary rather than a chart.
This should be useful for outputting the total number of comparisons about to be generated from within the custom logger in our internal pipelines.
So:
from splink.duckdb.duckdb_linker import DuckDBLinker
import pandas as pd

from tests.basic_settings import get_settings_dict

df = pd.read_csv("./tests/datasets/fake_1000_from_splink_demos.csv")

settings = get_settings_dict()

br = [
    "l.surname = r.surname",
    "l.dob = r.dob",
    "l.first_name = r.first_name",
]
settings["blocking_rules_to_generate_predictions"] = br

linker = DuckDBLinker(
    df,
    settings,
)

linker.cumulative_comparisons_from_blocking_rules_records()

Can now be used to create:

To check:
I've added this to its own method, but that's arguably overkill.
The logic for adding this to its own area is to allow me to give each method its own distinct name.
However, this method might be niche enough that it makes more sense to simply add an output_chart argument to (the existing method)[https://github.com/moj-analytical-services/splink/blob/master/splink/linker.py#L2011] and leave it as that.
Do you have an opinion?

just one note on docstring, but aside from that all good to merge


Improve hiding autocomplete in edit view

Currently only ESC closes.
Clicking arrow or anywhere outside the textfield should close autocomplete

Not relevant since WPF redesign.


Missing conf node

I know this is not maintained anymore, but why did my stuff just disappear from Node Red? I cannot run some of my flows because there is no longer an alexa-home-conf node. Can anyone help? (Or point me to how I can trigger Node Red flows with alexa now)

I'm not sure what else I can supply.  I loaded my flows this morning and got an error message saying "Flows stopped, missing node..." and all of my alexa-home-conf nodes were gone.  They are greyed out in my palette as well.

Still not enough information to work with, but you have at least supplied a hint (as in the actual error message rather than your attempt at interpreting it....)
Provide the Node-RED start up console log.
But best guess is that as some point you have installed another Alexa based node that has a name clash (assuming it is just the config node that is missing). Or you have changed something, e.g. NodeJS version, moved you userDir (which would lose all your 3rd party installed nodes)

See how the -conf is greyed out?  I cannot use that node in my flow.  It is what was missing this morning.

My biggest problem is that all flows have been stopped (node red essentially isn't running) because the config node is missing and I can't delete from the palette because it's "in use."  can anyone at least help me get rid of the whole alexa node?

Please tell me where to find the logs you'd like

No idea, you've not supplied any information about how you are running Node-RED.

OK...here is what I know.  I'm sorry that I'm just an end user and not familiar with the inner workings.  I have HA running on HA  Blue (ODROID).  I  installed Node Red via HACS.  What else can I tell you that will be helpful?

Those images don't tell me anything new, as I mentioned, I need the Node-RED console log from when it starts.
I don't use HA at all, so you will need to talk to the people that build the Node-RED HA plugin and get them to tell you where the log are.

Are you able to tell me how to remove this from my palette?

@bkr1969 This has been part of the release notes of the Home Assistant Node-RED add-on, which warns of this breaking change:
https://github.com/hassio-addons/addon-node-red/releases/tag/v12.0.0
This node is no longer built-in by default. You can, however, as per releas notes, install them manually. Add it to the add-on configuration in that case.
@hardillb Sorry for the noise, even though this was described as a breaking change (and released as a major version number) this has been missed by the issue author.
../Frenck


List of branches when creating PR is truncated after a set amount

Extension version: v0.34.3
VSCode Version: 1.63.0
OS: OS X (but using a codespace with 18.04.1-Ubuntu SMP x86_64 GNU/Linux)

Steps to Reproduce:

Try to create a PR against a repo with many branches. At some point the list is truncated.
See screenshots below:

Trying to get to master branch:

The list is truncated past this point. It only gets to lowercase c in the listing before you can no longer scroll for more branch options. This prevents you from creating a PR against master using only the extension.

There's a feature request for this at #2840. I started working on it in July, but I got distracted and now it's January 😅. I'll pick it back up this week


Added request type feature.

Added the option for the user to select what type of request it should make to keep alive.

Thanks!

No Problem :D


Reduce size of binaries by up to 10%

This PR allows the size vs perf optimisation level to be set per dependency.
There's no change (-O3) for vips, gif, orc, webp, spng, png16, jpeg, heif, lcms2, zlib, aom; everything else is optimised for size (-Os). This accounts for 7-9% reduction in binary size.
For Linux, it adds flags that allows the linker to remove unused sections (unsupported by cairo). This accounts for 1% reduction in binary size.
For Linux x64, it sets a minimum CPU requirement of Westmere (circa 2010) or later. This allows gcc to use CLMUL intrinsics, which helps improve zlib (de)compression performance (whilst we wait for zlib-ng).
@kleisauke Is there anything you think could be added/improved? Perhaps this approach might be something to consider for the Windows builds too?

Thanks Kleis, great feedback.
It's interesting you saw a size increase with the use of --gc-sections when cross-compiling. I saw a decrease with the native builds but didn't look so closely at the ARM targets so will double-check those now.
I meant to add in the original description that the aom CMakeLists.txt suggests it follows the CMAKE_BUILD_TYPE convention where the default is -O3 unless you specify MinSizeRel to imply -Os, but we should check this too.
Happy to switch to a dav1d+rav1e combo if we can get it working on all platforms - let's do that in a separate PR.

I verified the cross-compiled ARM binaries and they are smaller with --gc-sections.

It's interesting you saw a size increase with the use of --gc-sections when cross-compiling.

Support for --gc-sections on PE/COFF binaries was landed in binutils 2.26, and at the time I was testing with 2.28 (which is already quite old). I'll do some testing with the latest binutils version, perhaps that could help.

I meant to add in the original description that the aom CMakeLists.txt suggests it follows the CMAKE_BUILD_TYPE convention where the default is -O3 unless you specify MinSizeRel to imply -Os, but we should check this too.

It seems that the -O3 compiler flag in aom is forced for Emscripten only. I think CMake always follows the CFLAGS environment variable, unless the CMAKE_C_FLAGS variable is explicitly defined.

Thanks, let's go for dav1d and rav1e to replace aom.
I spotted a new strip feature in cargo nightly/unstable that will soon help reduce the size of rust-based dependencies.
https://doc.rust-lang.org/cargo/reference/unstable.html#profile-strip-option
export CARGO_PROFILE_RELEASE_STREAM=symbols

Here's a size comparison for the Windows binaries using different toolchains and different flags.
 On the other hand, LLVM works well here, so we might consider switching to this toolchain for building the Windows binaries.
/cc @mstorsjo as he might be interested in this comparison.

@kleisauke Great research, thank you, I agree with switching in this case. I wonder what LLVM with gc was able to do that almost halved the size of libvips-cpp-42.dll? Perhaps it's better at breaking source files up into smaller compilation units?


Supporting project for everyone who wants to work with multi-agent-emergence-environments

Hello, everyone! If you are interested in developing your own projects with the multi-agent-emergence-environments by OpenAI but is having a hard time wrapping your head around the existing code (like I did myself for at least a couple of weeks!), please feel free to take a look at a project I developed at ETH Zürich using multi-agent-emergence-environments. It is called "Cooperation Learning for multi-agent systems", and you can find its repository at https://github.com/leonardovvla/multi-agent-cooperation-learning. Hope it can be helpful to at least some of you! All the best!

Hello, everyone! If you are interested in developing your own projects with the multi-agent-emergence-environments by OpenAI but is having a hard time wrapping your head around the existing code (like I did myself for at least a couple of weeks!), please feel free to take a look at a project I developed at ETH Zürich using multi-agent-emergence-environments. It is called "Cooperation Learning for multi-agent systems", and you can find its repository at https://github.com/leonardovvla/multi-agent-cooperation-learning. Hope it can be helpful to at least some of you! All the best!

There are missing dependencies like spinup.utils.test_policy_ppo as well as MKSB when using MKSB.make_env('MKSB') which make your project unusable.


Inform user when files cannot be moved or excluded.

What's the Problem?
when cutting/pasting files that are open in other programs, the app says that the files were moved, but not.
Solution/Idea
tell me which files cannot be moved/excluded and in which program the file is open.
Alternatives
tell me which files cannot be moved/excluded and in which program the file is open.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
2.0.34
Windows Version
windows 10 home 64 bits 21h1
Additional comment
https://user-images.githubusercontent.com/90144967/142458498-b8076192-c6cf-46fd-b070-a1931354d4b9.mp4

??

This is more of a bug than a feature request imo.
I encountered a similar issue when trying to move protected operating system files. Instead of informing me there isn't permission to move the file it just did nothing.
Ideally a future update would request admin perms or at least inform the user the operation couldn't be completed.

Merging with #1681 and #8572


Implicit semicolons get attributed to the following line

This is a followup to #177.
After replacing _semi with semi in the grammar, so that those nodes get displayed, running npx tree-sitter parse test.swift on
foo
bar;
baz

generates:
(source_file [0, 0] - [3, 0]
  (simple_identifier [0, 0] - [0, 3])
  (semi [1, 0] - [1, 0])
  (simple_identifier [1, 0] - [1, 3])
  (semi [1, 3] - [1, 4])
  (simple_identifier [2, 0] - [2, 3])
  (semi [3, 0] - [3, 0]))

The explicit semicolon after bar is attributed to the desired location, but the implicit ones are attributed to the following lines.

Following up on @alex-pinkus' comment in #177:

If we differentiated implicit vs explicit semicolons, would that maybe let us sidestep the problem (you could just avoid trying to match the implicit ones)?

Yeah, we could hack around this in Semgrep if needed. We could probably get away with ignoring semicolon locations altogether. But, it would certainly be simpler and more maintainable if semicolons were always on the same line as their associated statements.

Now that implicit vs explicit semicolons are differentiated, it's pretty straightforward to work around this in Semgrep, so I'm closing


Mic and chat

Put the mic and chat buttons I did in https://github.com/networked-aframe/naf-nametag-solidjs in this example, but with web components to show how to use those and for easy updates
See https://github.com/networked-aframe/networked-aframe/issues/423

I won't do web components for this repo, just syncing what I did in the other repo.


Build is stuck

Hi
i try to run this example. I use Gradle 4.0.1 and java 8 u131

Configure project :target.p2
p2AsMaven eclipse-deps is dirty.
Initalizing maven group eclipse-deps from p2
Only needs to be done once, future builds will be much faster
p2AsMaven eclipse-deps installing from p2
Buildfile: <...>\Temp\goomph-ant-build8459310540695597019.xml
[p2.mirror] SLF4J: Class path contains multiple SLF4J bindings.
[p2.mirror] SLF4J: Found binding in [jar:file:/<...>/.gradle/caches/4.0.1/generated-gradle-jars/gradle-api-4
.0.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[p2.mirror] SLF4J: Found binding in [jar:file:/C:/Gradle/lib/gradle-logging-4.0.1.jar!/org/slf4j/impl/StaticLoggerBinder
.class]
[p2.mirror] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[p2.mirror] SLF4J: Actual binding is of type [org.gradle.internal.logging.slf4j.OutputEventListenerBackedLoggerContext]
<=------------> 14% CONFIGURING [2m 26s]
root project

This seems to hang, it tried to run it for several minutes. No network activity either.

First run is pretty slow, needs to do a lot of bootstrapping.  12 minutes on my machine.  Steps I took:

Fresh clone on a macbook
gradlew jar
Succeeded 12 minutes later

ok, having now for 30min running, still no feedback, I leave it running ...
It would be helpful, to have some indicator about proper activity.

After 43min it finished with error:
c:\Temp\goomph-eclipse-plugin>gradle cleanIde ide
Starting a Gradle Daemon (subsequent builds will be faster)

Configure project :target.p2
p2AsMaven eclipse-deps is dirty.
Initalizing maven group eclipse-deps from p2
Only needs to be done once, future builds will be much faster
p2AsMaven eclipse-deps installing from p2
Buildfile: ...\Temp\goomph-ant-build4462108673686634566.xml
[p2.mirror] SLF4J: Class path contains multiple SLF4J bindings.
[p2.mirror] SLF4J: Found binding in [jar:file:/.../.gradle/caches/4.0.1/generated-gradle-jars/gradle-api-4
.0.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[p2.mirror] SLF4J: Found binding in [jar:file:/C:/Gradle/lib/gradle-logging-4.0.1.jar!/org/slf4j/impl/StaticLoggerBinder
.class]
[p2.mirror] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[p2.mirror] SLF4J: Actual binding is of type [org.gradle.internal.logging.slf4j.OutputEventListenerBackedLoggerContext]
[p2.mirror] Messages while mirroring artifact descriptors.
BUILD SUCCESSFUL

BUILD SUCCESSFUL
Total time: 41 minutes 53 seconds
p2AsMaven eclipse-deps creating runnable repo
p2AsMaven eclipse-deps creating maven repo
p2AsMaven eclipse-deps is complete.
Download https://plugins.gradle.org/m2/com/diffplug/gradle/spotless/spotless/1.3.3/spotless-1.3.3.pom
Download https://plugins.gradle.org/m2/com/diffplug/freshmark/freshmark/1.3.0/freshmark-1.3.0.pom
Download https://plugins.gradle.org/m2/com/diffplug/durian/durian/3.2.0/durian-3.2.0.pom
Download https://plugins.gradle.org/m2/args4j/args4j/2.32/args4j-2.32.pom
Download https://plugins.gradle.org/m2/com/diffplug/jscriptbox/jscriptbox/3.0.0/jscriptbox-3.0.0.pom
Download https://plugins.gradle.org/m2/args4j/args4j-site/2.32/args4j-site-2.32.pom
Download https://plugins.gradle.org/m2/org/kohsuke/pom/14/pom-14.pom
Download https://plugins.gradle.org/m2/com/diffplug/freshmark/freshmark/1.3.0/freshmark-1.3.0.jar
Download https://plugins.gradle.org/m2/com/diffplug/durian/durian/3.2.0/durian-3.2.0.jar
Download https://plugins.gradle.org/m2/com/diffplug/jscriptbox/jscriptbox/3.0.0/jscriptbox-3.0.0.jar
Download https://plugins.gradle.org/m2/args4j/args4j/2.32/args4j-2.32.jar
Download https://plugins.gradle.org/m2/com/diffplug/gradle/spotless/spotless/1.3.3/spotless-1.3.3.jar
FAILURE: Build failed with an exception.

What went wrong:
Task 'cleanIde' not found in root project 'goomph-eclipse-plugin'. Some candidates are: 'clean'.

Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info
or --debug option to get more log output.

BUILD FAILED in 43m 0s

It would be helpful, to have some indicator about proper activity.

Agreed!  Unfortunately the long waits are inside of eclipse utilities, so it's difficult for us to fix this inside of Goomph.

finished with error

Don't run cleanIde and ide in the same command.  Does that fix it?

The 'ide' does work.
The 'cleanIde' stops with error.


Mini moderation

This branch add the minimal desired stuff for allowing moderation. The branch has been already reviewed by @xvw so I suggest to merge it fast and to make a new deployment. Thanks
side: there is an huge boulvard of improvement concerning failaible wich is hard to use properly.

I'll merge and deploy when the CI is green. Thanks a lot.

~Very glad to see you're not drunk on a Saturday night~


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2551 ms

Resolved: Bofrost.at performance has improved in 2426a61.


Add a doc for AtomicLong implementation for web

A follow up to https://github.com/JetBrains/compose-multiplatform-core/pull/570

Ideally this class would be internal. But it's public in the upstream.


Stop showing progress bar on Debug

When Debug is turned on there should not be any progress bar

Fixed, will be available on the next release


Remote logging in gcs bucket dont working

What is the bug?
I set the login as remote but it's not working. As credentials, I mounted a volume on all pods with a json service account. I checked the pods and json is there. With this json I created a connection with gcp, but the remote logging is not working
*** Unable to read remote log from gs://xxxxxxxx/prd/anexador_validacao_telefone/truncate_phone_validation_pos_blacklist/2021-06-24T12:47:58.679891+00:00/1.log
*** 404 GET https://storage.googleapis.com/download/storage/v1/b/xxxxxxxxx/o/prd%2Fanexador_validacao_telefone%2Ftruncate_phone_validation_pos_blacklist%2F2021-06-24T12%3A47%3A58.679891%2B00%3A00%2F1.log?alt=media: No such object:
What are your Helm values?
Any relevant parts of your custom_values.yaml
airflow:
  legacyCommands: false

  image:
    repository: apache/airflow
    tag: 2.0.1-python3.8
    ## values: Always or IfNotPresent
    pullPolicy: IfNotPresent
    pullSecret: ""
    uid: 50000
    gid: 50000

  config:
    AIRFLOW__WEBSERVER__EXPOSE_CONFIG: "True"
    AIRFLOW__SCHEDULER__DAG_DIR_LIST_INTERVAL: "30"
    PYTHONPATH: $PYTHONPATH:/opt/airflow/dags:/opt/airflow/dags/repo

    AIRFLOW__CORE__LOAD_EXAMPLES: "True"

    ## remote log storage
    AIRFLOW__LOGGING__REMOTE_LOGGING: "True"
    AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER: "gs://xxxxxxx/prd"
    AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID: "GCP-ECDT-DADOS"

  connections:
    - id: GCP-ECDT-DADOS
      type: google_cloud_platform
      description: GCP-ECDT-DADOS
      extra: |-
        {"extra__google_cloud_platform__project": "xxxxxxxxx",
          "extra__google_cloud_platform__key_path": "/opt/airflow/secrets/gcs_credentials/key.json",
          "extra__google_cloud_platform__num_retries": "5",
          "extra__google_cloud_platform__scope": "https://www.googleapis.com/auth/cloud-platform"
        }

  extraVolumeMounts:
    - name: gcs-credentials
      mountPath: /opt/airflow/secrets/gcs_credentials
      readOnly: true

  extraVolumes:
    - name: gcs-credentials
      secret:
        secretName: gcs-credentials

What is your Kubernetes Version?:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:18:45Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}

What is your Helm version?:
$ helm version
version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"clean", GoVersion:"go1.15.11"}

@rjribeiro do the logs work for a simple DAG? Say one with a BashOperator only?

@thesuperzapper
I tested it with this dag https://raw.githubusercontent.com/apache/airflow/main/airflow/example_dags/tutorial_etl_dag.py
*** Reading remote log from gs://ecdt-airflow-log/prd/tutorial_etl_dag/extract/2021-06-25T13:24:51.119720+00:00/1.log.
b"*** Previous log discarded: 404 GET https://storage.googleapis.com/download/storage/v1/b/ecdt-airflow-log/o/prd%2Ftutorial_etl_dag%2Fextract%2F2021-06-25T13%3A24%3A51.119720%2B00%3A00%2F1.log?alt=media: No such object: ecdt-airflow-log/prd/tutorial_etl_dag/extract/2021-06-25T13:24:51.119720+00:00/1.log: ('Request failed with status code', 404, 'Expected one of', <HTTPStatus.OK: 200>, <HTTPStatus.PARTIAL_CONTENT: 206>)\n\n[2021-06-25 13:24:59,907] {taskinstance.py:851} INFO - Dependencies all met for <TaskInstance: tutorial_etl_dag.extract 2021-06-25T13:24:51.119720+00:00 [queued]>\n[2021-06-25 13:25:00,100] {taskinstance.py:851} INFO - Dependencies all met for <TaskInstance: tutorial_etl_dag.extract 2021-06-25T13:24:51.119720+00:00 [queued]>\n[2021-06-25 13:25:00,100] {taskinstance.py:1042} INFO - \n--------------------------------------------------------------------------------\n[2021-06-25 13:25:00,101] {taskinstance.py:1043} INFO - Starting attempt 1 of 1\n[2021-06-25 13:25:00,101] {taskinstance.py:1044} INFO - \n--------------------------------------------------------------------------------\n[2021-06-25 13:25:00,480] {taskinstance.py:1063} INFO - Executing <Task(PythonOperator): extract> on 2021-06-25T13:24:51.119720+00:00\n[2021-06-25 13:25:00,485] {standard_task_runner.py:52} INFO - Started process 48 to run task\n[2021-06-25 13:25:00,491] {standard_task_runner.py:76} INFO - Running: ['airflow', 'tasks', 'run', 'tutorial_etl_dag', 'extract', '2021-06-25T13:24:51.119720+00:00', '--job-id', '6', '--pool', 'default_pool', '--raw', '--subdir', '/home/airflow/.local/lib/python3.8/site-packages/airflow/example_dags/tutorial_etl_dag.py', '--cfg-path', '/tmp/tmpvdaxoxhc', '--error-file', '/tmp/tmprcs4udn0']\n[2021-06-25 13:25:00,492] {standard_task_runner.py:77} INFO - Job 6: Subtask extract\n[2021-06-25 13:25:02,225] {logging_mixin.py:104} INFO - Running <TaskInstance: tutorial_etl_dag.extract 2021-06-25T13:24:51.119720+00:00 [running]> on host airflow-prd-worker-0.airflow-prd-worker.default.svc.cluster.local\n[2021-06-25 13:25:03,581] {taskinstance.py:1255} INFO - Exporting the following env vars:\nAIRFLOW_CTX_DAG_OWNER=airflow\nAIRFLOW_CTX_DAG_ID=tutorial_etl_dag\nAIRFLOW_CTX_TASK_ID=extract\nAIRFLOW_CTX_EXECUTION_DATE=2021-06-25T13:24:51.119720+00:00\nAIRFLOW_CTX_DAG_RUN_ID=manual__2021-06-25T13:24:51.119720+00:00\n[2021-06-25 13:25:04,200] {python.py:118} INFO - Done. Returned value was: None\n[2021-06-25 13:25:04,533] {taskinstance.py:1159} INFO - Marking task as SUCCESS. dag_id=tutorial_etl_dag, task_id=extract, execution_date=20210625T132451, start_date=20210625T132459, end_date=20210625T132504\n[2021-06-25 13:25:05,344] {taskinstance.py:1220} INFO - 0 downstream tasks scheduled from follow-on schedule check\n[2021-06-25 13:25:05,389] {local_task_job.py:146} INFO - Task exited with return code 0\n"

I fix it. I put the key location in the variable AIRFLOW__LOGGING__GOOGLE_KEY_PATH


Tortoise-ORM config may be generated by function.

https://github.com/long2ice/aerich/blob/19c9c2c30f675361d846fe54a8706e3fd698406f/aerich/cli.py#L59
This line will raise AttributeError: 'function' object has no attribute 'get' when Tortoise-ORM config generated by function.

You can assign the return value of function to a variable as config


[Bug Report] table filter menu doesn't disappear when the table in a iframe and click outside of this iframe

Element UI version
2.4.6
OS/Browsers version
win7/chrome68.0.3440.75
Vue version
2.5.17
Reproduction Link
http://jsfiddle.net/mmx38qxw/5565/
Steps to reproduce

Put a page which contains  in a iframe
Click the filter button of the table and the filter menu will popup
Click  outer region of the iframe

What is Expected?
the filter menu disappears
What is actually happening?
the filter menu doesn't disappear

If you click outside of a frame, it means this click can't be captured by this frame. Also, you should avoid using iframe. https://stackoverflow.com/questions/23178505/good-reasons-why-not-to-use-iframes-in-page-content


Add Blake2 digest function

@homu r+

:pushpin: Commit c159443 has been approved by hauleth

:zap: Test exempted - status


doc/langauge-frameworks/beam: fix broken link to elixir-ls

Description of changes
Fixes broken link to derivation of the elixir-ls package.
Things done

Built on platform(s)

[ ] 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

[ ] 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/)
23.05 Release Notes (or backporting 22.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.

Thank you !


Unavailable to use speed controller

Hello, I installed your extension on Google Chrome tho, somehow it doesn't change the playback speed at all.
Actually I can see the functional logo here as this screenshot I attached, but practically it doesn't work for it.
Could you share me some advice to solve this issue?
Thanks.

Hi,
Thank you for reaching out and for the detailed report!
I haven't been able to replicate the issue on my end, but I suspect it might be a regional bug. Could you please provide your country so I can verify if this might be the case?
Additionally, could you open Chrome Dev Tools (press F12), go to the Console tab, and select the User Messages side tab? Please take a screenshot of the messages there. Speedify has a detection mechanism that might have flagged an issue, and this will help me narrow down the cause of the problem you're facing.

Lastly, I wanted to let you know that a new version (1.0.3) will be available in a few hours. It addresses persistence issues, including cases where Spotify may create multiple media elements (video/audio). This might also resolve the problem you're experiencing.
Looking forward to your feedback!


⚠ Bofrost.be has degraded performance

In 4ae9831, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1478 ms

Resolved: Bofrost.be performance has improved in d60a49d.