Running/debugging does not work with x64 version of io.js (but does with x86)

I spent a few hours trying to figure out why debugging doesn't work with io.js despite the wiki documentation saying that it should. Turns out you can't use the x64 version. It might launch the first time and run. But you'll never hit a breakpoint or anything. The x86 version works just as you would imagine.
Is this a bug? Expected behavior? Should we update the documentation?
Using:

io.js 2.3.2 (x86 and x64): https://iojs.org/dist/v2.3.2/
NTVS 1.1 Beta: https://nodejstools.codeplex.com/releases/view/614706
Visual Studio 2013 Ultimate - Update 4 (non-elevated)

Thank you for this awesome tool!

Definitely a bug, not expected behavior. We should make a note of it in the docs until it's fixed, though.

@alejandro5042 just noticed you're using 1.1 Beta - Have you tried one of our latest dev builds? https://github.com/Microsoft/nodejstools/releases

Unfortunately, I can still reproduce the issue with the 7-15-2015 dev build. When I hit run, my app immediately launches and is up and running before Visual Studio catches up several seconds later and switches to debug mode (with all the tool windows).

Hey, we just added a live diagnostics feature to help us get to the bottom of issues like this that are difficult for us to repro - mind trying it out? More details here: https://github.com/Microsoft/nodejstools/issues/246#issuecomment-127715686

I just verified this with the latest bits from io.js and NTVS. Taking a look...


Refactor EdgeCoverageInstrumentor

The aim of this refactoring is to decouple the edge coverage instrumentation from the coverage map class as well as split its logic into three clearly defined parts:

An EdgeCoverageStrategy determines the actual type of bytecode instrumentation applied, which depends on the particular nature of the counters field of the coverage map class.
The EdgeCoverageInstrumentor class, which realizes the instrumentation strategy described by an EdgeCoverageStrategy using JaCoCo. This is the only part of the code that uses JaCoCo classes.
The makeTestable function in the test module, which can now mock the coverage map without requiring testing-related hooks in the other parts.

This refactoring should make it easier to modify and replace parts of the edge coverage instrumenation mechanism more easily, as well as test and benchmark them in isolation.

@bertschneider I reworked the design a bit, but didn't change anything major. I decided to force-push since that way you don't have to review a class that's removed in a follow-up.


Enhancement: add support for 'if-match' precondition in header object…

Add support for condition headers when heading an object.
Such as If-Match、If-Modified-Since、If-None-Match and If-Unmodified-Since.
Signed-off-by: yuboLee<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@LeeYubo Conflicting files
objectnode/result_error.go  ,please resolve conflicts


create-cluster allows Capture VPC CIDR to be user-set

Description

Added a new CLI option to create-cluster to enable users to set the Capture VPC's CIDR when they first create it.  If they attempt to change it afterwards, they get an error and aren't allowed to proceed.  That's because it's not possible to change the CIDR without deleting/recreating the entire cluster.
Still need to add some logic to warn the user if they don't have enough IPs in their VPC for their Capture settings.

Tasks

https://github.com/arkime/aws-aio/issues/118

Testing

Added/updated unit tests
Ran create-cluser from scratch with a custom CIDR, then confirmed I could update other cluster behavior using the command as long as it wasn't the CIDR.

(.venv) chelma@3c22fba4e266 aws-aio % ./manage_arkime.py cluster-create --name MyCluster --capture-cidr <IP_ADDRESS>/24
2023-08-30 08:01:06 - Debug-level logs save to file: /Users/chelma/workspace/Arkime/aws-aio/manage_arkime/manage_arkime.log
2023-08-30 08:01:06 - Using AWS Credential Profile: default
2023-08-30 08:01:06 - Using AWS Region: default from AWS Config settings
2023-08-30 08:01:07 - Cost estimate report:
.
.
.
2023-08-30 08:01:11 - Generating self-signed certificate...
2023-08-30 08:01:11 - Certificate generated
2023-08-30 08:01:12 - Ensuring Arkime Config dir exists for cluster: MyCluster
2023-08-30 08:01:12 - Arkime Config dir exists at: /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2
2023-08-30 08:01:12 - Copying default Arkime Config to dir: /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2
2023-08-30 08:01:12 - Determining the status of S3 bucket: arkimeconfig-XXXXXXXXXXXX-us-east-2-mycluster
2023-08-30 08:01:13 - S3 Bucket arkimeconfig-XXXXXXXXXXXX-us-east-2-mycluster does not exist; creating it to hold Arkime Configuration
2023-08-30 08:01:14 - Uploading Arkime config for Capture Nodes...
2023-08-30 08:01:14 - Turning Capture configuration at /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2/capture into archive at /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2/capture.zip
2023-08-30 08:01:15 - Uploading config archive to S3 bucket: arkimeconfig-XXXXXXXXXXXX-us-east-2-mycluster
2023-08-30 08:01:15 - Uploading Arkime config for Viewer Nodes...
2023-08-30 08:01:16 - Turning Viewer configuration at /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2/viewer into archive at /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2/viewer.zip
2023-08-30 08:01:16 - Uploading config archive to S3 bucket: arkimeconfig-XXXXXXXXXXXX-us-east-2-mycluster
2023-08-30 08:01:17 - Executing command: deploy MyCluster-CaptureBucket MyCluster-CaptureNodes MyCluster-CaptureVPC MyCluster-OSDomain MyCluster-ViewerNodes
2023-08-30 08:01:17 - NOTE: This operation can take a while.  You can 'tail -f' the logfile to track the status.
2023-08-30 08:44:31 - Deployment succeeded

(.venv) chelma@3c22fba4e266 aws-aio % ./manage_arkime.py cluster-create --name MyCluster
2023-08-30 09:18:52 - Debug-level logs save to file: /Users/chelma/workspace/Arkime/aws-aio/manage_arkime/manage_arkime.log
2023-08-30 09:18:52 - Using AWS Credential Profile: default
2023-08-30 09:18:52 - Using AWS Region: default from AWS Config settings
2023-08-30 09:18:53 - Cost estimate report:
.
.
.
2023-08-30 09:18:56 - Ensuring Arkime Config dir exists for cluster: MyCluster
2023-08-30 09:18:56 - Arkime Config dir exists at: /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2
2023-08-30 09:18:56 - Copying default Arkime Config to dir: /Users/chelma/workspace/Arkime/aws-aio/config-MyCluster-XXXXXXXXXXXX-us-east-2
2023-08-30 09:18:56 - Cluster config directory not empty; skipping copy
2023-08-30 09:18:56 - Determining the status of S3 bucket: arkimeconfig-XXXXXXXXXXXX-us-east-2-mycluster
2023-08-30 09:18:56 - S3 Bucket arkimeconfig-XXXXXXXXXXXX-us-east-2-mycluster already exists; no work needed
2023-08-30 09:18:56 - Uploading Arkime config for Capture Nodes...
2023-08-30 09:18:57 - Config has been uploaded previously; skipping
2023-08-30 09:18:57 - Uploading Arkime config for Viewer Nodes...
2023-08-30 09:18:57 - Config has been uploaded previously; skipping
2023-08-30 09:18:57 - Executing command: deploy MyCluster-CaptureBucket MyCluster-CaptureNodes MyCluster-CaptureVPC MyCluster-OSDomain MyCluster-ViewerNodes
2023-08-30 09:18:57 - NOTE: This operation can take a while.  You can 'tail -f' the logfile to track the status.
2023-08-30 09:22:56 - Deployment succeeded

(.venv) chelma@3c22fba4e266 aws-aio % ./manage_arkime.py cluster-create --name MyCluster --capture-cidr <IP_ADDRESS>/16 --preconfirm-usage
2023-08-30 09:23:18 - Debug-level logs save to file: /Users/chelma/workspace/Arkime/aws-aio/manage_arkime/manage_arkime.log
2023-08-30 09:23:18 - Using AWS Credential Profile: default
2023-08-30 09:23:18 - Using AWS Region: default from AWS Config settings
2023-08-30 09:23:20 - You can only set the Capture VPC CIDR when you initially create the Cluster, as changing it requires tearing down the entire Cluster.  Aborting...

License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Looks like all the comments are about making sure the CIDR is the right size; had changes in flight to address in a follow-up PR but will pull into this PR.

lol sorry, if you want to wait thats fine too


About test.

Thank you for the realization, great job. I was wondering if you submitted the seq11-21 prediction results to test codalab?
As far as I know, there is a large difference between the valid and test of the Semantickitti dataset.

Moreover would you like to show me where does the code do the RS(Random Sampling).
As the author say in appendices:

https://github.com/tsunghan-mama/RandLA-Net-pytorch/blob/198f3cfff52f7ada9fc74baf73e1763c612fe043/dataset/semkitti_trainset.py#L39-L46
Look like is in here generate a key value of center_point and then use query to get number of cfg.num_points points. It's this mean RS(Random Sampling).?

For question 1: Due to the long inference time, we do not evaluate our reimplementation models on seq 11-21. However, we appreciate your comment and admit that there might be a large performance gap between val & test set.
For question 2: Yes.

Thanks a lot for your answer. Moreover, I want to raise your attention about this issues from offical repo? Have you check this part. Look like will a littile infuence the result.
Moreover, look like the way you caculate the loss is not similar to offical repo. This is the log from Hu .
log_train_SemanticKITTI_08.txt
And this is your repo loss log which I gain.
log_train.txt
Look like a little different.

hi@huixiancheng,if you inference on semantickitti test area,i got a process killed problem when i test on sequences 13 ,19,21.could you give me some seggestions?


phpunit: generic search tests

adding phpunit generic search tests

each model must have tests for the genericSearch interface.


Limit results in Sherlock

Seems like sherlock is not putting any limit on the returned results. This should be parameterized and given a reasonable default.

Closed by b18bae832ebf77e825d6eccb7d16ada17ca1be4d


Web tools 2015 beta6 does not detect VS2015 if it is not running

subj

@joeloff thoughts?

The installer does check to see if VS is installed, but we don't check to see whether its running. If anything it should not be running. We don't block on running process because a silent install would simply kill the active processes and users can lose unsaved work.
@sichevmi are you saying that unless VS (devenv process) is running, WTE blocks the install from proceeding? That's currently the only check we're doing to see whether you have VS installed that's applicable.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain spinthemoose.com has exceeded the max emails per hour (246/200 (123%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext1.iad.github.net ([<IP_ADDRESS>]:38476 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from<EMAIL_ADDRESS>id 1eVkIU-0001UG-6i
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 14:33:30 -0600
Date: Sun, 31 Dec 2017 12:33:09 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1514752389;
bh=DrWw1FEMxH6/YWGXVkZfjrFxefxrwifWTmOJCbVomQs=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=RuhQmHw5e2RhxVzoGeUVWy3XmNqoUPw9fZoSPTRyOcDDl3PUf/P2+ofOIwbRZmAPK
mJAu+NPeIEpdOl5+4c5yHRBo/aYUpTtTuUJROgpLptB7rzGjFeiV4seUyOrhU1L31A
tsBvceDThtNoDss7AICmNPEYH+5wbGZOc1W2NsgA=
From: "ASP.NET Hello Bot"<EMAIL_ADDRESS>Reply-To: aspnet/Home<EMAIL_ADDRESS>To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [aspnet/Home] Web tools 2015 beta6 does not detect VS2015 if it
is not running (#786)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a4949859834e_26c923f967d01cf2c410608f";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AACpRMEL850QFEhPdbG4lIP2JeFOEyWqks5tF--FgaJpZM4FjZL4
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_5a4949859834e_26c923f967d01cf2c410608f
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Home/issues/786#issuecomment-354622666
----==_mimepart_5a4949859834e_26c923f967d01cf2c410608f
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue is being closed because it has not been updated in 3 months=
.
We apologize if this causes any inconvenience. We ask that if you are =
still encountering this issue, please log a new issue with updated inform=
ation and we will investigate.
&m=
dash;You are receiving this because you are subscribed to this thre=
ad.Reply to this email directly, view it on GitHub, or mute the thread.

=
----==_mimepart_5a4949859834e_26c923f967d01cf2c410608f--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain spinthemoose.com has exceeded the max emails per hour (247/200 (123%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o11.sgmail.github.com ([<IP_ADDRESS>]:47592)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from<EMAIL_ADDRESS>id 1eVkIZ-0001Uf-8F
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 14:33:35 -0600
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=cXSuVWuikSOISf94kAXmYziIu9s=; b=PdHHWzTRDsZLdjk5
cKJJnXcxQBISHmh9sG95ZLu2nV6dSN2oPvUKQ4rJDCUsdiw74k3VAPe/cSUE1tsT
kJrkuHk6H2cAtCBF1xIXGRnDAv0ef5xLwUCteVtJu8cG2+GruMD1KJIk9BpBX5OF
/X4SFOhikj5TYCADPYIpyXQBeaw=
Received: by filter1153p1mdw1.sendgrid.net with SMTP id filter1153p1mdw1-16009-5A494986-2
2017-12-31 20:33:10.103431875 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [<IP_ADDRESS>])
by ismtpd0022p1iad2.sendgrid.net (SG) with ESMTP id KVrxGFDMSNqiY1fAj1RRDQ
for<EMAIL_ADDRESS>Sun, 31 Dec 2017 20:33:10.126 +0000 (UTC)
Date: Sun, 31 Dec 2017 20:33:10 +0000 (UTC)
From: "ASP.NET Hello Bot"<EMAIL_ADDRESS>Reply-To: aspnet/Home<EMAIL_ADDRESS>To: aspnet/Home<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [aspnet/Home] Web tools 2015 beta6 does not detect VS2015 if it
is not running (#786)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a494985ebc59_4ac83fa0ff61ef381625560";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AACpRMEL850QFEhPdbG4lIP2JeFOEyWqks5tF--FgaJpZM4FjZL4
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-SG-EID: rlj3t9ahcX0BZUzAOlajQ3VmBXo43xFJc4M1ImIDJhEk74tOqgO36cmQGF559DDUSYhNrkBbl82Eyy
zF3g/arvh1yLPJIerdwTZHmCIByfVTM6Yryp8oYBMQ00nIaxF2zfgGI3NJYWR08AgCjWiYSB4rmym0
8gGzcWrF4a6gIph+Lg4qX0MUiuRcXHtlsberydXGi2HpWi5DUThk3QUBwtn8a9RxKVuaRJEbOU1GiS
PmUH+4i2O9eQzX/GDogY27
----==_mimepart_5a494985ebc59_4ac83fa0ff61ef381625560
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #786.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/aspnet/Home/issues/786#event-1405408831
----==_mimepart_5a494985ebc59_4ac83fa0ff61ef381625560
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #786.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5a494985ebc59_4ac83fa0ff61ef381625560--


Ingress routing broke after service update with start first

Can't access ports after update service with start first (ingress routing). Disabling start first is resolving issue.
Steps to reproduce the issue:

docker service create --name httpd -p 8001:80 httpd:2.4

iptables --list DOCKER-INGRESS -n
Chain DOCKER-INGRESS (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:8001
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            state RELATED,ESTABLISHED tcp spt:8001
RETURN     all  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0

docker service update --update-order start-first httpd

docker service update --publish-add target=80,published=8002 httpd

iptables --list DOCKER-INGRESS -n  (no any port after update)

Chain DOCKER-INGRESS (1 references)
target     prot opt source               destination
RETURN     all  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0

systemctl restart docker

iptables --list DOCKER-INGRESS -n

Chain DOCKER-INGRESS (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:8002
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            state RELATED,ESTABLISHED tcp spt:8002
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:8001
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            state RELATED,ESTABLISHED tcp spt:8001
RETURN     all  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0

docker service update --publish-add target=80,published=8003 httpd

iptables --list DOCKER-INGRESS -n

Chain DOCKER-INGRESS (1 references)
target     prot opt source               destination
RETURN     all  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0
Describe the results you received:
Not working ports, No Ingress chain in iptables.
Describe the results you expected:
port forward should work, Ingress route in iptable for ports.
Output of docker version:
Docker version 19.03.5, build 633a0ea
centos-release-7-7.1908.0.el7.centos.x86_64

Output of docker info:
 docker info
Client:
 Debug Mode: false

Server:
 Containers: 3
  Running: 2
  Paused: 0
  Stopped: 1
 Images: 17
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: active
  NodeID: yxckzh2e1ywppfe8zk56jrc82
  Is Manager: true
  ClusterID: pqxp4ceu8bfd3l29jko9284un
  Managers: 1
  Nodes: 1
  Default Address Pool: <IP_ADDRESS>/8
  SubnetSize: 24
  Data Path Port: 4789
  Orchestration:
   Task History Retention Limit: 5
  Raft:
   Snapshot Interval: 10000
   Number of Old Snapshots to Retain: 0
   Heartbeat Tick: 1
   Election Tick: 10
  Dispatcher:
   Heartbeat Period: 5 seconds
  CA Configuration:
   Expiry Duration: 3 months
   Force Rotate: 0
  Autolock Managers: false
  Root Rotation In Progress: false
  Node Address: {IP}
  Manager Addresses:
   {IP}:2377
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 3.10.0-1062.4.1.el7.x86_64
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 1
 Total Memory: 1.905GiB
 Name: v61-test
 ID: MOJO:D6CD:IWTJ:DBJD:SHIK:5WCE:NDQV:VULI:2PNF:MQZN:27BH:Y7F4
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 55
  Goroutines: 180
  System Time: 2020-01-20T10:45:28.254867753-05:00
  EventsListeners: 2
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  {REGISTRY}:5000
  <IP_ADDRESS>/8
 Live Restore Enabled: false

WARNING: API is accessible on http://<IP_ADDRESS>:2375 without encryption.
         Access to the remote API is equivalent to root access on the host. Refer
         to the 'Docker daemon attack surface' section in the documentation for
         more information: https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface

Additional environment details (AWS, VirtualBox, physical, etc.):
Test was made on VM (Hyper-V)

This issue is for https://github.com/docker/swarmkit not the old standalone Swarm.


[WIP] Unify index command

This PR is based on #3614
Why is this PR needed?
What changes were proposed in this PR?
This PR unifies index datamap command and secondary index command
Does this PR introduce any user interface change?

No
Yes. (please explain the change and update document)

Is any new testcase added?

No
Yes

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/402/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2103/


Reduce the available string option validators to one generic function

This PR should lower the maintenance effort for the available and maybe introduces options as well as help with the overview of the different types of them.
The dedicated option validators for the string options have been removed and one generic has been introduced to automatically handling a list of pre-defined strings.

I like this idea, in particular because it would allow to implement generic switching between possible values of an option (in a circular fashion) via a command or a hotkey, as a generalization of the feature requested in #2086 (i.e. provide this toggling not just for boolean options but also for such "choice" options).

A possible extra improvement on top of this one is to automate the autocompletion check in OptionValueComplete() (as you noted yourself in https://github.com/zyedidia/micro/pull/2876#issuecomment-1652251985).

Absolutely right, that's the perfect moment to introduce and generalize this too.


Bugfix for Unknown URL Scheme in Android

Bugfix for "Unknown URL Scheme" error in Android.
In the demo code below, I'm using the nativejstn scheme as an example, it could be anything. The custom URL scheme must be added into the originWhitelist array in order to work.
const _onShouldStartLoadWithRequest = (request) => {
    if (request.url.indexOf('http') === 0) {
        return true
        } else if (request.url.indexOf('nativejstn') === 0) {
        console.log(request.url)
        }
    return false
}

return (
    <View style={{width:'100%',height:'100%'}}>
        <WebView
            source={{ uri: 'https://www.example.com' }}
            onShouldStartLoadWithRequest={_onShouldStartLoadWithRequest.bind(this)}
            originWhitelist={[
                    'https://*',
                    'http://*',
                    'nativejstn://*',
                    'about:*',
                ]}
            />
        </View>
    )

@lrusso It's not clear to me what bug this is supposed to fix or how it fixes it? Is there an open issue that discusses the problem?

I found out that increasing that delay makes the URL schemes to work in Android. Otherwise, you get the ERR_UNKNOWN_URL_SCHEME message in the WebView.
https://github.com/react-native-webview/react-native-webview/issues/1719
https://github.com/react-native-webview/react-native-webview/issues/1135

@lrusso does increasing that timeout fix the issue in most cases? I'm running into a similar issue and would love a potential fix

Yes, it works with all Android devices. Increase the timeout if you see that in some device is not working. It is the only way to fix this issue.


Uname in the msys2 console

We have written the needed data into your clipboard
Type: Bug
On MSYS2 the uname in "makefile tools" is different to that in the MSYS2 console which makes configuring wxWidgets fail. Also MSYS64/mingw64/bin is missing from the path. My workaround was:
"terminal.integrated.profiles.windows": {
        "msys64 - bash": {
            "path": "C:\\msys64\\usr\\bin\\bash.exe",
            "env": {
                "MSYSTEM": "MINGW64",
                "CHERE_INVOKING": "1",
                "MSYS2_PATH_TYPE": "inherit",
                "PATH": "${env:PATH}:/C/msys64/mingw64/bin"
	        },
            "args": ["--login"]
     }
    },
    "terminal.integrated.defaultProfile.windows": "msys64 - bash",

Hope that this is a bug, not a feature.
 Please paste.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.71.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

We don't have a detected profile for msys64 or anything so it's up to you to set it up, looks like they need a bunch of environment variables and --login passed in to get it the way you want it. So this is probably by design on their end.


language/stacktrace_demangle_ctors_test fails with -c precompiler -r dart_precompiled

Bisecting says it was introduced in f20b32b7936ed0ce071f8991a7030705c8aacf19.
python tools/test.py -mrelease -c precompiler -r dart_precompiled language/stacktrace_demangle_ctors_test
Test configuration: precompiler_dart_precompiled_release_x64

FAILED: precompiler-dart_precompiled release_x64 language/stacktrace_demangle_ctors_test
Expected: Pass
Actual: RuntimeError
CommandOutput[precompiler]:
CommandOutput[assemble]:
CommandOutput[remove_assembly]:
CommandOutput[vm]:

stderr:
Unhandled exception:
Expect.isFalse(true) fails.
#0      Expect._fail (package:expect/expect.dart:464)
#1      Expect.isFalse (package:expect/expect.dart:142)
#2      main ([...]/tests/language/stacktrace_demangle_ctors_test.dart:35)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
[...]

For now I will update the status file.

language/stack_trace/demangle_ctors_test currently passes on all VM bots, including vm-aot-linux-release-x64.


UUID Grabber

Please add the ability to grab a floodgate user's uuid and set it as a variable. This would be really good for setting permissions, etc.

Sure.

Added with https://github.com/DoctorMacc/floodgate-skript/commit/9564a01a6ca5f3472e26b74497014a0e648a8942.


Add mount options to volume plugin API

- What I did
We added volume mount options to the volume plugin API and surfaced that to the cli user by extending docker run's volume mount spec.
- How to verify it
Inside the development container with these pull request changes:-

Build the binaries and run the docker daemon as per the development guidelines
Go get our "test" localdriver (that we added a mount option to)

go get github.com/cloudfoundry-incubator/localdriver/...

Run the localdriver

 mkdir -p /run/docker/plugins/ && localdriver -listenAddr=/run/docker/plugins/localdriver.sock -transport=unix &

Use docker to create a volume (the options here is setting up a lookie likie basic auth, the point being we will have to pass the passcode as a mount option

docker volume create --driver=localdriver --name local-volume --opt volume_id=local-volume --opt passcode=topsecret

Run a docker container that touches a file on the created volume (but don't set the passcode) in order to see it fail

docker run --name hello-world -v local-volume:/data:rw --volume-driver=localdriver busybox /bin/sh -c "echo Hellopersistentworld > /data/hello.world"

You should see it fail with output like this:-
DEBU[56925] Assigning addresses for endpoint hello-world2's interface on network bridge
DEBU[56925] Programming external connectivity on endpoint hello-world2 (83b536c04badb6e00c48c662a0f8e9517241e93a7cbff27a2803cd7b5b9b4509)
{"timestamp":"1469201235.981245756","source":"local-driver-server","message":"local-driver-server.server.handle-mount.start","log_level":1,"data":{"session":"1.9"}}
{"timestamp":"1469201235.981326580","source":"local-driver-server","message":"local-driver-server.server.handle-mount.mount.missing-passcode","log_level":1,"data":{"session":"1.9.1","volume":"local-volume","volume_name":"local-volume"}}
{"timestamp":"1469201235.981382847","source":"local-driver-server","message":"local-driver-server.server.handle-mount.failed-mounting-volume","log_level":2,"data":{"error":"Volume local-volume requires a passcode","session":"1.9","volume":"local-volume"}}
{"timestamp":"1469201235.981415272","source":"local-driver-server","message":"local-driver-server.server.handle-mount.end","log_level":1,"data":{"session":"1.9"}}
DEBU[56925] Revoking external connectivity on endpoint hello-world2 (83b536c04badb6e00c48c662a0f8e9517241e93a7cbff27a2803cd7b5b9b4509)
DEBU[56925] Releasing addresses for endpoint hello-world2's interface on network bridge
DEBU[56925] ReleaseAddress(LocalDefault/<IP_ADDRESS>/16, <IP_ADDRESS>)
{"timestamp":"1469201236.102541924","source":"local-driver-server","message":"local-driver-server.server.handle-unmount.start","log_level":1,"data":{"session":"1.10"}}
{"timestamp":"1469201236.102647305","source":"local-driver-server","message":"local-driver-server.server.handle-unmount.unmount.getting-volume","log_level":1,"data":{"name":"local-volume","session":"1.10.1","volume":"local-volume"}}
{"timestamp":"1469201236.102695704","source":"local-driver-server","message":"local-driver-server.server.handle-unmount.unmount.failed-mountpoint-not-assigned","log_level":2,"data":{"error":"Volume not previously mounted","session":"1.10.1","volume":"local-volume"}}
{"timestamp":"1469201236.102714777","source":"local-driver-server","message":"local-driver-server.server.handle-unmount.failed-unmount-volume","log_level":2,"data":{"error":"Volume not previously mounted","session":"1.10","volume":"local-volume"}}
{"timestamp":"1469201236.102750301","source":"local-driver-server","message":"local-driver-server.server.handle-unmount.end","log_level":1,"data":{"session":"1.10"}}
WARN[56925] 2bb53fc58e961f13582217ee6fe2844a494b1c010ef8af65466db3f7e3390c3d cleanup: Failed to umount volumes: Volume not previously mounted
ERRO[56925] Handler for POST /v1.25/containers/2bb53fc58e961f13582217ee6fe2844a494b1c010ef8af65466db3f7e3390c3d/start returned error: Volume local-volume requires a passcode
DEBU[56925] attach: stderr: end
DEBU[56925] attach: stdout: end

Cat hello.world to ensure it doesn't exist

cat /tmp/volumes/_volumes/local-volume/hello.world
cat: /tmp/volumes/_volumes/local-volume/hello.world: No such file or directory

Re-run this docker container this time setting the passcode mount option

docker run --name hello-world2 -v local-volume:/data:rw:passcode=topsecret --volume-driver=localdriver busybox /bin/sh -c "echo Hellopersistentworld > /data/hello.world"

cat hello.world to ensure it wrote to the file this time

cat /tmp/volumes/_volumes/local-volume/hello.world
Hellopersistentworld

Notes

We want to add a cli_integration test for this new feature.  Were originally thought we would wire mount options in the existing local volume (volume/local).  However, on examining that code we realized that a local mount is actuvally performed as part of docker volume create, not docker run.   We then thought about 'mocking' a volume plugin.  We found this which seemed like it could wrap testutils.FakeDriver (or something similar).  However, this wasn't an existing dependency and didn't comply with the docker vendoring guidelines so we decided not to add it and backed out of this alternative too.

Signed-off-by: Paul Warren<EMAIL_ADDRESS>Signed-off-by: Luke Woydziak<EMAIL_ADDRESS>Signed-off-by: Connor Braa<EMAIL_ADDRESS>Signed-off-by: Julian Hjortshoj<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "vol-api-mount-opts" git@github.com:julian-hj/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Any suggestions as to how one might go about debugging that failing windows build?

I'm not really sure about this; first of all it's adding more options to an already overloaded syntax for --volume; we really shouldn't add more options to that.
Also, adding access control here doesn't feel right to me; the same could probably be achieved with an Authorization plugin; have you considered using that?

I agree on not wanting to add support for arbitrary options on the -v syntax, though I certainly see the use case.

@cpuguy83 we're more interested in the change to the Volume Plugin API, in order to allow options to be passed to Mount. (https://github.com/docker/docker/issues/24382).
Currently, Create is the only call which takes options, and this forces driver design to overload the Create command. We'd rather have the ability to pass options to Mount instead. This is not something that comes up as a problem in the stand-alone/CLI usecase, but does come up when orchestrating a cluster (Create is called once, Mount is called many times on many machines). Does this dovetail with your plans for drivers, now that you're working on orchestration? When we last spoke with @samalba and @mgoelzer, you mentioned that this was a direction you were interested in.
Another way of putting it is that we don't have an opinion about how the CLI should expose this, our focus is on changing the API layer to enable better orchestration:

Create does not need be be called when all the system wants to do is Mount.
Drivers are not forced to supply a backplane/db layer for storing mount directives when the orchestration layer may already have this information.

Happy to take design direction.
Cheers,
Ted

We discussed this and we don't want to overload this flag even more; perhaps we should think of adding --mount to docker run, but maybe you can do an alternative proposal on design?
I'm closing this for now, but feel free to continue the discussion


[RDB] integration

Description of the Change
Enables rocksdb usage in iroha project.

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

Please also update example/config.sample with rocksdb and add example/config.postgres

RdbConnectionInit::init(StartupWsvDataPolicy::kReuse,.... should not create a folder on filesystem.


clean after compiling cln-grpc #3427

#3427

merged into branch 3427-clean that I am testing right now with multiple other changes to reduce bloat


OOD 3.0 and remote_files_enabled

Prerequisites:

the current release of this picker
remote_files_enabled
rclone remotes defined.

We get the following trace, and a missing file picker button:
Uncaught TypeError: Cannot read properties of null (reading 'groups')
    at c (new:481:80509)
    at HTMLDocument.<anonymous> (new:481:88486)
    at R (jquery.js:3802:29)
    at Z (jquery.js:3870:12)
c

Expanding the function, here is the surrounding javascript:
                                    function c(t) {
                                        var e, n = [], r = a(t.querySelectorAll('li[title="Files"] a[title]').values());
                                        try {
                                            for (r.s(); !(e = r.n()).done; ) {
                                                var o = e.value
                                                  , i = o.title
                                                  , s = o.href
                                                  , c = new RegExp("dashboard/files/fs(?<path>.*)").exec(s);
                                                n.push({
                                                    title: i,
                                                    href: c.groups.path || "/"
                                                })
                                            }
                                        } catch (t) {
                                            r.e(t)
                                        } finally {
                                            r.f()
                                        }
                                        return n
                                    }

I'm obviously not expecting rclone remotes to work with any random ondemand interactive app, I would simply like to be able to use the file picker for files or folders local to the cluster, even when remote_files_enabled is true and there are rclone remotes defined.

Thanks for the ticket. This seems to be a bug. We'll get this patched shortly.

Hi, sorry for the delay this should be fixed now in version 3.0.1 - you can pull the form.js from here: https://github.com/OSC/bc_js_filepicker/releases/tag/v3.0.1


Attribute Error from Tensorboard.py following upgrade to v0.7.1 upgrade

For bugs/issues, please fill in the following.  The more information you
provide, the more likely we can help you.
Environment info
Operating System:Ubuntu 14.0.4
If installed from binary pip package, provide:

Which pip package you installed.
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp27-none-linux_x86_64.whl

The output from python -c "import tensorflow; print(tensorflow.version)".
0.7.1
If installed from sources, provide the commit hash:

Steps to reproduce
1.In the command prompt try to launch a tensorboard graph
2.
3.
What have you tried?

I tried using the command      tensorboard --logdir=/home/tattoo/Tabor_Stuff
Previously for v0.6.0 the graph launched. However after installing v0.7.1 with the command above I get the following attribute error. Am I missing an install step or is this really an error?

Logs or other output that would be helpful
(If logs are large, please upload as attachment).
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 117, in main
multiplexer = event_multiplexer.AutoloadingMultiplexer(
AttributeError: 'module' object has no attribute 'AutoloadingMultiplexer'

Can you try uninstalling and re-installing TensorFlow?  That looks like a stale file (we no longer have AutoloadingMultiplexer).

Hi Vijay,
How do I uninstall it?
I'm new to ubuntu.
Don
On Tue, Feb 23, 2016 at 11:02 PM, Vijay Vasudevan<EMAIL_ADDRESS>wrote:

Can you try uninstalling and re-installing TensorFlow? That looks like a
stale file (we no longer have AutoloadingMultiplexer).
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1257#issuecomment-188053121
.

Yeah, re-installing fixed the problem. Just re-run the upgrade command.

pip uninstall tensorflow
pip uninstall protobuf
pip install url/to/the/tensorflow-...whl

Hi Vijay,
Thanks for the tips.
I'm still getting the same error. Do I need to run these commands from a
particular directory?
Don
On Thu, Feb 25, 2016 at 2:05 AM, Vijay Vasudevan<EMAIL_ADDRESS>wrote:

pip uninstall tensorflow
pip uninstall protobuf
pip install url/to/the/tensorflow-...whl
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1257#issuecomment-188643353
.

Weird, I tried it again and I have it launch now. Thank you.
On Thu, Feb 25, 2016 at 1:09 PM, Donald McMenemy<EMAIL_ADDRESS>wrote:

Hi Vijay,
Thanks for the tips.
I'm still getting the same error. Do I need to run these commands from a
particular directory?
Don
On Thu, Feb 25, 2016 at 2:05 AM, Vijay Vasudevan<EMAIL_ADDRESS>
wrote:

pip uninstall tensorflow
pip uninstall protobuf
pip install url/to/the/tensorflow-...whl
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1257#issuecomment-188643353
.

We're good now. It's curious. Now I have to use the full path to the
tensorboard.py instead of simply the tensorboard --logdir=/stuff
On Thu, Feb 25, 2016 at 1:56 PM, Donald McMenemy<EMAIL_ADDRESS>wrote:

Weird, I tried it again and I have it launch now. Thank you.
On Thu, Feb 25, 2016 at 1:09 PM, Donald McMenemy <
<EMAIL_ADDRESS>wrote:

Hi Vijay,
Thanks for the tips.
I'm still getting the same error. Do I need to run these commands from a
particular directory?
Don
On Thu, Feb 25, 2016 at 2:05 AM, Vijay Vasudevan <
<EMAIL_ADDRESS>wrote:

pip uninstall tensorflow
pip uninstall protobuf
pip install url/to/the/tensorflow-...whl
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1257#issuecomment-188643353
.

Most likely you have a stale tensorboard.py in your /usr/local/bin dir (or some other bin path)

Thank you Vijay.  I've been dealing with the same error after upgrade.  Tried
pip uninstall tensorflow
pip uninstall protobuf
pip install url/to/the/tensorflow-...whl
but the problem persisted.
Then tried
pip uninstall tensorflow
pip uninstall protobuf
manually deleted tensorboard.py from /usr/local/bin
pip install url/to/the/tensorflow-...whl
tensorboard.py was recreated with the new tensorflow installation and the problem resolved.


Revert "Re-add 5/15 min Heartbeat alerts and set to disabled"

This reverts commit 359c28904cc1e9e37557a974642f526176bdd472.
Reverting this because re-adding these alerts and setting to disabled
did not actually disable the alerts.

@mmazur 👍🏻 #4358


enhancement - autosave

tbd

the data changes are automatically in localStorage updated => no special "autosave" mechanismus required


:seedling: using same code for cloudevents integration test

Summary
Using same code for cloudevents integration test
Related issue(s)
https://github.com/open-cluster-management-io/ocm/issues/520
Fixes #

/assign @qiujian16


weave-net pod should not report ready if it fails to connect to any of the peers

I've had a firewall configuration issue where none of the peers where able to talk to each other, yet all pods reported ready. It would be much better UX if kubectl get pods -n kube-system -l name=weave-net reported that pods aren't ready.  This would need to be accoplished with readinessProbe.
Additionally, I've discovered that this failure mode cause CNI plugin to block on IPAM and this wasn't indicated in container event log in any way, it just said that it got scheduled and is being created. Something to discussed upstream, I supposed.

I'm not sure that a readiness probe would make it any easier to discover what is really wrong.  The broader issue is covered in #2612 .
We wanted to have Kubernetes directly aware of network readiness state - see https://github.com/kubernetes/kubernetes/pull/34398 for instance - but did not reach agreement on the approach.

I'm closing this.
@errordeveloper could you move the proposal to #2612? thanks!


Where can I find c++ head file "tensorflow/cc/ops/sparse_ops.h"

I want to use the sparse tensor in C++ API(https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/add-sparse-to-tensors-map).
But when I search in "https://github.com/tensorflow/tensorflow", there is no "tensorflow/cc/ops/sparse_ops.h"
Does anyone know how to use the sparse tensor in C++?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!
(That file is generated by the build system and located in bazel-genfiles/tensorflow/cc/ops/sparse_ops.h when you build from source)


how can the scheduler track used/free vGPU info?

In the current design, once the vGPUSched plugin runs for scheduling, it s responsible for determining whether a single GPU device on the node can provide enough GPU Memory. After the binding process, it will record the GPU allocation result (the used vGPU IDs in this node) to the Node Annotation for the subsequent filter process on the next coming Pods.
The tests of this design are on the way.

The to-do list covers this issue.


HADOOP-17467. [WIP] Fix race in NetgroupCache

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
32m  5s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m 46s

trunk passed

+1 :green_heart:
compile
21m 44s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
18m 28s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 49s

trunk passed

+1 :green_heart:
mvnsite
1m 28s

trunk passed

+1 :green_heart:
shadedclient
19m 29s

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

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 32s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
2m 21s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
2m 19s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 54s

the patch passed

+1 :green_heart:
compile
23m 41s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
23m 41s

the patch passed

+1 :green_heart:
compile
19m 28s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
19m 28s

the patch passed

+1 :green_heart:
checkstyle
0m 47s

hadoop-common-project/hadoop-common: The patch generated 0 new + 19 unchanged - 11 fixed = 19 total (was 30)

+1 :green_heart:
mvnsite
1m 25s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
17m 14s

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

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
2m 25s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
10m  4s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 50s

The patch does not generate ASF License warnings.

216m  6s

Subsystem
Report/Notes

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

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

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

uname
Linux 172107ecfb7f 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 630f8ddd2c7

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

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

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

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
32m  5s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m 46s

trunk passed

+1 :green_heart:
compile
21m 44s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
18m 28s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 49s

trunk passed

+1 :green_heart:
mvnsite
1m 28s

trunk passed

+1 :green_heart:
shadedclient
19m 29s

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

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 32s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
2m 21s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
2m 19s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 54s

the patch passed

+1 :green_heart:
compile
23m 41s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
23m 41s

the patch passed

+1 :green_heart:
compile
19m 28s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
19m 28s

the patch passed

+1 :green_heart:
checkstyle
0m 47s

hadoop-common-project/hadoop-common: The patch generated 0 new + 19 unchanged - 11 fixed = 19 total (was 30)

+1 :green_heart:
mvnsite
1m 25s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
17m 14s

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

+1 :green_heart:
javadoc
0m 58s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
2m 25s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
10m  4s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 50s

The patch does not generate ASF License warnings.

216m  6s

Subsystem
Report/Notes

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

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

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

uname
Linux 172107ecfb7f 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 630f8ddd2c7

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

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

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

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

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

This message was automatically generated.


[FEATURE] Using numpy array instead of Python list to describe selected features of an individual

Hi,
It seems that the selected features of an individual is stored in a Python list of 0 and 1 (1 if the feature is selected else 0).
This can lead to performance and memory issue, when dealing with thousands of features/individuals.
It may be interesting to have an option to store it in a numpy array instead.
The numpy array would only store the index of the selected features (e.g. : [1, 4, 5] instead of [0, 1, 0, 0, 1, 1])
Because numpy indexing of boolean array are known to be slower than using an index array when the ratio of selected features over total features is low.
I forked the project and implemented this in the GAFeatureSelectionCV class, using the attribute use_numpy_array.
You can try it yourself. I recreated the Iris_feature_selection.ipynb with thousands of random features to test it under the name Large_feature_selection.ipynb.
Let me know if you think it could be interesting to add it in your project and I will do a pull request.
Also, I'd be glad to listen to your advice about this new feature.

Hi @juju21555, thanks!
I think is a good idea to enhance the performance of the class, in this case, I don't see the necessity to use the parameter use_numpy_array, we can leave it just as the default (and only) behavior, so we can avoid the use a lot of if/else statements for this variable
We just have to make sure to keep the current format for the variable support_, this is to be consistent with the sckit-learn API
But internally all the optimization, cross-over and other operations can be updated to use this format and only at the end update the variable support_ with the old (current) format

Closing this issue for now, let me know if it's something you might want to work


A Chinese variant?

It may be rediculous, but is it possible to create a mozc-powered Chinese input
method? All these existing Chinese IMs are filled with bugs, or advertisements.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 28 Feb 2014 at 2:45

Thank you for the feedback.  Actually we used to use Mozc to support Chinese input for Chromium OS, which was already deprecated.  So far we do not have any new plan to do that.

I am interesting in the reason for deprecated. I like Google PinYin Input for windows, but seems that Google have no plan maintain it any more (stopped at version 2.7.128). And that input method without linux porting...

Hi, I knew this topic is old. Does Google willing to archive/open source the Chinese variant. I am betting it will still be top 3 or even top 1 in Chinese Language in free / OSS category.


Sort list of outdated packages

Verification

[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature
The list of packages is not sorted an that makes it hard to read / find if a package has ben updated.
==> Upgrading 38 outdated packages:
libheif 1.14.2_1 -> 1.15.1
asdf 0.11.1 -> 0.11.2
cppcheck 2.10 -> 2.10.1
...

Better would be
==> Upgrading 38 outdated packages:
asdf 0.11.1 -> 0.11.2
cppcheck 2.10 -> 2.10.1
libheif 1.14.2_1 -> 1.15.1
...

In upgrade.rb there is the formulae_to_install map that only has to be sorted.
formulae_upgrades = formulae_to_install.SORT.map do |f|
What is the motivation for the feature?
Make it easy to find a package in the list of outdated.
How will the feature be relevant to at least 90% of Homebrew users?
Make it easy to find a package in the list of outdated.
What alternatives to the feature have been considered?
Use search in the terminal to look for package names.

@pinguin999 can you open a PR to implement this?

No.
It's looks not to complicated but I never used Ruby.

This ordering is intentionally not alphabetical because it reflects the order that they will be installed in. If none of the formula depend on each other: they will be in alphabetical order.


ionic 2 on click notification become in background mode

Hi, I no sure this is should be relate to this plugin issue or not.
I using FCM for getting notification, and use local notification service to print notification if user receive in foreground. The issue now is, if user try to click the notification in foreground, ionic can do Nav.push() action to navigate user directly to specific page.
one situation I notice is when user click notification, debug console show: background mode is activate.
Any solution regarding this?

I'm not quite sure what issue you are having, but I know that there are a lot of issues when using both this plugin and phonegap-plugin-push. One issue in particular is push notifications being handled by the local notification plugin.
I would recommend using cordova-plugin-fcm with this plugin, or using my own fork of cordova-plugin-fcm.
If this does not solve your issue, please post more details about what is going wrong. Unfortunately if it is an issue with Ionic itself, I have never used it and would not be able to help with that side of the problem.

I think I know the reason, because I calling Nav from service, it seem like ionic doesn't allow to do so.
I forced to push all my FCM notification listener in app.component.ts(which suppose is top-most controller) and use native local notification typescript to caught click event instead of using Cordova.
This issue can close already, thanks.


Fix invalid usage message

When mesecons is installed the invalid use message states "Invalid usage, see /help tell.". This should be "/help tellafk".

Thanks for the PR! Sorry for the delay in merging.


Remove blue borders in light themed tables

Resolves #6711
Making TableHead light and dark coloring more consistent.

Signed-off-by: Alex Andreev<EMAIL_ADDRESS>

Thanks for the fix! Just concerned about a possible breaking change...


dont install into unity.

[Package Manager Window] Cannot perform upm operation: Unable to add package [https://github.com/emilianavt/OpenSeeFaceSample.git]:
[https://github.com/emilianavt/OpenSeeFaceSample.git] does not point to a valid package. No package manifest was found. [NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

It's not a package, it's a full project. You clone the repository and add it as a project in Unity Hub.

thanks.


feat: support to cosmwasm 1.1

feat: support to cosmwasm 1.1
refactor: remove third_party proto

https://github.com/xpladev/xpla/pull/85


add friendly error feedbacks

when I first type extract and ENTER, it gives me
switch: Expected exactly one argument, got 0

functions/extract.fish (line 4):         switch $argv
                                                ^
in function “extract”
	called on standard input

I thought the package was broken, but it's actually not...
I think we should have some friendly error messages..😀

Indeed, thank you (:


BlurView turned into white when applied multiple BlurView in android

Bug report
Summary
BlurView turned into white when applied multiple BlurView in android. In addition to this, blurType expands to whole screen. Please check attached screenshot.
Environment info
react-native info output:
System:
    OS: macOS 10.15.4
    CPU: (4) x64 Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
    Memory: 5.03 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 13.2.0 - /usr/local/bin/node
    Yarn: 1.19.2 - /usr/local/bin/yarn
    npm: 6.13.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 27, 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_222 - /usr/bin/javac
    Python: 3.7.4 - /Users/mac/opt/anaconda3/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 3.6.0
Steps to reproduce

Install Library
Use two BlurView in same component.

Describe what you expected to happen:

There should be 2 BlurViews

Reproducible sample code
import React, { Component } from "react";
import { View, ImageBackground, Text, StyleSheet } from "react-native";
import { BlurView } from "@react-native-community/blur";

export default class MultiBlurView extends Component {
  render() {
    return (
        <ImageBackground source={{ uri: 'https://learn.zoner.com/wp-content/uploads/2018/06/landscape-photography-at-every-hour-part-i-landscapes-in-the-morning-683x390.jpg' }} style={styles.absolute}>
          <View style={styles.item}>
            <BlurView
                blurType={'light'}
                style={styles.item}
                blurAmount={5}
            />
          </View>
          <View style={styles.item}>
            <BlurView
                blurType={'light'}
                style={styles.item}
                blurAmount={5}
            />
          </View>
        </ImageBackground>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    justifyContent: "center",
    alignItems: "center"
  },
  absolute: {
    flex:1,
    resizeMode: 'contain'
  },
  item: {
    height: 200,
    width: 500,
  }
});

Screenshot

Facing same issue very frequently on Huawei device. Use blur view as overlay which closes and opens on a button click.

Facing same issue very frequently on Huawei device. Use blur view as overlay which closes and opens on a button click.

Here is simple hack I tried. Just take image at background where you want blur effect and add prop blurRadius to that background Image ✌. And you there is no need to use BlurView for this case.

Just add overlayColor={'transparent'} to your BlurView should fix the issue

Just add overlayColor={'transparent'} to your BlurView should fix the issue

thanks but not work for me

Still unable to use multiple BlurView for Android in a single component. Any fixes ?

just add style={{overflow: 'hidden'}} in parent View like this:
<View style={{overflow: 'hidden',position: 'absolute',top:0,left:0,right:0,height:viewportHeight-600}}>                         <BlurView                         style={[styles.absolute]}                         blurType="light"                         overlayColor="transparent"                         blurAmount={1}/>                     </View>                     <View style={{overflow: 'hidden',position: 'absolute',bottom:0,left:0,right:0,height:viewportHeight-600}}>                         <BlurView                         style={[styles.absolute]}                         blurType="light"                         overlayColor="transparent"                         blurAmount={1}/>                     </View>

I am getting the same issue, without Stack Animation it is working but I need animation + blur both


Makes sure that any commits format the Python files.
Ignores the upstream git-clang-format.
pre-commit install-hooks
pre-commit run --all-files

Hoping to get a series of hooks in before contributing functional code changes. Will hopefully align the project on code quality/style.

FYI: I don't have write access to merge this, feel free to merge if you are happy. Will continue to upstream PRs.

Oh, right.  Will merge.

I'm happy either way.
I actually wrote https://github.com/jlebar/git-pr-chain to allow me to chain PRs (so I could have small PRs but a chain of commits in git).  But I'm told it stopped working, and I'm not currently doing a github-based workflow, so I haven't looked into it.
Thank you for your contributions!


Add unpin test cases and PPP

Codecov Report

Merging #189 (1583b46) into master (a2033a1) will increase coverage by 1.62%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #189      +/-   ##
============================================
+ Coverage     67.51%   69.14%   +1.62%
- Complexity      536      548      +12
============================================
  Files            90       90
  Lines          1724     1724
  Branches        191      191
============================================
+ Hits           1164     1192      +28
+ Misses          492      459      -33
- Partials         68       73       +5

Impacted Files
Coverage Δ

...n/java/seedu/trackascholar/model/ModelManager.java
97.18% <0.00%> (+4.22%)
:arrow_up:

...java/seedu/trackascholar/model/applicant/Name.java
84.61% <0.00%> (+7.69%)
:arrow_up:

src/main/java/seedu/trackascholar/model/Model.java
100.00% <0.00%> (+33.33%)
:arrow_up:

...edu/trackascholar/logic/commands/UnPinCommand.java
76.66% <0.00%> (+76.66%)
:arrow_up:

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

LGTM


Make all other previews not bad, too.

Adds the -R flag to less for the other code path as well, which is called for grep and workspace_symbols.

looks good :+1:


Add support for 500px

https://github.com/500px/api-documentation

Any news? Would be glad to take this issue

I don't think there has been any work on this, so you are welcome to grab the issue and work on it.
FWIW I saw that 500px shut down free access to their api: https://support.500px.com/hc/en-us/articles/360002435653-API- and so you'll need to contact them directly to get access to it I belive.

Agree with BWillard - hard to plan to do this if there's no public API. Closing "not planned"


feat: add automatic Tailwind Css class sorting option

Context

#24

https://github.com/shufo/blade-formatter/issues/496

Problem
Currently there is no integration with tailwind css prettier plugin cause it is bit tricky to integrate directly with official tailwindcss plugin.
Solution
Add tailwindcss sorting option to prettier-plugin-blade itself and provide sorting feature in standalone.
This sorting behaviour is compatible with official tailwindcss plugin cause it respects tailwind.config.js and sorts according to settings.
To enable sorting feature, add below option
.prettierrc.json
{
  "sortTailwindcssClasses": true
}

API
prettier.format(input, { parser: "blade", sortTailwindcssClasses: true });

CLI
$ prettier --sort-tailwindcss-classes example.blade.php

I'm not sure whether this behavior should be turned on by default or not.
This plugin is still young, so maybe it should be offered as an opt-out option.

I decided this behaviour as opt-in option in v1.1.0 release.
If it seems that many people want this option to be enabled by default, I'll make it opt-out and enable it by default.


Correction Needed in OpenAI Assistants Example on Official Documentation

Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
On the official documentation page for "Modules -> Agents -> Agent Types -> OpenAI assistants" (https://python.langchain.com/docs/modules/agents/agent_types/openai_assistants#using-existing-thread), there is an error in the example regarding the import statement for AgentFinish package and its usage in the execute_agent function.
The incorrect import statement in the example is:
from langchain_core.agents import AgentFinish

However, the correct import statement should be:
from langchain.schema.agent import AgentFinish

The issue arises because the incorrect import statement leads to a discrepancy between the package imported and the actual type returned by agent.invoke(input). Despite the actual type being AgentFinish, the example code still enters the while loop, causing further errors when accessing the tool attribute in action.
The corrected example code should be as follows:
from langchain.schema.agent import AgentFinish

def execute_agent(agent, tools, input):
                tool_map = {tool.name: tool for tool in tools}
                response = agent.invoke(input)
                while not isinstance(response, AgentFinish):
                    tool_outputs = []
                    for action in response:
                        tool_output = tool_map[action.tool].invoke(action.tool_input)
                        tool_outputs.append({"output": tool_output, "tool_call_id": action.tool_call_id})
                    response = agent.invoke(
                        {
                            "tool_outputs": tool_outputs,
                            "run_id": action.run_id,
                            "thread_id": action.thread_id
                        }
                    )

                return response

This correction ensures that the example code operates as intended, avoiding errors related to the incorrect package import and usage.
Idea or request for content:
No response

The documentation should be correct. I suspect the issue will be resolved by upgrading to a recent version of langchain and langchain core.
Check versions like so:
python -m langchain_core.sys_info

AgentFinish is only defined in langchain core now -- it was part of the 0.1.0 release

Closing issue for now

Regarding the discrepancy between the official documentation and my experience, I have checked the versions of langchain and langchain core as suggested:
python -m langchain_core.sys_info

The output is as follows:
langchain_core: 0.1.13
langchain: 0.0.340
langchain_community: 0.0.13
langserve: Not Found

Additionally, I would like to clarify that the import statement from langchain.schema.agent import AgentFinish was derived from the demo in the OpenAIAssistantRunnable class of langchain.  I utilized this import statement to resolve the issue of mismatched types encountered previously.
In summary, there appears to be an inconsistency between the package imported in the official documentation example and the package used in the demo of the OpenAIAssistantRunnable class in langchain.
Example using custom tools and custom execution:
        .. code-block:: python

            from langchain_experimental.openai_assistant import OpenAIAssistantRunnable
            from langchain.agents import AgentExecutor
            from langchain.schema.agent import AgentFinish
            from langchain.tools import E2BDataAnalysisTool

            tools = [E2BDataAnalysisTool(api_key="...")]
            agent = OpenAIAssistantRunnable.create_assistant(
                name="langchain assistant e2b tool",
                instructions="You are a personal math tutor. Write and run code to answer math questions.",
                tools=tools,
                model="gpt-4-1106-preview",
                as_agent=True
            )

            def execute_agent(agent, tools, input):
                tool_map = {tool.name: tool for tool in tools}
                response = agent.invoke(input)
                while not isinstance(response, AgentFinish):
                    tool_outputs = []
                    for action in response:
                        tool_output = tool_map[action.tool].invoke(action.tool_input)
                        tool_outputs.append({"output": tool_output, "tool_call_id": action.tool_call_id})
                    response = agent.invoke(
                        {
                            "tool_outputs": tool_outputs,
                            "run_id": action.run_id,
                            "thread_id": action.thread_id
                        }
                    )

                return response

            response = execute_agent(agent, tools, {"content": "What's 10 - 4 raised to the 2.7"})
            next_response = execute_agent(agent, tools, {"content": "now add 17.241", "thread_id": response.thread_id})


Specular light reflection flickering issue

Godot version
4.0 Beta 10
System information
GTX 1070, forward_plus, mobile, gl_compatibility
Issue description
specular reflection fickering (see video)
https://youtu.be/yaEG7Lg1Luk
Steps to reproduce
Simple scene with a point light and cubes (arranged in a grid for better visibility of the issue) with a dark material (roughness ~0.3).
Cube is default Blender cube with bevel modifier, flat shading.
Minimal reproduction project
shading_flickering.zip

Oh I forgot to mention that this only happens for cubes with round corners but not for normal cubes.

I can confirm this on 4.0.beta b6e06038f (Linux, AMD Radeon RX 6900 XT with Mesa RADV).

Hmm for me it looks like a normal issue (related to auto lod) but idk.
I also tried a smooth shaded cube with round corners:

Hmm for me it looks like a normal issue (related to auto lod) but idk.
I also tried a smooth shaded cube with round corners:

This occurs because the mesh is too simplified in the distance for normals to be accurately represented. The issue is generally not noticeable with diffuse lighting, but intense specular lighting like in your example can make it noticeable.


breadth first search

congratulations on your hactoberfest contribution. if you like this repo then give it a star. Happy hacking..


SYCL level diagnostics for offloading

See tool: clinfo

Unclear what the original issue was. If the goal is to report platform and device level information, such a feature is available using dpctl.lsplatform.


Adding Args option fro Saved Search history method

Hello,
I have a use-case where I need to get the latest run of a scheduled saved search.
I know SavedSearch class has a history method which gets me all the old jobs runs. But it looks like the results are being paginated to the earliest 30 results.
The history method itself doesn't have any options to pass arguments for the GET call.
Is there any other way to achieve this? I know the REST API does support sort_dir=desc option for getting the history jobs in descending order.
I would also be happy to do these changes.
Thanks,
-Vineeth

Hi @vineethsoma,
This is a reasonable feature request. We're open to a pull request, and the change is pretty small to add support for this feature.
In SavedSearch we'd want to add an overload for history() that takes an Args map and passes it as the second argument to service.get(). Then in your code, you'd be able to pass in a map to the new history() overload with count set to whatever value you want (0 for all).

I have made some changes. I think this should suffice. Please let me know if this works.
     public Job[] history() {
         ResponseMessage response = service.get(actionPath("history"));
-        AtomFeed feed;
+        return parseHistoryResponse(response);
+    }
+
+    /**
+     * Returns an array of search jobs based on passed search arguments
+     *
+     * @param args
+     * @return An array of search jobs
+     */
+    public Job[] history(Map<String, Object> args) {
+       ResponseMessage response = service.get(actionPath("history"), args);
+       return parseHistoryResponse(response);
+    }
+
+    /**
+     * Parses response message from history action path
+     *
+     * @param responseMessage
+     * @return result An array of Job
+     */
+    private Job[] parseHistoryResponse(final ResponseMessage responseMessage) {
+       AtomFeed feed;
         try {
-            feed = AtomFeed.parseStream(response.getContent());
+            feed = AtomFeed.parseStream(responseMessage.getContent());
         } catch (Exception e) {
             throw new RuntimeException(e);
         }
        int count = feed.entries.size();
        Job[] result = new Job[count];
        for (int i = 0; i < count; ++i) {
            String sid = feed.entries.get(i).title;
            result[i] = new Job(service, JobCollection.REST_PATH + "/" + sid);
        }
        return result;
}

Hi @BalasubramanyamEvani, thank you for the sharing the code change.
@vineethsoma we have added the Args option and the same will be available in the Next SDK release.

@BalasubramanyamEvani, @vineethsoma
we have added the "args" option for the Saved Search History method and it is available in the latest SDK. Hence closing this issue, please reopen the issue if you still face any issue regarding this.


Ensure we run PR, CI pipelines on release branches

Codecov Report

Merging #8471 into master will decrease coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8471      +/-   ##
==========================================
- Coverage   59.39%   59.01%   -0.38%
==========================================
  Files         509      509
  Lines       23423    23423
  Branches     3786     3781       -5
==========================================
- Hits        13913    13824      -89
- Misses       8604     8684      +80
- Partials      906      915       +9

Impacted Files
Coverage Δ

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
75% <0%> (-25%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
60% <0%> (-20%)
:arrow_down:

src/client/common/utils/icons.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/client/api.ts
78.57% <0%> (-14.29%)
:arrow_down:

src/client/datascience/cellFactory.ts
57.69% <0%> (-12.83%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


Ollama on Mac not free up space / what is equivalence of /usr/share/ollama/.ollama/models

What is the issue?
I've ran ollama run llama3:70b on Mac and CLI pulled 40GB of data that is not stored in ~/.ollama.
ollama list shows no models.
Where the heck is the data? How to clean it up?
OS
macOS
GPU
No response
CPU
No response
Ollama version
0.1.48

Any shared models on the mac will not get cleaned up unless each of the models using the shared data are removed. The FAQ covers where each location for the data is stored, which is in ~/.ollama/models.

The issue is that I've cleaned up model using ollama rm and cleaned up directory ~/.ollama/models but space is still consumed somewhere.

I'm not able to duplicate this. Here's a copy of command-r-plus which I had locally:

You can see w/ df -h how much disk space I'm using:

I then used ollama rm command-r-plus. Here's the resulting amount of disk space (again w/ df -h):

It just got cleaned up bu itself. I think we can close without meaningful output.


Useful links

DeePathology: Deep Multi-Task Learning for Inferring Molecular Pathology from Cancer Transcriptome
Paper | Codes
I borrowed some scripts from this paper for building a CCLE autoencoder model, thank you @behroozazarkhalili

I opened this issue but it was never answered https://github.com/SharifBioinf/DeePathology/issues/2 :)


Veeam Update 9.4

After Upgrading from Veeam BR 9.3a to 9.4.
The sensor shows the following error:
XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)

Yes I have.

Have you tried to execute the Script manually in the PowerShell Console?

It works again without any interaction from my side. Weird.


HR task: Request a file in RocketChat and get relevant number

task.md: You need the Marketing expenses on August, but you currently do not have access as your account is still processing. Ask your mentor Chen Xinyi for help, get the file you need and write the number in /workspace/marketing_expenses_august.txt

Not plan in v1.0.0.


Please provide aarch64 build

Hi.
Jolla released SFOS for Xperia 10 II few months ago. On this device just aarch64 applications may be used. It would be great to provide aarch64 build of this great IRC client in harbour/openrepos.

I created temporary repository with aarch64 build: https://openrepos.net/content/karry/irc-sailfish-communi-aarch64

I don't understand why? Doesn't the OS have multilib support for running 32-bit apps?

Nope unfortunately. It is possible to run armv7 binaries on aarch64 variant of Sailfish OS (I tried it with statically linked Busybox),   but it does not include 32 bit userspace libraries. It is understandable more or less. Because it would create another surface for bugs and would increase size of the system image almost twice... There is thread about armv7 support on Sailfish OS forum.

To be honest though, I don't personally use Sailfish anymore so I'm not really motivated, but perhaps @Thaodan would be willing to do the work?

I'll create a new release soon and will add aarch64 support stay tuned.

Blocks #152


Bazel or Swift command with "input parameters"

Liuliu, if I want to do Bazel command but wanting to add parameters such as --prompt "a cat who lives a million times" --steps 30 etc how do actually do this? Can you help me to lead to the right direction?
So far I have been modifying the main.swift file using textpad.

It requires to write some code in examples/txt2img/main.swift to support arguments, this is the Swift code thing, not Bazel thing (Bazel is used to build the binary and then run it, since it detects which file changed and how, it can recompile source code if needed, thus the bazel run turns the use of a compiled language such as Swift like a scripting language such as Python).
This is pretty low on the list of my things to do, probably will not in examples/txt2img, but create a new CLI tool to do this, as batching processing is a valid use case.
FYI, the thing on my list of the highest priority is the iOS app, which will be another week before beta testing, and then iPad app. Before macOS app, I probably should work on the CLI tool since it is a natural extension (and the CLI tool should be done in this repo).
That's why I am very interested in fix any crashes / nan bugs. Thanks for these reports so far!

Ok thanks for the useful info. I have very basic coding knowledge, but this is interesting. I remember  python has something similar.


Fixes #2310 - all reference to material-branch -> master

This will cause a regeneration of every file when we deploy it to production

Staging service also updated as changes to master we getting by-passed (auto-deploy.sh)
All WFGithubBranches are now mater
View Source points to master
Big Rig is also changed

R: @gauntface @petele

LGTM if you are cool with master-dot-web-central.appspot.com over web-central.appspot.con for master

:+1:


Comprehensive unit tests and docs  for LHN item presence

Problem
LHN items have a historical record of rendering inconsistencies & regressions that lead us to a recurring question of “Why is this in my LHN?”.
There are multiple factors determining which reports should be displayed including report’s type, participants, status, specific conditions such as being pinned, having violations, or being archived which makes it easy to accidentally break this pipeline.
Solution
Implement a comprehensive unit test suite & docs around shouldReportBeInOptionList that focuses on clearly defined scenarios for report visibility. This will help us increase confidence and make sure on the CI level that no regressions in this area make it to the production environment which is not something we can guarantee ourselves right now. Here are some sample scenarios we can assert:
Should show the report

is expense report with outstanding violations and the report is not reimbursed
is currently viewing
has valid draft comment in the report
Is a self DM report
is marked it as pinned
is in focus mode and the report is unread
is in default mode and the report is archived

slack thread: https://callstack-hq.slack.com/archives/C05LX9D6E07/p1727967763482779

Expensify slack thread for convenience: https://expensify.slack.com/archives/C05LX9D6E07/p1727967763482779

We are chugging along on these

in progress

This was for tracking and the last issue open is this one https://github.com/Expensify/App/issues/52034 and the PR for it was just merged so I think we can close this one and consider it concluded https://github.com/Expensify/App/pull/53745


Preliminary restassured settings

Add ability send predifined RestSpecification to init service метод
Add ability ignore predefined settings during specification cleaning
Rename getSpec method to addRestSpecificationData
Add example of using to ServiceTest class

[182] -

[182] -


[Planting Flow - Design] Redesign Confirmation Screen with Uploaded Photos

Current design of the confirmation screen is incomplete now with no images and a random tree icon at the top. Will revise the design to be more consistent.

will change the design to just a pop up message at the bottom of the screen.


setup authenticode signing for ilmerge in vsts

Steps to be done:
ilmerge ilmerge.exe and system.compiler.dll as a post build step
get ilmerge.exe signed in the vsts ci.

This would be very useful for us as currently ILMerge is blocked by our security software from running on our CI machines which makes it very hard to use. Signing it with an MS key would make it usable for us...

Is there an ETA on this?

The latest version, 3.0.29, released 2019-04-10, is signed and time stamped.

Looks like this has been taken care of. Thanks all!


Sqlite: whole row syntax gives error. "OperationalError: no such column"

Hi,
%%logica Engineers

@Engine("sqlite");

Employee(name: "Alice", role: "Product Manager");
Employee(name: "Bob", role: "Engineer");
Employee(name: "Caroline", role: "Engineer");
Employee(name: "David", role: "Data Scientist");
Employee(name: "Eve", role: "Data Scientist");

Engineers(..r) :- Employee(..r), r.role == "Engineer";  # <====== This fails
# Engineers(name:, role:) :- Employee(name:, role:) , role == "Engineer"  <===== This works

The following query is stored at Engineers_sql variable.
WITH t_0_Employee AS (SELECT * FROM (

    SELECT
      'Alice' AS name,
      'Product Manager' AS role
   UNION ALL

    SELECT
      'Bob' AS name,
      'Engineer' AS role
   UNION ALL

    SELECT
      'Caroline' AS name,
      'Engineer' AS role
   UNION ALL

    SELECT
      'David' AS name,
      'Data Scientist' AS role
   UNION ALL

    SELECT
      'Eve' AS name,
      'Data Scientist' AS role

) AS UNUSED_TABLE_NAME  )
SELECT
  Employee.*
FROM
  t_0_Employee AS Employee
WHERE
  (JSON_EXTRACT(Employee, "$.role") = 'Engineer');

Engineers

Running predicate: Engineers

---------------------------------------------------------------------------

OperationalError                          Traceback (most recent call last)

<ipython-input-19-db61baf7c59b> in <module>()
----> 1 get_ipython().run_cell_magic('logica', 'Engineers', '\n@Engine("sqlite");\n\nEmployee(name: "Alice", role: "Product Manager");\nEmployee(name: "Bob", role: "Engineer");\nEmployee(name: "Caroline", role: "Engineer");\nEmployee(name: "David", role: "Data Scientist");\nEmployee(name: "Eve", role: "Data Scientist");\n\nEngineers(..r) :- Employee(..r), r.role == "Engineer";\n# Engineers(name:, role:) :- Employee(name:, role:) , role == "Engineer"')

8 frames

/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
   2115             magic_arg_s = self.var_expand(line, stack_depth)
   2116             with self.builtin_trap:
-> 2117                 result = fn(magic_arg_s, cell)
   2118             return result
   2119

/usr/local/lib/python3.7/dist-packages/logica/colab_logica.py in logica(line, cell)
    118 @register_cell_magic
    119 def logica(line, cell):
--> 120   Logica(line, cell, run_query=True)
    121
    122

/usr/local/lib/python3.7/dist-packages/logica/colab_logica.py in Logica(line, cell, run_query)
    239       sql_runner = RunSQL
    240     result_map = concertina_lib.ExecuteLogicaProgram(
--> 241       executions, sql_runner=sql_runner, sql_engine=engine)
    242
    243   for idx, predicate in enumerate(predicates):

/usr/local/lib/python3.7/dist-packages/logica/common/concertina_lib.py in ExecuteLogicaProgram(logica_executions, sql_runner, sql_engine)
    215
    216   concertina = Concertina(config, engine)
--> 217   concertina.Run()
    218   return engine.final_result

/usr/local/lib/python3.7/dist-packages/logica/common/concertina_lib.py in Run(self)
     76   def Run(self):
     77     while self.actions_to_run:
---> 78       self.RunOneAction()
     79
     80   def ActionColor(self, a):

/usr/local/lib/python3.7/dist-packages/logica/common/concertina_lib.py in RunOneAction(self)
     69     self.running_actions |= {one_action}
     70     self.UpdateDisplay()
---> 71     self.engine.Run(self.action[one_action].get('action', {}))
     72     self.running_actions -= {one_action}
     73     self.complete_actions |= {one_action}

/usr/local/lib/python3.7/dist-packages/logica/common/concertina_lib.py in Run(self, action)
     18       print('Running predicate:', predicate)
     19       result = self.sql_runner(action['sql'], action['engine'],
---> 20                                is_final=(predicate in self.final_predicates))
     21       if predicate in self.final_predicates:
     22         self.final_result[predicate] = result

/usr/local/lib/python3.7/dist-packages/logica/colab_logica.py in __call__(self, sql, engine, is_final)
    159   # TODO: Sqlite runner should not be accepting an engine.
    160   def __call__(self, sql, engine, is_final):
--> 161     return RunSQL(sql, engine, self.connection, is_final)
    162
    163

/usr/local/lib/python3.7/dist-packages/logica/colab_logica.py in RunSQL(sql, engine, connection, is_final)
    142   elif engine == 'sqlite':
    143     statements = parse.SplitRaw(sql, ';')
--> 144     connection.executescript(sql)
    145     if is_final:
    146       return pandas.read_sql(statements[-1], connection)

OperationalError: no such column: Employee

I looked into this and it appears impossible to read whole table row as one object.
So this may have to be a long term behavior, we just need to document it.

We should also catch it and show a nice user error message.


For Newbies

Could you give us /me :-) examples to copy how this integration works? I installed it using HACS this worked, but no sensors where made? I know, I shouls probelbly know how to. but I did not chose a UI system for the fun off it. I like things going by itself? or other people making it easy for me ;-). I am not a coder.

Did you configure the integration? Like this?

Sensors should show up automatically, if not, you have found a bug. :-)

No could not find the sensors, did these values in the const.py file? this did not show. tried to put the sensors manualy in config.yaml. got errors.
this my system?

bug could be newbie error though :-)
logbook details:
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:164
Integration: Sensor (documentation, issues)
First occurred: 20:08:38 (4 occurrences)
Last logged: 20:08:38
The degree_days platform for the sensor integration does not support platform setup. Please remove it from your config.

You can’t use yaml to configure the component, only configuration in the UI., can you show a printscreen of your configuration?

First of all, many thanks for making this. (and sorry for highjacking the topic)
I got the integration working had some prerequisites i had to figure out first.

yearly gas sensor <- maybe we can piggyback on the energy dashboard? I had to create a new utility sensor now.
degree days starts with the year 2021, not the current year. (this is hardcoded) when initializing. My yearly gas starts from jan 4th currently, so i had to change the 2021's to 2022 in the .py files using visual code studio.

Hacs installation is not hard but you have to know how hacs works. Hacs gives a new integration for degree days.
So
step 1: install degree days via hacs
step 2: reboot
step 3: In HA goto config -> integrations. add degree days integration there.
step 4: in dashboard add a card with the degree days entities.

Thanks, added the installation instructions on the main page.

2021 should not be hardcoded, I will look into that.
I will look into the yearly gas sensor, not sure if we can use the energy dashboard, as I don't think these values in the dashboard are actual entities. The issue I had is that if you start with a gas sensor that represents the total, it doesn't know the value at the beginning of the year. Just like the energy dashboard, it won't be able to display data from before you have set up the dashboard, even if you have these values from somewhere else.

idea: (but this works in my case since my measurements go from jan 1rst - dec 31ste)
Let the integration create its own yearly.gas.sensor utilitymeter.
That way it should be able to always start from the moment the integration is added (or +1 day)
And in my case:
i just created a workaround (which only should be necessary for the 1rst year since the yearly.gas utility meterd resets on jan 1rst anyway) a sensor based on (the total gas consumption - total gas consumption 31ste dec 2021). And a reminder that a should change the gas sensor entity on jan 1st 2023 to the utilitymeter one.
`#gasyearly2022

platform: template
sensors:
yearly_gas_2022:
unit_of_measurement: m³
value_template: >
{% set totaal = states('sensor.gas_consumption') | float %}
{% set eindjaar = 5334 | float %}
{{ ((totaal - eindjaar)) | round(2) }}`

It was newbie error, sorry. Other HACS integrations (afvalwijzer) had me put sensors in manualy and I expected all HACS to work this way. I followd jeffreyveldt steps. and found the integration, as I did put my values as defautl everthing was correct. Now I have 4 entities . Challenge is to follow the above notes, as i put my sensor.gas,consumption as sensor and i now read this is not correct :-).

I think @jeffreyveldt has a split up configuration over several yaml files.  Try this (not tested)
template:
  - sensor:
      - name: "yearly_gas_2022"
        unit_of_measurement: m³
       state: >
          {% set totaal = states('sensor.gas_consumption') | float %}
          {% set eindjaar = 5334 | float %}
          {{ ((totaal - eindjaar)) | round(2) }}

Hi, sorry to bother you more. the sensor works and the value seems correct of course I changed the eindjaar value :-)

For the Gas sensor entity, you have to use sensor.yearly_gas_2022 (you forgot the sensor.

thanks changed it to sensor. I will now wait if values reset! have a good night

Hi,
it works, now I have to understand te values,
if i summit the same values in Mindergas. I get values I think are "correct" and the values in HA look high in degreedays, and the usage for degreedays, looks low. I live in a corner house (partialy flatroofed.) and a lot of outerwalls? probably wait a couple off month to see how it evolves.
thanks for all your help


Add Ethereum name or address to package.json

I would like to see an Ethereum name or address added to the ethereum field of the package.json file. This will allow consumers of the project to know a cannonical address to send funds to. For example, I'm building an application that will allow developers to automatically donate ETH to all of their npm dependencies that have Ethereum addresses in their package.json files: https://sustainus.io

It seems a good idea, I would love to hear feedbacks from other members
/CC @twbs/css-review @twbs/js-review

Is there a standard about this?

This could work well with GitHub sponsors. Would you consider adding an Ethereum address as a custom field in the FUNDING.yml file? For example, this might work (not sure on the exact formatting):
patreon: bootstrap
custom: [ethereum/0x931D387731bBbC988B312206c74F77D004D6B84b, bitcoin/bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq]