What is 'NaN' in the third column in retreived txt files

Hello, I have retrieved the information from a .hic file. However, I found 'nan' values in the third column. What does this mean? Is this missing values? Why should such value appear? Thanks!
60000   60000   3709.8407084423666
60000   65000   nan
60000   70000   nan
60000   85000<PHONE_NUMBER>352375
85000   85000   6662.110695460637

If a particular column was very sparse and KR/SCALE had to discard the column/row when normalizing the matrix, then all entries in the discarded row/column will be NaN.

It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map.

It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map.

Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column.
60000   60000   1
60000   65000   1
60000   70000   1
60000   85000   1
85000   85000   26
85000   90000   16
90000   90000   53
90000   95000   12
95000   95000   27
58570000        58605000        67.67821603676141
58575000        58605000<PHONE_NUMBER>1772898
58580000        58605000<PHONE_NUMBER>0569903
58585000        58605000<PHONE_NUMBER>0432754
58590000        58605000<PHONE_NUMBER>8105807
58595000        58605000<PHONE_NUMBER>401082
58605000        58605000        7401.773853029534

Are you using oe (observed over expected)? If so, float numbers should not surprise you.
On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529<EMAIL_ADDRESS>wrote:

It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map.
Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column.
60000 60000 1
60000 65000 1
60000 70000 1
60000 85000 1
85000 85000 26
85000 90000 16
90000 90000 53
90000 95000 12
95000 95000 27
58570000 58605000 67.67821603676141
58575000 58605000<PHONE_NUMBER>1772898
58580000 58605000<PHONE_NUMBER>0569903
58585000 58605000<PHONE_NUMBER>0432754
58590000 58605000<PHONE_NUMBER>8105807
58595000 58605000<PHONE_NUMBER>401082
58605000 58605000 7401.773853029534
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')'

Where does this hic file come from? Is it a (weighted) combination of several maps?
On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529<EMAIL_ADDRESS>wrote:

Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')'
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

It is from the 4D genome project, performed by micro-C method.
https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details

I think that you should check how exactly this hic file was created. Maybe read carefully or ask the person in charge.
On Tuesday, 15 November 2022 at 03:02:28 pm AEDT, jiangshan529<EMAIL_ADDRESS>wrote:

Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
It is from the 4D genome project, performed by micro-C method.
https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

By the way, have you tried using dump command in juicer tools? Does it produce identical results (to straw)?
On Tuesday, 15 November 2022 at 03:02:28 pm AEDT, jiangshan529<EMAIL_ADDRESS>wrote:

Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
It is from the 4D genome project, performed by micro-C method.
https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

By the way, have you tried using dump command in juicer tools? Does it produce identical results (to straw)? On Tuesday, 15 November 2022 at 03:02:28 pm AEDT, jiangshan529 @.> wrote: Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> It is from the 4D genome project, performed by micro-C method. https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Sorry, I just downloaded the .hic file. How should use the dump command?

Please post this question to the forum. We reserve github issues for bugs.

https://groups.google.com/g/3d-genomics
And that way, the community as a whole will also benefit from the answers.
Thanks!

Have you downloaded juicer_tools.jar?If so, do java -jar juicer_tools.jar or/and java -jar juicer_tools.jar dump to see the usage.
On Tuesday, 15 November 2022 at 03:20:17 pm AEDT, jiangshan529<EMAIL_ADDRESS>wrote:

By the way, have you tried using dump command in juicer tools? Does it produce identical results (to straw)? On Tuesday, 15 November 2022 at 03:02:28 pm AEDT, jiangshan529 @.> wrote: Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> It is from the 4D genome project, performed by micro-C method. https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
Sorry, I just downloaded the .hic file. How should use the dump command?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
 On Tuesday, 15 November 2022 at 03:20:17 pm AEDT, jiangshan529 @.> wrote: By the way, have you tried using dump command in juicer tools? Does it produce identical results (to straw)? On Tuesday, 15 November 2022 at 03:02:28 pm AEDT, jiangshan529 @.> wrote: Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> It is from the 4D genome project, performed by micro-C method. https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Sorry, I just downloaded the .hic file. How should use the dump command? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

Hi, I have run it.
When I use 'observed', no float numbers appeared.
when I use 'oe', it looks like this:
60000   60000   3.0029617E-4
60000   65000   9.408559E-4
60000   70000   0.0040292614
60000   85000   0.012957309
85000   85000   0.0078077004
85000   90000   0.015053694
90000   90000   0.015915697
90000   95000   0.011290271
95000   95000   0.008107997

Please do what Muhammad suggested and move the conversation to the forum.If straw and juicer_tools dump produce different result it is probably a bug.
On Tuesday, 15 November 2022 at 03:33:30 pm AEDT, jiangshan529<EMAIL_ADDRESS>wrote:

Have you downloaded juicer_tools.jar?If so, do java -jar juicer_tools.jar or/and java -jar juicer_tools.jar dump to see the usage. On Tuesday, 15 November 2022 at 03:20:17 pm AEDT, jiangshan529 @.> wrote: By the way, have you tried using dump command in juicer tools? Does it produce identical results (to straw)? On Tuesday, 15 November 2022 at 03:02:28 pm AEDT, jiangshan529 @.> wrote: Where does this hic file come from? Is it a (weighted) combination of several maps? On Tuesday, 15 November 2022 at 02:53:12 pm AEDT, jiangshan529 @.> wrote: Are you using oe (observed over expected)? If so, float numbers should not surprise you. On Tuesday, 15 November 2022 at 02:40:34 pm AEDT, jiangshan529 @.> wrote: It means that these rows (bins) had to be removed during normalization. You should not see any NaN (Not a Number) in raw (un-normalized) map. Hi, thanks for your reply. I have run Straw with normalization set to 'None'. And I am not sure this time why there are float numbers in the third column. 60000 60000 1 60000 65000 1 60000 70000 1 60000 85000 1 85000 85000 26 85000 90000 16 90000 90000 53 90000 95000 12 95000 95000 27 58570000 58605000 67.67821603676141 58575000 58605000<PHONE_NUMBER>1772898 58580000 58605000<PHONE_NUMBER>0569903 58585000 58605000<PHONE_NUMBER>0432754 58590000 58605000<PHONE_NUMBER>8105807 58595000 58605000<PHONE_NUMBER>401082 58605000 58605000 7401.773853029534 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, the code I am using is 'result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')' — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> It is from the 4D genome project, performed by micro-C method. https://data.4dnucleome.org/files-processed/4DNFI2TK7L2F/#details — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Sorry, I just downloaded the .hic file. How should use the dump command? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
Hi, I have run it.
When I use 'observed', no float numbers appeared.
when I use 'oe', it looks like this:
60000 60000 3.0029617E-4
60000 65000 9.408559E-4
60000 70000 0.0040292614
60000 85000 0.012957309
85000 85000 0.0078077004
85000 90000 0.015053694
90000 90000 0.015915697
90000 95000 0.011290271
95000 95000 0.008107997
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Apologies - if there is indeed a bug (different outputs from straw vs dump), then we should indeed discuss it here. Can you share the commands you use used for juicer tools dump and straw, and the respective outputs? Can you also confirm what version of straw was used?

Apologies - if there is indeed a bug (different outputs from straw vs dump), then we should indeed discuss it here. Can you share the commands you used for juicer tools dump and straw, and the respective outputs? Can you also confirm what version of straw was used?

Hi, I think hicstraw.straw and juicer dump give the same result, but straw.straw gives a different result at end lines.
The code I am using for straw is:
result = straw.straw('NONE',"./4DNFI2TK7L2F.hic", "19", "19", "BP", 5000, 'chr19_5k.txt')
f1 = open('chr19_5k.txt','w')
for i in range(len(result[0])):
cmd1= "{0}\t{1}\t{2}\n".format(result[0][i], result[1][i], result[2][i])
f1.write(cmd1)
And there's another code from hicstraw:
with open(OutFile, mode='w') as fp_out:
result = hicstraw.straw(datatype, Norm, HiCFile, CHR1, CHR2, 'BP', resolution)
for i in range(len(result)):
print("{0}\t{1}\t{2}\t{3}\t{4}".format(chr1name, (result[i].binX + int(resolution / 2)), chr2name, (result[i].binY + int(resolution / 2)), result[i].counts), file=fp_out)
The code I used for juicer dump is:
java -Xmx48000m  -Djava.awt.headless=true -jar juicer_tools_1.22.01.jar dump observed NONE 4DNFI2TK7L2F.hic 19 19 BP 5000 >dump.txt.
Interestingly, the result of the top lines are the same by using the three ways:
60000   60000   1.0
60000   65000   1.0
60000   70000   1.0
60000   85000   1.0
85000   85000   26.0
85000   90000   16.0
90000   90000   53.0
90000   95000   12.0
95000   95000   27.0
However, for the end lines, the result are different:
Result of straw.straw:
58570000        58605000        67.67821603676141
58575000        58605000<PHONE_NUMBER>1772898
58580000        58605000<PHONE_NUMBER>0569903
58585000        58605000<PHONE_NUMBER>0432754
58590000        58605000<PHONE_NUMBER>8105807
58595000        58605000<PHONE_NUMBER>401082
58605000        58605000        7401.773853029534
Result of hicstraw.straw:
58575000        58605000        14.0
58580000        58605000        19.0
58585000        58605000        4.0
58590000        58605000        2.0
58595000        58605000        2.0
58600000        58605000        1.0
58605000        58605000        52.0
Result of juicer dump(observed):
58575000        58605000        14.0
58580000        58605000        19.0
58585000        58605000        4.0
58590000        58605000        2.0
58595000        58605000        2.0
58600000        58605000        1.0
58605000        58605000        52.0
Result of juicer dump(oe):
60000   60000   3.0029617E-4
60000   65000   9.408559E-4
60000   70000   0.0040292614
60000   85000   0.012957309
85000   85000   0.0078077004
85000   90000   0.015053694
90000   90000   0.015915697

is straw.straw c++ and hicstraw.straw python? or what versions are you using?


[FIX] fix bert forward call parameter mismatch in convert_tf_model.py

Description
fix bert forward call parameter mismatch in scripts/bert/convert_tf_model.py line 154
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[x] Code is well-documented

Changes

[x]  fix bert forward call parameter mismatch

Comments

fix error below:
Traceback (most recent call last):
File "/data/etb/data1/NLP/Program/bert/gluon_nlp_fork/scripts/bert/convert_tf_model.py", line 154, in
out = bert(ones, ones, mx.nd.array([1, 2]))
File "/data/etb/miniconda3/envs/mxnet_py3/lib/python3.6/site-packages/mxnet/gluon/block.py", line 540, in call
out = self.forward(*args)
File "/data/etb/miniconda3/envs/mxnet_py3/lib/python3.6/site-packages/gluonnlp/model/bert.py", line 435, in forward
'masked_positions tensor is required for decoding masked language model'
AssertionError: masked_positions tensor is required for decoding masked language model

Job PR-695/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-695/1/index.html

My pleasure!


MA-2569: Made app clear its activity history on logout

Description
MA-2569
On logout, activity history should be cleared. Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK should do the trick.
Also, there shouldn't be any case where the context is not an instance of an activity, so I removed that case.
Testing

[ ] Unit, integration, acceptance tests as appropriate
Ran the given use case, made sure that issue no longer happened.
Logged back in, opened, items from nav drawer, logged out. Made sure that app behaved as expected.

Reviewers
If you've been tagged for review, please check your corresponding box once you've given the :+1:.

 Last updated by [985d6bb...4e2599e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/edx/edx-app-android/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/edx/edx-app-android/compare/985d6bb3b3f13699a45f927ff7e8f78cfd2cd714...4e2599e0f3b11db46204ff1a424c652ebc11be74
[cc-pull]: https://codecov.io/gh/edx/edx-app-android/pull/764?src=pr


Changed domain name for discord base api url

We’ve grown up. We are now Discord.com!

https://discord.com/developers/docs/reference says that the API url should now be https://discord.com/api.

Can this be merged? They are dropping the old domain in the coming months and this package will break.
Last month, we excitedly announced our official move to discord.com. It was a long time in the making, and the work isn't done yet! For now, our API will continue to handle requests made to discordapp.com. On November 7, 2020 we will be dropping support for the discordapp.com domain in favor of discord.com. Please ensure that your libraries, bots, and applications are updated accordingly.

cc @

Can this be merged? They are dropping the old domain in the coming months and this package will break.
Last month, we excitedly announced our official move to discord.com. It was a long time in the making, and the work isn't done yet! For now, our API will continue to handle requests made to discordapp.com. On November 7, 2020 we will be dropping support for the discordapp.com domain in favor of discord.com. Please ensure that your libraries, bots, and applications are updated accordingly.

Any thoughts @atymic ?

Totally understand, thank you for your time and help on this.

It's not super urgent, but do you think this might be able to be released in a new version at Packagist so Composer can pick it up? One less thing for me to worry about in the future. =D

Oops, sorry forgot that :P


fix: Remove line causing errors

Implementation of Ash.DataLayer.functions expects a resource, and internally calls Ash.DataLayer.data_layer()
Contributor checklist

[ ] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

🚀Thanks for your contribution🚀


format/igc: Remove duplicate regex exec() call

HFDTE_RECORD_RE_.exec(line) has already been called above

Thanks @Turbo87


Rename project

There exists a project https://pypi.org/project/rbc/ that name conflicts with the Remote Backend Compiler project name.

Renaming would be required if we want to make rbc available via pip.

Decided not to rename the project but publish rbc in PyPi using a different name (suggestions are welcome).

Suggestions: pyrbc, rbc4pip, r2bc2

Renamed to rbc-project and uploaded the pip package:
https://pypi.org/project/rbc-project


Default transformation for a given CRS

I sifted through app.py and it seems like r['code_trans'] (default transformation code) is read from index files, but now I'm wondering how default transformation operation for a given CRS is determined based on bare EPSG database when index is generated. I haven't found any indication to which particular CRS-to-WGS84 operation is a default one in epsg_coordoperation table in the database.
Any help or clue would be greatly appreciated.

It is taken over from GDAL

Sorry for a late reply. Can you be more specific to where exactly in GDAL this information is located? I have taken a look at it and it is only a library. I haven't been able to find anything relating specifically to EPSG data. Thank you.


Integrate Quick Add Work Item in Board View

Integrate Quick Add Work Item in Board View #582

I just tried to build and run the UI (I wanted to create the page object model for the board display) from this PR - the "work" tab display is empty and this error is logged:
ERROR in ./src/app/work-item/work-item-quick-add/work-item-quick-add.component.ts
(51,22): error TS2339: Property 'exmp' does not exist on type 'WorkItemQuickAddComponent'.
Am I missing something? Thx!

@ldimaggi there was one statement to check the output in console . I forgot to remove it earlier but now it is removed

Current coverage is 56.47% (diff: 80.95%)

No coverage report found for master at 5f2305e.

Powered by Codecov. Last update 5f2305e...013457b

The distance between the cards are not the same. Is this how the UX is designed?

Adding an item is not reflecting on the list.

@sanbornsen its reflecting when we are refreshing the page. same issue like issue no 637

The add new WI box has a 5px margin on top, but none at the bottom. All other WI cards have 5px margin on top AND bottom. Hence the issue. @sanbornsen @SMahil

@SMahil yeah, I got it, but need to be fixed anyway.

@SMahil @sanbornsen early on I had asked that all classes in a component start with the component name. I understand that convention is to use dashes not camelCase. Most of the classes use camelCase for the component name. I do not think this PR is the place to fix them all. In fact I think to be consistent we could even stay with the style for this PR. However, I do think we should consider creating a new issue for this, then updating all the classes to use the same style. Consistency is more important then convention. It improves readability.

[test]

[test]


Return 0 as seqno after N retries

Closes #1

I know this is dirty, but it's better to try sending the transaction with the wrong seqno (if it REALLY failed to retrieve after 10 attempts), then not send any transaction at all (while it should be sent with seqno=0).
Thanks again! https://tonscan.org/tx/Bw_aAsZN725uj7-TMwom-CS5_-XewyVLqU2agLGBLto=

I know this is dirty, but it's better to try sending the transaction with the wrong seqno (if it REALLY failed to retrieve after 10 attempts), then not send any transaction at all (while it should be sent with seqno=0).
For a one-off script it is indeed a working solution! Thanks for your contribution.

Thanks again! https://tonscan.org/tx/Bw_aAsZN725uj7-TMwom-CS5_-XewyVLqU2agLGBLto=
Thank you Max! So much appreciated ❤


clear_filter_text is not applied

Describe the bug
Setting clear_filter_text has no effect on the Clear text.
Reproduction steps:
Steps to reproduce the behavior:

Set clear_filter_text to an array in your configuration. Example
var table_filter = new TableFilter(document.querySelector('.units-index-table'), tf_config);

Expected behavior
table_filter.clearFilterText is "Clear"
Observed behavior:
table_filter.clearFilterText is not "Clear"
TableFilter version: 0.6.89
Browser and version: Firefox 66
OS and version: Linux
Device: My laptop. Also your laptop. Well, I hope you can reproduce it.
Additional information/context:
Issue also seems to occur here: https://www.tablefilter.com/external-filters.html

Problem started happening recently, didn't happen in an older version of TableFilter: No, also fails with version 0.6.55
Problem can be reliably reproduced, doesn't happen randomly: Yes

Tx @dset0x for pointing this out, it will be fixed in the next version(s).

@dset0x it should be fixed starting from v0.6.92. Let me know how it goes.
Reminder: this option only applies to select, multiple and checklist filters.
Cheers

Fantastic! Thanks so much, @koalyptus.


The attribute assigned in constructor appears more than once

When an attribute is assigned more than once in class constructor
class DupAttr:
    def __init__(self, name=None):
        self.name = name
        if not self.name:
            self.name = ''

The attribute(here "name") appears several times.
@startuml
class umlclass.DupAttr {
  name: None
  name: None
}
@enduml

hi @doyou89, thank you for reporting your use case.
It is a known behavior of py2puml: see #20 where another user suggested similar cases. The issues here are:

there is no simple solution to document a constructor a code which assigns different values (specially when the type annotations differ) to the same attribute (see the use-cases exposed in issue #20). Should the first detected assignment take precedence or the last one?
there are some workaround (and best practices) to solve what seems to be a 'code smell' - a hint that the codebase seems to have a design issue - (if you can change the codebase):

a constructor should not handle business logic, this should go in a factory (a static method or an independent function)
the logic could stay in the constructor and a value assigned to a local variable, then assign the local variable to the attribute

I know that these answers may not be fully satisfying and I am open to suggestions if you come up with other ways to solve this problem. What approach would you recommend?

I understand you. I also think it's better to modify the code.
Thank your explanation. :smile:


Add support for .map files as JSON (fixes #13)

This change addresses the error you get if you try to serve an app with .map files, e.g. generated by webpack/react. Reference for mimetype: https://stackoverflow.com/questions/19911929/what-mime-type-should-i-use-for-javascript-source-map-files

Thanks, this looks good to me!

Released to hackage:
https://hackage.haskell.org/package/servant-static-th-<IP_ADDRESS>


PPU - fix runtime overflow in get_sprite_pixel

Per the fixme, there's got to be a better way to handle this that I just don't know about.

I mean make the variables u_16. Or does that cause us to add too many casts?

I added spritemax just to deal with the overflow logic, it's not necessary if we use u16. sprite_x is expected to be u8 elsewhere so this was the compromise I came up with.


Planning for Pattern ontology content publishing on the website

(Task created as one of the action items from the Gatsby Theme website building process retro #242).

As an IBM.com Library adopter,

I need to understand how the pattern ontology works,

so that I can create with confidence.

Task

[ ] Discuss what we should provide to our adopters around the ontology work.
[ ] Decided what we need to publish.

Acceptance criteria

[ ] Have a clear idea of what we are going to include in the ontology education section or page.
[ ] Create a task issue/issues for content creation.

Issue moved to carbon-design-system/digital-design-ideation #60 via ZenHub


Adding dropzone in Filewidget

Fixes #1675

@plone/volto-team please review this PR and let us know what you think about this functionality.

@iFlameing some nitpicking and UX improvements:

One other thing I noticed: when I delete an existing image by clicking on the trash icon, the image is deleted but not the preview.

@tisto I have fixed the spacing between the image and label, aligned the image. I only not added the line regarding "You may also drag and drop" because I think we can substitute the preview image to some more meaningful image.

Interestingly, we had the very same need last week and implemented our own widget. We planned to share it this week in order to gather ideas, so here we are :)
The good thing about this is that we also used react-dropzone to implement this 😬
This is our current implementation:
https://github.com/RedTurtle/design-volto-theme/pull/66/files
Empty widget, it says "Drop a new file to upload"

File dropped, it says "Drop a file to replace the uploaded one"

Editing an already-uploaded file

Uploaded a file to replace the current one

We're definitely missing the image preview feature, that was still on the list. Also, it would be useful to show the file type and size, like Plone does.
We're not planning to update our widget this week, that's why I wanted to share it, in order to make some ideas and code available for you to merge, if you find it useful.
A file widget like this is a must have in Volto, imho.

@pnicolli  I am trying to replace the current image Svg to this. It will do the trick. In this way, we will able to give the idea to the user with a preview image feature.
what do you think?????

@tisto It is ready for review

@pnicolli would you mind having a second look at this PR?

@pnicolli I am trying to replace the current image Svg to the below one. It will do the trick. In this way, we will able to give the idea to the user with a preview image feature.
what do you think?????

It would be awesome to have something like a visible dropzone like you suggested here. You can use simple html+css to achieve it, instead of using an svg.
A couple extra feedback:

There is no visual feedback on the dropzone, except for when you are already dragging something onto it.
There is no visual feedback on hover of the explicit "Add" button. Some graphical hover effect would help users (background and/or border change). Also, changing the cursor to a cursor: pointer on hover would help.
When removing an image, the preview correctly disappears but the default doesn't come back:

@iFlameing I think we should go for the RedTurtle solution, use HTML and CSS for the dropzone. Take a look at their PR too to take some ideas.
Then follow @pnicolli advices in his last comment.
Having the preview would be awesome, but maybe fells out of the scope. /cc @tisto

@sneridagh @tisto If we use SVG instead of html/css then we are able to get the preview feature without doing anything. The current implementation will handle that.

@sneridagh @pnicolli can both of you review this again because I fixed all your comments in recent changes.

@sneridagh would be nice if we could look into this in the next days.

I improved the CSS a bit, based on the text buttons originals from Pastanaga UI

I would change the literal "choose a file/image". In the case of the image it's misleading, since if you upload a file, it might break. Nothing new, I'm +1 to unify both images and files objects too.


A New Prior: Integrated Ornstein Uhlenbeck Processes

This PR adds the IOUP prior, and provides an interface for how to specify it
Priors now use initialize_transition_matrices and make_transition_matrices!, so that there is a common interface for both the IWP and the IOUP

Left to do:

[ ] Add a user interface that allows for specifying the IOUP rate parameter
[ ] Write tests
[ ] (optional; otherwise in a future PR) benchmark the resulting solver

Codecov Report

Merging #203 (f90a621) into main (9f7d269) will decrease coverage by 37.79%.
The diff coverage is 22.22%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main     #203       +/-   ##
===========================================
- Coverage   94.73%   56.94%   -37.79%
===========================================
  Files          26       26
  Lines         968     1022       +54
===========================================
- Hits          917      582      -335
- Misses         51      440      +389

Impacted Files
Coverage Δ

src/ProbNumDiffEq.jl
50.00% <ø> (-11.12%)
:arrow_down:

src/priors.jl
26.92% <9.75%> (-73.08%)
:arrow_down:

src/caches.jl
85.91% <33.33%> (-4.37%)
:arrow_down:

src/filtering/predict.jl
66.66% <33.33%> (-33.34%)
:arrow_down:

src/filtering/update.jl
40.90% <36.36%> (-35.57%)
:arrow_down:

src/perform_step.jl
83.80% <42.85%> (-14.11%)
:arrow_down:

src/devtools.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/solution_sampling.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/callbacks.jl
0.00% <0.00%> (-97.44%)
:arrow_down:

src/solution_plotting.jl
0.00% <0.00%> (-97.44%)
:arrow_down:

... and 21 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

There we go:
using ProbNumDiffEq, Plots, LinearAlgebra, OrdinaryDiffEq

A = [-0.9 0; 0 -1.1]
u0 = [0.9, 1.1]
f(du, u, p, t) = mul!(du, A, u)
tspan = (0.0, 50.0)
prob = ODEProblem(f, u0, tspan)

sol = solve(prob, EK1()); sol.destats
sol = solve(prob, EK1(prior=IOUP(3, -1.0))); sol.destats

gives 92 steps with an IWP prior, and 56 with the IOUP :tada:


Where is the Auxiliary BN in your codes?

I have read the AdvResNet in your net.py,  but I can not find anything about the Auxiliary BN, which is an essential part in this paper you reproduced.

Sorry for replying late! I am busy with my undergraduate thesis project these days.
Yes, in net.py, we don't specify the normalization layer, and we send MixBatchNorm2d in imagenet.py into the model, which contains main and auxiliary batch normalization layers.
You could check ResNet in net.py, and could notice that the normalization layers are given by the variable "norm_layer", which could be specified outside.
If you still have any other question, you could send emails to<EMAIL_ADDRESS>which I should reply much faster.


vlSelection functions not called on dataset update

If either of the vlSelection functions are used by themselves in a production rule test function, they are not called when the referenced dataset changes. I believe this is because we do not have a vlSelectionVisitor to add a parameter reference to the dataset?
We missed this earlier because our test specs always used a tuples call (in addition to the vlSelection) which wired up the nodes correctly. However, the tuples call should no longer be necessary since vlSelection returns true if the dataset is empty.

Fixed in 8d421275b1eec3bd90c23332ab7bdacb608d0ff4.


Support data suggestion: Intl.PluralRules

Chrome 63 has it. Firefox has an implementation that is currently behind a flag.

+1

@Schweinepriester @matiasm15 @dartess @hogart @JakoD  - you need to actually add a "+1" comment for your vote to count, it seems, thumbs up doesn't do anything.

+1

Now available at https://caniuse.com/#feat=intl-pluralrules


Decimal support

Read decimal datatype into Arrow decimal datatype

Resolved by https://github.com/datafusion-contrib/datafusion-orc/commit/bb885c03cfedb4d4e16d0203b90a9789463e2fb7


deprecation

index.less
Use the atom-text-editor tag instead of the editor class.
Create Issue on atom-monokai-dark repo

Is this not done already? https://github.com/james2doyle/atom-monokai-dark/blob/master/index.less#L19

Closed with #14


Revert "Set the org.gradle.dependency.bundling attribute to external"

Reverts detekt/detekt#3738
See #3743 & #3747. The workaround won't be necessary now we're back to publishing a single variant with the attribute "org.gradle.usage": "java-runtime"

Thanks for taking care of this @3flex 🙏


Main Hand is in left instead of right

What is the output link of /viaversion dump?
https://dump.viaversion.com/e7ec5684ff728eab186e25032c5d003ae9d9248c2dbc7c2b41b0f6ab0d8f71ff
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
i'm using BungeeCord with ViaVersion, ViaRewind, ViaBackwards in it
How does this error happen? login? Using an item?
When i'm on another server and i use /hub
it teleports me to the lobby with the main hand in the left
Lobby server it's on 1.12.2 and The other server that i connect it's on 1.8 with ViaVersion
Is there an error in the console? Use pastebin.com. Is there a kick message?
No errors

This sounds like you have your "Main Hand" setting changed to Left in the "Skin Customization" portion of the Minecraft settings.

Does this happen when you only instal ViaVersion/Backwards/Rewind on your spigot servers and not bungee?

i have selected Main Right hand
But
When i use
ViaVersion/ViaRewind/ViaBackwards
on 1.12
and joining a server that it's linked with my bungeecord
with 1.8 this bugs occurs when i go back on the 1.12 server
But if i join a server that it's linked with my bungeecord too
with 1.12 this bugs doesn't exist anymore

Having this problem aswell.

Duplicate of #798


Remove the v2 promo banner from the doc homepage

Link to the Page
https://www.skeleton.dev/
Describe the Issue (screenshots encouraged!)
With v2 being out for a bit I think we're fine to go ahead and remove this banner.

Consider removing the "new" badges in navigation links as well


[otbn] Remove auto-inferred latch in controller

This is related to lowRISC/OpenTitan#3773.

Thanks @GregAC for the review, could you please approve the PR?

Thx @imphil :+1:


istio-agent drops every xDS client connection after the first, blocking grpc-go upgrade beyond 1.65.0

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
grpc-go post 1.65.0 introduces separate xDS client connections to istiod for each named grpc service connected to that were previously handled by a single xDS client. In our usage scenario, we follow the instructions in https://istio.io/latest/blog/2021/proxyless-grpc/#in-your-kubernetes-deployment having the grpc-agent enabled and provide settings in a bootstrap.json file.
Once we upgrade to the grpc-go client that uses multiple clients, all gRPC requests start failing due to the istio-agent side car dropping all xDS connections after the first (e.g. clients that use gRPC service a, b and c, only the first connection gets created successfully (see log below).
We expect the istio-agent to proxy the additional xDS client connections instead of being dropped.
The end result is that we're blocked on upgrading the grpc-go client beyond 1.65.0 where the multiple xDS client connections are introduced.
{"level":"info","time":"2024-10-11T17:57:26.160505Z","scope":"xdsproxy","msg":"Initializing with upstream address \"istiod-1-22-4.istio-system.svc:15012\" and cluster \"Kubernetes\""}
{"level":"info","time":"2024-10-11T17:57:26.427983Z","scope":"cache","msg":"generated new workload certificate","resourceName":"default","latency":267051261,"ttl":86399572022083}
{"level":"info","time":"2024-10-11T17:57:26.428066Z","scope":"cache","msg":"Root cert has changed, start rotating root cert"}
{"level":"info","time":"2024-10-11T17:57:26.428100Z","scope":"cache","msg":"returned workload certificate from cache","ttl":86399571901173}
{"level":"info","time":"2024-10-11T17:57:26.428366Z","scope":"cache","msg":"returned workload trust anchor from cache","ttl":86399571634504}
{"level":"info","time":"2024-10-11T17:57:26.428802Z","scope":"cache","msg":"returned workload trust anchor from cache","ttl":86399571198514}
{"level":"info","time":"2024-10-11T17:57:33.536595Z","scope":"xdsproxy","msg":"connected to upstream XDS server: istiod-1-22-4.istio-system.svc:15012","id":1}
{"level":"warn","time":"2024-10-11T17:57:33.808855Z","scope":"xdsproxy","msg":"registered overlapping stream; closing previous"}
{"level":"warn","time":"2024-10-11T17:57:33.809498Z","scope":"xdsproxy","msg":"registered overlapping stream; closing previous"}
{"level":"info","time":"2024-10-11T17:57:33.815859Z","scope":"xdsproxy","msg":"connected to upstream XDS server: istiod-1-22-4.istio-system.svc:15012","id":2}
{"level":"info","time":"2024-10-11T17:57:33.816460Z","scope":"xdsproxy","msg":"connected to upstream XDS server: istiod-1-22-4.istio-system.svc:15012","id":3}
{"level":"warn","time":"2024-10-11T17:57:34.817348Z","scope":"xdsproxy","msg":"registered overlapping stream; closing previous"}
{"level":"warn","time":"2024-10-11T17:57:34.818000Z","scope":"xdsproxy","msg":"registered overlapping stream; closing previous"}

Version
$ istioctl version
client version: 1.22.2
istiod version: 1.22.4
data plane version: 1.22.4 (247 proxies)

$ kubectl version
Client Version: v1.29.7
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.8-gke.1096000

Additional Information
Google GKE
Original grpc-go ticket when upgrade broke gRPC calls : https://github.com/grpc/grpc-go/issues/7691

Note that this is not just an issue for grpc-go; it will be an issue for all gRPC languages as well.  This stems from the fact that as part of the xDS fallback design (see gRFC A71), we've switched to using a separate ADS stream for each data plane channel target, and that's a cross-language design.
(At the moment, gRPC C-core will not have this problem, because our subchannel sharing mechanism means that even though we still have separate ADS streams, we'll still share the underlying connection.  But we may need to disable subchannel sharing in this case if we run into MAX_CONCURRENT_STREAMS limits.)

The overlapping streams check was added in #29811. Looks like the main concern is to make sure we clean up the correct stream during race conditions. Having multiple client grpc streams is not something we've planned for from what I can tell

This seems like a fairly arbitrary limitation in istio.  Why can't the proxy handle multiple streams?
Is this a connection-level limitation (i.e., can't have more than one connection) or a stream-level limitation (can't have more than one stream, even if they're all on the same connection)?  If it's a stream-level limitation, it will apply to C-core as well.

Okay.  How hard is it to fix that?

I'd want @kyessenov or @howardjohn to weigh in here; we want to make sure we teardown the correct connections in our internal structs. Multiple streams means we'd need some way to identify/differentiate between them in the proxy

I defer to @howardjohn since this is a control plane constraint. There's no problem with multiple streams on the data plane.

This issue is blocking folks from upgrading to the latest grpc versions. Is there an update worth sharing here? Or maybe a workaround that people can use?
Thanks.


nextcloud-client: restrict platform to linux

Motivation for this change
/cc ZHF #36454
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Can you write a line in the commit message why we should restrict nextcloud-client to linux? (Like "nextcloud-client does not support darwin", or something like that?)

There are some underlying dependencies failing. qtkeychain was one (fix in #36834), but there are others.
I'll update the message to reflect this.

/cc maintainer @caugner.


Multiple UPF instances - UPF Selection and N9

I notice there are three UPF containers (upf1, upf2, upfb) in the setup. From the names I would understand them as two operating UPFs and one backup UPF. After connecting it to the UERANSIM, the PDU session is established between the UE and upf2.
I have the following questions. How does SMF select which UPF instance to use in this setup? When will the backup UPF be selected? Does this setup support chaining two UPFs via N9 interface? Thank you in advance!

Hi @carloshemu b stands for branching and not backup. You can check this setup in Free5GC docs here: https://github.com/free5gc/free5gc/wiki/SMF-Config


Images not rendered / Unsupported predictors 132 & 255

Link to PDF file (or attach file here):
http://www-eu.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-6.6.pdf
Configuration:

Web browser and its version: Firefox 55.0.3
Operating system and its version: Windows 7
PDF.js version: 1.8.439
Is an extension: No

Steps to reproduce the problem:

Open linked PDF file
Scroll down to page 11 (16)

What is the expected behavior? (add screenshot)
Images are rendered:

What went wrong? (add screenshot)
Images are not rendered:

Error console:
PDF ad557cf1f10fc51f55a5f8fdb17f6669 [1.4 Written by the Apache Lucene/Solr Project / Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2] (PDF.js: 1.8.439)  viewer.js:1503:7
Error: Unsupported predictor: 255  pdf.worker.js:352:5
predictorStreamReadBlockPng@resource://pdf.js/build/pdf.worker.js:2322:10
DecodeStream_getBytes@resource://pdf.js/build/pdf.worker.js:1830:11
PDFImage_getImageBytes@resource://pdf.js/build/pdf.worker.js:33012:14
PDFImage_createImageData@resource://pdf.js/build/pdf.worker.js:32948:18
PartialEvaluator_buildPaintImageXObject/<@resource://pdf.js/build/pdf.worker.js:16907:23
  pdf.worker.js:353:5
Warning: Unable to decode image: Error: Unsupported predictor: 255  pdf.worker.js:344:5
Warning: Dependent image isn't ready yet  pdf.js:344:5
Error: Unsupported predictor: 255  pdf.worker.js:352:5
predictorStreamReadBlockPng@resource://pdf.js/build/pdf.worker.js:2322:10
DecodeStream_getBytes@resource://pdf.js/build/pdf.worker.js:1830:11
PDFImage_getImageBytes@resource://pdf.js/build/pdf.worker.js:33012:14
PDFImage_createImageData@resource://pdf.js/build/pdf.worker.js:32948:18
PartialEvaluator_buildPaintImageXObject/<@resource://pdf.js/build/pdf.worker.js:16907:23
  pdf.worker.js:353:5
Warning: Unable to decode image: Error: Unsupported predictor: 255  pdf.worker.js:344:5
Warning: Dependent image isn't ready yet  pdf.js:344:5
Error: Unsupported predictor: 132  pdf.worker.js:352:5
predictorStreamReadBlockPng@resource://pdf.js/build/pdf.worker.js:2322:10
DecodeStream_getBytes@resource://pdf.js/build/pdf.worker.js:1830:11
PDFImage_getImageBytes@resource://pdf.js/build/pdf.worker.js:33012:14
PDFImage_createImageData@resource://pdf.js/build/pdf.worker.js:32948:18
PartialEvaluator_buildPaintImageXObject/<@resource://pdf.js/build/pdf.worker.js:16907:23
  pdf.worker.js:353:5
Warning: Unable to decode image: Error: Unsupported predictor: 132  pdf.worker.js:344:5
Warning: Dependent image isn't ready yet  pdf.js:344:5

Apache PDFBox has the same problem and here's my 2ct on this:
When I removed the predictor (overwrite "/Predictor 15" with blanks) from the PDF then it was rendered properly.
The PDF specification has this about /DecodeParms :

A parameter dictionary or an array of such dictionaries, used by the filters specified by Filter. If there is only one filter and that filter has parameters, DecodeParms shall be set to the filter’s parameter dictionary unless all the filter’s parameters have their default values, in which case the DecodeParms entry may be omitted. If there are multiple filters and any of the filters has parameters set to nondefault values, DecodeParms shall be an array with one entry for each filter: either the parameter dictionary for that filter, or the null object if that filter has no parameters (or if all of its parameters have their default values). If none of the filters have parameters, or if all their parameters have default values, the DecodeParms entry may be omitted.

Currently PDFBox takes "whatever is there" from the DecodeParms array / dictionary.
So now I tried to implement the specification literally in PDFBox ("If there is only one filter and that filter has parameters, DecodeParms shall be set to the filter’s parameter dictionary") and that failed, there are files that have a filter array with 1 element and have a /DecodeParms array with 1 element and these render properly with Adobe Reader, but no longer in PDFBox. So that "incorrect" DecodeParms array element must be used or it will look bad. The PDF specification should read "If there is only one filter as a name object and..."
Then I tried to implement that a dictionary would be expected when the filter was only a name, and that worked, i.e. no regressions, and the SOLR file renders too.
in parser.js you have this today:
      if (isName(filter)) {
        if (Array.isArray(params)) {
          params = this.xref.fetchIfRef(params[0]);
        }
        return this.makeFilter(stream, filter.name, length, params);
      }

In an older version that I saved years ago the code was like this:
      if (isName(filter)) {
        return this.makeFilter(stream, filter.name, length, params);
      }

This logic was changed in commit c8f83d6 but I could not find a PR nor did I understand whether it solved a problem with a specific file.
Btw the very first page of the PDF has the same issue.

Fixed by the pull request above.
@THausherr Thank you for providing your analysis!


License

Hello,
I'm about to port gog TR extractor to FreeBSD and system needs a license so it can be packaged.
If I use LICENSE=NONE:
Warning: License is not auto-accepted, packages will not be built, ports depending on this one will be ignored.
Warning: License does not allow package to be distributed, ports depending on this one will be ignored

Could you take a look at LICENSES and see if you find some license suitable to you?
Thanks,
Nuno Teixeira

Hello,
I found a good one:
https://unlicense.org/
Could you take a look?

Hi, I don't have much consideration for intellectual property so my license of choice is WTFPL (56d0f5a). I would gladly release my work into the actual public domain if the country I live in did not have shitty laws to prevent people from voiding their own copyright. The unlicense thus has no value if coming from me.


[DOC] Fix installation method for JS

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
I've fixed a typo for the usage guide. Code was written in Python in the JS tab, so I update it

This change is deprecated given current state of the docs. https://docs.trychroma.com/guides - thanks for opening it!


Cannot stop container

Sometimes it cannot stop container when I want to close it from Kitematic. gives the ,message no such container
404
no such id: tender_pike

I believe this happens when a container died after an update. If you get a container error, you will not be able to remove it, as it was not actually created.
Can you provide the steps taken to reproduce this issue?

No feedback in more than week - Closing


switch to OpenCyphal library

hi @aentinger
I switched the project to the new OpenCyphal library.
Could you please fix the compile check issue or do we simply wait until the 107-Arduino-Cyphal library is released?
Thanks


Have a way to configure vm.args

This is needed for Nx, for example:
https://github.com/elixir-nx/nx/pull/471
One option is to show "Advanced Options" under the runtime configuration. We can also support an environment variable to make it easy to set. Another option is to introduce a new pane under "Settings" with Erlang VM configuration or similar. Or a combination of all of the above.

I think the simplest option for now is to just ship with +sssdio 128. I will do that.


Meeting Times Over Spring Break

Use this thread for coordinating meeting over spring break.
Will be in the lab tomorrow by late morning ~ noon
To do:
-Replace IR-Cape PIC
-Continue programming arm subroutines
-Reconfigure IR sensor mount
Could probably use a wiring diagram of the bot at some point, any new electrical devs want to handle that?  ~ @tabarrett
@kvijay1995 @relnor  How's navigation going?  Did the wheels fall off?

The wheels have been excellent. They haven't fallen off yet. Navigation development came to a standstill on Saturday since the IR-Cape caused I2C problems. Hoping to continue development tomorrow.

Will anyone be working later on in the break?

I'll be in tomorrow at 6:30. I need to hear from James about the new
couplers
On Mon, Mar 7, 2016 at 7:41 PM, Andrew Rather<EMAIL_ADDRESS>wrote:

Will anyone be working later on in the break?
—
Reply to this email directly or view it on GitHub
https://github.com/IEEERobotics/bot/issues/466#issuecomment-193528614.

I'll be in tomorrow as well, probably by 1pm or so

@mynameis7 We probably will be working most of this week.
I'll be in today at around 2.30pm

Is anyone coming today? I will be on campus till about 4

Will be there around 1:30

Hackday is in full swing

I can come in today After 3 if anyone wants to work together

Now that the robot has been merged into two parts, it's difficult for people to work on subsystems at the same time.
So we have a calendar for people to help schedule meeting times outside of the normal meetings.
We're only 2 weeks away from competition, and we're extremely close to being done. We need everyone to do what they can with this final push to make sure we can compete!
https://calendar.google.com/calendar/render?pli=1#main_7


[APIM 3.0.0] Create new Web socket API

Description:
Duplicated in https://github.com/wso2/carbon-apimgt/issues/5795

Fixed https://github.com/wso2/carbon-apimgt/pull/5762


[Feature] checkpoints count and status attachment

Is your feature request related to a problem? Please describe.
There should be specific metrics regarding the exact number of checkpoints (assertions and validations) and how many of those have passed or failed, in addition to the standard metrics for the test cases.
Describe the solution you'd like
Having an attachment which details this information would be beneficial.

Please and Thank You.

Won't do.


HAL-1883: Fix test issues in manatoko logging tests

https://issues.redhat.com/browse/HAL-1883

Thanks for the fixes @OndrejKotek


chore(deps): update common-dev-assets digest to bdc05c5

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
8685939 -> bdc05c5

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 5.2.2 :tada:
The release is available on:

GitHub release
v5.2.2

Your semantic-release bot :package::rocket:


Display more readable logs for local dev

Maybe we could use the pretty formatter for local dev and leave the json one for production?

https://github.com/LukeMathWalker/bunyan can be used for this! no need to change the logs format depending on the environment. mb, should've pointed this out on the original recommendation/PR :)

Oh cool. Thanks for pointing it out


Update to use .toml files for new Pkg3 Registrator.jl compatability

Add .toml files and disable broken blink test. Bump version number to v0.4.0.

@JuliaRegistrator register()

Pull request comments will not trigger Registrator as it is disabled. Please trying using a commit or issue comment.


IIS vs IIS Express deployment / debug

I've followed this section and done a lot of google searching. However, under Debug - IIS Express with IIS Express as the "Launch" setting, I am able to pass through my Windows Credentials to our SQL server. It authenticates fine. When published to my local IIS OR using IIS as the "Launch" (Assuming that's the same), the authentication passed to SQL is the local computer domain account. I've worked with making sure the applicationHost.config is correct as well as making sure the web.config file is set correctly. Is there something glaring I'm missing with the other configurations?
I've also tried AspNetCore 2.0,2.1 and attempted 2.2, but I cannot use that since I have a project with .Net Standard 2.0 attached. 2.2 will not work with .Net Standard 2.
I've also attempted to publish this to a Windows 10 computer and have the same results.
Local Windows 7
VS2017 Debug....
Under Launch IIS Express...
Launch browser checked....
Environment variables ... ASPNETCORE_ENVIRONMENT = Development (I've done Production as well)
IIS Express Bitness - Default
Hosting Model - Default
Enable SSL Checked.
Enable Anonymous Auth - NOT checked
Enable Windows Auth - Checked.
Under Launch IIS
SSL / IIS Express Bitness Settings aren't available. Everything else remains the same.
applicationhost.config ...
<----->
<sectionGroup name="authentication">

</sectionGroup>
<--- >.....
<authentication>
<anonymousAuthentication enabled="false" userName="" />
<basicAuthentication enabled="false" />
<clientCertificateMappingAuthentication enabled="false" />
<digestAuthentication enabled="false" />
<iisClientCertificateMappingAuthentication enabled="false">
</iisClientCertificateMappingAuthentication>
<windowsAuthentication enabled="true">
<providers>
<add value="NTLM" />
</providers>
</windowsAuthentication>
</authentication>
        <authorization>
            <add accessType="Deny" users="*" />
        </authorization>

web.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<aspNetCore processPath="%LAUNCHER_PATH%" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" arguments="%LAUNCHER_ARGS%">
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
<environmentVariable name="ASPNETCORE_HTTPS_PORT" value="44399" />
</environmentVariables>
</aspNetCore>
<handlers>
<add name="aspNetCore" path="" verb="" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<security>
<authentication>
<windowsAuthentication enabled="true" />
</authentication>
</security>
</system.webServer>
</location>
</configuration>

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 401ad9a0-9e51-80a2-5846-82e9790d7257
Version Independent ID: fbc36c26-9992-1f4c-66d3-02f898ee7ec4
Content: Configure Windows Authentication in ASP.NET Core
Content Source: aspnetcore/security/authentication/windowsauth.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @scottaddie
Microsoft Alias: riande

Note: I ran the customer applicationhost.config via iisexpress /config:c:\myconfig\applicationhost.config /site:MySite ... and it loaded and used windows authentication fine.

I fixed this issue.... but still have the windows authentication problem when under published IIS application.

This issue..... ***
<authorization>
<add accessType="Allow" users="*" />
</authorization>

Hello @Nitro66215 ... There's some overlap here between your issue and another one that we'll probably work: https://github.com/aspnet/AspNetCore.Docs/issues/12144. I'm glad that you were able to get that aspect (IIS Express) working.
WRT the IIS problem ... That authorization rule looks correct. If you have WinAuth enabled on that server, I'm not sure what the problem might be. For guidance, we link off to Windows Authentication <windowsAuthentication>. You probably also saw their guidance for <add>. We don't currently link out for troubleshooting guidance, but there is quite a bit out there. I'll see about that when I work on #12144.
If you're stuck and the IIS guidance and blogs don't help, I suggest posting to a support forum, such as Stack Overflow, or a support chat, such as Slack or Gitter.
Since there isn't a docs issue yet ... I mean the problem is currently unknown ... I'll close this as a duplicate of #12144. When I get to that issue, I'm going to walk the whole topic for IIS and confirm that the guidance is good. I'll also see if I can find a good troubleshooting topic offered by the IIS team (i.e., in the IIS docs) on WinAuth troubleshooting. If you find out what the problem is and fix it, please feel free to post it here. I'll see this again when I work #12144.

Ok Thanks. I figure that IIS Express is built into VS and uses the logged in Users identity. That is why it works. Same as if I run the EXE / DLL from Dotnet command line. It's running as me, so it authorizes it. The issue is on the Deployed server. Whatever you find, please let me know. I'll keep digging.


Update repositories.json for Rene Boer

I created a few drivers for z-wave devices used in Europe. More to come.

Manually merged.


Improve service list sub-command layout

$ kontena service list
NAME                                                         INSTANCES  STATEFUL STATE      EXPOSED PORTS
vpn                                                          1 / 1      yes      running    <IP_ADDRESS>:1194->1194/udp
registry                                                     1 / 1      yes      running
gogs                                                         1 / 1      yes      running
jenkins                                                      1 / 1      yes      running
image-cleanup                                                1 / 1      no       running
internal-lb                                                  1 / 1      no       running    <IP_ADDRESS>:8080->80/tcp

:+1:


Add --web option to create ZXY tiles friendly file

We should add an option to warp and align a file to the webmercator grid!

I'll push this after 1.0.0 because it needs more time and shouldn't be a breaking change.


Spinner for PASS UI loading and Spinner for submission being sent off are different

Make them consistent.

done as part of this PR https://github.com/OA-PASS/pass-ember/pull/738


Remove python version specifier from Nox tests definition

There is no need to specify the Python version for Nox tests. Without a specific version, Nox will use whatever Python interpreter its parent environment has.
So, if we only have Python 3.6 on Travis, and Python 3.7 or 3.8 on other deployments, tests will run using the same interpreter.

Hmm seems like the Travis tests are failing with nox. It is picking up python 2.7. Maybe add the constraint >= 3.6 ?

Latest commit worked, thank you for your contribution! Importing now, will be merged in Monday's update.

Cool! Thanks.


Unhandled Exception: MissingPluginException(No implementation found for method prepare on channel flutter_inapp)

Version of flutter_inapp_purchase
0.9.2
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
initiated connection
Actual behavior
Unhandled Exception: MissingPluginException(No implementation found for method prepare on channel flutter_inapp)
Tested environment (Emulator? Real Device?)
Emulator
Steps to reproduce the behavior
initialise app using FlutterInappPurchase.initConnection

You should not be using this in emulator


Create into_option method.

Fixes issue #31. I included a doc test with the compile_fail attribute that demonstrates a simple case this is useful. Also, if type inference in the compiler improves and this method becomes obsolete, the test will fail.

Thank you :+1:


Implement RFC7232 precedence algorithm for preconditions

RFC7232 Section 6 defines the order of evaluation when more than
one precondition is present for a conditional request.
Basicaly the algorightm is: compare the tags first, and compare
the dates only if the tags are absent.

I know that there are good reasons here, but this change includes backwards-incompatible changes to the public API of RequestImpl-- is it possible to maintain the existing methods?

Yes I see that incompatibility can be a problem.
This might affect services that sends both ETag and LastModified, but doesn't keep its ETag in sync with its LastModified and expects/rely on LastModified being evaluated even if ETag preconditions succeed.
On the other hand, not implementing rfc7232 may have adverse effect on people considering migrating from a compliant library (e.g. Jersey or CXF). At least some of my tests failed when I substituted Jersey with Resteasy.

I haven't looked at the changes yet, but my general principle is that, for non-major releases, new behavior should be optional and should be invoked by a configurable parameter that defaults to "old behavior".

I have amended this pull-request and added a configuration parameter to support RFC 7232 compatible preconditions: https://github.com/resteasy/Resteasy/pull/754

Hey Jess, Dimitry,
Should I consider this PR to be superseded by https://github.com/resteasy/Resteasy/pull/754? I mean, I would definitely want something like the "resteasy.rfc7232preconditions" context parameter. And it looks like both PRs accomplish the same thing. Is there anything in this PR that isn't in https://github.com/resteasy/Resteasy/pull/754? I don't think so, but it doesn't hurt to ask.
-Ron

@ronsigal that's correct. I have forked this pull-request and made it configurable via context parameter in https://github.com/resteasy/Resteasy/pull/754

Thanks, Dimitry.

PR754 fixed this.


FlowRouter break onClick functionality of React components on anchors

I have spent significant time on checking why my onClick events on anchors are not triggered and it all points to the FlowRouter. consider these examples:
NOT TRIGGERED

TRIGGERED

TRIGGERED

Do you have any idea what can be the problem?
Thanks

I'm not sure we do anything for that. May be React doesn't do it when there's an URL href.
Again, I'm not sure about the real reason.

Hmm, I thought that Router is somehow interfering with events. My last possibility is semantic ui, which tend to do weird stuff with DOM. If you are sure it cannot be FlowRouter, I'll close this issue.

can confirm this. It's flow router that interferes with click events on links.

I'm having the same issue.
Works
var link = "https://www.google.com";
...

Doesn't work
var link = FlowRouter.path('anotherPage', { param: paramValue });;
...

Any ideas how do get around this?


Extend Label/Button/Image-Brick from GenericBrick

Fixes #66

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@757605d).

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 757605d...97a8408. Read the comment docs.


Native C (bindgen) dependent crates do not compile?

I wrongly filed this issue on rust-htslib: https://github.com/rust-bio/rust-htslib/issues/179
After a bit more digging, I now believe it belongs here. I've put together a small reproducer using the serverless-aws-rust-multi template, just adding an additional lambda function called htslib:
https://github.com/brainstorm/serverless-aws-rust-multi-fail-native-crate
There's a full explanation and error log on the README from the repo above, but TL;DR the lamda-rust docker container doesn't seem to compile/link the rust-htslib crate with C bindings well:
  = note: /code/target/lambda/release/deps/librust_htslib-fc86895fccfb6420.rlib(rust_htslib-fc86895fccfb6420.rust_htslib.25lsx2fx-cgu.11.rcgu.o): In function `rust_htslib::bam::Reader::new::h7805fb2441edac2e':
          rust_htslib.25lsx2fx-cgu.11:(.text._ZN11rust_htslib3bam6Reader3new17h7805fb2441edac2eE+0x4c): undefined reference to `sam_hdr_read'
          /code/target/lambda/release/deps/librust_htslib-fc86895fccfb6420.rlib(rust_htslib-fc86895fccfb6420.rust_htslib.25lsx2fx-cgu.11.rcgu.o): In function `_$LT$rust_htslib..bam..Reader$u20$as$u20$core..ops..drop..Drop$GT$::drop::hc749ab5efb9aea68':
          rust_htslib.25lsx2fx-cgu.11:(.text._ZN66_$LT$rust_htslib..bam..Reader$u20$as$u20$core..ops..drop..Drop$GT$4drop17hc749ab5efb9aea68E+0x5): undefined reference to `hts_close'
          /code/target/lambda/release/deps/librust_htslib-fc86895fccfb6420.rlib(rust_htslib-fc86895fccfb6420.rust_htslib.25lsx2fx-cgu.11.rcgu.o): In function `rust_htslib::bam::hts_open::hac1f0f64c9261566':
          rust_htslib.25lsx2fx-cgu.11:(.text._ZN11rust_htslib3bam8hts_open17hac1f0f64c9261566E+0xc3): undefined reference to `hts_open'
          /code/target/lambda/release/deps/librust_htslib-fc86895fccfb6420.rlib(rust_htslib-fc86895fccfb6420.rust_htslib.25lsx2fx-cgu.11.rcgu.o): In function `_$LT$rust_htslib..bam..HeaderView$u20$as$u20$core..ops..drop..Drop$GT$::drop::h06ec3494656e04e9':
          rust_htslib.25lsx2fx-cgu.11:(.text._ZN70_$LT$rust_htslib..bam..HeaderView$u20$as$u20$core..ops..drop..Drop$GT$4drop17h06ec3494656e04e9E+0xb): undefined reference to `bam_hdr_destroy'
          collect2: error: ld returned 1 exit status

Hello @nlhepler!
I just noticed your recently merged hts-sys packaging for rust-htslib PR and while reading the cargo sys section I was wondering if rust-htslib needs a links= parameter for the crate above to compile successfully?
Also @clux refers to other *-sys crates on a related issue... is there an easy way to determine what rust-htslib requires from the error message above? I seriously doubt that LLVM/clang is required since I've compiled the native samtools htslib in the past with GCC...?
I'm new to rust-htslib and bindgen and *-sys crates and its packaging intricacies, so any directions/suggestions on how to fix this are very appreciated :)

Hi @brainstorm!
We did! Exciting times. I'm also very new to these things, but I was also trying to follow the guidelines. My understanding is that the -sys library that links the system library needs to specify links=, and indeed, the hts-sys package does specify links: https://github.com/rust-bio/rust-htslib/blob/master/hts-sys/Cargo.toml#L6. My understanding is that rust-htslib does not need links=, it only needs to depend on an hts-sys.

LLVM being required may be part of the linker rust uses. I am not entirely sure, I have seen these errors from time to time myself, but I've always had llvm-config to add to PATH.

Thanks @nlhepler for the pointers! Yesterday I managed to fix the muslrust container that was also failing for rust-htslib with a single apt-get install clang line:
https://github.com/clux/muslrust/issues/66#issuecomment-580990915
I'll try to import the fix to this lambda-rust container as it's better integrated with serverless.com framework.

Aaand, problem solved! I just had to:
yum remove clang && yum install clang6.0
Since the installed clang/llvm is 3.6 but htslib seems to require clang 3.9 minimum.
Next up is pullrequest and a testcase.

For me it failed here:
thread 'main' panicked at 'failed to execute ["musl-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "include" "-Wall" "-Wextra" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-U_FORTIFY_SOURCE" "-DNDEBUG" "-c" "-o/builds/race-passport/serverless/target/x86_64-unknown-linux-musl/release/build/ring-8813b0c2d3b38690/out/aesni-x86_64-elf.o" "/root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.15/pregenerated/aesni-x86_64-elf.S"]: No such file or directory (os error 2)', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.15/build.rs:661:9

Is this the same issue or a other one?

@johansmitsnl Check ring-0.16.15/build.rs:661:9, but it doesn't seem to be related to this issue :-S

I found that musl-gcc is not installed in the image. Installing makes it build. Why is musl-gcc not available?

Why is musl-gcc not available

The goal here is to leverage a build environment that aligns as closly with the runtime as possible.
We could add musl-gcc to the build environment but we might start walking the path of assuming environmental dependencies that won't exist in the actual lambda runtime.


One possiable bug in agent._teacher_action()

One possible bug here:
https://github.com/airsplay/R2R-EnvDrop/blob/1f460912e0b522de5d0a21181efd194f90386a77/r2r_src/agent.py#L184

Thanks. Could you specify it a little bit more?

Close the issue because no specification is given (only an else statement is marked and I did not find unusual behavior around this statement).

Please look into the code, the above can be linked to the bug I reported. It seems that else is matched with for???
            for k, candidate in enumerate(ob['candidate']):
                if candidate['viewpointId'] == ob['teacher']:   # Next view point
                    a[i] = k
                    break
            else:   # Stop here
                assert ob['teacher'] == ob['viewpoint']         # The teacher action should be "STAY HERE"
                a[i] = len(ob['candidate'])

I'm sorry that there no bug here. It's my misunderstanding. Thanks!


Multiple request body type for same endpoint

First check

[YES ] I used the GitHub search to find a similar issue and didn't find it.
[ YES] I searched the FastAPI documentation, with the integrated search.
[ YES] I already searched in Google "How to X in FastAPI" and didn't find any information.

Description
How can I add multiple request body for same endpoint. I wanted to accept application/json and application/pdf for same endpoint. Lets say i have exposed http://localhost:5000/test which should accept application/json as well as application/pdf. I wanted to write business logic based on request body type.?
Is it possible to expose only one endpoint with multiple request body type like application/json and application/pdf?
Additional context

Duplicate of #990.

Thanks for the help here @phy25 ! :bow:
Let's go to the original issue. I'll close this one.


Atom.SetNumExplicitHs method

RDKit Atom object has method "SetNumExplicitHs" which does not have any sense, and in reality, it sets a number of implicit Hs:
from rdkit import Chem
mol = Chem.MolFromSmiles('[C]')
mol

mol.GetAtomWithIdx(0).SetNumExplicitHs(4)
mol.GetAtomWithIdx(0).SetNumRadicalElectrons(0)
mol

Should not it be renamed to "SetNumImplicitHs"?

Here's an explanation of this mess:
<EMAIL_ADDRESS>

And, yes, we should change it, but doing so potentially breaks a lot of code, so we're trying to figure out how to do that as gently as possible.


Add light abstraction

Reduce verbose code by adding abstraction

looks good, I'll wait for the tests.


Install libcnb-cargo instead of cargo-make when releasing

Fixing https://github.com/heroku/buildpacks-jvm/pull/215#issuecomment-991054661 and other issues (see: #224, #225, #226) in the release action. Successful release run from the code in this branch can be seen here: https://github.com/heroku/buildpacks-jvm/actions/runs/1657597150
Closes GUS-W-10383141

@Malax There is one remaining reference to cargo-make in the readme:
https://github.com/heroku/buildpacks-jvm/blame/0e37af888e3e38d70c2fd927b372f4e886d1cae8/buildpacks/jvm-function-invoker/README.md#L6


Possibly fix race in queue tests

#1441 complains of a race in the queue_disk_test and queue_disk_channel_test - I believe that these are related to the assignment to err within the goroutine.
Related #1441
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

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

@@            Coverage Diff             @@
##           master   #12734      +/-   ##
==========================================
- Coverage   43.40%   43.40%   -0.01%
==========================================
  Files         648      648
  Lines       71548    71548
==========================================
- Hits        31053    31052       -1
+ Misses      35468    35466       -2
- Partials     5027     5030       +3

Impacted Files
Coverage Δ

modules/indexer/stats/db.go
43.47% <0.00%> (-17.40%)
:arrow_down:

modules/indexer/stats/queue.go
64.70% <0.00%> (-11.77%)
:arrow_down:

modules/queue/unique_queue_disk_channel.go
53.84% <0.00%> (-1.54%)
:arrow_down:

modules/queue/workerpool.go
58.77% <0.00%> (-1.23%)
:arrow_down:

modules/git/repo.go
49.74% <0.00%> (-1.02%)
:arrow_down:

models/issue_comment.go
53.90% <0.00%> (+0.15%)
:arrow_up:

models/error.go
35.32% <0.00%> (+0.51%)
:arrow_up:

models/gpg_key.go
55.40% <0.00%> (+0.58%)
:arrow_up:

services/pull/check.go
50.00% <0.00%> (+2.30%)
:arrow_up:

models/unit.go
49.31% <0.00%> (+2.73%)
:arrow_up:

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 78509b5...2d3a0b2. Read the comment docs.


SSL self signed certificate.

Here is the output from the console:
SSL! TURNED ON!
Connecting..
Cause: self signed certificate in certificate chain
CERT STR: /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root
VALID: 0

Changing line 246 in http_client.cpp resolves the issue:
from:
Error err = ssl->connect(tcp_connection,true,ssl_verify_host?conn_host:String());

to:
Error err = ssl->connect(tcp_connection,false,ssl_verify_host?conn_host:String());

well, you do need to validate certificates in order to avoid MITM. Are you using a proper certs file?

Added an SSL tutorial:
https://github.com/okamstudio/godot/wiki/tutorial_ssl


The operation for multisig functions must have an intrinsic hash

reference 1: documentation comments above modifier onlymanyowners(bytes32 _operation) in file zeppelin-solidity/contracts/ownership/Shareable.sol wants the operation hash to be intrinsic.
reference 2: function confirm(bytes32 _h) onlymanyowners(_h) returns (bool) confirms and checks that the multisig operation can be executed based on this hash (_h) that is computed in function execute(address _to, ... as:
// determine our operation hash.
_r = keccak256(msg.data, block.number);
Is it not possible for multisig operation transactions from different owners to straddle/fall-into different block numbers? is there an issue here?
Thanks

from my package.json:
"_from": "zeppelin-solidity",
"_id"<EMAIL_ADDRESS>

Thanks for reporting @tavitohanian!
MultisigWallet is no longer part of OpenZeppelin as of #328, so I will close this issue.
However, the question is interesting, and the piece of code can be found live in ethereum/dapp-bin. The block.number is acting as a nonce, so that the same parameters can be used for a multisig transaction at different moments. (We want to be able to send 1 ether to John today, and again tomorrow, and have those two transactions receive different transaction hashes.)
It is an issue if you intend to confirm an existing transaction using execute, but this is not the usual way to go about it. Instead, once a proposal for a transaction is submitted, the rest of the owners will use the generated hash and call confirm on it.


[BEAM-13294] Widen key schema for all keys before use

Fix bug where nullability widening breaks if the second column is wider than the first.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @ibzib

Ran this on internal tests, this fixes around 80 tests and introduces no new failures.

Run Java PreCommit


Added Intent Chaining + Intent Confirmation

Added Intent Chaining + Intent Confirmation to PostMessage + CreateChannel Intent
Also modified Readme to make it easier to setup notifications.
Modified skill.json to add APL as an interface.

Hi @TheDreamSaver Great Work with Dialog Management however please note that Amazon does not allow addDelegateDirective and addDirective in the same response, so you can’t display an APL document during the dialog slot collection. Please follow this guide here to get an idea of how to fix the problem Alternative to DelegateDirective

Update: Decided to make APL for completed handlers only. 👍


Updating Diagnostic button and note

@salarson PR merged. Thanks for submitting the change and the explanation for using the button. Updated topic will be published by EOD.


Components: Radiobutton

Mainly a Figma update

Figma: https://www.figma.com/file/TkbB9ANfejDSjB2u4u1OEuqM/Jøkul-components?node-id=1%3A5


Wi-Fi Fingerprinting & Telemetry

When the HoloLens is doing the Wi-Fi fingerprinting is it using Microsoft databases (or any other external databases) to predict the location or is the location just stored locally and based on prior Wi-Fi fingerprints?
If it is using some sort of external database is it trying to get the real world location and does it no longer reach out when telemetry and location services are disabled with provisioning packages?
And finally where can I find a detailed list of what is sent out to Microsoft for the various different levels of telemetry?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9a387bd0-0edb-1ffb-dc7a-b1c207e6cecb
Version Independent ID: 7e09e2ee-f114-ab87-f7fd-9075431e912b
Content: Environment considerations for HoloLens - Mixed Reality
Content Source: mixed-reality-docs/environment-considerations-for-hololens.md
Product: windows
GitHub Login: @mattzmsft
Microsoft Alias: mazeller

Any feedback on these questions?

@mattzmsft Was this ever resolved?


ci: fix compile error with old nightly rustc

recv_timeout is not stable in old nightly rustc, so we need to enable the feature explicitly. This pr also add a CI entry to make sure new code should work with old nightly rustc.
@siddontang @zhangjinpeng1987 PTAL

LGTM

LGTM


Add support for powershell 7

Add support for powershell 7 / swupd fork

What is the story behind this change? Right now, Chocolatey uses Windows PowerShell and I'm not aware of any specific plans or deadlines for switching to PowerShell Core.

My own fork https://github.com/tapika/swupd supports powershell v7 and I'm continuing to improve the system.

I have tested my changes also with choco, so should be backwards compatible.

Any progress ? This is at least blocking my work currently - wanted to start to upgrade choco / gui choco packages.

When I started testing - I've noticed that Get-CimInstance works out of box in choco - then googled a little bit, and it looks like this command was present even in powershell v2. So if-else variation is not needed - can just use newer version.
Updated version and changelog.
Do you do package publishing ?

No, PS 2.0 definitely does not have the CIM cmdlets. They were added as one of the major features of PS 3.0 (official introduction).
A quick test on Win7 confirms this:
PS C:\> cmd /c ver

Microsoft Windows [Version 6.1.7601]
PS C:\> $PSVersionTable

Name                           Value
----                           -----
CLRVersion                     2.0.50727.5420
BuildVersion                   6.1.7601.17514
PSVersion                      2.0
WSManStackVersion              2.0
PSCompatibleVersions           {1.0, 2.0}
SerializationVersion           <IP_ADDRESS>
PSRemotingProtocolVersion      2.1

PS C:\> Get-Command Get-CimInstance
Get-Command : The term 'Get-CimInstance' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:12
+ Get-Command <<<<  Get-CimInstance
    + CategoryInfo          : ObjectNotFound: (Get-CimInstance:String) [Get-Command], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

PS C:\> cinst -y KB2454826
Chocolatey v1.1.0
Installing the following packages:
KB2454826
By installing, you accept licenses for the packages.
Progress: Downloading KB2454826 1.0.4... 100%

KB2454826 v1.0.4 [Approved]
kb2454826 package files install completed. Performing other installation steps.
ERROR: The term 'Get-CimInstance' is not recognized as the name of a cmdlet, function, script file, or operable program.
 Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The install of kb2454826 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB2454826\Tools\ChocolateyInstall.ps1'.
 See log for details.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - kb2454826 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\KB2454826\Tools\ChocolateyInstall.ps1'.
 See log for details.

So the command existence test is required.
One other thing: commit titles in this repo follow the pattern <package>: <change>, please adjust accordingly.

Do you do package publishing ?

Yes, once the PR is ready I will merge it and publish the updated package.

Ok, most probably I have upgraded powershell on my windows 7, that's why have CimCmdlets as built-in in powershell.
Had to manually remove C:\Windows\System32\WindowsPowerShell\v1.0\Modules\CimCmdlets folder to test choco.
Hopefully now works ?

Yes, everything seems to be in order now.

I've published the updated extension. Thank you for your contribution!

Thanks. Waiting for 1.0.5 to be published, need to wait probably.

https://community.chocolatey.org/packages/chocolatey-windowsupdate.extension/1.0.5 - awaiting moderation. Might take longer than usual due to an ongoing issue with the virus scanner.


C# support LRO metadata

Fixes #1219

Codecov Report

Merging #1252 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1252      +/-   ##
============================================
+ Coverage     86.18%   86.18%   +<.01%
  Complexity     3791     3791
============================================
  Files           380      380
  Lines         15044    15046       +2
  Branches       1684     1684
============================================
+ Hits          12965    12967       +2
  Misses         1628     1628
  Partials        451      451

Impacted Files
Coverage Δ
Complexity Δ

...oogle/api/codegen/util/csharp/CSharpTypeTable.java
90.19% <100%> (ø)
16 <0> (ø)
:arrow_down:

...codegen/transformer/csharp/CSharpSurfaceNamer.java
93.24% <100%> (+0.06%)
70 <0> (ø)
:arrow_down:

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 ed631be...185d06b. Read the comment docs.

@jskeet PTAL


PPT still references old project name

Hi,
In slides 16,17 the old project name exists...This probably needs to be tidied up.
Cheers.
M

Thanks for your feedback, committed at
https://github.com/Juniper/open-nti/commit/d7fb6736545cf0746d6a10f41b70ae36fa4fd32a


Add jokes

Add jokes in main.py and update the README.md

I can do this, can you assign it to me please

Ok
-------- Original Message --------
On Oct 7, 2022, 12:58 PM, Ritik Singh < @.***> wrote:

I can do this, can you assign it to me please
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Console interface doesn't load configuration

I have mailer extension which requires config setup and checks it on class construction:
config/_config/mailer.yml:
MailerEx:
 APIKEY: 'AAAAAAABBBBBCCCC'

mailer/code/MailerEx.php:
class MailerEx extends Mailer {
      function __construct($mailer = null){
		parent::__construct();
		$this->mailer = $mailer;

		$config = $this->config();
		if(!$config->APIKEY){
			user_error('Please, setup Mailer config', E_USER_ERROR);
		}
	}
}

It works great with the website, but it doesn't works when I try to run cli-script:
php framework/cli-script.php dev/build
Fatal error: Please, setup Mailer config in mailer/code/MailerEx.php on line 27

silverstripe-cache folder was cleaned up before running the task

Hi - I've tried to replicate this in 3.x-dev branch and I'm not having any problems - is this still a problem for you?

yup, still the same issue. I have just upgraded it with composer update, but I have an idea why it may happen. Modules and silverstripe core folders are symlinked to a specific website folder. To make the website work I have _ss_environment.php file at the website root which contains:
<?php

$candidateBasePath = rtrim(dirname(__FILE__), DIRECTORY_SEPARATOR);
if($candidateBasePath == '') $candidateBasePath = DIRECTORY_SEPARATOR;
define('BASE_PATH', $candidateBasePath);

Looks like it isn't loaded when I run "php framework/cli-script.php dev/build" cuz framework is symlinked not sure about what solution I can use in this case.

Oh. You're using symlinks. Well, that's not a usual or expected way to do it. So it's likely the cause of this issue.
Glad you figured how to fix it :)


bump okhttp to 3.12.1, TLS 1.3 support

Bump OkHTTP to 3.12.1, and add BouncyCastle 1.60, Conscrypt 1.4.0 as dependencies for TLS 1.3 support.
Changelog:
[Android] [Changed] - bump OkHTTP 3.12.1 and enable TLS 1.3 support
Test Plan:
CI is green

@gengjiawen please help with proguard issue.


Get notified if a key is missing

Find a way to get notified if a parsing error occurs, for example a missing key

@s4cha how about making the deserialize func throwing?

@maxkonovalov , good question :)
Arrow didn't have error handling (on purpose) but this is something we can discuss. Having given this some time I think it might not be worth it. I personally never had the need to test errors in JSON parsing as I believe that this is an Api-side problem.
On the iOS side, Unit tests test against local JSON files to make sure parsing works as expected.
On the backed side, unit tests test that the api sends the correct JSON structures.
Could you elaborate on a concrete case where we need to catch parsing errors?

@s4cha agreed, I don't have such use cases either. For me it works perfect just to do nothing if the key is not there or could not be parsed. Other frameworks usually provide a way to specify a fallback value for that case.


Handle creation

seems we are still creating handles with old epicv1.
the item I approved today (before the approval) had handle (in url) starting with 11858/00-097C

isn't that the collection PID?

:+1: it is, but strange thing happen when you try that via the handle system
hdl.handle.net/11858/00-097C-0000-0001-4877-A
why does it have ?err=not_an_item in the url?

not sure, but it does not break anything and indicates the handle is not an item...


Cow: Watch notaryservicesindubai.com

Cow requests the watch of the watch_keyword notaryservicesindubai\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

notaryservicesindubai\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ