usage examples?

Hi, could you please provide some simple usage examples for loading topologies with your library in python?
For example, I run this code:
import topohub.generate as thg
import networkx as nx

g = th.SNDLibGenerator.generate_topo('abilene')
print(g)

I get the following output: {'directed': False, 'multigraph': False, 'graph': {'name': 'abilene', 'demands': {}}, 'nodes': [], 'links': []}
I looked through your tests and didn't see examples.

Hi!
The SNDlibGenerator.generate_topo() method downloads original topology definitions from SNDlib website and generates NetworkX node-link JSON graphs from them. It stopped to work because SNDlib changed their website address recently.
However, there is no need to use it. Generated JSON files for all SNDlib and Topology Zoo topologies are already included in the pip package, in the Git repository and are available via https://topohub.org. I added the topohub.get() helper to make easier accessing them in Python:
import networkx as nx
import topohub

# Obtain topology dicts from JSON files stored in the repository
topo = topohub.get('gabriel/25/0')
topo = topohub.get('topozoo/Abilene')
topo = topohub.get('sndlib/polska')

# Create NetworkX graph from node-link dict
g = nx.node_link_graph(topo)

# Access graph parameters
print(g.graph['name'])
print(g.graph['demands'])
print(g.graph['stats']['avg_degree'])

# Obtain link length or ECMP routing utilization
print(g.edges['Bydgoszcz', 'Warsaw']['dist'])
print(g.edges['Bydgoszcz', 'Warsaw']['ecmp_fwd']['uni'])

BTW, the Topology Zoo website is apparently completely down. Fortunately, all the topologies are preserved in https://github.com/piotrjurkiewicz/topohub/tree/master/data/topozoo


Ruff linting

Replace flake8, black, pylint and pycodestyle by ruff
Also adds mypy to the precommit hook

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

13 of 14 (92.86%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 90.659%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sed/loader/mirrorutil.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
5610

Relevant Lines:
6188

💛  - Coveralls


Connecting two lists

Does anybody know if it's possible to connect two lists (and maybe has a working example for it)?
My app:
<Container>
    <List>
        <Item id="1"></Item>
        <Item id="2"></Item>
    </List>
    <List>
        <Item id="3"></Item>
        <Item id="4"></Item>
    </List>
<Container>

Now I'd like to drag the first item of the first list to the second list.
That means, when I use setState(), I'll have to remove an item from the first list and add it to the second list (to the index to where the user has dropped it). Right now, I'm getting a lot of errors when I do that (encountered two children with the same key...).
Note: I'm not looking for debugging my app, I'm just asking if this is even possible.

Definitely possible, see https://github.com/gaearon/react-dnd/issues/227.
It has an example (slightly broken one, but I explain how to fix it in the issue).

Thanks a lot, the example helped me to solve the issue.


Support thumbnails for .webm files

Creating thumbnails of pictures is already supported through graphicsmagick. I'd like to be able to have previews for my .webm files aswell, using for example ffmpeg to create them.

I'll look into this, maybe I can submit a pull request in a few days.

@Pitu Here's the PR: https://github.com/WeebDev/loli-safe/pull/11


Bug with enum within a model

I'm getting a bug when running generate:
{"jsonrpc":"2.0","id":1,"result":{"manifest":{"defaultOutput":"prisma.rs","denylist":null,"prettyName":"Prisma Client Rust","requiresEngines":null,"requiresGenerators":null}}}
thread 'main' panicked at 'Unsupported type: Role', /Users/user/.cargo/git/checkouts/prisma-client-rust-fa967aa5ad0ec391/72326a9/cli/src/generator/types.rs:128:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

My schema is pretty simple and yet I can't get around this.
// ...
model User {
  id   String @id @default(cuid())
  role UserRole
}

enum UserRole {
  ADMIN
  USER
}

What did I miss? Is this a bug? What am I doing wrong?

Some more investigation reveals that it comes from this line:
https://github.com/Brendonovich/prisma-client-rust/blob/main/cli/src/generator/types.rs#L128
What would be the right way add support for custom enums?

From looking at your error message I'm not quite sure, but it shouldn't be too hard to fix. I'm currently working on some other changes first, but I'll get this done in the next release

@Brendonovich it looks like it's iterating through types in the generator and if it doesn't find the type, it throws the error.
How might we be able to iterate through the custom enum types? And any ETA on the next release?

Custom enum types are exposed in Prisma's DMMF that the rest of the client is built off. I implemented enums earlier but looks like I messed it up at some point. I'm aiming to get 0.5.0 out by the end of the week.


[Feature Request] Align images to Bounding Tile rotation

Greetings, just stumbled upon this amazing module and already used it for a bit.
I mainly want to use this modules on my players' landing page to show them different sceneries but not all the design elements on my landing page are perfectly straight, so it would be amazing if I could rotate the Bounding Tiles I've created to align the image to my landing page.
At the moment going into the tile and applying a rotation angle has no effect on how the shown image is presented, it just stays the way it is.
Foundry Version: 11
Share Media Version: 0.0.50
Thanks!

Hi, thank you for taking to time to write this feature request.
It is now implemented with: 0.0.51


CRP no longer conflict with Kerbalism.

v<IP_ADDRESS> of Kerbalism fixed the conflict with CommunityResourcePack, which in detail, "food/oxygen properties have been changed to match CRP ones".
https://github.com/ShotgunNinja/Kerbalism/releases/tag/v<IP_ADDRESS>

The metadata for CRP is maintained by the mod author. Please re-open this issue with them. https://github.com/BobPalmer/CKAN


Add DISTINCT to priceListingQuery to improve ES indexing performance

1. Why is this change necessary?
The ES indexing is very slow if the variant filter has been activated. This is amongst other things caused by the priceListingQuery and the related onSalePriceListingQuery. The results of these queries contain duplicate rows which makes them really slow.
2. What does this change do, exactly?
The DISTINCT of the articledetailsID leads to one result per detailID, which is enough for these subqueries. We tested this change and went from 9 hours to 1 minute indexing time for 7000 articles (inclusive variants).
3. Describe each step to reproduce the issue or behaviour.
Create a bunch of articles with variants (more than 1000 for comparable results) and try to index them with activated variant filter. You can see the performance improvement with this change compared to the old query without the DISTINCT.
4. Please link to the relevant issues (if any).
Nope.
5. Which documentation changes (if any) need to be made because of this PR?
None.
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-22877
Please use this issue to track the state of your pull request.

Hi @Pmuckel, thank you very much for your contribution! 💙 🎉


VBBA setup - Plug BE fixes (step order, policyID saving) & remove confusing ConnectDifferentAccount button

Details
Return correct order after starting back
Add policyID to achData
Remove confusing ConnectDifferentAccount button

Needs Web and Auth PRs.
Tests

@nkuoch please take a look on ts errors

I've removed the "Connect a different bank account" from these views:

It gave too much focus on it and was just confusing imo (I talked to Anu (the project leader) about it and she agreed).
Instead, it now looks like that:

This way, it acts just like the other steps where you can go back to edit the fields (without erasing them).
If the data was already added in db, and the user wants to completely change it they can just click on back again and click on Start Over.

Test ordering when starting back:
Connect via Plaid

Close personal Info and refresh page.

Go back to Workspace > Bank Account and click on Continue With Setup

You should be brought back to the requestor step

@nkuoch LGTM, I just have one question. Original designs had this background on final screen of this step -

Now its gone. I assume it was agreed that you remove that as well as part of this changes agreed with Anu?


feat(app): added redirect path cookie for use after signin

Added a feature to store the requested route that is outside the scope of the excluded routes. The route is stored in a cookie and disabled by default.

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

I needed a way to have my application users be able to share a link to a page with users who potentially would not be registered or logged in. This Pull Request adds a cookie that is set when the client tries to hit a route that is not listed in the redirectOptions.exclude list, it then sets the cookie equal to the route.to.fullPath to include capturing the url parameters.
I couldn't just use the redirectTo when using OAuth because using the redirect: true makes the module's middleware leave the route and always report it as /login. I needed to capture the route BEFORE the Supabase auth-redirect.mjs middleware performed the redirect to the login page.
I set my nuxt.config.ts values to reflect the changes:
export default defineNuxtConfig({
  supabase: {
    redirect: true,
    redirectOptions: {
      login: '/login',
      callback: '/dashboard',
      exclude: ['/', '/register', '/privacy-policy','/confirm'], // MUST have confirm or it will loop to /login every time
      cookieRedirect: true, // Enable the storing of the requested route
    },
  }
  // Rest of your config
});

This pull request has a modification to the /pages/confirm.vue in order to get the cookie.

<template>

Waiting for login...

</template>

Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

@larbish I just pushed an amendment to the branch with the docs updated.


docs/upgrading: note that policy bug was fixed in v1.13.3

There was a known issue in the policy engine from v1.13.0-v1.13.2. Now that it's fixed, we can update the wording.

Docs change; no need for full CI run. Relevant jobs have passed.


MM-27840 - System Admin is not able to view the Server Logs

Summary
Calling reload func on componentDidMount that sets the loadingLogs to false that results in showing the logs on the UI.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-27840
Screenshots

/update-branch

@stevemudie would you be able to help QA this pr?


Highlight focused diff file

When a diff file has been focused through the URL ID fragment, it will be highlighted.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@d4a9b35). Click here to learn what that means.
The diff coverage is n/a.

: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   #22870   +/-   ##
=======================================
  Coverage        ?   47.33%
=======================================
  Files           ?     1113
  Lines           ?   150176
  Branches        ?        0
=======================================
  Hits            ?    71087
  Misses          ?    70655
  Partials        ?     8434

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@delvh I relabel this as enhancement since we have freeze features in v1.19.0

@lunny Since when are we in feature freeze?
I haven't heard anything about it yet…

Some enhancements to this focus in https://github.com/go-gitea/gitea/pull/23553 😉


Unable to parse Flower pc for Obsidian Codex in 5.0

Describe the bug
Unable to parse Flower pc for Obsidian Codex in 5.0
Causes some readings of slot and mainstat to be "Invalid".
To Reproduce
Steps to reproduce the behavior:

Have Flower pc for Obsidian Codex in inventory
Scan. (Manually move mouse cursor to avoid crash due to new artifact UI)
Upon completion, export to GOOD format

Expected behavior
Crash and error points to line 110 in GOODExporter file

Hi, it's fixed in my fork, please take a look there


UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30

Hi,
I ran the pipeline successfully before, but recently I got an error at atacqc step on all my runs. No qc summary (json/html) file was created in qc directory. I am wondering whether anyone has the same issue.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)

Fatal error: /mnt/isilon/sfgi/programs/atac_dnase_pipelines/atac.bds, line 1612, pos 2. Task/s failed.

Below is server info that may help you for debugging.

$ uname -a
Linux l-0-01 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ conda env list
# conda environments:
#
bds_atac                 /mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac
bds_atac_py3             /mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac_py3
root                  *  /mnt/isilon/sfgi/programs/miniconda3

$ source activate bds_atac
(bds_atac)

$ which conda
/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/bin/conda

$ conda list
# packages in environment at /mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac:
#
argcomplete               1.0.0                    py27_1
argh                      0.26.2                   py27_0    bioconda
bcftools                  1.4                           0    bioconda
bedtools                  2.26.0                        0    bioconda
bioconductor-biocgenerics 0.18.0                 r3.2.2_0    bioconda
bioconductor-biocparallel 1.4.3                  r3.2.2_0    bioconda
bioconductor-biostrings   2.38.4                        0    bioconda
bioconductor-genomeinfodb 1.6.3                         0    bioconda
bioconductor-genomicranges 1.22.4                        0    bioconda
bioconductor-iranges      2.4.8                         0    bioconda
bioconductor-rsamtools    1.22.0                 r3.2.2_1    bioconda
bioconductor-s4vectors    0.8.11                        0    bioconda
bioconductor-xvector      0.10.0                        1    bioconda
bioconductor-zlibbioc     1.16.0                 r3.2.2_1    bioconda
biopython                 1.67                np110py27_0
boost                     1.57.0                        4
bowtie                    1.1.2                    py27_2    bioconda
bowtie2                   2.2.6                    py27_0    bioconda
bx-python                 0.7.3               np110py27_1    bioconda
bzip2                     1.0.6                         3
cairo                     1.14.8                        0
curl                      7.52.1                        0
cutadapt                  1.9.1                    py27_0    bioconda
cycler                    0.10.0                   py27_0
cython                    0.25.2                   py27_0
expat                     2.1.0                         0
fastqc                    0.11.5                        1    bioconda
fisher                    0.1.4                    py27_0    bioconda
fontconfig                2.12.1                        3
freetype                  2.5.5                         2
gffutils                  <IP_ADDRESS>                  py27_1    bioconda
ghostscript               9.16                          0    asmeurer
glib                      2.43.0                        2    asmeurer
gnuplot                   4.6.0                         1    bioconda
graphviz                  2.38.0                        4    anaconda
gsl                       1.16                          1    asmeurer
harfbuzz                  0.9.35                        6    asmeurer
htslib                    1.4                           0    bioconda
icu                       54.1                          0
java-jdk                  8.0.92                        1    bioconda
jbig                      2.1                           0
jinja2                    2.9.6                    py27_0
jpeg                      9b                            0
libffi                    3.0.13                        3    asmeurer
libgcc                    4.8.5                         1    asmeurer
libgfortran               3.0.0                         1
libiconv                  1.14                          0
libpng                    1.6.27                        0
libtiff                   4.0.6                         3
libtool                   2.4.2                         0    asmeurer
libxml2                   2.9.4                         0
macs2                     2.1.0                         0    bioconda
markupsafe                0.23                     py27_2
matplotlib                1.5.1               np110py27_0
metaseq                   0.5.6                    py27_0    bioconda
mkl                       11.3.3                        0
mysql                     5.5.24                        0
ncurses                   5.9                           5    asmeurer
nose                      1.3.7                    py27_1
numpy                     1.10.2                   py27_0
openblas                  0.2.14                        4
openssl                   1.0.2k                        1
pandas                    0.18.0              np110py27_0
pango                     1.36.8                        3    asmeurer
pcre                      8.39                          1
perl-threaded             5.22.0                       10    bioconda
picard                    1.126                         4    bioconda
pigz                      2.3                           0
pip                       9.0.1                    py27_1
pixman                    0.34.0                        0
preseq                    2.0.2                 gsl1.16_0    bioconda
pybedtools                0.6.9                    py27_0    bcbio
pycairo                   1.10.0                   py27_0
pyfaidx                   <IP_ADDRESS>                  py27_0    bioconda
pyparsing                 2.1.4                    py27_0
pyqt                      4.10.4                   py27_0    asmeurer
pysam                     <IP_ADDRESS>                  py27_0    bcbio
python                    2.7.13                        0
python-dateutil           2.2                      py27_0    asmeurer
python-levenshtein        0.12.0                   py27_1    bioconda
pytz                      2017.2                   py27_0
pyyaml                    3.12                     py27_0
qt                        4.8.5                         0    asmeurer
r                         3.2.2                         0    asmeurer
r-base                    3.2.2                         0    asmeurer
r-bitops                  1.0_6                  r3.2.2_1    asmeurer
r-boot                    1.3_17                 r3.2.2_0    asmeurer
r-catools                 1.17.1                 r3.2.2_2    asmeurer
r-class                   7.3_14                 r3.2.2_0    asmeurer
r-cluster                 2.0.3                  r3.2.2_0    asmeurer
r-codetools               0.2_14                 r3.2.2_0    asmeurer
r-foreign                 0.8_66                 r3.2.2_0    asmeurer
r-futile.logger           1.4.1                  r3.2.2_0    bioconda
r-futile.options          1.0.0                  r3.2.2_0    bioconda
r-kernsmooth              2.23_15                r3.2.2_0    asmeurer
r-lambda.r                1.1.7                  r3.2.2_0    bioconda
r-lattice                 0.20_33                r3.2.2_0    asmeurer
r-mass                    7.3_44                 r3.2.2_0    asmeurer
r-matrix                  1.2_2                  r3.2.2_0    asmeurer
r-mgcv                    1.8_7                  r3.2.2_0    asmeurer
r-nlme                    3.1_122                r3.2.2_0    asmeurer
r-nnet                    7.3_11                 r3.2.2_0    asmeurer
r-recommended             3.2.2                  r3.2.2_0    asmeurer
r-rpart                   4.1_10                 r3.2.2_0    asmeurer
r-snow                    0.4_1                  r3.2.2_0    bioconda
r-snowfall                1.84_6.1               r3.2.2_0    bioconda
r-spatial                 7.3_11                 r3.2.2_0    asmeurer
r-spp                     1.13                   r3.2.2_0    bioconda
r-survival                2.38_3                 r3.2.2_0    asmeurer
readline                  6.2                           2
sambamba                  0.6.5                         0    bioconda
samtools                  1.2                           2    bioconda
scikit-learn              0.17.1              np110py27_2
scipy                     0.17.0              np110py27_4
setuptools                27.2.0                   py27_0
simplejson                3.10.0                   py27_0
sip                       4.15.5                   py27_0    asmeurer
six                       1.10.0                   py27_0
sqlite                    3.13.0                        0
system                    5.8                           2
tk                        8.5.18                        0
trim-galore               0.4.1                         0    bioconda
ucsc-bedclip              332                           0    bioconda
ucsc-bedgraphtobigwig     323                           0    daler
ucsc-bedtobigbed          323                           0    daler
ucsc-bigwigaverageoverbed 332                           0    bioconda
ucsc-bigwiginfo           332                           0    bioconda
ucsc-fetchchromsizes      323                           0    daler
ucsc-twobittofa           332                           0    bioconda
ucsc-wigtobigwig          323                           0    daler
wheel                     0.29.0                   py27_0
xz                        5.2.2                         1
yaml                      0.1.6                         0
zlib                      1.2.8

PS: our cluster server has experienced several updates since my last successful run. I do not know what caused the problem here.
Thank you,
Chun

Hi, could you pass in the tail end (or full) BDS log file? (Should end in *.log). Looks like a unicode error when the ATAQC module is writing out the html output, but would help to know exactly which function in the module has the problem. It's likely due to the server update, but good to fix this for anyone else who might run into this on other similar server environments.

Hi. Thank you for quick reply.
Here are the last 20 lines of bds.log.
$ tail -n 20 bds.log
		  File "/mnt/isilon/sfgi/programs/atac_dnase_pipelines/ataqc/run_ataqc.py", line 1598, in <module>
		    main()
		  File "/mnt/isilon/sfgi/programs/atac_dnase_pipelines/ataqc/run_ataqc.py", line 1454, in main
		    raw_peak_summ, raw_peak_dist = get_region_size_metrics(PEAKS)
		  File "/mnt/isilon/sfgi/programs/atac_dnase_pipelines/ataqc/run_ataqc.py", line 752, in get_region_size_metrics
		    ax.set_title('Peak width distribution for {0}'.format(filename))
		  File "/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 172, in set_title
		    title.set_text(label)
		  File "/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/lib/python2.7/site-packages/matplotlib/text.py", line 1206, in set_text
		    self._text = '%s' % (s,)
		UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)

Fatal error: /mnt/isilon/sfgi/programs/atac_dnase_pipelines/atac.bds, line 1612, pos 2. Task/s failed.
atac.bds, line 82 :	main()
atac.bds, line 85 :	void main() { // atac pipeline starts here
atac.bds, line 109 :		ataqc()
atac.bds, line 1601 :	void ataqc() {
atac.bds, line 1612 :		wait

Creating checkpoint file: Config or command line option disabled checkpoint file creation, nothing done.

Thank you! I think you are right about nonstandard character, since the name for the library is Naïve instead of naive....
But now, I have a new issue, which happened to all the libraries I am working on. The error is ValueError: all the input array dimensions except for the concatenation axis must match exactly
It looks like "_nx.concatenate()" in some python files caused problems. I could not figure out why I did not see this error in my successfully run before. Do you have any way to fix this problem too.
Here are more detailed standard error from run_atacseq.py
--------------------Stderr--------------------
Picked up _JAVA_OPTIONS: -Xms256M -Xmx45G -XX:ParallelGCThreads=1 -Djava.io.tmpdir=/mnt/isilon/sfgi/suc1/tmp
ERROR	2018-04-24 10:24:41	ProcessExecutor	Warning messages:
ERROR	2018-04-24 10:24:41	ProcessExecutor	1: In arrows(metrics$GC, metrics$NORMALIZED_COVERAGE - metrics$ERROR_BAR_WIDTH,  :
ERROR	2018-04-24 10:24:41	ProcessExecutor	  zero-length arrow is of indeterminate angle and so skipped
ERROR	2018-04-24 10:24:41	ProcessExecutor	2: In arrows(metrics$GC, metrics$NORMALIZED_COVERAGE - metrics$ERROR_BAR_WIDTH,  :
ERROR	2018-04-24 10:24:41	ProcessExecutor	  zero-length arrow is of indeterminate angle and so skipped
ERROR	2018-04-24 10:24:41	ProcessExecutor	3: In arrows(metrics$GC, metrics$NORMALIZED_COVERAGE - metrics$ERROR_BAR_WIDTH,  :
ERROR	2018-04-24 10:24:41	ProcessExecutor	  zero-length arrow is of indeterminate angle and so skipped
ERROR	2018-04-24 10:24:41	ProcessExecutor	4: In arrows(metrics$GC, metrics$NORMALIZED_COVERAGE - metrics$ERROR_BAR_WIDTH,  :
ERROR	2018-04-24 10:24:41	ProcessExecutor	  zero-length arrow is of indeterminate angle and so skipped
ERROR	2018-04-24 10:24:41	ProcessExecutor	5: In arrows(metrics$GC, metrics$NORMALIZED_COVERAGE - metrics$ERROR_BAR_WIDTH,  :
ERROR	2018-04-24 10:24:41	ProcessExecutor	  zero-length arrow is of indeterminate angle and so skipped
ERROR	2018-04-24 10:24:41	ProcessExecutor	6: In arrows(metrics$GC, metrics$NORMALIZED_COVERAGE - metrics$ERROR_BAR_WIDTH,  :
ERROR	2018-04-24 10:24:41	ProcessExecutor	  zero-length arrow is of indeterminate angle and so skipped
Picked up _JAVA_OPTIONS: -Xms256M -Xmx45G -XX:ParallelGCThreads=1 -Djava.io.tmpdir=/mnt/isilon/sfgi/suc1/tmp
[bam_sort_core] merging from 20 files...
[bam_sort_core] merging from 17 files...
Picked up _JAVA_OPTIONS: -Xms256M -Xmx45G -XX:ParallelGCThreads=1 -Djava.io.tmpdir=/mnt/isilon/sfgi/suc1/tmp
Picked up _JAVA_OPTIONS: -Xms256M -Xmx45G -XX:ParallelGCThreads=1 -Djava.io.tmpdir=/mnt/isilon/sfgi/suc1/tmp
processing chromosomes
Traceback (most recent call last):
  File "/mnt/isilon/sfgi/programs/atac_dnase_pipelines/ataqc/run_ataqc.py", line 1598, in
    main()
  File "/mnt/isilon/sfgi/programs/atac_dnase_pipelines/ataqc/run_ataqc.py", line 1460, in main
    ROADMAP_META, OUTPUT_PREFIX)
  File "/mnt/isilon/sfgi/programs/atac_dnase_pipelines/ataqc/run_ataqc.py", line 905, in compare_to_roadmap
    sample_mean0_col)
  File "/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/lib/python2.7/site-packages/scipy/stats/stats.py", line 3310, in spearmanr
    rs = np.corrcoef(ar, br, rowvar=axisout)
  File "/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/lib/python2.7/site-packages/numpy/lib/function_base.py", line 2145, in corrcoef
    c = cov(x, y, rowvar)
  File "/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/lib/python2.7/site-packages/numpy/lib/function_base.py", line 2024, in cov
    X = np.vstack((X, y))
  File "/mnt/isilon/sfgi/programs/miniconda3/envs/bds_atac/lib/python2.7/site-packages/numpy/core/shape_base.py", line 230, in vstack
    return _nx.concatenate([atleast_2d(_m) for _m in tup], 0)
ValueError: all the input array dimensions except for the concatenation axis must match exactly

interesting - it could be related to a different output format from a different version of ucsc tools - can you provide the top of the *signal file in the qc folder if you have it?


How to make auto update?

I mean downloading file from internet to user device and may be start it. Are there any ideas?

There's probably a better way to do it, but the best way I can think of is to have every sprite in some file hosting service (i.e github) and have them all download via the Asset Manager extension.
https://github.com/snowboyz0825/snowscodestuff/blob/main/SB3s/Dodge the dots loader.sb3
This loads every sprite in a project through github every time it's downloaded, and it "runs." (oh boy, giant red ERRORs) The issue is that variables and lists are not sprite specific, causing them to be reset. You could probably easily create a workaround for it, but this is an old project I'm not gonna relearn just for that.
If there was an extension that allowed you to add a file using just it's data - which please let me know if you did because it would be very nice to know about - you could use some form of local storage to load it from that every time.
I have no clue how this will play with compiled projects, but I imagine it isn't well

If there was an extension that allowed you to add a file using just it's data - which please let me know if you did because it would be very nice to know about - you could use some form of local storage to load it from that every time.

You can use data URLs with the Asset Manager extension.

I didn't know that data urls worked, in retrospect i should've tested that

Good idea, I will check it today

I'm assuming the answer is found.


Using sys.stdout as keyword default messes up stdout capture for downstream packages

Keyword defaults are evaluated at import time, not at call time. This makes trying to capture sys.stdout output of isort.api calls with show_diff=True difficult. (regression through #1189)
https://github.com/timothycrosley/isort/blob/447580671b2e37a21a3cf1a4d2e80c387f9af98a/isort/format.py#L31-L33
See also
https://github.com/gforcada/flake8-isort/pull/92#issuecomment-660558770

Thanks for reporting this issue and your great work on fixing flake8-isort compatibility! I've fixed the regression in the 5.1.4 patch release, and I think fixed the underlying issue of there being no official mechanism to capture the diff in development slated for the 5.2.0 release: https://github.com/timothycrosley/isort/issues/1335
Thanks!
~Timothy


[Modification_request] Authorize Job to copy artifact from other job

Hello,
I've just deployed the platform on a fresh Debian VM. When I've commit my modification of the spring-petclinic example project by a git commit (and so, triggered the pipeline) the job "Reference_Application_Code_Analysis" failed with the following error:
ERROR: Unable to find a build for artifact copy from: Reference_Application_Unit_Tests
I've solved this issue by manually allowing the artifacts from the Reference_Application_Unit_Tests job to get copied by the Reference_Application_Code_Analysis job. This options is displayed in the job configuration screen and is provided by the "Copy Artifacts" plugin.
If the problem is confirmed, the groovy file should be probably modified accordingly.
Thanks

I think this issue probably lives over at: https://github.com/Accenture/adop-cartridge-java
Is the problem that it doesn't have permission to copy the artefacts or that it's just not configured correctly?

Hey nick, I'm sorry but after analysis, it seems that this issue has nothing to do with the conf itself.
The job Reference_Application_Code_Analysis was unable to find the artifacts from the Reference_Application_Unit_Tests as it was looking for the artifacts from the same build number. Fact is I've manually re-built some job so there's a skip in the builds numbers (Project B #12 trying to use artifact from Project A build #12 but project A has only 5 builds). We can close this ticket.


[WIP] Split program into multiple crates

Description
My idea is to split this program into individual crates.
As I learn more about rust progress will continue.
Purpose
This is a PR for me to monitor my progress as I go
Current progress

[ ] Arguments

[ ] Passing arguments
[ ] Global arguments

[ ] Process

[ ] Command output
[ ] Color formatting

[ ] Output

[x] Notification
[ ] Errors
[x] Copying to the clipboard

[ ] Confirm everything works

I think everything is good now, a bit of testing and it all works!


Cells are not scrolling properly in particular scenario in Xamarin Android Native

Hi @evrencoskun , your code is really helpful in lot ways and solves our business requirements. Thanks a lot.
We tried using your code in Xamarin native , but the issue we are facing now is if we scroll horizontally the cells and column headers which are visible are scrolling from left to right after that if we scroll vertically the cells are able to scroll vertically but horizontal UI got distorted. Recreated cell is starting from '0' the X position.

Hi @anand89prakash
It may not related to Xamarin framework. Because there was a bug report that has already fixed. But, the version has the fixed is not released yet. The current sources have the fix.
Please check this. and the issue


fix entitlement file path

fix entitlement file path, according to https://github.com/openshift-psap/ci-artifacts/blob/master/roles/entitlement_deploy/files/mc_rhsm.yml#L17, https://github.com/openshift-psap/ci-artifacts/blob/master/roles/entitlement_deploy/files/mc_pem.yml#L17 and https://github.com/openshift-psap/ci-artifacts/blob/master/roles/entitlement_deploy/files/mc_pem.yml#L35
Signed-off-by: Feng Huang<EMAIL_ADDRESS>

Hello @BumbleFeng
/etc/rhsm/rhsm.conf /etc/pki/entitlement/entitlement{,-key}.pem

this is, in the MC files, is the host path, whereas this
/etc/rhsm-host/rhsm.conf /etc/pki/entitlement-host/entitlement{,-key}.pem

is where the host secrets are auto-mounted, so this test is consistent with the deployment we use.
Non cluster-wide deployment + test could be added as an alternative way to deploy the entitlement, but myself I never tried it


[SPARK-6428][SQL] Removed unnecessary typecasts in MutableInt, MutableDouble etc.

@marmbrus @rxin I believe these typecasts are not required in the presence of explicit return types.

Can one of the admins verify this patch?

Jenkins, test this please.

Merged build triggered.

Merged build started.

Test build #44292 has started for PR 9262 at commit 5f53486.

Test build #44292 has finished for PR 9262 at commit 5f53486.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44292/
Test PASSed.

Merged build finished. Test PASSed.

Thanks - I've merged this.


[Refactor] I want to refactor and add js docs comment into formatDate method

File Name
src/common/utils/commonUtils.js
Reason for Refactoring the Code
Reson for refactoring:

Readability: The code lacks readability due to non-descriptive variable names and a lack of clear structure.
Maintainability: The code is not easily maintainable, as changing the date formatting would require modifications in multiple places.
Performance: The code is not optimized for performance, with potentially costly operations like splitting the date string into an array and incorrect date object instantiation.

Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I am in Hacktoberfest
[X] I want to work on this issue

PR https://github.com/reactplay/react-play/pull/1376


Set button focus neighbor not working

Godot version
4.0 beta 3
System information
Windows 11
Issue description
set focus not working, here is the Scene Node, is this a bug?
Steps to reproduce
extends VBoxContainer
        @export var _FirstChild : TextureButton

        func _ready() :

            _FirstChild.grab_focus()

            _FirstChild.focus_neighbor_top = "t/2"                     // not working
            _FirstChild.focus_neighbor_top = NodePath("t/2")  // not working
            _FirstChild.focus_neighbor_top = "/2"                     // not working

set focus not working, here is the Scene Node, is this a bug?

Minimal reproduction project
No response

Relative node path is relative to current node. Your current node is t, so it should be 2.
/2 is an absolute node path that is relative to the root viewport.

i tried this, still not working
_FirstChild.focus_neighbor_top = NodePath("2")
what am i doing wrong?

Ah, sorry, I confused it with getting node with $.
In this case, the current node is _FirstChild, so you want to reference the sibling. ../2 will do.

wait dont close yet, i still have a problem

I thought this is solved because the thumb up :joy:
Is ../2 still not working?

not working on this one, im confused ;(

this script attach to Dialogue node
not working? idk why?

basiclly, i want to wrap it around / Navigation for ButtonChoice

I tried recreating a similar structure and the code above works.
 LMAO :)
thanks timothyqiu


[formrecognizer] rename v3 sample directory

Currently named "v3.2" but we're moving on to v3.3. Maybe should call it v3.2+ or v3.X/

completed in #30303


routes issue

hi,
thank you for your nice package.
when i Create route group to wrap package routes.
Route::group(['prefix' => 'laravel-filemanager', 'middleware' => ['auth', 'admin']], function () {
\UniSharp\LaravelFilemanager\Lfm::routes();
});
all the file manager routes duplicated and middleware not work
Laravel Framework v6.13.1
unisharp/laravel-filemanager v2.1.0
thank for your guidance.❤

go to config/lfm.php and set use_package_routes to false to disable package's routes

thank you 💙💙
l have new problem!
i change use_package_routes to false and my route is like that.
Route::group(['middleware' => ['auth','admin', 'verified']], function () {
\UniSharp\LaravelFilemanager\Lfm::routes();
});
i use TinyMCE4 my file manager popup return to 404 error

thank i fix this.
in:  var editor_config
var cmsURL = editor_config.path_absolute + 'filemanager?field_name=' + field_name;
i change cmsURL
:D :)


Cannot deploy 2.8.0 with script on bash or Powershell

Describe the bug
A standard deployment of 2.8.0 fails after an hour with the following error. This has been seen indepedently by two users in two completely different environments.
Starting deployment...
16:14:31 - The deployment 'azuredeploy' failed with error(s). Showing 1 out of 1 error(s).
Status Message: The template deployment 'platform' is not valid according to the validation procedure. The tracking id is '2d546617-4302-4432-b1c8-b7101b63b5d3'. See inner errors for details. (Code: InvalidTemplateDeployment)
 - Validation failed for multiple resources. Check 'Error.Details[]' for more information. (Code: ValidationForMultipleResourcesFailed)
   - Repository/Tag is invalid.  Could not find the specified image name and tag combination.  For private registries, make sure you are prepending the image name with the server hostname. https://mcr.microsoft.com (Code:ContainerImageError)
   - Repository/Tag is invalid.  Could not find the specified image name and tag combination.  For private registries, make sure you are prepending the image name with the server hostname. https://mcr.microsoft.com (Code:ContainerImageError)

CorrelationId: e85c1302-b3ce-4344-8a93-5a8a7abddfbe
Deployment failed.

To Reproduce
Steps to reproduce the behavior:

Clone the 2.8.0 release git clone -b release/2.8.0 https://github.com/Azure/Industrial-IoT
Ensure Az is installed https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-5.6.0#install-for-current-user
.\deploy -version 2.8.0
Wait an hour for the deployment to progress. Most, if not all, resources are actually deployed into the RG
See error message

Expected behavior
Deployment continues to end without error.
Screenshots

Desktop (please complete the following information):

OS: Windows and Linux

Issue solved. Release 2.8.0 is in development and not yet released, therefore there are no assets on MCR.


[Feature]: Concatenate output (stdout/stderr) when resuming experiment

Description
When resuming an experiment (with resume=True), currently the old output.log gets overwritten with the new output.
When I look at the log in the web ui, the old output is still displayed. However, if I download the log in the top right corner, I get the new log file. In "Files" on the web ui, there is also only the new output.log.
Suggested Solution
When resuming a run, the content of the new output.log should be concatenated to the old log.
Alternatives
No response
Additional Context
No response

Hi @henrik-schopmans, thank you for writing in. I was able to reproduce this behavior on my end and will be flagging for eng to review.

Hello !
I think I'm running into the same issue, when resuming a run the stdout logs get erased and only the logs for the resumed part are available.
We are using the resume feature to interstich training and eval steps for our model right now so having the whole log in one place would be helpful
Is it still not possible to do?

@LeSphax @henrik-schopmans , sorry, this is a weird behavior that we should fix!
The reason this is happening this way is because the client is responsible for generating the output file. When resuming, the client doesn't download the entire data (obviously) it just gets the relevant resume offsets from the server and starts streaming the data. That's why the logs in the UI look correct, however it does write the new output file causes it to be overwritten. This is indeed a sub optimal behavior and we are going to look into a fix here. (adding it to our milestones for scoping)


Multiple Functions projects on the same Workspace

Hello!
I got that the extension now uses VSCode new workspace feature rather than plain old .sln files.
The problem is, VSCode settings are now embedded on a per project basis on its own .vscode directory making things harder to maintain.
I'm trying to have the following workspace to work:

The idea is to have multiple Functions apps under the same workspace using a single .code-workspace file and start/build everything when I press F5 (yeah, I've changed the Host port on each one and also added the compounds section as the picture show).
The problem is that if I do that, build fail miserably since it tried to build the same project multiple times and the files are in use. I guess MSBuild is not seeing each one of those projects as different ones.
I'm trying to make the same behaviour for both the developers who have VS2017 on Windows using the .sln as the ones on Mac OSX using VSCode and its workspace files.
Can someone shed a light on how can I achieve that?
Thanks!

Interesting... I looked into this and couldn't get it working with the existing extension. We'll have to make changes on our side

Yeah @EricJizbaMSFT
This is what we would expect from the extensions that adopt multi-rooted workspaces.
For now we would keep the project directory structure as before, having a .sln, and all projects under src/ and test/ so we keep VS2017 working and then open every function project on its own VSCode window and build/run that individually along with any solution-wide project dependencies.
Looking forward to have the fix at least on Insider track.
Thanks for the reply!

@galvesribeiro I submitted a PR to fix this scenario. Here's our instructions for installing an insider extension: https://aka.ms/azCodeInsiders. I'll let you know once it's in master, or you can try a build from my branch: https://dev.azure.com/ms-azuretools/AzCode/_build/results?buildId=4041
I created a sample repo that was working for me. This commit in particular will probably be most helpful for configuring your project.

Awesome @EricJizbaMSFT!
I'll try it first thing in the morning and let you know.
Thank you very much for the help! :)

Hello @EricJizbaMSFT! Sorry for the delay.
I can confirm that things are working perfectly with the insider extension!
Just curious... Will the extension update itself when you publish the release package? Or will I have to uninstall it?
Thank you! I really appreciate the help!

I've found an issue @EricJizbaMSFT
If your project starts to grow, looks like the C# extension don't work pretty well. I have to keep switching the "active" project on the status bar in order to get intellisense/typeinfo/codelenses etc...
It is like if VSCode don't detect the project as a C# project.
Idk if this is a VSCode workspace issue, an Omnisharp issue, or just another issue from the insider extension...
When another project is activated (look on the status bar GP.EventSourcing):

When the project activated is the one the file is in (GP.EventStore):

Yeah I'm not sure there's anything I can do about that. It feels like a problem with the C# extension (or even VS Code) itself

@EricJizbaMSFT I think we are with similar issue now with TypeScript functions when they are in the same workspace as the C# ones. Did you tried that scenario?

Nvm. After some changes on the files similar to what you did on the C# ones I was able to make it work.
I think it should be documented somewhere that we require those changes.
Thanks!

@galvesribeiro we just released an update to the extension including these fixes. Your extension should update automatically, but just check that you get v0.16.0 instead of v0.15.1-alpha.
I tweaked the above instructions a little bit when I wrote the "official" docs, but my recommendations from above should continue to work. See the wiki here: https://github.com/Microsoft/vscode-azurefunctions/wiki/Multiple-function-projects

@EricJizbaMSFT awesome! I really much appreciate the help!
I'll test tomorrow when I get to the office with the new update.
Thanks!


Separation of sim and data

I sometimes separate simulation (sim.py) and simulation-data-reading code (simdat.py) - that way I don't have to load the whole sim to read sim data. However, to properly analyze simulation data, certain data structures are needed (number of cells, cell IDs, cell types, etc.). Is it easy for users to add the key data structures to NetPyne structures that get saved? Probably...

Netpyne data is separated into:

netParams: network high-level specifications
simConfig: simulation configuration
net: network instance, including info on all pops, cells, conns, stims etc
simData: simulation output data, including spkt times, voltage traces, etc

It is already possible to save and load each of these separately. For most of the graphs you will need the net and simData structures.


ft/Removed hard coded content

Description
This PR intends to remove hard-coded content and move it to CMS
Fixes #242
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

@kilemensi As mentioned in the call, I don't think it will be possible to remove all hard coded content. The above solution works for situations where the props does not require a key like getHero here or getOurImpact here. When props property keys are required like  partners: getOurPartners()  or here for example, we'll need to hard-code the slugs and titles.

@kilemensi As mentioned in the call, I don't th...

I don't see what you see @kelvinkipruto... but let me pull the code & check.

@kilemensi Wow  🤯🤩. Thanks. Let me go through it and see how I should have done it.

Where is the changeset @kelvinkipruto ?

🚀

Create and include changeset @kelvinkipruto

ooh, no, Let me try fix it.


Don't evaluate away builtins where the result might be unserializable

See the note. The test case does evaluate the uncompress application until you add the guard, so this is working as desired. We can see if it fixes Kenneth's problem.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Changelog fragments have been written (if appropriate)
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[x] Targeting master unless this is a cherry-pick backport
[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

This is a solution indeed. After reading your PR, I started wondering if going with option 3 (using a rewrite rule) is a better solution.
The way this evaluateBuiltins bottom-up transformation is that it will go deep and cancel the saturated uncompress builtin. The problem is that when the transformation will go up, it will not apply an evaluate builtin which is worthwile and would not lead to serialisazation problems. Anyway it is difficult to explain so here is some test you could try:
(Bls12_381_G1_equal (bls_uncompress "bytestring")  (bls_uncompress "bytestring")).
This should ideally turn into (con bool true), but based on what I am reading in this PR, I suspect that it will not reduce

(Bls12_381_G1_equal (bls_uncompress "bytestring") (bls_uncompress "bytestring")).

Just for information, uncompress will usually fail on a random bytestring.  You can get a valid point on the curve by using hashToGroup followed by compress though.  One valid compressed point is
(con bytestring # 97f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb)

in PLC, or
"\x97\xf1\xd3\xa7\x31\x97\xd7\x94\x26\x95\x63\x8c\x4f\xa9\xac\x0f\xc3\x68\x8c\x4f\x97\x74\xb9\x05\xa1\x4e\x3a\x3f\x17\x1b\xac\x58\x6c\x55\xe8\x3f\xf9\x7a\x1a\xef\xfb\x3a\xf0\x0a\xdb\x22\xc6\xbb"

with OverloadedStrings in Haskell.

The problem is that when the transformation will go up, it will not apply an evaluate builtin which is worthwile and would not lead to serialisazation problems.

Yep, that's absolutely a downside. I'm not so worried about that.

After reading your PR, I started wondering if going with option 3 (using a rewrite rule) is a better solution.

I think it's generally a bit awkward to have a pass that undoes what a different pass does. Not impossible though! One reason I like the current approach is that I think it also naturally extends to other types we might have in future that have this problem.
On the other hand, I do think that running a later pass is nice in that the earlier passes don't have to know about the serializability problem. If we had many passes that could produce new constants then what we're doing here would be quite annoying.
So I'm unsure.

I am ok to with this more principal approach, but I would appreciate a comment that 'a separate later pass to undo the evaluation would be better'. Also add please my example with a comment!

I've tried this on my branch and it enables me to get rid of all the workarounds and write what I'd expect.

(Bls12_381_G1_equal (bls_uncompress "bytestring") (bls_uncompress "bytestring")).
This should ideally turn into (con bool true), but based on what I am reading in this PR, I suspect that it will not reduce

I think you're right, but I'd suggest that if you've got a term involving these things that can be statically reduced then you've done something wrong because you probably shouldn't be doing that computation on the chain anyway.

Ah, I remembered the other reason not to do a later pass: it can't handle the Ml-result type. There isn't AFAIK a canonical way to serialise those at all, so we can't replace them with an equivalent builtin application, we just need to not produce any.

There isn't AFAIK a canonical way to serialise those at all

That's right. See this for example.

I am ok to go with this more principal approach, but I would appreciate a comment that 'a separate later pass to undo the evaluation would optimize more'. Also add please my example as a golden test with a comment!

Added.


JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Sentry Issue:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  File "requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "simplejson/decoder.py", line 372, in decode
    obj, end = self.raw_decode(s)
  File "simplejson/decoder.py", line 402, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())

JSONDecodeError: Expecting value: line 1 column 1 (char 0)
(6 additional frame(s) were not displayed)
...
  File "oidc/viewsets.py", line 267, in callback
    id_token = client.retrieve_token_using_auth_code(
  File "oidc/client.py", line 132, in retrieve_token_using_auth_code
    f"Failed to retrieve ID Token: {response.json()}"

This seems to be linked to a 504 timeout issue or similar response. Perhaps recommend that the user retry later.


Add example of using Range for SubComponent location

I struggled to find out how to work with Location->Range as the docs do not mention it currently, so I thought I will contribute an example. I hope it helps!
Let me know if you think other places need to be adjusted as well.

Thank you for the contribution --- I think that adding documentation of this sort is an excellent idea.
The current location that you are suggesting putting the example, however, doesn't quite fit in the structure of the documentation, as the "Getting started" page is focused on more generic concepts like "child objects"
What you are adding is an example that would work much better in a new documentation page that focuses on the SBOL3 data model, e.g., adapted from something like the pySBOL3 tutorial notebook at https://github.com/SynBioDex/SBOL-Notebooks/blob/main/iwbda_2023_examples.ipynb (which also doesn't currently have a really good Range example).
Would you be able to adjust your contribution to start building a page of that type?

@jakebeal I made a draft for it here: https://github.com/SynBioDex/pySBOL3/pull/449
I will close this one (the linked PR replaces it)


Add Unescape Support

Codecov Report
Attention: 116 lines in your changes are missing coverage. Please review.

Comparison is base (66a8e1a) 99.28% compared to head (83eeecc) 92.78%.

:exclamation: Current head 83eeecc differs from pull request most recent head 4ec7e0e. Consider uploading reports for the commit 4ec7e0e to get more accurate results

Files
Patch %
Lines

src/Sep/Internals/SepUnescape.cs
25.33%
50 Missing and 6 partials :warning:

...Internals/SepParserAvx512PackCmpOrMoveMaskTzcnt.cs
0.00%
28 Missing and 1 partial :warning:

src/Sep/Internals/SepParseMask.cs
56.25%
7 Missing :warning:

src/Sep/Internals/SepParserIndexOfAny.cs
83.33%
4 Missing :warning:

...p/Internals/SepParserSse2PackCmpOrMoveMaskTzcnt.cs
86.20%
4 Missing :warning:

...p/Internals/SepParserVector128NrwCmpExtMsbTzcnt.cs
86.20%
4 Missing :warning:

...p/Internals/SepParserVector256NrwCmpExtMsbTzcnt.cs
86.20%
4 Missing :warning:

...p/Internals/SepParserVector512NrwCmpExtMsbTzcnt.cs
86.20%
4 Missing :warning:

...ep/Internals/SepParserVector64NrwCmpExtMsbTzcnt.cs
86.20%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   99.28%   92.78%   -6.51%
==========================================
  Files          40       43       +3
  Lines        2671     2881     +210
  Branches      276      300      +24
==========================================
+ Hits         2652     2673      +21
- Misses         17      194     +177
- Partials        2       14      +12

Flag
Coverage Δ

Debug
92.12% <79.58%> (-6.50%)
:arrow_down:

Release
92.55% <80.51%> (-2.86%)
:arrow_down:

macos-latest
?

ubuntu-latest
92.53% <79.75%> (-3.01%)
:arrow_down:

windows-latest
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


VQA tutorial Net2 training procedure and training&eval accuracy not as fast as Net1!

I try to use the Net2 as VQA model instead Net1 to train the model. However I found the produce of training is too slow and the training loss, training acc and eval acc decrease and increase respectively too small, even the training loss increases and  training, eval acc decrease for dozens of epochs. The training procedure looks like below:

I have tried various set of hyperparameters and various optimizing algorithms, but the training procedure is still too slow. Why this happen? Does anyone can explain this? @zackchase

mxnet.base.MXNetError: Invalid Parameter format for shape expect Shape(tuple) but value='(64.0, 2048)', in operator _ones(name="", ctx="gpu(0)", shape="(64.0, 2048)", dtype="float32")
when i change to Net2 it occurs this error. anyone knows how to fix it?


Android version

Hi,
I wonder if there is any way to use this software using Termux on Android system?
Thanks!

Latest Linux arm64 prebuilt should work.

Latest Linux arm64 prebuilt
You mean v1.2.2? I don't see any later prebuilds. Btw, how to use it on Android? Please guide me. Thanks a lot.

just unzip and run it.

How exactly run it?

./XXX where XXX is the executable name.

chmod +x it.

Enough, stop here. Thank you for your every bit of enthusiasm.

On Android, only certain paths can be granted executable permissions.


Adds check if controller tmp dir exists

Problem: Have observed rare exception: java.io.FileNotFoundException: /tmp/pinot-controller-tmp/fileUploadTemp/tmp-<id> (No such file or directory). Assumption is that OS might have deleted older file under tmp directory and hence deleted controllder tmp dir files.
Solution: Add validation to ensure the temp dirs are present whenever they are accessed. If absent then pinot should create them.
solution is based on : https://howtodoinjava.com/java/io/create-directories/#2-1-files-createdirectory

I suppose this error only occurs in tests not production right?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (72c2632).
Report is 1390 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (72c2632). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (72c2632)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14503       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I suppose this error only occurs in tests not production right?

We faced this issue on production


Record Video with Chrome on iOS not triggering "allow access"

Description
The example https://collab-project.github.io/videojs-record/examples/video-only.html does not work on Chrome in iOS
Steps to reproduce
Open https://collab-project.github.io/videojs-record/examples/video-only.html with Chrome and iPhone
Results
Expected
Expected to be triggered to allow access to camera
Actual
It showed the same start screen as with android etc but upon clicking the camera icon nothing at all happens. Also, if clicking on resize will show a loading gif icon under the camera icon forever
Error output
Am afraid I do not have any debug info from the ios phone I borrowed to check this :(
Additional Information
Please include any additional information necessary here. Including the following:
versions
It is running on your end so not sure what version you use - assuming latest?
browsers
Chrome 72.0.3626.101
OSes
iPhone 6 - iOS 12.1.4
PS - I also tried Safari on same phone, it did trigger the "allow access to camera" question but could not really get it to record - on maximize I could see the camera working but could not record.
PPS - I also implemented this myself on a mobile site with latest version 3.5.1 and worked perfectly on android/linux chrome/firefox but same thing happened with iOS Chrome as on your example site - tried changing default webm format to mp4 but that did not help

thanks for the report. It would be really useful to see the browser console messages. Can you follow these instructions and paste the results here? https://www.lifewire.com/activate-the-debug-console-in-safari-445798 or https://medium.com/@mattcroak718/debugging-your-iphone-mobile-web-app-using-safari-development-tools-71240657c487

Thanks for your quick reply, correct me if I'm wrong but it seems to me both links you provided require a mac computer to work? I am not a "iMan" and don't own a Mac (nor iPhone, was just borrowing one to confirm a complaint that my recorder was not working). If I manage to get my hand on one I will - unless there is some way to do this with only iPhone and Linux!?

FYI - think I got this working with my linux - https://medium.com/@nikoloza/how-to-debug-remote-ios-device-using-chrome-devtools-f44d697003a7 - at least I could see Network and Elements data coming in, but no console data popped I'm afraid. Also, seems this and your links only work for Safari, which is OK as I also can't record anything in Safari (but at least Safari triggers me to allow access to camera and I can see the camera in action, just not record) but does not help with figuring out why chrome does not even trigger the question to allow access. Also I asked a couple of others with iPhone 8 and they had the same issue, nothing happens when clicking the video camera icon.

my bad, you should use https://medium.com/@nikoloza/how-to-debug-remote-ios-device-using-chrome-devtools-f44d697003a7

at least I could see Network and Elements data coming in, but no console data popped I'm afraid

There should be console logs. Without them it's hard to debug or even know what's going on.

Yeah, it is strange all other debug info show up just fine in my tools, just nothing in console, simply empty, annoying! Will have another go at this tomorrow, at least it seems this is readily reproducible as none of my friends with iPhone and chrome can get this link to work as well.

also see #347

Yeah thanks had noticed it, possibly a similar cause. OK - there was some debug_proxy bug but managed to work around it and get console data. I can only do this in Safari though and am more interested in what is going on in chrome, you do not happen to know of a way to get console log for ios chrome? In any way, getting safari working is also of interest - here is a screenshot of the console. 1st error comes after accepting access to camera (a question which is not triggered at all on chrome) and the 2nd error comes after clicking record - which opens up the full view of the camera but does not seem to record anything, only thing I can do is pause and close full view. Hope this is helpful

you do not happen to know of a way to get console log for ios chrome?

I'll have to research..
The screenshot and errors you see for Safari look very familiar, see #332

I've hit this problem today too. If you need anything, let me know.

Can you give https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter a try?

Can you give https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter a try?

Sorry, I misread IOS for MacOS. I'm not seeing the 'allow device' pop up when clicking the camera (?) on the demo on a MacOS using Chrome (73). I'm just collecting more info and will get back to you.

Been looking a bit more into this, recordrtc samples as well have the same issue and I have not succeeded in finding a single solution at all out there which works in Safari/Chrome on iOS. Apart, from basic  "capture" stuff - but this leaves the browser so I lose the control I was looking for regarding autostop video and limit recording length etc. Let me know if there are any further logs you need.

ha, our prayers have been heard.. this was just released: https://blog.chromium.org/2019/03/debugging-websites-in-chrome-for-ios.html @elfar @dunfy can you check that out?

And can you also try adding playsinline in the video tag, e.g.
<video id="myVideo" playsinline class="video-js vjs-default-skin"></video>

Also make sure to use and test with HTTPS-only pages.

But it looks like getUserMedia (which is used to start the camera) is only allowed in Safari on iOS, not on Chrome for iOS :open_mouth:
See https://bugs.chromium.org/p/chromium/issues/detail?id=752458
That would mean for now (until Apple fixes it), only Safari for iOS supports getUserMedia. Shocking considering it's 2019..

OK, had tried chrome://inspect before without success but just noticed that it was only introduced in M73 and I was running M72 - after an upgrade this worked very nicely. It is as you wrote getUserMedia does not seem to be supported!
The "playsinline" is that something you think would help with getting Safari working then? I can try it later today in which case.
Here is the chrome log:

FYI - added playisinline to my own player and it was the closest I have been to a working version in iOS (Safari ofc as Chrome does not exactly seem to be on Apple todo list any time soon!) I could get a inline functional camera which was showing live what I was filming. Also, although the control panel was blinking like crazy, I managed to hit record and it actually started counting up the secs as if it was recording, however it did not save any data like it does on android and this is the console log
VIDEOJS: Using video.js 7.4.1 with videojs-record 3.4.0 and recordrtc 5.5.4
index.js:192 device is ready!
index.js:70 started recording video stream.
index.js:12429 VIDEOJS: ERROR: Your browser does not supports Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.
(anonymous) @ index.js:12429
dispatcher @ index.js:14092
trigger @ index.js:14226
dispatcher @ index.js:14090
index.js:351 It seems that recorder is destroyed or "startRecording" is not invoked for video recorder.

It is as you wrote getUserMedia does not seem to be supported!

Thanks for the log messages, I will handle improve the error message for browsers that do not have getUserMedia like Chrome iOS. I'll also add a note to the browser support table in the readme.

FYI - added playisinline to my own player and it was the closest I have been to a working version in iOS

are you saying that without playsinline it's not properly working on Safari iOS?

Also, although the control panel was blinking like crazy,

That's really weird..
I hope the upcoming iOS Safari release will have MediaRecorder support.

Yes, this does not work in Safari iOS, it is closer to working than Chrome as it gets past the "getUserMedia" and asks for permission. However, without playisinline clicking on record will open up the video full screen and the only thing you can do is press pause/play and nothing is seemingly being recorded and no counter. With playisinline, you will see the camera inline and clicking on record will actually count up recording seconds as if it was working, however, seemingly nothing is being recorded. I have tested a fair amount of possible solutions out there and not been able to get any of them to record video in browser in Safari, only by leaving the browser and use capture will it work.
My first screenshot is what I get in console log in Safari iOS on your sample site.

thanks for the confirmation. I will add playsinline to all video examples as it seems required for Safari.

The improved error message is now in master branch and will be released as 3.6.0 this week.

Great thanks for your effort on this. Btw regarding the supported browser section for videojs-record isn't this then misleading?
"Safari	Stable / Beta/ Preview (OSX/iOS)	Audio + Video + Image + Screen"
Because, and correct me if I'm wrong, you will not be able to record anything (at least not video, have not been testing audio) on any iOS browser using this code or, seemingly to me, any other code out there?

Hi, I have the same problems using safari and chrome on ios. I ported my web app via cordoba to ios and this doesn't work as well. Is there any solution to this?
Thank you & best regards

Is there any solution to this?

Please read the info in this ticket before commenting. Star https://bugs.chromium.org/p/chromium/issues/detail?id=752458 if you want to let them know this is an important feature.

I'm having the same problem in iOS Chrome and safari.

it's a known browser issue, see my previous comment.

But it looks like getUserMedia (which is used to start the camera) is only allowed in Safari on iOS, not on Chrome for iOS
See https://bugs.chromium.org/p/chromium/issues/detail?id=752458
That would mean for now (until Apple fixes it), only Safari for iOS supports getUserMedia. Shocking considering it's 2019..

Good news! According to https://caniuse.com/stream:

Before iOS 14.3 getUserMedia returned no video input devices in UIWebView or WKWebView, but only directly in Safari.

So Chrome for iOS 14.3 or newer supports getUserMedia (haven't tested yet). Finally :)

So Chrome for iOS 14.3 or newer supports getUserMedia (haven't tested yet). Finally :)

Tested it with iOS14.4 and Chrome 87.0.4280.77 but couldn't produce a proper recording (it created a 0kb file). Safari on iOS14.4 worked fine though.

Hello,
We are facing issue on Ipad-Chrome browser (OS-14.7 and OS- 14.3 ) and (Latest chrome version) , We can record the video but not able to play on the chrome browser, but same working fine in the safari browser. (In the Iphone safari and chrome it is working fine).. Any Suggestion or Solutions please.

Hi. @thijstriemstra th
We are facing issue on Chrome Ios , we can click record the video but after 2-3s browser willl refresh. (In safari it is work perfect)..
More detail is below:


the server crashed when swiftly loaded

OS: Linux, Docker(use image from joedwards32/CS2 and patched with libreadline8)
Used plugin: nothing
The server seems to be crashing trying to load Swiftly, even though Swiftly is failing to load.
cs2-dedicated  | [Swiftly] [Patch] Patches performed: 00.
cs2-dedicated  | [Swiftly] [Database] 2 databases have been succesfully loaded.
cs2-dedicated  | [Swiftly] [Addons] Loaded 0 addons.
cs2-dedicated  | [Swiftly] [Hooks] Hooking PrecacheResource...
cs2-dedicated  | [Swiftly] [Hooks] Hooked PrecacheResource.
cs2-dedicated  | [Swiftly] [Hooks] Hooking CCSPlayer_MovementServices_CheckJumpPre...
cs2-dedicated  | [Swiftly] [Hooks] Hooked CCSPlayer_MovementServices_CheckJumpPre.
cs2-dedicated  | [Swiftly] [Hooks] Hooking CLoggingSystem_LogDirect...
cs2-dedicated  | [Swiftly] [Hooks] Hooked CLoggingSystem_LogDirect.
cs2-dedicated  | [Swiftly] [Hooks] Hooking FireOutputInternal...
cs2-dedicated  | [Swiftly] [FuncHook] Failed create for FireOutputInternal.
cs2-dedicated  | Error Message: Signature was not found.
cs2-dedicated  | [Swiftly] [Load] Hooks failed to initialize.
cs2-dedicated  | [META] Failed to load plugin addons/swiftly/bin/linuxsteamrt64/swiftly:
...
cs2-dedicated  | [Swiftly] [Crash Reporter] A crash has occured and a dump has been created:
...

Hi there,
If you look closely, this is the error: Signature was not found.
Update the bin and gamedata folders.

It already is the same.
Just that, in your gamedata folder uploaded for your server, the FireOutputInternal is not being set in signatures.json.

It's in my signatures.json too 🥹

Then, the only thing I can think of is that the docker image isn't at its last version.
Try to update it with docker pull.

@skuzzis uhhhh sorry, I just checked all my files, the cause is CSSharp is enabled.
I started setting up a server a few days ago and didn't know that CSSharp and Swiftly can't coexist.
It's very attractive to be able to quickly develop simple plugins with Lua scripts, but some Fix plugins only exist in C#, so I would like to disable them for the time being.
Thank you for your support! !

Don't worry, we're glad that you've found the issue. Don't hesitate to contact us again in case there are other problems.


fix(47858): 'Any' on anonymous function argument response in generic

Fixes #47858

Do you want to keep working on this? Otherwise I'd like to close it to reduce the number of open PRs.

@sandersn feel free to close this since I am not sure what action should be taken here

Given that, some more test cases that use this in the function body (and the return expression itself) seem warranted.

^^^


Implement RFC5: State updates Chain type

I want to get the two proptests that henry mentioned implemented before merging, just having a bit of trouble figuring out how to make arbitrary fake chains :sweat_smile:

I want to get the two proptests that henry mentioned implemented before merging, just having a bit of trouble figuring out how to make arbitrary fake chains 😅

Let me know if you need help with that - you might want to start at genesis, and then add various forks.

I feel like this PR is now too big for me to review effectively.
Can we review proptest-impl separately, merge it, and then finish the reviews on this PR?

@teor2345 https://discordapp.com/channels/676527656170160146/716086297210650634/758474653207101480

Just following up with the sprout and sapling roots - it doesn't look like we'll need to change the RFC design or implementation:
https://github.com/ZcashFoundation/zebra/pull/902/files#r493427948


Too many rows to serialize on postgres

I think the initialization is struggling with the amount of data in my database and it's timing out. Can you add an option to not serialize?
Error:
received: {"action":"exec","sql":"SELECT table_schema, table_name, column_name\n            FROM information_schema.columns \n            WHERE table_schema not in ('pg_catalog', 'information_schema', 'pg_internal')","id":3}
Error: Too many result rows to serialize: Try using a LIMIT statement.

I'm getting this error too. In my case there are a lot of inherited tables. Being able to supply a table name filter before running this check would be good. Or just a plain limit with pagination to start could work.


Sympy math output should not be surrounded by $$

Environment data

VS Code version: 1.29.1
Extension version (available under the Extensions sidebar): 2018.10.1
OS and version: MacOS 10.14.1
Python version (& distribution if applicable, e.g. Anaconda): Anaconda, 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Actual behavior
If I use the Jupyter functionality to run this code:
from sympy import *

init_printing(use_unicode=True)

x = symbols('x')
solveset(sin(x) - 1, x, domain=S.Reals)

the result is surrounded by $$ on each side.
Expected  behavior
The $$ should not be there. I suggest don't just strip this but try to understand why as it is probably symptomatic of a different issue.
Steps to reproduce:

See above

I have no idea why we end up with $$ around the output. Jupyter does not put it there. Comparing the html output between each it looks like Jupyter is returning the $$ for some reason:
Jupyter HTML:

Our HTML:

Maybe its some MathJax configuration. In some cases $$ is used as MathJax
delimeters.
On Fri, Jan 4, 2019 at 11:34 AM Rich Chiodo<EMAIL_ADDRESS>wrote:

I have no idea why we end up with $$ around the output. Jupyter does not
put it there. Comparing the html output between each it looks like Jupyter
is returning the $$ for some reason:
Jupyter HTML:
[image: image]
https://user-images.githubusercontent.com/19672699/50707054-8b104380-1014-11e9-9e8c-24aeb4909155.png
Our HTML:
[image: image]
https://user-images.githubusercontent.com/19672699/50707099-a713e500-1014-11e9-81e5-97e45cf166b9.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode-python/issues/3402#issuecomment-451545446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AConiPEnf6ZgufnqM9eHlkEpBa4-2uH2ks5u_6y1gaJpZM4YqGmU
.


Feature: Remove dependency on SDC.Tasks

Remove dependency on deprecated SDC.Tasks MSBuild task library
This work item was migrated from CodePlex
CodePlex work item ID: '10559'
Assigned to: 'tfabraham'
Vote count: '1'

[UnknownUser@3/17/2014]
Resolved with changeset 74711: Remove dependency on SDC.Tasks DLL (#10559)


"ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0" in kilim.Mailbox

the issue
$ java -Dkilim.Scheduler.numThreads=1 -Ddebug=true ChanPerfKilim 0 10
[main] size 0, items 10
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
	at kilim.Mailbox.put(Mailbox.java:134)
	at kilim.Mailbox.put(Mailbox.java:372)
	at ChanPerfKilim$Writer.execute(ChanPerfKilim.java:56)
	at kilim.Task.run(Task.java:550)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
	at kilim.Mailbox.get(Mailbox.java:80)
	at kilim.Mailbox.get(Mailbox.java:169)
	at ChanPerfKilim$Reader.execute(ChanPerfKilim.java:74)
	at kilim.Task.run(Task.java:550)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
33ms

the test case
import kilim.*;
import kilim.tools.*;

public class ChanPerfKilim {

  static final boolean debug = Boolean.getBoolean("debug");

  public static void main(String[] args) throws Exception {
    if (Kilim.trampoline(new Object() {},false,args)) return;

    final int size, items;

    if (args.length > 0) size = Integer.decode(args[0]);
    else size = 0;
    if (args.length > 1) items = Integer.decode(args[1]);
    else items = 10000000;
    log("size %d, items %d", size, items);

    final Mailbox<Integer> chan;
    if (size < 1) chan = new Mailbox<>(0, 1);
    else chan = new Mailbox<>(size, size);

    Mailbox<ExitMsg<?>> exitmb1 = new Mailbox<>();
    Mailbox<ExitMsg<?>> exitmb2 = new Mailbox<>();

    Task writer = new Writer(chan, items);
    writer.informOnExit(exitmb1);

    Task reader = new Reader(chan, items);
    writer.informOnExit(exitmb2);

    long ts = System.currentTimeMillis();
    writer.start();
    reader.start();

    exitmb1.getb();
    exitmb2.getb();
    long te = System.currentTimeMillis();

    System.out.println((te - ts) + "ms");
  }

  static class Writer extends Task {
    Mailbox<Integer> mymb;
    final int n;

    public Writer(Mailbox<Integer> mymb, int n) {
      this.mymb = mymb;
      this.n = n;
    }

    public void execute() throws Pausable {
      int i = n;
      do {
        int j = --i;
        mymb.put(j);
        log("put(): %d", j);
      } while (0 < i);
    }
  }

  static class Reader extends Task {
    Mailbox<Integer> mymb;
    final int n;

    public Reader(Mailbox<Integer> mymb, int n) {
      this.mymb = mymb;
      this.n = n;
    }

    public void execute() throws Pausable {
      int i = n;
      do {
        int j = mymb.get();
        log("get(): %d", j);
        --i;
      } while (0 < i);
    }
  }

  static void log(String format, Object ...args) {
    if (debug) {
      String threadName = Thread.currentThread().getName();
      String s = String.format(format, args);
      System.out.println(String.format("[%s] %s", threadName, s));
    }
  }

}

I can reproduce this bug. 0-size Mailboxes don't really make sense in kilim. not sure if I should fix the reallocation, or just set the minimum size to 1 in the constructor
@sriram-srinivasan see any disadvantage to setting the min size for a Mailbox to 1 ?
in terms of the performance, looks like what you're trying to do is similar to this ring buffer test that we helped optimize a bit a couple years ago
https://github.com/vy/fiber-test
if you did any benchmarking of kilim vs other implementations, would be interested in seeing the results. also, I see that you're using github.com/offbynull/coroutines which I had not previously seen. If you can share any lessons learned or advantages of one vs the other, that would be great too !
thanks for checking out kilim !

@sriram-srinivasan https://github.com/sriram-srinivasan see any disadvantage to setting the min size for a Mailbox to 1 ?
in terms of the performance, looks like what you're trying to do is similar to this ring buffer test that we helped optimize a bit a couple years ago

No, it is worth setting it to 1. Let mailbox always stand for buffered I/O.

@sriram-srinivasan do you think the unbuffered variant that Peter proposed in 72 seems like a feature worth adding ? ie, is it a commonly used golang metaphor ? if so, any thoughts on a name ?
not immediately obvious to me what the use case would be - ie, why bother waiting for another computation to reach a particular point if you don't care about the result of the computation

We should make sure that the min size of a mailbox is 1 if no unbuffered mailbox in killim.

this is closed by:
https://github.com/nqzero/kilim/commit/3248c9fd48c44c9cfb3d501ece1753bff1752898
thanks for the bug report @little-pan !


⚠ Processors has degraded performance

In be17c03, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: Processors performance has improved in 3bff097.


removeQueryParameters fails in Firefox content scripts: Error URLSearchParams.keys() is not a method

The option removeQueryParameters of normalizeUrl with a list of RegExps raises an error of "Error: o.searchParams.keys() is not iterable" only in Firefox content scripts.
I compile code from TypeScript, the code snipet with usage of normalizeUrl is following:
normalizeUrl('https://github.com/sindresorhus/normalize-url/issues/', {
   forceHttps: true,
   normalizeProtocol: true,
   removeTrailingSlash: true,
   removeQueryParameters: [/^utm_\w+/i, /^itm_\w+/i],
   sortQueryParameters: true,
   stripAuthentication: true,
   stripHash: true,
   stripProtocol: false,
   stripTextFragment: true,
   stripWWW: true,
})

Version: 7.0.3

tsconfig.compilerOptions:

lib: ["ES2020","dom","dom.iterable"]
target: es6
module: ES2020
moduleResolution: node
allowJs: true

Update: if rewrite related code to use urlObject.searchParams.forEach it works just fine.

This has nothing to do specifically with this package. It's either a TS config issue or a Firefox issue.

This has nothing to do specifically with this package. It's either a TS config issue or a Firefox issue

Thanks for the update!
Do you think it doesn't make sense to use .forEach instead? It would be more transferable and even cheaper for URLs with many query params -

Complexity O(n), where n is a number query parameters. Same as before.
Memory O(k), where k is a number of query parameters to delete. k ≪ n. Now it's O(n).

I can make a PR to fix it. It can be something like this:
  if (Array.isArray(removeQueryParameters)) {
    const keysToDelete: string[] = []
    urlObject.searchParams.forEach((_value: string, key: string) => {
      if (testParameter(key, removeQueryParameters)) {
        keysToDelete.push(key)
      }
    })
    keysToDelete.forEach((key: string) => urlObject.searchParams.delete(key))
  }

What do you think @sindresorhus ?

Do you think it doesn't make sense to use .forEach instead?

I'm not interested in using .forEach. I prefer for-of.

Sure, thanks for the information then!


Github links point to archived repos

Throughout the docs there are references to GitHub repos. Many of them reference https://github.com/aspnet but this repo is archived and read only. Links should be updated to use correct repo locations.

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

ID: 7b506236-b211-eb9d-b571-5efecdde76c8
Version Independent ID: 1bb011dd-a559-c0d7-b0cf-984fbb2d4bd3
Content: Use HttpClientFactory to implement resilient HTTP requests
Content Source: docs/standard/microservices-architecture/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md
Product: dotnet
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

created a PR to update the link to the active repo


Devdocs: how to add a new node type

Split from #21.
Use this PR as a guide: #127
Possibly directly do some light refactoring if it is possible to make it slightly easier, perhaps there are too many node lists in the code.

Closed by #222


Add Jose Antonio Paez University

Institution/School Name
Jose Antonio Paez University
Instiution/School Website
https://ujap.edu.ve/
Email Users
Please place an x between the square brackets if yes

[x] Students
[x] Academic/Teaching Staff
[x] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[x] Post-graduate research
[ ] Graduate School
[x] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

@jbustoos22 I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Change command line for node version

node -v retrieves the version of node cli, not of nodejs engine.

I signed it!

Hello!
What we need in here is what you call the node CLI version and not the V8 version.
Both are a valid way of measure what version you have, but the CLI version is what the people usually use for this cases.
Thank you.

Ok, thanks.
I was confused by some major discrepancies in the versions of node cli and v8 engine on my machine, but with your explanation it now makes sense.
Sorry for disturbance and many thanks for the great project!


ArcGis pipeline api

The pipeline files are ready:
https://services5.arcgis.com/vNzamREXvX2WcX6d/ArcGIS/rest/services/Feature_Layers/FeatureServer/1
query example:
https://services5.arcgis.com/vNzamREXvX2WcX6d/ArcGIS/rest/services/Feature_Layers/FeatureServer/1/query?where=pinfo_id='NGTL'&f=json

WGS84 is ready:
https://services5.arcgis.com/vNzamREXvX2WcX6d/arcgis/rest/services/CER_Pipeline_Systems_WGS84_view/FeatureServer/3


Warning: Data Migration from the HACS version to the Core version - Not possible today

Hi,
Since a lot of us like to have the history about our energy usage, especially in these times of very expensive energy, there must be a way to migrate data from the new domain created for Core from the older domain in HACS. Losing the data, means we lose insight on how we are doing compared to previous weeks and months.
For now, I am using the new homewizard integration which works fine with slight differences. If you don't delete the "obsolete" entities (HACS integration) you can still graph those and use the data, although the energy config will complain about them (missing entities) missing in the active domain.
It's workable (apart from the time the entities were double counting, due to the fact that I had both running).
I would suggest that the focus should be on migration. there must be a way to migrate old data in the database from the old domain to the new. (Maybe ask Frenck for some ideas on that)
It's a bummer like this.
To leave this message on a high note, I do appreciate all the hard work and effort and it made it into core. lucky people who start to work with it from today or don't care about history.
All the best.

https://github.com/DCSBL/ha-homewizard-energy/issues/74
https://github.com/DCSBL/ha-homewizard-energy/pull/79
Just install Home Assistant 2022.2.2 and https://github.com/DCSBL/ha-homewizard-energy/releases/tag/0.13.0. It will migrate to the core version.

O, and https://github.com/home-assistant/core/pull/65594

yep did that, but again, I do lose history if I don't keep the "old entities alive" I see only data for the week in which the new integration is running. adding the old entities back in the energy config brings the data back in the UI. But having said that I am unable to find any log errors.
More than an Issue this is more a heads up to others having issues that they are not alone, and that hopefully they save the other config and backed up.
Thanks
offcourse I did update HACS to the "migration version" 0.13.0 and the new integration was autodiscovered.

Feb 4: D-DAY
When HACS is removed I lose all visible FEB 3 and before
FEB 5: you see the double graphing, but integrations active (logical, but entities active and collecting
FEB 7: disable HACS component but keep the old entities in the energy config to have them graphed in the UI, remove them the graphs become empty before feb 4.
Re-added them, they are graphed again, although double counting during the Time of the overlap.


boost169: init (at 1.69)

Motivation for this change
https://www.boost.org/users/history/version_1_69_0.html
From a maintainer perspective, the visibility changes are welcome
(but also may cause problems at first).
However this doesn't change our default boost version
(currently at 1.67) so there's no breakage "yet" :).
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

boost162 and boost163 seem to be unused. Can they be removed?


Missing letters

I'm using Lagrange 1.17.0 on Debian 12 with the Sway window manager (Wayland).
Sometimes (seemingly) random bits of text go missing:

Going to Preferences and changing the font temporarily fixes this, but not long after it happens again, no matter what font I choose.

SDL's Wayland backend is known to have various issues and instability with Lagrange. This could be contributing here. Could you attach here your CMake build configuration, especially the various ENABLE_* variable options?
At a glance, the first screenshot looks like misplaced draws and the second one looks like missing glyphs in the font cache.

Could you attach here your CMake build configuration, especially the various ENABLE_* variable options?

//Draw a custom window frame (Windows)
ENABLE_CUSTOM_FRAME:BOOL=OFF

//Allow changing the Downloads directory
ENABLE_DOWNLOAD_EDIT:BOOL=ON

//Use the GNU FriBidi library for bidirectional text
ENABLE_FRIBIDI:BOOL=ON

//Build the GNU FriBidi library (if OFF, try pkg-config)
ENABLE_FRIBIDI_BUILD:BOOL=OFF

//Use the HarfBuzz library to shape text
ENABLE_HARFBUZZ:BOOL=OFF

//Build the HarfBuzz library with minimal dependencies (if OFF,
// try pkg-config)
ENABLE_HARFBUZZ_MINIMAL:BOOL=OFF

//While idle, sleep in the main thread instead of waiting for events
ENABLE_IDLE_SLEEP:BOOL=OFF

//Use IPC to communicate between running instances
ENABLE_IPC:BOOL=ON

//Enable kerning in font renderer (slower)
ENABLE_KERNING:BOOL=ON

//Use native context menus (macOS)
ENABLE_MAC_MENUS:BOOL=ON

//Use the phone mobile UI design instead of desktop UI
ENABLE_MOBILE_PHONE:BOOL=OFF

//Use the tablet mobile UI design instead of desktop UI
ENABLE_MOBILE_TABLET:BOOL=OFF

//Use mpg123 for decoding MPEG audio
ENABLE_MPG123:BOOL=OFF

//Use popup windows for context menus (if OFF, menus are confined
// inside main window)
ENABLE_POPUP_MENUS:BOOL=ON

//Resources should always be found via relative path
ENABLE_RELATIVE_EMBED:BOOL=OFF

//Force window to redraw during resizing
ENABLE_RESIZE_DRAW:BOOL=ON

//Use Sparkle for automatic updates (macOS)
ENABLE_SPARKLE:BOOL=OFF

//Enable the Curses TUI instead of GUI
ENABLE_TUI:BOOL=OFF

//Use libwebp to decode .webp images (via pkg-config)
ENABLE_WEBP:BOOL=OFF

//Set position after showing window (workaround for SDL bug)
ENABLE_WINDOWPOS_FIX:BOOL=OFF

//Use WinSparkle for automatic updates (Windows)
ENABLE_WINSPARKLE:BOOL=OFF

//Use software rendering (X11)
ENABLE_X11_SWRENDER:BOOL=OFF

//Use Xlib directly, if available (X11)
ENABLE_X11_XLIB:BOOL=ON

Is this what you need?

Yes, thank you. Looks like you are using the "simple" text renderer that doesn't support RTL text and complex Unicode compositions (HarfBuzz disabled). Is this intentional?
The simple text renderer does use most of the same code as the more full-featured one, but since it's nowadays not the default renderer, bugs may have crept in there. I have a vague recollection that some glyph caching issues were fixed in the new text renderer but perhaps not in the simple one. I'll need to investigate...

Looks like you are using the "simple" text renderer that doesn't support RTL text and complex Unicode compositions (HarfBuzz disabled). Is this intentional?

Yes, I don't really need those complex Unicode features, so I had disabled HarfBuzz.  However, now I'm using v1.17.1 with HarfBuzz and the problem persists.  This time I compiled with:
ENABLE_FRIBIDI:BOOL=ON
ENABLE_FRIBIDI_BUILD:BOOL=ON
ENABLE_HARFBUZZ:BOOL=ON

Here's a glitch I haven't encountered before:


Pygmo 2

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Ok, merging since everything is green now.
By the way, congratulations on the great work you've done with Pagmo/Pygmo 2 @bluescarni. It seems you have simplified and improved the build process a lot.

@ccordoba12 Thanks! And thanks a lot for all the assistance as well!


Get-CSDirectoryListing doesn't work with -Recurse

I expected this to work but it didn't. Investigate the feasibility of this.

Disregard. This works fine.


fix: Ensure new test starts with specified number of users after previous test has been stopped

Fixes #2135

👍👍


Undo functionality

This will be a pain to implement, but it's probably necessary.

Some thoughts on implementation:
There is a core Action class. User actions that can be undone/redone can be represented by Actions. An action can be carried out and undone.
Undo functionality is accomplished through the use of an Action chain. This involves an array of Actions and a pointer representing the most recently completed action. Undoing moves the pointer backwards; redoing moves the pointer forwards, if possible. Completing a new action removes any existing actions after the pointer, adds the action to the array, and increments the pointer.

There are a few subclasses of Action, each representing a specific type of action:

SettingsAction: updates the settings. The action will need to know the new and old values of the settings (so that it can undo and redo). This one should be pretty easy.
NewReminderAction: creates a new reminder. Will require #250 to be resolved.

EditReminderAction: edits an existing reminder. Will need the old and new reminders. Dependent on the resolution of #250.

NewEventAction and EditEventAction: same as NewReminderAction and EditReminderAction, respectively, only for events instead of reminders.
NewTaskAction and EditTaskAction: same as NewReminderAction and EditReminderAction, respectively, only for tasks instead of reminders.
LockChunkAction: locks/unlocks a chunk. If the chunk is locked, includes the chunk date. Needs the chunk's number and task.
EditDayAction: edits the start/end time of a day. Contains the locked/unlocked status of the start and end time and, for those that are locked, their values.
CompleteChunkAction: completes a chunk. Needs the chunk number and parent task.
CompleteTaskAction: completes a task. Needs the task ID.
`DeleteReminderAction: deletes a reminder. Needs a copy (not just a reference) to the task.
DeleteEventAction and DeleteTaskAction: delete events and tasks, respectively, like DeleteReminderAction


Adding encryption for JSON requests

This uses http headers. I did not add encryption for viewing the html table (/results), since it would only be accessed by clicking on the link in surveyor. HTML links cannot contain headers.
To solve that, I'm working on the researcher sign-in. We'll authenticate based on session.

@3hoursofsleep — this is good to go, except for docs, right?

I just added some logic that would use /se/{encrypted_string} to get the survey url and worker_id. Should be good to go for our testing with workers next week.

Yep, I know. I think eventually we would prefer to centralize functionality or surveyor on surveyor and keep individual mapping focused on our internal panel efforts. But I think for now its ok to have it this way if it makes it easier to set up.