Does Angular 2 or Angular 2 CLI have (or plan to have) an addon system similar to Ember CLI's?

I'm not sure if it's specified or obscurely mentioned in any docs somewhere, but does Angular 2 or Angular 2 CLI have or plan to have an addon system similar to that of Ember CLI?
I'm curious about the idea of shareable Angular 2 components, Angular 1/2 directives, services, etc. that can be imported into your Angular 2 app.

It does currently, on master!
See here https://github.com/angular/angular-cli#installing-a-3rd-party-library


lazy loading

Hi, friend!
Thanks for your contribution.
I read your code and found lazy loading function.
Does that really work?
If so, can you tell how to use lazy loading function please?
Thanks a lot.

I realized it loads 2 pages at once, Can it just load one page at once?

Currently its for 3 view controllers(left, center and right).
I'll make a new option for that case!

Good issue.
I had the same problem.
I have three tableViewControllers as child viewController.
Each child tableViewController is getting json data from server.
My app keep crashing all the time cause of the three tableViewControllers load data at the same time.
I hope it can just load one child page (current displaying page on screen)  at a time.
For example, there are  vc1, vc2, vc3 as child viewControllers.
When the app started, just load vc1. And then, when the user slide to the vc2, the vc2 get started on loading data.
Thanks a lot !

My app crashed too ......
And I think this issue is probably the reason.
I have 3 child-VCs, and each child-VC loads some pictures(very large) to tableViewCell.
Because 3 child-VCs load pictures at the same time , my app got memory warning and then crashed.
I hope my child VC load data from server only when it is  active.

My app crashed too ......
And I think this issue is probably the reason.
I have 3 child-VCs, and each child-VC loads some pictures(very large) to tableViewCell.
Because 3 child-VCs load pictures at the same time , my app got memory warning and then crashed.
I hope my child VC load data from server only when it is active.

Can you check my PR above whether it fixes the issue, @bianjingbulb, @jacksonWii, @CocosWong ?
You will notice that scrolling paging view is disabled for now though.

I  pulled code and ran "pod install" at  branch/support_one_lazy_loading.
I tested at "PagingMenuContrllerDemo" by adding print("here is n") to each child ViewController's(UsersVC, RepositoriesVC, GistsViewVC and OrganizationsVC)
override func viewDidLoad(){}  function .
The result is as follow,
here is one!
here is two!
So, it keeps loading two  pages at once.

I completely forgot to write usage.
Please add code below.
options.lazyLoadingPage = .One

It worked !!!

It's pre-released. Please use the latest version.


support Dgraph data source

Use Spark Connector to read dgraph data and write to nebula.  for example:  https://github.com/vesoft-inc/nebula-spark-connector/blob/master/example/src/main/scala/com/vesoft/nebula/examples/connector/NebulaSparkWriterExample.scala

In user's project, add the dependency in pom:

<dependency>
  <groupId>uk.co.gresearch.spark</groupId>
  <artifactId>spark-dgraph-connector_2.12</artifactId>
  <version>0.4.2-2.4</version>
</dependency>

read dgraph data

import uk.co.gresearch.spark.dgraph.connector._
val edges: DataFrame = spark.read.dgraphEdges("localhost:9080")
val nodes: DataFrame = spark.read.dgraphNodes("localhost:9080")

write to nebula

df.write.nebula(config, nebulaWriteVertexConfig).writeVertices()

do not integrate dgraph to Exchange. Reasons:

The requirement is not general. Dgraph stores RDF, and use gql, which is used in knowledge graph, and now we don't have many requirements for it.

Besides, there's other resolutions (showed above) for users to use.


make test-unit fails - possibly due to missing genesis.json file under oasis-node-test directory

SUMMARY

When running make test-unit, it fails on the following.
Previously it failed on make test-unit-go when my docker0 network interface was present.  (Error while dialing dial tcp) but after removing this interface, it fails on the below tests:
=== CONT  TestNode
node_test.go:225: one or more tests failed, preserving data directory: /tmp/oasis-node-test_649321921
--- FAIL: TestNode (237.18s)
--- PASS: TestNode/RegisterTestEntityRuntime (0.27s)
--- FAIL: TestNode/ExecutorWorker (71.47s)
--- PASS: TestNode/ExecutorWorker/InitialEpochTransition (0.20s)
--- FAIL: TestNode/ExecutorWorker/QueueTx (1.13s)
--- PASS: TestNode/StorageWorker (0.00s)
--- FAIL: TestNode/RuntimeClient (0.85s)
--- FAIL: TestNode/RuntimeClient/Direct (0.49s)
--- PASS: TestNode/RuntimeClient/Direct/SubmitTx (0.27s)
--- FAIL: TestNode/RuntimeClient/Direct/Query (0.04s)
--- PASS: TestNode/RuntimeClient/Direct/SubmitTxNoWait (0.17s)
--- FAIL: TestNode/RuntimeClient/OverGrpc (0.36s)
--- PASS: TestNode/RuntimeClient/OverGrpc/SubmitTx (0.12s)
--- FAIL: TestNode/RuntimeClient/OverGrpc/Query (0.05s)
--- PASS: TestNode/RuntimeClient/OverGrpc/SubmitTxNoWait (0.17s)
The test.log file shows this as a possibility:
{"caller":"node.go:648","consensus_pk":"lRW6SBSIxVnZ/y6yAVBX+c71aZFh02wNfeUQlEOXMbg=","level":"info","module":"oasis-node","msg":"loaded/generated node identity","node_pk":"B2dsPp0phzu6pLLYHNrq1xsDQQ2g1qPODxM0DjQJbrI=","p2p_pk":"mAkt/B9VThHIPviYbmD+zFek2SEKMieAe4mEmwmLWkc=","tls_pk":"XnGsl2pzxzNb+ZkGFndiiL6/1+2dFNwzul0DJVM0vKk=","ts":"2021-07-07T03:02:05.084962263Z"}
{"caller":"file.go:37","err":"open genesis.json: no such file or directory","filename":"genesis.json","level":"warn","module":"genesis/file","msg":"failed to open genesis document","ts":"2021-07-07T03:02:05.128473889Z"}
This causes a downstream error on consensus:
{"caller":"registry.go:423","err":"consensus: no committed blocks","level":"error","module":"registry/tendermint","msg":"node list notifier: unable to get a list of nodes","ts":"2021-07-07T03:02:06.096501778Z"}
ISSUE TYPE

Bug Report

COMPONENT NAME

oasis-node/cmd/node/node.go
OASIS NODE VERSION

osboxes@osboxes:~/oasis-core$ oasis-node --version
Software version: 21.1-gitc82aa4b03+dirty
Consensus:
  Consensus protocol version: 4.0.0
Runtime:
  Host protocol version:      3.0.0
  Committee protocol version: 2.0.0
Go toolchain version: 1.16.5

OS / ENVIRONMENT

Ubuntu 20.04.2 LTS
osboxes@osboxes:~/oasis-core$ go version
go version go1.16.5 linux/amd64
osboxes@osboxes:~/oasis-core$

osboxes@osboxes:~/oasis-core$ rustc -V
rustc 1.54.0-nightly (f94942d84 2021-05-19)
osboxes@osboxes:~/oasis-core$

STEPS TO REPRODUCE

After doing a build, I ran make test-unit
ACTUAL RESULTS

I will attach my test.log file
Notice that no genesis.json is present under the test directory:

osboxes@osboxes:/tmp/oasis-node-test_649321921$ ls -la
total 67300
drwx------  5 osboxes osboxes     4096 Jul  6 23:35 .
drwxrwxrwt 24 root    root       12288 Jul  6 23:33 ..
-rw-------  1 osboxes osboxes      105 Jul  6 23:02 beacon.pem
-rw-------  1 osboxes osboxes      160 Jul  6 23:02 consensus.pem
-rw-------  1 osboxes osboxes      113 Jul  6 23:02 consensus_pub.pem
-rw-------  1 osboxes osboxes       59 Jul  6 23:02 entity.json
-rw-------  1 osboxes osboxes      160 Jul  6 23:02 entity.pem
-rw-------  1 osboxes osboxes      160 Jul  6 23:02 identity.pem
-rw-------  1 osboxes osboxes      113 Jul  6 23:02 identity_pub.pem
-rw-------  1 osboxes osboxes      160 Jul  6 23:02 p2p.pem
-rw-------  1 osboxes osboxes      113 Jul  6 23:02 p2p_pub.pem
drwx------  2 osboxes osboxes     4096 Jul  6 23:06 persistent-store.badger.db
drwx------  3 osboxes osboxes     4096 Jul  6 23:02 runtimes
-rw-r--r--  1 osboxes osboxes      420 Jul  6 23:02 sentry_client_tls_identity_cert.pem
-rw-------  1 osboxes osboxes      119 Jul  6 23:02 sentry_client_tls_identity.pem
drwx------  5 osboxes osboxes     4096 Jul  6 23:06 tendermint
-rw-------  1 osboxes osboxes 68828440 Jul  6 23:06 test-node.log
-rw-------  1 osboxes osboxes      119 Jul  6 23:02 tls_ephemeral_next.pem
-rw-------  1 osboxes osboxes      119 Jul  6 23:02 tls_ephemeral.pem
osboxes@osboxes:/tmp/oasis-node-test_649321921$
[make-console-output.txt](https://github.com/oasisprotocol/oasis-core/files/6774079/make-console-output.txt)
[test-node.zip](https://github.com/oasisprotocol/oasis-core/files/6774080/test-node.zip)

EXPECTED RESULTS

make test-unit completes with no errors.

After doing a git pull and retrieving latest, and doing a build, was able to run make test-unit without errors
Works with oasis-node version below:
osboxes@osboxes:~/oasis-core$ oasis-node --version
Software version: 21.2-git77de4e927
Consensus:
  Consensus protocol version: 4.0.0
Runtime:
  Host protocol version:      4.0.0
  Committee protocol version: 3.0.0
Go toolchain version: 1.16.5


HDFS-16391. Avoid evaluation of LOG.debug statement in NameNodeHeartbeatService

…eatService

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

JIRA:
https://issues.apache.org/jira/browse/HDFS-16391?filter=-2

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 52s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

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.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
36m 16s

trunk passed

+1 :green_heart:
compile
0m 42s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 35s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 24s

trunk passed

+1 :green_heart:
mvnsite
0m 40s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 19s

trunk passed

+1 :green_heart:
shadedclient
23m 22s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 34s

the patch passed

+1 :green_heart:
compile
0m 35s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 35s

the patch passed

+1 :green_heart:
compile
0m 30s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 30s

the patch passed

+1 :green_heart:
blanks
0m  1s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 16s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 31s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 21s

the patch passed

+1 :green_heart:
shadedclient
23m 33s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
37m 29s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 32s

The patch does not generate ASF License warnings.

133m 57s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver

hadoop.hdfs.rbfbalance.TestRouterDistCpProcedure

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3820

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 05506f034149 4.15.0-162-generic #170-Ubuntu SMP Mon Oct 18 11:38:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / f5b7a1801176c695a249801d079ac558e2dea453

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/1/testReport/

Max. process+thread count
2211 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 43s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

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.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 10s

trunk passed

+1 :green_heart:
compile
0m 44s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 26s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 54s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 21s

trunk passed

+1 :green_heart:
shadedclient
21m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 38s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 17s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 36s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 23s

the patch passed

+1 :green_heart:
shadedclient
20m 35s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
21m  2s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

109m 31s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3820

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 7ae99fb7e675 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 680ec9a8a2678ccf0947e9b39946592dee47f502

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/2/testReport/

Max. process+thread count
2538 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

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.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 56s

trunk passed

+1 :green_heart:
compile
0m 49s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
0m 43s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 29s

trunk passed

+1 :green_heart:
mvnsite
0m 49s

trunk passed

+1 :green_heart:
javadoc
0m 54s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 13s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 39s

trunk passed

+1 :green_heart:
shadedclient
27m  9s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 38s

the patch passed

+1 :green_heart:
compile
0m 36s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
0m 36s

the patch passed

+1 :green_heart:
compile
0m 33s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
0m 33s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 18s

the patch passed

+1 :green_heart:
mvnsite
0m 35s

the patch passed

+1 :green_heart:
javadoc
0m 33s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 17s

the patch passed

+1 :green_heart:
shadedclient
20m  6s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
20m 57s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

123m  6s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.federation.router.TestRouterRPCMultipleDestinationMountTableResolver

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3820

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 8da299d2bf37 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:58 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 91c089285a1ce0f0ec9f3b2b8db89b676f4fc9c4

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/3/testReport/

Max. process+thread count
2594 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3820/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Adding offset support to available_time_ranges

Checklist

[ ] Manual verification
[ ] Unit test coverage
[ ] E2E test coverage
[ ] Needs manual QA?

Summary
Issue addressed:
closes #4004
Details:

Steps to Verify

Closing in favour of #4096 . We will revisit the way we configure arbitrary time range with offsets in the future.


Error Invalid handler specified

Downloaded through HACS and restarted HA.
When trying to set it up I get the following pop-up:
Error
Config flow could not be loaded: {"message":"Invalid handler specified"}

Thank you for raising. Issue was to do a domain name change in the const.py from "ai_suggester" to "ai_automation_suggester". Please uninstall from Hacs and redownload this has been updated in Github

After submitting V1.0 through the HACS checks today and updating the naming convention, the Domain changes within the Const.py also needed to be changed as referenced in the code. Code Updated Accordly.

FYI, there was no new release so nothing to update in HACS. I made the changes locally and getting another error. Thanks for the help!


method findChatByJid() is not clear in docs

the method requires a ContactJidProvider and none of the examples provide a explanation to this type and how to make it.

examples provide a explanation to this type and how to make it.

A ContactJidProvider is a Chat, a Contact or a ContactJid. You simply need to pass any of these classes.


Rudimentary code completion support

Uses glslang to get a string containing the GLSL definitions of all builtin functions and variables for the given shader stage. This is then feed through a very naive "parser" to extract the types and names of all global symbols.
I did not feel like writing a parser for GLSL, and the one embedded in glslang is buried deep within implementation details. Instead we use some simple heuristics to find all declarations in a file. For example, input variables and constants follow the same basic pattern:
[[<layout>] <qualifier>] <type> <name> [= <value>];

Thus, if we see either ; or =, whichever comes first, the previous two "words" must have been the name of the symbol and its type.
Using a similar approach we can identify functions: if we ever see a pair of parentheses outside a function body, we assume it is either a layout qualifier or parameter list.
Granted, this solution is not that fault-tolerant, but it works reasonably well. In the future we might want to use an actual parser, but that is more work than I wish to spend on this at the moment.
It should be noted that the current approach does not handle local variables or anything defined within a function body, which would depend on the editing context. Theoretically, this could be implemented by truncating the file to the position of the cursor, and only considering symbols up to that point, but then you have to deal with all the various syntax forms allowed within statements and expressions, which I did not want to deal with (again, a proper parser would solve this).
Also, most editors have some way of automatically completing recently used words in the surrounding context, which already gets us 70% of the way (only missing type hints).
This includes the commit from #26, which I needed for testing, so consider merging that PR first.
The commit 4f8443177b245f9586476da7cb220ee3c55b2de5 additionally fixes #19.
Edit: Here's a screenshot with code completion working:

To get this result, I typed mul and then selected the first option. Notice that the type signature of the function is shown. The same is true of all builtin functions and constants.

Probably should update the README accordingly.


Add plotting script

Input submission checklist

[ ] created a directory for each system based on the template directory
[ ] named and placed the directory with the following pattern: input_structures/prepared_structures/<set_name>/<system_name>

For each submitted directory:

[ ] filled in system preparation details in the PREPARATION_DETAILS.md file
[ ] added a PDB file with the protein named protein.pdb
[ ] removed any cofactors from the PDB file and placed them in cofactors.sdf
[ ] did not re-protonate the residues, but left protonation state of the protein unchanged
[ ] kept cystallographic waters and metals in the PDB file
[ ] tested the PDB and, if available, cofactors.sdf file using the input validation script
[ ] copied over the ligands SDF file to a file named ligands.sdf and removed any duplicate binding modes or protonation states, keeping the more favorable state

Summary of changes

Licensing agreement

[x] I agree to release these inputs under the combined MIT and CCBY SA 4.0 licenses of this repository

Hello @IAlibay! Thanks for opening this PR.  Only thing I noticed that we haven't done a cinnabar release in a while and the change for making the dots more visible is not in yet, but since this is just for internal use that should be ok.

Ah, I was wondering why I didn't see them :(
Yeah, let's make sure we got that fixed for the actual paper.


Perplexity account creating error: <Response [400]>

Good Day!
Thank you for the script it does work wonderfully, Yesterday I had the script working well on copilot mode and also it was creating new accounts using emailnator,  but somehow today it stopped working keeps getting the error Perplexity account creating error: <Response [400]> , 1st I thought cloudfare is blocking me but I am able to query prompts on concise mode and also can access the website via Google Chrome, I have double checked all my headers and cookies for both Emailnator and Perplexity there seem to be in order, Is there something I am missing.
Your help is greatly appreciated?

 Also some outdated libraries may cause that, try to update your libraries:
pip3 install -U requests&&pip3 install -U beautifulsoup4&&pip3 install -U lxml&&pip3 install -U websocket-client&&pip3 install -U requests-toolbelt

Thanks for your reply, I stopped getting the issue all of a sudden, so here is the thing I am currently residing in South Africa and here I have long concluded the script don't work here, so I use a USA based VPS with a GUI sometimes it works, sometimes it doesn't, I now have a perplexity PRO account, but everytime I run it it raise the error that goes by 'You have no copilots left' even though I have about 590 left for the day, is it something wrong with my network, because if I change my prompt to concise mode it does work

It was an network issue

If you got PRO account  and want to use it, then look at issue #4. Also change copilot and file_upload values at line 94 manually to not cause assertion errors.

Thanks bro, I changed line 94 and the script works, I appreciate all time you took to reply


Update slides_create_image comment.

Please remove the file path and mime type parameters as well.

Done. PTAL.


Attempt solving #155

Tries to solve the problem of CIRIquant not being able to access the GTF file by staging it to the working directory

@ZabalaAitor, could you check if this solves your problem?

I ran 4 samples (2 samples with circRNA detection and 2 without detection).
Previous results:
HC01: 2 circles
HC02: 1 circle
HC04: 0 circles
SP05: 0 circles
New results:
HC01: 3 circles
HC02: 2 circles
HC04: 1 circle
RR05: 0 circles
Additionally, I encountered the following error:
ERROR ~ Error executing process > 'NFCORE_CIRCRNA:CIRCRNA:CIRCRNA_DISCOVERY:ANNOTATION:ANNOTATE (RR05:circrna_finder)'

Caused by:
  Process `NFCORE_CIRCRNA:CIRCRNA:CIRCRNA_DISCOVERY:ANNOTATION:ANNOTATE (RR05:circrna_finder)` terminated with an error exit status (1)

I have attached the output file (slurm-505469.txt) which details the error (the specified working folder has the RR04.intersect.bed file empty).

I am already working on this as someone else has pointed this out before. You can keep track of it via #157

@ZabalaAitor, the issue you mentioned in your previous message should be fixed now, could you try again?

Here is the slurm.docx with a new error.


fix #10 go build return server error

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   23.04%   23.04%
=======================================
  Files          16       16
  Lines        1384     1384
=======================================
  Hits          319      319
  Misses       1035     1035
  Partials       30       30

Impacted Files
Coverage Δ

playground/sandbox.go
18.93% <0.00%> (ø)

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 3b8f20f...7d441d0. Read the comment docs.


[EXC-8382] Adding JSON collection, in comprehensive API.

Includes info from https://github.com/mulesoft/exchange-xapi/pull/1448 . Thank you very much @Igua95 ! Would you please get the commits associated with your GitHub account and sign the CLA? If that system does not work for some reason, just tell me, and I will close this PR and create a new one with these changes.


Bot composer Environment variables.

In previous code version of bot framework we were using environment variable in Azure app service. Now i am using Bot composer and i couldn't maintain any user credentials and url links. what should do for it?

Hi @pannerselvam-yaltech
You can access items listed from configuration/settings by using the settings memory scope. See here for more information.
So, in Composer you can specify something like "MyCustomSetting": "some_value" in the settings and then access that in Composer bot with something like ${settings.MyCustomSetting}.

Closing as answered.

Thanks for help. It's working.


[AMORO-3132]High available service should not close curator client before LeaderLatch closing

Why are the changes needed?

Close #3132 .
Brief change log

Refact the logic of closing resources in HighAvailabiltyContainer.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[X] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks for your feedback, normally when LeaderLatch is closed, it will try to release the lock or remove the leadership. This process depends on the connection to ZooKeeper. Therefore, turning off leaderLatch first is the right thing to do.

@czy006 Thanks for reviewing.


Sentinel 2 missing dataCoveragePercentage in some tileInfo.json

When ☝ appears the function fails an return empty

closed by https://github.com/RemotePixel/aws-sat-api-py/commit/b917af6be98f74436725e3c6a8217d8f32e6123f


[Feature]: dynamic base href support

What problem does this feature solve?
We want to deploy our documents into multiple sites, for siteA its base could be /docs, but for siteB its base could be /platform-docs, for now we have to build them multiple times separately.

[!WARNING]
This feature could break SSG

What does the proposed API look like?
Proposal:

check typeof __RSPRESS_BASE_HREF__
check base#href
provide function support for runtime check

I think building multiple times is a reasonable solution, and all other solutions will increase the complexity.


Fix regression on loading existing environments

In #1202 we added a config.json file in the environment, which we use to persist configured values for required infrastructure parameters which are not set in .parameters.json files.
As part of that logic, we made it so that the constructor of the environment would validate that a config.json file was present in the environment and if not, fail (similar to the check it already did for the .env file).
This worked for new environments, since .Save() will always write an empty config.json file. But for existing environments, the read of the config.json would fail, with ErrNotExists, which would be wrapped up and returned to the caller. The caller would use the ErrNotExists to mean "the environment doesn't exist" and so it would prompt the user to see if they wanted to create it.
Rework the constructor such that we return ErrNotExists when the directory for the environment doesn't exist, instead of using the existence of the .env file to mean anything and add some unit tests for these cases.

Azure Dev CLI Install Instructions
Install scripts
MacOS/Linux

May elevate using sudo on some platforms and configurations

bash:
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/uninstall-azd.sh | bash;
curl -fsSL https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/install-azd.sh | bash -s -- --base-url https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219 --version '' --verbose

pwsh:
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/uninstall-azd.ps1' -OutFile uninstall-azd.ps1; ./uninstall-azd.ps1
Invoke-RestMethod 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/install-azd.ps1' -OutFile install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219' -Version '' -Verbose

Windows
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/uninstall-azd.ps1' > uninstall-azd.ps1; ./uninstall-azd.ps1;"
powershell -c "Set-ExecutionPolicy Bypass Process; irm 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/install-azd.ps1' > install-azd.ps1; ./install-azd.ps1 -BaseUrl 'https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219' -Version '' -Verbose;"

Standalone Binary

Linux - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/azd-linux-amd64.tar.gz
MacOS - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/azd-darwin-amd64.zip
Windows - https://azuresdkreleasepreview.blob.core.windows.net/azd/standalone/pr/1219/azd-windows-amd64.zip

Container
docker run -it azdevcliextacr.azurecr.io/azure-dev:pr-1219


Protect tensorflow dependency

What does this PR do ?
This PR protect the tensorflow dependency, so that we import tensorflow only when it is needed ! This should speed-up the import by ~2s. See similar PR for transformers.
cc @younesbelkada

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

This should speed-up the import by ~2s

Do you have a command that you used to test this? Just time python -c "from accelerate import Accelerator"?

This should speed-up the import by ~2s

Do you have a command that you used to test this? Just time python -c "from accelerate import Accelerator"?

I've updated the description with the commands to get the dashboard !


attestation: Send GET event logs for corresponding errors

The PR sends the GET event to the host for corresponding errors, which include

Data-encryption Key (DEK) failures
VMGS decryption key release failures

Do we need to flush immediately after each event? Looking at the current callers it seems like we're doing that in most places, should we just merge the two functions and make every event log auto-flush?

Do we need to flush immediately after each event? Looking at the current callers it seems like we're doing that in most places, should we just merge the two functions and make every event log auto-flush?

hmm, we explicitly called this pattern out: https://github.com/microsoft/openvmm/blob/b8910f97c258ca39c8f2e535fbc241ea1e1be3ff/vm/devices/get/guest_emulation_transport/src/client.rs#L451
merging the two sounds like a good thing to do, but may in a follow-up PR?


Cannot delete cluster role

v2.2.8
Steps:

Go to create Cluster Role page
Add "a Inherit from a Role"
Create the role
Edit the newly created role and delete the Inherit Role.
Click Save
Try to delete any cluster roles in UI

Results:
No role can be deleted
Expected:
Users should be able to delete the roles in this case

Available in latest-2.3.

Reproduced the issue on v2.3.2
Steps:

Go to Global --> Security --> Roles --> Clusters --> Add Cluster Role page
Add "a Inherit from a Role"
Create the role
Edit the newly created role and delete the Inherit Role.
Click Save
Try to delete the created user role.
Cluster role will not be deleted.

Another way to reproduce the issue:

Go to Global --> Security --> Roles --> Clusters --> Add Cluster Role page
Add "a Inherit from a Role", Create the role
Try to delete the created user role.
Cluster role will not be deleted.

Verified the fix in 2.3 head with ui tag: latest-2.3
Steps:

Go to Global --> Security --> Roles --> Clusters --> Add Cluster Role page
Add "a Inherit from a Role"
Create the role
Edit the newly created role and delete the Inherit Role.
Click Save
Try to delete the created user role.
Cluster role will be deleted.

Another scenario:

Go to Global --> Security --> Roles --> Clusters --> Add Cluster Role page
Add "a Inherit from a Role", Create the role
Try to delete the created user role.
Cluster role will be deleted.


Update Keycloak to version 24.0.4

Hey @Footur, since you have been contributing to the collection for a while, and if you wish, I'd happily welcome you in the lines here: https://github.com/ansible-middleware/keycloak/blob/main/galaxy.yml#L6

Hey @guidograzioli, thank you! You have an email. :)


test add normalize sort test

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

run buildall


Adding RetentionMillis at kafka channel spec level

Fixes #643

Proposed Changes

🎁  Kafka Channel RetentionMillis can now be provided on Channel spec. Works for both Consolidated and Distributed Channel. Its an Optional field which if absent will default to the defaultRetentionMillis value provided in the Common ConfigMap. If the defaultRetentionMillis is not provided in config map, the default value of 604800000(1 Week) is taken from constants in code.

Release Note

Kafka Channel RetentionMillis can now be provided on Channel spec. Works for both Consolidated and Distributed Channel. Its an Optional field which if absent will default to the value provided in the Common ConfigMap

My first PR here so any comments/suggestions welcome. I did manually test the behavior for consolidated and distributed channels.
Let me know if I'm missing any tests somewhere or anything else.
CC: @slinkydeveloper @eric-sap (since you worked on the configmap consolidation)

@googlebot I signed it!

/ok-to-test

We originally had support for retentionMillis in the original version of the Distributed KafkaChannel but lost it while aligning with the Consolidated implementation - it's been on my list to add it back for a long time now - thanks for actually getting it done!


Fixes row details problems

Use the proper DetailsGenerator.NULL when undef is given from JS
Close all visible details when the generator is changed
Fixed setRowDetailsVisible(idx) to actually show the details

Would be nice if we could avoid these unnecessary white-space changes. Eclipse probably handles those differently than Atom (if someone does edit java files with Atom).

I'm using the vaadin framework formatting guidelines for eclipse. Unfortunately it seems that different eclipse versions handle "Remove trailing whitespace on all lines" differently. Mine seems to add that one space to empty block comment lines.
Also, I'm not sure if everyone in the project is using the vaadin conventions at all. We should decide and enforce some conventions to avoid this kind of issues. Be it vaadin formatter or something else as long as everyone uses the same ones.
I'll see if I can modify the patch to remove the white-space changes.

Reviewed 3 of 4 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.

Comments from the review on Reviewable.io


[FLINK-35326][hive] add lineage integration for Hive connector

What is the purpose of the change
Implement LineageVertexProvider Interface for Hive connectors, including HiveSource, FileSystemLookupFunction and HiveOutputformat. Given HiveInputFormat and HiveTableInputFormat is mainly used in HiveSource, skip them from adding lineage info.
Brief change log

implement LineageVertexProvider in HiveSource, FileSystemLookupFunction and HiveOutputformat.

Verifying this change
This change is already covered by existing tests with new verifications on lineage related info.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature?  (no)
If yes, how is the feature documented? (not applicable)

Shouldn't this pr go in after https://github.com/apache/flink/pull/24618


Datatype of the "time" field in models.AgendaItem class

Currently the data type of the "time" field in the models.AgendaItem class is CharField as:
time = models.CharField(max_length=100)
I think it would be good to change the data type to the time to DateField.

Great. Please go ahead.


Error: Couldn't find the Android Emulator

Running on Windows I get the following error:
Error:
        Couldn't find the Android Emulator in: 'C:\Users\MyUser\AppData\Local\Android\Sdk\'
        Make sure your $ANDROID_HOME environment variable is pointed to the correct SDK installation directory.

I am able to run emulator -list-avds successfully so am unsure why this error is occurring.
I am using:
node v12.16.2
npm 6.14.4
emus 0.7.0
Any help would be appreciated!

Hi @patevs,
Could you install v0.8.0 and try again?

Installed version 0.8.0 and works as expected. Thank you!


Rtsp streaming Issue

Hi @jkjung-avt,
I am trying to run the YoloV3 TRT inference through RTSP, but I am getting an issue as:
WARNING:root:Camera : starting while cap is not opened!
ERROR: Failed to open camera!
I had attached the pic below.

Pinging the same IP address is working in the Jetson nano, but do no why I am facing this issue.
May I know the reason I am facing the issue, so that I will try to resolve?
Thanks in advance,
Darshan

Have you installed the gstreamer plugins which are necessary to demux/decode RTSP H.264 streams?  And you are using a RTSP source in H.264 format, right?
Reference: How to Capture and Display Camera Video with Python on Jetson TX2

Hi @jkjung-avt,
Thank you very much for your reply.
I am using this Camera: https://www.cpplusworld.com/cp-nnc-t451-t which has H.265, H.264, MJPEG dual-stream encoding

Hi @jkjung-avt,
I have installed gstreamer plugins and checked, but still the same issue.

If you are not using a H.264 stream, you need to modify the "open_cam_rtsp()" function by yourself, e.g. use a H.265 decoder in the GStreamer pipeline instead.
https://github.com/jkjung-avt/tensorrt_demos/blob/26fb5a441134b0a58bd5804a5c7cdd1183a14554/utils/camera.py#L53-L63

Hi @jkjung-avt,
I configured my IP Camera with H.264 Streaming, It is working Fine.
Thank you very much!


Fix empty chunk causes exception in nanmin/nanmax

[x] Closes #8352
[x] Tests added / passed
[x] Passes pre-commit run --all-files

Not sure if there is a better way to do this.
First I only added the check for empty blocks but then a 0 length array would return a zero length array in dask but raise an error in numpy.
This might have performance regressions as a compute_chunk_sizes call was added.

Can one of the admins verify this patch?

add to allowlist


Connect on startup

Hello,
I am searching for a way to not let the plugin connect to the VPN on login. I don't always need the VPN to be connected, in fact, I only want it to connect when I tell it to.
I use the nmcli method, can you help me with this?
Thanks for the great plugin!

@vincentkoevoets There's a couple ways about fixing this:

Command line:

Ensure the connection name: nmcli connection show
Modify to disable autoconnect: nmcli connection modify "Connection Name" autoconnect off

Advanced Network Options

Either open the app "Advanced Network Options" or launch from cli: nm-connection-editor
Edit configuration for your Wireguard connection
Click General tab
Uncheck "Connect automatically with priority"

There ya go!

Wow, I never took the time to properly thank you, so: Thank you for the help! Works perfectly.


Update export-azure-blob-storage.md

Updated entities generated by Customer Insights export destinations to reflect blob export functionality changes.

Thank you for sharing this update. I've merged it and it will show on the live site soon.


eksctl: 0.181.0 -> 0.182.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/weaveworks/eksctl/releases.
meta.description for eksctl is: CLI for Amazon EKS
meta.homepage for eksctl is: https://github.com/weaveworks/eksctl
Updates performed

Golang update

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.182.0 with grep in /nix/store/l0if7xj92v0qsyd7dq2pmkp8zza53p1y-eksctl-0.182.0
found 0.182.0 in filename of file in /nix/store/l0if7xj92v0qsyd7dq2pmkp8zza53p1y-eksctl-0.182.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

eksctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/l0if7xj92v0qsyd7dq2pmkp8zza53p1y-eksctl-0.182.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A eksctl https://github.com/r-ryantm/nixpkgs/archive/af47703d0de0eacd7c0e992bd51daf5d4eeda3aa.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/af47703d0de0eacd7c0e992bd51daf5d4eeda3aa#eksctl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l0if7xj92v0qsyd7dq2pmkp8zza53p1y-eksctl-0.182.0
ls -la /nix/store/l0if7xj92v0qsyd7dq2pmkp8zza53p1y-eksctl-0.182.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

eksctl

Maintainer pings
cc @xrelkd @Chili-Man for testing.

@NixOS/nixpkgs-merge-bot merge


Application Layout Brainstorm: Create Wireframe

Ideas for app layout.
Two sections of the app are buying books and selling books. Example Layout:
Pg 1: Login screen - give user and password could have sign up here button as well which brings to signup pg (pg 1.1) then logs you in after you submit
Pg 2: Home Screen - After login page, brings you to page with three buttons buy, sell, logout.
Pg 3: Buy Screen - Click the buy button on home screen and get to buy screen page, has search bar and filter bar with a results table underneath. (TODO: flesh out how buying works.) This will list listings that have been added by users on this platform as well as listings that have been scrapped from the web. Has back button.
Pg 4: Sell Screen - Click the sell button on home screen and get to sell screen page, has a search, filter by date price bar and a table of existing listings. Above the existing listings for the user table have an add listing button. On the table filter/search bar have a delete checked entry/listing (if have checkboxes next to existing listings) Has back button.
Pg 5: Add Listing Screen - Click the add listing button on the sell screen and get to the add listing screen page, has a form where you add book details and price and upload pictures. Has back button and submit button.

I have created a wireframe diagram and added it to the docs folder of the project.

done


real-time changes?

Does falcor support subscribing to changes made by other clients similar to Firebase and Meteor or is still a missing feature similarly to GraphQL.
If this is supported where can I read more about it? Haven't been able to find any mentions in the documentation?
If not, are there any plans for support?

dup of https://github.com/Netflix/falcor/issues/425


Fixed autotune query url in Analyzer API output : Issue #362

Will create a new PR as this is merging more files than required


[LPC15XX] Fix GPIO port word pin registers offset

Adjust offset for GPIO port word pin registers from 0x100 to 0x1000.
The updated SVD file supporting this change can be found on the lpcware site.
I don't think any existing code makes use of the GPIO word pin registers, but I've manually verified that they work on an LPCXpresso 1549 board.

Thanks for fix.
The mcu headers contain a version. The modified one has:
 * @version  V0.3
 * @date     17. July 2013
 *
 * @note     Generated with SVDConv V2.80
 *           from CMSIS SVD File 'H2_v0.3.svd' Version 0.3,

Which relates to the svd file as we can see. Therefore I would check if there's not a newer version which would fix this and use it. If you can, pleasecheck a newer version of this header file.


you may change input_tensor shape to [None,CFG.TRAIN.IMG_HEIGHT,CFG.TRAIN.IMG_WIDTH, 3] in "train_lanenet.py"

you may change input_tensor shape to [None,CFG.TRAIN.IMG_HEIGHT,CFG.TRAIN.IMG_WIDTH, 3] in "train_lanenet.py"
Cause this is more convenience for prediction

@zacario-li The script is used for training:)


下载异常stream was reset: PROTOCOL_ERROR

okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR
设备:android10. 必现

邮件已收到，三日内拜读


dell-command-configure: fix missing include in wrapper

Also removes unused rec.
Fixes:
Running phase: unpackPhase
Running phase: patchPhase
lib.c: In function 'access_wrapper':
lib.c:13:16: error: implicit declaration of function 'access' [-Wimplicit-function-declaration]
   13 |         return access(fn, mode);
      |                ^~~~~~

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

GCC update rearranged header internals so unistd.h isn't pulled in by stdio.h or string.h, I think? It only worked this long because of that coincidence, but it wasn't technically correct until now.


strictNullChecks allows inconsistent indexed type with spread syntax

Reporting this as a bug since I couldn't find a suitable duplicate. If this behavior is by design, please consider adding an option to change it.
TypeScript Version:  3.7.5

Search Terms: indexed undefined spread spreading strictNullChecks
Expected behavior: useObjects(...objectList) should fail to compile
Actual behavior: useObjects(...objectList) compiles without error
Code
const objectList =
[
    { a: 1, b: 2 },
    { c: 3, d: 4 },
];

function useObjects
(
    obj1?: { [key: string]: number | undefined; },
    obj2?: { [key: string]: number; },
): void
{
    // ...
}

useObjects(...objectList);                // no error
useObjects(objectList[0], objectList[1]); // error 2345 on second argument

Compiler Options
{
  "compilerOptions": {
    "noImplicitAny": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "strictPropertyInitialization": true,
    "strictBindCallApply": true,
    "noImplicitThis": true,
    "noImplicitReturns": true,
    "useDefineForClassFields": false,
    "alwaysStrict": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "downlevelIteration": false,
    "noEmitHelpers": false,
    "noLib": false,
    "noStrictGenericChecks": false,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "esModuleInterop": true,
    "preserveConstEnums": false,
    "removeComments": false,
    "skipLibCheck": false,
    "checkJs": false,
    "allowJs": false,
    "declaration": true,
    "experimentalDecorators": false,
    "emitDecoratorMetadata": false,
    "target": "ES2017",
    "module": "ESNext"
  }
}

Playground Link: Provided

Tagging as bug but I think there's an equally compelling argument that the second useObjects call should be valid. Anyway probably add as const to the end of your array there for better behavior.

Thanks! After a quick look at the spec I can't say for sure what the expected effect should be. But I think the inconsistent behavior of the two invocations is not intended.


Remove scroll to bottom

Problem:
When typing in a multiline text input with a scroll bar, if you moved the caret to the top of the input the multi input would auto scroll to the bottom.
Solution:
Remove scrollToBottom. Looking at the blame I could not figure out why this was added. It seems this is a bit over engineered; I've removed, but am confused as to why it was even there in the first place, since the native behaviour of the input seems to be what we want.
ie, it doesn't scroll to the bottom when the caret is at the top.

Pull Request Test Coverage Report for Build 3037

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 3026:
0.0%

Covered Lines:
154

Relevant Lines:
154

💛  - Coveralls


Enable customization of cipher suites and TLS protocol with WiremockConfiguration

Adds the ability to customize cipher suites and tls protocols in WireMockServer using WiremockConfiguration.
With this PR it will be possible to simulate cases where external services deprecates certain tls protocols or cipher suites to guarantee the tested application will continue to work with the remaining supported tls protocol or cipher suites.
When instantiating an WireMockServer will be possible to configure the cipher suites and tls protocol like below:
private static final WireMockServer wireMockServer = new WireMockServer(options()
        .needClientAuth(true)
        .httpDisabled(true)
        .httpsPort(6666)
        .tlsProtocols(LIST_OF_TLS_PROTOCOLS)
        .cipherSuites(LIST_OF_CIPHERS));

References
https://wiremock-community.slack.com/archives/C03N1E6HFPY/p1720564292990239
https://groups.google.com/g/wiremock-user/c/YbgTErqt5ts

TODO

https://github.com/wiremock/wiremock/issues/2808
Submitter checklist

[x] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
[x] The PR request is well described and justified, including the body and the references
[x] The PR title represents the desired changelog entry
[x] The repository's code style is followed (see the contributing guide)
[ ] Test coverage that demonstrates that the change works as expected
[ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

Hi, many thanks for your contribution.  There are a few things that I was wondering if you could take a look at.
You have added the new options to the WireMockConfiguration.java class but not the Options interface.  This means the new options you have added cannot be configured from the command line for users running WireMock standalone.
I see you have updated the SslContexts.java class in the jetty11 package.  We also have support for jetty12 in WireMock so we will need to make sure that your changes are supported across both versions.
I was also wondering if there are any tests you could write to validate the changes you have made?


Stopping of instances not working with ampinstmgr

Bug Report
System Information

Debian Buster (10)
AMP Instance Manager v<IP_ADDRESS> built 12/05/2020 21:44
Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms
It is not possible to stop Instances via ampinstmgr with Version  <IP_ADDRESS>.
In the upgrade process and in the normal stop process you get an error.
Example for my ADS Instance:
AMPadmin@amp:~$ ampinstmgr --start ADS01
[Info] AMP Instance Manager v<IP_ADDRESS> built 12/05/2020 21:44
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Starting Instance: 'ADS01'
[Info] Waiting for AMP instance to start...
[Notice] AMP instance ADS01 is now running.
[Info] You can browse to this instance at http://XXX.XXX.XXX.XXX:8080/
[Info] Instance started in new session. Run 'ampinstmgr View ADS01' to view this instances live output.
AMPadmin@amp:~$ ampinstmgr --stop ADS01
[Info] AMP Instance Manager v<IP_ADDRESS> built 12/05/2020 21:44
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Stopping Instance: 'ADS01'
[Info] Start for instance ADS01 was requested, but it is already running.
It seems like there is a start instead of a stop command being used as the line "Start for instance ADS01 was requested" should not be in a stop command.
Reproduction

Create a new instance
Start the new instance
Try to stop the new instance

Caused by a bad refactor, new build with this is building now.
ampinstmgr will need updating via distros package manager, ADS instances will need a nocache upgrade.


Add a way to stop audio-threads

We need some mechanism to stop the AudioHandler and its thread other than exiting the main-method.

[x] Make the AudioHandler accessible, so the stop-method can be called
[x] Make sure all other threads/objects are shut down correctly
[x] Preferably create an universal accessible way to stop all threads, close network, print statistics.

This would fix #47

I do not have a solution yet. Consider the main thread, which is waiting for input.
We need a communication between 3 Threads.

Commit f0c7b45c6c7a27d2d0dbae6e61717dd8929ba3a5 introduces a OHMComm-object which can stop audio and receiving thread programmatically.
Remaining TODO:

Stop the audio-thread when the listener-thread received a GOODBYE-package

Tested via 2 pcs, it works!
Shutting down the one client triggers the other client to shut down too.


Add documentation/codelabs for custom widget/ui libraries

Use case
I wish to create my own ui library (like Material/Cupertino), but there is no documentation showing how these are created. I think that this would allow people to create amazing custom libraries implementing new ui design concepts and allow even more flexibility.

Proposal
Add documentation specific to creating a UI library including simple tutorials, codelabs, cookbooks, and examples.

/cc @sfshaza2 @RedBrogdon for thoughts
In general, to create a UI library, you would just create a bunch of custom widgets for which we have existing documentation. What are you missing?

More indepth stuff such as how the rendering works and tutorials to create complex widgets without expanding Material would be good.


More info needed on internal key rotation

"Encryption keys are managed by Microsoft and are rotated per Microsoft internal guidelines."
... Which is how often? Where can I see the Microsoft internal guidelines on key rotation? (please don't just respond with a link to the gigantic trust center).

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 16c7901b-497c-38bd-3615-defab17b572b
Version Independent ID: 9855d796-3469-8be5-c9a7-75516d9b8856
Content: Azure encryption overview
Content Source: articles/security/fundamentals/encryption-overview.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @barclayn
Microsoft Alias: barclayn

@moseleycj Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @moseleycj
Please send me an email at<EMAIL_ADDRESS>and I can loop you in with the key vault team to help get this answered. CC: @barclayn


Buffer in class field cause Unexpected global type: PolyT

Flow files generation with flow gen-flow-files fails when a field type is Buffer.
Code to reproduce:
// @flow
export class Foo {
  _buffer: Buffer;
}

Failure(\"Unexpected global type: PolyT\")")

It works as expected with any other type.
node version: 10.0.0
flow-bin: 0.72.0

i have the same error, but no Buffer. I have an Array type

The command was removed a while ago. We now have flow-api-translator instead.


ValueError: Cannot convert NA to integer

Run function news_type_viz()
Got the ValueError: Cannot convert NA to integer
I have tried many solutions... I don't know how to solve the problem.

Thanks for checking out the notebook.  Unfortunately, I don't have enough context to recreate your bug.
What I'd need is:

The code and data you're running
Which call of the function leads to an error
The full error you get
Your python environment and version
The versions of the relevant packages

Thanks for your response.
Python 3.5 on Mac OS sierra.
Here is the code:
`
import spacy
import pandas as pd
from scattertext import produce_scattertext_explorer
from scattertext.CorpusFromPandas import CorpusFromPandas
nlp = spacy.en.English()
fields = ['type','text']
convention_df = pd.read_csv('data.csv',nrows=2,usecols= fields)
ddf = convention_df
corpus = CorpusFromPandas(ddf,
category_col='type',
text_col='text',
nlp=nlp).build()
html = produce_scattertext_explorer(corpus,
category='real',
category_name='real',
not_category_name='fake',
minimum_term_frequency=5,
pmi_filter_thresold=4,
width_in_pixels=1000,
metadata=ddf['text'])
open('./demo.html', 'wb').write(html.encode('utf-8'))
print('Open ./demo.html in Chrome or Firefox.')
`
The data.csv can be downloaded from the google drive.
https://drive.google.com/open?id=0B3e3qZpPtccsMUdmdjVYVWFtVHM

You need to have documents in both categories for the visualization to work.   You just have two documents in the "real" category.
Also, the meta field should just be a short 'headline' about the document, not the full text.  You can always leave it out.

You should lower the minimum term frequencies as well.
It sounds like this is an really an issue with using Scattertext, so I'm going to close this.  Feel free to open an issue in that repo, but please read the documentation first.

I solved the problem by setting the encoding = 'utf8' in read_csv() function, and using the df['text'].apply(chinese_nlp) as shown in the demo_chinese.py. （My csv data is english.）
Thanks for your patience and advice!
I will cite this in my paper. It is a very interesting and useful tool.
Thanks!

Awesome.  Thanks in advance for the cite.


CLI auto-completion no longer working

System Information:

CLI version: 16.2.0+511cc1082bef7a4bbb2f83ad88c1c425c932079c
.NET Suggest: 1.1.221601

Describe the bug
The CLI auto-complete seems to no longer work.
To Reproduce
Steps to reproduce the behavior:

Performed the steps from the doc
Auto-complete doesn't seem to work like it's shown in the GIF on the doc

@LittleLittleCloud can you confirm whether auto-completion can still be used. If so, how can you go about setting it up?

The auto-completion haven't been set up yet for the current mlnet.cli (the version after 0.15.1) so I'm afraid that you can't use it for now. We have a working item on it a long time ago but it's of low priority and might be already buried under the dust. The mlnet.cli on the current document is still the old one (before 0.15.1).
@briacht let me know if we want to prioritize the auto-completion of mlnet.cli. It's worth implementing and might not be an expensive one to do (I'll need to reach out to dotnet cli team to confirm it though)

trace in #1404


Extract sync tasks (and command traits) to separate package

E.g.   protected function syncTask(), public function digipolisSyncLocal()
New package name robo-digipolis-sync

Might be more work than I anticipated initially.
Both the sync and the deploy tasks use the backup tasks, which means we'd have to create an additional package for the backup tasks.
Also the backup, sync and deploy tasks all depend on the getRemoteSettings method, which means we'd have to extract that as well. Although https://github.com/consolidation/Robo/pull/552 might be a big help here...

Let's at least wait until that PR is merged, and see what refactors might follow after that.

n.b. consolidation/Robo#552 now supports injecting default values for task setter methods from configuration. You should review that PR and the associated documentation it contains to see if it meets your use-case for configuration.


Save candidate graph instead of re-computing (if you don't need to)

Making the candidate graph can be expensive, and if the user doesn't change the edge distance, it can be re-used across runs.

Depends on #99


Swift 3.0 to master

Fixes #16 Updated to Swift 3.0 syntax using Xcode 8 GM
Description

Using open instead of public so that the class can be modified outside its own module
Enums now use lower case
Foundation updates dropping the (NS) prefix where appropriate

Status

[x] Code Review

Looks good to me 👍

Current coverage is 100% (diff: 100%)

Merging #17 into master will not change coverage

@@           master   #17   diff @@
===================================
  Files           6     6
  Lines          87    87
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits           87    87
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update dce972d...21274b8


use incremental linking for MSVC builds

Moving this proposed changed from https://github.com/microsoft/LightGBM/pull/2965#discussion_r423135643 .  While working on #2965 , I was searching around for ways to speed up builds with MSVC.
I came across a Microsoft blog, "Recommendations to speed C++ builds in Visual Studio".
One of its recommendations is to use the linker option /incremental

/incremental – Incremental link
Incremental link enables the linker to significantly speed up link times. With this feature turned on, linker can process just the diffs between two links to generate the image and thus speed up link times by 4-10x in most cases after the first build. In VS2015 this feature was enhanced to handle additional common scenarios that were previously not supported.

Recommendation:
DO USE linker switch /incremental

In this PR, I propose adding that flag to our MSVC builds. Looking for feedback from other maintainers, since I am not very familiar with Visual Studio compilers.
Questions for reviewers

should we do this at all?
if yes, should we add this to LightGBM.vcxproj per https://github.com/microsoft/LightGBM/pull/2965#discussion_r423135643?

I'd better delegate this to C++ maintainers as they know much more about MSVC linking flags than me.

I'd better delegate this to C++ maintainers as they know much more about MSVC linking flags than me.

ah! We need to add @chivee and @btrotta to the CODEOWNERS For CMakeLists.txt.

I'll do that right now.

refer to https://docs.microsoft.com/en-us/cpp/build/reference/incremental-link-incrementally?view=vs-2019

An incrementally linked program is functionally equivalent to a program that is non-incrementally linked. However, because it is prepared for subsequent incremental links, an incrementally linked executable, static library, or dynamic-link library file:
Is larger than a non-incrementally linked program because of padding of code and data. Padding enables the linker to increase the size of functions and data without recreating the file.
May contain jump thunks to handle relocation of functions to new addresses.
Note
To ensure that your final release build does not contain padding or thunks, link your program non-incrementally.

Could we only use the incremental for the tests, but not for release binaries and cmake ?

refer to https://docs.microsoft.com/en-us/cpp/build/reference/incremental-link-incrementally?view=vs-2019

An incrementally linked program is functionally equivalent to a program that is non-incrementally linked. However, because it is prepared for subsequent incremental links, an incrementally linked executable, static library, or dynamic-link library file:
Is larger than a non-incrementally linked program because of padding of code and data. Padding enables the linker to increase the size of functions and data without recreating the file.
May contain jump thunks to handle relocation of functions to new addresses.
Note
To ensure that your final release build does not contain padding or thunks, link your program non-incrementally.

Could we only use the incremental for the (slow) tests, but not for release binaries and cmake ?

Thanks! When I read that doc, I missed this:

To ensure that your final release build does not contain padding or thunks, link your program non-incrementally..

I found that the test speedup is not very much (around a minute for R builds), so I don't think introducing any if (TEST) complexity is worth it.
Based on that, I think we should just close this PR.

@jameslamb

I found that the test speedup is not very much (around a minute for R builds), so I don't think introducing any if (TEST) complexity is worth it.
Based on that, I think we should just close this PR.

I'm +1 🙂 .
BTW, is a warning msb8029 from https://github.com/microsoft/LightGBM/issues/3067#issue-615509984 about the same "incremental building"? Or it is different things?

@jameslamb

I found that the test speedup is not very much (around a minute for R builds), so I don't think introducing any if (TEST) complexity is worth it.
Based on that, I think we should just close this PR.

I'm +1  .
BTW, is a warning msb8029 from #3067 (comment) about the same "incremental building"? Or it is different things?

I don't think know if it's about the same thing, but it is definitely not caused by use of the /incremental flag. I see it on the most recent AppVeyor build on master and we don't use that flag there.

I'm going to close this PR and document that warning in an issue where we can add links and comments.

I see it on the most recent AppVeyor build on master and we don't use that flag there.

Ah, I see! However, I think warning is not saying that user is using incremental building right now. It just indicate potential issues if you will use it.

I see it on the most recent AppVeyor build on master and we don't use that flag there.

Ah, I see! However, I think warning is not saying that user is using incremental building right now. It just indicate potential issues if you will use it.

I agree with you! I think maybe Visual Studio has a way to be clever about only re-compiling things whose source files (or their dependencies) have changed within a project? Some of the answers I saw from search engines talked about that.
Anyway, I've opened #3088 for an investigation


Add module loader library to documentation

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[X ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

What is the motivation / use case for changing the behavior?
I've ported a library (from ngx-translate) to transloco, its my own library for loading mutliple translations via http. Would love to see it in the transloco documentation :smiley:
Library: https://github.com/larscom/transloco-module-loader
Working demo: https://stackblitz.com/edit/transloco-module-loader

Nice! would you like to make it an official plugin for transloco? 😃

@larscom thanks for your work. I think that your functionality is already provided out of the box in Transloco (with lazy scoping). Can you verify it from this comment, please?

@NetanelBasal i think you are right! Great work :smiley:

@larscom We really do appreciate the effort, and we'll add you to the contributors' list. We'd love to see more of you in the future 💯.

@larscom We really do appreciate the effort, and we'll add you to the contributors' list. We'd love to see more of you in the future .

Thanks alot! appreciated.


Make ImmutableRoaringArray thread-safe for read access

When calling contains() method from different threads an IllegalStateException was raised. This can be checked by running the provided unit test with the previous version of the code.
By using a duplicate buffer instead of the global one, the problem is fixed ( this is the same that the serialize method does )

Good catch.


[Performance] Optimize DFSchema search by field

Which issue does this PR close?

Closes #.
Potentially this PR can improve performance for tickets
https://github.com/apache/arrow-datafusion/issues/5309
https://github.com/apache/arrow-datafusion/issues/7698
Rationale for this change
The PR is to start improving the DFSchema performance.
Before the PR the search for specific field in the schema was O(n)  by traversing the entire fields collection.
For each iteration there were qualifiers checks, string clones etc. This routine happens for every field.
The PR introduces a hidden BTreeMap datastructure designed to search fields in the schema with O(1) complexity and datastructure will be calculated only once. And updated respectively if fields changed

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thanks @alamb I'll try suggestions

Thanks @alamb I'll try suggestions

👍

EDIT: How do you compare results from cargo bench --bench sql_planner for different commits? You run the bench for both branches and compare benches like logical_select_one_from_700

What I did was
git checkout `git merge-base comphead/dev apache/main` # checkout place where your branch diverged from main
cargo bench --bench sql_planner
git checkout comphead/dev
cargo bench --bench sql_planner

There is a bigger problem behind, even simple sql
        let sql = "select a, a + 1 b from (select 1 a union all select 2 a)";

calls Schema::new_with_metadata 58 times and Schema::merge 35 times
I'll try to look into the problem from other side to avoid excessive schema transform calls.

Adding 1 more input row
        let sql = "select a, a + 1 b from (select 1 a union all select 2 a union all select 3 a)";

rows
new_with_metadata
merge

2
58
35

3
131
83

4
165
109

Looks like a problem

Perhaps for this PR we could keep the focus on improving search by field performance with your initial implementation plus the points from @alamb? I am curious to see if we could still get some gains just from that and then separately look into how merge / new_with_metadata are called.

Perhaps for this PR we could keep the focus on improving search by field performance with your initial implementation plus the points from @alamb? I am curious to see if we could still get some gains just from that and then separately look into how merge / new_with_metadata are called.

Thanks @matthewmturner I just checked that we probably going into the wrong direction. So index_of_column_by_name its not a bottleneck, and its called just 6 times. The bigger problem is excessive calling schema transform functions, so this PR doesn't make sense anymore. It cannot bring up a benefit for now, I'm closing it and will create another issue to optimize the optimizer :)  in schema part

Filed https://github.com/apache/arrow-datafusion/issues/9144


Offline XRM WebAPI requests produce exact same result as online for lookup fields.

As per the documentation the lookup fields are supposed be different for offline and online. However, when we test the lookup fields _primarycontactid_value works well in offline and produces results (didnt had to change primarycontactid. Is there any update to documentation on this scenario?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f0c196bb-4bbb-80e2-0bba-42d130621024
Version Independent ID: 56d1575c-1868-34c6-992d-e3797024e413
Content: retrieveMultipleRecords (Client API reference) in model-driven apps - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-WebApi/retrieveMultipleRecords.md
Service: powerapps
Sub-service: mda-developer
GitHub Login: @adrianorth
Microsoft Alias: aorth

Thanks for your comment, @irah2008. This issue has been assigned to the doc author for review.


Add IDs to input elements in examples and remove empty .prettierrc files

Input elements were missing IDs, which are necessary for labels to reference them correctly using the 'for' attribute. This is better for accessibility and now when you click the labels it should automatically focus the input.
Empty .prettierrc files were overwriting the global Prettier configuration in the react-examples causing prettier to replace all singlequotes with doublequotes and add semicolons.

Can we split out the prettier changes from the ID changes into two PRs? :)

I will do that


wsl.exe sets first argument as SHELL breaking posix compatibility and gdb

Windows Version
Microsoft Windows [Version 10.0.19045.3570]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) #1 SMP Fri Jan 27 02:56:13 UTC 2023
Distro Version
Ubuntu 20.04
Other Software
python3
gdb
Repro Steps
wsl.exe --distribution Ubuntu-20.04 --exec "python3" -c "import os; print(os.environ['SHELL'])"
python3

The output is python, but according to POSIX SHELL variable should point to the valid language interpreter.
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html

SHELL
This variable shall represent a pathname of the user's preferred command language interpreter. If this interpreter does not conform to the Shell Command Language in XCU Shell Command Language, utilities may behave differently from those described in POSIX.1-2017.

That is a problem.
gdb uses SHELL var to execute commands:
https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_19.html#SEC20

Warning: On Unix systems, GDB runs your program using the shell indicated by your SHELL environment variable if it exists (or /bin/sh if not)

As result. gdb doesn't work:
c:\>wsl.exe --distribution Ubuntu-20.04 --exec "/bin/gdb"
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) file /bin/bash
Reading symbols from /bin/bash...
(No debugging symbols found in /bin/bash)
(gdb) run
Starting program: /usr/bin/bash
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
/mnt/c/exec /usr/bin/bash : No such file or directory.
(gdb)

Expected Behavior
SHELL shouldn't be set at all or point to valid shell
Actual Behavior
SHELL points to the first argument
Diagnostic Logs
No response

@throwable-one why not use -- instead of --exec.
From wsl.exe help:
Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --shell-type <standard|login|none>
        Execute the specified command with the provided shell type.

    --
        Pass the remaining command line as-is.

You'll notice that the environment is not the same, depending on invocation method:
PS C:\Users\zcobol> wsl.exe --exec python3 -c "import os; print(os.environ['SHELL'])"
python3

PS C:\Users\zcobol> wsl.exe -- python3 -c "import os; print(os.environ['SHELL'])"
/bin/bash

Use print(os.environ) to see the all differences.

Fixed with https://github.com/microsoft/WSL/releases/tag/2.0.8.

It seems wsl is doing the right thing when using --exec, as @zcobol pointed out. Why was a fix needed?

@zcobol But WSL  would use shell then, not my bare command.
@asampal There is nothing in WSL documentation that says I can't use arbitrary command with --exec, hence --exec python is valid usage. But POSIX claims explicitly that SHELL variable should point to a shell.
@benhillis thank you for this fix


Fixes #601

Still thinking about the best way to do it, but its important to me that this gets fixed


Build new Fabric v2 core utilities from script and related documentation update

We need v2 binaries (peer, configtxgen, cryptogen, orderer) built from source for ledger created it in our integration tests (fabric/bin/lib/*, integration/*sh), see related #254

Fixed with #260. Fabric v2 is now available inside dev-docker and travis.

Fixed with #260. Fabric v2 is now available inside dev-docker and travis.


Image in huggingface docs has typo

System Info
N/A
Information

[ ] The official example scripts
[ ] My own modified scripts

Reproduction
The image on the first page of the huggingface docs (https://huggingface.co/docs/safetensors/en/index) is incorrect as it shows the tensor entries in the header having a key named offsets instead of data_offsets:

Expected behavior
The image should say data_offsets instead of offsets.

Oh, I just realized there is a link to how I can update this, I will put up a PR

Filed an issue here: https://huggingface.co/datasets/huggingface/documentation-images/discussions/387


Don't use binding APIs in sample.

Remove use of new binding Sender/Receiver APIs in receive adapter.

/close
I think some of #3  by @syedriko  /  @lberk


Crash with RTX Remix due to unknown backbuffer format

This change causes a crash with RTX Remix, as the backbuffer format is unknown.
https://github.com/elishacloud/dxwrapper/commit/5e8858531ee793ee36a6b032983d01930c212dfd?diff=split

Looks like this will get fixed with PR #185

I changed this with "BPP = Utils::GetBitCount(hWnd);" as suggested before and it works.


jobtype reported to dashboard Processing and processing

it looks like both Processing and processing jobtype are reported to the dashboard.

where is the capitalization coming from and can we get rid of it ?

I had a look at it a couple of weeks ago and I could not spot any place changing it.
I'll come back to it once higher priority issues are sorted out.

maybe the capitalization is in dashboard itself


Request for access to installer build jobs

I request access to the installer build jobs on Adopt jenkins.
E.g. https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/create_installer_windows/
This access is requested because I'm now working on build and test failure triage at Adopt.

I approve

I approve

Shall we just add Adam to the installer team?

Done (Need to streamline this a bit...)


Running the app and then running unit tests causes crash

Running unit tests ⌘U will crash if the app was run ⌘R on the device previously. To work around this delete the app and then run unit tests.
The problem seems to be caused by application(_:configurationForConnecting:options:) not always getting called at launch.

I have submitted feedback to Apple to learn more about this.

Closing this issue for now. Please reference project README to workaround this issue.


#18778 Set global search property for autocomplete search

Check table column names autocompletion with and without Global search option.

verified


Bug fix for FSPG getPrivateDnsZoneSuffix endpoint

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
2021 June
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
2021 July
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[x] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

This API is being called with a POST action in public azure across 110 different subscriptions in the last 3 days.  If this is changing to a GET it is a breaking change that must go through review.  It also probably isn't the right change given the current usage.  If it DOES need to change to a GET the resource type name is not appropriate (the "get" prefix specifically and the fact that its not plural).

Closed PR because after discussed with tazhang, we decided to change backend to POST, so no swagger change needed.


Dialog open in activate does not work on first load with router.

I'm submitting a bug report

Library Version:
1.0.0-beta.3.0.1

Please tell us about your environment:

Operating System:
Linux fedora 23

Node Version:
6.2.2

NPM Version:
3.9.5

JSPM OR Webpack AND Version
webpack 2.1.0-beta.22

Browser:
Chrome 53

Language:
TypeScript 2.0.0

Current behavior:
I am calling this.dialogService.open from an activate method.
When I first go to the page or refresh the page so the constructor is called the dialog open does not result in the dialog being displayed.
However, if I click on another entry in the top level menu provided by the router and then naviagate back to the original page the dialog displays fine. In ther later case the constructor is not called.
The only difference I can is is hasActiveDialog is true when the dialog displays but false when it does not work at the point open is called.
Expected/desired behavior:

Can't create a gistrun with aurelia-dialog so have made a repository at
https://github.com/glennpierce/test/tree/master/src
Go to any page and do a refresh and the dialog fails to display. Clinking between toplevel menu items will display the doalog.

What is the expected behavior?

The dialog should display of first load.

What is the motivation / use case for changing the behavior?

To display a dialog :)

I'll have time to check it as early as tomorrow. If you want you can chain a .catch to the .open method and see the error, if any.

Not sure if I'm doing anything wrong but I can't get a catch handler to trigger.

@glennpierce It's strange that the catch doesn't work. Also I'm not much into webpack, but in the webpack.config.js I don't see anything about the dialog, is it normal? I'll first try it on the sample app first

So I tried it with the skeleton-navigation/skeleton-esnext and it worked. When I try to run your sample I get TypeError: webpack.validateSchema is not a function after running npm start.

I just used npm install aurelia-dialog --save like in the install instructions.
Don't think I needed to edit webpack.config.js
I have updated the source to solve the validateSchema error.
I had to use a different version of webpack
ie

"webpack": "2.1.0-beta.22",
"webpack-dev-server": ">=2.1.0-beta.0 || ^2.1.0"

"webpack": "^2.1.0-beta.22",
"webpack-dev-server": "^1.16.2"

Ok, so I manged to run it and got Unhandled rejection Error: Cannot find module './77.html'.. Check #231 and #213. I'll look though where the promise chain breaks and the rejection is not propagated to the .open() method.

If it helps stepping through the code slowly the dialog does display when returning the promise from the showDialog function but then something closes it. However, I can't seem to capture what does that.

@glennpierce Found it, sorry for the delay.  The problem is that the modal container is put in the body, also aurelia-app="main" is put on the body, so when navigation completes(after activate settles), the content of the body is replaced. You can try to add a div and put aurelia-app="main" on it. Then the dialog will be visible after the navigation completes.

No worries about the delay. Thanks a lot for helping.
I did your suggestion of putting aurelia-app="main" in a div and it works great. It may be worth added a note in the docs as I would think it may be a common mistake.
Again thanks for the help.

@glennpierce @StrahilKazlachev Is this an issue with the dialog that needs a note or with WebPack?

@PWKad I would say neither, it's just how Aurelia works. But it doesn't hurt to add note.

Gotcha, sounded specific to WebPack (presumably the plugin is loaded before the app is replaced?) but if it is cross-loaders than I think we can add a quick note.

@StrahilKazlachev so I'm moving the discussion about webpack + dialog startup here.
I think that the <body> think is a gotcha and not a great experience for users. It also happens that you don't want a <div> at the root (happened to me before).
The cause here is that Webpack resolves everything very quickly and synchronously. This can result in a different execution sequence from what you might have been used to with AMD (or others).
I can offer you two suggestions to remedy the situation.

@niieani encountered similar issue with tests failing with Webpack at first.
We fixed the Aurelia booting sequence (there were unobserved Promises...) and exposed a Promise to reflect the boot status (there was an event but if you haven't subscribed when it fires then it's useless).

Now you can easily and reliably execute code after Aurelia has started by using the starting Promise exported by aurelia-bootstrapper. It resolves when all Aurelia application on the page have started.
import { starting } from "aurelia-bootstrapper";
starting.then(() => {
  // Do stuff you need to do when Aurelia has started
});

It would be even better if you did not modify the DOM at startup.
I am not sure what you insert in DOM at first, I suspect a backdrop <div>?
In my own dialog library, we insert and remove the backgroup (and the rest) each time a dialog is shown/hidden.
Lazily modifying the DOM has several advantages:

faster startup
smaller DOM at runtime
less interferences with other code

@jods4 I think there is some misunderstanding, I'll try to explain what happens.

the dialog does no DOM modifications at startup
the dialog modifies the DOM only when a dialog is being open, when it is being attached to the DOM tree(for now)
starting is too early
the issue comes from Aurelia replacing the content of the aurelia-app marked element

this issue was about opening a dialog in the .activate hook of the route VM on first app load

the dialog gets open(placed in the body) during the navigation
when the navigation completes the content of the aurelia-app(body) element gets replaced, but the dialog is already in the body, so it gets removed

I still think this is not Webpack specific.

will address it in the docs

I'm only not sure why the contents of app.html are not rendered before/while navigating(the route content do go in the router-view), hence replacing the aurelia-app content early on.


Pool close fixes

This PR fixes a bug in pool.close() that occurs when deleting while iterating over a dictionary as well as a typo in a test assertion.

Coverage remained the same when pulling ae73299a0d5f833b7675a3ef8a7da1b94290a9c5 on chrismcguire:pool-close-fixes into 9a4f4ab7590ac801b6b447495ded7fc5bae047be on gmr:master.

Coverage remained the same when pulling f4ed482eafa4bdc02fc87d37f2e2f75348f62fa4 on chrismcguire:pool-close-fixes into 9a4f4ab7590ac801b6b447495ded7fc5bae047be on gmr:master.

Thanks!


ZeroDivisionError when run command train

When I run the command sh train.sh data/monument_300 120000 the following error appears ZeroDivisionError: integer division or modulo by zero

Hi @HuuDung, check the way data is being split in split_in_train_dev_test.py file, that will tell you why this error is happening.

Hi @panchbhai1969 , thank you for help me.That error has been resolved but now there is another error


[BUG] FPS capped at 60

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
I have read the wiki and tried a few things such as:

disabling additional flags
reinstalling Roblox
disabling any power reduction settings (laptop)

As of writing this I noticed that the flag itself doesn't seem to work anymore. And yes, other flags are still functional.

Could you send a screen shot of your flags?

If everything else is working, then it's definitely something on your PC that's capping it. As far as I'm concerned, Bloxstrap is doing its job correctly. Also, as shadow said, posting a list of all your flags would be helpful.

The issue has been fixed. Flags weren't the cause. It was all due to NVIDIA's whisper mode refusing to toggle off and thus limiting the framerate.