问:
NA using nparLD package
I am currently working out how to deal with nparLD package in r. I came through it while looking for solutions to explore interactions in two-ways non-parametric tests. I red the publication associated to the package to be sure of what function I had to use in my specific case.
I am studying 22 animals along three days (names D1, D2 and D3) and for each day I have data for each hour (ranging from 1 to 24, set as factor). I am working on the column "fq_cumulees" which is the sum of the number of time a specific behaviour was expressed. For more precision here is part of the dataset with a few animals :

```<code>> dput(fq_cumulees_indiv)
structure(list(nom = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L, 5L,
5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L,
5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 6L, 6L, 6L, 6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 10L, 10L, 10L, 10L, 10L, 10L,
10L, 10L, 10L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L,
11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L,
11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 12L, 12L, 12L, 12L,
12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L,
12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L,
13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L,
13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L), .Label = c("ARCLANDER",
"AROADCARE", "BAILETOILE", "BALIVERNE SUMO", "BELLA DE GAN",
"BELLAQUOIRELE", "BELLE VIE DE GAN", "BETILAGAN", "BOIRELLA SUMO",
"BONNE SOIREE SUMO", "BRISE D'ORIGAN", "CALAMBOURIGAN", "CANSONETAGAN",
"CARAT DE RÊVE", "CASSANDRE DE GAN", "CASSOLAND", "CIKIGAN",
"COULEUR VAUDAN", "COUP DE FOUDRE DE GAN", "DECIATAÏA DOLI",
"DIANE CHAÏ", "DICIDELAÏ", "DRAGEE OF CHAÏ", "ECELESTINE DE CHAÏ",
"ECLIPSE DE CHAÏ", "ELDORADAY", "EMAUVIVE DE CHAÏ", "ENTUCASA CHAÏ",
"ESTERN CHAÏ", "FARANDOLE DE GO", "FEE DE LAÏGO", "FETILA BLUE",
"FIDELAZULA", "FRESQUE BLEUE", "FURTIVE AGO", "FUSHYAGO", "GETILA QUI",
"GIORLISTI QUI", "HAGILITY POM ROCK", "HERCULA'N ROLL", "HIBISCUM ROCK",
"HONEY ROCK", "HOT'N ROLL", "HURANUS DU ROCK", "OPALE D'ARABIE",
"RAMILLE DOREE", "RENCONTRE JOYEUSE", "RONCINE", "SIMBALABA",
"SOURICETTE DES FORETS", "SUCREE DU PRINTEMPS", "UMUSTBREAKTHEWALL",
"URRIDANPOM", "UVALAPOM", "VAHALAKOR", "VERDEGAN DE LA VEGA",
"VERTUGADINGAN", "VILIKI ORIGILE"), class = "factor"), heure_theorique = c(3L,
27L, 30L, 31L, 33L, 35L, 36L, 37L, 38L, 40L, 41L, 43L, 45L, 46L,
47L, 48L, 53L, 55L, 56L, 57L, 58L, 61L, 62L, 63L, 65L, 70L, 71L,
72L, 2L, 4L, 7L, 17L, 21L, 22L, 24L, 27L, 30L, 32L, 34L, 35L,
42L, 44L, 46L, 49L, 50L, 51L, 52L, 54L, 56L, 57L, 59L, 61L, 69L,
70L, 71L, 7L, 17L, 19L, 20L, 21L, 22L, 24L, 26L, 27L, 29L, 30L,
32L, 35L, 36L, 37L, 39L, 42L, 44L, 46L, 52L, 54L, 62L, 67L, 69L,
70L, 72L, 11L, 13L, 14L, 18L, 19L, 21L, 25L, 38L, 39L, 41L, 44L,
46L, 48L, 49L, 51L, 53L, 58L, 59L, 60L, 70L, 2L, 3L, 6L, 7L,
8L, 9L, 13L, 14L, 17L, 19L, 26L, 27L, 28L, 31L, 32L, 33L, 34L,
42L, 48L, 53L, 56L, 58L, 61L, 62L, 63L, 66L, 72L, 5L, 6L, 8L,
9L, 10L, 11L, 14L, 18L, 28L, 30L, 31L, 38L, 43L, 44L, 46L, 49L,
50L, 51L, 54L, 56L, 59L, 60L, 63L, 64L, 65L, 66L, 68L, 69L, 70L,
71L, 3L, 4L, 6L, 12L, 13L, 14L, 16L, 17L, 18L, 21L, 22L, 23L,
24L, 26L, 27L, 29L, 32L, 33L, 34L, 36L, 37L, 38L, 46L, 47L, 48L,
49L, 51L, 52L, 54L, 56L, 57L, 58L, 61L, 62L, 63L, 69L, 72L, 11L,
13L, 14L, 15L, 4L, 6L, 8L, 18L, 19L, 20L, 24L, 25L, 28L, 29L,
31L, 34L, 36L, 40L, 43L, 44L, 45L, 46L, 50L, 51L, 54L, 55L, 56L,
58L, 3L, 6L, 7L, 8L, 11L, 15L, 16L, 17L, 18L, 2L, 4L, 9L, 10L,
11L, 12L, 14L, 15L, 16L, 21L, 24L, 26L, 27L, 29L, 30L, 31L, 34L,
35L, 36L, 37L, 39L, 45L, 50L, 51L, 52L, 55L, 56L, 59L, 67L, 69L,
71L, 72L, 4L, 5L, 7L, 9L, 11L, 20L, 25L, 26L, 29L, 30L, 31L,
32L, 34L, 35L, 36L, 37L, 42L, 44L, 45L, 47L, 51L, 54L, 56L, 60L,
61L, 62L, 66L, 67L, 69L, 70L, 11L, 25L, 26L, 27L, 31L, 32L, 35L,
36L, 37L, 40L, 41L, 44L, 46L, 49L, 51L, 54L, 55L, 56L, 59L, 60L,
61L, 72L), annee = c(2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L), jour_nuit = structure(c(2L, 2L,
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 3L, 3L, 3L, 3L, 3L, 3L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L,
3L, 3L, 3L, 3L, 3L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
3L, 3L, 3L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L), .Label = c("D1", "D2", "D3"
), class = "factor"), heure_jour = c(3L, 3L, 6L, 7L, 9L, 11L,
12L, 13L, 14L, 16L, 17L, 19L, 21L, 22L, 23L, 24L, 5L, 7L, 8L,
9L, 10L, 13L, 14L, 15L, 17L, 22L, 23L, 24L, 2L, 4L, 7L, 17L,
21L, 22L, 24L, 3L, 6L, 8L, 10L, 11L, 18L, 20L, 22L, 1L, 2L, 3L,
4L, 6L, 8L, 9L, 11L, 13L, 21L, 22L, 23L, 7L, 17L, 19L, 20L, 21L,
22L, 24L, 2L, 3L, 5L, 6L, 8L, 11L, 12L, 13L, 15L, 18L, 20L, 22L,
4L, 6L, 14L, 19L, 21L, 22L, 24L, 11L, 13L, 14L, 18L, 19L, 21L,
1L, 14L, 15L, 17L, 20L, 22L, 24L, 1L, 3L, 5L, 10L, 11L, 12L,
22L, 2L, 3L, 6L, 7L, 8L, 9L, 13L, 14L, 17L, 19L, 2L, 3L, 4L,
7L, 8L, 9L, 10L, 18L, 24L, 5L, 8L, 10L, 13L, 14L, 15L, 18L, 24L,
5L, 6L, 8L, 9L, 10L, 11L, 14L, 18L, 4L, 6L, 7L, 14L, 19L, 20L,
22L, 1L, 2L, 3L, 6L, 8L, 11L, 12L, 15L, 16L, 17L, 18L, 20L, 21L,
22L, 23L, 3L, 4L, 6L, 12L, 13L, 14L, 16L, 17L, 18L, 21L, 22L,
23L, 24L, 2L, 3L, 5L, 8L, 9L, 10L, 12L, 13L, 14L, 22L, 23L, 24L,
1L, 3L, 4L, 6L, 8L, 9L, 10L, 13L, 14L, 15L, 21L, 24L, 11L, 13L,
14L, 15L, 4L, 6L, 8L, 18L, 19L, 20L, 24L, 1L, 4L, 5L, 7L, 10L,
12L, 16L, 19L, 20L, 21L, 22L, 2L, 3L, 6L, 7L, 8L, 10L, 3L, 6L,
7L, 8L, 11L, 15L, 16L, 17L, 18L, 2L, 4L, 9L, 10L, 11L, 12L, 14L,
15L, 16L, 21L, 24L, 2L, 3L, 5L, 6L, 7L, 10L, 11L, 12L, 13L, 15L,
21L, 2L, 3L, 4L, 7L, 8L, 11L, 19L, 21L, 23L, 24L, 4L, 5L, 7L,
9L, 11L, 20L, 1L, 2L, 5L, 6L, 7L, 8L, 10L, 11L, 12L, 13L, 18L,
20L, 21L, 23L, 3L, 6L, 8L, 12L, 13L, 14L, 18L, 19L, 21L, 22L,
11L, 1L, 2L, 3L, 7L, 8L, 11L, 12L, 13L, 16L, 17L, 20L, 22L, 1L,
3L, 6L, 7L, 8L, 11L, 12L, 13L, 24L), nb_tetees = c(2L, 1L, 1L,
2L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 4L, 1L, 1L, 3L, 2L, 2L, 3L,
1L, 1L, 2L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L,
1L, 1L, 2L, 3L, 1L, 2L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 1L, 1L,
1L, 1L, 2L, 1L, 1L, 2L, 4L, 2L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, 1L), fq_cumulees = c(2L, 1L,
2L, 4L, 5L, 6L, 7L, 8L, 9L, 11L, 13L, 15L, 19L, 20L, 21L, 24L,
2L, 4L, 7L, 8L, 9L, 11L, 13L, 14L, 15L, 16L, 17L, 18L, 1L, 2L,
4L, 6L, 8L, 10L, 12L, 1L, 2L, 4L, 7L, 8L, 10L, 11L, 12L, 1L,
2L, 3L, 4L, 5L, 7L, 8L, 9L, 10L, 11L, 13L, 14L, 1L, 3L, 7L, 9L,
11L, 13L, 14L, 3L, 4L, 6L, 7L, 9L, 12L, 16L, 17L, 18L, 19L, 20L,
23L, 1L, 2L, 3L, 4L, 6L, 7L, 9L, 2L, 3L, 4L, 5L, 6L, 8L, 2L,
4L, 5L, 7L, 9L, 10L, 11L, 1L, 3L, 5L, 6L, 8L, 9L, 10L, 1L, 2L,
3L, 5L, 6L, 8L, 9L, 10L, 11L, 12L, 2L, 3L, 4L, 7L, 9L, 11L, 12L,
13L, 14L, 2L, 3L, 5L, 7L, 8L, 9L, 11L, 13L, 4L, 7L, 8L, 10L,
12L, 13L, 14L, 15L, 1L, 2L, 3L, 4L, 5L, 6L, 8L, 1L, 3L, 5L, 7L,
8L, 11L, 13L, 14L, 18L, 20L, 21L, 22L, 25L, 27L, 28L, 1L, 4L,
5L, 7L, 8L, 9L, 11L, 12L, 14L, 16L, 17L, 18L, 21L, 3L, 4L, 5L,
7L, 9L, 12L, 13L, 14L, 15L, 16L, 18L, 20L, 3L, 4L, 6L, 8L, 10L,
11L, 12L, 13L, 15L, 17L, 22L, 23L, 1L, 4L, 5L, 6L, 1L, 2L, 4L,
5L, 7L, 8L, 9L, 2L, 4L, 6L, 7L, 9L, 11L, 12L, 13L, 15L, 17L,
18L, 1L, 2L, 3L, 5L, 7L, 9L, 3L, 6L, 7L, 9L, 10L, 13L, 14L, 17L,
19L, 2L, 3L, 5L, 6L, 7L, 8L, 9L, 11L, 13L, 14L, 16L, 1L, 3L,
6L, 7L, 8L, 10L, 12L, 14L, 15L, 17L, 20L, 2L, 3L, 5L, 8L, 11L,
13L, 15L, 17L, 19L, 20L, 1L, 2L, 4L, 7L, 10L, 12L, 1L, 2L, 3L,
5L, 6L, 7L, 9L, 13L, 15L, 16L, 17L, 19L, 22L, 23L, 4L, 5L, 6L,
9L, 11L, 14L, 16L, 19L, 22L, 24L, 1L, 3L, 5L, 7L, 8L, 9L, 10L,
11L, 13L, 15L, 16L, 18L, 19L, 1L, 2L, 5L, 6L, 9L, 10L, 14L, 15L,
16L)), class = "data.frame", row.names = c(NA, -316L))
</code>```

Wishing to study the interaction between the day and the hour of the day to be able to determine how is evolving the behaviour along three days and if it depends on the hour of the day I ended up thinking ld.f2 would be the right tool (hours being nested within days).
First, I managed to create a dataframe containing all the individual (nom) x day (jour_theorique) x hour (jour_heure) combinations using the following code :

```<code>all_comb <- crossing(fq_cumulees_indiv$nom, fq_cumulees_indiv$heure_jour, fq_cumulees_indiv$jour_theorique)
colnames(all_comb) <- c("nom", "heure_jour", "jour_theorique")
fq_cumulees_indiv_2 <- left_join(all_comb, fq_cumulees_indiv,
                                 by=c("nom", "heure_jour", "jour_theorique"))
</code>```

I then end up with a quite large number of NA in this dataframe (behaviour was not monitored at the same time for all the animals + some data are missing for various technical reasons). When trying to run the ld.f2 function an error concerning NA appears :

```<code>>inter <- ld.f2(y=fq_cumulees_indiv_2$fq_cumulees,
+                time1= fq_cumulees_indiv_2$jour_theorique,
+                time2=fq_cumulees_indiv_2$heure_jour,
+                time1.name = "Jour_theorique",
+                time2.name = "Heure_jour",
+                subject=fq_cumulees_indiv_2$nom,
+                description = FALSE)
 LD F2 Model
 -----------------------
 Check that the order of the time1 and time2 levels are correct.
 Time1 level:   D1 D2 D3
 Time2 level:   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 If the order is not correct, specify the correct order in time1.order or time2.order.

Error in qr.default(V) : NA/NaN/Inf in foreign function call (arg 1)
</code>```

I tried several things including the transformation of the studied variable (fq_cumulees) into strings. Surprisingly, this did not arise any error while running the above code but I highly doubt the reliability of the result...

Thus, question is : do you know where the error come from and do you have any idea of how to deal with it?

Thank in advance !

EDIT : I looked around a bit more and found that the function can deal with missing data but not with too many of them which is the case here. Nothing wrong with the package, only too many holes in the dataset.

Title: NA using nparLD package

Body:
I am currently working out how to deal with nparLD package in r. I came through it while looking for solutions to explore interactions in two-ways non-parametric tests. I red the publication associated to the package to be sure of what function I had to use in my specific case.
I am studying 22 animals along three days (names D1, D2 and D3) and for each day I have data for each hour (ranging from 1 to 24, set as factor). I am working on the column "fq_cumulees" which is the sum of the number of time a specific behaviour was expressed. For more precision here is part of the dataset with a few animals :

> dput(fq_cumulees_indiv)
structure(list(nom = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L,
3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L, 5L,
5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L,
5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 6L, 6L, 6L, 6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L,
6L, 6L, 6L, 6L, 6L, 6L, 6L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L,
7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L,
9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 10L, 10L, 10L, 10L, 10L, 10L,
10L, 10L, 10L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L,
11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L,
11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 11L, 12L, 12L, 12L, 12L,
12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L,
12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L, 12L,
13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L,
13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L, 13L), .Label = c("ARCLANDER",
"AROADCARE", "BAILETOILE", "BALIVERNE SUMO", "BELLA DE GAN",
"BELLAQUOIRELE", "BELLE VIE DE GAN", "BETILAGAN", "BOIRELLA SUMO",
"BONNE SOIREE SUMO", "BRISE D'ORIGAN", "CALAMBOURIGAN", "CANSONETAGAN",
"CARAT DE RÊVE", "CASSANDRE DE GAN", "CASSOLAND", "CIKIGAN",
"COULEUR VAUDAN", "COUP DE FOUDRE DE GAN", "DECIATAÏA DOLI",
"DIANE CHAÏ", "DICIDELAÏ", "DRAGEE OF CHAÏ", "ECELESTINE DE CHAÏ",
"ECLIPSE DE CHAÏ", "ELDORADAY", "EMAUVIVE DE CHAÏ", "ENTUCASA CHAÏ",
"ESTERN CHAÏ", "FARANDOLE DE GO", "FEE DE LAÏGO", "FETILA BLUE",
"FIDELAZULA", "FRESQUE BLEUE", "FURTIVE AGO", "FUSHYAGO", "GETILA QUI",
"GIORLISTI QUI", "HAGILITY POM ROCK", "HERCULA'N ROLL", "HIBISCUM ROCK",
"HONEY ROCK", "HOT'N ROLL", "HURANUS DU ROCK", "OPALE D'ARABIE",
"RAMILLE DOREE", "RENCONTRE JOYEUSE", "RONCINE", "SIMBALABA",
"SOURICETTE DES FORETS", "SUCREE DU PRINTEMPS", "UMUSTBREAKTHEWALL",
"URRIDANPOM", "UVALAPOM", "VAHALAKOR", "VERDEGAN DE LA VEGA",
"VERTUGADINGAN", "VILIKI ORIGILE"), class = "factor"), heure_theorique = c(3L,
27L, 30L, 31L, 33L, 35L, 36L, 37L, 38L, 40L, 41L, 43L, 45L, 46L,
47L, 48L, 53L, 55L, 56L, 57L, 58L, 61L, 62L, 63L, 65L, 70L, 71L,
72L, 2L, 4L, 7L, 17L, 21L, 22L, 24L, 27L, 30L, 32L, 34L, 35L,
42L, 44L, 46L, 49L, 50L, 51L, 52L, 54L, 56L, 57L, 59L, 61L, 69L,
70L, 71L, 7L, 17L, 19L, 20L, 21L, 22L, 24L, 26L, 27L, 29L, 30L,
32L, 35L, 36L, 37L, 39L, 42L, 44L, 46L, 52L, 54L, 62L, 67L, 69L,
70L, 72L, 11L, 13L, 14L, 18L, 19L, 21L, 25L, 38L, 39L, 41L, 44L,
46L, 48L, 49L, 51L, 53L, 58L, 59L, 60L, 70L, 2L, 3L, 6L, 7L,
8L, 9L, 13L, 14L, 17L, 19L, 26L, 27L, 28L, 31L, 32L, 33L, 34L,
42L, 48L, 53L, 56L, 58L, 61L, 62L, 63L, 66L, 72L, 5L, 6L, 8L,
9L, 10L, 11L, 14L, 18L, 28L, 30L, 31L, 38L, 43L, 44L, 46L, 49L,
50L, 51L, 54L, 56L, 59L, 60L, 63L, 64L, 65L, 66L, 68L, 69L, 70L,
71L, 3L, 4L, 6L, 12L, 13L, 14L, 16L, 17L, 18L, 21L, 22L, 23L,
24L, 26L, 27L, 29L, 32L, 33L, 34L, 36L, 37L, 38L, 46L, 47L, 48L,
49L, 51L, 52L, 54L, 56L, 57L, 58L, 61L, 62L, 63L, 69L, 72L, 11L,
13L, 14L, 15L, 4L, 6L, 8L, 18L, 19L, 20L, 24L, 25L, 28L, 29L,
31L, 34L, 36L, 40L, 43L, 44L, 45L, 46L, 50L, 51L, 54L, 55L, 56L,
58L, 3L, 6L, 7L, 8L, 11L, 15L, 16L, 17L, 18L, 2L, 4L, 9L, 10L,
11L, 12L, 14L, 15L, 16L, 21L, 24L, 26L, 27L, 29L, 30L, 31L, 34L,
35L, 36L, 37L, 39L, 45L, 50L, 51L, 52L, 55L, 56L, 59L, 67L, 69L,
71L, 72L, 4L, 5L, 7L, 9L, 11L, 20L, 25L, 26L, 29L, 30L, 31L,
32L, 34L, 35L, 36L, 37L, 42L, 44L, 45L, 47L, 51L, 54L, 56L, 60L,
61L, 62L, 66L, 67L, 69L, 70L, 11L, 25L, 26L, 27L, 31L, 32L, 35L,
36L, 37L, 40L, 41L, 44L, 46L, 49L, 51L, 54L, 55L, 56L, 59L, 60L,
61L, 72L), annee = c(2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L,
2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 2021L, 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1L, 14L, 15L, 17L, 20L, 22L, 24L, 1L, 3L, 5L, 10L, 11L, 12L,
22L, 2L, 3L, 6L, 7L, 8L, 9L, 13L, 14L, 17L, 19L, 2L, 3L, 4L,
7L, 8L, 9L, 10L, 18L, 24L, 5L, 8L, 10L, 13L, 14L, 15L, 18L, 24L,
5L, 6L, 8L, 9L, 10L, 11L, 14L, 18L, 4L, 6L, 7L, 14L, 19L, 20L,
22L, 1L, 2L, 3L, 6L, 8L, 11L, 12L, 15L, 16L, 17L, 18L, 20L, 21L,
22L, 23L, 3L, 4L, 6L, 12L, 13L, 14L, 16L, 17L, 18L, 21L, 22L,
23L, 24L, 2L, 3L, 5L, 8L, 9L, 10L, 12L, 13L, 14L, 22L, 23L, 24L,
1L, 3L, 4L, 6L, 8L, 9L, 10L, 13L, 14L, 15L, 21L, 24L, 11L, 13L,
14L, 15L, 4L, 6L, 8L, 18L, 19L, 20L, 24L, 1L, 4L, 5L, 7L, 10L,
12L, 16L, 19L, 20L, 21L, 22L, 2L, 3L, 6L, 7L, 8L, 10L, 3L, 6L,
7L, 8L, 11L, 15L, 16L, 17L, 18L, 2L, 4L, 9L, 10L, 11L, 12L, 14L,
15L, 16L, 21L, 24L, 2L, 3L, 5L, 6L, 7L, 10L, 11L, 12L, 13L, 15L,
21L, 2L, 3L, 4L, 7L, 8L, 11L, 19L, 21L, 23L, 24L, 4L, 5L, 7L,
9L, 11L, 20L, 1L, 2L, 5L, 6L, 7L, 8L, 10L, 11L, 12L, 13L, 18L,
20L, 21L, 23L, 3L, 6L, 8L, 12L, 13L, 14L, 18L, 19L, 21L, 22L,
11L, 1L, 2L, 3L, 7L, 8L, 11L, 12L, 13L, 16L, 17L, 20L, 22L, 1L,
3L, 6L, 7L, 8L, 11L, 12L, 13L, 24L), nb_tetees = c(2L, 1L, 1L,
2L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 4L, 1L, 1L, 3L, 2L, 2L, 3L,
1L, 1L, 2L, 2L, 1L, 1L, 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 3L, 5L, 7L, 9L, 3L, 6L, 7L, 9L, 10L, 13L, 14L, 17L,
19L, 2L, 3L, 5L, 6L, 7L, 8L, 9L, 11L, 13L, 14L, 16L, 1L, 3L,
6L, 7L, 8L, 10L, 12L, 14L, 15L, 17L, 20L, 2L, 3L, 5L, 8L, 11L,
13L, 15L, 17L, 19L, 20L, 1L, 2L, 4L, 7L, 10L, 12L, 1L, 2L, 3L,
5L, 6L, 7L, 9L, 13L, 15L, 16L, 17L, 19L, 22L, 23L, 4L, 5L, 6L,
9L, 11L, 14L, 16L, 19L, 22L, 24L, 1L, 3L, 5L, 7L, 8L, 9L, 10L,
11L, 13L, 15L, 16L, 18L, 19L, 1L, 2L, 5L, 6L, 9L, 10L, 14L, 15L,
16L)), class = "data.frame", row.names = c(NA, -316L))

Wishing to study the interaction between the day and the hour of the day to be able to determine how is evolving the behaviour along three days and if it depends on the hour of the day I ended up thinking ld.f2 would be the right tool (hours being nested within days).
First, I managed to create a dataframe containing all the individual (nom) x day (jour_theorique) x hour (jour_heure) combinations using the following code :

all_comb <- crossing(fq_cumulees_indiv$nom, fq_cumulees_indiv$heure_jour, fq_cumulees_indiv$jour_theorique)
colnames(all_comb) <- c("nom", "heure_jour", "jour_theorique")
fq_cumulees_indiv_2 <- left_join(all_comb, fq_cumulees_indiv,
                                 by=c("nom", "heure_jour", "jour_theorique"))

I then end up with a quite large number of NA in this dataframe (behaviour was not monitored at the same time for all the animals + some data are missing for various technical reasons). When trying to run the ld.f2 function an error concerning NA appears :

>inter <- ld.f2(y=fq_cumulees_indiv_2$fq_cumulees,
+                time1= fq_cumulees_indiv_2$jour_theorique,
+                time2=fq_cumulees_indiv_2$heure_jour,
+                time1.name = "Jour_theorique",
+                time2.name = "Heure_jour",
+                subject=fq_cumulees_indiv_2$nom,
+                description = FALSE)
 LD F2 Model
 -----------------------
 Check that the order of the time1 and time2 levels are correct.
 Time1 level:   D1 D2 D3
 Time2 level:   1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 If the order is not correct, specify the correct order in time1.order or time2.order.

Error in qr.default(V) : NA/NaN/Inf in foreign function call (arg 1)

I tried several things including the transformation of the studied variable (fq_cumulees) into strings. Surprisingly, this did not arise any error while running the above code but I highly doubt the reliability of the result...

Thus, question is : do you know where the error come from and do you have any idea of how to deal with it?

Thank in advance !

EDIT : I looked around a bit more and found that the function can deal with missing data but not with too many of them which is the case here. Nothing wrong with the package, only too many holes in the dataset.


来源: stackexchange

问:
(Prophet Timeseries) Error in namespaceExport(ns, exports) : undefined exports:
I am trying to forecast the timeseries using prophet (Facebook) package. I have fitted the model and try to predict next 100 days using predict function.

```<code>m<-prophet(yearly.seasonality = TRUE,weekly.seasonality = TRUE,seasonality.mode = 'additive')
  m <- add_seasonality(m,'month',period=365.25/12,fourier.order = 4)
   m <- add_country_holidays(m, 'US')

for (xregPr in colnames(DummyVarsProphet)){
    m <- add_regressor(m, name=xregPr)
  }
m <- fit.prophet(m,df=proph_df)
future=make_future_dataframe(m,periods=Horizon)

predict(m,future)

Error in namespaceExport(ns, exports) :
  undefined exports: dbbinom, dbern, dbetapr, dbhatt, dbnbinom, dbvnorm, dbvpois, dcat, ddgamma, ddirichlet, ddirmnom, ddlaplace, ddnorm, ddunif, ddweibull, dfatigue, dfrechet, dgev, dgompertz, dgpd, dgpois, dgumbel, dhcauchy, dhnorm, dht, dhuber, dinvchisq, dinvgamma, dkumar, dlaplace, dlgser, dlomax, dlst, dmixnorm, dmixpois, dmnom, dmvhyper, dnhyper, dnsbeta, dpareto, dpower, dprop, drayleigh, dsgomp, dskellam, dslash, dtbinom, dtnorm, dtpois, dtriang, dwald, dzib, dzinb, dzip, pbbinom, pbern, pbetapr, pbhatt, pbnbinom, pcat, pdgamma, pdlaplace, pdnorm, pdunif, pdweibull, pfatigue, pfrechet, pgev, pgompertz, pgpd, pgpois, pgumbel, phcauchy, phnorm, pht, phuber, pinvchisq, pinvgamma, pkumar, plaplace, plgser, plomax, plst, pmixnorm, pmixpois, pnhyper, pnsbeta, ppareto, ppower, pprop, prayleigh, psgomp, pslash, ptbinom, ptnorm, ptpois, ptriang, pwald, pzib, pzinb, pzip, qbern, qbetapr, qcat, qdunif, qdweibull, qfatigue, qfrechet, qgev, qgompertz, qgpd, qgumbel, qhcauchy, qhnor
</code>```

I try to run the predict function to forecast the fitted timeseries but while running the predict(m,future) function it throw the error related to namespaceExport(ns, exports). I am expecting the forecast output instead this error.

ContentLicense: CC BY-SA 4.0

Body:
I am trying to forecast the timeseries using prophet (Facebook) package. I have fitted the model and try to predict next 100 days using predict function.

m<-prophet(yearly.seasonality = TRUE,weekly.seasonality = TRUE,seasonality.mode = 'additive')
  m <- add_seasonality(m,'month',period=365.25/12,fourier.order = 4)
   m <- add_country_holidays(m, 'US')

for (xregPr in colnames(DummyVarsProphet)){
    m <- add_regressor(m, name=xregPr)
  }
m <- fit.prophet(m,df=proph_df)
future=make_future_dataframe(m,periods=Horizon)

predict(m,future)

Error in namespaceExport(ns, exports) :
  undefined exports: dbbinom, dbern, dbetapr, dbhatt, dbnbinom, dbvnorm, dbvpois, dcat, ddgamma, ddirichlet, ddirmnom, ddlaplace, ddnorm, ddunif, ddweibull, dfatigue, dfrechet, dgev, dgompertz, dgpd, dgpois, dgumbel, dhcauchy, dhnorm, dht, dhuber, dinvchisq, dinvgamma, dkumar, dlaplace, dlgser, dlomax, dlst, dmixnorm, dmixpois, dmnom, dmvhyper, dnhyper, dnsbeta, dpareto, dpower, dprop, drayleigh, dsgomp, dskellam, dslash, dtbinom, dtnorm, dtpois, dtriang, dwald, dzib, dzinb, dzip, pbbinom, pbern, pbetapr, pbhatt, pbnbinom, pcat, pdgamma, pdlaplace, pdnorm, pdunif, pdweibull, pfatigue, pfrechet, pgev, pgompertz, pgpd, pgpois, pgumbel, phcauchy, phnorm, pht, phuber, pinvchisq, pinvgamma, pkumar, plaplace, plgser, plomax, plst, pmixnorm, pmixpois, pnhyper, pnsbeta, ppareto, ppower, pprop, prayleigh, psgomp, pslash, ptbinom, ptnorm, ptpois, ptriang, pwald, pzib, pzinb, pzip, qbern, qbetapr, qcat, qdunif, qdweibull, qfatigue, qfrechet, qgev, qgompertz, qgpd, qgumbel, qhcauchy, qhnor

I try to run the predict function to forecast the fitted timeseries but while running the predict(m,future) function it throw the error related to namespaceExport(ns, exports). I am expecting the forecast output instead this error.


问:
How do I get the path to the usb flash drive or access it?
During the development of the application, we encountered a problem. We connect a USB flash drive to the device via OTG cable. We request access rights from the user, but in the end we get nothing.

As a result, we started looking at what the path to Total Commander looks like. It looks something like this:
enter image description here

As a result, we realized that the system hides the file. Please tell me what permissions are needed so that you can access the flash drive files directly.

We tried to write simple Java code to display the contents of the folder on the screen, but we couldn't find the way to our flash drive.

```<code>String path = new File(Objects.requireNonNull(Environment.getExternalStorageDirectory().getParent())).getParent();
</code>```

Tested on several devices, we noticed that only 2 flash drives are displayed and have access to them, since they are displayed on the path /storage/emulated/0, on the rest there is no and we will change the path ///USB_.

The permission we gave:

```<code><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.USB_PERMISSION" />
</code>```

!API 29!

Body:
During the development of the application, we encountered a problem. We connect a USB flash drive to the device via OTG cable. We request access rights from the user, but in the end we get nothing.

As a result, we started looking at what the path to Total Commander looks like. It looks something like this:
enter image description here

As a result, we realized that the system hides the file. Please tell me what permissions are needed so that you can access the flash drive files directly.

We tried to write simple Java code to display the contents of the folder on the screen, but we couldn't find the way to our flash drive.

String path = new File(Objects.requireNonNull(Environment.getExternalStorageDirectory().getParent())).getParent();

Tested on several devices, we noticed that only 2 flash drives are displayed and have access to them, since they are displayed on the path /storage/emulated/0, on the rest there is no and we will change the path ///USB_.

The permission we gave:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.USB_PERMISSION" />

!API 29!


问:
CMake cannot locate Swift compiler in macOS Ventura
I’m working on macOS and have updated my OS version recently. When I try to build Swift based library generated from cmake, I fail on the following line:

```<code>enable_language(Swift)
</code>```

It looks like the compiler couldn’t be found (although I’ve properly installed Xcode+developer tools). Here’s the relevant output:

```
-- The Swift compiler identification is unknown
-- Configuring incomplete, errors occurred!
See also "/Users/me/myProj/CMakeFiles/CMakeOutput.log".
See also "/Users/me/myProj/CMakeFiles/CMakeError.log".
CMake Error at CMakeLists.txt:17 (enable_language):
No CMAKE_Swift_COMPILER could be found
```

Here’s my Swift compiler location:

```
❯ xcrun swift -version
Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Target: arm64-apple-darwin22.2.0
❯ xcrun --find swift
/Library/Developer/CommandLineTools/usr/bin/swift
```

Perhaps there’s a way to explicitly set the compiler pointer?

Body:
I’m working on macOS and have updated my OS version recently. When I try to build Swift based library generated from cmake, I fail on the following line:

enable_language(Swift)

It looks like the compiler couldn’t be found (although I’ve properly installed Xcode+developer tools). Here’s the relevant output:

-- The Swift compiler identification is unknown
-- Configuring incomplete, errors occurred!
See also "/Users/me/myProj/CMakeFiles/CMakeOutput.log".
See also "/Users/me/myProj/CMakeFiles/CMakeError.log".
CMake Error at CMakeLists.txt:17 (enable_language):
No CMAKE_Swift_COMPILER could be found

Here’s my Swift compiler location:

❯ xcrun swift -version
Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
Target: arm64-apple-darwin22.2.0
❯ xcrun --find swift
/Library/Developer/CommandLineTools/usr/bin/swift

Perhaps there’s a way to explicitly set the compiler pointer?


问:
Why is this regex redirection not working as expected?
I am using the Redirection plugin on WordPress to redirect some old permalink structured post links to the new permalink structure.

An example of the old structure: /blog/2022/12/french-toast-bread-pudding-in-a-mug.html

Should redirect to: /french-toast-bread-pudding-in-a-mug

As far as I can tell the following should work: /blog/\d{4}/\d{2}/(.*).html

However it is redirecting to /2022/ in the case of the above URL.


问:
Integration design patterns for integration Workday HCM - SAP Concur
I have a business requirement to transform the business processes which are currently manual and require human interventions to automated using automation platform.

We have chosen Camunda as our BPaaS (Business Process as a Service) platform, for the primary reason of making organisation go towards Event driven + SOA (Service Oriented Architecture).

Challenge I have  are related to adopting integration pattern:

Although Workday has enhanced web services to support real time integration, but i have no idea how it can effectively integrate with SAP Concur for bi directional data integration.

I am looking for any reference (in the form of low level design or architecture) which is proven


问:
test coverage for rescue blocks in rspec
I am trying to get coverage on the following sections of code (from begin to end)in my attached spec where

```<code>def process_request(data)
    agents = agent_emails(data)
    begin
        ej = EmailerJob.new(agents: agents, data: data)
        CommonLogger.input_log(log_obj,"Sending Lead email to #{agents}")
        ej.deliver_emails
        rescue Timeout::Error => error
            CommonLogger.input_log(log_obj,"#{error}","error")
            raise error
        rescue StandardError => error
            Rails.logger.error "StandardError Handling for #{agents}"
            CommonLogger.input_log(log_obj,"#{error}","error")
        rescue Exception => error
            Rails.logger.error "Exception Handling for #{agents}"
            CommonLogger.input_log(log_obj,"#{error}","error")
            raise error
    end
end
</code>```

coverage report:

Can somebody please help me how can i cover all rescue sections?

Rspec: 3.12.0

Body:
I am trying to get coverage on the following sections of code (from begin to end)in my attached spec where

def process_request(data)
    agents = agent_emails(data)
    begin
        ej = EmailerJob.new(agents: agents, data: data)
        CommonLogger.input_log(log_obj,"Sending Lead email to #{agents}")
        ej.deliver_emails
        rescue Timeout::Error => error
            CommonLogger.input_log(log_obj,"#{error}","error")
            raise error
        rescue StandardError => error
            Rails.logger.error "StandardError Handling for #{agents}"
            CommonLogger.input_log(log_obj,"#{error}","error")
        rescue Exception => error
            Rails.logger.error "Exception Handling for #{agents}"
            CommonLogger.input_log(log_obj,"#{error}","error")
            raise error
    end
end

coverage report:

Can somebody please help me how can i cover all rescue sections?

Rspec: 3.12.0


问:
GAN，IS evaluation metrics
Is it necessary to retrain inceptionV3 when using IS evaluation metrics if the image generated using GAN does not exist with ImageNet?

I tried to train the inceptionV3 network using my own dataset.

Title: GAN，IS evaluation metrics


问:
How to prevent auto rotate on mobile in Adobe PDF Embed API embedMode: "SIZED_CONTAINER"
I use Adobe PDF Embed API with embedMode: "SIZED_CONTAINER", when I try open the pdf on mobile phone (chrome), pdf is auto rotating to landscape mode.

adding
showAnnotationTools: false,
showDownloadPDF: false,
showPrintPDF: false,
enableFormFilling: false,
showZoomControl: false,
defaultViewMode: ""


问:
How do I access static files using Jinja in Django
I am using Jinja templating within Django and I am having trouble getting static files to load.  I have tried setting up the back end per this documentation (I've included the code below): https://docs.djangoproject.com/en/1.11/topics/templates/#django.template.backends.jinja2.Jinja2

However, I am getting an "Encountered unknown tag 'static'" if I include a {% load static 'path' %} tag.  If I include a {% load static %} tag, I get "Encountered unknown tag 'load'." error.

I have setup a "jinja2.py" file in the main folder with the following code:

```<code>from django.contrib.staticfiles.storage import staticfiles_storage
from django.urls import reverse

from jinja2 import Environment

def environment(**options):
    env = Environment(**options)
    env.globals.update({
        'static': staticfiles_storage.url,
        'url': reverse,
    })
    return env
</code>```

settings.py has the following code:

```<code>TEMPLATES = [
    {
        "BACKEND": "django_jinja.backend.Jinja2",
        "DIRS": [],
        "APP_DIRS": True,
        "OPTIONS": {
            "environment": 'valuation.jinja2.environment',
        }
    },
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(BASE_DIR, 'templates')],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]
</code>```

The code in the base template is:

```<code>{% load static %}
<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Valuation App</title>

        <!--Bootstrap icons-->
        <link href="{% static 'assets/fonts/bootstrap-icons/bootstrap-icons.css' %}" rel="stylesheet">

        <!--Google web fonts-->
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital@0;1&family=Open+Sans:wght@300..800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0" />
    <!--Simplebar css-->
    <link rel="stylesheet" href="{% static 'assets/vendor/css/simplebar.min.css' %}">
    <!--Choices css-->
    <link rel="stylesheet" href="{% static 'assets/vendor/css/choices.min.css' %}">

    <!--Date range picker-->
    <link rel="stylesheet" href="{% static 'assets/vendor/css/daterangepicker.css' %}">
    <!--Main style-->
    <link rel="stylesheet" href="{% static 'assets/css/style.min.css' %}">
  </head>
</code>```

Any guidance is very much appreciated.

See above code for what I tried.

Body:
I am using Jinja templating within Django and I am having trouble getting static files to load.  I have tried setting up the back end per this documentation (I've included the code below): https://docs.djangoproject.com/en/1.11/topics/templates/#django.template.backends.jinja2.Jinja2

However, I am getting an "Encountered unknown tag 'static'" if I include a {% load static 'path' %} tag.  If I include a {% load static %} tag, I get "Encountered unknown tag 'load'." error.

I have setup a "jinja2.py" file in the main folder with the following code:

from django.contrib.staticfiles.storage import staticfiles_storage
from django.urls import reverse

from jinja2 import Environment

def environment(**options):
    env = Environment(**options)
    env.globals.update({
        'static': staticfiles_storage.url,
        'url': reverse,
    })
    return env

settings.py has the following code:

TEMPLATES = [
    {
        "BACKEND": "django_jinja.backend.Jinja2",
        "DIRS": [],
        "APP_DIRS": True,
        "OPTIONS": {
            "environment": 'valuation.jinja2.environment',
        }
    },
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(BASE_DIR, 'templates')],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

The code in the base template is:

{% load static %}
<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Valuation App</title>

        <link href="{% static 'assets/fonts/bootstrap-icons/bootstrap-icons.css' %}" rel="stylesheet">

        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital@0;1&family=Open+Sans:wght@300..800&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0" />

    <link rel="stylesheet" href="{% static 'assets/vendor/css/simplebar.min.css' %}">

    <link rel="stylesheet" href="{% static 'assets/vendor/css/choices.min.css' %}">

    <link rel="stylesheet" href="{% static 'assets/vendor/css/daterangepicker.css' %}">

    <link rel="stylesheet" href="{% static 'assets/css/style.min.css' %}">

Any guidance is very much appreciated.

See above code for what I tried.


问:
Encrypt data with public key in PHP
I am working on an integration with an API that requires the creation of such a token:

Base64(encrypt(public_key, (token + '|' + challenge.getTime).getBytes))

I'm loading the public key in the script, the token is fixed, and the challenge is a fixed timestamp returned by the API and converted to ISO. The problem is that the API returns an error about the content not being encrypted correctly. When I display the contents of the $encrypted_data variable I see that after each page refresh this value is different. Should this be the case? I have been stuck for many hours and have run out of options and ideas.

```<code>$fopen_public = fopen("publicKey.pem","r");
$public_key = fread($fopen_public,8192);
fclose($fopen_public);

$pkey_public = openssl_pkey_get_public($public_key);

$token = 'contents of the token';

$challenge = "2022-12-22T08:51:41.166Z";

$timestamp = strtotime($challenge);

$data = $token . '|' . $timestamp;

$encrypted_data = '';

$public_key = openssl_csr_get_public_key($public_key);
openssl_public_encrypt($data, $encrypted_data, $pkey_public);
$encrypted_data = base64_encode($encrypted_data);

echo $data."<br>".$timestamp."<br>".$encrypted_data."<br><br>$challenge<br>$timestamp";
</code>```

Title: Encrypt data with public key in PHP

Body:
I am working on an integration with an API that requires the creation of such a token:

Base64(encrypt(public_key, (token + '|' + challenge.getTime).getBytes))

I'm loading the public key in the script, the token is fixed, and the challenge is a fixed timestamp returned by the API and converted to ISO. The problem is that the API returns an error about the content not being encrypted correctly. When I display the contents of the $encrypted_data variable I see that after each page refresh this value is different. Should this be the case? I have been stuck for many hours and have run out of options and ideas.

$fopen_public = fopen("publicKey.pem","r");
$public_key = fread($fopen_public,8192);
fclose($fopen_public);

$pkey_public = openssl_pkey_get_public($public_key);

$token = 'contents of the token';

$challenge = "2022-12-22T08:51:41.166Z";

$timestamp = strtotime($challenge);

$data = $token . '|' . $timestamp;

$encrypted_data = '';

$public_key = openssl_csr_get_public_key($public_key);
openssl_public_encrypt($data, $encrypted_data, $pkey_public);
$encrypted_data = base64_encode($encrypted_data);

echo $data."
".$timestamp."
".$encrypted_data."

$challenge
$timestamp";


问:
this.addToCartHandler is not a function - could someone help explain how i can link addToCartHandler in the class please?
I am trying to create a page that generates a list of products by calling an API and then gives the user the ability to add a product to the cart total amount. I am coming across an issue where I can't seem to get the addToCartHandler working in the APISection class. I didn't declare it in the constructor as the posButton and negButton haven't been created on page load.  Would someone be able to share what I am doing wrong in the below code please? It could be something to do with my use of this but I haven't been able to work out what the issue is. Once I connect the handler, I want to generate an instance of the Cart class and have the positive/negative buttons for each product change the cart total amount.

Currently getting the below error:

script.js:91 Uncaught (in promise) TypeError: this.addToCartHandler is not a function

Any help would be greatly appreciated!

Javascript

```<code>class ScrollFeature {
  constructor() {
    this.showOnPx = 100;
    this.elem = document.querySelector(".back-to-top");
    this.pageProgessBar = document.querySelector(".progress-bar");
    this.scrollContainer();
    this.elem.addEventListener("click", this.goesToTop);
    document.addEventListener("scroll", () => {
      const scrolledPercentage =
        (this.scrollContainer().scrollTop /
          (this.scrollContainer().scrollHeight -
            this.scrollContainer().clientHeight)) *
        100;

      this.pageProgessBar.style.width = `${scrolledPercentage}%`;

      if (this.scrollContainer().scrollTop > this.showOnPx) {
        this.elem.classList.remove("hidden");
      } else {
        this.elem.classList.add("hidden");
      }
    });
  }
  scrollContainer() {
    return document.documentElement || document.body;
  }

  goesToTop() {
    document.body.scrollIntoView({ behaviour: "smooth" });
  }
}

class Cart {
  constructor() {
    this.cartTotal = 0;
    const totalElement = document.getElementById("total");
    totalElement.textContent = this.cartTotal;
  }
}

class APIContainer {
  constructor() {
    this.connectAPICaller();
    this.addToCartHandler = this.addToCartHandler;
 ;
  }

  connectAPICaller() {
    this.button = document.querySelector(".btn-primary");
    this.button.addEventListener("click", this.callApi);
  }

  static createElement(type, className, product, id, innerHTML) {
    const element = document.createElement(type);
    element.classList.add(className);
    element.id = id;
    element.textContent = product;
    if (innerHTML) {
      element.innerHTML = innerHTML;
    }
    return element;
  }

  static renderItem(product) {
    const apiSection = document.querySelector(".api-section");
    const listItem = APIContainer.createElement(
      "li",
      "New-section",
      product,
      ""
    );
    apiSection.appendChild(listItem);
    const posButton = APIContainer.createElement(
      "button",
      "cartButtonPositive",
      " ",
      "posId",
      `<i class="fa-solid fa-plus"></i>`
    );
    const negButton = APIContainer.createElement(
      "button",
      "cartButtonNegative",
      "",
      "negId",
      `<i class="fa-solid fa-minus"></i>`
    );
    posButton.style.textAlign;
    negButton.style.textAlign;
    listItem.insertAdjacentElement("beforeend", posButton);
    listItem.insertAdjacentElement("beforeend", negButton);
    this.addToCartHandler(posButton);
  }

  addToCartHandler(posButton) {
    if (posButton) {
      posButton.addEventListener("click", console.log(posButton));
    }
    const cart = new Cart();
    console.log(cart);
    // const addCart = document.getElementById("posId");
    // console.log(addCart);
    // addCart.addEventListener("click", () => {
    //   console.log(this.cart.cartTotal);
    //add a cart  object and increase amount
  }

  async callApi() {
    const response = await fetch("https://dummyjson.com/products");

    const number = Math.floor(Math.random() * 30);
    const data = await response.json();
    const product = data.products[number].title;
    APIContainer.renderItem(product);
  }
}

class ToDo {
  constructor() {
    this.addHandler = (e) => {
      if (e.target.classList.contains("active")) {
        e.target.classList.remove("active");
      } else {
        e.target.classList.add("active");
      }
    };
    this.removeHandler = (e) => {
      e.target.classList.remove("active");
    };
    this.connectToDoList();
  }

  connectToDoList() {
    const listItems = document.getElementsByClassName("list-group-item");
    console.log(listItems);
    const listItemArray = Array.from(listItems);
    for (const el of listItemArray) {
      if (!el.classList.contains("active")) {
        el.addEventListener("click", this.addHandler);
      } else {
        el.addEventListener("click", this.removeHandler);
      }
    }
  }
}

class App {
  static init() {
    new ScrollFeature();
    new Cart();
    new APIContainer();
    new ToDo();
  }
}

App.init();
</code>```

`

HTML

`

```<code><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="script.js" defer></script>
    <script
      src="https://kit.fontawesome.com/70618170b9.js"
      crossorigin="anonymous"
    ></script>
    <link
      href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
      integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
      crossorigin="anonymous"
      rel="stylesheet"
    />
    <link href="app.css" rel="stylesheet" />
    <title>Document</title>
  </head>
  <body>
    <section class="topContainer">
      <div class="progress-bar"></div>
      <button class="back-to-top hidden">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          fill="none"
          viewBox="0 0 24 24"
          stroke-width="1.5"
          stroke="currentColor"
          class="w-6 h-4 back-to-top-icon"
        >
          <path
            stroke-linecap="round"
            stroke-linejoin="round"
            d="M8.25 6.75L12 3m0 0l3.75 3.75M12 3v18"
          />
          Button
        </svg>
      </button>
      <div class="api-section">
        <h2>Randomly select an item to buy:</h2>
        <button id="submitButton" type="submit" class="btn btn-primary">
          Select product
        </button>
      </div>
      <div class="cart">
        <div class="cartTotal"><span id="total">Total</span></div>
        <i class="fa-solid fa-cart-shopping fa-10x"></i>
      </div>
    </section>
    <section>
      <ul class="list-group">
        <header>To-do List</header>
        <li class="list-group-item">Point 1</li>
        <li class="list-group-item">Point 2</li>
        <li class="list-group-item">Point 3</li>
      </ul>
    </section>
  </body>
</html>
</code>```

`

Trying to connect handler to then generate a cart class and have the handler increase/decrease cart total amount.

Body:
I am trying to create a page that generates a list of products by calling an API and then gives the user the ability to add a product to the cart total amount. I am coming across an issue where I can't seem to get the addToCartHandler working in the APISection class. I didn't declare it in the constructor as the posButton and negButton haven't been created on page load.  Would someone be able to share what I am doing wrong in the below code please? It could be something to do with my use of this but I haven't been able to work out what the issue is. Once I connect the handler, I want to generate an instance of the Cart class and have the positive/negative buttons for each product change the cart total amount.

Currently getting the below error:

script.js:91 Uncaught (in promise) TypeError: this.addToCartHandler is not a function

Any help would be greatly appreciated!

Javascript

class ScrollFeature {
  constructor() {
    this.showOnPx = 100;
    this.elem = document.querySelector(".back-to-top");
    this.pageProgessBar = document.querySelector(".progress-bar");
    this.scrollContainer();
    this.elem.addEventListener("click", this.goesToTop);
    document.addEventListener("scroll", () => {
      const scrolledPercentage =
        (this.scrollContainer().scrollTop /
          (this.scrollContainer().scrollHeight -
            this.scrollContainer().clientHeight)) *
        100;

      this.pageProgessBar.style.width = `${scrolledPercentage}%`;

      if (this.scrollContainer().scrollTop > this.showOnPx) {
        this.elem.classList.remove("hidden");
      } else {
        this.elem.classList.add("hidden");
      }
    });
  }
  scrollContainer() {
    return document.documentElement || document.body;
  }

  goesToTop() {
    document.body.scrollIntoView({ behaviour: "smooth" });
  }
}

class Cart {
  constructor() {
    this.cartTotal = 0;
    const totalElement = document.getElementById("total");
    totalElement.textContent = this.cartTotal;
  }
}

class APIContainer {
  constructor() {
    this.connectAPICaller();
    this.addToCartHandler = this.addToCartHandler;
 ;
  }

  connectAPICaller() {
    this.button = document.querySelector(".btn-primary");
    this.button.addEventListener("click", this.callApi);
  }

  static createElement(type, className, product, id, innerHTML) {
    const element = document.createElement(type);
    element.classList.add(className);
    element.id = id;
    element.textContent = product;
    if (innerHTML) {
      element.innerHTML = innerHTML;
    }
    return element;
  }

  static renderItem(product) {
    const apiSection = document.querySelector(".api-section");
    const listItem = APIContainer.createElement(
      "li",
      "New-section",
      product,
      ""
    );
    apiSection.appendChild(listItem);
    const posButton = APIContainer.createElement(
      "button",
      "cartButtonPositive",
      " ",
      "posId",
      `<i class="fa-solid fa-plus"></i>`
    );
    const negButton = APIContainer.createElement(
      "button",
      "cartButtonNegative",
      "",
      "negId",
      `<i class="fa-solid fa-minus"></i>`
    );
    posButton.style.textAlign;
    negButton.style.textAlign;
    listItem.insertAdjacentElement("beforeend", posButton);
    listItem.insertAdjacentElement("beforeend", negButton);
    this.addToCartHandler(posButton);
  }

  addToCartHandler(posButton) {
    if (posButton) {
      posButton.addEventListener("click", console.log(posButton));
    }
    const cart = new Cart();
    console.log(cart);
    // const addCart = document.getElementById("posId");
    // console.log(addCart);
    // addCart.addEventListener("click", () => {
    //   console.log(this.cart.cartTotal);
    //add a cart  object and increase amount
  }

  async callApi() {
    const response = await fetch("https://dummyjson.com/products");

    const number = Math.floor(Math.random() * 30);
    const data = await response.json();
    const product = data.products[number].title;
    APIContainer.renderItem(product);
  }
}

class ToDo {
  constructor() {
    this.addHandler = (e) => {
      if (e.target.classList.contains("active")) {
        e.target.classList.remove("active");
      } else {
        e.target.classList.add("active");
      }
    };
    this.removeHandler = (e) => {
      e.target.classList.remove("active");
    };
    this.connectToDoList();
  }

  connectToDoList() {
    const listItems = document.getElementsByClassName("list-group-item");
    console.log(listItems);
    const listItemArray = Array.from(listItems);
    for (const el of listItemArray) {
      if (!el.classList.contains("active")) {
        el.addEventListener("click", this.addHandler);
      } else {
        el.addEventListener("click", this.removeHandler);
      }
    }
  }
}

class App {
  static init() {
    new ScrollFeature();
    new Cart();
    new APIContainer();
    new ToDo();
  }
}

App.init();

`

HTML

`

<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <link
      href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
      integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
      crossorigin="anonymous"
      rel="stylesheet"
    />
    <link href="app.css" rel="stylesheet" />
    <title>Document</title>

      <button class="back-to-top hidden">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          fill="none"
          viewBox="0 0 24 24"
          stroke-width="1.5"
          stroke="currentColor"
          class="w-6 h-4 back-to-top-icon"
        >
          <path
            stroke-linecap="round"
            stroke-linejoin="round"
            d="M8.25 6.75L12 3m0 0l3.75 3.75M12 3v18"
          />
          Button
        </svg>
      </button>

Randomly select an item to buy:

        <button id="submitButton" type="submit" class="btn btn-primary">
          Select product
        </button>

Total

        To-do List

Point 1

Point 2

Point 3

`

Trying to connect handler to then generate a cart class and have the handler increase/decrease cart total amount.


问:
Ask NebulaGraph Database: Why session.execute returns: error:-1005:Storage Error: Vertex or edge not found？
The code logic is as follows:

Check whether an edge exists: FETCH PROP ON e_order vid_from->vid_to

If the edge exists: UPDATE EDGE

If the edge does not exist: INSERT EDGE

But parsing the ResultSet, I found that it occasionally returns: error:-1005:Storage Error: Vertex or edge not found.

The actual review of the data shows that the insertion/update should have been successful, and the relevant nodes and edges also exist.


问:
Cannot connect to host by Mainframe x3270 in Robot Framework
I try to connect to host by x3270 in Robot Framework like this

```<code>*** Settings ***
Library    Mainframe3270

*** Test Cases ***
Login_Mainframe_Test
    ${extra_args}   create list    -charset    thai
    Mainframe3270.Open Connection    xxx.xxx.com  port=992  extra_args=${extra_args}
</code>```

It cannot connect to host and got error "CommandError: [no error message]" but when I try the same way with another host "xxx.xxx.com  port=23" it can connect to host, .I try to use xxx.xxx.com:992 it's still not works,
then I try to connect to host by command in terminal "c3270 xxx.xxx.com:992 -charset thai" it can connect to host, I don't have any idea why it's not connect to host when I use Robot Framework. Could anyone help me please.

**I use macOS

Body:
I try to connect to host by x3270 in Robot Framework like this

*** Settings ***
Library    Mainframe3270

*** Test Cases ***
Login_Mainframe_Test
    ${extra_args}   create list    -charset    thai
    Mainframe3270.Open Connection    xxx.xxx.com  port=992  extra_args=${extra_args}

It cannot connect to host and got error "CommandError: [no error message]" but when I try the same way with another host "xxx.xxx.com  port=23" it can connect to host, .I try to use xxx.xxx.com:992 it's still not works,
then I try to connect to host by command in terminal "c3270 xxx.xxx.com:992 -charset thai" it can connect to host, I don't have any idea why it's not connect to host when I use Robot Framework. Could anyone help me please.

**I use macOS


问:
Bootstrap-Vue throws TypeError in Jest
I'm using Bootstrap-Vue ^2.23.1 with Vuejs and vue/compat ^3.2.45 and my testing library is jest ^29.3.1.

But when I add the BootstrapVue plugin in my tests I get this error:

```<code>TypeError: Cannot read properties of undefined (reading '$bvConfig')
</code>```

I've tried @vue/test-utils, @testing-library/vue but to no avail.
Its most probably due to BV not having proper Vue 3 support, but is there a workaround to get around this error?

@vue/test-utils:

test("component is visible: ", () => {
    const wrapper = mount(
        AccountingTable,
        {
            global: { plugins: [pinia, i18n, BootstrapVue] },
        },
    );
    expect(wrapper.isVisible()).toBeTruthy();
});
```
<p><code>@testing-library/vue</code>:</p>
<pre class="lang-js prettyprint-override"><code>test("component is visible: ", () => {
    const wrapper = render(
        AccountingTable,
        {
            global: { plugins: [pinia, i18n, BootstrapVue] },
        },
    );
    expect(wrapper.isVisible()).toBeTruthy();
});
</code>```

My jest config:

/** @type {import('jest).Config} */
module.exports = {
    preset: "ts-jest",
    testEnvironment: "jsdom",
    testEnvironmentOptions: {
       customExportConditions: ["node", "node-addons"],
    },
    testMatch: ["**/**/*.test.ts"],
    verbose: true,
    moduleNameMapper: {
        '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/mocks/file.mock.js',
    },
    transform: {
        "^.+\\.vue$": "@vue/vue3-jest",
    },
};
```

Title: Bootstrap-Vue throws TypeError in Jest

Body:
I'm using Bootstrap-Vue ^2.23.1 with Vuejs and vue/compat ^3.2.45 and my testing library is jest ^29.3.1.

But when I add the BootstrapVue plugin in my tests I get this error:

TypeError: Cannot read properties of undefined (reading '$bvConfig')

I've tried @vue/test-utils, @testing-library/vue but to no avail.
Its most probably due to BV not having proper Vue 3 support, but is there a workaround to get around this error?

@vue/test-utils:

test("component is visible: ", () => {
    const wrapper = mount(
        AccountingTable,
        {
            global: { plugins: [pinia, i18n, BootstrapVue] },
        },
    );
    expect(wrapper.isVisible()).toBeTruthy();
});

@testing-library/vue:

test("component is visible: ", () => {
    const wrapper = render(
        AccountingTable,
        {
            global: { plugins: [pinia, i18n, BootstrapVue] },
        },
    );
    expect(wrapper.isVisible()).toBeTruthy();
});

My jest config:

/** @type {import('jest).Config} */
module.exports = {
    preset: "ts-jest",
    testEnvironment: "jsdom",
    testEnvironmentOptions: {
       customExportConditions: ["node", "node-addons"],
    },
    testMatch: ["**/**/*.test.ts"],
    verbose: true,
    moduleNameMapper: {
        '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/mocks/file.mock.js',
    },
    transform: {
        "^.+\\.vue$": "@vue/vue3-jest",
    },
};


问:
How to detect Push Notification in UITest (Xcode 14.2)
I want to implement a UITest that detect push notifications sent from my server. I started with a simple test and I am triggering Push Notification with xcrun simctl push

Test looks like:

```<code>func testPushNotification() {
    app.launch() //launching app

    sleep(1) // waiting for app to setup

    // Launch springboard
    springboard.activate()

   // Here I am triggering PN with xcrun and it appears on screen

    let notification = springboard.otherElements["Notification"].descendants(matching: .any)["NotificationShortLookView"]
    XCTAssertTrue(notification.waitForExistence(timeout: 5))
    notification.tap()

  }
</code>```

and the test flow goes like:

app launches

springboard is activated and app goes background

PN is triggered with xcrun and appears on the Simulator's screen

I can see PN in springboard's view hierarchy:

```<code>Window (Main), 0x12e533bd0, {{0.0, 0.0}, {390.0, 844.0}}
  Other, 0x12e533ce0, {{0.0, 0.0}, {390.0, 844.0}}
    BannerNotification, 0x12e533df0, {{8.0, 40.0}, {374.0, 79.3}}
      Other, 0x12e533f00, {{8.0, 40.0}, {374.0, 79.3}}, label: 'Powiadomienie'
        Other, 0x12e52e460, {{8.0, 40.0}, {374.0, 79.3}}
          BannerNotification, 0x12e52e570, {{8.0, 40.0}, {374.0, 79.3}}, identifier: 'NotificationShortLookView', label: ' App, teraz, Push Notification Test, Hey! , Is this working?'
</code>```

but unfortunately my test is not able to detect the Push notification. I tried to look for that notification in 20 different ways, find it by text etc. but unfortunately nothing works.

Any ideas?

Body:
I want to implement a UITest that detect push notifications sent from my server. I started with a simple test and I am triggering Push Notification with xcrun simctl push

Test looks like:

func testPushNotification() {
    app.launch() //launching app

    sleep(1) // waiting for app to setup

    // Launch springboard
    springboard.activate()

   // Here I am triggering PN with xcrun and it appears on screen

    let notification = springboard.otherElements["Notification"].descendants(matching: .any)["NotificationShortLookView"]
    XCTAssertTrue(notification.waitForExistence(timeout: 5))
    notification.tap()

  }

and the test flow goes like:

app launches

springboard is activated and app goes background

PN is triggered with xcrun and appears on the Simulator's screen

I can see PN in springboard's view hierarchy:

Window (Main), 0x12e533bd0, {{0.0, 0.0}, {390.0, 844.0}}
  Other, 0x12e533ce0, {{0.0, 0.0}, {390.0, 844.0}}
    BannerNotification, 0x12e533df0, {{8.0, 40.0}, {374.0, 79.3}}
      Other, 0x12e533f00, {{8.0, 40.0}, {374.0, 79.3}}, label: 'Powiadomienie'
        Other, 0x12e52e460, {{8.0, 40.0}, {374.0, 79.3}}
          BannerNotification, 0x12e52e570, {{8.0, 40.0}, {374.0, 79.3}}, identifier: 'NotificationShortLookView', label: ' App, teraz, Push Notification Test, Hey! , Is this working?'

but unfortunately my test is not able to detect the Push notification. I tried to look for that notification in 20 different ways, find it by text etc. but unfortunately nothing works.

Any ideas?


问:
Make able to search with number in react Js
Below is my page with query parameter:

```<code>https://example.com/en/product-search?query=EMS-M8UYT-
</code>```

You can see I am passing an instruction to search product having name: EMS-M8UYT- and when I hit for search it actually found product successfully.

What I want is that When I pass any number with my product like If I add 0 next to my search query like this: EMS-M8UYT-0 It does not shows me any output I wanted to show same product on search when I search with  EMS-M8UYT-.

In simple wording: How I can search product If I pass any number with my product name like this: EMS-M8UYT-0-11. (When I search with: EMS-M8UYT-0-11 I got message No results have been found).

Below is my search function:

```<code>export default function ProductSearch({ settings, searchClient }) {
  // console.log("ResourcesSearch");
  let location = {
    search: "",
  };

  if (typeof window !== "undefined") {
    location = window.location;
  }
  const [searchState, setSearchState] = useState(
    urlToSearchState(location, fields)
  );
  const [showAllFilters, setShowAllFilters] = useState(false);

  const [overlayState, setOverlayState] = useState(urlToOverlayState(location));

  function onSearchStateChange(updatedSearchState) {

    if (
      !isEqual(searchState.query, updatedSearchState.query) ||
      !isEqual(searchState.page, updatedSearchState.page) ||
      !isEqual(searchState.refinementList, updatedSearchState.refinementList) ||
      !isEqual(searchState.range, updatedSearchState.range)
    ) {
      if (path !== "?") {
        navigate(location.pathname + path, {
          state: {
            disableScrollUpdate: true,
          },
        });
        setSearchState(updatedSearchState);
      }
    }
  }

  useEffect(() => {
    setSearchState(urlToSearchState(location, fields));
    setOverlayState(urlToOverlayState(location));
  }, [location]);

  function toggleFilters() {
    setShowAllFilters(!showAllFilters);
  }

  function resetAllFilters() {
  }

  const SearchStats = connectStateResults(({ allSearchResults }) => {
    let nbHits = 0;

    if (allSearchResults) {
      nbHits = allSearchResults.nbHits;
    }

    return (
      <div className="text-defaultBodyText font-bold">
        {nbHits} Products found
      </div>
    );
  });

  const Results = connectStateResults(
    ({ searchState, searchResults, children }) =>
      searchResults && searchResults.nbHits !== 0 ? (
        children
      ) : (
        <div>No results have been found for {searchState.query}.</div>
      )
  );
</code>```

Body:
Below is my page with query parameter:

https://example.com/en/product-search?query=EMS-M8UYT-

You can see I am passing an instruction to search product having name: EMS-M8UYT- and when I hit for search it actually found product successfully.

What I want is that When I pass any number with my product like If I add 0 next to my search query like this: EMS-M8UYT-0 It does not shows me any output I wanted to show same product on search when I search with  EMS-M8UYT-.

In simple wording: How I can search product If I pass any number with my product name like this: EMS-M8UYT-0-11. (When I search with: EMS-M8UYT-0-11 I got message No results have been found).

Below is my search function:

export default function ProductSearch({ settings, searchClient }) {
  // console.log("ResourcesSearch");
  let location = {
    search: "",
  };

  if (typeof window !== "undefined") {
    location = window.location;
  }
  const [searchState, setSearchState] = useState(
    urlToSearchState(location, fields)
  );
  const [showAllFilters, setShowAllFilters] = useState(false);

  const [overlayState, setOverlayState] = useState(urlToOverlayState(location));

  function onSearchStateChange(updatedSearchState) {

    if (
      !isEqual(searchState.query, updatedSearchState.query) ||
      !isEqual(searchState.page, updatedSearchState.page) ||
      !isEqual(searchState.refinementList, updatedSearchState.refinementList) ||
      !isEqual(searchState.range, updatedSearchState.range)
    ) {
      if (path !== "?") {
        navigate(location.pathname + path, {
          state: {
            disableScrollUpdate: true,
          },
        });
        setSearchState(updatedSearchState);
      }
    }
  }

  useEffect(() => {
    setSearchState(urlToSearchState(location, fields));
    setOverlayState(urlToOverlayState(location));
  }, [location]);

  function toggleFilters() {
    setShowAllFilters(!showAllFilters);
  }

  function resetAllFilters() {
  }

  const SearchStats = connectStateResults(({ allSearchResults }) => {
    let nbHits = 0;

    if (allSearchResults) {
      nbHits = allSearchResults.nbHits;
    }

    return (

        {nbHits} Products found

    );
  });

  const Results = connectStateResults(
    ({ searchState, searchResults, children }) =>
      searchResults && searchResults.nbHits !== 0 ? (
        children
      ) : (

No results have been found for {searchState.query}.

      )
  );


问:
neovim: [coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed
my neovim have an error when i try to open a python file

throws me:

```<code>[coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed
Error: Pending response rejected since connection got disposed
    at Object.dispose (/home/diego/.vim/plugged/coc.nvim/build/index.js:51:4565)
    at Object.dispose (/home/diego/.vim/plugged/coc.nvim/build/index.js:236:6172)
    at wd.handleConnectionClosed (/home/diego/.vim/plugged/coc.nvim/build/index.js:239:15575)
    at wd.handleConnectionClosed (/home/diego/.vim/plugged/coc.nvim/build/index.js:243:3421)
    at t (/home/diego/.vim/plugged/coc.nvim/build/index.js:239:15224)
    at HT.invoke (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at Uu.fire (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Ze (/home/diego/.vim/plugged/coc.nvim/build/index.js:25:6505)
    at HT.invoke (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at Uu.fire (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:15230)
</code>```

help me please

i try to reinstall jedi, jedi-language-server and coc-jedi

Body:
my neovim have an error when i try to open a python file

throws me:

[coc.nvim]: UnhandledRejection: Pending response rejected since connection got disposed
Error: Pending response rejected since connection got disposed
    at Object.dispose (/home/diego/.vim/plugged/coc.nvim/build/index.js:51:4565)
    at Object.dispose (/home/diego/.vim/plugged/coc.nvim/build/index.js:236:6172)
    at wd.handleConnectionClosed (/home/diego/.vim/plugged/coc.nvim/build/index.js:239:15575)
    at wd.handleConnectionClosed (/home/diego/.vim/plugged/coc.nvim/build/index.js:243:3421)
    at t (/home/diego/.vim/plugged/coc.nvim/build/index.js:239:15224)
    at HT.invoke (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at Uu.fire (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:15230)
    at Ze (/home/diego/.vim/plugged/coc.nvim/build/index.js:25:6505)
    at HT.invoke (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:14460)
    at Uu.fire (/home/diego/.vim/plugged/coc.nvim/build/index.js:24:15230)

help me please

i try to reinstall jedi, jedi-language-server and coc-jedi


问:
cefclient.exe --enable-video-player-chromecast-support doesn't work in CEF Embedded client
I'm trying to get Chromecast to work in the CEF Embedded Client. I've built the development environment on my windows 10 machine, and the client launches when I type cefclient.exe in the command prompt.  After some googling, I found the commandline parameter of

```<code>cefclient.exe --enable-video-player-chromecast-support
</code>```

but this doesn't work in either the 32 or 64 bit versions.  I've also tried

```<code>cefclient.exe --enable-video-player-chromecast-support --enable-media-stream --always-authorize-plugins
</code>```

based on some other internet suggestions, without any luck.

In regular desktop chrome for windows, the "Play on TV" chromecast icon appears in the youtube video player, so I know my chromecast device is working properly.

What's confusing is that there's definitely a chromecast folder in the src, so it seems like someone has implemented this, but with no clear way to make it work.

Alternatively,  is there a way to just enable all the default chrome settings so I can baseline it against Chrome for Windows Desktop?

ps: I'm using this youtube url for testing:

```<code>https://www.youtube.com/watch?v=8Yp8z2BRIgY
</code>```

EDIT:
I discovered that some youtube urls can't be played in cefclient.  I'm not sure if this is a clue or not, but here's the URL:

```<code>https://www.youtube.com/watch?v=42M3esYyHdw
</code>```

Body:
I'm trying to get Chromecast to work in the CEF Embedded Client. I've built the development environment on my windows 10 machine, and the client launches when I type cefclient.exe in the command prompt.  After some googling, I found the commandline parameter of

cefclient.exe --enable-video-player-chromecast-support

but this doesn't work in either the 32 or 64 bit versions.  I've also tried

cefclient.exe --enable-video-player-chromecast-support --enable-media-stream --always-authorize-plugins

based on some other internet suggestions, without any luck.

In regular desktop chrome for windows, the "Play on TV" chromecast icon appears in the youtube video player, so I know my chromecast device is working properly.

What's confusing is that there's definitely a chromecast folder in the src, so it seems like someone has implemented this, but with no clear way to make it work.

Alternatively,  is there a way to just enable all the default chrome settings so I can baseline it against Chrome for Windows Desktop?

ps: I'm using this youtube url for testing:

https://www.youtube.com/watch?v=8Yp8z2BRIgY

EDIT:
I discovered that some youtube urls can't be played in cefclient.  I'm not sure if this is a clue or not, but here's the URL:

https://www.youtube.com/watch?v=42M3esYyHdw


问:
Create left-center-right tab-stops in header/footer with respect to page margins in python-docx
My wish is to have two TabStops in the document header aligning text left, center and right using python-docx.

Desired result

This is the desired result. Please notice that the last/right tab does fit to page marigin. You see here the German version of MS Word 2016.

Try with python-docx

MS Word seems to have these header tapstops by default. Let's try it with python-docx.

```<code>#!/usr/bin/env python3
import docx
import docx.shared

doc = docx.Document()

# first paragraph in the footer
fp = doc.sections[0].header.paragraphs[0]

# tab stops in that footer
ts = fp.paragraph_format.tab_stops

# has no effect
ts.clear_all()

fp.add_run('left\t')
fp.add_run('center\t')
fp.add_run('right')

doc.save('x.docx')
</code>```

The problem

Compared to the first picture the page margins are different because the first is based on German default document and the second with python-docx do use the default values based from the normal.dot of an English MS Word.

The document itself did not contain any tabstops (because of my clear_all()). And I also couldn't find something in the XML content. But it seems that the German MS Word does set its tabstop positions in the header when opening the document.

The right margin is at 15.25 but the tab stop is outside at 16.5.

What I need

I need to avoid that automatic tabstop setting behaviour or workaround it somehow.

I need to calculate the positions of the center and right tab stop somehow based on the current document dimensions and margins.

Flexibel and elegant solution that will work with all international versions of MS Word. I don't want to setup explicit the German default dimensions and margins.

Body:
My wish is to have two TabStops in the document header aligning text left, center and right using python-docx.

Desired result

This is the desired result. Please notice that the last/right tab does fit to page marigin. You see here the German version of MS Word 2016.

Try with python-docx

MS Word seems to have these header tapstops by default. Let's try it with python-docx.

#!/usr/bin/env python3
import docx
import docx.shared

doc = docx.Document()

# first paragraph in the footer
fp = doc.sections[0].header.paragraphs[0]

# tab stops in that footer
ts = fp.paragraph_format.tab_stops

# has no effect
ts.clear_all()

fp.add_run('left\t')
fp.add_run('center\t')
fp.add_run('right')

doc.save('x.docx')

The problem

Compared to the first picture the page margins are different because the first is based on German default document and the second with python-docx do use the default values based from the normal.dot of an English MS Word.

The document itself did not contain any tabstops (because of my clear_all()). And I also couldn't find something in the XML content. But it seems that the German MS Word does set its tabstop positions in the header when opening the document.

The right margin is at 15.25 but the tab stop is outside at 16.5.

What I need

I need to avoid that automatic tabstop setting behaviour or workaround it somehow.

I need to calculate the positions of the center and right tab stop somehow based on the current document dimensions and margins.

Flexibel and elegant solution that will work with all international versions of MS Word. I don't want to setup explicit the German default dimensions and margins.


问:
Getting Cannot get error on deploy link and getting buffering timeout after 10000ms in postman
after deploying node.js express.js mongodb server on render i am getting cannot get error on link but on postman it is showing [enter image descrenter image description hereiption here](https://i.stack.imgur.com/Xoyl4.png)

I don't know why it is not deploying can any one help me out?


问:
how to create MySQL Query which will add row data in column while inner joining two tables
I have two tables, I want to make inner join in a specific way mentioned below

I have Read access to DB so Can not use Declare, set or create function

SQL Code provided at bottom to create below tables

Table 1

Mechanic
Car Part Repaired

Joe
Engine

Joe
Wheels

Joe
Lights

Ross
Mirror

Ross
Brakes

Chandler
Door

Table 2

Mechanic
Time (Hrs)

Joe
16

Ross
12

Chandler
50

Expected Result should be as below

Mechanic
Time (Hrs)
Car part 1
Car Part 2
Car Part 3

Joe
16
Engine
Wheel
Lights

Ross
12
Mirror
Brakes
NA

Chandler
50
Door
NA
NA

I want to join above tables in a way it will not create additional rows and will have equal row as Table 2, So I can perform the calculation on table 2 data and get correct results.
On other hand want to pivot the "table 1.Car Part" values into columns, for eg.,

Joe has 3 values in car part column (Engine, wheel, Lights) , so these 3 values should get transform into 3 columns.

No. of values should be equal to no. of additional columns

SQL Query to create above tables

```<code>CREATE table #Table_1
([Mechanic] varchar(18), [Car_Part] varchar(18));

INSERT INTO #Table_1
([Mechanic], [Car_Part])
VALUES
('Joe', 'Engine'),
('Joe', 'Wheels'),
('Joe', 'Lights'),
('Ross', 'Mirror'),
('Ross', 'Brakes'),
('Chandler', 'Door');

CREATE table #Table_2
([Mechanic] varchar(18), [Time_Hrs] int);

INSERT INTO #Table_2
([Mechanic], [Time_Hrs])
VALUES
('Joe', 16),
('Ross', 12),
('Chandler', 50);
</code>```

Body:
I have two tables, I want to make inner join in a specific way mentioned below

I have Read access to DB so Can not use Declare, set or create function

SQL Code provided at bottom to create below tables

Table 1

Mechanic
Car Part Repaired

Joe
Engine

Joe
Wheels

Joe
Lights

Ross
Mirror

Ross
Brakes

Chandler
Door

Table 2

Mechanic
Time (Hrs)

Joe
16

Ross
12

Chandler
50

Expected Result should be as below

Mechanic
Time (Hrs)
Car part 1
Car Part 2
Car Part 3

Joe
16
Engine
Wheel
Lights

Ross
12
Mirror
Brakes
NA

Chandler
50
Door
NA
NA

I want to join above tables in a way it will not create additional rows and will have equal row as Table 2, So I can perform the calculation on table 2 data and get correct results.
On other hand want to pivot the "table 1.Car Part" values into columns, for eg.,

Joe has 3 values in car part column (Engine, wheel, Lights) , so these 3 values should get transform into 3 columns.

No. of values should be equal to no. of additional columns

SQL Query to create above tables

CREATE table #Table_1
([Mechanic] varchar(18), [Car_Part] varchar(18));

INSERT INTO #Table_1
([Mechanic], [Car_Part])
VALUES
('Joe', 'Engine'),
('Joe', 'Wheels'),
('Joe', 'Lights'),
('Ross', 'Mirror'),
('Ross', 'Brakes'),
('Chandler', 'Door');

CREATE table #Table_2
([Mechanic] varchar(18), [Time_Hrs] int);

INSERT INTO #Table_2
([Mechanic], [Time_Hrs])
VALUES
('Joe', 16),
('Ross', 12),
('Chandler', 50);


问:
Can't install private node module through yarn
We use node and yarn manager in rails project. I need to install private module using register and authToken creating .npmrc file and put inside this lines of code

```<code>pqina:registry=https://npm.pqina.nl/
//npm.pqina.nl/:_authToken=${PRIVATE_TOKEN}.
</code>```

Nothing happens, Yarn not installing needed packages. I tried to use npm instead of yarn but got the same result. .npmrc file located in root project directory.

Body:
We use node and yarn manager in rails project. I need to install private module using register and authToken creating .npmrc file and put inside this lines of code

pqina:registry=https://npm.pqina.nl/
//npm.pqina.nl/:_authToken=${PRIVATE_TOKEN}.

Nothing happens, Yarn not installing needed packages. I tried to use npm instead of yarn but got the same result. .npmrc file located in root project directory.


问:
How can I get just the audio from a network video in flutter?
I have this app that fetches videos from the network and plays them, now I need to play just the audio from those same videos.

Is there a way that allows fetching the audio (any audio extension) alone from a network video file that ends with .mp4?

Please help, thank you.


问:
Does `torchvision` also shows _cuda version_ when searched with `conda list torchvison`
A CNN model in github I wanted to use, shows it requires

```<code>torch==1.9.0+cu111
torchvision==0.10.0+cu111
</code>```

I have installed torch from using the link pytorch in anaconda prompt
Along with it the torchvision also installed
When I searched to know whether it is installed or not using conda list torch, below message appeared.

When I searched for torchvison with conda list torchvison it shows

I do not see cuda version information after torchvision like it shown with torch package in above image. Does that mean I can assume that torchvision has cuda support, anaconda by default does not show any version beside torchvision

Why I am asking is,the same thing when I installed using pip3 it shows cuda version alongside both torch and torchvision

Another question I have which is exactly not related to above question is the I have installed torch 1.13.1+cu116 which is higher than required torch==1.9.0+cu111 for the CNN model in github. Is it ok? I am just asking this extra question because, this is the first time I am using a model form github

Body:
A CNN model in github I wanted to use, shows it requires

torch==1.9.0+cu111
torchvision==0.10.0+cu111

I have installed torch from using the link pytorch in anaconda prompt
Along with it the torchvision also installed
When I searched to know whether it is installed or not using conda list torch, below message appeared.

When I searched for torchvison with conda list torchvison it shows

I do not see cuda version information after torchvision like it shown with torch package in above image. Does that mean I can assume that torchvision has cuda support, anaconda by default does not show any version beside torchvision

Why I am asking is,the same thing when I installed using pip3 it shows cuda version alongside both torch and torchvision

Another question I have which is exactly not related to above question is the I have installed torch 1.13.1+cu116 which is higher than required torch==1.9.0+cu111 for the CNN model in github. Is it ok? I am just asking this extra question because, this is the first time I am using a model form github


问:
ExpressJS API crashes with Error read ECONNRESET
If i activate a screen on my debian server with my express js api it will crash after a few hours with this error:

```<code>Error: read ECONNRESET
  File "internal/stream_base_commons.js", line 209, col 20, in TCP.onStreamRead
  File "internal/async_hooks.js", line 130, col 17, in TCP.callbackTrampoline
</code>```

I created a pool in my Express JS application but it crashes, when I start my Debian screen with the Express JS application it crashes after a few hours if I don't use the API.

Please help me, I don't know how to fix, I think it's the firewall but I don't know. It can also be a configuration on my mysql.

```<code>const pool = mysql.createPool({
    host: 'localhost',
    user: 'user',
    database: 'database',
    password: 'password',
    connectionLimit: 10,
});
</code>```

I added on every mysql request this code:

```<code>pool.getConnection((err, connection) => {
        if (err) {
          console.log(err);
          return res.status(400).send({
            msg: err
          });
        }
</code>```

and on the end

```<code>connection.release();
</code>```

Body:
If i activate a screen on my debian server with my express js api it will crash after a few hours with this error:

Error: read ECONNRESET
  File "internal/stream_base_commons.js", line 209, col 20, in TCP.onStreamRead
  File "internal/async_hooks.js", line 130, col 17, in TCP.callbackTrampoline

I created a pool in my Express JS application but it crashes, when I start my Debian screen with the Express JS application it crashes after a few hours if I don't use the API.

Please help me, I don't know how to fix, I think it's the firewall but I don't know. It can also be a configuration on my mysql.

const pool = mysql.createPool({
    host: 'localhost',
    user: 'user',
    database: 'database',
    password: 'password',
    connectionLimit: 10,
});

I added on every mysql request this code:

pool.getConnection((err, connection) => {
        if (err) {
          console.log(err);
          return res.status(400).send({
            msg: err
          });
        }

and on the end

connection.release();


问:
How to fix freezing in looped video on iOS browsers?
I have short looped background video for a landing page. And it have freezes between loops. I find this problem on iPhone 12, 12 mini and 13. But for Desktop browsers, Android and iPhone 11 it is no any freezes and video restarts smoothly.

```<code><video poster="poster.jpg" preload="auto" autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
    <source src="video.webm" type="video/webm" />
    <source src="video.mp4" type="video/mp4" />
</video>
</code>```

I tried to replace video with gif. It works, but in this case we have big file size without controlling and another not good effects including poor PageSpeed Insights score

Body:
I have short looped background video for a landing page. And it have freezes between loops. I find this problem on iPhone 12, 12 mini and 13. But for Desktop browsers, Android and iPhone 11 it is no any freezes and video restarts smoothly.

<video poster="poster.jpg" preload="auto" autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">
    <source src="video.webm" type="video/webm" />
    <source src="video.mp4" type="video/mp4" />
</video>

I tried to replace video with gif. It works, but in this case we have big file size without controlling and another not good effects including poor PageSpeed Insights score


问:
People Api Google and quota limit
I tried to export to people api and give that error

```<code>{
  "error": {
    "code": 429,
    "message": "Resource has been exhausted (e.g. check quota).",
    "status": "RESOURCE_EXHAUSTED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.QuotaFailure",
        "violations": [
          {
            "subject": "QUOTA_EXCEEDED",
            "description": "FBS quota limit exceeded."
          }
        ]
      }
    ]
  }
}

</code>```

I found in internet,  that contacts limit in the account is 25.000. But the account only has 5.000 contacts ,  not hasn't the limit 25.000 contacts

Anyone knows whats the problem?

Title: People Api Google and quota limit

Body:
I tried to export to people api and give that error

{
  "error": {
    "code": 429,
    "message": "Resource has been exhausted (e.g. check quota).",
    "status": "RESOURCE_EXHAUSTED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.QuotaFailure",
        "violations": [
          {
            "subject": "QUOTA_EXCEEDED",
            "description": "FBS quota limit exceeded."
          }
        ]
      }
    ]
  }
}

I found in internet,  that contacts limit in the account is 25.000. But the account only has 5.000 contacts ,  not hasn't the limit 25.000 contacts

Anyone knows whats the problem?