text:
modprobe: ERROR: could not insert 'bcm2835_v4l2': Operation not permitted

HOST OS VERSION
balenaOS 2.29.2+rev1
production

SUPERVISOR
VERSION
9.0.1

Restarting service 'main sha256:abc123'
18.02.19 09:45:46 (-0800)  main  [INFO] Load kernel module bcm2835-v4l2...
18.02.19 09:45:47 (-0800)  main  modprobe: ERROR: could not insert 'bcm2835_v4l2': Operation not permitted
18.02.19 09:45:53 (-0800) Service exited 'main sha256:abc123'

Same error on a Raspberry Pi Zero W and new Raspberry Pi 3 A+.

Maybe not super helpful, but since I have it available and just in case: the build log for a Raspberry Pi 3 application:
I don't remember which version of balenaOS/resinOS last worked, possibly the first balenaOS or most recent resinOS which I had been using.
Enumerating objects: 54, done.
Counting objects: 100% (54/54), done.
Delta compression using up to 4 threads
Compressing objects: 100% (34/34), done.
Writing objects: 100% (54/54), 18.48 KiB | 18.48 MiB/s, done.
Total 54 (delta 20), reused 54 (delta 20)

[Info]     Starting build for abc123, user g_abc123
[Info]     Dashboard link: https://dashboard.balena-cloud.com/apps/abc123/devices
[Info]     Building on arm01
[Info]     Pulling previous images for caching purposes...
[Success]  Successfully pulled cache images
[main]     Step 1/7 : FROM resin/raspberrypi3-debian:jessie
[main]      ---> 409eeac42c98
[main]     Step 2/7 : RUN apt-get update
[main]      ---> Running in 144323f178fd
[main]     Get:1 http://archive.raspbian.org jessie InRelease [14.9 kB]
[main]     Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[main]     Ign http://deb.debian.org jessie InRelease
[main]     Get:3 http://deb.debian.org jessie-updates InRelease [145 kB]
[main]     Get:4 http://deb.debian.org jessie Release.gpg [2420 B]
[main]     Get:5 http://security.debian.org jessie/updates InRelease [44.9 kB]
[main]     Get:6 http://deb.debian.org jessie Release [148 kB]
[main]     Get:7 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
[main]     Get:8 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
[main]     Get:9 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
[main]     Get:10 http://archive.raspbian.org jessie/non-free armhf Packages [106 kB]
[main]     Get:11 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
[main]     Get:12 http://archive.raspbian.org jessie/firmware armhf Packages [1208 B]
[main]     Get:13 http://deb.debian.org jessie-updates/main armhf Packages [23.1 kB]
[main]     Get:14 http://deb.debian.org jessie/main armhf Packages [8898 kB]
[main]     Get:15 http://security.debian.org jessie/updates/main armhf Packages [777 kB]
[main]     Fetched 23.7 MB in 14s (1685 kB/s)
[main]     Reading package lists...
[main]      ---> 1bc28f895ddf
[main]     Removing intermediate container 144323f178fd
[main]     Step 3/7 : RUN apt-get install liblivemedia-dev liblog4cpp5-dev git cmake gcc g++ make libasound2-dev kmod v4l-utils net-tools
[main]      ---> Running in 7ed2eade55c2
[main]     Reading package lists...
[main]     Building dependency tree...
[main]     Reading state information...
[main]     kmod is already the newest version.
[main]     net-tools is already the newest version.
[main]     The following extra packages will be installed:
[main]       binutils cmake-data cpp cpp-4.9 g++-4.9 gcc-4.9 gcc-4.9-base git-man
[main]       libarchive13 libasan1 libasound2 libasound2-data libatomic1
[main]       libbasicusageenvironment0 libc-dev-bin libc6-dev libcloog-isl4
[main]       libcurl3-gnutls liberror-perl libexpat1 libgcc-4.9-dev libgcc1 libgomp1
[main]       libgroupsock1 libisl10 libjpeg62-turbo libjsoncpp0 liblivemedia23
[main]       liblog4cpp5 liblzo2-2 libmpc3 libmpfr4 libstdc++-4.9-dev libstdc++6
[main]       libubsan0 libusageenvironment1 libv4l-0 libv4l2rds0 libv4lconvert0 libxml2
[main]       linux-libc-dev
[main]     Suggested packages:
[main]       binutils-doc codeblocks eclipse ninja-build cpp-doc gcc-4.9-locales
[main]       gcc-4.9-doc libstdc++6-4.9-dbg gcc-multilib manpages-dev autoconf automake
[main]       libtool flex bison gdb gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg
[main]       libatomic1-dbg libasan1-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg
[main]       libcilkrts5-dbg libquadmath-dbg gettext-base git-daemon-run
[main]       git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch
[main]       git-cvs git-mediawiki git-svn lrzip libasound2-plugins alsa-utils
[main]       libasound2-doc glibc-doc libstdc++-4.9-doc make-doc
[main]     Recommended packages:
[main]       patch rsync ssh-client xml-core
[main]     The following NEW packages will be installed:
[main]       binutils cmake cmake-data cpp cpp-4.9 g++ g++-4.9 gcc gcc-4.9 git git-man
[main]       libarchive13 libasan1 libasound2 libasound2-data libasound2-dev libatomic1
[main]       libbasicusageenvironment0 libc-dev-bin libc6-dev libcloog-isl4
[main]       libcurl3-gnutls liberror-perl libexpat1 libgcc-4.9-dev libgomp1
[main]       libgroupsock1 libisl10 libjpeg62-turbo libjsoncpp0 liblivemedia-dev
[main]       liblivemedia23 liblog4cpp5 liblog4cpp5-dev liblzo2-2 libmpc3 libmpfr4
[main]       libstdc++-4.9-dev libubsan0 libusageenvironment1 libv4l-0 libv4l2rds0
[main]       libv4lconvert0 libxml2 linux-libc-dev make v4l-utils
[main]     The following packages will be upgraded:
[main]       gcc-4.9-base libgcc1 libstdc++6
[main]     3 upgraded, 47 newly installed, 0 to remove and 32 not upgraded.
[main]     Need to get 41.9 MB of archives.
[main]     After this operation, 135 MB of additional disk space will be used.
[main]     Get:1 http://archive.raspberrypi.org/debian/ jessie/main cmake-data all 3.6.2-2~bpo8+1 [1168 kB]
[main]     Get:2 http://archive.raspberrypi.org/debian/ jessie/main cmake armhf 3.6.2-2~bpo8+1 [2379 kB]
[main]     Get:3 http://archive.raspberrypi.org/debian/ jessie/main libasound2-data all 1.0.28-1+rpi3 [65.3 kB]
[main]     Get:4 http://archive.raspberrypi.org/debian/ jessie/main libasound2 armhf 1.0.28-1+rpi3 [320 kB]
[main]     Get:5 http://archive.raspberrypi.org/debian/ jessie/main libasound2-dev armhf 1.0.28-1+rpi3 [95.3 kB]
[main]     Get:6 http://deb.debian.org/debian/ jessie/main liblzo2-2 armhf 2.08-1.2 [49.5 kB]
[main]     Get:7 http://deb.debian.org/debian/ jessie/main libexpat1 armhf 2.1.0-6+deb8u4 [61.8 kB]
[main]     Get:8 http://deb.debian.org/debian/ jessie/main libjsoncpp0 armhf 0.6.0~rc2-3.1 [62.6 kB]
[main]     Get:9 http://security.debian.org/debian-security/ jessie/updates/main gcc-4.9-base armhf 4.9.2-10+deb8u2 [160 kB]
[main]     Get:10 http://deb.debian.org/debian/ jessie/main libisl10 armhf 0.12.2-2 [338 kB]
[main]     Get:11 http://security.debian.org/debian-security/ jessie/updates/main libstdc++6 armhf 4.9.2-10+deb8u2 [241 kB]
[main]     Get:12 http://deb.debian.org/debian/ jessie/main libcloog-isl4 armhf 0.18.2-1+b2 [50.8 kB]
[main]     Get:13 http://deb.debian.org/debian/ jessie/main libmpfr4 armhf 3.1.2-2 [508 kB]
[main]     Get:14 http://security.debian.org/debian-security/ jessie/updates/main libgcc1 armhf 1:4.9.2-10+deb8u2 [39.8 kB]
[main]     Get:15 http://security.debian.org/debian-security/ jessie/updates/main libxml2 armhf 2.9.1+dfsg1-5+deb8u7 [718 kB]
[main]     Get:16 http://deb.debian.org/debian/ jessie/main libv4lconvert0 armhf 1.6.0-2 [102 kB]
[main]     Get:17 http://security.debian.org/debian-security/ jessie/updates/main libarchive13 armhf 3.1.2-11+deb8u7 [240 kB]
[main]     Get:18 http://security.debian.org/debian-security/ jessie/updates/main libasan1 armhf 4.9.2-10+deb8u2 [168 kB]
[main]     Get:19 http://security.debian.org/debian-security/ jessie/updates/main libatomic1 armhf 4.9.2-10+deb8u2 [6060 B]
[main]     Get:20 http://deb.debian.org/debian/ jessie/main libv4l-0 armhf 1.6.0-2 [70.3 kB]
[main]     Get:21 http://deb.debian.org/debian/ jessie/main libv4l2rds0 armhf 1.6.0-2 [45.7 kB]
[main]     Get:22 http://deb.debian.org/debian/ jessie/main libmpc3 armhf 1.0.2-1 [31.4 kB]
[main]     Get:23 http://deb.debian.org/debian/ jessie/main binutils armhf 2.25-5+deb8u1 [3537 kB]
[main]     Get:24 http://security.debian.org/debian-security/ jessie/updates/main libbasicusageenvironment0 armhf 2014.01.13-1+deb8u1 [19.2 kB]
[main]     Get:25 http://security.debian.org/debian-security/ jessie/updates/main libcurl3-gnutls armhf 7.38.0-4+deb8u14 [231 kB]
[main]     Get:26 http://security.debian.org/debian-security/ jessie/updates/main libgomp1 armhf 4.9.2-10+deb8u2 [35.7 kB]
[main]     Get:27 http://deb.debian.org/debian/ jessie/main cpp armhf 4:4.9.2-2 [17.4 kB]
[main]     Get:28 http://deb.debian.org/debian/ jessie/main gcc armhf 4:4.9.2-2 [5138 B]
[main]     Get:29 http://deb.debian.org/debian/ jessie/main libc-dev-bin armhf 2.19-18+deb8u10 [232 kB]
[main]     Get:30 http://deb.debian.org/debian/ jessie/main libc6-dev armhf 2.19-18+deb8u10 [1750 kB]
[main]     Get:31 http://deb.debian.org/debian/ jessie/main g++ armhf 4:4.9.2-2 [1510 B]
[main]     Get:32 http://deb.debian.org/debian/ jessie/main liberror-perl all 0.17-1.1 [22.4 kB]
[main]     Get:33 http://security.debian.org/debian-security/ jessie/updates/main libgroupsock1 armhf 2014.01.13-1+deb8u1 [24.4 kB]
[main]     Get:34 http://deb.debian.org/debian/ jessie/main liblog4cpp5 armhf 1.0-4 [106 kB]
[main]     Get:35 http://security.debian.org/debian-security/ jessie/updates/main liblivemedia23 armhf 2014.01.13-1+deb8u1 [251 kB]
[main]     Get:36 http://security.debian.org/debian-security/ jessie/updates/main libubsan0 armhf 4.9.2-10+deb8u2 [69.6 kB]
[main]     Get:37 http://deb.debian.org/debian/ jessie/main liblog4cpp5-dev armhf 1.0-4 [182 kB]
[main]     Get:38 http://security.debian.org/debian-security/ jessie/updates/main libusageenvironment1 armhf 2014.01.13-1+deb8u1 [11.5 kB]
[main]     Get:39 http://security.debian.org/debian-security/ jessie/updates/main libjpeg62-turbo armhf 1:1.3.1-12+deb8u1 [99.8 kB]
[main]     Get:40 http://security.debian.org/debian-security/ jessie/updates/main cpp-4.9 armhf 4.9.2-10+deb8u2 [4219 kB]
[main]     Get:41 http://deb.debian.org/debian/ jessie/main make armhf 4.0-8.1 [335 kB]
[main]     Get:42 http://deb.debian.org/debian/ jessie/main v4l-utils armhf 1.6.0-2 [182 kB]
[main]     Get:43 http://security.debian.org/debian-security/ jessie/updates/main libgcc-4.9-dev armhf 4.9.2-10+deb8u2 [358 kB]
[main]     Get:44 http://security.debian.org/debian-security/ jessie/updates/main gcc-4.9 armhf 4.9.2-10+deb8u2 [4420 kB]
[main]     Get:45 http://security.debian.org/debian-security/ jessie/updates/main linux-libc-dev armhf 3.16.59-1 [1087 kB]
[main]     Get:46 http://security.debian.org/debian-security/ jessie/updates/main libstdc++-4.9-dev armhf 4.9.2-10+deb8u2 [1129 kB]
[main]     Get:47 http://security.debian.org/debian-security/ jessie/updates/main g++-4.9 armhf 4.9.2-10+deb8u2 [11.8 MB]
[main]     Get:48 http://security.debian.org/debian-security/ jessie/updates/main git-man all 1:2.1.4-2.1+deb8u7 [1269 kB]
[main]     Get:49 http://security.debian.org/debian-security/ jessie/updates/main git armhf 1:2.1.4-2.1+deb8u7 [2923 kB]
[main]     Get:50 http://security.debian.org/debian-security/ jessie/updates/main liblivemedia-dev armhf 2014.01.13-1+deb8u1 [629 kB]
[main]     debconf: delaying package configuration, since apt-utils is not installed
[main]
[main]     Fetched 41.9 MB in 5s (7668 kB/s)
[main]     (Reading database ...
(Reading database ... 70%ase ... 5%
[main]     (Reading database ... 75%
[main]     (Reading database ... 80%
[main]     (Reading database ... 85%
[main]     (Reading database ... 90%
[main]     (Reading database ... 95%
(Reading database ... 9994 files and directories currently installed.)
[main]     Preparing to unpack .../gcc-4.9-base_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking gcc-4.9-base:armhf (4.9.2-10+deb8u2) over (4.9.2-10+deb8u1) ...
[main]     Setting up gcc-4.9-base:armhf (4.9.2-10+deb8u2) ...
[main]     (Reading database ...
(Reading database ... 70%ase ... 5%
[main]     (Reading database ... 75%
[main]     (Reading database ... 80%
[main]     (Reading database ... 85%
[main]     (Reading database ... 90%
[main]     (Reading database ... 95%
(Reading database ... 9994 files and directories currently installed.)
[main]     Preparing to unpack .../libstdc++6_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libstdc++6:armhf (4.9.2-10+deb8u2) over (4.9.2-10+deb8u1) ...
[main]     Setting up libstdc++6:armhf (4.9.2-10+deb8u2) ...
[main]     Processing triggers for libc-bin (2.19-18+deb8u10) ...
[main]     (Reading database ...
(Reading database ... 70%ase ... 5%
[main]     (Reading database ... 75%
[main]     (Reading database ... 80%
[main]     (Reading database ... 85%
[main]     (Reading database ... 90%
[main]     (Reading database ... 95%
(Reading database ... 9994 files and directories currently installed.)
[main]     Preparing to unpack .../libgcc1_1%3a4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libgcc1:armhf (1:4.9.2-10+deb8u2) over (1:4.9.2-10+deb8u1) ...
[main]     Setting up libgcc1:armhf (1:4.9.2-10+deb8u2) ...
[main]     Processing triggers for libc-bin (2.19-18+deb8u10) ...
[main]     Selecting previously unselected package libxml2:armhf.
[main]     (Reading database ...
(Reading database ... 70%ase ... 5%
[main]     (Reading database ... 75%
[main]     (Reading database ... 80%
[main]     (Reading database ... 85%
[main]     (Reading database ... 90%
[main]     (Reading database ... 95%
(Reading database ... 9994 files and directories currently installed.)
[main]     Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u7_armhf.deb ...
[main]     Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u7) ...
[main]     Selecting previously unselected package cmake-data.
[main]     Preparing to unpack .../cmake-data_3.6.2-2~bpo8+1_all.deb ...
[main]     Unpacking cmake-data (3.6.2-2~bpo8+1) ...
[main]     Selecting previously unselected package liblzo2-2:armhf.
[main]     Preparing to unpack .../liblzo2-2_2.08-1.2_armhf.deb ...
[main]     Unpacking liblzo2-2:armhf (2.08-1.2) ...
[main]     Selecting previously unselected package libarchive13:armhf.
[main]     Preparing to unpack .../libarchive13_3.1.2-11+deb8u7_armhf.deb ...
[main]     Unpacking libarchive13:armhf (3.1.2-11+deb8u7) ...
[main]     Selecting previously unselected package libexpat1:armhf.
[main]     Preparing to unpack .../libexpat1_2.1.0-6+deb8u4_armhf.deb ...
[main]     Unpacking libexpat1:armhf (2.1.0-6+deb8u4) ...
[main]     Selecting previously unselected package libjsoncpp0.
[main]     Preparing to unpack .../libjsoncpp0_0.6.0~rc2-3.1_armhf.deb ...
[main]     Unpacking libjsoncpp0 (0.6.0~rc2-3.1) ...
[main]     Selecting previously unselected package cmake.
[main]     Preparing to unpack .../cmake_3.6.2-2~bpo8+1_armhf.deb ...
[main]     Unpacking cmake (3.6.2-2~bpo8+1) ...
[main]     Selecting previously unselected package libasan1:armhf.
[main]     Preparing to unpack .../libasan1_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libasan1:armhf (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package libatomic1:armhf.
[main]     Preparing to unpack .../libatomic1_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libatomic1:armhf (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package libbasicusageenvironment0.
[main]     Preparing to unpack .../libbasicusageenvironment0_2014.01.13-1+deb8u1_armhf.deb ...
[main]     Unpacking libbasicusageenvironment0 (2014.01.13-1+deb8u1) ...
[main]     Selecting previously unselected package libisl10:armhf.
[main]     Preparing to unpack .../libisl10_0.12.2-2_armhf.deb ...
[main]     Unpacking libisl10:armhf (0.12.2-2) ...
[main]     Selecting previously unselected package libcloog-isl4:armhf.
[main]     Preparing to unpack .../libcloog-isl4_0.18.2-1+b2_armhf.deb ...
[main]     Unpacking libcloog-isl4:armhf (0.18.2-1+b2) ...
[main]     Selecting previously unselected package libcurl3-gnutls:armhf.
[main]     Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u14_armhf.deb ...
[main]     Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u14) ...
[main]     Selecting previously unselected package libgomp1:armhf.
[main]     Preparing to unpack .../libgomp1_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libgomp1:armhf (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package libgroupsock1.
[main]     Preparing to unpack .../libgroupsock1_2014.01.13-1+deb8u1_armhf.deb ...
[main]     Unpacking libgroupsock1 (2014.01.13-1+deb8u1) ...
[main]     Selecting previously unselected package liblivemedia23.
[main]     Preparing to unpack .../liblivemedia23_2014.01.13-1+deb8u1_armhf.deb ...
[main]     Unpacking liblivemedia23 (2014.01.13-1+deb8u1) ...
[main]     Selecting previously unselected package libmpfr4:armhf.
[main]     Preparing to unpack .../libmpfr4_3.1.2-2_armhf.deb ...
[main]     Unpacking libmpfr4:armhf (3.1.2-2) ...
[main]     Selecting previously unselected package libubsan0:armhf.
[main]     Preparing to unpack .../libubsan0_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libubsan0:armhf (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package libusageenvironment1.
[main]     Preparing to unpack .../libusageenvironment1_2014.01.13-1+deb8u1_armhf.deb ...
[main]     Unpacking libusageenvironment1 (2014.01.13-1+deb8u1) ...
[main]     Selecting previously unselected package libjpeg62-turbo:armhf.
[main]     Preparing to unpack .../libjpeg62-turbo_1%3a1.3.1-12+deb8u1_armhf.deb ...
[main]     Unpacking libjpeg62-turbo:armhf (1:1.3.1-12+deb8u1) ...
[main]     Selecting previously unselected package libv4lconvert0:armhf.
[main]     Preparing to unpack .../libv4lconvert0_1.6.0-2_armhf.deb ...
[main]     Unpacking libv4lconvert0:armhf (1.6.0-2) ...
[main]     Selecting previously unselected package libv4l-0:armhf.
[main]     Preparing to unpack .../libv4l-0_1.6.0-2_armhf.deb ...
[main]     Unpacking libv4l-0:armhf (1.6.0-2) ...
[main]     Selecting previously unselected package libv4l2rds0:armhf.
[main]     Preparing to unpack .../libv4l2rds0_1.6.0-2_armhf.deb ...
[main]     Unpacking libv4l2rds0:armhf (1.6.0-2) ...
[main]     Selecting previously unselected package libmpc3:armhf.
[main]     Preparing to unpack .../libmpc3_1.0.2-1_armhf.deb ...
[main]     Unpacking libmpc3:armhf (1.0.2-1) ...
[main]     Selecting previously unselected package binutils.
[main]     Preparing to unpack .../binutils_2.25-5+deb8u1_armhf.deb ...
[main]     Unpacking binutils (2.25-5+deb8u1) ...
[main]     Selecting previously unselected package cpp-4.9.
[main]     Preparing to unpack .../cpp-4.9_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking cpp-4.9 (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package cpp.
[main]     Preparing to unpack .../cpp_4%3a4.9.2-2_armhf.deb ...
[main]     Unpacking cpp (4:4.9.2-2) ...
[main]     Selecting previously unselected package libgcc-4.9-dev:armhf.
[main]     Preparing to unpack .../libgcc-4.9-dev_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libgcc-4.9-dev:armhf (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package gcc-4.9.
[main]     Preparing to unpack .../gcc-4.9_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking gcc-4.9 (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package gcc.
[main]     Preparing to unpack .../gcc_4%3a4.9.2-2_armhf.deb ...
[main]     Unpacking gcc (4:4.9.2-2) ...
[main]     Selecting previously unselected package libc-dev-bin.
[main]     Preparing to unpack .../libc-dev-bin_2.19-18+deb8u10_armhf.deb ...
[main]     Unpacking libc-dev-bin (2.19-18+deb8u10) ...
[main]     Selecting previously unselected package linux-libc-dev:armhf.
[main]     Preparing to unpack .../linux-libc-dev_3.16.59-1_armhf.deb ...
[main]     Unpacking linux-libc-dev:armhf (3.16.59-1) ...
[main]     Selecting previously unselected package libc6-dev:armhf.
[main]     Preparing to unpack .../libc6-dev_2.19-18+deb8u10_armhf.deb ...
[main]     Unpacking libc6-dev:armhf (2.19-18+deb8u10) ...
[main]     Selecting previously unselected package libstdc++-4.9-dev:armhf.
[main]     Preparing to unpack .../libstdc++-4.9-dev_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking libstdc++-4.9-dev:armhf (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package g++-4.9.
[main]     Preparing to unpack .../g++-4.9_4.9.2-10+deb8u2_armhf.deb ...
[main]     Unpacking g++-4.9 (4.9.2-10+deb8u2) ...
[main]     Selecting previously unselected package g++.
[main]     Preparing to unpack .../g++_4%3a4.9.2-2_armhf.deb ...
[main]     Unpacking g++ (4:4.9.2-2) ...
[main]     Selecting previously unselected package liberror-perl.
[main]     Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
[main]     Unpacking liberror-perl (0.17-1.1) ...
[main]     Selecting previously unselected package git-man.
[main]     Preparing to unpack .../git-man_1%3a2.1.4-2.1+deb8u7_all.deb ...
[main]     Unpacking git-man (1:2.1.4-2.1+deb8u7) ...
[main]     Selecting previously unselected package git.
[main]     Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u7_armhf.deb ...
[main]     Unpacking git (1:2.1.4-2.1+deb8u7) ...
[main]     Selecting previously unselected package libasound2-data.
[main]     Preparing to unpack .../libasound2-data_1.0.28-1+rpi3_all.deb ...
[main]     Unpacking libasound2-data (1.0.28-1+rpi3) ...
[main]     Selecting previously unselected package libasound2:armhf.
[main]     Preparing to unpack .../libasound2_1.0.28-1+rpi3_armhf.deb ...
[main]     Unpacking libasound2:armhf (1.0.28-1+rpi3) ...
[main]     Selecting previously unselected package libasound2-dev:armhf.
[main]     Preparing to unpack .../libasound2-dev_1.0.28-1+rpi3_armhf.deb ...
[main]     Unpacking libasound2-dev:armhf (1.0.28-1+rpi3) ...
[main]     Selecting previously unselected package liblivemedia-dev.
[main]     Preparing to unpack .../liblivemedia-dev_2014.01.13-1+deb8u1_armhf.deb ...
[main]     Unpacking liblivemedia-dev (2014.01.13-1+deb8u1) ...
[main]     Selecting previously unselected package liblog4cpp5.
[main]     Preparing to unpack .../liblog4cpp5_1.0-4_armhf.deb ...
[main]     Unpacking liblog4cpp5 (1.0-4) ...
[main]     Selecting previously unselected package liblog4cpp5-dev.
[main]     Preparing to unpack .../liblog4cpp5-dev_1.0-4_armhf.deb ...
[main]     Unpacking liblog4cpp5-dev (1.0-4) ...
[main]     Selecting previously unselected package make.
[main]     Preparing to unpack .../make_4.0-8.1_armhf.deb ...
[main]     Unpacking make (4.0-8.1) ...
[main]     Selecting previously unselected package v4l-utils.
[main]     Preparing to unpack .../v4l-utils_1.6.0-2_armhf.deb ...
[main]     Unpacking v4l-utils (1.6.0-2) ...
[main]     Processing triggers for libc-bin (2.19-18+deb8u10) ...
[main]     Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u7) ...
[main]     Setting up cmake-data (3.6.2-2~bpo8+1) ...
[main]     Setting up liblzo2-2:armhf (2.08-1.2) ...
[main]     Setting up libarchive13:armhf (3.1.2-11+deb8u7) ...
[main]     Setting up libexpat1:armhf (2.1.0-6+deb8u4) ...
[main]     Setting up libjsoncpp0 (0.6.0~rc2-3.1) ...
[main]     Setting up cmake (3.6.2-2~bpo8+1) ...
[main]     Setting up libasan1:armhf (4.9.2-10+deb8u2) ...
[main]     Setting up libatomic1:armhf (4.9.2-10+deb8u2) ...
[main]     Setting up libbasicusageenvironment0 (2014.01.13-1+deb8u1) ...
[main]     Setting up libisl10:armhf (0.12.2-2) ...
[main]     Setting up libcloog-isl4:armhf (0.18.2-1+b2) ...
[main]     Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u14) ...
[main]     Setting up libgomp1:armhf (4.9.2-10+deb8u2) ...
[main]     Setting up libgroupsock1 (2014.01.13-1+deb8u1) ...
[main]     Setting up liblivemedia23 (2014.01.13-1+deb8u1) ...
[main]     Setting up libmpfr4:armhf (3.1.2-2) ...
[main]     Setting up libubsan0:armhf (4.9.2-10+deb8u2) ...
[main]     Setting up libusageenvironment1 (2014.01.13-1+deb8u1) ...
[main]     Setting up libjpeg62-turbo:armhf (1:1.3.1-12+deb8u1) ...
[main]     Setting up libv4lconvert0:armhf (1.6.0-2) ...
[main]     Setting up libv4l-0:armhf (1.6.0-2) ...
[main]     Setting up libv4l2rds0:armhf (1.6.0-2) ...
[main]     Setting up libmpc3:armhf (1.0.2-1) ...
[main]     Setting up binutils (2.25-5+deb8u1) ...
[main]     Setting up cpp-4.9 (4.9.2-10+deb8u2) ...
[main]     Setting up cpp (4:4.9.2-2) ...
[main]     Setting up libgcc-4.9-dev:armhf (4.9.2-10+deb8u2) ...
[main]     Setting up gcc-4.9 (4.9.2-10+deb8u2) ...
[main]     Setting up gcc (4:4.9.2-2) ...
[main]     Setting up libc-dev-bin (2.19-18+deb8u10) ...
[main]     Setting up linux-libc-dev:armhf (3.16.59-1) ...
[main]     Setting up libc6-dev:armhf (2.19-18+deb8u10) ...
[main]     Setting up libstdc++-4.9-dev:armhf (4.9.2-10+deb8u2) ...
[main]     Setting up g++-4.9 (4.9.2-10+deb8u2) ...
[main]     Setting up g++ (4:4.9.2-2) ...
[main]     update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
[main]     Setting up liberror-perl (0.17-1.1) ...
[main]     Setting up git-man (1:2.1.4-2.1+deb8u7) ...
[main]     Setting up git (1:2.1.4-2.1+deb8u7) ...
[main]     Setting up libasound2-data (1.0.28-1+rpi3) ...
[main]     Setting up libasound2:armhf (1.0.28-1+rpi3) ...
[main]     Setting up libasound2-dev:armhf (1.0.28-1+rpi3) ...
[main]     Setting up liblivemedia-dev (2014.01.13-1+deb8u1) ...
[main]     Setting up liblog4cpp5 (1.0-4) ...
[main]     Setting up liblog4cpp5-dev (1.0-4) ...
[main]     Setting up make (4.0-8.1) ...
[main]     Setting up v4l-utils (1.6.0-2) ...
[main]     Processing triggers for libc-bin (2.19-18+deb8u10) ...
[main]      ---> 192bce8fe26f
[main]     Removing intermediate container 7ed2eade55c2
[main]     Step 4/7 : RUN rm -rf /var/lib/apt/lists/*
[main]      ---> Running in 8f902055d3c4
[main]      ---> 9e8c2337a70d
[main]     Removing intermediate container 8f902055d3c4
[main]     Step 5/7 : RUN git clone https://github.com/mpromonet/v4l2rtspserver.git /app/v4l2rtspserver     && ( cd /app/v4l2rtspserver  && git checkout v0.0.2 && cmake . && make)
[main]      ---> Running in 39b02c8b7589
[main]     Cloning into '/app/v4l2rtspserver'...
[main]
[main]     Note: checking out 'v0.0.2'.
[main]     You are in 'detached HEAD' state. You can look around, make experimental
[main]     changes and commit them, and you can discard any commits you make in this
[main]     state without impacting any branches by performing another checkout.
[main]     If you want to create a new branch to retain commits you create, you may
[main]     do so (now or later) by using -b with the checkout command again. Example:
[main]       git checkout -b new_branch_name
[main]     HEAD is now at b227dd9... travis: try to fix build package name for arm
[main]
[main]     -- The C compiler identification is GNU 4.9.2
[main]     -- The CXX compiler identification is GNU 4.9.2
[main]     -- Check for working C compiler: /usr/bin/cc
[main]     -- Check for working C compiler: /usr/bin/cc -- works
[main]     -- Detecting C compiler ABI info
[main]     -- Detecting C compiler ABI info - done
[main]     -- Detecting C compile features
[main]     -- Detecting C compile features - done
[main]     -- Check for working CXX compiler: /usr/bin/c++
[main]     -- Check for working CXX compiler: /usr/bin/c++ -- works
[main]     -- Detecting CXX compiler ABI info
[main]     -- Detecting CXX compiler ABI info - done
[main]     -- Detecting CXX compile features
[main]     -- Detecting CXX compile features - done
[main]     -- Installing v4l2wrapper
[main]     running git submodule init && git submodule update && make -C v4l2wrapper CC=/usr/bin/cc CFLAGS_EXTRA=--sysroot= && cp v4l2wrapper/libv4l2wrapper.a . && make -C v4l2wrapper clean 2>&1
[main]     Submodule 'v4l2wrapper' (https://github.com/mpromonet/v4l2wrapper) registered for path 'v4l2wrapper'
[main]     Cloning into 'v4l2wrapper'...
[main]     Submodule path 'v4l2wrapper': checked out 'ef31d13375f4cc970ca6a8a7715544a7cc202977'
[main]     make: Entering directory '/app/v4l2rtspserver/v4l2wrapper'
[main]     /usr/bin/cc -c -o src/V4l2MmapDevice.o src/V4l2MmapDevice.cpp -W -Wall -pthread -g -pipe --sysroot= -I inc
[main]     /usr/bin/cc -c -o src/V4l2Capture.o src/V4l2Capture.cpp -W -Wall -pthread -g -pipe --sysroot= -I inc
[main]     /usr/bin/cc -c -o src/V4l2Device.o src/V4l2Device.cpp -W -Wall -pthread -g -pipe --sysroot= -I inc
[main]     /usr/bin/cc -c -o src/V4l2Output.o src/V4l2Output.cpp -W -Wall -pthread -g -pipe --sysroot= -I inc
[main]     ar rcs libv4l2wrapper.a src/V4l2MmapDevice.o src/V4l2Capture.o src/V4l2Device.o src/V4l2Output.o
[main]     make: Leaving directory '/app/v4l2rtspserver/v4l2wrapper'
[main]     make: Entering directory '/app/v4l2rtspserver/v4l2wrapper'
[main]     make: Leaving directory '/app/v4l2rtspserver/v4l2wrapper'
[main]     -- v4l2wrapper built in V4L2WRAPPER_LIBRARY=/app/v4l2rtspserver/libv4l2wrapper.a
[main]     -- Looking for pthread.h
[main]     -- Looking for pthread.h - found
[main]     -- Looking for pthread_create
[main]     -- Looking for pthread_create - not found
[main]     -- Looking for pthread_create in pthreads
[main]     -- Looking for pthread_create in pthreads - not found
[main]     -- Looking for pthread_create in pthread
[main]     -- Looking for pthread_create in pthread - found
[main]     -- Found Threads: TRUE
[main]     -- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version "1.0.28")
[main]     -- Found Git: /usr/bin/git (found version "2.1.4")
[main]     -- Configuring done
[main]     -- Generating done
[main]     -- Build files have been written to: /app/v4l2rtspserver
[main]     Scanning dependencies of target v4l2rtspserver
[main]     [ 16%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/main.cpp.o
[main]     /app/v4l2rtspserver/src/main.cpp: In function ‘int main(int, char**)’:
[main]     /app/v4l2rtspserver/src/main.cpp:418:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[main]           if (videoCapture->getBufferSize() > OutPacketBuffer::maxSize)
[main]                                             ^
[main]
[main]     [ 33%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/HTTPServer.cpp.o
[main]     [ 50%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/V4l2DeviceSource.cpp.o
[main]     /app/v4l2rtspserver/src/V4l2DeviceSource.cpp: In member function ‘void V4L2DeviceSource::deliverFrame()’:
[main]     /app/v4l2rtspserver/src/V4l2DeviceSource.cpp:156:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[main]         if (frame->m_size > fMaxSize)
[main]                           ^
[main]
[main]     [ 66%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/H264_V4l2DeviceSource.cpp.o
[main]     [ 83%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/ServerMediaSubsession.cpp.o
[main]     [100%] Linking CXX executable v4l2rtspserver
[main]     [100%] Built target v4l2rtspserver
[main]      ---> 7fe8a0419085
[main]     Removing intermediate container 39b02c8b7589
[main]     Step 6/7 : COPY ./src/ /app/
[main]      ---> da5010f0ea7d
[main]     Removing intermediate container 8f535c56da6a
[main]     Step 7/7 : CMD /bin/bash /app/run.sh
[main]      ---> Running in fa696e98591f
[main]      ---> abc123
[main]     Removing intermediate container fa696e98591f
[main]     Successfully built abc123
[Info]     Uploading images
[Success]  Successfully uploaded images
[Success]  Release successfully created!
[Info]     Release: abc123 (id: abc123)
[Info]     ┌─────────┬────────────┬──────────────────────┐
[Info]     │ Service │ Image Size │ Build Time           │
[Info]     ├─────────┼────────────┼──────────────────────┤
[Info]     │ main    │ 273.32 MB  │ 1 minute, 33 seconds │
[Info]     └─────────┴────────────┴──────────────────────┘
[Info]     Build finished in 1 minute, 56 seconds
			    \
			     \
			      \\
			       \\
			        >\/7
			    _.-(6'  \
			   (=___._/` \
			        )  \ |
			       /   / |
			      /    > /
			     j    < _\
			 _.-' :      ``.
			 \ r=._\        `.
			<`\\_  \         .`-.
			 \ r-7  `-. ._  ' .  `\
			  \`,      `-.`7  7)   )
			   \/         \|  \'  / `-._
			              ||    .'
			               \\  (
			                >\  >
			            ,.-' >.'
			           <.'_.''
			             <'

To git.balena-cloud.abc123/abc123.git
 * [new branch]      master -> master

repo: balena-io-playground/rpisurveillance


text:
hw.device-type: fix tdpzu9 device name

Remove "V1R2" version from Topic Device Name
Change-type: patch
Signed-off-by: Francois Loubser francois.loubser@topic.nl

Related: https://github.com/balena-os/balena-topic/pull/23

@balena-ci retest this please

source: gharchive/pull-request

repo: balena-io/contracts

license_type: permissive

license_source: github-api


text:
Update custom device info

Update https://docs.resin.io/hardware/meta-resin/ with info from https://github.com/resin-os/meta-resin/blob/master/contributing-device-support.md

Looking at both the pages @floion
1 - https://github.com/balena-os/meta-balena/blob/master/contributing-device-support.md
2 - https://www.balena.io/docs/reference/OS/meta-balena/
Would it make sense to pull/generate page 2 from page 1 instead? We can reformat page 1 to look presentable (it already looks good to me) and just pull that file as a partial (or even a complete file). A good example of what I mean is the

Check Supervisor API reference - https://www.balena.io/docs/reference/supervisor/supervisor-api/#http-api-reference
Being pulled from this file https://github.com/balena-io/balena-supervisor/edit/master/docs/API.md
Being fetched through this script https://github.com/balena-io/docs/blob/master/tools/fetch-external.sh
And this gets pulled every build time.

I think this would solve it?

@floion Pinging again about this, since this recently came up. Let me know what are thoughts on this ^^

source: gharchive/issue

repo: balena-io/docs


text:
workflows: Update build and deploy to 0.0.6

This adds support for build and deploy of ESR tags.
Change-type: patch
Signed-off-by: Alex Gonzalez alexg@balena.io

@balena-ci I self-certify!

repo: balena-os/balena-allwinner


text:
vocabulary for different kinds of redundancy/inference at graph and owl level

Capturing in this repo for now. The goal is to have a better categorization of different notions of directness or redundancy of triples in a Relation Graph. Even if these are not implemented by RG immediately, having this vocabulary will help us in discussions of what to include or exclude any given user-facing graph.
The overall goal is to be able to classify triples in a relation graph with categories that help inform users as to whether they are redundant and the nature of the redundancy. E.g. for some applications it is critical to be able to separate "one-hop" edges from edges that are redundant with a multi-hop path (classic Transitive Reduction).
Relation Graph Transforms
First we define the relation-graph transform (RGT) between an axiom pattern on the left and a triple on the right:

A subClassOf B where A and B are named classes => A rdfs:subClassOf B
A subClassOf R some B where A and B are named classes => A R B
A equivalentClass B where A and B are named classes => A owl:equivalentClass B

(these are a subset of owlstar, with the interpretation triple excluded)

RGT(Oentailed) = RG
RGT(Oasserted) = RGasserted

The axioms patterns are assumed to match entailed axioms in the input ontology. The original asserted axioms are labeled Oasserted.
A possible extension is to include properties and individuals in the graph, we omit this for now
The set of axioms in O that do not match either LHS pattern is called O' (e.g. RBox axioms, logical axioms with nesting or using other constructs)
We use the term "triple" when talking about the output RG triple, and "axiom" when talking about the input OWL ontology axiom. We assume only semantics at the OWL/axiom level and structure at the triple level.
Any triple in the RG must correspond to an axiom (asserted or entailed) in the input ontology according to the two transforms above
Each triple can be categorized according to one or more entailment/redundancy categories below
Additional assumption: the input OWL is coherent. Preprocessing may be applied to reach this state.
Triple categories
A triple t is asserted based on characteristics of it's corresponding axiom a, which matches one of the patterns above
asserted
The triple comes from an asserted axioms on the LHS, ie the triple matches an axiom in Oasserted
entailed
The triple comes from an entailed axiom on the LHS
note that  entailed is not disjoint from asserted. Every asserted triple is necessarily an entailed triple
entailment trivially holds for all edges but we include here for completeness, e.g. we can use it to categorize unseen edges
An example of an entailed triple is A partOf C, given A partOf B, B partOf C, where partOf is transitive in O
(if partOf is not transitive, then the triple is not entailed and hence not in RG)
reflexive
iff A=B
Note that all reflexive triples SHOULD NOT be asserted for globally reflexive or locally reflexive properties, as the input ontology SHOULD NOT assert these. Presence of these indicates the input MAY come from incorrectly configured robot.
For non-reflexive properties, reflexive triples MAY be asserted. For example, from an asserted axiom neuron subClassOf connected-to some neuron
root-tip-tautological (aka taut)
Either A=Nothing or B=thing or P=topProperty or P=bottomProperty
A default configuration of RG MAY be to always exclude tautologies, and the nodes thing and nothing
entailment-direct
Given a triple t0 A R B, corresponding to axiom a0,
t0 is entailment-direct if  there exists no triple t1 corresponding to axiom a1 such thatO-a1 |= a0
this has the effect of excluding both two-hops over transitive predicates, as well as one-hops with more general predicates
graph-onehop
A triple A R B is graph-direct if there exists no pair of triples A _ Z, Z _ B
Note this is predicate-blind. It should not be assumed non-onehops encode no useful information. E.g.
A sub C [2-hop]
A partOf B
B sub C
If the 2-hop is exclude it can exclude information that cannot be recapitulated elsehwere, and will impede operations such as inference of a category for a node by subClass traversal
graph-Nhop
Generalization of above
non-redundant predicate
a triple A R B (corresponding to axiom a0) is a nrpred iff there is no triple
t1 A R' B (corresponding to a1) such that R' != R and
O-a0 |= a0 and NOT: O-(a0 + a1) |= a0
Examples
Single hop subproperty example
input owl
A sub partOf some B
partOf sub overlaps
reflexive(partOf)

entailed owl
A sub partOf some B
partOf sub overlaps
overlaps sub topProperty
A sub Thing
B sub Thing
A sub A
B sub B
Nothing sub Nothing
Nothing sub A
Nothing sub B
bottomProperty sub partOf
bottomProperty sub overlaps
A sub partOf some A
B sub partOf some B
A sub overlaps some A
B sub overlaps some B
A sub topProperty some A
B sub topProperty some B
A sub overlaps some B
A sub topProperty some B

(we omit irrelevant patterns as the set is of infininite size, eg if we include unions)
triples in RG annotated with categories (omitting 'entailed' categorization)
A partOf B asserted, entailment-direct, graph-onehop, nrpred
A overlaps B, NON-entailment-direct, graph-onehop, redundant-pred
A sub Thing taut, entailment-direct, graph-onehop
B sub Thing taut, non-entailment-direct, non-onehop
Nothing sub A, taut, non-entailment-direct, non-onehop
Nothing sub B, entailment-direct, graph-direct
A partOf A, reflexive
B partOf B, reflexive
A sub A, reflexive
B sub B, reflexive
A overlaps A, reflexive
B overlaps B, reflexive
A topProp A, reflexive, taut
B topProp B, reflexive, taut

Note that if we select ONLY non-taut, entailment-direct from RG we get a single triple A partOf B
This is what a "typical user" might expect from the graph
Transitivity 2-hop example
input owl
A sub partOf some B
B sub partOf some C
transitive(partOf)

triples (excluding tauts and reflexive for brevity)
A partOf B: asserted, entailment-direct, graph-onehop
B partOf C: asserted, entailment-direct, graph-onehop
A partOf C: non-entailment-direct, graph-2hop

contrast with next example
Non-transitivity 2-hop example
input owl
A sub adjacentTo some B
B sub adjacentTo some C

triples (excluding tauts and reflexive for brevity)
A adjacentTo B: asserted, entailment-direct, graph-onehop
B adjacentTo C: asserted, entailment-direct, graph-onehop

Note this triple is NOT in RG:
A adjacentTo C: NON-ENTAILED, non-entailment-direct, graph-2hop

Property-chain example
input owl
A sub negReg some B
B sub negReg some C
negReg sub reg
posReg sub reg
negReg o negReg -> posRef

triples (excluding tauts and reflexive for brevity)
A negReg B: asserted, entailment-direct, graph-onehop
B negReg C: asserted, entailment-direct, graph-onehop

A reg B: non-entailment-direct, graph-onehop
B reg C: non-entailment-direct, graph-onehop

A reg C: non-entailment-direct, graph-2hop, redundant-pred
A posReg C: non-entailment-direct, graph-2hop, nrpred

The intuition here is that even though A posReg C is a 2-hop and can be entailed from existing triple axioms, it is in some sense interesting in that it is a non-redundant pred

TODO: compare with @balhoff's pruning rules:
https://github.com/INCATools/ubergraph/blob/4f401ad8322c418447584c4edf6381f33ddd66c4/prune.dl#L29-L33

repo: balhoff/relation-graph

license: MIT


text:
Improve error message for invalid path dependency

For an invalid path dependency specified in the Ballerina.toml file, I get an error message of the following format:
error: balo file for dependency [pubudu/bar] does not exists: <absolute_path_to_balo_file>

What's the correct way to refer to .balo files? The https://ballerina.io/learn/how-to-structure-ballerina-code/ guide refer to them as BALO files. I think here also we either need to use that or .balo form.
Also, it should be be rephrased in a better way. How about something like,
.balo file for the 'pubudu/bar' module not found: <specified_path>

This is related to https://github.com/ballerina-platform/ballerina-lang/issues/20821 and it's fixed now. Hence closing the issue.

repo: ballerina-platform/ballerina-lang


text:
Disable stdlib dependent bindgen tests

Description:
As a part of stdlib migration(https://github.com/ballerina-platform/ballerina-lang/issues/21313), we had to disable the following bindgen tests which depend on stdlibs.
https://github.com/ballerina-platform/ballerina-lang/pull/25567/commits/2e88f2c62ae3b91a7368ca2a9eb642d66b20c624

This disabled integration test needs to be added inside the ballerina-distribution repository since it depends on the ballerina/jarrays standard library module.
However, we could keep a simple integration test that does not require the ballerina/jarrays module inside the ballerina-lang repository in order to immediately identify breaking changes that could happen inside the ballerina-lang repo.

authors: BuddhiWathsala IrushiL


text:
Separate actions vs expression in BallerinaParserErrorHandler

Description:
Currently BallerinaParserErrorHandler has modeled actions and expressions in the same list.
https://github.com/ballerina-platform/ballerina-lang/blob/c30d2bd5bd58d3cc0688593c88b6b041dbcf250c/compiler/ballerina-parser/src/main/java/io/ballerina/compiler/internal/parser/BallerinaParserErrorHandler.java#L275-L286
Need to separate this and pass ACTION_END as the next context after an action. Currently, it passes EXPRESSION_RHS which is not correct

Related issue: https://github.com/ballerina-platform/ballerina-lang/issues/40839#issuecomment-1609067459

authors: lochana-chathura rdulmina


text:
[Bug]: Static resources are not included in the native image when build via a single file

Description
The resources generated in the target/resources directory are not included in the GraalVM native image which is built for a single ballerina file. This works for a ballerina project.
In addition to that, when we built a native image manually using the JAR file and native-image command. That also failed to include the resources. As a workaround we need to manually add them. But since the resources are generated by the ballerina libraries, it should be included by default.
Steps to Reproduce
Check static resource generation for single file
Affected Version(s)
Ballerina SwanLake Update 10(2201.10.x)
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/43276

authors: Dilhasha TharmiganK


text:
[Performance] Few request failures due to "Remote client closed the connection before completing outbound response"

Description:
Observed few requests getting failed due to "Remote client closed the connection before completing outbound response" when the throughput is around 1000, 2000 range
Steps to reproduce:
Passthrough HTTP service, with netty backend
Affected Versions:
ballerina-platform-0.970.1
Observations
[2018-05-17 01:34:13,149] WARN  {org.wso2.transport.http.netty.sender.TargetHandler} - Idle timeout triggered while reading inbound response
[2018-05-17 01:34:13,150] WARN  {org.wso2.transport.http.netty.sender.TargetHandler} - Idle timeout has reached hence closing the connection 39a5e871
[2018-05-17 01:34:13,151] ERROR {org.wso2.transport.http.netty.common.Util} - Remote client closed the connection before completing outbound response
java.io.IOException: Remote client closed the connection before completing outbound response
        at org.wso2.transport.http.netty.common.Util.lambda$checkForResponseWriteStatus$9(Util.java:599)
        at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
        at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
        at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
        at io.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:163)
        at io.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:93)
        at io.netty.channel.DefaultChannelPromise.addListener(DefaultChannelPromise.java:28)
        at org.wso2.transport.http.netty.common.Util.checkForResponseWriteStatus(Util.java:595)
        at org.wso2.transport.http.netty.contractimpl.HttpOutboundRespListener.writeOutboundResponseBody(HttpOutboundRespListener.java:198)
        at org.wso2.transport.http.netty.contractimpl.HttpOutboundRespListener.writeOutboundResponse(HttpOutboundRespListener.java:149)
        at org.wso2.transport.http.netty.contractimpl.HttpOutboundRespListener.lambda$null$35(HttpOutboundRespListener.java:102)
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Thread.java:748)

ballerina-passthroug-round1.log.zip

The default idle timeout is 60s and when the idle timeout is reached while reading or before reading the response it will close the connection. After the connection is closed if we try to send a message then this exception is thrown. This is to be expected. This might be because the backend is slow. Try increasingtimeoutMillis in the client config to fix this.

authors: riyafa sashikamw


text:
Implement node transform logic for query-expr and from, select, where clauses

Purpose

$subject

Remarks

Need to fix #23742 to complete the query expr implementation

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #23893 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #23893   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 346892a...d67ab75. Read the comment docs.


text:
Fix connector ST json generation

Purpose
$subject
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing the PR as the fixes are already in the branch

Closing the PR as the fixes are already in the branch


text:
Update lang-server extension connector metadata generation

Purpose
Update lang-server connector metadata generation.

Add connector metadata generation package to diagram-util package
Update lang-server extension with connector metadata generation package
Update connector list fetching API with Ballerina Central APIs

Related Issues

https://github.com/wso2-enterprise/choreo/issues/7607

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@kanushka lets get this PR sent to master as well for beta4

authors: kanushka kaviththiranga


text:
Build with bal test native workflow failing for graphql module

Description:
$Subject
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):
Workflow is falling in both windows and linux due to following issues
https://github.com/ballerina-platform/ballerina-lang/issues/38613
https://github.com/ballerina-platform/ballerina-lang/issues/38614
Suggested Labels (optional):

Suggested Assignees (optional):

Removing the bug label, since this is not a bug in the GraphQL package.

Closing as this is now fixed.

authors: MohamedSabthar ThisaruGuruge


text:
Add support for 3.1.x definitions and add error handling for swagger definitions

Purpose
This PR addresses the following:

Accepts OpenAPI 3.1.x definitions
Modifies error message that'll be returned for swagger definitions

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


text:
Add configurable intervals to device tracker.

Allows the user to configure a longer interval for when the device tracker should scan for devices.
If there's a better way to do this, let me know and I can update it.  Thanks for the great project.  I hope to contribute more in the future.

Thanks for all your contributions!
Could you in the future target the dev branch instead of master with your pull requests?
This seems like the right way to do it. You might want to get rid of the hours and minutes, it doesn't sound like anyone would ever pick such a big interval.
There also seem to be some style violations reported by Travis.

Thanks.  That's a good point.  In the future, I was thinking of trying to
implement variable intervals based on if any devices were home or not.  My
thought was that pinging my phone every 12 seconds would keep the radio on
and drain the battery, so instead while I'm home the interval would
increase to several minutes and while I'm away it could drop back down to
every 12 seconds.  It may not be worth it to try to implement this though,
since I've been using it for awhile and haven't noticed a significant
difference in battery life.
I'll clean this up and send a new pull request to the dev branch.
Thanks again!
On Feb 21, 2015 6:24 PM, "Paulus Schoutsen" notifications@github.com
wrote:

Thanks for all your contributions!
Could you in the future target the dev branch instead of master with your
pull requests?
This seems like the right way to do it. You might want to get rid of the
hours and minutes, it doesn't sound like anyone would ever pick such a big
interval.
There also seem to be some style violations reported by Travis
https://travis-ci.org/balloob/home-assistant/builds/51674368#L553.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/pull/36#issuecomment-75405528.

I like the idea of lowering the scan interval. It should only do that when all track devices are home otherwise it might be late on firing a coming home event for someone.

Coverage increased (+0.07%) to 53.76% when pulling 171acfda707441e778c24a9cb9305693eea032c9 on andythigpen:feature/device-tracker-interval into b5a3a72b51ebace8e249aec8360783cdb6469b3f on balloob:master.

I noticed that you gave me commit access to your repository.  Are there guidelines for branching, merging, etc. that I should follow?  Would you like me to still submit pull requests so that you can review my code?
I wanted to check with you first before just committing something.

Trying out something I read.
Would be great if you still use pull request for the big features. Small bug fixes is fine to commit to dev directly. I'll try to extend the contributing guide lines this week - never gave it much thought.

Coverage increased (+0.06%) to 53.75% when pulling 22a2b65e3fb8a4340f45cdff26cd4eff2e418f42 on andythigpen:feature/device-tracker-interval into b5a3a72b51ebace8e249aec8360783cdb6469b3f on balloob:master.

andythigpen added a commit 2 days ago <- looks like your date is off!

Haha.  I think that's because I was just amending my original commit.  That's probably not the best way to do it, I guess!

authors: andythigpen balloob coveralls

repo: balloob/home-assistant

license_source: bigquery


text:
Windows support

Hey everybody!
We have been using this library very successfully now for a few weeks. I was wondering if there is a plan to add support for react-native-windows. We want to port our app for Windows using react-native-windows and are searching a way to add support for mDNS scanning/discovery to the windows version aswell. But without any luck yet. All "pure javascript" solutions like mdns-js all rely on node.js dependencies that are not available on windows.
So before we start investing time in trying to build a windows solution, I thought i should ask if this is on the roadmap first.
Thanks!

Hey, yeah no immediate plan to implement windows support, but wouldn't refuse a PR obviously ;)

authors: andreleon balthazar

repo: balthazar/react-native-zeroconf


text:
github.com/robfig/cron/v3: cannot find package

While installing bamzi/jobrunner with glide I get this error :
Error scanning github.com/robfig/cron/v3: cannot find package "." in:
When I went to search package "github.com/robfig/cron/v3" I got 404 error.
Then I found that I need to replace it with this package "gopkg.in/robfig/cron.v3" by hand.
I need to be able to install this plugin just with glide. Will you fix this issue ??
Thank you in advance for your replay.

similar to #20
First -> go get -u github.com/robfig/cron so that your base lib is updated to latest and then go get github.com/robfig/cron/v3@v3.0.0 to get the latest tags

authors: JasminaDzevlan bamzi

repo: bamzi/jobrunner

license: mit


text:
组件图片资源回调问题

现在组件是把处理好的图片返回给调用者，这里会涉及一个问题：图片多选的时候会把图片临时存储在内存中，这样如果是原图的话就会导致内存暴增，可能还会crash。我的建议是统一回调图片资源路径，具体使用逻辑让调用者去处理

十来个小icon不足以导致内存问题吧...
而且这些icon是显示在页面上的，是正在使用的，选择图片结束TZ dismiss掉自然就释放了呀。

authors: GL-Wen banchichen

repo: banchichen/TZImagePickerController


text:
Add support for trades without Flashloans

This upgrade will allow arbitrage trades to be executed without taking a Flashloan.

Released in Bot 3.0

repo: bancorprotocol/fastlane-bot


text:
withdraw popup text update

on the withdraw popup, please update the following texts (and logic on how to display them):

warning text (orange text).

check, IF user withdraw BNT position:
current text:
Important
You still haven’t reached full coverage. There is a risk for impermanent loss.
updated text:
Important
You still haven’t reached full protection. There is a risk for impermanent loss and you might receive less than your original stake amount as a result.
check, IF user withdraw TKN position:
current text:
Important
You still haven’t reached full coverage. There is a risk for impermanent loss.
updated text:
Important
You still haven’t reached full protection. There is a risk for impermanent loss and you might receive less than your original stake amount as a result.

new gray text
IF withdraw BNT: BNT withdrawals are subject to a 24h lock period before they can be claimed
IF withdraw TKN and breakdown includes BNT: Part of your output is in BNT.
This amount will be locked for 24h before it can be claimed
IF withdraw TNN and breakdown DOES NOT include BNT: no text.

https://www.figma.com/file/3yED7o7TgoLwoEjV2EkRLL/Bancor-V2?node-id=1044%3A858

updated text. On staging for review @ashachaf

authors: ashachaf pingustar

repo: bancorprotocol/webapp


text:
Admin API Key

An Admin API key that allows you to create and delete groups, and fetch the API key for a group that that admin API key controls.

Nice, still looking forward to this, thanks @vplasencia

Hey @AtHeartEngineer
@0xjei is working on it right now. It should be ready very very soon. Here is the issue: https://github.com/bandada-infra/bandada/issues/318

Hey @AtHeartEngineer
@0xjei is working on it right now. It should be ready very very soon. Here is the issue: https://github.com/bandada-infra/bandada/issues/318

You all are the best!

authors: AtHeartEngineer vplasencia

repo: bandada-infra/bandada


text:
关于本地事务的一个问题

Please fill it out carefully, or it will be closed.
请认真填写，不然会直接关闭。
Enviroment
JDK Version(required):
jdk8+
SpringBoot Version(required):
2.6.14
dynamic-datasource-spring-boot-starter Version(required):
3.5.1,4.2.0
druid Version(optional):
Describe what happened
关于DSTransactional这个本地事务,
假如我有A,B两库, 修改数据后通知对应数据库连接进行commit,
A连接 接到commit, 成功,
B连接 接到commit, 因为网络原因失败
这种情况, A库的操作能回滚吗
Steps to reproduce

just try

okay

authors: MQPearth huayanYu

repo: baomidou/dynamic-datasource


text:
设置排除表，ConfigBuilder在拼接show table sql时，获取include，但include必为空

当前使用版本(必须填写清楚，否则不予处理)
该问题是怎么引起的？(最新版上已修复的会直接close掉)
sql.append(" AND ").append(dbQuery.tableName()).append(" NOT IN (")
.append(Arrays.stream(config.getInclude()).map(tb -> "'" + tb + "'").collect(Collectors.joining(","))).append(")");
重现步骤
报错信息

#1942

使用3.3.1.8-SNAPSHOT试试

authors: nieqiurong wjse

repo: baomidou/mybatis-plus


text:
条件构造器allEq含有BiPredicate参数时没有按照预期执行

mybatisplus.version：3.5.1
代码部分
HashMap<SFunction<User, ?>, Object> map = new HashMap();
map.put(User::getName, "Jone");
Page userPage = userMapper.selectPage(new Page<>(1, 10),
Wrappers.lambdaQuery().allEq((k, v) -> k.equals("name"), map, true));
userPage.getRecords().forEach(user -> log.info("{}", user));
控制台sql执行
SELECT id,name,age,email,role_id FROM user
没有把name字段作为查询条件

SFunction<User, ?> 能.equals("name")==false

authors: hoarepuss miemieYaho


text:
TableFieldInfo能扩展吗

我需要针对不同字段进行不同的格式化，目前只有全局格式化，真希望这部分能根据每个字段自定义格式化，或者TableFieldInfo的value属性支持EL表达式

单个字段你可以注解 TableField("字段名称")

authors: chenfeiwu qmdx


text:
SSSPGoldberg: explore different tradeoffs between "big layer"/"long path"

There is either a layer with >=\sqrt{N} vertices, or a path of length \sqrt{N}.
Use a constant factor times \sqrt{N} and experiment, probably we should prefer bigger layers, even if their are smaller than \sqrt{N}

cdf3ba62bae84ebfd91938f5d49372001741e619

repo: barakugav/JGAlgo


text:
Site hk. öneri

Yabancılarında kullanması amacıyla türkçe ingilizce vb. dillere çeviri sistemi eklenebilir. Communityde sağlayabilir size bu ek olarak.

Düşünülebilir, teşekkürler.

authors: Phoenix-rat barbecue

repo: barbecue/website


text:
Balances don't update

On Windows 10 as depicted in images

Thanks for the report! Did you try and see if the getbalance and getunconfirmedbalance RPCs reported different numbers?

I think this had to do with BMMing. Reopen if it happens again.

repo: barebitcoin/sidesail


text:
Sanitize metrics

gh-33

I added the overwriting dimensions tests, and also internal state tests

Looks very good.

repo: baris/fullerite


text:
Attribute with collection with generic annotation return type generates incorrect PHPDoc

Versions:

ide-helper Version: 2.12.3
Laravel Version: 8.83.25
PHP Version: 7.4

Description:
Incorrect PHPDoc was generated for attribute with Laravel Collection with generic annotation return type, for example:
	/**
	 * @return \Illuminate\Support\Collection<int, \App\Models\Answer>
	 */
	public function getAnswersAttribute(): Collection
	{
		return collect();
	}

result:
 * @property-read \Illuminate\Support\Collection<int, $answers

@bbprojectnet This would improve code-completion in e.g. PHPStorm greatly. What else is needed to support this in laravel-ide-helper?

Hi @grEvenX,
nothing :) this bug was fixed by https://github.com/barryvdh/ReflectionDocBlock/pull/9

@bbprojectnet Hm, maybe I'm just not understanding the scope of the issue.
I was able to get updated ReflectionDocBlock but when I ran the Laravel IDE helper, the generated doc-block for models using php artisan ide-helper:models "App\Db\User" --write --reset still used the old formation without type-hints.
I was expecting
* @property-read Collection<int, \App\Db\UserFeedback> $feedbacks

but instead got
* @property-read Collection|\App\Db\UserFeedback[] $feedbacks
* ```

This issue is not about that :) It is talking about broken PHPDoc for attributes which returns Collection, but You probably have case with model relation. Am I right?
If yes, this PR is more accurate what You looking for: https://github.com/barryvdh/laravel-ide-helper/pull/1298 - I'm also waiting for that :)

@bbprojectnet Thanks. I guess this issue can be closed as solved then?

Yes.

authors: bbprojectnet grEvenX

repo: barryvdh/laravel-ide-helper


text:
Advance on click (in window)

So, we want to iFrame impress on our homepage.
Navigation is an issue though, as you have to click in the iframe to activate keyboard controls, and keyboard controls in general are not ideal for the casual visitors that we are trying to impress (pun intended).
Is there some type of boolean we can check to turn on advance on click? (also, hovering forward/back navigation buttons would be nice)

Advancing on click was added in 0edcf9021ece57d68f86e67188f2cb20c5bee473 (although you have to click the actual slide to advance). You could create your own buttons and detect a click event then trigger the spacebar or left/right keydown events. :)

Ha! Well don't do anything on my account. I'm just another programmer that enjoys this project like yourself. I was just suggesting a workaround to accomplish your task. ;)

It might be nice to add generic forward/back buttons with a div or
something easy. Who's working on the documentation?
On Thu, Jan 5, 2012 at 10:11 AM, Kyle Robinson Young <
reply@reply.github.com

wrote:

Ha! Well don't do anything on my account. I'm just another programmer that
enjoys this project like yourself. I was just suggesting a workaround to
accomplish your task. ;)

Reply to this email directly or view it on GitHub:
https://github.com/bartaz/impress.js/issues/29#issuecomment-3371791

I believe @bartaz said he was working on the documentation in this issue: #22

I will not add clicking to advance, as I use impress for interactive presentations (where I click on buttons, etc).
API work will be handled in another issue.

authors: bartaz shama soulemobile


text:
Use the react-native-router-flux@3.x.x

@bartonhammond hi, bartonhammond, firstly, i must to say the snowflake is an awesome project! thanks for that, thanks for all contributors!!!
i clone snowflake and use it in my project, i found it use the react-native-router-flux module, also an awesome project, but now the react-native-router-flux update to 3.x.x, and i replaced the 2.x.x in snowflake and modify some syntax, but it not work. i deep in the source code find the code structure changed a lot, en, so i just want to know if you have any idea to update the react-native-router-flux version in snowflake project, after all the new react-native-router-flux is better.
good luck, hope your reply~

@bartonhammond @HellMagic
Looks like react-native-router-flux is still in beta and only works with React Native 0.22-rc.

0.22 was just released - https://github.com/facebook/react-native/releases

fixed w/ release 0.0.13

authors: HellMagic bartonhammond braco wookiem

repo: bartonhammond/snowflake


text:
Chore: Added wallet_connector_id to wallet_connected event context

What changed? Why?

added a property to the wallet_connected event context to track wallet connector id for additional granularity

Notes to reviewers
How has it been tested?
locally

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

authors: brendan-defi cb-heimdall

repo: base-org/web


text:
Always use a supported chain

What changed? Why?
Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

authors: cb-heimdall zencephalon


text:
feat(scylladb): Adding ScyllaDB as a Container Provider

What does this PR do?
Implements the Database ScyllaDB as a new provider.
Under the ScyllaDBContainer you will have the possibility of:

[x] Enable Shard Awareness port using WithShardAwareness;
[x] Set Docker Start Commands with WithCommand
[x] Fetch ports with ConnectionHost
[x] Enable ScyllaDB Alternator Endpoint (DynamoDB Compatible API)

API Example
ctx := context.Background()

ctr, err := scylladb.Run(ctx,
   "scylladb/scylla:6.2",
   scylladb.WithConfigFile(filepath.Join("testdata", "scylla.yaml")),
   scylladb.WithShardAwareness(),
   //...
)

Why is it important?
ScyllaDB is a NoSQL Database that is being constantly used by big companies and acts as a Drop-in Replacement to CassandraDB and DynamoDB.
How to test this PR
Clone the repository and enter the scylladb module folder:
git clone https://github.com/basementdevs/testcontainers-go basement-testcontainers-go
cd basement-testcontainers-go/modules/scylladb
make test

Hi folks, I've submitted #2 with some minor refinements, hope they are fine to contribute to this branch.

repo: basementdevs/testcontainers-go


text:
WIP: RTS-667 / RTS-796

Add DESCRIBE tests
Add method to encapsulate retrieving table description
Add tests to ensure CREATE TABLE works correctly via query method

test_query_that_matches_more_data (riak.tests.test_timeseries.TimeseriesTests) ... ERROR
test_query_that_matches_some_data (riak.tests.test_timeseries.TimeseriesTests) ... ERROR
test_query_that_matches_some_data_using_interpolation (riak.tests.test_timeseries.TimeseriesTests) ... ERROR

Looks like these were failing with TS 1.0 and the Python 2.3.0 client, too

@javajolt - really? I'll give that a try. I know they worked at one point with a 1.0 RC.

@javajolt TS tests pass this morning with RC7

:+1: 6f169a7

@borshop merge

authors: javajolt lukebakken

repo: basho/riak-python-client


text:
Cannot launch multiple pipelines simultaneously

I have a Jetson Orin AGX Devkit (running Jetpack 5.0.2) and three acA1920-48gc cameras, connected via 10 gigabit ethernet switch. When connecting with multiple cameras sequentially, everything works as expected. When attempting to launch multiple different pipelines simultaneously, gst-launch-1.0 segfaults while attempting to set the pylonsrc element to the PAUSED state. (This happens for both pipelines, one after the other.) This behavior seems to depend on the order in which the pipelines are started - specifically, how that order relates to the alphabetical order of the camera device names.
Details:
My network looks like this:
 	(s1) -- "L3"
	 |
	 |  /-- "L2"
ORIN -- (s2) -- "L1"

The pipeline I used to test this is also the minimum possible pipeline:
gst-launch-1.0 pylonsrc device-serial-number=XXXXXXXX ! fakesink
There are two ethernet switches, nicknamed "s1" and "s2". There is one Jetson Orin AGX Devkit, nicknamed "ORIN". There are three acA10920-48gc cameras, nicknamed "L1", "L2", and "L3". (Though these aren't the actual names of the cameras, these nicknames do preserve alphabetical order.)
When connecting two (or more!) cameras sequentially (launching one pipeline, waiting for the pylonsrc element to successfully hit the PAUSED state, launching the next pipeline), everything works as expected.
I ran these tests by starting one pipeline in one terminal window and immediately switching to a second terminal window and starting a second pipeline. This bug doesn't seem to require specific timing - it happens so long as two pylonsrc elements are attempting to connect to cameras at the same time, even if those elements are started on different machines (which are on the same network).
When connecting to camera L1 first and L3 second, both pipelines always crashed. When connecting to camera L3 first and camera L1 second, both pipelines always ran successfully.
When connecting to camera L1 first and L2 second, both pipelines always crashed. When connecting to camera L2 first and camera L1 second, both pipelines always ran successfully.
When connecting to camera L2 and L3, the pipeline started first always succeeded and the pipeline started second always failed.
Might be relevant: even when both pipelines successfully ran, they only started one at a time. Also, the cameras' serial numbers are in this order when sorted numerically: L3 < L1 < L2
Thanks for taking a look at this! Let me know if you need any more details.

Thanks for your detailed report. Let me see if I can reproduce on our end. This really caught my attention:

, even if those elements are started on different machines (which are on the same network).

Are you using the latest version of the element?
Can you share the output of the following? GST_DEBUG=2,pylon*:9 gst-launch-1.0 pylonsrc device-serial-number=XXXXXXXX ! fakesink for the case it segfaults

Yes, we've updated to 0.5.0 on all machines. I ran a test where I connected to cameras L1 and L2 simultaneously, with L1 first. The logs for each pipeline are attached.
cam_L1.txt
cam_L2.txt
Note that it only segfaulted on the pipeline for camera L1 - the pipeline for camera L2 still failed, but with an exception from the pylon library.
These logs are from the case where two pipelines are started on a single machine. If you'd like, I could grab some logs from the case where one pipeline is started on each machine.

Thanks, I’ll take a look tomorrow. Out of curiosity, did you verify this doesn’t happen with another viewer? Pylon Viewer for example MichaelOn 20 Dec 2022, at 14:21, Alek Lewis @.***> wrote:
Yes, we've updated to 0.5.0 on all machines. I ran a test where I connected to cameras L1 and L2 simultaneously, with L1 first. The logs for each pipeline are attached.
cam_L1.txt
cam_L2.txt
Note that it only segfaulted on the pipeline for camera L1 - the pipeline for camera L2 still failed, but with an exception from the pylon library.
These logs are from the case where two pipelines are started on a single machine. If you'd like, I could grab some logs from the case where one pipeline is started on each machine.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

We've confirmed this issue and we're currently working on a fix. I'll update you when its ready, hopefully by mid next week.

fixed in release v0.6.0

authors: ajlewis02 michaelgruner thiesmoeller

repo: basler/gst-plugin-pylon


text:
colors.css dependency not defined?

Hi there,
I'm bumping my bassplate from v7 to v8.  I've updated package.json, removed and rebuilt node_modules with a new npm i
The error i'm getting is within the node_modules/basscss-addons/modules/colors/index.css file, it  Failed to find 'colors.css/myth/variables' https://github.com/basscss/addons/blob/master/modules/colors/index.css#L3
I could manually install this dependency , but I'm wondering how and where this should have been installed?
Cheers!

Are you using npm 3 or an older version? I need to add a note about that in the docs...

→ npm -v
3.3.12

Bumping to 3.7.3 with a fresh npm i the error still occurs...
postcss-import: /static/node_modules/basscss-addons/modules/background-colors/index.css:3:1: Failed to find 'colors.css/myth/variables'
    in [
        /static/node_modules/basscss-addons/modules/background-colors
    ]

Am I missing something as I'm upgrading bassplate from v7 to v8.  I ported over all the package.json changes....

So, I think I know what's happening: Individual modules have colors.css as a dependency, but the root basscss-addons package didn't. I've added it to the root package.json. Can you try with basscss-addons@1.0.0-beta3?

No dice i'm afraid, bumped and rebuild node_modules, still no luck.
The source of the problem I'm sure stems from:
https://github.com/basscss/addons/blob/master/modules/colors/index.css#L3
As i'm not sure how that path is resolved.
Even changing the path to :
@import '../colors.css/myth/variables';

Which would be the correct relative path within the flat node_modules still fails.
As it stands, if I do an npm list for colors.css the only result I get is installed under addons.
│ ├── basscss-type-scale@1.0.5
│ └── basscss-typography@3.0.3
├─┬ basscss-addons@1.0.0-beta3
│ └── colors.css@3.0.0
├── basscss-basic@1.0.0
├─┬ browser-sync@2.11.1

I'm trying to build this with the bassplate postcss workflow.

@oller same game here

Problem with folder being named as myth. I changed that to:
@import 'colors.css/src/_variables';

And it works...

Pretty much yes. colors.css upgraded to v3.0.0 and is backwards incompatible, the myth folder is no longer present.

don't depend on basscss-addons directly for now. use the individual modules separately from npm...

Thanks! I bumped all the modules up to colors.css@3.0.0, and I think it should work now, but let me know if the issue persists.

I'm still running into this issue when I use the package as a whole and the individual packages

authors: danielredwood jxnblk oller rdsubhas zekenie

repo: basscss/addons


text:
Update soundfile.py

on mac this error occur when try to run:
/usr/lib/libsndfile.dylib' (no such file)
this error occurs because of the naming of the file on the code.
Current file name is libsndfile_arm.dylib but program call it libsndfile.dylib
when I delete the '_arm' from file name problem is fixed. most likely there is a problem calling the file

How did you install soundfile? You should install the wheel, which comes with its own libsndfile.

I installed wheel :
python setup.py bdist_wheel and pip install soundfile.
But the problem that I mentioned above occurred.
When i delete the file extension name (_machine()) problem has been solved.

Update your pip, then pip install soundfile. Possibly delete any previous installation beforehand.
The modification you provided here would actually break other installations.

I tried many times in different ways, but unfortunately there was no solution. However, when I changed the file name manually, it was fixed. Unfortunately, there are many people who have the same problem on the internet (with arm processor). But it might be breaking the code. Because I directly changed the file name manually. Afterwards, if I can examine the entire code carefully, I will look at it again and try to solve the problem.

I do wonder where these installation issues come from. The only thing I can think of are systems like the Raspberry Pi or Conda, which swap out the official PyPi for their own repository. But in that case, there's really nothing we can do to fix it, as they're not using the official sources.

repo: bastibe/python-soundfile


text:
Feature request: custom panic handling

Attaching a custom panic handler would be useful in applications that want to run logging or cleanup code on catastrophic failures.
The panic handler shouldn’t interfere with the rusts built in panic handling solution.

This is doable, for every failure will trigger a global handler closure.

Yeah I don't want to suggest the exact implementation. I'm more interested in the behavior of understanding when panics happen, and being able to act with some basic context of the failure.
My use case:
Running some user code (perhaps some event processors) that may panic. On failures, I need to ensure that I perform some cleanup up make a few service requests to tell other systems about failures/nack.
I tried making this work before with Bastion, but did not find a nice solution, so I just rolled-my-own supervision.

Now, Bastion has callbacks with 0.3.0. Moreover, lightproc has custom panic handling. Callbacks are implemented with #76 . So we can close this.

authors: vertexclique xmclark

repo: bastion-rs/bastion


text:
Could not resolve "vike-react/config" [plugin vike-esbuild]

Describe the bug
After starting a new project with the command pnpm create @batijs/app --react, installing dependencies and running dev mode the console shows an error
[vike][config] Failed to transpile /pages/+config.ts because:
✘ [ERROR] Could not resolve "vike-react/config" [plugin vike-esbuild]
To Reproduce
Steps to reproduce the behavior, run the following commands in order:
pnpm create @batijs/app --react
cd my-app
pnpm i && pnpm run dev
Expected behavior
Run dev mode without any errors
Screenshots

Additional context
Using macOS Ventura 13.6.6, also I have updated node, pnpm, typescript and all libs versions to match the versions on stackblitz demo (which I know works), still the problem persists. I also tried installing the dependencies from the stackblitz lockfile.

Which version of node are you using exactly?

node version: v18.20.3
pnpm version: 9.4.0

Closing in favor of https://github.com/vikejs/vike/issues/1729

repo: batijs/bati


text:
Add support for linux ARM64 in Ibazel

Describe the bug
A clear and concise description of what the bug is.
We are trying to install and use ibazel on linux-arm64 environment. But we are receiving error. By looking at code, we found that in node_modules @bazel/ibazel/bin folder does not contain linux_arm64 package and thus we code is throwing error.
Reproduction instructions
Install ibazel on linux-arm64 and receiving below error:
WARNING: no ibazel version found in your node_modules.
        We recommend installing a devDependency on ibazel so you use the same
        version as other engineers on this project.
        Using the globally installed version at /usr/local/share/npm-global/lib/node_modules/@bazel/ibazel
node:events:504
      throw er; // Unhandled 'error' event
      ^

Error: spawn /usr/local/share/npm-global/lib/node_modules/@bazel/ibazel/bin/linux_arm64/ibazel ENOENT

If you'd like to extend on the work of mistic in https://github.com/bazelbuild/bazel-watcher/pull/496, I'd be happy to merge a PR to add this to be built as a part of the release process, but I don't have an arm64 linux box to work off of so I'm not going to be able to do that.

@achew22 do you have raspberry pi 4? If yes then it is a ARM processor and you can install official ubuntu OS into it. Check here https://ubuntu.com/download/raspberry-pi
Let me know if any efforts are required from my side.
Thanks

Sorry to say, I do not have a raspberry pi 4. I think the PR I linked is enough to connect the dots if you want to try it out, otherwise this will have to wait until someone has something that calls for it which I don't see coming soon from me.

repo: bazelbuild/bazel-watcher


text:
Current directory not correctly set when debugging

Description of the bug:
When debugging bazel targets from Pycharm, the current working directory is set to the project root directory. This is different from when bazel run is used directly, where the current directory is in the runfiles tree. This is causing problems finding resources in the runfiles tree using relative paths.
This is the same issue as https://github.com/bazelbuild/intellij/issues/319, filed against the clion plugin.
For example
bazel run OR run it directly from pycharm:
CWD is bazel cache/4254edf45eea7a9dd5daebbc8928ade6/execroot/project/bazel-out/k8-dbg/bin/binary path/test.runfiles/
But when running debug from Pycharm:
CWD is project root
The expected behavior that the launched process would have the same working directory in both cases, in the runfiles tree.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Attempt to debug any target that relies of relative paths of data dependencies pulled in by bazel
Which Intellij IDE are you using? Please provide the specific version.
Pycharm version: 2022.2.4 CE
What programming languages and tools are you using? Please provide specific versions.
python 3.9
What Bazel plugin version are you using?
Bazel plugin version: 2022.11.01.0.1-api-version-222
Have you found anything relevant by searching the web?
Yes
https://github.com/bazelbuild/intellij/issues/319
Any other information, logs, or outputs that you want to share?
No response

I have this issue too!

Is there a workaround for this for now? My code points to certain config files (using relative path) which it is unable to find because the debugger defaults to root directory.

@bazelbuild/triage

@bazelbuild/triage

authors: FHowington JRodDynamite jam643 lamcw

repo: bazelbuild/intellij


text:
chore: bump protobuf dependency to 27.3

Checklist

[ ] I have filed an issue about this change and discussed potential changes with the maintainers.
[ ] I have received the approval from the maintainers to make this change.
[ ] This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number: <please reference the issue number or url here>
Description of this change

Should be fixed in 28.0-rc3,  https://github.com/protocolbuffers/protobuf/releases/tag/v28.0-rc3

Binary compatibility shims for GeneratedMessageV3,


text:
Fix invalid license.bzl load

Looks like an internal google automation exported a bad path, but really to fix this we need this new dep on rules_license
https://github.com/bazelbuild/rules_cc/commit/0d68932a68bcd6f332b14ccc561990586de2318d

@oquenchil can you review and create a new release after landing? this issue makes 0.0.5 unusable

@aiuto can you investigate the internal automation that caused this. looks like rules_java and java_tools are also broken by this

https://github.com/bazelbuild/rules_java/commit/179e025cda9b317c41fa9a04354377154353dc9e
https://github.com/bazelbuild/java_tools/commit/18d9f10719aa672aebafea81a84514f0c9d6ced2

actually the license is invalid too, so i think we just need to revert it https://github.com/bazelbuild/rules_cc/pull/179


text:
make repls for all targets

now that bazel run can support repls without any silly dance
see: https://groups.google.com/d/msg/bazel-discuss/hXpklreOPik/2Suxd84dAgAJ
maybe we should make a .repl runnable target as an optional output of all rules. Then users can do
bazel run --direct_run //foo/bar:baz.repl

and be dropped directly into a repl session with the same classpath as the target.
I think this would be a nice usability win to avoid having to manually make a second target, and if it is an optional output it shouldn't slow down the build unless needed.
What do you think @ittaiz

Sounds like an awesome win!
On Fri, 23 Mar 2018 at 3:12 P. Oscar Boykin notifications@github.com
wrote:

now that bazel run can support repls without any silly dance
see:
https://groups.google.com/d/msg/bazel-discuss/hXpklreOPik/2Suxd84dAgAJ
maybe we should make a .repl runnable target as an optional output of all
rules. Then users can do
bazel run --direct_run //foo/bar:baz.repl
and be dropped directly into a repl session with the same classpath as the
target.
I think this would be a nice usability win to avoid having to manually
make a second target, and if it is an optional output it shouldn't slow
down the build unless needed.
What do you think @ittaiz https://github.com/ittaiz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/448, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIFywzwEIbDnCiaPsG2FXhoHq1Ib2eks5thD4JgaJpZM4S3_Am
.

authors: ittaiz johnynek


text:
[POC][WIP] - using zinc's Dependency analysis for rules_scala strict deps

This POC is related to "smart" strict deps issue

Can we close this?

Done

authors: ittaiz natansil


text:
Forbid C-style octal notation (0123)

This change was discussed a long time ago within the Bazel team.
The notation 0123 is error-prone. In many languages 0123 == 123 (e.g. C#, F#, OCaml, Perl6, etc.). In many other languages, 0123 == 83.
The proposed fix is to forbid this notation. This would align with Python3:
$ python3 -c 'print(0123)'                                                                                Err 1
  File "<string>", line 1
    print(0123)
            ^
SyntaxError: invalid token

Users should prefer the more explicit octal notation, i.e. replace 0123 with 0o123 (which is already accepted by all Starlark implementations).

This is done. The spec and the Java and Go implementations all reject octal 0123 and allow 0o123.

authors: alandonovan laurentlb

repo: bazelbuild/starlark


text:
New Use Case for Style/FormatStringToken is flagging non formatted strings

Re: Issue #4539
Curl command may use interpolation using %{foo}. This behavior is not correct:
curl_string = "curl --interface #{client_int} #{@@curl_url} -o /dev/null "\
              '--write-out "speed_download=%{speed_download}" --max-time 300'

Produces:
Style/FormatStringToken: Prefer annotated tokens (like %<foo>s) over template tokens (like %{foo})
                  '--write-out "speed_download=%{speed_download}" --max-time 300'
                                               ^^^^^^^^^^^^^^^^^

Expected behavior
Style/FormatStringToken should detect whether the string is used in formatting context or not. If not, it should not flag them as wrong.
Actual behavior
Looks like every string simply including %{...} is marked as invalid.
Steps to reproduce the problem
Run Style/FormatStringToken on any string containing %{foo} outside of Ruby formatting context.
RuboCop version
Include the output of rubocop -V. Here's an example:
0.51.0

Style/FormatStringToken should detect whether the string is used in formatting context or not.

Unfortunately this is almost always impossible, or requires too much effort, since the format string may be used in a formatting context anywhere in the app, disjunct from where it is defined. This is a limitation of doing static analysis on a dynamic language.
If your app has many false positives (e.g. you're working with automation scripts with lots of curl commands), consider disabling it altogether. If this is an isolated false positive, you can use an inline disable (# rubocop:disable Style/FormatStringToken) on the associated part. Or you can disable it for certain files using the configuration file.

authors: Drenmi deuxclique

repo: bbatsov/rubocop


text:
Save lint cache in '.rubocop' directory

When I using remote lint file in inherit_from,
currently, save cache in project root directory.
But its behavior makes project root directory dirty when setting
multiple remote lint files to inherit_from because many cache file
saved in (usually) project root dir.
This pull-req makes save cache under the .rubocop directory.
I can get keep clean directory to just set .rubocop
to .gitignore

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

Can't you just add .rubocop-http* to .gitignore?

Hmm... Surely. It's a easy solution (to add .rubocop-http* to .gitignore)
However, how about a big project? (e.g. mastodon)
Many, many files are in current directory already. 😨

Sorry, I close it because I don't know how to change to pass tests... 😢


text:
Mouse resets if object selection fails to go through

Currently, mouse would randomly reset to the center of the screen if none of the physics objects could be picked. This is really annoying to the point that this should be considered a bug.

Curious - I've not seen that, but it could be related to the way the rest of the client application handles input; unfortunately there's no way of guaranteeing mouse clicks aren't processed elsewhere in a client app.
I've just pushed a new (highly refactored) version of the package on Github (but not on the Asset Lib index yet). I can't reproduce the behaviour in the latest version in the example scene. Let me know if this fixes it for you.

authors: Withaust bbbscarter

repo: bbbscarter/GodotRuntimeDebugTools


text:
The client is unable to connect to server.

@bbengfort
Hello good day,
I read your blog Secure gRPC with TLS/SSL and try it my self, but without success.
I just do it with different approach instead creating the certificate and key on openssl I use the x509.CreateCertificate, but the CA is created on openssl based on your instruction.
When I start the server, I can start it successfully, but when I try to connect the client, the client will exit with this message:  Failed to dial localhost:3264: connection error: desc = "transport: x509: certificate signed by unknown authority"; please retry.
Then the server will logged this. grpc: Server.Serve failed to complete security handshake from "127.0.0.1:19825": remote error: tls: bad certificate
can you enlightens me what wrong with my code? please.
My server code
func serve() {
	crt, key := certificate.CreatePemKey()
	cert, err := tls.X509KeyPair(crt, key)
	if err != nil {
		fmt.Println("create certificate: %s", err)
	}

	certPool := x509.NewCertPool()
	caFile, err := ioutil.ReadFile("f:/server/server.crt")
	if err != nil {
		fmt.Println("reading file: %s", err)
	}

	if ok := certPool.AppendCertsFromPEM(caFile); !ok {
		fmt.Println("failed to append ca")
	}

	lis, err := net.Listen("tcp", "localhost:3264")
	if err != nil {
		fmt.Println("listening: %s", err)
	}

	creds := credentials.NewTLS(&tls.Config{
		ClientAuth:   tls.RequireAndVerifyClientCert,
		Certificates: []tls.Certificate{cert},
		ClientCAs:    certPool,
	})

	srv := grpc.NewServer(grpc.Creds(creds))
	pb.RegisterPingerServer(srv, &server{})
	if err := srv.Serve(lis); err != nil {
		fmt.Println("serving: %s", err)
	}
}

My client code
func testDial3() {
	crt, key := certificate.CreatePemKey()
	cert, err := tls.X509KeyPair(crt, key)
	if err != nil {
		fmt.Println("Create key pair: %s", err)
	}

	certPool := x509.NewCertPool()
	ca, err := ioutil.ReadFile("f:/server/server.crt")
	if err != nil {
		fmt.Println("load certificate: %s", err)
	}

	if ok := certPool.AppendCertsFromPEM(ca); !ok {
		fmt.Println("failed to append ca")
	}

	creds := credentials.NewTLS(&tls.Config{
		ServerName:   "localhost",
		Certificates: []tls.Certificate{cert},
		RootCAs:      certPool,
	})

	conn, err := grpc.Dial("localhost:3264", grpc.WithTransportCredentials(creds))
	if err != nil {
		fmt.Println("connection :%s", err)
	}

	client := pb.NewPingerClient(conn)
	r, err := client.Ping(context.Background(), &pb.Payload{Message: "Ping"})
	if err != nil {
		fmt.Println("Ping: %s", err)
	}
	log.Printf("%s", r.Message)

}

and this is for the CreatePemKey and this is based on https://golang.org/src/crypto/tls/generate_cert.go
func CreatePemKey() (certpem, keypem []byte) {
	priv, _ := rsa.GenerateKey(rand.Reader, 2048)
	notBefore := time.Now()
	notAfter := notBefore.AddDate(1, 0, 0)
	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
	serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit)

	template := x509.Certificate{
		SerialNumber: serialNumber,
		Subject: pkix.Name{
			Organization: []string{"Personal"},
		},
		NotBefore:             notBefore,
		NotAfter:              notAfter,
		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
		ExtKeyUsage:           []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
		BasicConstraintsValid: true,
	}
	// template.IPAddresses = append(template.IPAddresses, net.ParseIP("localhost"))
	template.DNSNames = append(template.DNSNames, "localhost")
	template.IsCA = true
	derbytes, _ := x509.CreateCertificate(rand.Reader, &template, &template, publicKey(priv), priv)
	certpem = pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: derbytes})
	keypem = pem.EncodeToMemory(pemBlockForKey(priv))
	return certpem, keypem
}

func publicKey(priv interface{}) interface{} {
	switch k := priv.(type) {
	case *rsa.PrivateKey:
		return &k.PublicKey
	case *ecdsa.PrivateKey:
		return &k.PublicKey
	default:
		return nil
	}
}

func pemBlockForKey(priv interface{}) *pem.Block {
	switch k := priv.(type) {
	case *rsa.PrivateKey:
		return &pem.Block{Type: "RSA PRIVATE KEY", Bytes: x509.MarshalPKCS1PrivateKey(k)}
	case *ecdsa.PrivateKey:
		b, err := x509.MarshalECPrivateKey(k)
		if err != nil {
			fmt.Fprintf(os.Stderr, "Unable to marshal ECDSA private key: %v", err)
			os.Exit(2)
		}
		return &pem.Block{Type: "EC PRIVATE KEY", Bytes: b}
	default:
		return nil
	}
}

I will appreciate for any suggestion you give.
Thanks

@zer09 it looks like your CreatePemKey() function is being called twice, once on the client and once on the server. This is causing two problems:

The cert is not signed with the CA (hence unknown authority)
There is no shared secret across trusted hosts

My suggestion is to use your function to write the keys to disk, then make sure both the client and server have the keys (a shared secret) and ensure they're signed by the CA that you're loading, server.crt. I hope that helps.

@bbengfort thanks for the suggestion, I will try it.
btw about the CreatePemKey() called twice, I was thinking that the client and the server will create their own respective certificates, without saving on the disk to prevent someone copying the certificates, then only the CA will be shared on both across of them.
I was trying this approach,

Only the CA will be distributed.
Then the server will generate the certificates on the fly then signing it with the CA.
Then the client will do same as the server, before establishing a connection.

Now here is another problem, for now if I use x509.CreateCertificate "not a self signed" using the CA the 'CreateCertificate' will require the private key of the signer, now if someone can copy the CA with the private key, they can sign there own certificate. Is there other way for signing certificate without the private key  of the CA?
In your blog sample, does the certificate on the client and server is already signed by the CA?
Actually I am trying to find, and mix and match solution, on how to make two services communicate each other securely,  that even who has access to the client or the server machine cant just copy the certificates. I am just little paranoid about that.

Yes, in my example, the certificates on the client and the server were both already signed by the CA, which did in fact involve the CA's private keys. Basically, I created the keys locally and distributed them to the nodes in my system.
Unfortunately, the entire point of a CA is centralized trust -- there exists a third party that has verified the keys. In browsers and for websites, the trust is usually provided by a company like RapidSSL or Verisign; public keys are sent to them, verified by their private keys, and returned. And this is what wholley informs the workflow on gRPC. I don't know of another way to sign a certificate without the private key of the CA.
I do like your idea to try to distribute certs and have encryption to prevent byzantine intrusions. And I hope you find a solution (let me know if you do!) You may want to checkout Web of Trust or similar.
Can two parties sign each other's certificate and exchange without CA?

repo: bbengfort/sping


text:
Consider using string rather than String().

In working on a PR #130 I hit mysterious problems on a couple of occasions that I eventually traced back to String vs string.
Which of these one uses almost never matters.  Except when it does, then 'string' will win.
http://stackoverflow.com/questions/14727044/typescript-difference-between-string-and-string
For example, one of the issues I hit was from a type test in colors:
https://github.com/Marak/colors.js/blob/master/lib/extendStringPrototype.js#L79
When I send a String, the code throws.  I suppose the issue is in combination with some other setting special to testing, but there isn't really any advantage to String.

Thanks for raising this point.
IIRC, I had some type issues due to String prototype extension by color.js. Eventually, I kept String.
I will have a deeper look into it.

authors: bcaudan johnjbarton

repo: bcaudan/jasmine-spec-reporter