HDFS-16284: Unboxing long value in old version's block report cause full GC

jira: https://issues.apache.org/jira/browse/HDFS-16284

Hi @Cosss7, can you fix the checkstyle warn? Thanks.

OK, update soon.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  1s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

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

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 31s

trunk passed

+1 :green_heart:
compile
1m 28s

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

+1 :green_heart:
compile
1m 21s

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

+1 :green_heart:
checkstyle
1m  0s

trunk passed

+1 :green_heart:
mvnsite
1m 29s

trunk passed

+1 :green_heart:
javadoc
1m  3s

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

+1 :green_heart:
javadoc
1m 32s

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

+1 :green_heart:
spotbugs
3m 16s

trunk passed

+1 :green_heart:
shadedclient
22m 35s

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 16s

the patch passed

+1 :green_heart:
compile
1m 20s

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

+1 :green_heart:
javac
1m 20s

the patch passed

+1 :green_heart:
compile
1m 13s

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

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 49s

hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 33 unchanged - 1 fixed = 33 total (was 34)

+1 :green_heart:
mvnsite
1m 17s

the patch passed

+1 :green_heart:
javadoc
0m 50s

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

+1 :green_heart:
javadoc
1m 24s

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

+1 :green_heart:
spotbugs
3m 17s

the patch passed

+1 :green_heart:
shadedclient
22m 10s

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

_ Other Tests _

-1 :x:
unit
413m 33s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 45s

The patch does not generate ASF License warnings.

512m 43s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes

Subsystem
Report/Notes

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

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

JIRA Issue
HDFS-16284

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

uname
Linux 52968af6e0e0 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c1c7625896900ab976f1a885c5311daee40bad03

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

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

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

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

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

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

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.


Cannot create gke-cluster with shared VPC from bootstrap project

I am unable to create a cluster with gke-cluster using repo tag daily-2022.06.22.
I am using a service account impersonation from a different bootstrap project to where the cluster is created.
Also, the shared VPC is in another host project.
container.googleapis.com is enabled in the target project, but not bootstrap.
I confirmed that I provided project_id of the target project to the module.
I try to configure a cluster with default node pool, and the pool will be deleted after creation.
terraform apply fails because the API is not enabled in the bootstrap project!
`Error: googleapi: Error 403: Kubernetes Engine API has not been used in project {BOOSTRAP_PRJECT_NUMBER} before or it is disabled. Enable it by visiting
https://console.developers.google.com/apis/api/container.googleapis.com/overview?project={BOOSTRAP_PRJECT_NUMBER} then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.

│     "@type": "type.googleapis.com/google.rpc.ErrorInfo",
│     "domain": "googleapis.com",
│     "metadata": {
│       "consumer": "projects/{BOOSTRAP_PRJECT_NUMBER} ",
│       "service": "container.googleapis.com"
│     },
│     "reason": "SERVICE_DISABLED"
│   }
│ ]
│ , accessNotConfigured
│
│   with module.gis_project.module.gke_cluster.module.carto-gke-cluster.google_container_cluster.cluster,
│   on ..\..\00_-_modules\cloud-foundation-fabric\modules\gke-cluster\main.tf line 32, in resource "google_container_cluster" "cluster":
│   32: resource "google_container_cluster" "cluster" {
│`

I am not an expert but it seems like the module is inferring the bootstrap project from the caller service account as I am not passing the info to that module.
I enabled the API in the bootstrap project to see it it would pass the above. It does, but fails on
module.TARGET_PROJEcT.module.gke_cluster.module.MY-gke-cluster.google_container_cluster.cluster: Creating...
│ Error: googleapi: Error 403: The Kubernetes Engine service account is missing required permissions  on this project. See https://cloud.google.com/kubernetes-engine/docs/troubleshooting#gke_service_account_deleted for more info: required "container.hostServiceAgent.use" permission(s)
for "projects/{VPC_HOST_PROJECT}"., forbidden
│
│   with module.TARGET_project.module.gke_cluster.module.MY-gke-cluster.google_container_cluster.cluster,
│   on ..\..\00_-_modules\cloud-foundation-fabric\modules\gke-cluster\main.tf line 32, in resource "google_container_cluster" "cluster":
│   32: resource "google_container_cluster" "cluster" {

So I create a gke_nodepool, but I get a new error that
The Kubernetes Engine service account is missing required permissions  on this project. See https://cloud.google.com/kubernetes-engine/docs/troubleshooting#gke_service_account_deleted for more info: required "container.hostServiceAgent.use" permission(s)
for "projects/NETWORK_PROJECT_ID"., forbidden
`
It seems the network project id is inferred from the network_selflink param.
I have tried many combinations. The most promising is to create a custom service account and give IAM permissions on the target and network projects, but it is not working.
I also tried introducing a node_config that referenced the custom service account but it gives the same error.
The custom service account has both Kubernetes Engine Admin  and Kubernetes Engine Cluster Admin roles on the network project and the target project. These roles include the permission container.hostServiceAgent.use.
Unfortunately, the error does not print the name of the Kubernetes Engine service account. I even enabled the container api on the network project.
Any suggestions would be very welcome. I am not sure its a bug in this project or more likely my use of it.

What do you mean when you say you're using impersonation from a different bootstrap project? Are you using the bootstrap stage from fast?
Deploying GKE in a Shared VPC requires a few permissions on the host project. We have a stand-alone example that shows exactly what you have to do. Perhaps this is more useful in your case?

Thanks for the example,
I was only able to resolve the 443 issue by adding the custom gke service account to the subnet_iam_permssions of ../cloud-foundation-fabric/modules/net-vpc in the network host project.
subnet_iam_permissions = {
    "${local.subnet_id}" = {
      "roles/compute.networkUser" = [
        local.gke_custom_service_account,...
      ],
      "roles/compute.instanceAdmin" = [
        local.gke_custom_service_account,...
      ],
    },
  }

To answer your question, I am not using bootstrap stage from fast. The projects and org policies are created by a higher authority as I only have folder access. The bootstrap project is just a project that creates the IAM policies and service accounts. I authenticate to the bootstrap service account then run terraform to create service accounts in the other projects and impersonate them when creating infrastructure in those projects. The bootstrap account only has permission to impersonate the service accounts that have permission to manage resources in other projects. I have created a VPC in the NETWORK project and VMs in the target using that VM.
Thanks for the assistance.

Glad you were able to fix it. From our side we're working on a GKE stage in PR #700. It's still WIP but might help you if you face other permission isssues.

That looks like a great resource. Thanks for sharing.


Bad CI

I've pushed about 20 commits to PR#76. Now it occur that the CI is dead. I've let it rerun several times, but it did nothing.
It fails when it runs to the fourth step npm install, which shows this in the detail.
> Run npm install
npm WARN notice [SECURITY] lodash has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=lodash&version=4.17.19 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
npm WARN deprecated<EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2020-08-06T09_48_54_094Z-debug.log
##[error]Process completed with exit code 1.

Please fix it.

It's OK now, it passed, I have no idea.


Support for multiple xarms

It would be cool to support sending commands to multiple xArms at once.  I think the only change required would be to provide an argument or dialog box to select among possible hid devices found.  I am not sure if collision detection, as it is currently formulated, would be possible with two robots; they would have to both exist within a single simulator and the motions would have to be aligned in time

Reopening this,  i think it is a valuable addition that should not take too long.  We will need support for multiple arms in the simulator as well.


FTDI

Is it possible to make a serialotg extension with d2xx.jar that has bitbang setbitmode, support and SetBreakOn, SetBreakOff.

My first attempt was to use D2xx.jar to include FTDI chips in AI2. I worked ok, so it is possible. You still have to refactor Physicaloid library if you want it to work with AI Companion.
You also have to consider D2xx license terms, and that is why its not included in AI2.
See discussion in https://community.appinventor.mit.edu/t/using-serial-with-ftdi/14136.
The bit-bang modes are probably only used for FTDI chips and not for the other chips in my library so it is not so interesting to add that.
It was a long time since I heard someone used the break function, but I guess it can be added for all chips, since its a standard Rs232 function. You may also want to include break detection but there is no call back functions in the library.


Unable to ping UE to UPF and UPF to External IP via Network Tunnel

Hello,
I am not able to successfully ping from the SRS UE ZMQ to the UPF via the network tunnel (tun_srsue) or the UPF to an external IP address (using ogstun interface).
I read through the documentation on this repository and was able to set up everything smoothly. Logs show that the AMF detects the gNB and UE registers/configures both, UE container establishes PDU session and SRS RAN gNB connects to the AMF.  As far as I know, the UPF and the rest of the 5G Core from the sa-deploy.yaml seems to be functioning fine otherwise.
I am running everything on the same host (Ubuntu 22.04) and hence did not change any other configuration other than the DOCKER_HOST_IP in the .env file. However, both host IP and example IP given in the docs give the same result.
My steps to replicate the issue are:

Clone repository
Build images, disable firewall, enable ip fowarding (as per the readme says)
Start 5G Core Network, RAN/gNB, UE (ZMQ)

docker-compose -f sa-deploy.yaml up

Add subscriber via web UI (as per the .env):

UE1_IMEI=356938035643803
UE1_IMEISV=4370816125816151
UE1_IMSI=001011234567895
UE1_KI=8baf473f2f8fd09487cccbd7097c6862
UE1_OP=11111111111111111111111111111111
UE1_AMF=8000

docker-compose -f srsgnb_zmq.yaml up -d && docker container attach srsgnb_zmq
docker-compose -f srsue_5g_zmq.yaml up -d && docker container attach srsue_5g_zmq

docker exec into UE container and ping UPF via tunnel:

ping -I tun_srsue upf

docker exec into UPF container and ping external address via interface:

ping -I ogstun <IP ADDRESS>

Is there an issue with the routing between UE, UPF and external addresses? I ran some Tshark captures and didn't find anything obvious. Any help would be greatly appreciated!
amf.log
srsgnb_zmq.log
srsue_5g_zmq.log
upf.log

Thanks for nicely describing the issue. I happen to see this issue at my local setup as well. There is nothing wrong with routing rather lates at the gNB was the issue at my end.
In order to fix this, i set the cpu governor to performance mode and I was able to ping from UE to anywhere and vice versa. Please try below command and then bring up the components and then try pinging.
sudo cpupower frequency-set -g performance

In order to fix this, i set the cpu governor to performance mode and I was able to ping from UE to anywhere and vice versa. Please try below command and then bring up the components and then try pinging.
sudo cpupower frequency-set -g performance

Thank you for the quick response! I have been running the command as per the readme and lscpu and sudo cpupower frequency-info indicates that they have been set to performance mode. However, the issue unfortunately still persists.... Do you have any other suggestions?
Also, would it be possible to know what kernel you are using when this runs successfully? We are running Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-78-generic x86_64) with a Intel(R) Xeon(R) E-2136 CPU.

Sorry for the late reply. Apparently there is a bug I guess in srsRAN_Project gNB and applying this (https://github.com/srsran/srsRAN_4G/issues/1213#issuecomment-1703512937) seems to fix these issues.

Also, would it be possible to know what kernel you are using when this runs successfully? We are running Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-78-generic x86_64) with an Intel(R) Xeon(R) E-2136 CPU.

I dont think its a kernel issue. I am running 6.2.0-32-generic kernel with Ubuntu 22.04.3 LTS

Can do me a favor and run the srsRAN_Project gNB by setting log level to debug and send me the log file generated in srsran folder inside docker_open5gs ??
https://github.com/herlesupreeth/docker_open5gs/blob/6fabf5d08eb4f2c767a828854923bfe4b7afc3de/srsran/gnb_zmq.yml#L27

Hello, here is the log as per your specifications. It is truncated as the original log is 80 mb with some repeat from the zmq. The repeated section is mostly this:
2023-09-15T12:44:05.100702 [FAPI    ] [D] [    21.4] Slot.indication
2023-09-15T12:44:05.100726 [SCHED   ] [W] [    21.4] ue=0 rnti=0x4601 PDSCH allocation skipped. Cause: No available HARQs. Check if any HARQ-ACK went missing or is arriving to the scheduler too late.
2023-09-15T12:44:05.100731 [FAPI    ] [D] [    21.4] DL_TTI.request slot=21.4
2023-09-15T12:44:05.100736 [FAPI    ] [D] [    21.4] UL_TTI.request slot=21.4
2023-09-15T12:44:05.100743 [zmq:tx:0:0] [D] Requested to transmit 5760 samples.
2023-09-15T12:44:05.100756 [zmq:rx:0:0] [D] Requested to receive 5760 samples.
2023-09-15T12:44:05.100794 [zmq:tx:0:0] [D] Socket received request.
2023-09-15T12:44:05.100806 [zmq:tx:0:0] [D] Socket sent 5760 samples.
2023-09-15T12:44:05.100909 [zmq:tx:0:0] [D] Socket received request.
2023-09-15T12:44:05.101297 [zmq:rx:0:0] [D] Socket received 11520 samples.
2023-09-15T12:44:05.101321 [zmq:rx:0:0] [D] Socket sent request.
2023-09-15T12:44:05.101787 [zmq:tx:0:0] [D] Requested to transmit 5760 samples.
2023-09-15T12:44:05.101800 [zmq:rx:0:0] [D] Requested to receive 5760 samples.
2023-09-15T12:44:05.101813 [zmq:tx:0:0] [D] Socket sent 5760 samples.

Just for clarification, I was running a ping command through the tun_srsue interface to ping the UPF (ping -I tun_srsue upf as well as with the actual IP addresses for both interface and UPF) while this was running. Perhaps a line that might be worth investigating is:
[SCHED   ] [D] [   196.7] DL HARQ rnti=0x4601 cell=0 h_id=0: Setting HARQ to "pending reTx" state. Cause: HARQ-ACK wait timeout (10 slots) was reached but only invalid HARQ-ACKs were received so far.
Uploading warning_gnb.log…
Let me know if there is anything else I can do to help! Thank you!

Hello, here is the log as per your specifications. It is truncated as the original log is 80 mb with some repeat from the zmq. The repeated section is mostly this:
2023-09-15T12:44:05.100702 [FAPI    ] [D] [    21.4] Slot.indication
2023-09-15T12:44:05.100726 [SCHED   ] [W] [    21.4] ue=0 rnti=0x4601 PDSCH allocation skipped. Cause: No available HARQs. Check if any HARQ-ACK went missing or is arriving to the scheduler too late.
2023-09-15T12:44:05.100731 [FAPI    ] [D] [    21.4] DL_TTI.request slot=21.4
2023-09-15T12:44:05.100736 [FAPI    ] [D] [    21.4] UL_TTI.request slot=21.4
2023-09-15T12:44:05.100743 [zmq:tx:0:0] [D] Requested to transmit 5760 samples.
2023-09-15T12:44:05.100756 [zmq:rx:0:0] [D] Requested to receive 5760 samples.
2023-09-15T12:44:05.100794 [zmq:tx:0:0] [D] Socket received request.
2023-09-15T12:44:05.100806 [zmq:tx:0:0] [D] Socket sent 5760 samples.
2023-09-15T12:44:05.100909 [zmq:tx:0:0] [D] Socket received request.
2023-09-15T12:44:05.101297 [zmq:rx:0:0] [D] Socket received 11520 samples.
2023-09-15T12:44:05.101321 [zmq:rx:0:0] [D] Socket sent request.
2023-09-15T12:44:05.101787 [zmq:tx:0:0] [D] Requested to transmit 5760 samples.
2023-09-15T12:44:05.101800 [zmq:rx:0:0] [D] Requested to receive 5760 samples.
2023-09-15T12:44:05.101813 [zmq:tx:0:0] [D] Socket sent 5760 samples.

Just for clarification, I was running a ping command through the tun_srsue interface to ping the UPF (ping -I tun_srsue upf as well as with the actual IP addresses for both interface and UPF) while this was running. Perhaps a line that might be worth investigating is:
[SCHED   ] [D] [   196.7] DL HARQ rnti=0x4601 cell=0 h_id=0: Setting HARQ to "pending reTx" state. Cause: HARQ-ACK wait timeout (10 slots) was reached but only invalid HARQ-ACKs were received so far.
Let me know if there is anything else I can do to help! Thank you!
warning_gnb.log

Does this seem related to (https://github.com/srsran/srsRAN_4G/issues/1213#issuecomment-1703512937) ?Let me know if there is anything else I can do to help! Thank you!

Sorry for the late reply. Yes, it is related. Should be fixed in coming release.  Then, I would suggest the following. Copy the contents of that diff to a file inside srsran folder.Then, modify the Dockerfile in srsran folder as follows:
diff --git a/srsran/Dockerfile b/srsran/Dockerfile
index 07f94c6..37ee2a9 100644
--- a/srsran/Dockerfile
+++ b/srsran/Dockerfile
@@ -41,6 +41,7 @@ RUN add-apt-repository ppa:ettusresearch/uhd && \
 # Get srsRAN_Project, compile and install
 RUN git clone https://github.com/srsran/srsRAN_Project.git && \
     cd srsRAN_Project && \
+    git apply fix_diff_filename && \
     mkdir build && cd build && \
     cmake ../ -DENABLE_EXPORT=ON -DENABLE_ZEROMQ=ON && make -j`nproc` && make install && \
     ldconfig

then, execute the below command inside srsran folder
docker build -t docker_srsran .

Ok, that works! Thank you for the help! Will close the issue for now. Looks like the UPF out just needed the routing configured manually as per the SRS documentation.


Docker on arfmhf (Raspberry Pi) still showing v0.8.0

I stopped, removed, deleted the images, and reinstalled from scratch and it is still showing v0.8.0 in the about page.
Steps:
docker stop mygaps
docker rm mygaps
docker image rm 9ac1d6829773
docker pull housewrecker/gaps:armhf-latest
docker stop mygapsdocker run -d -p 8484:8484 --name mygaps -v /{localFolder}/gaps:/usr/data housewrecker/gaps:armhf-latest
I also tried changing /{localFolder} to another location but it still shows v0.8.0

Try pulling, it should be updated.

Did a Docker pull with the command above and it's still reporting 0.8.0

I did some research and it looks like armhf is depreciated and armv6 and armv7 are recommended.
I built a new armv7, please pull and try that out. docker pull housewrecker/gaps:arm32v7-latest

I got that installed, and the docker will start and run, but the webpage won't load.

I pushed an update and tested and it's working in my local. Can you try again?
Make sure to stop the other gaps docker image so that port 8484 isn't already bound.

 You can see the only other dockers I have running.

13 seconds is probably not long enough for the JVM to start. On my machine it's 30 seconds to a minute to warm up. You can view the logs to know when Spring starts.

It's been up for 6 minutes now and still can't load the webpage. I have no idea where to find the logs.

 docker logs [OPTIONS] CONTAINER

`pi@raspberrypi:~ $ docker logs mygaps
Enable SSL: false
Enable Login: false
Base URL:
Jar File: gaps.jar
OpenJDK Server VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes
.   ____          _            __ _ _
/\ / ' __ _ () __  __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/  )| |)| | | | | || (| |  ) ) ) )
'  || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot ::                (v2.5.1)
1930-10-21 10:23:53.982  INFO 8 --- [           main] com.jasonhhouse.gaps.GapsApplication     : Starting GapsApplication v0.9.8 using Java 11.0.11 on a4bce0cb18c6 with PID 8 (/usr/app/gaps.jar started by root in /usr/app)
1970-01-01 00:00:00.000  INFO 8 --- [           main] com.jasonhhouse.gaps.GapsApplication     : The following profiles are active: no-ssl-no-login
1997-08-22 00:06:24.000  WARN 8 --- [           main] o.s.b.c.config.ConfigDataEnvironment     : Property 'spring.profiles' imported from location 'class path resource [application-no-ssl-no-login.yaml]' is invalid and should be replaced with 'spring.config.activate.on-profile' [origin: class path resource [application-no-ssl-no-login.yaml] from gaps.jar - 10:13]
pi@raspberrypi:~ $
`

Are you running with docker compose or plain docker?

Not sure.  I installed with these commands:
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
So whatever that installs. Gaps worked just fine at v0.8.0, but now it's not running.

Here's the output. It's stuck on the last line, hasn't returned to a prompt yet (maybe that's supposed to happen?).  Webpage still not loading.
pi@raspberrypi:~ $ docker run -p 8484:8484 --name arm32v7 housewrecker/gaps:arm32v7-latest
Enable SSL: false
Enable Login: false
Base URL:
Jar File: gaps.jar
OpenJDK Server VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v2.5.1)

1930-10-22 18:15:22.072  INFO 8 --- [           main] com.jasonhhouse.gaps.GapsApplication     : Starting GapsApplication v0.9.8 using Java 11.0.11 on 1ffb62742ec8 with PID 8 (/usr/app/gaps.jar started by root in /usr/app)
1970-01-01 00:00:00.000  INFO 8 --- [           main] com.jasonhhouse.gaps.GapsApplication     : The following profiles are active: no-ssl-no-login
1997-08-21 22:36:24.000  WARN 8 --- [           main] o.s.b.c.config.ConfigDataEnvironment     : Property 'spring.profiles' imported from location 'class path resource [application-no-ssl-no-login.yaml]' is invalid and should be replaced with 'spring.config.activate.on-profile' [origin: class path resource [application-no-ssl-no-login.yaml] from gaps.jar - 10:13]

That's just the first three lines. There should be more to come. What RPI do you have?
`Enable SSL: false
Enable Login: false
Base URL:
Jar File: gaps.jar
.   ____          _            __ _ _
/\ / ' __ _ () __  __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/  )| |)| | | | | || (| |  ) ) ) )
'  || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot ::                (v2.5.1)
2021-06-15 00:39:19.932  INFO 11 --- [           main] com.jasonhhouse.gaps.GapsApplication     : Starting GapsApplication v0.9.8 using Java 11.0.11 on 54a661bf66f5 with PID 11 (/usr/app/gaps.jar started by root in /usr/app)
2021-06-15 00:39:19.945  INFO 11 --- [           main] com.jasonhhouse.gaps.GapsApplication     : The following profiles are active: no-ssl-no-login
2021-06-15 00:39:20.340  WARN 11 --- [           main] o.s.b.c.config.ConfigDataEnvironment     : Property 'spring.profiles' imported from location 'class path resource [application-no-ssl-no-login.yaml]' is invalid and should be replaced with 'spring.config.activate.on-profile' [origin: class path resource [application-no-ssl-no-login.yaml] from gaps.jar - 10:13]
2021-06-15 00:39:27.048  INFO 11 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-06-15 00:39:27.437  INFO 11 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 343 ms. Found 1 JPA repository interfaces.
2021-06-15 00:39:31.497  INFO 11 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8484 (http)
2021-06-15 00:39:31.609  INFO 11 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2021-06-15 00:39:31.610  INFO 11 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.46]
2021-06-15 00:39:31.913  INFO 11 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2021-06-15 00:39:31.914  INFO 11 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 11569 ms
2021-06-15 00:39:33.328  INFO 11 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2021-06-15 00:39:33.702  INFO 11 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2021-06-15 00:39:34.163  INFO 11 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2021-06-15 00:39:34.627  INFO 11 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate Core {5.2.12.Final}
2021-06-15 00:39:34.637  INFO 11 --- [           main] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2021-06-15 00:39:34.891  INFO 11 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2021-06-15 00:39:34.997  INFO 11 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.SQLiteDialect
2021-06-15 00:39:36.055  INFO 11 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: com.jasonhhouse.gaps.sql.SQLDialect
2021-06-15 00:39:36.191  INFO 11 --- [           main] o.h.e.j.e.i.LobCreatorBuilderImpl        : HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [2] less than 4
2021-06-15 00:39:39.308  INFO 11 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-06-15 00:39:39.958  WARN 11 --- [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-06-15 00:39:43.946  INFO 11 --- [           main] com.jasonhhouse.gaps.RestartMonitor      : init()
2021-06-15 00:39:43.948  INFO 11 --- [           main] c.j.gaps.service.SchedulerService        : getRawSchedule()
2021-06-15 00:39:43.950  WARN 11 --- [           main] c.j.gaps.service.FileIoService           : Can't find json file '/usr/data/gaps.properties'. Most likely first run.
2021-06-15 00:39:43.954  INFO 11 --- [           main] com.jasonhhouse.gaps.RestartMonitor      : Setting saved schedule to cron job
2021-06-15 00:39:43.954  INFO 11 --- [           main] c.j.gaps.service.SchedulerService        : setSchedule( SchedulePayload{schedule=2, enabled=true} )
2021-06-15 00:39:43.957  WARN 11 --- [           main] c.j.gaps.service.FileIoService           : Can't find json file '/usr/data/gaps.properties'. Most likely first run.
2021-06-15 00:39:43.961  INFO 11 --- [           main] c.j.gaps.service.FileIoService           : writeProperties( PlexProperties{plexServers=[], movieDbApiKey='', password='', telegramProperties=TelegramProperties{botId='', chatId='', enabled='false', notificationTypes=[]}, pushBulletProperties=PushBulletProperties{channelTag='', accessToken='', enabled=false, notificationTypes=[]}, emailProperties=EmailProperties{username='', password='', mailTo='', mailFrom='', mailServer='', mailPort=0, mailTransportProtocol='', mailSmtpAuth='', mailSmtpTlsEnabled=false, enabled=false, notificationTypes=[]}, gotifyProperties=GotifyProperties{address='', token='', enabled=false, notificationTypes=[]}, slackProperties=SlackProperties{webHookUrl='', enabled=false, notificationTypes=[]}, pushOverProperties=PushOverProperties{token='', user='', priority=0, sound='', retry=0, expire=0, enabled=false, notificationTypes=[]}, discordProperties=DiscordProperties{webHookUrl=''}, schedule=Schedule{message='Weekly', cron='0 0 4 * * MON', id=2, enabled=true}} )
2021-06-15 00:39:44.576  INFO 11 --- [           main] c.j.gaps.service.SchedulerService        : Setting schedule for Weekly as cron '0 0 4 * * MON'
2021-06-15 00:39:44.577  INFO 11 --- [           main] c.j.gaps.service.SchedulerService        : Cron TimeZone sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
2021-06-15 00:39:44.997  INFO 11 --- [           main] com.jasonhhouse.gaps.WebSecurityConfig   : userDetailsService()
2021-06-15 00:39:45.321  INFO 11 --- [           main] com.jasonhhouse.gaps.WebSecurityConfig   : Name: Gaps
2021-06-15 00:39:45.321  INFO 11 --- [           main] com.jasonhhouse.gaps.WebSecurityConfig   : Description: Gaps searches through your Plex Server or local folders for all movies, then queries for known movies in the same collection. If those movies don't exist in your library, Gaps will recommend getting those movies, legally of course.
2021-06-15 00:39:45.321  INFO 11 --- [           main] com.jasonhhouse.gaps.WebSecurityConfig   : Version: 0.9.8
2021-06-15 00:39:45.321  INFO 11 --- [           main] com.jasonhhouse.gaps.WebSecurityConfig   : LoginEnabled: false
2021-06-15 00:39:45.334  INFO 11 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/resources/'] with []
2021-06-15 00:39:45.335  INFO 11 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/static/'] with []
2021-06-15 00:39:45.335  INFO 11 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/css/'] with []
2021-06-15 00:39:45.335  INFO 11 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/js/'] with []
2021-06-15 00:39:45.336  INFO 11 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure Ant [pattern='/images/**'] with []
2021-06-15 00:39:46.994  INFO 11 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page template: index
2021-06-15 00:39:50.395  INFO 11 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2021-06-15 00:39:50.458  INFO 11 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1d65a81, org.springframework.security.web.context.SecurityContextPersistenceFilter@1116ca2, org.springframework.security.web.header.HeaderWriterFilter@1126e26, org.springframework.web.filter.CorsFilter@9cfc77, org.springframework.security.web.authentication.logout.LogoutFilter@b0d1fa, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@13bb809, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@240cf2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@18d76e, org.springframework.security.web.session.SessionManagementFilter@6d2016, org.springframework.security.web.access.ExceptionTranslationFilter@8c5fb3]
2021-06-15 00:39:52.338  INFO 11 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8484 (http) with context path ''
2021-06-15 00:39:52.349  INFO 11 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     : Starting...
2021-06-15 00:39:52.350  INFO 11 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [org.springframework.messaging.simp.broker.DefaultSubscriptionRegistry@139aac4]]
2021-06-15 00:39:52.351  INFO 11 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     : Started.
2021-06-15 00:39:52.437  INFO 11 --- [           main] com.jasonhhouse.gaps.GapsApplication     : Started GapsApplication in 35.607 seconds (JVM running for 39.056)
2021-06-15 00:39:59.994  INFO 11 --- [nio-8484-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-06-15 00:39:59.995  INFO 11 --- [nio-8484-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2021-06-15 00:39:59.999  INFO 11 --- [nio-8484-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 3 ms
2021-06-15 00:40:00.190  INFO 11 --- [nio-8484-exec-1] c.j.gaps.controller.GapsController       : getIndex()
2021-06-15 00:40:00.429  INFO 11 --- [nio-8484-exec-1] c.j.gaps.controller.GapsController       : initBinder()
2021-06-15 00:40:50.544  INFO 11 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]
2021-06-15 00:41:02.746  INFO 11 --- [nio-8484-exec-5] c.j.gaps.controller.GapsController       : getIndex()
2021-06-15 00:41:02.752  INFO 11 --- [nio-8484-exec-5] c.j.gaps.controller.GapsController       : initBinder()
2021-06-15 01:10:50.546  INFO 11 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 2, active threads = 1, queued tasks = 0, completed tasks = 1]
`

That's all the output. Raspberry Pi 4 Model B - 2 GB.

In researching more, Spring Boot Docker with RPI can have some issues for some people. I don't have a device to test but I'm wondering if limited memory is the issue.

Yeah I figured out how to kill it. No big deal, I don't use it a lot, but got notified you updated and that's what prompted all of this. But I don't mind helping test.

Can you try this one?
docker pull housewrecker/gaps:arm-latest

WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

Gotcha. That confirms you are on ARMv7. Did it still run? Or just stop there?

It didn't run, just stopped there.
FYI- I'll need to pick this up tomorrow.

Okay, I'll keep poking around.


[WIP ] Ockam Branding and Styling

Current behavior

Proposed changes
WIP; Creating PR as Draft

Checks

[ ] All commits in this Pull Request are signed and Verified by Github.
[ ] All commits in this Pull Request follow the Ockam commit message convention.
[ ] I accept the Ockam Community Code of Conduct.
[ ] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a PR, this will mark the commit as verified.

I think this will likely fix https://github.com/build-trust/ockam/issues/4672  too

Closing in favor of: https://github.com/build-trust/ockam/pull/4858


CC-16972: Inherit Marketplace payment methods in a single basket scenario

Developer(s): @michbeck
Ticket: https://spryker.atlassian.net/browse/CC-16972

Destination branch adjusted


fm.cnbc.com

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: blu

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

fm.cnbc.com

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client:

Version:

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:
Breaks image
https://www.cnbc.com/2020/01/30/caltech-wins-1point1-billion-jury-verdict-in-patent-case-against-apple-broadcom.html
https://fm.cnbc.com/applications/cnbc.com/resources/source_logo/2018/04/05/133240667-byline-reuters.png

Thank you for making Energized Protection great with your kind help!

A project by Ador with ❤

I'm not sure if I would whitelist this domain. Because reputed sources are blocking access to this domain.


Atmos fails when using the s3 backend if not logged in

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Describe the Feature
Problem: Atmos fails when using the s3 backend if not logged in
It would be nice if atmos could fail early if aws sts get-caller-identity returns nothing... or whatever golang sdk can quickly see if we currently have a logged-in session within aws.
This could also be a new input param in atmos.yaml.

There's no practical/generic way to implement this as backends can be implemented any number of ways. We do not want to build in native checking for just AWS, as atmos is in use across enterprises in all sorts of clouds. Alternatively, you could propose a solution of running pre-flight checks as hooks containing any command(s) or referencing workflows. That sort of generic implementation would be acceptable.


A lot of dependency from default libraryes in build folder

A lot of dependency from default libraries in build folder (since i installed ReactiveUI) :
...
System.AppContext.dll
System.Collections.dll
System.Collections.Concurrent.dll
System.Collections.NonGeneric.dll
System.Collections.Specialized.dll
System.ComponentModel.dll
System.ComponentModel.EventBasedAsync.dll
System.ComponentModel.Primitives.dll
System.ComponentModel.TypeConverter.dll
System.Console.dll
System.Data.Common.dll
System.Diagnostics.Contracts.dll
System.Diagnostics.Debug.dll
System.Diagnostics.FileVersionInfo.dll
System.Diagnostics.Process.dll
System.Diagnostics.StackTrace.dll
System.Diagnostics.TextWriterTraceListener.dll
System.Diagnostics.Tools.dll
System.Diagnostics.TraceSource.dll
System.Diagnostics.Tracing.dll
System.Drawing.Primitives.dll
System.Dynamic.Runtime.dll
System.Globalization.dll
System.Globalization.Calendars.dll
System.Globalization.Extensions.dll
System.IO.dll
System.IO.Compression.dll
System.IO.Compression.ZipFile.dll
System.IO.FileSystem.dll
System.IO.FileSystem.DriveInfo.dll
System.IO.FileSystem.Primitives.dll
System.IO.FileSystem.Watcher.dll
System.IO.IsolatedStorage.dll
System.IO.MemoryMappedFiles.dll
System.IO.Pipes.dll
System.IO.UnmanagedMemoryStream.dll
System.Linq.dll
System.Linq.Expressions.dll
System.Linq.Parallel.dll
System.Linq.Queryable.dll
System.Net.Http.dll
System.Net.NameResolution.dll
System.Net.NetworkInformation.dll
System.Net.Ping.dll
System.Net.Primitives.dll
System.Net.Requests.dll
System.Net.Security.dll
System.Net.Sockets.dll
System.Net.WebHeaderCollection.dll
System.Net.WebSockets.dll
System.Net.WebSockets.Client.dll
System.ObjectModel.dll
System.Reflection.dll
System.Reflection.Extensions.dll
System.Reflection.Primitives.dll
System.Resources.Reader.dll
System.Resources.ResourceManager.dll
System.Resources.Writer.dll
System.Runtime.dll
System.Runtime.CompilerServices.Unsafe.dll
System.Runtime.CompilerServices.VisualC.dll
System.Runtime.Extensions.dll
System.Runtime.Handles.dll
System.Runtime.InteropServices.dll
System.Runtime.InteropServices.RuntimeInformation.dll
System.Runtime.Numerics.dll
System.Runtime.Serialization.Formatters.dll
System.Runtime.Serialization.Json.dll
System.Runtime.Serialization.Primitives.dll
System.Runtime.Serialization.Xml.dll
System.Security.Claims.dll
System.Security.Cryptography.Algorithms.dll
System.Security.Cryptography.Csp.dll
System.Security.Cryptography.Encoding.dll
System.Security.Cryptography.Primitives.dll
System.Security.Cryptography.X509Certificates.dll
System.Security.Principal.dll
System.Security.SecureString.dll
System.Text.Encoding.dll
System.Text.Encoding.Extensions.dll
System.Text.RegularExpressions.dll
System.Threading.dll
System.Threading.Overlapped.dll
System.Threading.Tasks.dll
System.Threading.Tasks.Extensions.dll
System.Threading.Tasks.Parallel.dll
System.Threading.Thread.dll
System.Threading.ThreadPool.dll
System.Threading.Timer.dll
System.ValueTuple.dll
System.Windows.Interactivity.dll
System.Xml.ReaderWriter.dll
System.Xml.XDocument.dll
System.Xml.XmlDocument.dll
System.Xml.XmlSerializer.dll
System.Xml.XPath.dll
System.Xml.XPath.XDocument.dll
System.Runtime.CompilerServices.Unsafe.xml
System.Threading.Tasks.Extensions.xml
System.ValueTuple.xml
Why?

Not really an issue per say. What platform are you compiling for?

Windows 7 x64

WPF? Xaml? .NET 4.6.2 or different?

Ou sorry. NET 4.6.1 WPF.

I just created a brand new application and only get the following outputting apart from the main executable.
reactiveui.dll - the main executable
splat.dll - our DI engine which is a requirement of rxui
system.drawing.primitives - required by splat
system.reactive - required by rxui
system.valuetype - required by system.reactive and rxui, since we aren't using .net 4.7.1
Are you using the old style package.config nuget references of the newer packagereference?
Usually the newer format is better at working out dependencies better https://docs.microsoft.com/en-us/nuget/reference/migrate-packages-config-to-package-reference

It's my package.config (old style):

I did some testing, it's likely due to the fact you upgraded to System.Reactive 4.1.0
Basically those MS packages are updated compared to 4.6.1 version, if you updated to 4.7.1 you'll notice a dramatic number of those packages would disappear.
The new package format is much better you should upgrade regardless.

One other thing, you only need System.Reactive now. Remove all those others.


sched/group: There is no need to use sched_[un]lock

Summary
purpose:
1 sched_lock is very time-consuming, and reducing its invocations can improve performance. 2 sched_lock is prone to misuse, and narrowing its scope of use is to prevent people from referencing incorrect code and using it
test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20 running
qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx
We have also tested this patch on other ARM hardware platforms.
Impact
sched
Testing
arm64 arm

[Experimental Bot, please feedback here]
The PR summary is insufficient and lacks details about the actual code changes. The impact section only mentions "sched" without explaining the specific impact. The testing section, while mentioning platforms, doesn't provide the required logs or specify the exact boards and configurations used.
Therefore, this PR does NOT meet the NuttX requirements.
Here's what needs improvement:
Summary:

Be specific about the changes: Instead of just saying "sched_lock is time-consuming," explain what code specifically leads to excessive sched_lock calls.
Detail the solution: How is the scope of sched_lock narrowed? What code changes achieve this? Provide examples.
Quantify the performance improvement: "Improve performance" is vague.  Provide concrete numbers or benchmarks showing the impact of the change.

Impact:

Explain the impact on "sched": Does this change the scheduler's behavior? Are there any functional changes?
Address all impact points: Even if an impact area is not affected, explicitly state "NO" for each point.

Testing:

Provide detailed logs:  Include "before" and "after" logs from your qemu and ARM hardware tests.
Specify configurations: Mention the specific boards, kernels, and NuttX configurations used for testing.

Additional Considerations:

Code style and documentation: Ensure the code follows NuttX style guidelines and includes necessary comments.  Update documentation if the changes impact user-facing behavior.
Consider edge cases: Have potential issues arising from the narrowed scope of sched_lock been considered and addressed?

By providing more detailed information and addressing the points above, you can create a PR that meets NuttX requirements.


Organization: Module 4

@jesseilev
Resources are still listed in Module 4 readme.

Ya I'm actually looking at this right now. Lot's of organization stuff to be done. I'm going to go through and just do some basic formatting to save you time, but we still need a Module 4 description, possibly still some studios, and the Problem Set 4 page needs to be finalized

Thanks, just made a couple of changes on pset 4 you can check here for those changes
https://github.com/LaunchCodeEducation/cs50x-live/issues/17
Studios: Word Stretch Grid got updated and ASCII Art didn't

Home page is done.
Other features listed here have separate issues


Physics based hands

With the new physics interactions in the labs, with physics based hands, would it be possible for them to be added into this plugin? As it does have stuff from the lab it would make sense for them to be added alongside the other interactions.

It seems that this is being worked on:  https://twitter.com/MrZulubo/status/1170054934147895296 which is great

This is being added to version 2.4.0. You can test a beta release here if you like: https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.4.0b


review/document client exceptions

Description of issue or feature request:
Revise and implements client exceptions handling
Current behavior:
Not all thrown exceptions are documented or handled by the client.
Expected behavior:
Implement proper exception handling and document the API
Sync with #1131

The major items here are probably:

bundle (once it's in) should only raise RepositoryError (or anyway a single base error representing failures because remote provided metadata we can't cope with) and user errors like ValueError
since we removed mirrors, we can longer hide behind NoWorkingMirror -- need to figure out a nice solution. This probably still involves at least one wrapper error as we may get random errors from whatever Fetcher is being used

After doing the metadata bundle integration, I think our client exceptions should be grouped like this:

RepositoryErrors (various): something is wrong with metadata. In some cases this can be handled within client (like in the case of local metadata being no longer signed by correct keys), but in many cases this is an external exception
OSErrors (various): Failures to read or write local metadata
RuntimeErrors/ValueErrors/etc: errors that mean API misuse (code should be fixed, exception should not be handled)
some kind of generic download error: We should define an error that download functions return, wrapping whatever error the requestsfetcher implementation raises. This way the updater public API has a specific error for download failures

My impression is that ngclient exceptions are in a pretty good state by now, but review would  be good:

see what exceptions are handled in code using ngclient (like tests)
review ngclient/trustedmetadataset and see if exceptions seem to make sense

In addition to a review, we should document how ngclient uses exceptions: mostly that RepositoryError is used as a catch all for  fatal update errors -- a metadata state that clients cannot recover from, but where a later update (after the remote updates metadata) might succeed.

Updated title: I think we're mostly missing proper documentation:

document our own exceptions
document OSErrors where necessary (anytime we read or write files)


Support ?count on collections

Builds on #3152 to provide counts for the collections. See https://github.com/apache/incubator-openwhisk/issues/3051#issuecomment-355751801.

Do we still keep the API swagger current with changes like these? For the OW JS SDK, that file was super useful when implemeting the library. I'm not sure where else we are documenting the API if not there?

My oversight. We should update the swagger.

Who is updating the swagger?

i think we need to move to swagger 3.0 to use oneof since this query changes the response schema.

I think we need to move to swagger 3.0 to use oneof since this query changes the response schema.

I don’t think there should be a problem with this. Do we have an issue tracking this work?


Update recipe for py312_patch

Preparation for py312 release.

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: clone/recipe/meta.yaml:41: invalid_url: http://amoffat.github.io/sh/ : Not reachable: 404
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: clone/recipe/meta.yaml:42: invalid_url: http://amoffat.github.io/sh/ : Not reachable: 404
Errors were found


feature: Generate UUID without prefix "urn:uuid:"

Is your feature request related to a problem? Please describe.
It's inconvenient to parse by clients mocks from example where attribute with uuid format could be like  "urn:uuid:df48da63-0b3e-2392-f080-a0350cb1a100"  or "df48da63-0b3e-2392-f080-a0350cb1a100"
Describe the solution you'd like
Just leave "df48da63-0b3e-2392-f080-a0350cb1a100"  format

Sorry @usmanovbf but I really do not know what this means.
Could you maybe provide some sort of example to elaborate your point?

@usmanovbf could you provide some information so we can move on this bug? What is the spec you are using? What command are you running? What version are you using?
We have an issue template for bugs, which includes these questions. The goal is to help you provide enough information to help us.
**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**

Using this example specification:

``` yaml
openapi: 3.0
# ...

Steps to reproduce the behavior:

When I run this command: prism mock example.yaml --foo --bar
Then make the following HTTP request: curl GET ...
Then something unexpected happens...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. macOS 10.14.4]
Prism Version [e.g. v3.0.0]
Install method [e.g. binary, npm, yarn, docker]

I think I know what he means.
When setting a property to type string and format uuid and running prism with -d flag, sometimes it generates a uuid like: 207d1180-9659-cec6-6a6d-05d1a5e6f830 but sometimes it generates the uuid prefixed with urn:uuid: like: urn:uuid:207d1180-9659-cec6-6a6d-05d1a5e6f830

It looks like it's generated by the json-schema-faker library.
You can see it here
uuid: '^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$'

We have just released 3.2.0-beta.5 that fixes this issue. You can try it out installing Prism from npm with its beta tag
npm i @stoplight/prism-cli@beta


MattNer0 Fork

Thanks very much for this app it is incredibly simple and useful.
I've also sumbled on the Fork form Mattner0 and use his app since then. Therefore acouple of questions and feature requests

Why no own Issues on your Fork Repo?
The Font in editormode needs to be by default Monospaced (or configurable). Otherwise Tables etc look very ugly
It it possible to change a css for changing the Design (color changes etc)
There are some bugs while creating new folders within your app. But when creating the folder in he Explorer it works fine (on Win10)
Alt+P to change between Preview and edit mode would be great

Otherwise your fork is a great improvement on the original app

Hey! I'm happy to hear you like the app. Thanks for the suggestions.
Lemme answer things one by one:
1 - I think my fork should become its own thing, I'm gonna move it to a new repo soon.
2 - Yep, I should add this.
3 - You can load a custom theme from the menu to change the colors but it still needs some work.
4 - I'm gonna look into that, what kind of bugs?
5 - There's already a shortcut (ctrl+shift+v) but it's buggy, alt+p sounds way better.

Think it's the right move since there is so little in common
In my machine (Win10 latest release) I can not create main folders.
When I manually edit or add a file in the folder structure while Pilemd is open it doesn't load the new or modified note. It should autoreload on file change.
I mentioned alt+p because that's the shortcut from the original pilemd. You can keep ctrl+shift+v But I couldn't find this shortcut.

But again thanks for your effort, I use it daily now.

Think it's the right move since there is so little in common

Yeah, I just need to think of a new name

I'm just Brainstorming

MDNotes
MDBook
MDSkin (for Moleskin comparision)
MDa Vinci
MD'ed (Markdown'ed)
Writedown
WriteItDown

As a first selection ;-)

MDSkin (for Moleskin comparision)
MDa Vinci
MD'ed (Markdown'ed)

I like these three but perhaps we shouldn't wordplay around the "MD".
There's already more in the app than just markdown notes (outlines) and I'm thinking about a calendar view or a kanban board as the next feature.
It's going to be like a digital bullet journal / organizer / notepad. That's my plan.


runInTerminalRequest shows unnecessary output when kind: integrated

I'm trying to use the DebugAdapterInlineImplementation version of runInTerminalRequest. When I use kind: 'external' and run a simple script, I get the following output, which is great:

But when I run the same script with kind: integrated, I get this output:

There are at least three problems with this:

it shows the Shell splash screen
it shows the command line argument and env vars that I passed to runInTerminalRequest
once my debuggee is finished, it throws the user into a shell, instead of showing something like the Press any key to continue... that is shown in the external case.
I'm not sure, but presumably it is actually running any shell startup scripts as well? That seems also undesirable, if that is so.

I think for us to be able to use this, we would need the following behavior:
a) ideally it would not start a shell at all, i.e. show no splash screen, don't throw us into a shell after the program is finished debugging, don't run any shell startup scripts (that might have bugs)
b) don't show any output before the output that the program itself creates, i.e. have the output look like in the case of the external choice
c) at the end, ideally show something like Press any key to close this terminal..., and then kill the terminal once a user has pressed that key.

I just noticed another problem: if I run something with F5 once, and the debugged program is finished, I end up in a shell. If I then press F5 again, it will reuse that shell, and apparently just copy-paste the new start-command into that shell.
So if a user for example ended up typing some stuff in the shell but didn't finish it, then starting the debugger won't work, because the user might be in a situation like this:

@davidanthoff If you don't like the way runInTerminalRequest works, just don't use it.
Instead you can just spawn your debugger or debuggee as a sub process yourself from the debug adapter.
Some debug extensions support 3 console options: "integratedTerminal", "externalTerminal", and "debugConsole". The first two are covered by the runInTerminalRequest which allow the debug adapter to call back into VS Code in order to launch the debugger or debuggee there.
The third option "debugConsole" needs to be implemented in the debug adapter because the debugger or debuggee must be spawned as a sub process. In this case the debug adapter is responsible for receiving stdout and stderr from the sub process and converts that into DAP Output events which VS Code will show in the debug console.

Instead you can just spawn your debugger or debuggee as a sub process yourself from the debug adapter.

That is what we are currently doing.

If you don't like the way runInTerminalRequest works, just don't use it.

I was hoping we could move towards using it, it would simplify our code base in some really nice ways.
So this is certainly not an urgent ask, but I am still wondering whether my suggestions wouldn't be better in general? It would essentially align the user experience between the integratedTerminal and externalTerminal option, so that the only difference between those two is whether an external terminal window or the integrated one is being used, but not all of these other output differences.
And it showing the shell startup screen good for any scenario? Same with showing the pasted command line that gets executed, isn't that more of a distraction for any scenario?

@davidanthoff thanks for your suggestions.
Here are some comments that try to explain our reasoning why we are not planning to change the current behavior:
Initially there was only the "debug console" which is not a terminal and does not support to provide keyboard input for a running program.
For that reason we added the "external terminal". Since this is a real terminal a program can read keyboard input and send ANSI control characters for "fancy" ASCII output...
Since we can only pass a single command line to the external terminal, we cannot reuse it for another session. That's the reason why it shows the "Press any key to continue..." when done.
Users did not like the "external terminal" behavior because they ended up with lots of external terminal windows hanging around...
When VS Code added an "Integrated Terminal", we started to use this to overcome the shortcomings of the "external terminal" by being able to simulate keyboard input. We try to reuse a terminal for new debug sessions as long as there is no command already running in the terminal.
Since "debug" is just a client of the Integrated Terminal, we use it in a fair and transparent way:

we use the shell that the user has configured for the integrated terminal without modifying any of the options she is using. If this shell has a "shell startup screen", then the Integrated Terminal will show this on startup. The "runInTerminal" request runs later and has no access to the "shell startup screen" output. And because the Integrated Terminal is used for multiple sessions the "shell startup screen" is only shown once.
We do not manipulate the command line received from the debug adapter via the  "runInTerminal" request in any other way than escaping arguments for the specific shell a user has configured. If the shell echoes the command line, then that's what the user will see.

And remember: typically a user configures a launch config to use the Integrated Terminal for the reason to be in full control and see all the details of a command.
If he doesn't care, then she will stick to the debug console which can suppress everything to avoid distracting the user.

Got it!
So essentially you are using the shell in the integrated terminal as the process that runs in the integrated terminal, and then you send a "command" (really via copy-paste) to that process to launch a debugee as a child process. The shell outlives any one debug session, so you can reuse that terminal.
I guess one option would be to replace the shell process with some javascript file that runs in a node process as the "main" process that runs in the terminal. If you then have a communication channel between the node process there and VS Code, then VS Code could send the command to launch a debuggee via that communication channel, rather than copy paste. This "debug host" could in pseudo code literally just look like:
while true {
  dbg_cmd = getNextDebuggee(...) # Just reads a path from the communication channel
  startAsChildProcess(dbg_cmd)
  console.log('Finished debugging')
}

This would also enable the terminal to run multiple consecutive debug sessions, but would have a number of benefits: 1) whenever the debug terminal is idle, one is guaranteed that one can launch a new debug session in it, i.e. it doesn't depend on the user not having entered some code in the shell manually, 2) there is full control over the output, i.e. not splash screens, 3) no dropping into the shell after a given session.

@davidanthoff your "pseudo code" is basically what you should do in your debug adapter.
Having this code in the core of VS Code has no real advantages but at least two big drawbacks:

in remote setups the debug extension (and its contained debug adapter) runs remotely and the to be launched debuggee needs to run remotely too. If your "pseudo code" would run inside VS Code, it would not run remotely and the debuggee would start locally (which is wrong).  When using the "integrated terminal" or the "external terminal" VS Code can easily handle this remote case by using "remote shells"/"remote terminals" that run remotely. But running your "pseudo code" in the correct locations would require additional infrastructure similar to remote shells. We see no value in building this infrastructure because the alternative - spawning the debuggee locally in the debug adapter - already exists and is trivial to do.
when running in the "debug console" the debug adapter is expected to collect any program output from the debuggee's output streams and send this via DAP "Output" events to VS Code. While collecting this output the debug adapter can process the data and add additional information or create inspectable object structures. If the debuggee is launched in VS Code by your pseudo code, it would be much more complex to get the data from the output streams back to the debug adapter for processing.

So I recommend that you just spawn your debuggee in your debug adapter and hook up its output stream to handlers that generate output events.
By using this approach your 3 issues become non issues too:

does not exist because every debug sessions can have its own debug console (or can merge output into a shared debug console) and there is no danger that the user has entered some code manually.
you have "real" full control of the output because it passes through your code and there is no splash screen because no shell is involved.
there is no dropping into a shell after a given session because there is no shell.

There are benefits to using a terminal even in scenarios where it's undesirable for it to remain hanging around after, or when the shell isn't even needed at all. In particular, the terminal provides keyboard input that gets wired to debuggee's stdin. There's no way for a debug adapter to do that, if it spawns the process by itself and does stdio redirection - at least not in a way that integrates into VSCode UI like terminals do.
It sounds like this could be done by adding a flag to RunInTerminalRequest that'd it treat args as the shell for that particular terminal (i.e. uses it in lieu of terminal.integrated.shell.*), and skip the whole sendText() part entirely. Or maybe allow specifying shell and shellArgs in the request, and omitting args. This would effectively give adapters a way to hook into terminals directly, giving them all the benefits of a true pty, but without having to deal with the shell, and with full control over the lifetime of the terminal (since VSCode already closes terminals if the underlying shell exits).

Fixed in https://github.com/microsoft/vscode/pull/206376


Crash app in case cancel turn on chain after change token when transfer

https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/509155c6-6d94-48d9-b012-642a394b721c

Version test: v1.0.4(178)
Devices test: IP 11
Validation passed.


Empty Response

Is anyone else going through this, or is it just me? It's been 2 days, and I haven't an empty response.

This is the same issue as https://github.com/AshwinPathi/claude-api-py/issues/14 I think, I'm fixing it now.

@pendekarcode just pushed a fix, try now. The completion field should be filled out now

thank you for your support. update code is very useful. Thank you very much.


Cannot toggle shared process when window.experimental.sharedProcessUseUtilityProcess: true

Testing #174837
nothing in the dev tools console indicates there's an issue though

I think a good fix would be to not show the action when utility process is used. But there is no counter part unfortunately.


Can the projects be upgraded to VS2017?

Thanks for the PR and sorry for the delay!
We can't upgrade the projects to VS2017 because we still support VS2015U3 for building the tool. Therefore, we leave the projects targetted at v140 to catch any incompatibilities as quickly as possible.


Where can I find the code?

Where can I find the code?

Will be available at here right after the conference.

It is available here now!


Devise currently does not have a customizable redirect helper upon authentication failure

We have helpers to redirect upon success such as after_sign_up_path_for and after_inactive_sign_up_path_for but we currently do not have any helpers when a signup/login fails. Solutions online such as this works but very limited in scope and sometimes buggy.

Hello @NuclearMachine, thanks for your request.
We don't have plans to support this for now, so although I know it's not ideal you probably will have to override this code in order to add your custom behavior.
If this became a popular feature request we can think about supporting in a next version.
Thank you!


Don't rely only on window names

What often happens is that a window may bear the name of a game, and so its window will be resized. For example any game on Steam, when you open the properties window it is resized because it bears the name of the game.
We'd need to have something more precise to only resize the window we want.

Good thinking! I will incorporate the changes in next update.

I'd really love this feature. The game I'm playing incorporated the current FPS into the window's name, which is changing more than 10 times per second.
This makes it impossible to hook into the window.


feat: implement clone for DeltaTable struct

Description
This PR adds the derive(Clone) attribute to theDeltaTable struct.
Related Issue(s)

Documentation

@mightyshazam - thanks, I actually have been waiting for this PR 😆.
For a looong time folks wanted DeltaTable to be Cloneable and we have always rejected it since cloning the state used to be potentially ridiculously expensive ... now its practically for free 🥲.
So I am fine to merge this. However, I'd be curious about the use case. Specifically in most situations I would recommend cloning the state itself, as DeltaTable just exposes some higher level functionality on top of it and may not have a valid state yet, which forces you to deal with a lot of Options and/or Results which you avoid by just using the Snapshot.


[adc_ctrl test] Fix ADC enum kPowerUpTimeAonCycles from 2 to 6

The ADC conversion can start 30us after power-up.
See "[test-triage] Issues with ADC's chip_sw_adc_ctrl_sleep_debug_cable_wakeup #14945" issue (1).
@ariel9678 @sha-ron
Signed-off-by: Jacob Levy<EMAIL_ADDRESS>

@tjaychen Please review & merge.


multi level dropdown

hi.. i tried your code..
http://fezvrasta.github.io/bootstrap-material-design/bootstrap-elements.html
and i cannot find any userguide about multi level dropdown...
can you guide me?

not supported, open to PRs


Added Sinhala Language Support (si) (si LK)

Is your pull request related to a problem? Please describe
#57
I have Added Sinhala Language Support (si) (si LK).
Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] The title of my pull request is a short description of the requested changes.
[ ] I have added the label enhancement to my pull request.

@SrilalS test your language at https://m.me/OpenSourceChatbot it seems to work well! 👍


Fix 'failed to get network during CreateEndpoint'

Fixes https://github.com/docker/for-linux/issues/888
Fix 'failed to get network during CreateEndpoint' during container starting.
Change the error type to libnetwork.ErrNoSuchNetwork, so Start() in docker engine daemon/cluster/executor/container/controller.go will recreate the network.
Signed-off-by: Xinfeng Liu<EMAIL_ADDRESS>

@xinfengliu thanks for solving this nasty issue ! would appreciate it if you could add a test case here or in https://github.com/moby/moby/blob/master/integration/network/network_test.go to recreate it

@arkodg
Thanks for the quick feedback. The problem is that I could not recreate this issue in a predicatable way, so it is difficult to add the test case in CI.  For details, you can see my notes in https://github.com/moby/moby/pull/41011 .

you could mimic https://github.com/docker/for-linux/issues/888#issuecomment-572348123 via an integration test
sidenote - had no idea we had a retry logic in the executor, TIL :)

@arkodg
Thanks for the test case (https://github.com/docker/for-linux/issues/888#issuecomment-572348123). Sorry I didn't notice that.
Your use case (restarting a container which is on an attachable overlay network and the container was started via docker run) is different from mine but results to the same error. For your use case, my current fix does not cover it because your use case will go to a different code path.
'docker restart' on an attachable overlay network will cause swarmkit reconcileTaskState to run and remove the network.  It causes race condition with starting container.
I'll look into this to see if there's any solutions.

@arkodg
I have fixed the error caused by your use case. Please see my updated notes in https://github.com/moby/moby/pull/41011 about scenario 2.
I will try adding tests in moby integration later time.

@arkodg I have added test case for https://github.com/docker/for-linux/issues/888#issuecomment-572348123 in https://github.com/moby/moby/pull/41011 integration test.

I have reservations about https://github.com/moby/libnetwork/pull/2554#issuecomment-636767809
but we can tackle those later :)


feat(gql): add new query for diff of cves for 2 images

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@laurentiuNiculae in terms of priorities, make sure cli works first and then zui

Superseded by https://github.com/project-zot/zot/pull/2242