Problems with calibrating intrinsic parameters on smartphone camera (Samsung Galaxy Note 20 Ultra, main camera)

System information (version)

Operating System / Platform => docker frameau/opencv-ceres, Ubuntu 20.04.2 LTS, (update, on bailool/mc-calib-prod the same issues)
OpenCV => 4.2.0
Ceres => ❔
Boost => ❔
C++ => ❔
Compiler => ❔

Vision system

Number of cameras => 1 - Samsung Galaxy Note 20 Ultra
Types of cameras => perspective
Multicamera configurations => No
Configuration file =>

######################################## Boards Parameters ###################################################
number_x_square: 4         # number of squares in the X direction
number_y_square: 3         # number of squares the Y direction
resolution_x: 3840          # horizontal resolution in pixel
resolution_y: 2160          # vertical resolution in pixel
length_square: 0.04        # parameters on the marker (can be kept as it is)
length_marker: 0.03        # parameters on the marker (can be kept as it is)
number_board: 1            # number of boards used for calibration (for overlapping camera 1 is enough ...)
boards_index: [ ]           # leave it empty [] if the board index are ranging from zero to number_board; example of usage boards_index: [5,10 <-- only two board with index 5/10
square_size: 6.5         # size of each square of the board in cm/mm/whatever you want

############# Boards Parameters for different board size (leave empty if all boards have the same size) #################
number_x_square_per_board: [ ]
number_y_square_per_board: [ ]
square_size_per_board: [ ]

######################################## Camera Parameters ###################################################
distortion_model: 0         # 0:Brown (perspective) // 1: Kannala (fisheye)
distortion_per_camera: [ ]  # specify the model per camera, #leave "distortion_per_camera" empty [] if they all follow the same model (make sure that the vector is as long as cameras nb)
number_camera: 1            # number of cameras in the rig to calibrate
refine_corner: 1            # activate or deactivate the corner refinement
min_perc_pts: 0.8         # min percentage of points visible to assume a good detection

cam_params_path: None    # file with cameras intrinsics to initialize the intrinsic, write "None" if no initialization available
fix_intrinsic: 0        #if 1 then the intrinsic parameters will not be estimated nor refined (initial value needed)
######################################## Images Parameters ###################################################
cam_prefix: "Cam_"

######################################## Optimization Parameters #############################################
ransac_threshold: 10        # RANSAC threshold in pixel (keep it high just to remove strong outliers)
number_iterations: 1000     # Max number of iterations for the non linear refinement

######################################## Hand-eye method #############################################
he_approach: 0 #0: bootstrapped he technique, 1: traditional he

######################################## Output Parameters ###################################################
save_detection: 1
save_reprojection: 1
camera_params_file_name: "cameras.yml" # "name.yml"

Image sequences => pass QSp34wGmuD
https://nextcloud.sportvision.tech/s/KSxPWpji9BF8ytj - there are source images and example output.

Describe the issue / bug
I'm trying to calibrate intrinsic parameters of the smartphone camera using MC-Calib. App is often crashing and when it's not then results and logs from calibration are weird. I'm using board 4x3, so it has 6 points. Log says that detector found 6 points in all images (134):
0000285 | 2023-11-09, 14:37:35.491338 [info] - Number of detected corners :: 6
0000286 | 2023-11-09, 14:37:35.526970 [info] - Number of detected corners :: 6
0000287 | 2023-11-09, 14:37:35.532342 [info] - Number of detected corners :: 6
0000288 | 2023-11-09, 14:37:35.725408 [info] - Board extraction done!
0000289 | 2023-11-09, 14:37:35.725435 [info] - Intrinsic calibration initiated
0000290 | 2023-11-09, 14:37:35.725441 [info] - Initializing camera calibration using images
0000291 | 2023-11-09, 14:37:35.725449 [info] - NB of board available in this camera :: 134
0000292 | 2023-11-09, 14:37:35.725457 [info] - NB of frames where this camera saw a board :: 134
0000293 | 2023-11-09, 14:37:52.858604 [info] - cameraMatrix : [730.5722449957763, 0, 1842.225576510645;
 0,<PHONE_NUMBER>340529, 1010.620326430428;
 0, 0, 1]
0000294 | 2023-11-09, 14:37:52.858662 [info] - distCoeffs : [-0.000145485069557112, -9.341887444497364e-07, -0.001914292531187723, -0.00490921035096062, -8.294359195743176e-08]
0000295 | 2023-11-09, 14:37:52.860456 [debug] - Trans :: [3.758818329998107;
 7.510510097752508;
 8.679588315941288]       Rot :: [-1.192318438958881;
 1.614630443992688;
 -0.9228510025860922]

But then I see some calculations are done on different number of points than 6:
0005110 | 2023-11-09, 14:38:20.715560 [debug] - cam_id :: 0   object_id :: 0  mean error :: 29.6129  nb pts :: 3
0005111 | 2023-11-09, 14:38:20.715595 [debug] - cam_id :: 0   object_id :: 0  mean error :: 27.1408  nb pts :: 3
0005112 | 2023-11-09, 14:38:20.715629 [debug] - cam_id :: 0   object_id :: 0  mean error :: 81.2194  nb pts :: 3
0005113 | 2023-11-09, 14:38:20.715668 [debug] - cam_id :: 0   object_id :: 0  mean error :: 66.0296  nb pts :: 3
0005114 | 2023-11-09, 14:38:20.715703 [debug] - cam_id :: 0   object_id :: 0  mean error :: 88.8366  nb pts :: 3
0005115 | 2023-11-09, 14:38:20.715740 [debug] - cam_id :: 0   object_id :: 0  mean error :: 291.77  nb pts :: 3
0005116 | 2023-11-09, 14:38:20.715775 [debug] - cam_id :: 0   object_id :: 0  mean error :: 229.415  nb pts :: 3
0005117 | 2023-11-09, 14:38:20.715811 [debug] - cam_id :: 0   object_id :: 0  mean error :: 217.277  nb pts :: 3
0005118 | 2023-11-09, 14:38:20.715848 [debug] - cam_id :: 0   object_id :: 0  mean error :: 215.845  nb pts :: 3
0005119 | 2023-11-09, 14:38:20.715882 [debug] - cam_id :: 0   object_id :: 0  mean error :: 581.92  nb pts :: 4
0005120 | 2023-11-09, 14:38:20.715920 [debug] - cam_id :: 0   object_id :: 0  mean error :: 590.8  nb pts :: 4
0005121 | 2023-11-09, 14:38:20.715955 [debug] - cam_id :: 0   object_id :: 0  mean error :: 287.132  nb pts :: 3
0005122 | 2023-11-09, 14:38:20.715967 [info] - Final refinement done
0005123 | 2023-11-09, 14:38:38.345637 [info] - Save parameters
0005124 | 2023-11-09, 14:38:38.356766 [info] - mean reprojection error :: 175.409
0005125 | 2023-11-09, 14:38:38.360028 [info] - Calibration took 72 seconds

I'm using a subset size of 150 frames to get these results.
Sometimes the script produces some weird output like above, but more often it's failing due to this error:
0001480 | 2023-11-09, 14:56:08.856804 [info] - Frame :: 169  Boards :: 0  --- Mean Error ::12.0435  Nb pts :: 2
0001481 | 2023-11-09, 14:56:08.856821 [info] - High error detected in this board pose estimation
0001482 | 2023-11-09, 14:56:08.856827 [info] - Frame :: 161  Boards :: 0  --- Mean Error ::10.9782  Nb pts :: 2
0001483 | 2023-11-09, 14:56:08.856844 [info] - High error detected in this board pose estimation
0001484 | 2023-11-09, 14:56:08.856849 [info] - Frame :: 167  Boards :: 0  --- Mean Error ::12.6696  Nb pts :: 2
0001485 | 2023-11-09, 14:56:08.856867 [info] - High error detected in this board pose estimation
0001486 | 2023-11-09, 14:56:08.856872 [info] - Frame :: 168  Boards :: 0  --- Mean Error ::11.8517  Nb pts :: 2
0001487 | 2023-11-09, 14:56:08.856898 [info] - High error detected in this board pose estimation
0001488 | 2023-11-09, 14:56:08.856904 [info] - Frame :: 171  Boards :: 0  --- Mean Error ::10.6186  Nb pts :: 2
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.2.0) ../modules/core/src/matrix_expressions.cpp:23: error: (-5:Bad argument) Matrix operand is an empty matrix. in function 'checkOperandsExist'

bash: line 1:    51 Aborted                 (core dumped) ./build/apps/calibrate/calibrate /home/sportv03/MC-Calib/data/subsets/subset_01/calib_param.yml

I don't know why. What am I doing wrong?
Does 4x3 charuco board is valid for this calibration? I know that 4 points are minimum for calculations, but maybe this number is higher for some reason?
Extrinsic calibration works on synthetic data on this 4x3 charuco board (intrinsic calibration is defined by me).
It would be great to have more configuration validation or data validation before each step of the script, so it would be more obvious to everyone why something is not working.

 Here is the problem:
######################################## Boards Parameters ###################################################
number_x_square: 4         # number of squares in the X direction
number_y_square: 3         # number of squares the Y direction

after switching to 3x4 it's working
######################################## Boards Parameters ###################################################
number_x_square: 3         # number of squares in the X direction
number_y_square: 4         # number of squares the Y direction

So it's my fault, I printed the board with wrong parameters.
Is it possible to add some warnings or error messages to prevent mistakes like this?

Leaving the trace, here is my correct (I guess) output cameras.yml:
%YAML:1.0
---
nb_camera: 1
camera_0:
   camera_matrix: !!opencv-matrix
      rows: 3
      cols: 3
      dt: d
      data: [ 3.4089219026871656e+03, 0., 1.9197051479126044e+03, 0.,
          3.4123589126351535e+03, 1.0866674255497603e+03, 0., 0., 1. ]
   distortion_vector: !!opencv-matrix
      rows: 1
      cols: 5
      dt: d
      data: [ -2.3354408055534709e-02, -1.8428057118907593e-02,
          3.5474013129843543e-04, 8.8942147821997972e-04,
          2.5178062482779479e-01 ]
   distortion_type: 0
   camera_group: 0
   img_width: 3840
   img_height: 2160
   camera_pose_matrix: !!opencv-matrix
      rows: 4
      cols: 4
      dt: d
      data: [ 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0.,
          1. ]
errors:
   camera_0:
      translation_std: !!opencv-matrix
         rows: 3
         cols: 1
         dt: d
         data: [ 0., 0., 0. ]
      mean_rotation_error: 0.

using this configration
boards_index: []
cam_params_path: None
cam_prefix: Cam_
camera_params_file_name: cameras.yml
distortion_model: 0
distortion_per_camera: []
fix_intrinsic: 0
he_approach: 0
length_marker: 0.03
length_square: 0.04
min_perc_pts: 0.8
number_board: 1
number_camera: 1
number_iterations: 1000
number_x_square: 3
number_x_square_per_board: []
number_y_square: 4
number_y_square_per_board: []
ransac_threshold: 5
refine_corner: 1
resolution_x: 3840
resolution_y: 2160
save_detection: 1
save_reprojection: 1
square_size: 6.5
square_size_per_board: []

Example frame with detections:

And here is full log of this calibration:
0000001 | 2023-11-09, 19:41:55.931742 [info] - Nb of cameras : 1   Nb of Boards : 1   Refined Corners : true   Distortion mode : 0
0000002 | 2023-11-09, 19:41:55.932443 [info] - Extraction camera 001
0000003 | 2023-11-09, 19:41:55.954703 [info] - Number of threads for board detection :: 20
0000154 | 2023-11-09, 19:41:56.391658 [info] - Number of detected corners :: 6
0000155 | 2023-11-09, 19:41:56.883855 [info] - Number of detected corners :: 6
0000156 | 2023-11-09, 19:41:57.014276 [info] - Number of detected corners :: 6
0000157 | 2023-11-09, 19:41:57.025579 [info] - Number of detected corners :: 6
0000158 | 2023-11-09, 19:41:57.035072 [info] - Number of detected corners :: 6
0000159 | 2023-11-09, 19:41:57.043034 [info] - Number of detected corners :: 6
0000160 | 2023-11-09, 19:41:57.046643 [info] - Number of detected corners :: 6
0000161 | 2023-11-09, 19:41:57.051452 [info] - Number of detected corners :: 6
0000162 | 2023-11-09, 19:41:57.052213 [info] - Number of detected corners :: 6
0000163 | 2023-11-09, 19:41:57.064255 [info] - Number of detected corners :: 6
0000164 | 2023-11-09, 19:41:57.067523 [info] - Number of detected corners :: 6
0000165 | 2023-11-09, 19:41:57.069675 [info] - Number of detected corners :: 6
0000166 | 2023-11-09, 19:41:57.071843 [info] - Number of detected corners :: 6
0000167 | 2023-11-09, 19:41:57.072352 [info] - Number of detected corners :: 6
0000168 | 2023-11-09, 19:41:57.074574 [info] - Number of detected corners :: 6
0000169 | 2023-11-09, 19:41:57.078415 [info] - Number of detected corners :: 6
0000170 | 2023-11-09, 19:41:57.078799 [info] - Number of detected corners :: 6
0000171 | 2023-11-09, 19:41:57.081711 [info] - Number of detected corners :: 6
0000172 | 2023-11-09, 19:41:57.187564 [info] - Number of detected corners :: 6
0000173 | 2023-11-09, 19:41:57.788288 [info] - Number of detected corners :: 6
0000174 | 2023-11-09, 19:41:57.846747 [info] - Number of detected corners :: 6
0000175 | 2023-11-09, 19:41:57.915139 [info] - Number of detected corners :: 6
0000176 | 2023-11-09, 19:41:58.377457 [info] - Number of detected corners :: 6
0000177 | 2023-11-09, 19:41:58.408988 [info] - Number of detected corners :: 6
0000178 | 2023-11-09, 19:41:58.417557 [info] - Number of detected corners :: 6
0000179 | 2023-11-09, 19:41:58.420223 [info] - Number of detected corners :: 6
0000180 | 2023-11-09, 19:41:58.422251 [info] - Number of detected corners :: 6
0000181 | 2023-11-09, 19:41:58.422873 [info] - Number of detected corners :: 6
0000182 | 2023-11-09, 19:41:58.424522 [info] - Number of detected corners :: 6
0000183 | 2023-11-09, 19:41:58.430306 [info] - Number of detected corners :: 6
0000184 | 2023-11-09, 19:41:58.435548 [info] - Number of detected corners :: 6
0000185 | 2023-11-09, 19:41:58.435657 [info] - Number of detected corners :: 6
0000186 | 2023-11-09, 19:41:58.439173 [info] - Number of detected corners :: 6
0000187 | 2023-11-09, 19:41:58.442691 [info] - Number of detected corners :: 6
0000188 | 2023-11-09, 19:41:58.443259 [info] - Number of detected corners :: 6
0000189 | 2023-11-09, 19:41:58.456990 [info] - Number of detected corners :: 6
0000190 | 2023-11-09, 19:41:58.468937 [info] - Number of detected corners :: 6
0000191 | 2023-11-09, 19:41:58.602380 [info] - Number of detected corners :: 6
0000192 | 2023-11-09, 19:41:59.179171 [info] - Number of detected corners :: 6
0000193 | 2023-11-09, 19:41:59.181499 [info] - Number of detected corners :: 6
0000194 | 2023-11-09, 19:41:59.230882 [info] - Number of detected corners :: 6
0000195 | 2023-11-09, 19:41:59.294396 [info] - Number of detected corners :: 6
0000196 | 2023-11-09, 19:41:59.616744 [info] - Number of detected corners :: 6
0000197 | 2023-11-09, 19:41:59.763195 [info] - Number of detected corners :: 6
0000198 | 2023-11-09, 19:41:59.772432 [info] - Number of detected corners :: 6
0000199 | 2023-11-09, 19:41:59.779965 [info] - Number of detected corners :: 6
0000200 | 2023-11-09, 19:41:59.791094 [info] - Number of detected corners :: 6
0000201 | 2023-11-09, 19:41:59.800951 [info] - Number of detected corners :: 6
0000202 | 2023-11-09, 19:41:59.804885 [info] - Number of detected corners :: 6
0000203 | 2023-11-09, 19:41:59.813097 [info] - Number of detected corners :: 6
0000204 | 2023-11-09, 19:41:59.820213 [info] - Number of detected corners :: 6
0000205 | 2023-11-09, 19:41:59.831461 [info] - Number of detected corners :: 6
0000206 | 2023-11-09, 19:41:59.856650 [info] - Number of detected corners :: 6
0000207 | 2023-11-09, 19:41:59.869923 [info] - Number of detected corners :: 6
0000208 | 2023-11-09, 19:41:59.985144 [info] - Number of detected corners :: 6
0000209 | 2023-11-09, 19:42:00.007011 [info] - Number of detected corners :: 6
0000210 | 2023-11-09, 19:42:00.028917 [info] - Number of detected corners :: 6
0000211 | 2023-11-09, 19:42:00.053372 [info] - Number of detected corners :: 6
0000212 | 2023-11-09, 19:42:00.190402 [info] - Number of detected corners :: 6
0000213 | 2023-11-09, 19:42:00.604648 [info] - Number of detected corners :: 6
0000214 | 2023-11-09, 19:42:00.696202 [info] - Number of detected corners :: 6
0000215 | 2023-11-09, 19:42:00.751165 [info] - Number of detected corners :: 6
0000216 | 2023-11-09, 19:42:00.817243 [info] - Number of detected corners :: 6
0000217 | 2023-11-09, 19:42:01.126580 [info] - Number of detected corners :: 6
0000218 | 2023-11-09, 19:42:01.163259 [info] - Number of detected corners :: 6
0000219 | 2023-11-09, 19:42:01.237139 [info] - Number of detected corners :: 6
0000220 | 2023-11-09, 19:42:01.263114 [info] - Number of detected corners :: 6
0000221 | 2023-11-09, 19:42:01.280151 [info] - Number of detected corners :: 6
0000222 | 2023-11-09, 19:42:01.286722 [info] - Number of detected corners :: 6
0000223 | 2023-11-09, 19:42:01.301338 [info] - Number of detected corners :: 6
0000224 | 2023-11-09, 19:42:01.305156 [info] - Number of detected corners :: 6
0000225 | 2023-11-09, 19:42:01.325084 [info] - Number of detected corners :: 6
0000226 | 2023-11-09, 19:42:01.484580 [info] - Number of detected corners :: 6
0000227 | 2023-11-09, 19:42:01.517241 [info] - Number of detected corners :: 6
0000228 | 2023-11-09, 19:42:01.528997 [info] - Number of detected corners :: 6
0000229 | 2023-11-09, 19:42:01.536519 [info] - Number of detected corners :: 6
0000230 | 2023-11-09, 19:42:01.541458 [info] - Number of detected corners :: 6
0000231 | 2023-11-09, 19:42:01.619411 [info] - Number of detected corners :: 6
0000232 | 2023-11-09, 19:42:02.040156 [info] - Number of detected corners :: 6
0000233 | 2023-11-09, 19:42:02.216112 [info] - Number of detected corners :: 6
0000234 | 2023-11-09, 19:42:02.234455 [info] - Number of detected corners :: 6
0000235 | 2023-11-09, 19:42:02.240154 [info] - Number of detected corners :: 6
0000236 | 2023-11-09, 19:42:02.256737 [info] - Number of detected corners :: 6
0000237 | 2023-11-09, 19:42:02.271854 [info] - Number of detected corners :: 6
0000238 | 2023-11-09, 19:42:02.380276 [info] - Number of detected corners :: 6
0000239 | 2023-11-09, 19:42:02.603583 [info] - Number of detected corners :: 6
0000240 | 2023-11-09, 19:42:02.612805 [info] - Number of detected corners :: 6
0000241 | 2023-11-09, 19:42:02.662214 [info] - Number of detected corners :: 6
0000242 | 2023-11-09, 19:42:02.701055 [info] - Number of detected corners :: 6
0000243 | 2023-11-09, 19:42:02.711006 [info] - Number of detected corners :: 6
0000244 | 2023-11-09, 19:42:02.737259 [info] - Number of detected corners :: 6
0000245 | 2023-11-09, 19:42:02.760583 [info] - Number of detected corners :: 6
0000246 | 2023-11-09, 19:42:02.950104 [info] - Number of detected corners :: 6
0000247 | 2023-11-09, 19:42:02.951831 [info] - Number of detected corners :: 6
0000248 | 2023-11-09, 19:42:02.967098 [info] - Number of detected corners :: 6
0000249 | 2023-11-09, 19:42:02.981049 [info] - Number of detected corners :: 6
0000250 | 2023-11-09, 19:42:03.077919 [info] - Number of detected corners :: 6
0000251 | 2023-11-09, 19:42:03.459420 [info] - Number of detected corners :: 6
0000252 | 2023-11-09, 19:42:03.689569 [info] - Number of detected corners :: 6
0000253 | 2023-11-09, 19:42:03.694179 [info] - Number of detected corners :: 6
0000254 | 2023-11-09, 19:42:03.704636 [info] - Number of detected corners :: 6
0000255 | 2023-11-09, 19:42:03.704853 [info] - Number of detected corners :: 6
0000256 | 2023-11-09, 19:42:03.705908 [info] - Number of detected corners :: 6
0000257 | 2023-11-09, 19:42:03.740245 [info] - Number of detected corners :: 6
0000258 | 2023-11-09, 19:42:03.753769 [info] - Number of detected corners :: 6
0000259 | 2023-11-09, 19:42:03.945341 [info] - Number of detected corners :: 6
0000260 | 2023-11-09, 19:42:04.002475 [info] - Number of detected corners :: 6
0000261 | 2023-11-09, 19:42:04.127464 [info] - Number of detected corners :: 6
0000262 | 2023-11-09, 19:42:04.153221 [info] - Number of detected corners :: 6
0000263 | 2023-11-09, 19:42:04.229629 [info] - Number of detected corners :: 6
0000264 | 2023-11-09, 19:42:04.284294 [info] - Number of detected corners :: 6
0000265 | 2023-11-09, 19:42:04.340753 [info] - Number of detected corners :: 6
0000266 | 2023-11-09, 19:42:04.530619 [info] - Number of detected corners :: 6
0000267 | 2023-11-09, 19:42:04.685421 [info] - Number of detected corners :: 6
0000268 | 2023-11-09, 19:42:04.897467 [info] - Number of detected corners :: 6
0000269 | 2023-11-09, 19:42:05.225240 [info] - Number of detected corners :: 6
0000270 | 2023-11-09, 19:42:05.255726 [info] - Number of detected corners :: 6
0000271 | 2023-11-09, 19:42:05.274892 [info] - Number of detected corners :: 6
0000272 | 2023-11-09, 19:42:05.276763 [info] - Number of detected corners :: 6
0000273 | 2023-11-09, 19:42:05.278098 [info] - Number of detected corners :: 6
0000274 | 2023-11-09, 19:42:05.286148 [info] - Number of detected corners :: 6
0000275 | 2023-11-09, 19:42:05.300776 [info] - Number of detected corners :: 6
0000276 | 2023-11-09, 19:42:05.372645 [info] - Number of detected corners :: 6
0000277 | 2023-11-09, 19:42:05.402864 [info] - Number of detected corners :: 6
0000278 | 2023-11-09, 19:42:05.423072 [info] - Number of detected corners :: 6
0000279 | 2023-11-09, 19:42:05.552719 [info] - Number of detected corners :: 6
0000280 | 2023-11-09, 19:42:05.555362 [info] - Number of detected corners :: 6
0000281 | 2023-11-09, 19:42:05.565536 [info] - Number of detected corners :: 6
0000282 | 2023-11-09, 19:42:05.713833 [info] - Number of detected corners :: 6
0000283 | 2023-11-09, 19:42:05.816718 [info] - Number of detected corners :: 6
0000284 | 2023-11-09, 19:42:06.029115 [info] - Board extraction done!
0000285 | 2023-11-09, 19:42:06.029148 [info] - Intrinsic calibration initiated
0000286 | 2023-11-09, 19:42:06.029156 [info] - Initializing camera calibration using images
0000287 | 2023-11-09, 19:42:06.029161 [info] - NB of board available in this camera :: 130
0000288 | 2023-11-09, 19:42:06.029172 [info] - NB of frames where this camera saw a board :: 130
0000289 | 2023-11-09, 19:42:18.670284 [info] - cameraMatrix : [3405.219129797035, 0, 1910.094988443297;
 0, 3410.201075447987, 1117.978734413974;
 0, 0, 1]
0000290 | 2023-11-09, 19:42:18.670343 [info] - distCoeffs : [0.03576338019176255, -0.3691663487185353, 0.002828214851890153, -0.0002464721235971383, 1.005100191367455]
0000681 | 2023-11-09, 19:42:18.695245 [info] - Parameters before optimization :: [3405.219129797035, 0, 1910.094988443297;
 0, 3410.201075447987, 1117.978734413974;
 0, 0, 1]
0000682 | 2023-11-09, 19:42:18.695289 [info] - distortion vector :: [0.03576338019176255, -0.3691663487185353, 0.002828214851890153, -0.0002464721235971383, 1.005100191367455]
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  7.290947e+01    0.00e+00    1.62e+03   0.00e+00   0.00e+00  1.00e+04        0    1.16e-02    1.26e-02
   1  6.926904e+01    3.64e+00    1.25e+03   3.05e+00   1.04e+00  3.00e+04        1    1.15e-02    2.41e-02
   2  6.782618e+01    1.44e+00    1.46e+02   1.64e+00   1.04e+00  9.00e+04        1    1.19e-02    3.61e-02
   3  6.735006e+01    4.76e-01    1.85e+02   3.37e+00   1.07e+00  2.70e+05        1    1.23e-02    4.84e-02
   4  6.707892e+01    2.71e-01    1.99e+02   6.53e+00   1.02e+00  8.10e+05        1    1.15e-02    5.99e-02
   5  6.680882e+01    2.70e-01    6.25e+02   1.06e+01   9.51e-01  2.43e+06        1    1.17e-02    7.17e-02
   6  6.668359e+01    1.25e-01    5.10e+02   9.81e+00   9.32e-01  6.82e+06        1    1.22e-02    8.39e-02
   7  6.666008e+01    2.35e-02    6.85e+01   3.64e+00   1.05e+00  2.05e+07        1    1.15e-02    9.54e-02
   8  6.665849e+01    1.59e-03    8.33e+00   5.95e-01   1.40e+00  6.14e+07        1    1.15e-02    1.07e-01
   9  6.665805e+01    4.35e-04    3.82e+00   1.03e-01   1.62e+00  1.84e+08        1    1.22e-02    1.19e-01
  10  6.665788e+01    1.72e-04    2.08e+00   3.96e-02   1.64e+00  5.53e+08        1    1.23e-02    1.31e-01
  11  6.665781e+01    7.05e-05    1.25e+00   2.13e-02   1.64e+00  1.66e+09        1    1.16e-02    1.43e-01
0000683 | 2023-11-09, 19:42:18.841165 [info] - Parameters after optimization :: [3408.921902687166, 0, 1919.705147912604;
 0, 3412.358912635154, 1086.66742554976;
 0, 0, 1]
0000684 | 2023-11-09, 19:42:18.841210 [info] - distortion vector after optimization :: [-0.02335440805553471, -0.01842805711890759, 0.0003547401312984354, 0.0008894214782199797, 0.2517806248277948]
0000685 | 2023-11-09, 19:42:18.843411 [info] - Intrinsic Calibration done!
0000686 | 2023-11-09, 19:42:18.843422 [info] - 3D Object calibration initiated
0001211 | 2023-11-09, 19:42:18.868771 [info] - Mean Error 0.351087
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  6.747345e+01    0.00e+00    3.39e+02   0.00e+00   0.00e+00  1.00e+04        0    7.18e-03    8.04e-03
   1  6.676715e+01    7.06e-01    2.11e+02   1.04e-01   1.34e+00  3.00e+04        1    8.07e-03    1.61e-02
   2  6.667512e+01    9.20e-02    3.11e+01   1.27e-02   1.17e+00  9.00e+04        1    8.78e-03    2.49e-02
   3  6.666652e+01    8.60e-03    2.49e+01   3.37e-03   1.60e+00  2.70e+05        1    7.91e-03    3.28e-02
   4  6.666276e+01    3.76e-03    2.00e+01   3.15e-03   1.72e+00  8.10e+05        1    7.81e-03    4.07e-02
   5  6.666071e+01    2.05e-03    1.61e+01   2.24e-03   1.77e+00  2.43e+06        1    7.82e-03    4.85e-02
   6  6.665944e+01    1.27e-03    1.30e+01   1.63e-03   1.81e+00  7.29e+06        1    8.64e-03    5.71e-02
   7  6.665867e+01    7.70e-04    1.05e+01   1.26e-03   1.63e+00  2.19e+07        1    7.87e-03    6.50e-02
   8  6.665830e+01    3.71e-04    8.49e+00   7.35e-04   1.74e+00  6.56e+07        1    7.80e-03    7.28e-02
   9  6.665809e+01    2.07e-04    6.88e+00   5.13e-04   1.76e+00  1.97e+08        1    7.94e-03    8.08e-02
  10  6.665797e+01    1.21e-04    5.58e+00   3.71e-04   1.78e+00  5.90e+08        1    8.74e-03    8.95e-02
  11  6.665789e+01    7.38e-05    4.53e+00   2.75e-04   1.79e+00  1.77e+09        1    8.35e-03    9.79e-02
0001342 | 2023-11-09, 19:42:18.972266 [info] - Mean Error 0.349113
0001343 | 2023-11-09, 19:42:18.972296 [info] - 3D Object calibration done!
0001344 | 2023-11-09, 19:42:18.972301 [info] - Camera group calibration initiated
0001348 | 2023-11-09, 19:42:18.975133 [info] - Number of frames for camera group optimization  :: 130
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  6.665789e+01    0.00e+00    4.53e+00   0.00e+00   0.00e+00  1.00e+04        0    1.06e-02    1.17e-02
0001349 | 2023-11-09, 19:42:18.990538 [info] - Camera  0  :: [1, 0, 0, 0;
 0, 1, 0, 0;
 0, 0, 1, 0;
 0, 0, 0, 1]
0001350 | 2023-11-09, 19:42:18.991763 [info] - Camera group calibration done!
0002262 | 2023-11-09, 19:42:19.048723 [info] - Number of frames for camera group optimization  :: 130
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  6.732523e+01    0.00e+00    3.39e+02   0.00e+00   0.00e+00  1.00e+04        0    9.89e-03    1.08e-02
   1  6.676684e+01    5.58e-01    2.11e+02   4.65e-02   1.46e+00  3.00e+04        1    1.18e-02    2.27e-02
   2  6.667512e+01    9.17e-02    3.11e+01   1.21e-02   1.17e+00  9.00e+04        1    1.11e-02    3.38e-02
   3  6.666652e+01    8.60e-03    2.49e+01   3.36e-03   1.60e+00  2.70e+05        1    1.17e-02    4.55e-02
   4  6.666276e+01    3.76e-03    2.00e+01   3.15e-03   1.72e+00  8.10e+05        1    1.09e-02    5.65e-02
   5  6.666071e+01    2.05e-03    1.61e+01   2.24e-03   1.77e+00  2.43e+06        1    1.09e-02    6.74e-02
   6  6.665944e+01    1.27e-03    1.30e+01   1.63e-03   1.81e+00  7.29e+06        1    1.16e-02    7.89e-02
   7  6.665867e+01    7.70e-04    1.05e+01   1.26e-03   1.63e+00  2.19e+07        1    1.10e-02    8.99e-02
   8  6.665830e+01    3.71e-04    8.49e+00   7.35e-04   1.74e+00  6.56e+07        1    1.17e-02    1.02e-01
   9  6.665809e+01    2.07e-04    6.88e+00   5.13e-04   1.76e+00  1.97e+08        1    1.09e-02    1.13e-01
  10  6.665797e+01    1.21e-04    5.58e+00   3.71e-04   1.78e+00  5.90e+08        1    1.15e-02    1.24e-01
  11  6.665789e+01    7.38e-05    4.53e+00   2.75e-04   1.79e+00  1.77e+09        1    1.09e-02    1.35e-01
0002263 | 2023-11-09, 19:42:19.187167 [info] - Camera  0  :: [1, 0, 0, 0;
 0, 1, 0, 0;
 0, 0, 1, 0;
 0, 0, 0, 1]
0002394 | 2023-11-09, 19:42:19.191057 [info] - Non-overlapping calibration initiated
0002395 | 2023-11-09, 19:42:19.191075 [info] - Non-overlapping calibration done!
0002396 | 2023-11-09, 19:42:19.191081 [info] - Merge cameras and objets initiated
0003308 | 2023-11-09, 19:42:19.246652 [info] - Number of frames for camera group optimization  :: 130
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  6.732523e+01    0.00e+00    3.39e+02   0.00e+00   0.00e+00  1.00e+04        0    9.97e-03    1.09e-02
   1  6.676684e+01    5.58e-01    2.11e+02   4.65e-02   1.46e+00  3.00e+04        1    1.12e-02    2.21e-02
   2  6.667512e+01    9.17e-02    3.11e+01   1.21e-02   1.17e+00  9.00e+04        1    1.18e-02    3.39e-02
   3  6.666652e+01    8.60e-03    2.49e+01   3.36e-03   1.60e+00  2.70e+05        1    1.17e-02    4.56e-02
   4  6.666276e+01    3.76e-03    2.00e+01   3.15e-03   1.72e+00  8.10e+05        1    1.10e-02    5.66e-02
   5  6.666071e+01    2.05e-03    1.61e+01   2.24e-03   1.77e+00  2.43e+06        1    1.16e-02    6.82e-02
   6  6.665944e+01    1.27e-03    1.30e+01   1.63e-03   1.81e+00  7.29e+06        1    1.09e-02    7.91e-02
   7  6.665867e+01    7.70e-04    1.05e+01   1.26e-03   1.63e+00  2.19e+07        1    1.08e-02    8.99e-02
   8  6.665830e+01    3.71e-04    8.49e+00   7.35e-04   1.74e+00  6.56e+07        1    1.72e-02    1.07e-01
   9  6.665809e+01    2.07e-04    6.88e+00   5.13e-04   1.76e+00  1.97e+08        1    1.08e-02    1.18e-01
  10  6.665797e+01    1.21e-04    5.58e+00   3.71e-04   1.78e+00  5.90e+08        1    1.16e-02    1.30e-01
  11  6.665789e+01    7.38e-05    4.53e+00   2.75e-04   1.79e+00  1.77e+09        1    1.09e-02    1.41e-01
0003309 | 2023-11-09, 19:42:19.390205 [info] - Camera  0  :: [1, 0, 0, 0;
 0, 1, 0, 0;
 0, 0, 1, 0;
 0, 0, 0, 1]
0003830 | 2023-11-09, 19:42:19.420297 [info] - Merge cameras and objets done!
0003831 | 2023-11-09, 19:42:19.420325 [info] - Final refinement initiated
0003832 | 2023-11-09, 19:42:19.420334 [info] - Number of frames for camera group optimization  :: 130
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  6.732523e+01    0.00e+00    3.39e+02   0.00e+00   0.00e+00  1.00e+04        0    9.94e-03    1.08e-02
   1  6.676684e+01    5.58e-01    2.11e+02   4.65e-02   1.46e+00  3.00e+04        1    1.17e-02    2.26e-02
   2  6.667512e+01    9.17e-02    3.11e+01   1.21e-02   1.17e+00  9.00e+04        1    1.09e-02    3.35e-02
   3  6.666652e+01    8.60e-03    2.49e+01   3.36e-03   1.60e+00  2.70e+05        1    1.08e-02    4.43e-02
   4  6.666276e+01    3.76e-03    2.00e+01   3.15e-03   1.72e+00  8.10e+05        1    1.15e-02    5.58e-02
   5  6.666071e+01    2.05e-03    1.61e+01   2.24e-03   1.77e+00  2.43e+06        1    1.08e-02    6.66e-02
   6  6.665944e+01    1.27e-03    1.30e+01   1.63e-03   1.81e+00  7.29e+06        1    1.08e-02    7.75e-02
   7  6.665867e+01    7.70e-04    1.05e+01   1.26e-03   1.63e+00  2.19e+07        1    1.15e-02    8.90e-02
   8  6.665830e+01    3.71e-04    8.49e+00   7.35e-04   1.74e+00  6.56e+07        1    1.08e-02    9.98e-02
   9  6.665809e+01    2.07e-04    6.88e+00   5.13e-04   1.76e+00  1.97e+08        1    1.07e-02    1.11e-01
  10  6.665797e+01    1.21e-04    5.58e+00   3.71e-04   1.78e+00  5.90e+08        1    1.17e-02    1.22e-01
  11  6.665789e+01    7.38e-05    4.53e+00   2.75e-04   1.79e+00  1.77e+09        1    1.08e-02    1.33e-01
0003833 | 2023-11-09, 19:42:19.556461 [info] - Camera  0  :: [1, 0, 0, 0;
 0, 1, 0, 0;
 0, 0, 1, 0;
 0, 0, 0, 1]
0003834 | 2023-11-09, 19:42:19.557965 [info] - Number of frames for camera group optimization  :: 130
iter      cost      cost_change  |gradient|   |step|    tr_ratio  tr_radius  ls_iter  iter_time  total_time
   0  6.665789e+01    0.00e+00    4.53e+00   0.00e+00   0.00e+00  1.00e+04        0    2.10e-02    2.21e-02
0003835 | 2023-11-09, 19:42:19.584015 [info] - Camera  0  :: [1, 0, 0, 0;
 0, 1, 0, 0;
 0, 0, 1, 0;
 0, 0, 0, 1]
0003966 | 2023-11-09, 19:42:19.587718 [info] - Final refinement done
0003967 | 2023-11-09, 19:42:36.831521 [info] - Save parameters
0003968 | 2023-11-09, 19:42:36.842377 [info] - mean reprojection error :: 0.349113
0003969 | 2023-11-09, 19:42:36.849276 [info] - Calibration took 40 seconds

=================================================================
==19==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 12312 byte(s) in 3 object(s) allocated from:
    #0 0x7f700471a787 in operator new[](unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cc:107
    #1 0x7f700244066f  (/usr/lib/x86_64-linux-gnu/libtbb.so.2+0x2766f)

SUMMARY: AddressSanitizer: 12312 byte(s) leaked in 3 allocation(s).

Thank you so much for the very detailed feedback; I am sure it will be useful for future users facing a similar issue. I am also glad you managed to find the mistake and calibrate your camera properly.
The idea of warning the user that the used pattern does not exhibit the proper configuration is a great idea and might be implemented quite easily. Unfortunately, I cannot promise such an update rapidly.
Thank you very much again!


Use native TOML support for tox

Is Your Feature Request Related to a Problem? Please Describe
Like https://github.com/astro-informatics/sleplet/pull/421
Describe the Solution You'd Like
No response
Describe Alternatives You've Considered
No response
Additional Context
No response

Fixed in #181


phosphoglycerate mutase activity xrefs

Currently we have:
phosphoglycerate mutase activity
    |_2,3-bisphosphoglycerate-independent phosphoglycerate mutase activity
    |_2,3-bisphosphoglycerate-dependent phosphoglycerate mutase activity

id: GO:0004619
name: phosphoglycerate mutase activity
namespace: molecular_function
def: "Catalysis of the reaction: 2-phosphoglycerate = 3-phosphoglycerate." [RHEA:15901]
xref: MetaCyc:3PGAREARR-RXN
xref: RHEA:15901
is_a: GO:0016868 ! intramolecular transferase activity, phosphotransferases
id: GO:0046537
name: 2,3-bisphosphoglycerate-independent phosphoglycerate mutase activity
def: "Catalysis of the reaction: 2-phospho-D-glycerate = 3-phospho-D glycerate; this reaction does not require the cofactor 2,3-bisphosphoglycerate." [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS> {source="skos:exactMatch"}
is_a: GO:0004619 ! phosphoglycerate mutase activity
id: GO:0046538
name: 2,3-bisphosphoglycerate-dependent phosphoglycerate mutase activity
def: "Catalysis of the reaction: 2-phospho-D-glycerate = 3-phospho-D-glycerate; this reaction mechanism uses 2,3-bisphosphoglycerate as a phosphate donor." [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS> {source="skos:exactMatch"}
xref: KEGG_REACTION:R01516
is_a: GO:0004619 ! phosphoglycerate mutase activity

[x] MetaCyc:3PGAREARR-RXN (https://biocyc.org/META/NEW-IMAGE?object=3PGAREARR-RXN) corresponds to EC:<IP_ADDRESS>, so should be moved from GO:0004619 to GO:0046537

[x] MetaCyc:RXN-15513 (https://biocyc.org/META/NEW-IMAGE?type=REACTION&object=RXN-15513) corresponds to EC:<IP_ADDRESS>, so should be added to GO:0046538

[ ] RHEA:15901 (https://www.rhea-db.org/rhea/15901) covers both EC:<IP_ADDRESS> and EC:<IP_ADDRESS>, so it's probably fine to have that on the parent term (GO:0004619), though it would be accurate to also add it to both child terms (GO:0046537, GO:0046538)

@pgaudet I tried adding RHEA:15901 to both child terms (as well as the parent) but it seems this isn't allowed.

No need to add RHEA:15901 to both child terms (as well as the parent) - closing.

Editors' discussion:  proposal to merge the two specific terms into the parent

More details on the subreactions here: https://www.enzyme-database.org/query.php?ec=<IP_ADDRESS>

Annotations are here: https://github.com/geneontology/go-annotation/issues/5503

Thanks @raymond91125 !


Added focus & highlight to the topmost window.

Added a function to memory to retrieve the topmost panel LayerId on a given Order.
Added a color for focused window header.
The tomost window header appears with a specific color (this effect shoudl be enhanced by completely filling the header).
This effect is visible in the demo.

This solution is not perfect, but it is simple.
There is a small problem indeed: if you close a focused window, no other window gets the focus as the memory keeps even the closed window in the ordered list.
To solve that, I could implement a simple window manager struct in the context that would keep track of the focused window.
Each window would register itself and update its status.
Would such an approach be acceptable?
The idea behind this feature is the possibility to have multiple images or documents open and a side panel that updates itself according to the focused one.

Ok, I did not know if the closed windows on the order list were left on purpose.
I will try your suggestion.

I implemented closed window culling. It seems to work!

Removed the has_focus on window as it is not necessary.
the test can be performed from he UI function by comparing the ui.layer_id with the topmost layer_id provided by the context.
Updated the demo.

I fixed the aspect of the selected window. Now, the whole header area of the widget is painted.
I also fixed the problem with the collapsible icon not showing.


Minimap

Reopening old Issue in relevant Repo
https://github.com/limetext/lime/issues/204

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13198172-qml-minimap?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

There is an idea from https://github.com/limetext/lime/issues/301 that minimap should be just a transform of original View.

Making the minimap a transform of the main view sounds like a great idea until you realize that the minimap shows a lot more lines than the main view does. QML won't render enough of the view for the minimap, and even if you force it to do so, the amount of graphics memory it would have to take up will be much higher.
Either way, the minimap is there and working. There are a few usability issues with it, and it currently doesn't scroll if the file is long, but it works.

In that case I'll close this issue.


fix: flow type check error (DragOverEvent)

Correct classList type from console

Thanks. The type here really isn't exact. I need to spend more time with it. However, the type error is fixed in 53b31606fa42b3a76ebd796d3bb0f165f5aa6d9b


Cannot run appliance_console after fetch-key

I am running ivanchuk-7 release using Vagrant and Virtual Box. I updated keys from the database server and then cannot access the appliance_console at all. Reverting the key from a backup makes it correct again. But I want to use an external database server for my appliance.
[root@localhost certs]# appliance_console_cli --fetch-key <IP_ADDRESS>
fetch encryption key
<EMAIL_ADDRESS>password:
[root@localhost certs]# appliance_console
Traceback (most recent call last):
        15: from /usr/local/bin/appliance_console:23:in `<main>'
        14: from /usr/local/bin/appliance_console:23:in `load'
        13: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:79:in `<top (required)>'
        12: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:80:in `<module:ManageIQ>'
        11: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:89:in `<module:ApplianceConsole>'
        10: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:89:in `loop'
         9: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/bin/appliance_console:104:in `block in <module:ApplianceConsole>'
         8: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:206:in `database_host'
         7: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:198:in `current'
         6: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:194:in `decrypt_password'
         5: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:257:in `encrypt_decrypt_password'
         4: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-appliance_console-5.5.0/lib/manageiq/appliance_console/database_configuration.rb:194:in `block in decrypt_password'
         3: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:97:in `try_decrypt'
         2: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:72:in `decrypt'
         1: from /usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:40:in `decrypt'
/usr/local/lib/ruby/gems/2.5.0/gems/manageiq-password-0.3.0/lib/manageiq/password.rb:43:in `rescue in decrypt': can not decrypt v2_key encrypted string (ManageIQ::Password::PasswordError)
[root@localhost certs]# mv v2_key.back v2_key
mv: overwrite ‘v2_key’? y
[root@localhost certs]# appliance_console
Welcome to the ManageIQ Virtual Appliance.

To modify the configuration, use a web browser to access the management page.

Hostname:                localhost.localdomain
IPv4 Address:            <IP_ADDRESS>/<IP_ADDRESS>
IPv4 Gateway:            <IP_ADDRESS>
IPv6 Address:
IPV6 Gateway:
Primary DNS:             <IP_ADDRESS>
Secondary DNS:
Search Order:            localdomain
MAC Address:             52:54:00:4b:dc:0d
Timezone:                America/New_York
Local Database Server:   running (primary)
ManageIQ Server:         running
ManageIQ Database:       localhost
Database/Region:         vmdb_production / 0
External Auth:           not configured
ManageIQ Version:        ivanchuk-7

Please help. I am trying to follow this guide to setup an HA for a POC.

@bdunne Can you help here?

Hi @goforgold ManageIQ appliances initialize a local database on first boot.  As part of that first boot script, /var/www/miq/vmdb/config/database.yml is created and the database password stored in that file is encrypted with a locally created encryption key.
The problem is that the appliance console tries to read the database.yml file and fails to decrypt the database password because that is encrypted with the old encryption key.
So, in your case, the simple workaround is to rm /var/www/miq/vmdb/config/database.yml or also specify the database hostname, username, password, etc. on the same appliance_console_cli command line.

Thanks @bdunne. Yes, I understood that part and what I did as a workaround is use the same encrypted password as it is in database.yml file for my DB instance from where I fetched the key using --fetch-key and then used appliance_console -> 5) Configure Database -> Join region in external database.
Really thanks for your help.


[stable/ark] fix some typos in README.md

Fix some typos in README.md:
install->installs
sencond->second
a IAM->an IAM
ark->Ark

/assign @mgoodness

/ok-to-test

/lgtm


Be careful returning this for internal method chaining

In Trux.Model.update there are some problems;
.then(function (xhr, response) {
    if (typeof response !== 'object') return;

    _this.setData(response).persist();

    // the following code will not execute!
    if (typeof options.onDone === 'function') {
        options.onDone(response);
    }
})

Since setData and persist both return this the onDone and onFail methods will not execute.

Solved for now by moving calls to chained methods after the conditionals. This might cause other issues though, perhaps its best to stop returning this from these methods altogether.

This might cause other issues...
It did. Method chaining has been removed from the setData, restoreData and persist methods. This has solved the issue.


I have a question regarding input_data

Hello. We are running this code in PyCharm. I know that there are 4 files that are created when saving in tensorflow. To train the model, we tried running the program by putting
"--train -i pretrained-models/itracker_adv/model-23.data-00000-of-00001 -sm saved model" in the paremeter value of the configuration, but the following error occurs.

If you know how to solve it and answer me, I would be grateful.
Thanks for reading my answer. Have a nice day!

Hello. We are running this code in PyCharm. I know that there are 4 files that are created when saving in tensorflow. To train the model, we tried running the program by putting
"--train -i pretrained-models/itracker_adv/model-23.data-00000-of-00001 -sm saved model" in the paremeter value of the configuration, but the following error occurs.

If you know how to solve it and answer me, I would be grateful.
Thanks for reading my answer. Have a nice day!

Hi @kyoungeun107 , thanks for your attention to this work!
To train the model from scratch: please run python itracker_adv.py --train -i input_training_data -sm saved_model_path
To test the trained model: please run python itracker_adv.py -i input_testing_data -lm saved_model_path

Hello. We are running this code in PyCharm. I know that there are 4 files that are created when saving in tensorflow. To train the model, we tried running the program by putting
"--train -i pretrained-models/itracker_adv/model-23.data-00000-of-00001 -sm saved model" in the paremeter value of the configuration, but the following error occurs.

If you know how to solve it and answer me, I would be grateful.
Thanks for reading my answer. Have a nice day!

Hi @kyoungeun107 , thanks for your attention to this work!
To train the model from scratch: please run python itracker_adv.py --train -i input_training_data -sm saved_model_path
To test the trained model: please run python itracker_adv.py -i input_testing_data -lm saved_model_path


[Sanity] add caps/MTL for paltform MTL-P

Signed-off-by: Wang Hangjie<EMAIL_ADDRESS>

I added it based on this information.
https://github.com/intel/media-driver#:~:text=Decoding/Encoding Features

@FocusLuo @uartie can you review this for me?


Fix paths when built on windows

This PR Fixes #4920
So the problem is that when a next.js application is built on windows, the pages-manifest.json file is created with backslashes. If this built application is deployed to a linux hosting enviroment, the server will fail when trying to load the modules.
Error: Cannot find module '/user_code/next/server/bundles\pages\index.js

My simple solution is to modify the pages-manifest.json to always use linux separator (/), then also
modify server/require.js to, when requiring page, replace any separator (\ or /) with current platform-specific file separator (require('path').sep).
The fix in server/require.js would be sufficient, but my opinion is that having some cross-platform consistency is nice.
This change was tested by bulding an application in windows and running it in linux and windows, aswell as building an application in linux and running it in linux and windows. The related tests was also run.

I wonder if we can have an integration test for this behavior to make sure we don't break this in the future. I guess the only reliable way would be reading the manifest and checking a path, since it's only used on the server side. You can add this to test/integration/production, which already does a next build before running the tests 👍

I just realized this PR was created on master instead of canary

@timneutkens

I just realized this PR was created on master instead of canary

Hmm I think I branched from a release to have only my changes, and then when creating the PR into canary was getting more changes than I wanted, so I figured it should go into master. I should be able to branch from a release when making changes, right?
Also, was this particular PR solved or should I create a new?

I just cherrypicked it onto canary: https://github.com/zeit/next.js/commit/27c0b199d005fc44cda54b1af7412228192871fd
🙌
Basically to keep in mind is always creating a branch from canary since it's in almost all cases a lot in front of master.


[Feature Request] Browser error passing

Use case:
After opening webView browser window via browser.openWebView({ url, toolbarType: ToolBarType.BLANK, visibleTitle: false }); I want to be able to catch/listen for specific errors throwed by Android/iOS browsers for example ERR_NAME_NOT_RESOLVED, ERR_ADDRESS_UNREACHABLE, ERR_TIMED_OUT... for Android or NSURLErrorTimedOut, NSURLErrorUnknown, The Internet connection appears to be offline.... for iOS.
On javascript side browser.addListener('pageLoadError', (errorContext) => { console.log(errorContext) } is already listenable, even thro lib itself does not oficially provide pageLoadError listener, but error source (errorContext) is not visible/defined.
https://developer.apple.com/documentation/foundation/1508628-url_loading_system_error_codes
https://github.com/chromium/chromium/blob/main/net/base/net_error_list.h
Edit: Actually we use v1.4.4 of @capgo/inappbrowser

Please attempt this method


Getting error in android. while onEnterAction event is triggered.

 onZoneEntered = context => {
        if (!this.props.isInCheckOutFlow) this.getCurrentStore();
        console.log('zone1 onEnter', context);
    };

    onZoneExit = context => {
        console.log('zone1 onExit', context);
    };

    onZoneChanged = contexts => {
        console.log('zone1 onChange', contexts);
    };

    componentDidMount() {
        RNEP.locationPermission.request().then(
            permission => {
                if (permission !== RNEP.locationPermission.DENIED) {
                    const credentials = new RNEP.CloudCredentials(ESTIMOTE_APP_ID, ESTIMOTE_APP_TOKEN);
                    const config = {
                        notification: {
                            title: 'Exploration mode is on',
                            text: "We'll notify you when you're next to something interesting.",
                            channel: {
                                id: 'exploration-mode',
                                name: 'Exploration Mode'
                            }
                        }
                    };
                    const beaconList = [
                        {
                            tag: 'shop1'
                        },
                        {
                            tag: 'shop2'
                        }
                    ];
                    var zones = [];
                    for (var i = 0; i < beaconList.length; i++) {
                        var zone = new RNEP.ProximityZone(5, beaconList[i].tag);
                        zone.onEnterAction = this.onZoneEntered;
                        zone.onExitAction = this.onZoneExit;
                        zone.onChangeAction = this.onZoneChanged;
                        zones.push(zone);
                    }
                    RNEP.proximityObserver.initialize(credentials, config);
                    RNEP.proximityObserver.startObservingZones(zones);
                }
            },
            error => {
                console.error('Error when trying to obtain location permission', error);
            }
        );

this is code i use to detect beacons. once it detects the beacon I'm getting this error undefined is not an object(evaluating 'n.get(e.zoneId).onEnterAction')

@heypiotr any solutions?

Are you sure you're on 0.5.0? This was an error that happened in earlier versions when you didn't stop the observer properly before starting it again. In 0.5.0, it should instead give you a warning:
https://github.com/Estimote/react-native-proximity#already-observing

It works after updating the package. Thanks!


SCSS Variables & Mixin Highlighting

The highlighting doesn't work for SCSS for the following sample:
<style lang="scss">
  @import "scss/bootstrap/mixins/_buttons.scss";
  $brand-primary: #3c763d !default;
  $btn-primary-color: #fff !default;
  $btn-primary-bg: $brand-primary !default;
  $btn-primary-border: darken($btn-primary-bg, 5%) !default;
  .btn-primary {
    @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
  }
</style>

All shows formatted when in a .scss file

Can you post a screenshot? Works for me:

Will reopen if you can provide more info.

This is what mine screen looks like.

Do you have
"files.associations": {
  "*.vue": "vue"
}

in your user setting?

NVM, this extension only works for vue file. scss file error should be reported to https://github.com/Microsoft/vscode. Meanwhile you can turn off scss validation by:
  "scss.validate": false


Type Error in About section

Type Error in About section
The About section of this repo has a small typo error of teh, which should be the.
Actual
The code repo for bqtools-json a package for managing bigquery using json exemplar data structure and home of teh bqsync utility.
Expected
The code repo for bqtools-json a package for managing bigquery using json exemplar data structure and home of the bqsync utility.

resolved


Test Create delivered to user's sharedInbox

Same as fediverse-devnet/feditest-tests-fediverse#14, but delivered to a user's sharedInbox. https://www.w3.org/TR/activitypub/#shared-inbox-delivery

but afaik shared inboxes aren't necessarily required to be on the same domain as their actors

@snarfed This is a good point! Should we add a separate test case for that?

I created two stubs for this for now, see https://github.com/fediverse-devnet/feditest-tests-fediverse/tree/develop/tests/fediverse/create

How would we test that a sharedInbox can be on a different host? I can think of some ways, but all of them are cooooomplicated. Ideas anybody?

I doubt it's worth testing. I haven't seen a single instance of this in the wild...and even if we found one, it's so unusual that it'd probably be the very lowest priority to test here.


Implemented command suggestions for unreconginzed root commands.

Added Levenshtein algorithm uitilities.
Wired Levenshtein implementation to the command execution floe.
Added tests.

\o/ ❤ :shipit:

Current coverage is 93.28% (diff: 83.52%)

Merging #56 into master will decrease coverage by 0.17%

@@             master        #56   diff @@
==========================================
  Files            38         40     +2
  Lines          3151       3232    +81
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2945       3015    +70
- Misses          206        217    +11
  Partials          0          0

Powered by Codecov. Last update 31ceee9...43efcf8

Awesome!!


template all the things

We've got stuff in MD and ipynb, so things will need to be moved over to the final format.

I think it will be better to keep the documentation episode as a markdown file since it contains no python code. However, if you would like to convert it to .ipynb, go ahead and create the pull request.

I've now converted the iPython format documents to Markdown (as per #23). It still needs to be converted to the Data Carpentry lesson template, but I think that should be a separate issue, so I'll close this out.


Trie.load raises a DeprecationWarning that doesn't make sense

There's a nonsensical DeprecationWarning in Trie.load:
>>> import marisa_trie
>>> t = marisa_trie.Trie()
>>> t.load('data/language_names.marisa')
/home/rspeer/.virtualenvs/lum/bin/ipython:1: DeprecationWarning: Trie.save is deprecated and will be removed in marisa_trie 0.8.0. Please use Trie.load instead.
  #!/home/rspeer/.virtualenvs/lum/bin/python3.5
<marisa_trie.Trie at 0x7f4e9fefb0f0>

Some things that are wrong with this:

I didn't use Trie.save, I used Trie.load, which is exactly what it's telling me to use.
It doesn't sound right that Trie.load would be able to replace Trie.save.
The warning is actually raised by Trie.read, not Trie.save.
Trie.load is implemented by using Trie.read, so there is no way to avoid the DeprecationWarning.

Expected behavior: if I use the function that the DeprecationWarning tells me I should use, I should not get a DeprecationWarning.

As another example of a catch-22 DeprecationWarning: using Trie.save tells you "Trie.write is deprecated and will be removed in marisa_trie 0.8.0. Please use Trie.save instead.".

Relatedly, if I use BytesTrie.load(), the warning tells me to "use Trie.load instead", which is wrong because Trie.load will not load a BytesTrie.


chore/frontend bug fix: Resolved issues to the frontend

Why we create this PR?
Fixed issues from the Exchange section in the frontend
What we want to achieve with this PR?

EDC Contract exchange metadata is shown partially, this must be fixed. https://github.com/eclipse-tractusx/digital-product-pass/issues/373
Fixed data integrity issue https://github.com/eclipse-tractusx/digital-product-pass/issues/372
Updated frontend version to v4.0.0-rc2

What is new?
Issues Fixed
Fixed issues from the Exchange section in the frontend
Fixed issues from the data integrity in the frontend
PR Linked to:
Closes https://github.com/eclipse-tractusx/digital-product-pass/issues/373
Closes https://github.com/eclipse-tractusx/digital-product-pass/issues/372

IP checked executed, no IP issues found!


BroadBand (Service prvider) info not available from network manager (modem/lte/gsm)

Issue description
Cannot change APN in Network Manager
Steps to reproduce
When I open Network Manager (from try) -> Edit Connection -> Select GSM connection -> Broadband connection tab -> API (field) -> Change (button) nothing happens.
In modem manager logs nothing happens.
In network manager logs:
Jul 31 07:46:40 zeppelin xsession[4274]: ** (nm-connection-editor:21957): WARNING **: 09:46:40.673: Cannot create mobile providers database: Could not read '/nix/store/fdpin1j7fffgpa06x30gkybqawk2hdk2-network-manager-applet-1.8.10/share/mobile-broadband-provider-info/serviceproviders.xml': No such file or directory

However serviceproviders.xml is in /nix/store/kv6r8h89ph0vmnjzbhfdxpn8p11g934m-mobile-broadband-provider-info-20151214/share/mobile-broadband-provider-info/serviceproviders.xml
Looks like path to that file is not bound properly.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.54, NixOS, 18.09pre145679.dae9cf6106d (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0.4
channels(root): "nixos-18.09pre145679.dae9cf6106d"
channels(spinus): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Looks like this got broken when the package was switched to meson in https://github.com/NixOS/nixpkgs/pull/43087. The following change would fix it:
--- a/pkgs/tools/networking/network-manager/applet.nix
+++ b/pkgs/tools/networking/network-manager/applet.nix
@@ -43,8 +43,8 @@
     hicolor-icon-theme
   ];

-  NIX_CFLAGS = [
-    ''-DMOBILE_BROADBAND_PROVIDER_INFO=\"${mobile-broadband-provider-info}/share/mobile-broadband-provider-info/serviceproviders.xml\"''
+  NIX_CFLAGS_COMPILE = [
+    ''-DMOBILE_BROADBAND_PROVIDER_INFO="${mobile-broadband-provider-info}/share/mobile-broadband-provider-info/serviceproviders.xml"''
   ];

   postPatch = ''

However, this will not work in the newer nm-applet versions due to the following upstream change:
https://gitlab.gnome.org/GNOME/network-manager-applet/commit/1f6331b2192eff72e4209eb063f244adcf3f0a5b. Opened an upstream issue: https://gitlab.gnome.org/GNOME/network-manager-applet/issues/14

I opened a merge request that will fix that: https://gitlab.gnome.org/GNOME/network-manager-applet/merge_requests/18

@jtojnar thank you very much for that work! Great stuff with applet fix, cheers :-)


Add the ability to import followers from Twitter

If someone wants to import the users they are following from an existing Twitter account, we should support that.
One caveat is that this would only work with a public account, but perhaps we could also support a bookmarklet or similar that can export a logged-in user's followed list to the JSON format we expect?
NewPipe has this functionality, using YouTube Takeout as the source.
~It should also allow the user to choose a group to import the users into, e.g. if the user wants to import from multiple accounts and keep some separation.~ Group support will come in the future.

Add a link to the import screen when no subscriptions exist

I've just pushed super basic support for importing all followed users from a public Twitter account. Right now, you're not able to pick and choose who to import, or which groups, but I'm planning on adding that soon - I just want to get a beta/MVP of this out as I know a lot of you are waiting for it!
You can get to the screen by tapping the new "Import" button on the subscriptions screen:

Please, let me know of any feedback, good or bad 🙂

I'm on v2.13.0+20210716 but I'm not seeing that. When I click import it just opens recent files.

Ah, my mistake, I was looking in Settings -> Import. But then I re-read and saw you wrote

You can get to the screen by tapping the new "Import" button on the subscriptions screen:

I wasn't clear to me what the Import button on the subscriptions screen was, but after clicking on everything I learned it's the one with arrows going up and down

Just successfully imported the 5569 of the 5570 people I follow on Twitter (I wonder which one got left out, and why...)

Well, I say successful, but actually it won't load my feed. I guess due to Twitter limits or something? (I sent a report via Sentry)

@jdaviescoates yes, Fritter probably won't be able to cope very well with so many subscriptions - it might even result in you being rate limited or blocked by Twitter, as so many requests will need to be made. You might achieve better results by using the Groups functionality, splitting your subscriptions into more manageable (for Fritter) chunks.

This is now being shipped as GA in the upcoming v2.15.0!

This is now being shipped as GA in the upcoming v2.15.0!

Please excuse my ignorance but what is GA?

@jdaviescoates general availability - no longer in beta 🙂

How about import subscriptions from fritter as a temporary workaround, while we're rate limited? Thanks for your work on this project.

Well, I say successful, but actually it won't load my feed. I guess due to Twitter limits or something? (I sent a report via Sentry)

maybe have a way of login in?
lets say on a special browser/extention where it will work as a middle man and all requests go through the normal x website and scraped page by page?
of course using thia way you would need to rate limit yourself cause a automatic system of gettong those tweets and user info will be much faster than a human browsing x in his phone or browser

If it's rate limited, maybe allow it to run it the background and/or ask the user after a 24 hour period to continue pulling the rest of the following list.

What's wrong with squawker it displays the above screenshot?


Fix sidebar group collapse icon size

Makes it match other uses of the icon.

Hmm, I think this looks too big now

It's in line with the other places. It was inaccessibly small.


Lightbulb flickering - a race condition when there are multiple LSP clients with code actions

Hey!
I've been using this plugin for quite some time, but recently (not sure since when) I noticed it does not appear so often. After a bit of debugging I have noticed that the lightbulb disappears moments after it is shown without moving the cursor
https://user-images.githubusercontent.com/889383/137361473-57275395-92ec-45f9-be70-3bd7dbec006a.mp4
You can see the lightbulb appears for a split second only. It does not matter whether there is something in the sign column or not.
My configuration for nvim-lightbulb:
https://github.com/Gelio/ubuntu-dotfiles/blob/0bd99a2124452ea8475a821c3a95ecdd4ff69dda/install/neovim/stowed/.config/nvim/lua/plugins.lua#L469-L481

I couldn't put it down in the end, so I spent a bit more time on it. I ended up finding the root cause - a race condition between code actions returned from tsserver and null-ls.nvim (or the lack of them).
TL;DR: IMO the plugin should use vim.lsp.buf_request_all instead of vim.lsp.buf_request in https://github.com/kosayoda/nvim-lightbulb/blob/3c5d42a433fcb73fa9a2e07647ef02288479b284/lua/nvim-lightbulb.lua#L251
Details and some investigation information follows below

In the file I am editing I have 2 code action sources enabled:

tsserver
nvim-lsp-ts-utils registers a code action generator for eslint inside of null-ls.nvim which serves as a LSP client. The relevant code is https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/blob/efa321ad03fbffeca699bc04ca1a59db0c54d16f/lua/nvim-lsp-ts-utils/null-ls.lua#L181-L199

When I set eslint_enable_code_actions = false in my config for nvim-lsp-ts-utils, the lightbulb was working correctly and didn't disappear. So, when there was only a single code actions provider, it was working fine. It also is in line with what I found earlier that disabling null-ls.nvim LSP client with :LspStop got lightbulb to stick.
I don't have eslint installed in my project, so null-ls.nvim consistently reported there are no code actions. tsserver, on the other hand, reported actions on some lines.
Depending on which LSP client was last in reporting the code actions, the lightbulb either appeared or it did not.
The flickering was caused when tsserver was first to respond with some code actions (lightbulb turned on), but then, a few milliseconds later, null-ls.nvim reported 0 code actions, which hid the lightbulb.
I have added some logs to the code of both nvim-lsp-ts-utils and nvim-lightbulb. Here is the output when the lightbulb stayed on:
update lightbulb {
  code_action_cap_found = true
}
eslint_d output nil
code acitons handler {
  actions = {}
}
code actions handler end
code acitons handler {
  actions = { {
      command = {
        -- some output here
      },
      kind = "quickfix",
      title = "Import 'ObjectSchema' from module \"superstruct/lib/utils\""
    } }
}
code actions handler end

Notice the first code actions handler has 0 actions - that's the one from null-ls.nvim, as it's preceded by printing the eslint output (based on which the list of code actions is built). Then, tsserver responds with its actions. This turns on the lightbulb.
On the other hand, a few seconds later, the order is reversed:
update lightbulb {
  code_action_cap_found = true
}
code acitons handler {
  actions = { {
      command = {
        ...
      },
      kind = "quickfix",
      title = "Import 'ArraySchema' from module \"../json-schema\""
    }, {
      command = {
        ...
      },
      kind = "quickfix",
      title = "Import 'ArraySchema' from module \"./array\""
    } }
}
code actions handler end
eslint_d output nil
code acitons handler {
  actions = {}
}
code actions handler end

and the lightbulb flickers.
After reading nvim-lightbulb source code, looks like vim.lsp.buf_request to get actions
https://github.com/kosayoda/nvim-lightbulb/blob/3c5d42a433fcb73fa9a2e07647ef02288479b284/lua/nvim-lightbulb.lua#L251
which invokes the callback multiple times. I experimented with using vim.lsp.buf_request_all which invokes the callback only once, with results from all clients, and it seems to be working consistently now.
Aside from changing the method used, I had to change the handling of parameters inside the callback (https://github.com/kosayoda/nvim-lightbulb/blob/3c5d42a433fcb73fa9a2e07647ef02288479b284/lua/nvim-lightbulb.lua#L144
) to something like:
    local function code_action_handler(client_responses)
        local has_actions = false
        for _, client_response in pairs(client_responses) do
          if not vim.tbl_isempty(client_response.result) then
            has_actions = true
            break
          end
        end
        -- No available code actions
        if not has_actions then
          -- The code that disabled the lightbulb, and the rest of the original function

I would generally make that into a PR, but I don't know if that's good enough to handle all cases (neovim 0.5 vs 0.5.1 vs nightly), so I would rather just leave my findings and let you make the change that does not break anything :smile:

Thank you for the thorough investigation. This does seem to be a bug on my end, and buf_request_all should resolve the issue (only caveat I can think of is slower updates if a client responds slowly, but that's still better than having one response override another).
Feel free to make a PR if you'd like, or I'll get to it as soon as I have spare time.

@Gelio I've implemented the fix on the latest master, please let me know if it fixes your issue.


queue all updates

#266 seems to be caused by a race condition. this appears to fix it

this PR pairs well with https://github.com/sveltejs/kit/pull/9441


weconnect_cupra.errors.APICompatibilityError: No user id provided (0.50.13)

Apparently some kind of API change happened, need another indirection step to get the user id. The following patch for 0.50.13 fixed it for me:
--- my_cupra_session.py.orig    2024-09-20 17:12:32.734000000 +0200
+++ my_cupra_session.py 2024-09-20 17:27:22.167000000 +0200
@@ -169,8 +169,9 @@
             raise APICompatibilityError('No url for forwarding in response headers')

         # Parse parametes from forwarding url
-        params: Dict[str, str] = dict(parse_qsl(urlsplit(login3Response.headers['Location']).query))
-
+        params1: Dict[str, str] = dict(parse_qsl(urlsplit(login3Response.headers['Location']).query))
+        params: Dict[str, str] = dict(parse_qsl(urlsplit(params1['callback']).query))
+
         # Check if error
         if 'error' in params and params['error']:
             errorMessages: Dict[str, str] = {
@@ -192,7 +193,7 @@
         self.__userId = params['userId']  # pylint: disable=unused-private-member

         # Now follow the forwarding until forwarding URL starts with 'weconnect_cupra://authenticated#'
-        afterLoginUrl: str = login3Response.headers['Location']
+        afterLoginUrl: str = params1['callback']

         consentURL = None
         while True:

I suspect that this is because you've not accepted all of the consents in the official app. Once you do this, it will work again with the stock app and, unfortunately, your patch will then start to fail (as it does for me).
It would be good if someone could do some proper work on this to handle multiple scenarios, but I'm afraid that I do not have the time right now (and it's hard to do when I only have a single login that works fine). My best recommendation to you is to accept the consents in the official apps (you may need to logout, uninstall, clear data, login etc.) and it will work again without modification.

Yeah time is an issue, therefore i did just live with my patch for a while. But finally had to reinstall the official app - and as you said patch stopped working and the original code worked again. Closing the issue.


[FEATURE] add readiness and liveness probes

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
I would like to add to the deployment manifest readiness and liveness probe option, to add it through values.yaml
Describe the solution you would like
create a section of readiness and liveness probes to activate via values file if needed.
Describe alternatives you have considered

Additional context

@yonibc  Thanks for raising the feature request. The readiness and liveness probes have already been added by #2072 .

We too noticed this issue about Spark driver pods entering a hung state in Kubernetes.
We ended up adding a custom solution that automates the detection and recovery of these hung driver pods by monitoring log inactivity. This might be helpful for others facing similar challenges.
I’ve documented the solution in this Git gist, which outlines the approach and provides a working script for log-based monitoring and pod recovery.
Detailed Article Link For the approach used can be found here


<EMAIL_ADDRESS>Add a tip about Version Bucket

Relates to #9298
Add a tips about kate-nightly

[x] I have read the Contributing Guide.

Could you update this with master once?


update StringLimit 1000

Codecov Report

Merging #285 (4144005) into master (1f4fb76) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   69.02%   69.02%
=======================================
  Files          59       59
  Lines       16702    16702
=======================================
  Hits        11528    11528
  Misses       5174     5174

Impacted Files
Coverage Δ

runtime/src/lib.rs
11.44% <ø> (ø)

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 1f4fb76...4144005. Read the comment docs.


Working with AngularJS and external libraries?

Hi guys. How this library working with UI components for example from Bootstrap 3 (if I'm using not all but some elements from this framework, and creating custom elements from scss), or D3 charts?
And can I use some JS like AngularJS and additional libraries?
Thank you for you work.

@rubinchyk
use template.html and include all additional resources here, they will be applied to snippet template.
Could you explain first question with more details provided? What do you want to achieve, because our styleguide component is framework agnostic.

Thank you for answer, I think I have solutions for all my goals.

Its cant working !! when i add some jquery or JS libraries in the head of template , i can`t see it in the page , Only the css code !!


Add a simple way to fallback to Nio if Epoll is not avaiable

This is just a wish, Netty is exciting but I would like to make it more "confortable"
Expected behavior
Actually there is some boilerplate code to write down if you want to use Epoll and fallback to Nio if Epoll is not available.
I would like to have some Netty-provided facility to boot with Epoll but automatically falls back to Nio
Examples:
you have to create a EpollEventLoopGroup and fallback to a NioEventLoopGroup in case of ExceptionInInitializerError or NoClassDefFoundError
Then you have to write code like
this:
Bootstrap b = new Bootstrap();
       b.group(group)
        .channel(nio ? NioSocketChannel.class : EpollSocketChannel.class)

or
Bootstrap b = new Bootstrap();
       b.group(group)
        .channel(group instanceof  NioEventLoopGroup ? NioSocketChannel.class : EpollSocketChannel.class)

I see (i.e. I am using networkless DefaultEventLoopGroup too) that there is a tight coupling between the Channel class and the EventLoopGroup class, it would be great that Netty could have an automatic mapping for such configurations.
Netty version
4.1.9Final

PR are always welcome. Just keep in mind we can't break existing public APIs.

I think there is a method to check if Epoll is available or not : Epoll.isAvailable()


Add REST-related e2e tests for /profile endpoint

End-to-end tests for /profile
This pull request adds end-to-end tests for the /profile endpoint in the contacts application. There are quite a few additions, but the code is pretty straightforward. Also, each end-to-end test is prefaced with a brief description, so hopefully it shouldn't be arduous to review.
I changed integration to e2e because I think integration implies there are multiple components in play (i.e. testing an application by deploying it alongside a group of services that it depends on in order to work). In this case, we're still testing the application in isolation and we don't care about how it integrates with other components, so I think e2e is a better name.
Also, I renamed the existing integration tests files. This avoids having enormous test files and keeps the tests logically separated.

let's talk about naming things...
The testing pyramid/trophy leads me to believe that what we're doing here is integration test, not e2e tests.
Martin Fowler tends to agree.
Google said, "f**k it, let's call it small, medium and large"
Another word that gets bandied around regarding what we're doing here is functional tests, which I think fits the bill quite nicely.
So, I propose we call these tests one of the following:

integration
functional
medium

thoughts?

Good point, Dan! I'll stick with "integration" because that seems like the more widely-used term I've seen in Go projects. I just undid the last commit, so it should be good to go.


test: Ensure traversed operators during finding first partial aggregaion are all native

Which issue does this PR close?

Closes #.
Rationale for this change

Running TPCH17 query fails now with columnar shuffle + native execution configs:
Couldn't find l_extendedprice#7 in [l_partkey#28L,l_quantity#31]
java.lang.IllegalStateException: Couldn't find l_extendedprice#7 in [l_partkey#28L,l_quantity#31]

It is because when we try to find aggregation function inputs for Final aggregation, we may get wrong inputs from unrelated CometHashAggregateExec. When collecting the Partial CometHashAggregateExec, we should ensure we don't cross between native and Spark operators.
The internal patch of this PR is originally a bug fix to HashAggregate. Above is its description.
But the just merged patch #42 which is actually a later patch internally and when it is ported it doesn't only copy original commit but latest code. So this fix is also ported in #42 together.
But there is one test added with the internal PR, and it is missed. This patch adds it to Comet.
What changes are included in this PR?

How are these changes tested?

Merged. Thanks.


Relative paths to image files

When I first compiled the game, I tried to run it from the build directory. It spit out the following errors:
Failed to load image "./images/face.png". Reason: Unable to open file
Failed to load image "./images/red.png". Reason: Unable to open file
Failed to load image "./images/Death_sphere.png". Reason: Unable to open file
Failed to load image "./images/face_2.png". Reason: Unable to open file
Failed to load image "./images/boss.png". Reason: Unable to open file
Failed to load image "./images/boss2.png". Reason: Unable to open file
Failed to load image "./images/wall.png". Reason: Unable to open file
Failed to load image "./images/enemyMissile.png". Reason: Unable to open file
Failed to load font "./fonts/RubikBurned/RubikBurned-Regular.ttf" (failed to create the font face)
Failed to load image "./images/back.png". Reason: Unable to open file
Unable to load stars texture!

This implies that these images are not actually compiled into the binary, but instead rely on relative paths. I think this can be fixed by modifying the build script, but I'm not 100% sure there.
Works fine when run from the same directory as I cloned it :+1: (except the numbers thing, which I understand you already know about)

I'm aware of the relative image paths, when I make an installer everything will go in the correct place and you won't have to worry about it. For now you just have to move the executable prior to running (this is described in the build instructions).

Never mind, I see what you're saying, having them as relative to working directory isn't what we want. I will add setting the data directory as a build option.

Ok, build options are added. The situation will be further improved when I add the ability for installation.


IMAP COMPRESS DEFLATE decompression

Hello,
I struggle to decompress a IMAP conversation from the log file generated with sslsplit.
I've tried with openssl zlib -d in file but I get "data error" errors.
Do you have any idea about how to do that ?
Thank you

In the mean time I've found a ruby IMAP proxy that supports DEFLATE.
I believe that decompression is not working because all requests/responses are concatenated.


Can't play specific Video URL

Bug
I am having trouble while trying to play specific Tiktok URLs. Two URL example below refers to the same video on Tiktok, 1st one extracted from Homepage, and 2nd one is extracted from video's page. While the first URL plays on the Video component, the second URL doesn't play and gives the below error. And both URLs are working fine on the browser. Any help is appreciated!
error: {
extra: -1005
what: 1
}

OK_URL = "https://v16-webapp.tiktok.com/1a763058292a2dffcfa56a791dd1b682/627469e7/video/tos/useast2a/tos-useast2a-pve-0037-aiso/46a1cb1a76164b4a8b2e887be59243fd/?a=1988&br=1330&bt=665&cd=0|0|1|0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&ft=eXd.6H5zMyq8ZhHKmwe2N.ZQml7Gb&l=2022050518192701024402622911520A2D&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&qs=0&rc=M2pwcDc6ZnQ4OzMzZjgzM0ApZ2Q0aGY4NmQ8N2YzaTpnOWcyYmBhcjRfYGhgLS1kL2Nzc2AyYzEvNmFjYGBeM2BhXjM6Yw%3D%3D&vl=&vr="
NOT_OK_URL = "https://v16-web.tiktok.com/video/tos/useast2a/tos-useast2a-pve-0037-aiso/46a1cb1a76164b4a8b2e887be59243fd/?a=1988&br=1330&bt=665&cd=0|0|1|0&ch=0&cr=0&cs=0&cv=1&dr=0&ds=3&er=&expire=1651796536&ft=lcQHiH5zMyq8ZLGKmwe2N1kPml7Gb&l=20220505182049010245013038095E8D22&lr=tiktok_m&mime_type=video_mp4&net=0&pl=0&policy=3&qs=0&rc=M2pwcDc6ZnQ4OzMzZjgzM0ApZ2Q0aGY4NmQ8N2YzaTpnOWcyYmBhcjRfYGhgLS1kL2Nzc2AyYzEvNmFjYGBeM2BhXjM6Yw%3D%3D&signature=8106599cafa24201fb0220d41e3cfbd0&tk=0&vl=&vr="
Platform

Which player are you experiencing the problem on:

Android MediaPlayer

Environment info

React native info output:
OS: macOS 12.3.1
CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
Memory: 23.81 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.16.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.14.11 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 20.0, macOS 11.0, tvOS 14.0, watchOS 7.0
Android SDK:
API Levels: 23, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2
System Images: android-29 | Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>53283
Xcode: 12.0/12A8189n - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_275 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
 // paste it here

Library version: "react-native-video": "^5.2.0"
Steps To Reproduce

Install react-native-video based on the Android installation guide
Use the NOT_OK_URL as in source={{uri: NOT_OK_URL}}
...

Expected behaviour

Play video

Can you reproduce the problem by forking https://github.com/react-native-video/react-native-video-test and only changing the video url? This will allow us to isolate the problem faster.

The provided videos can not play in web browser also. I think the problem is the url. As I can see the url not pointing to any video file, maybe it's just a proxy.

@vargajacint Thanks for looking into it.


[PE-D][Tester D] Edit command fails for large integer inputs

Entering a moderately large integer input is not possible since it throws an error.

Labels: severity.Low type.FunctionalityBug
original: ngxingyu/ped#3

Same as the other issue


Tap events doesn't work while content scrolling

Ionic version:  (check one with "x")
[ ] 1.x
[x ] 2.x
I'm submitting a ...  (check one with "x")
[ x] bug report
[  ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

When content is scrolling and click back button or side menu toggle nothing is happen
Expected behavior:

Any clicks outside of content must be works as expected
Steps to reproduce:

Related code:
insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

Are you using wkwebview?
https://github.com/driftyco/cordova-plugin-wkwebview-engine/issues/79

oh, yes :(

I think it is not a WK issue, but a framework one.

I will check later today without WK and report here.
PS
Here is the app
https://itunes.apple.com/md/app/andys-pizza/id1171948070?mt=8

yes, it works as expected when i removed WkWebView... so 	poorly!

One of my pages has this code to implements sliding tabs
So then i scroll items in on of the slides i can click Back or MenuToggle buttons as well

I just verified this is already fixed in master!


IoController with PowerOut fails when power or ground is unconnected

... for instance when using a switch matrix where the only connection is IO
The reasoning seems to be from pwr_out not having a link, so DigitalBidir.from_supply(...) which tries to inspect the power rail links fails.
A solution might be to have a BaseVoltagePort base class that defines voltage_range and the link, which dynamically determines whether it gets its own voltage (if a source) or its links voltage (if a sink). If there's bidirectionality, this might be more complex and require if-then-else logic

Resolved by #315


Adding an intrinsics module

All in the title.
close #1532

Converting to draft until tested and CI passes.


Paper tags should be updated

In paper.md you still have ...
tags:

example
tags
for the paper

:smile:

Thank you, Jason :+1:


+/- change column

This is an awesome tool, thanks a ton for putting it together. :) If I could be so bold, would you be willing to add a column showing the gain/loss for a candidate for every change? You could make it the gain/loss for the candidate that is behind (but I'm agnostic on that front). I can calculate it in my head but it would be nice to see the exact number.

+1 for this. The Change column should show whom the change was for.

-1 on this. I can understand why it's being asked for, but the tool was originally designed to be pretty visually simple and in my opinion adding another column would contribute to visual clutter.

+1 This would be very useful. Complaining about 'visual clutter' when the table isn't as useful as it could be is missing the point. Make it prettier and less useful or uglier and more useful - the latter is obviously better when people are looking at this page for information about an election that will be over in a few days. The data is not easily accessible to people who have trouble reading tables, which is at least 48% of the population based on current events.

Hey folks! Something like this could be useful.
Atm we don't have an obvious place for this since the feedback we've received so far is fairly supportive of maintaining our current tabular layout. If folks want to vote :+1: and :-1:  on the original comment we can look into reconsidering something like this if we either have some spare capacity or sufficient community support.
(Closing for now to get this off our dashboard)


Improve .gitIgnore for multi lang development

As Pharo doesn't have full git support yet - many contributors will use an external VCS tool like Idea or VCS - so improve the .gitIgnore so we don't end up with extra junk in the repo

Yep - I was thinking the same and also adding Windows and OSX templates as well as IntelliJ and VisualStudioCode (I don't think there is any harm and it makes it easier for others to safely contribute).
As you end up using an extra tool (or the command line if you are more advanced) because Iceberg only supports Pharo src, I've noticed that I've almost checked in a few files by mistake.


Fix Algorithm-Backend bugs and minor enhancements

Short Description
Fixed some new discovered Algorithm bugs and added minor enhancements to AlgorithServiceImpl.
Proposed Changes
All currently implemented Algorithm fields can now be updated.
Fixes:

Generic ModelMapperUtils now correctly detects which type of Algorithm is input and maps accordingly
Sets within AlgorithmObject are all initialized
ProblemType is not mandatory during validation
ComputationalModel.HYBRID does not throw an exception, maps to a QuantumAlgorithm for now

I've encountered another problem during the implementation of the QuantumResource Backend.
When i've attempted to insert a quantum algorithm using AlgorithmService.save() in a test, i.e. with all empty relationships, i get this:
org.springframework.orm.jpa.JpaSystemException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: org.planqk.atlas.core.model.Algorithm.algorithmRelations; nested exception is org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: org.planqk.atlas.core.model.Algorithm.algorithmRelations

Luckily there is a very simple fix for this if you want to just add = new HashSet<>(); to every field that represents a relationship. For example:
Use this:

Instead of:

I think doing it this way is a requirement when using deleteOrpan = true. As you can see here.
https://stackoverflow.com/questions/5587482/hibernate-a-collection-with-cascade-all-delete-orphan-was-no-longer-referenc
Maybe we should also consider changing the getters and setters in a manner shown in the second highest answer.

I think all issues have been resolved.
If there is nothing left, I would merge the PR


SPARKC-626 CassandraSparkExtensions crash with Spark 3.1.0

Description
How did the Spark Cassandra Connector Work or Not Work Before this Patch
See detailed description in Jira: https://datastax-oss.atlassian.net/browse/SPARKC-626
General Design of the patch
Point imports to a new package
How Has This Been Tested?
Almost all changes and especially bug fixes will require a test to be added to either the integration or Unit Tests. Any tests added will be automatically run on travis when the pull request is pushed to github. Be sure to run suites locally as well.
Checklist:

[X] I have a ticket in the OSS JIRA
[X] I have performed a self-review of my own code
[X] Locally all tests pass (make sure tests fail without your patch)

Yeah, we need to revive b3.0 and this needs to go to master.

yes, that's a breaking change - that's why I targeting master for it...

I've rebased onto the latest master & fixed an additional compilation error.  But it looks like that something has changed in internals, so DirectJoin isn't triggered even with DirectJoinSetting set to on when reading data...
== Physical Plan ==
*(2) BroadcastHashJoin [id#10], [pk#0], Inner, BuildLeft, false
:- BroadcastExchange HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [id=#20]
:  +- *(1) Project [cast(id#8L as int) AS id#10]
:     +- *(1) Range (1, 5, step=1, splits=8)
+- *(2) Project [pk#0, c1#1, c2#2, v#3]
   +- BatchScan[pk#0, c1#1, c2#2, v#3] Cassandra Scan: test.jtest1
 - Cassandra Filters: []
 - Requested Columns: [pk,c1,c2,v]

I tested the tag v3.0.0 + this fix and I had an issue with the ttl function when reading ttls from Cassandra.
This snippet
import org.apache.spark.sql.cassandra._
    spark.read
      .format("org.apache.spark.sql.cassandra")
      .options(Map("table" -> "table_toto", "keyspace" -> "keyspace_simple"))
      .load()
      .select(ttl("remaining_ttl").cast("long"))
      .collect()

gives this error
  java.lang.NoSuchMethodError: 'void org.apache.spark.sql.catalyst.expressions.Alias.<init>(org.apache.spark.sql.catalyst.expressions.Expression, java.lang.String, org.apache.spark.sql.catalyst.expressions.ExprId, scala.collection.Seq, scala.Option)'
  at org.apache.spark.sql.cassandra.CassandraMetaDataRule$.replaceMetadata(CassandraMetadataFunctions.scala:125)
  at org.apache.spark.sql.cassandra.CassandraMetaDataRule$$anonfun$apply$1.$anonfun$applyOrElse$2(CassandraMetadataFunctions.scala:187)
  at scala.collection.immutable.Stream.foldLeft(Stream.scala:549)
  at org.apache.spark.sql.cassandra.CassandraMetaDataRule$$anonfun$apply$1.applyOrElse(CassandraMetadataFunctions.scala:186)
  at org.apache.spark.sql.cassandra.CassandraMetaDataRule$$anonfun$apply$1.applyOrElse(CassandraMetadataFunctions.scala:183)
  at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDown$1(TreeNode.scala:317)
  at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:73)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:317)
  at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDown(LogicalPlan.scala:29)
  at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDown(AnalysisHelper.scala:171)
  at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDown$(AnalysisHelper.scala:169)
  at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(LogicalPlan.scala:29)
  at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDown(LogicalPlan.scala:29)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transform(TreeNode.scala:306)
  at org.apache.spark.sql.cassandra.CassandraMetaDataRule$.apply(CassandraMetadataFunctions.scala:183)
  at org.apache.spark.sql.cassandra.CassandraMetaDataRule$.apply(CassandraMetadataFunctions.scala:90)
  at org.apache.spark.sql.catalyst.rules.RuleExecutor.$anonfun$execute$2(RuleExecutor.scala:216)
  at scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
  at scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
  at scala.collection.immutable.List.foldLeft(List.scala:89)
  at org.apache.spark.sql.catalyst.rules.RuleExecutor.$anonfun$execute$1(RuleExecutor.scala:213)
  at org.apache.spark.sql.catalyst.rules.RuleExecutor.$anonfun$execute$1$adapted(RuleExecutor.scala:205)
  at scala.collection.immutable.List.foreach(List.scala:392)
  at org.apache.spark.sql.catalyst.rules.RuleExecutor.execute(RuleExecutor.scala:205)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.org$apache$spark$sql$catalyst$analysis$Analyzer$$executeSameContext(Analyzer.scala:196)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.execute(Analyzer.scala:190)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.execute(Analyzer.scala:155)
  at org.apache.spark.sql.catalyst.rules.RuleExecutor.$anonfun$executeAndTrack$1(RuleExecutor.scala:183)
  at org.apache.spark.sql.catalyst.QueryPlanningTracker$.withTracker(QueryPlanningTracker.scala:88)
  at org.apache.spark.sql.catalyst.rules.RuleExecutor.executeAndTrack(RuleExecutor.scala:183)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.$anonfun$executeAndCheck$1(Analyzer.scala:174)
  at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper$.markInAnalyzer(AnalysisHelper.scala:228)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.executeAndCheck(Analyzer.scala:173)
  at org.apache.spark.sql.execution.QueryExecution.$anonfun$analyzed$1(QueryExecution.scala:73)
  at org.apache.spark.sql.catalyst.QueryPlanningTracker.measurePhase(QueryPlanningTracker.scala:111)
  at org.apache.spark.sql.execution.QueryExecution.$anonfun$executePhase$1(QueryExecution.scala:143)
  at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:772)
  at org.apache.spark.sql.execution.QueryExecution.executePhase(QueryExecution.scala:143)
  at org.apache.spark.sql.execution.QueryExecution.analyzed$lzycompute(QueryExecution.scala:73)
  at org.apache.spark.sql.execution.QueryExecution.analyzed(QueryExecution.scala:71)
  at org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:63)
  at org.apache.spark.sql.Dataset$.$anonfun$ofRows$1(Dataset.scala:90)
  at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:772)
  at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:88)
  at org.apache.spark.sql.Dataset.withPlan(Dataset.scala:3715)
  at org.apache.spark.sql.Dataset.select(Dataset.scala:1462)

@walmaaoui it should work - make sure that you recompiled everything. New alias implementation is compatible on the source code level...
for me it fails at another place:
java.lang.UnsupportedOperationException: Cannot generate code for expression: cassandrattl(input[0, string, true])
  at org.apache.spark.sql.catalyst.expressions.Unevaluable.doGenCode(Expression.scala:307)
  at org.apache.spark.sql.catalyst.expressions.Unevaluable.doGenCode$(Expression.scala:306)
  at org.apache.spark.sql.cassandra.CassandraTTL.doGenCode(CassandraMetadataFunctions.scala:27)
  at org.apache.spark.sql.catalyst.expressions.Expression.$anonfun$genCode$3(Expression.scala:146)
  at scala.Option.getOrElse(Option.scala:189)
  at org.apache.spark.sql.catalyst.expressions.Expression.genCode(Expression.scala:141)
  at org.apache.spark.sql.catalyst.expressions.Alias.genCode(namedExpressions.scala:163)
  at org.apache.spark.sql.execution.ProjectExec.$anonfun$doConsume$2(basicPhysicalOperators.scala:73)
  at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
  at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
  at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
  at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
  at scala.collection.TraversableLike.map(TraversableLike.scala:238)
  at scala.collection.TraversableLike.map$(TraversableLike.scala:231)

@alexott  Sorry my snippet is lacking a conf:
spark.conf.set(
      "spark.sql.extensions",
      "com.datastax.spark.connector.CassandraSparkExtensions"
    )

As for me, I am depending on the version 3.0.0 of the connector and I am shadowing the classes where you did the fix. Do you  any thing wrong with this? I am not rebuilding all because I don't have a maven repo where to publish to artifact..

@alexott could you please rebase this? Tests should start after the rebase.

@jtgrabowski done

Thank you! Indeed we have a problem with DirectJoin
[info] *** 27 TESTS FAILED ***
[error] Failed: Total 1016, Failed 27, Errors 0, Passed 989, Ignored 6
[error] Failed tests:
[error] 	org.apache.spark.sql.cassandra.execution.CassandraDirectJoinSpec
[error] 	org.apache.spark.sql.cassandra.execution.JoinThrottlingSpec
[error] (connector / IntegrationTest / test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 1139 s, completed May 30, 2021 6:28:49 PM

yeah, it looks like that they have significantly changed the internals of the join optimization since I have did the fix, so the direct join optimization doesn't kick-in :-(

@alexott these changes will be merged as a part of https://github.com/datastax/spark-cassandra-connector/pull/1324. The PR fixes DirectJoin support.
Thank you for the contribution!


Remove files for dep

This is the PR for issue #6 .
Go 1.11 and Go 1.12 include preliminary support for modules. And modules is the default for all development. So I removed two files for dep.

Gopkg.lock
Gopkg.toml.

I'm fine with the change, pls go ahead.

Remove two files for Golang library dependency tool dep:

Gopkg.toml
Gopkg.lock