problems genotyping, dysgu run --sites

Hello,
I am having trouble getting the expected genotyping behaviour from dysgu run --sites. I am appreciating help in understanding the problem, which might be a misunderstanding of the expected behaviour on my part, in which case a clarification would be nice.
I called SVs separately in mutant and wildtype and filtered to get the unique ones. Up to here everything works fine.
dysgu filter \
--normal-vcf wildtype.vcf \
mutant.vcf \
wildtype.bam \
> mutant-vs-wildtype.vcf

as documented, the resulting vcf (mutant-vs-wildtype.vcf) contains the sites predicted to be unique in mutant and contains only one sample: "mutant". I would like to generate a vcf that has these positions but also contains a column for the wildtype sample. To this end I was thinking I can genotype the wildtype sample for the reported positions and then merge the vcfs, however, when I issue below genotyping command, the resulting vcf (wildtype.re_geno.vcf) contains many more variants than the input vcf specified with --sites (mutant-vs-wildtype.vcf). 18,000 vs 100. Is this expected, or am I using it wrongly?
dysgu run -x -p8 --sites  mutant-vs-wildtype.vcf \
reference-genome.fa \
./tmp \
wildtype.bam \
> wildtype.re_geno.vcf

Another observation is that the process took much longer than the original SV calling (double), despite specifying double the processors to use. Thank you very much for your help, the stdout/stderr is belwo.
2023-11-30 18:01:45,225 [INFO   ]  [dysgu-run] Version: 1.6.2
2023-11-30 18:01:45,225 [INFO   ]  run -x -p8 --sites mutant-vs-wildtype.vcf reference.fa ./tmp wildtype.bam
2023-11-30 18:01:45,225 [INFO   ]  Destination: ./tmp
2023-11-30 18:03:39,600 [INFO   ]  dysgu fetch wildtype.bam written to ./tmp/wildtype.dysgu_reads.bam, n=17391638, time=0:01:54 h:m:s
2023-11-30 18:03:39,601 [INFO   ]  Input file is: ./tmp/wildtype.dysgu_reads.bam
2023-11-30 18:03:39,662 [INFO   ]  Sample name: wildtype
2023-11-30 18:03:39,662 [INFO   ]  Writing vcf to stdout
2023-11-30 18:03:39,662 [INFO   ]  Running pipeline
2023-11-30 18:03:40,117 [INFO   ]  Calculating insert size. Removed 3 outliers with insert size >= 2187
2023-11-30 18:03:40,124 [INFO   ]  Inferred read length 151.0, insert median 99, insert stdev 205
2023-11-30 18:03:40,125 [INFO   ]  Max clustering dist 1124
2023-11-30 18:03:40,125 [INFO   ]  Reading --sites mutant-vs-wildtype.vcf
2023-11-30 18:03:40,148 [INFO   ]  Building graph with clustering 1124 bp
2023-11-30 18:13:31,832 [INFO   ]  Total input reads 17391638
2023-11-30 18:13:32,277 [INFO   ]  Added 99 variants from input sites
2023-11-30 18:13:32,650 [INFO   ]  Graph constructed
2023-11-30 18:13:32,651 [INFO   ]  Minimum support 3
2023-11-30 18:19:45,004 [INFO   ]  Number of components 12070167. N candidates 3391085
2023-11-30 18:19:45,194 [INFO   ]  Number of matching SVs from --sites 109
2023-11-30 18:33:38,783 [INFO   ]  Re-alignment of soft-clips done. N candidates 34699
2023-11-30 18:33:39,130 [INFO   ]  Number of candidate SVs merged: 2885
2023-11-30 18:33:39,130 [INFO   ]  Number of candidate SVs after merge: 31814
2023-11-30 18:33:39,169 [INFO   ]  Loaded n=9 chromosome coverage arrays from ./tmp
2023-11-30 18:33:48,265 [INFO   ]  Loading Model: /home/norman/miniconda3/envs/dysgu/lib/python3.10/site-packages/dysgu/dysgu_model.1.pkl.gz
/home/norman/miniconda3/envs/dysgu/lib/python3.10/site-packages/sklearn/base.py:348: InconsistentVersionWarning: Trying to unpickle estimator LabelEncoder from version 0.23.2 when using version 1.3.2. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to:
https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations
warnings.warn(
2023-11-30 18:33:48,486 [INFO   ]  Model config: pe, diploid: True, contig features: True. N features: 43
2023-11-30 18:33:54,382 [INFO   ]  dysgu call ./tmp/wildtype.dysgu_reads.bam complete, n=17929, time=0:30:14 h:m:s
2023-11-30 18:33:54,594 [INFO   ]  dysgu run wildtype.bam complete, time=0:32:09 h:m:s

Hi @warthmann,
The documentation is not very clear, apologies. When you filter against a normal sample, the calls returned should be unique to the mutant line. In theory this should mean all the sites in the normal are 0/0. In practise, some sites may have low support. When you supply a --sites file, the whole genome is analysed, not just the regions around the input sites. Any variant in the --sites file will make SV detection more sensitive around those sites, but all SVs from the genome will still be reported, which is consistent with your output.
I think the behaviour you were expected was a bit different - using dysgu to only re-genotype a file (rather than discovery as well). If you only want re-genotyping around the input sites, you can provide a bed file of regions to search using the --search option.
Hope that helps

hello,
thank you for this clarification.
Regarding the --search flag in dysgu run. I can parse the required positions from the vcf. converting this into a .bed file, will I need to pad the positions in some way or can you recommend using the (same) position of the variant as BEGIN and END in the .bed? Alternatively, can I suggest including a feature similar to --all-sites for dysgu --filter? I.e., such that upon set flag dysgu --filter returns a vcf that also contains entries for a list of specified samples, or all samples for which a bam file is provided?
thanks a lot

That is a good suggestion, I can try and add that in the next release.
In the meantime, you will need to parse the dysgu vcf to extract the regions surrounding each breakpoint. I recommend using pysam for this. The pad should be similar to the insert size: Pseudo code would be along the lines
import pysam

vcf = pysam.VariantFile('dysgu.vcf')
outbed = open('out.bed', 'w')
insert = 200

for v in vcf.fetch():
    outbed.write(f"{v.chrom}\t{v.pos - insert}\t{v.pos + insert}\n")
    if r.info['SVTYPE'] != 'TRA':
        outbed.write(f"{v.chrom}\t{v.end - insert}\t{v.end + insert}\n")
    else:
        outbed.write(f"{v.info['CHR']}\t{v.info['CHR2_POS'] - insert}\t{v.info['CHR2_POS'] + insert}\n")

Dysgu will sort and merge intervals as needed.


Behaviour of drop capabilities using ALL

Quick question, if we want to set the ALL entry for the capabilities.drop , is there a difference on using ALL vs all . On PSP definitions, we use to set all, but it seems PSA is opinionated on allowing only ALL. Is there any context you can provide on this?

The PSS/restricted spec does explicitly requires 'ALL' and the Pod Security Admission controller implementation requires 'ALL' as well.
In practice, cri-o and containerd appear to do case-insensitive matching for the ALL keyword, but this is not guaranteed to work for other runtimes.
Until a stricter CRI capabilities spec is championed in SIG-Node, it's preferable and arguably more correct for the PSS policies to stick to the canonical ALL capitalization. That way they will be consistent with each other as well as their own spec. It is very unlikely that the PSA implementation will change without a corresponding change to the CRI capabilities spec.
This is one of the axes I grind, e.g., https://github.com/kyverno/policies/issues/450

@joebowbeer thanks for the prompt response.
The provided context is sufficient for my use case and general doubts, please feel free to close this issue.


Multiple domains don't work on in helm chart

This is an amazing plugin. Incredibly useful.
I think the template substitution may cause grief in the helm chart when specifying multiple domains.
        domain:
          mydomain.com

works fine
        domain:
          mydomain.com myseconddomain.com

causes both to fail.
I believe it is because the configmap is generated like so
k8s_gateway "mydomain.com" {
      apex k8s-gateway.infra-system
      ttl 300
    }

and
k8s_gateway "mydomain.com myseconddomain.com" {
      apex k8s-gateway.infra-system
      ttl 300
    }

Workaround:
editing the configmap in the second case to not have quotes. E.g.
k8s_gateway mydomain.com myseconddomain.com {
      apex k8s-gateway.infra-system
      ttl 300
    }

works perfectly, but does mean it needs to be edited by hand after the helm deploy :).
Note: I'm deploying this using argocd, so unsure if that is maybe interfering as well. I would think not, but worth mentioning.

could be it just a matter of removing " in this line? https://github.com/ori-edge/k8s_gateway/blob/aaa1863e2df9b08aee0eb5a4a8d59e7b48b01faa/charts/k8s-gateway/templates/configmap.yaml#L23
@btrepp do you want to test to see if it works?

Bit of a noob on this but will do when I get a chance :)

Hello, I have the same need, so this "simple" evolution could really be cool :)


Intergrate trocador

closes #253
This diff adds support for trocador instant exchange

https://github.com/crypto-power/cryptopower/issues/243#issuecomment-1818447077

after placing a trade with trocador, i get error message "Unsupported asset type" in my recent order list

clicking to open the trade, i get the following error
2023-11-24 09:32:43.377 [ERR] SHWL: instantSwap.GetOrderInfo: json: cannot unmarshal array into Go value of type trocador.Trade
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x168 pc=0x13a4b02]

goroutine 24 [running]:
github.com/crypto-power/cryptopower/ui/page/exchange.(*OrderDetailsPage).layout.func1.1({{{0x0, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/exchange/order_details_page.go:249 +0xa2
gioui.org/layout.Flex.Layout({0x19?, 0x0?, 0x0?, 0x0?}, {{{0x0, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/flex.go:99 +0x2d5
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>.1.1.1({{{0x0, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:88 +0x85
gioui.org/layout.Direction.Layout(0x7, {{{0x0, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:196 +0x162
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>.1.1({{{0x226, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:87 +0xe5
gioui.org/layout.Inset.Layout({0x2f9b5b0?, 0xc0?, 0x6b3f57?, 0x0?}, {{{0x226, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:169 +0x39d
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>.1({{{0x226, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:85 +0x109
github.com/crypto-power/cryptopower/ui/cryptomaterial.Border.Layout({{0x0, 0x0, 0x0, 0x0}, {0x0, 0x0, 0x0, 0x0}, 0x0}, {{{0x226, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/border.go:21 +0x98
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>({{{0x226, 0x399}, {0x226, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:83 +0x1d6
gioui.org/layout.Stack.Layout({0xd?}, {{{0x0, 0x0}, {0x550, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/stack.go:60 +0x195
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func1.1.1({{{0x0, 0x0}, {0x550, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:46 +0x2aa
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func1.1({{{0x0, 0x0}, {0x550, 0x399}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:105 +0x238
gioui.org/layout.Inset.Layout({0x0?, 0x0?, 0x0?, 0x0?}, {{{0x0, 0x0}, {0x550, 0x399}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:169 +0x39d
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func1({{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:44 +0x109
gioui.org/layout.Direction.Layout(0x7, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:196 +0x162
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout({0x226, 0xfffffffffffffffe, 0x0, {0x0, 0x0, 0x0, 0x0}, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:42 +0xe5
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout2(...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:37
github.com/crypto-power/cryptopower/ui/page/exchange.(*OrderDetailsPage).layout.func1({{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/exchange/order_details_page.go:155 +0x22a
gioui.org/layout.Flex.Layout({0x15?, 0x0?, 0x0?, 0x0?}, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/flex.go:99 +0x2d5
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>.1.1.1({{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:88 +0x85
gioui.org/layout.Direction.Layout(0x8, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:196 +0x162
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>.1.1({{{0x550, 0x3b7}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:87 +0xe5
gioui.org/layout.Inset.Layout({0xb?, 0x0?, 0x3eb?, 0x0?}, {{{0x550, 0x3b7}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:169 +0x39d
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>.1({{{0x550, 0x3b7}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:85 +0x109
github.com/crypto-power/cryptopower/ui/cryptomaterial.Border.Layout({{0x0, 0x0, 0x0, 0x0}, {0x0, 0x0, 0x0, 0x0}, 0x0}, {{{0x550, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/border.go:21 +0x98
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func<IP_ADDRESS>({{{0x550, 0x3b7}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:83 +0x1d6
gioui.org/layout.Stack.Layout({0x20?}, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/stack.go:60 +0x195
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func1.1.1({{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:46 +0x2aa
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func1.1({{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:105 +0x238
gioui.org/layout.Inset.Layout({0x1?, 0x3f800000?, 0x9823ff0?, 0xc0?}, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:169 +0x39d
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout.func1({{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:44 +0x109
gioui.org/layout.Direction.Layout(0x8, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:196 +0x162
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout({0xfffffffffffffffe, 0xfffffffffffffffe, 0x0, {0x0, 0x0, 0x0, 0x0}, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:42 +0xe5
github.com/crypto-power/cryptopower/ui/cryptomaterial.LinearLayout.Layout2(...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/cryptomaterial/linearlayout.go:37
github.com/crypto-power/cryptopower/ui/page/exchange.(*OrderDetailsPage).layout(0xc003b6d500, {{{0x0, 0x0}, {0x550, 0x3b7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/exchange/order_details_page.go:147 +0x1aa
gioui.org/layout.Flex.Layout({0x0?, 0x0?, 0x0?, 0x0?}, {{{0x0, 0x0}, {0x550, 0x3e7}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/flex.go:99 +0x2d5
github.com/crypto-power/cryptopower/ui/page/components.(*SubPage).Layout(0xc008b99c70, {0x1f06330?, 0xc0005303f0}, {{{0x0, 0x0}, {0x550, 0x3e7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/components/sub_page.go:43 +0x1d4
github.com/crypto-power/cryptopower/ui/page/exchange.(*OrderDetailsPage).Layout.func1({{{0x0, 0x0}, {0x550, 0x3e7}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/exchange/order_details_page.go:136 +0x286
gioui.org/layout.Inset.Layout({0x2?, 0x0?, 0x0?, 0x0?}, {{{0x0, 0x0}, {0x550, 0x3e7}}, {0x3f800000, 0x3f800000}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/layout.go:169 +0x39d
github.com/crypto-power/cryptopower/ui/page/components.UniformPadding({{{0x0, 0x0}, {0x780, 0x417}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...}, ...)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/components/components.go:96 +0x197
github.com/crypto-power/cryptopower/ui/page/exchange.(*OrderDetailsPage).Layout(0x1ff7?, {{{0x0, 0x0}, {0x780, 0x417}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/page/exchange/order_details_page.go:139 +0x65
github.com/crypto-power/cryptopower/ui.(*Window).prepareToDisplayUI.func2({{{0x0, 0x0}, {0x780, 0x417}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, 0x23eb3e0b5a, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/window.go:282 +0x122
gioui.org/layout.Stack.Layout({0x20?}, {{{0x780, 0x417}, {0x780, 0x417}}, {0x3f800000, 0x3f800000}, {0x1ef1be0, 0xc0038780c8}, {0xc15051ead6a83efa, ...}, ...}, ...)
        /home/kennedy/Projects/pkg/mod/gioui.org@v0.1.0/layout/stack.go:60 +0x195
github.com/crypto-power/cryptopower/ui.(*Window).prepareToDisplayUI(0xc000540510, {{0xc15051ead6a83efa, 0x23eb3e0b5a, 0x2e13620}, {0x3f800000, 0x3f800000}, {0x780, 0x417}, {0x0, 0x0, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/window.go:297 +0x40d
github.com/crypto-power/cryptopower/ui.(*Window).handleFrameEvent(0xc000540510, {{0xc15051ead6a83efa, 0x23eb3e0b5a, 0x2e13620}, {0x3f800000, 0x3f800000}, {0x780, 0x417}, {0x0, 0x0, ...}, ...})
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/window.go:235 +0x225
github.com/crypto-power/cryptopower/ui.(*Window).HandleEvents(0xc000540510)
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/ui/window.go:200 +0x2b9
main.main.func3()
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/main.go:109 +0x1d
created by main.main
        /home/kennedy/Projects/src/github.com/cryptopower/cryptopower/main.go:107 +0x51d
exit status 2

trying to swap ltc and dcr throws an error

speaking to the trocador team, this error occurs because the miminum trade limit is not met, they have also agreed to look into improving the error message.
the minimum returned from the server doesn't seem to be accurate, we might need to override that with sane defaults for trocador

trying to swap ltc and dcr throws an error

speaking to the trocador team, this error occurs because the miminum trade limit is not met, they have also agreed to look into improving the error message.
the minimum returned from the server doesn't seem to be accurate, we might need to override that with sane defaults for trocador

The response from trocador is not enough for us to handle this error. It should be fixed on trocador side

trying to swap ltc and dcr throws an error

speaking to the trocador team, this error occurs because the miminum trade limit is not met, they have also agreed to look into improving the error message.
the minimum returned from the server doesn't seem to be accurate, we might need to override that with sane defaults for trocador

The response from trocador is not enough for us to handle this error. It should be fixed on trocador side

can we override the minimum trade amount from the server? to prevent users from trading too low

I signed up to get an API key from Trocador but didn't get one. I just can't locate where I'm supposed to copy the API key.
utAck, just these changes and it's GTG.

@vibros68, where can I find the API key on the Trocador website? a screenshot, please.

You have to contact their supporter via mail.

omo, interesting 🤔.

@dreacot I  see this but dunno if we should open a separate PR for it. The conversion from Flypme is way off, I think.

@dreacot I see this but dunno if we should open a separate PR for it. The conversion from Flypme is way off, I think.

good catch!. is it on master? if it is, then open a separate issue

good catch!. is it on master?

No, it's not.

good catch!. is it on master?

No, it's not.
master:

@vibros68 please look into the rate conversion

good catch!. is it on master?

No, it's not.
master:

@vibros68 please look into the rate conversion

after investigate, I find out that it is a bug from instantswap. It canculates finaRate = 1/exchangeRate from the old exchange(flypme,changenow,godex,...) While trocador is not. In the old code exchangeRate is taken by EstimatedAmount field with FromAmount = 1. Generally we have to fix it from instantswap

good catch!. is it on master?

No, it's not.
master:

@vibros68 please look into the rate conversion

after investigate, I find out that it is a bug from instantswap. It canculates finaRate = 1/exchangeRate from the old exchange(flypme,changenow,godex,...) While trocador is not. In the old code exchangeRate is taken by EstimatedAmount field with FromAmount = 1. Generally we have to fix it from instantswap


[Mod] Form System to Regulate Messages Sent In Special Channels

We have a #job-postings channel in our Discord for eSports organizations to list their open job positions. We require posters in this channel to mention if the job is paid or volunteer work, as this is a big problem scam in the eSports industry currently with ripping players off.
We would like a system that enforces required data such as described above before posting the message into the regulated Discord channel.

We should probably block this on this [upstream feature](<https://devsnek.notion.site/devsnek/Modal-aka-Form-Interactions-e839b3dd8c214eb08f950764a8328e36)


Dev service skeleton -> Develop

Already reviewed by @briehl in https://github.com/kbase/groups/pull/18

Travis says the build is done, but that's not registering gh side. Merging.


Fix definition generation of optional arrays

The mapParam() call does not pass on the modelQualifier in the optional parameter path

Coverage remained the same at 90.094% when pulling 7db17fb5de456ca88f525ed8e32985ed9b0429e2 on gsson:optional-sequence into feb744e748a6c19df28f13b50dc12fc5409e1d7c on iheartradio:master.

LGTM, thanks very much!


[WIP] Update devel and run the tests for GMT/Python

Use this as a test for the GMT package and shared library. Helps keep
things working smoothly between GMT and the wrappers.
Update the dev label to 6.0.0a10 r19443

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.

Bad idea.


Declare List in View Error

I am unable to declare a List of tuples in Views.
I tried a few variations of
@{
    var passed = new List<(string input, string output, string value)>{
	(input: "One", output: "Two", value: "three"),
	(input: "One", output: "Two", value: "three")
    };
}

and
 List<(string, string, string)> passed = new List<(string input, string output, string value)...

and I get a long list of errors at compile.

There is no problem if I pass and cast though. In my controller
ViewData["passed"] = new List<(string input, string output, string value)> {
	(input: "One", output: "Two", value: "three"),
	(input: "One", output: "Two", value: "three")
};

and then in my View
@{
    var passed = ViewData["Passed"] as List<ValueTuple<string, string, string>>;
}

everything works fine.
I get the same types of errors if I try in a function also
@functions{
	List<(string, string, string)> Passed() {
		return new List<(string input, string output, string value)>(){
		(input: "One", output: "Two", value: "three"), (input: "One", output: "Two", value: "three") };
	}
}

Mvc 1.1 and the .NET Core shared framework (Microsoft.NETCore.App) use an older build of Roslyn that supports at most C# 6. If you're targeting desktop (net4x), you could try referencing a newer version of Microsoft.CodeAnalysis.CSharp in your project, although I'm not sure if you'd run into other issues at runtime.
@Eilon, we'll need to update the version of Roslyn in the the 1.2.0 shared framework if we'd like to support this. Are you aware of any ongoing discussions for this?

@pranavkm not aware of any discussions, though I would imagine that is the plan. I'll start an email thread on this.

Ok I heard back from the C# experts and it seems that the plan is to have C# 7.1 available in the "2.0" wave, which is what we're working on. That will include support for tuples.
(Other C# language feature status can be found here: https://github.com/dotnet/roslyn/blob/master/docs/Language Feature Status.md)

Closing this issue as external because ultimately it's https://github.com/dotnet/corefx/ that needs to be updated w/ the new version of C#. Nothing we can do here but wait.


backblaze b2 large file endless loop

Trying to transfer 100 gb file, speed is fine but it has no chance to complete. Infinite exponential backoff on error 500/503 maybe?
Also minimum sleep timer probably should be 5sec, and timeout 5min, backblaze is SLOW.

What is your rclone version (eg output from rclone -V)
rclone v1.32

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Win10 64bit

Which cloud storage system are you using? (eg Google Drive)
Backblaze B2

The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone copy -v archive.rar b2:wizzard/containers

A log from the command with the -v flag (eg output from rclone -v copy /tmp remote:tmp)

2016/07/25 12:20:06 archive.rar: Sending chunk 48 length 100663296
2016/07/25 12:20:13 archive.rar: Done sending chunk 44
2016/07/25 12:20:13 archive.rar: Sending chunk 49 length 100663296
2016/07/25 12:20:37
Transferred:   11.906 GBytes (3.692 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     55m1.9s
Transferring:
 *                                archive.rar:  4% done. avg: 8061.9, cur: 2680.1 kByte/s. ETA: 10h21m30s

2016/07/25 12:20:41 archive.rar: Clearing part upload URL because of error: Not enough members for write of 4_z5d310083bc06005156640f1e_f31036e1573ae1966_d20160725_m091938_c001_v0001013_t0037: class org.apache.http.conn.ConnectTimeoutException - Connect to member-15.vault:8180 [member-15.vault/<IP_ADDRESS>] failed: connect timed out; class org.apache.http.conn.ConnectTimeoutException - Connect to member-17.vault:8180 [member-17.vault/<IP_ADDRESS>] failed: connect timed out (500 internal_error)
2016/07/25 12:20:41 pacer: Rate limited, increasing sleep to 20ms
2016/07/25 12:20:41 pacer: low level retry 1/10 (error Not enough members for write of 4_z5d310083bc06005156640f1e_f31036e1573ae1966_d20160725_m091938_c001_v0001013_t0037: class org.apache.http.conn.ConnectTimeoutException - Connect to member-15.vault:8180 [member-15.vault/<IP_ADDRESS>] failed: connect timed out; class org.apache.http.conn.ConnectTimeoutException - Connect to member-17.vault:8180 [member-17.vault/<IP_ADDRESS>] failed: connect timed out (500 internal_error))
2016/07/25 12:20:41 archive.rar: Sending chunk 46 length 100663296
2016/07/25 12:20:42 B2 bucket wizzard path containers/: Setting sleep to 1s after error: No uploads available in vault 0001013 (503 service_unavailable)
2016/07/25 12:20:42 pacer: Rate limited, increasing sleep to 1s
2016/07/25 12:20:42 pacer: low level retry 1/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:43 pacer: Rate limited, increasing sleep to 2s
2016/07/25 12:20:43 pacer: low level retry 2/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:44 pacer: low level retry 3/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:46 pacer: low level retry 4/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:48 pacer: low level retry 5/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:50 pacer: low level retry 6/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:52 pacer: low level retry 7/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:54 pacer: low level retry 8/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:56 pacer: low level retry 9/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:58 pacer: low level retry 10/10 (error No uploads available in vault 0001013 (503 service_unavailable))
2016/07/25 12:20:58 pacer: Reducing sleep to 1s
2016/07/25 12:20:58 archive.rar: Error sending chunk 46: failed to get upload URL: No uploads available in vault 0001013 (503 service_unavailable)
2016/07/25 12:20:58 pacer: Reducing sleep to 500ms
2016/07/25 12:20:58 archive.rar: Done sending chunk 49
2016/07/25 12:20:58 pacer: Reducing sleep to 250ms
2016/07/25 12:20:58 archive.rar: Done sending chunk 47
2016/07/25 12:20:58 pacer: Reducing sleep to 125ms
2016/07/25 12:20:58 archive.rar: Done sending chunk 48
2016/07/25 12:20:59 archive.rar: Sending chunk 50 length 100663296
2016/07/25 12:21:37
Transferred:   11.906 GBytes (3.627 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     56m1.9s
Transferring:
 *                                archive.rar:  4% done. avg: 7339.6, cur:   49.0 kByte/s. ETA: 566h23m46s

2016/07/25 12:21:56 pacer: Reducing sleep to 62.5ms
2016/07/25 12:21:56 archive.rar: Done sending chunk 50

WTF

2016/07/25 12:21:56 archive.rar: Cancelling large file upload due to error: failed to get upload URL: No uploads available in vault 0001013 (503 service_unavailable)

WTF

2016/07/25 12:21:58 pacer: Reducing sleep to 31.25ms
2016/07/25 12:21:58 archive.rar: Received error: failed to get upload URL: No uploads available in vault 0001013 (503 service_unavailable) - low level retry 2/10
2016/07/25 12:21:58 archive.rar: Removing failed copy
2016/07/25 12:21:58 pacer: Reducing sleep to 15.625ms
2016/07/25 12:21:58 archive.rar: Failed to remove failed copy: failed to delete file: File not present: containers/archive.rar (400 no_such_file)
2016/07/25 12:21:59 pacer: Reducing sleep to 10ms
2016/07/25 12:21:59 archive.rar: Starting upload of large file in 1067 chunks (id "4_z5d310083bc06005156640f1e_f201af4d1d5887eb7_d20160725_m092157_c001_v0001001_t0025")
2016/07/25 12:22:00 archive.rar: Sending chunk 1 length 100663296
2016/07/25 12:22:02 archive.rar: Sending chunk 2 length 100663296
2016/07/25 12:22:03 archive.rar: Sending chunk 3 length 100663296
2016/07/25 12:22:04 archive.rar: Sending chunk 4 length 100663296
2016/07/25 12:22:34 archive.rar: Done sending chunk 3
2016/07/25 12:22:34 archive.rar: Sending chunk 5 length 100663296
2016/07/25 12:22:37
Transferred:   12.469 GBytes (3.731 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     57m1.9s
Transferring:
 *                                archive.rar:  0% done. avg: 15541.6, cur: 11507.2 kByte/s. ETA: 2h31m1s

2016/07/25 12:23:00 archive.rar: Done sending chunk 5
2016/07/25 12:23:00 archive.rar: Sending chunk 6 length 100663296
2016/07/25 12:23:02 archive.rar: Done sending chunk 2
2016/07/25 12:23:02 archive.rar: Sending chunk 7 length 100663296
2016/07/25 12:23:29 archive.rar: Done sending chunk 6
2016/07/25 12:23:29 archive.rar: Sending chunk 8 length 100663296
2016/07/25 12:23:37
Transferred:   12.750 GBytes (3.750 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     58m1.9s
Transferring:
 *                                archive.rar:  0% done. avg: 9032.4, cur: 5658.3 kByte/s. ETA: 5h6m15s

2016/07/25 12:23:38 archive.rar: Done sending chunk 7
2016/07/25 12:23:38 archive.rar: Sending chunk 9 length 100663296
2016/07/25 12:23:50 archive.rar: Done sending chunk 8
2016/07/25 12:23:50 archive.rar: Sending chunk 10 length 100663296
2016/07/25 12:24:33 archive.rar: Done sending chunk 10

Sorry I missed this issue when you posted it.
I've not seen the No uploads available in vault 0001013 (503 service_unavailable) error which seems to be the root cause of your problem.  It looks like backblaze is too busy.
I can see I've made a mistake and capped the retry time to 2 seconds - if rclone had been backing off exponentially there then hopefully it would have got an upload URL.
I'll set the max time to 5 minutes and post a beta for you to try.
You can also try increasing --low-level-retries

Here is a beta with the upper pause time set to 5 minutes from 2 seconds.
http://pub.rclone.org/v1.32-4-g57f8f1eβ/

Thanks, I will try the beta.
Regarding 5 minutes... the support finally responded and said "when receiving errors 500 or 503 you should try exponential backoff starting from 1 second up to 1 hour, because individual vaults may be taken down up to 30 minutes for maintenance". So I guess 5 minutes may still not be enough :)

Well, it seems to work :)

I'm going to close this now as it seems to work :-)
You would need to set --low-level-retries=20 to make sure of waiting an hour (checking every 5 minutes). --low-level-retries=10 will only wait just under 15 minutes.


Feature Request: Gitea Integration

Is your feature request related to a problem?
Many people reach out to me asking questions about Gitea integration for handling the scm and pullrequest resource.
The SCM should be quite similar to Github.
The pull request could be managed by the gitea SDK available on https://gitea.com/gitea/go-sdk
Solution you'd like
No response
Alternatives you've considered
No response
Anything else?
No response

I'd take a look at https://github.com/jenkins-x/go-scm

A small library with minimal depenencies for working with Webhooks, Commits, Issues, Pull Requests, Comments, Reviews, Teams and more on multiple git provider:
[GitHub](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/github/github.go#L46)
[GitHub Enterprise](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/github/github.go#L19) (you specify a server URL)
[BitBucket Server](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/stash/stash.go#L24)
[BitBucket Cloud](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/bitbucket/bitbucket.go#L20)
[GitLab](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/gitlab/gitlab.go#L19)
[Gitea](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/gitea/gitea.go#L22)
[Gogs](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/gogs/gogs.go#L22)
[Fake](https://github.com/jenkins-x/go-scm/blob/master/scm/driver/fake/fake.go)

Thanks @lemeurherve for the suggestion, @garethjevans made that suggestion too a while ago. And I think it's now time to look into it :p

Also worth a look (?), the original repo: https://github.com/drone/go-scm

Also worth a look (?), the original repo: https://github.com/drone/go-scm

When if I remember correctly, it wasn't maintained anymore which seems to be the case now


Update the Goby Times with the following error

Before you submit the issue, please provide us following information:

Your operating system window
How did you install Goby github
Goby version
The value of $GOBY_ROOT
Error messages

Update the Goby Times with the following error

what you're looking for is https://github.com/gobysec/Goby 🙂


Add file modified info to source-filesystem plugin

Summary
I'd love to have access to the last modified time and created time through the fileInfo object, for pages loaded with the source-filesystem plugin.
This can be done by simply running fs.stat() on the file and adding the relevant fields to the generated fileInfo object.
I've looked over the other properties on the fs.Stats object, but they seem less relevant to me.
Basic example
type PostFileInfo { # Generated FileInfo type (in this case, for a Post type)
  # Existing fields
  extension: String
  directory: String
  path: String
  name: String

  # Proposed additions
  created: Int # stats.birthtimeMs
  lastModified: Int # stats.mtimeMs
}

Motivation
Knowing when a page was last modified is useful information to display, especially on a blog. It can be done by manually updating a page property on every change, but it would be a lot easier and more accurate if the information could be loaded from the filesystem info directly.

@woubuc I doubt this will work once you push deploy to a server since the files 'created' and 'lastModified' dates are then set to the time of deployment.
"Git does not store file creation dates (in a significant sense, Git's files don't have creation dates)."
Might be that in your use case this won't be an issue if you are always deploying from your own server.
So we can not add this sorry. It might work during development but it won't work in production..

the best technique could be to add them manually to the front matter.


Component not responding to change in model correctly

If I create a ReactMonacoEditor component with a key of editor and a model set-up in options, like this:
<MonacoEditor
	key="editor"
	options={{ ...options, model: model }}
	language="typescript"
	editorWillMount={this.editorWillMount}
	editorDidMount={this.editorDidMount}
/>

When the model property changes in options the editor does not repopulate with the new file. The old model from the previous set of properties is still active. The workaround is to generate a new key for each model URI, but it would be nice to fix this in the component:
<MonacoEditor
	key={"editor" + model.uri.toString()}

Hi @joewood, can you provide a small example showing how you create and update the model?

To touch on this, I noticed changed options don't reflect in the editor either, at least not after it has mounted, even on re-renders.

It's clear why this is - the options are applied in initMonaco which runs at init and never again. Perhaps they should be reapplied in a componentWillUpdate(newProps) method.

Closing this because fix has been merged on master. However if there are any other problems feel free to reopen this issue

I don't see an applied? #48 is another issue.
Editor should call editorInstance.updateOptions() at componentDidUpdate(prevProps).
(Maybe optimize to call only on change in props.options...)
I will write the fix if I have the time


[SIL] Add a new attribute [serialized_for_package].

If Package CMO is enabled, we now add a new attribute to a serialized function, which can then be used during deserialization into a client module to determine the resilience expansion of the function.
Resolves rdar://127870822

We should block inlining a [serialized] [serialized_for_package] function into a [serialized]-only function until the [serialized] attribute is removed.
Otherwise, you end up with the code originating from a [serialized_for_package] function that assumes loadability in a [serialized] function (without the serialized_for_package) attributed and the verifier will complain.
We achieve the analogous thing for serialized and not-serialized functions here:
https://github.com/apple/swift/blob/8c0726da80dbddbbbf1fc6ba4f0ab39df1ee3e9a/lib/SILOptimizer/Utils/PerformanceInlinerUtils.cpp#L849-L851
https://github.com/apple/swift/blob/8c0726da80dbddbbbf1fc6ba4f0ab39df1ee3e9a/include/swift/SIL/SILFunction.h#L875

@swift-ci smoke test

We should block inlining a [serialized] [serialized_for_package] function into a [serialized]-only function until the [serialized] attribute is removed.

I think the bits should be mutually exclusive no? So both should not be set at once. [serialized] is the stonger condition so if its set, it implies the same invariants as [serialized_for_package] but adds more.

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test

we can address ...


remove race condition from TRANS_DELETE_01

Issue Number

Overview

[x] I have addressed issue of race condition in TRANS_DELETE_01

Comments

bors r+

bors r+


Announcement: Introducing  the AAEON UP Squared Robomaker Dev Kit

Hi everyone,
Intel have published an article about the 'AAEON UP Squared Robomaker Dev Kit', a bundle containing:

A RealSense D435i camera

Up Squared development board (more powerful than the original Up Board in the Intel Click store)

UP AI Core X module powered by the Intel Movidius Myriad X VPU

M.2 2230 WiFi Kit for UP Squared metal Chassis

Software package with AWS RoboMaker integrated

The Intel article about the Robomaker Dev Kit can be found here:
https://www.intelrealsense.com/robomaker/

How needed is the UP AI Core X module if, for example, I would be doing person tracking? Currently I am experimenting with NUItrack to do this.

You shouldn't need this module at all to do person tracking with Nuitrack.  A depth camera such as the D435i should suffice.   Intel's article implies that the module will improve performance of computer vision applications of stereo depth cameras like the RealSense 400 Series though.
Nuitrack has a new tracking product coming called Nuitrack AI that claims to provide superior tracking performance.


Feature Request: Allow a header row

It would be handy to be able to have a header row to specify which columns go to which field in the RSS feed.
e.g.
A1: title - All under this go into Title
B1: link - All in this column go to link
C1: description
D1: pubdate
E1: author
F1: guid
This would give more flexibility for crssnt and prevent errors when dates are detected in description/title column

I like this idea! Adding it to my list.

Good idea.
G1: Thumbnail OR Image
Please make an image row, too.

I added a new commit (https://github.com/tgel0/crssnt/commit/b0ef8210e8fc955fb133707186879a0b68f8449a) which generates the RSS feed elements based on the header row from the Google Sheet. To try out this new feature just add the &mode=manual parameter to the crssnt feed URL.
Example based on the 'movie_manual' sheet from this Google Sheet:
https://crssnt.com/preview?id=1sV87k2cBmxFld7r4JI8LIBI7-KUxgifr1aszdV3xu08&name=movie_manual&mode=manual
Would be great if you could try it out and provide feedback.

Hey @tgel0  - Apologies been busy with other projects for a while.
Appears to be working perfectly! I was having an issue at first but changing date to pubDate as the title in google sheets has done it :)
Thank you!

I added a new commit (b0ef821) which generates the RSS feed elements based on the header row from the Google Sheet. To try out this new feature just add the &mode=manual parameter to the crssnt feed URL.
Example based on the 'movie_manual' sheet from this Google Sheet:
https://crssnt.com/preview?id=1sV87k2cBmxFld7r4JI8LIBI7-KUxgifr1aszdV3xu08&name=movie_manual&mode=manual
Would be great if you could try it out and provide feedback.

It seems to work only in lowercase letters. Can you make both lower and upper case letters work?
Title, Description, Link, Image, PubDate, Author
If possible, can you add Korean?
Title = 제목
Description = 내용
Link = 링크
Image = 이미지
PubDate = 날짜 OR 작성일
Author = 저자 OR 작성자 OR 글쓴이
And the current image doesn't seem to be working.
I think it would be good to make PubDate work even if write Date.


Incorrect numbering on Numbered lists with lines in between.

Bug Report
Installation Method
Docker/Docker-Compose
Environment

Open WebUI Version: 0.3.16

Operating System: Debian

Browser (if applicable): Firefox

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
The numbering in a list displayed in OpenWebUI should be the same as the numbering produced by the LLM.
Actual Behavior:
When rendering a numbered list generated by the LLM, the numbering provided by the LLM is ignored
Description
Bug Summary:
When the LLM generates a numbered List in Markdown, the numbering of the lists restarts at "1" if a text block is between the two items in the list. This happens even though the LLM numbered the items correctly.
Reproduction Details
Steps to Reproduce:

Start Open WebUI
Create a Chat
Replace the LLM Response with the minimal example below
Press Save

Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Original Markdown:
Sure, here are 5 random names:

1. Alex Johnson

Text between the list items

2. Sophia Wang
Another Text between the list items

3. Felipe Martinez

4. Jordan Baker

5. Amina Patel

Rendered Markdown

Fixed on dev!


Backwards pipe (<|) Fira Code ligature doesn't work in some themes

...unless the line is commented out:

Looks normal in Ionide:

That's the Night Owl theme, but the issue isn't isolated to it. Switching to some others (e.g. Abyss) makes it work:

It's an extremely minor issue and I don't use them often. I'm mostly curious how it could be happening. Latest versions on everything, of course.

This is happening because the colors of the two characters are different. The < is cyan, the | is purple. I believe this prevents the ligature from forming.

I think this will be solved in the next version of the plugin - it will include some grammar fixes.

Should be fixed by #235


Use dark mode

Transferred from openproblems-bio/website-experimental#107.
Closes #143 and #138.

@scottgigante-immunai Can you add something to the CHANGELOG.md? :bow:


HIVE-27331: Iceberg: Rows are not deleted from table when execution mode is vectorized llap.

What changes were proposed in this pull request?
Disable Llap read of TS on Iceberg tables when virtual columns are projected in vectorized mode.
Why are the changes needed?
The Iceberg specific virtual column ROW_POSITION can not be populated. In non-llap mode the row position is provided by the Orc reader. However in case of llap mode the read is driven by LlapRecordReader which does not provide the row positions.
Does this PR introduce any user-facing change?
Yes. Fix data corruption. Deleted rows are not appear in the result of a query.
How was this patch tested?
mvn test -Dtest.output.overwrite -Dtest=TestIcebergLlapLocalCliDriver -Dqfile=llap_iceberg_read_orc.q -pl itests/qtest-iceberg -Pitests,iceberg -Drat.skip

Have we started duping tickets? rather than review comments? This indeed is a very cheap activity.

@ayushtkn, I think that was done just do verify if a simpler approach could work before commenting out in the original PR.  Apache resources aren't meant to be experimented, they are limited....

I think we wait for sometime for others to take a look after a binding vote? Reverting....

Guys I understand the frustration, but we are belong to the same community, and we have the same goal to make this product better. Friction, miss understanding and so many things could happen, but let's focus on our goal. There could be and will be in conflict in any community, but even in our heart is full or feeling - even it is right or not - we have to be patient.
The whole ASF is based on this principals, we should not break these rules - other rules also no need to break-, even written or not written.  I just want to remind, the second point in ASF Code
Be empathetic, welcoming, friendly, and patient. We work together to resolve conflicts, assume good intentions, and do our best to act in an empathetic fashion. We may all experience some frustration from time to time, but we do not allow frustration to result in a personal attack. A community where people feel uncomfortable or threatened is not a productive one. We should be respectful when dealing with other community members as well as with people outside our community.
I think everybody told his point of view, now we should close this, and in the future we have to avoid similar issues. I think all of us are learn for this issue.  All of you are great and respectful talents that made this community unique and powerful.
-Attila


github simplify the PR template

Proposed changes
Simplify the PR template to make commit msg clear

run buildall

run buildall


MRR (Massive Regex Refactorization)

findspam.py contains regexes which are used multiple times in identical or very similar ways. This causes problems when maintaining those regexes; one has to do that in several places, if one even knows there's a second or third similar regex.
Candidates for refactoring (please add more if you know of them):
Link at end (of body, of answer)
https://github.com/Charcoal-SE/SmokeDetector/blob/master/findspam.py#L85
https://github.com/Charcoal-SE/SmokeDetector/blob/master/findspam.py#L815
Shortened URL (near end of question, in answer)
https://github.com/Charcoal-SE/SmokeDetector/blob/master/findspam.py#L844
https://github.com/Charcoal-SE/SmokeDetector/blob/master/findspam.py#L851

The following appear related at this point:

#888
#889
#890
#897
#898
#899
#900
#901
#902
#904

Related to this, I'm concerned why we have bad_keywords_nwb in findspam.py line 507 -- it seems to be a duplicate of bad_keywords.txt. For example, bad_keywords matches writing services but so does bad_keywords_nwb.

It's entirely possible that the duplicates in find_spam.py were missed when records were broken out to bad_keywords.txt.

Yeah. Bad keywords NWB stands for non-word-breaking, which means that it doesn't require there to be a word break either side of the keyword (e.g. In a URL)


[feat] Implement the functionality of isMemberOfProfile

Down below is the function that is to be implemented in the contract but in cairo :

https://github.com/allo-protocol/allo-v2/blob/4dd0ea34a504a16ac90e80f49a5570b8be9b30e9/contracts/core/Registry.sol#L245
https://github.com/allo-protocol/allo-v2/blob/4dd0ea34a504a16ac90e80f49a5570b8be9b30e9/contracts/core/Registry.sol#L384C14-L384C32

Resources :
https://book.cairo-lang.org/title-page.html
https://book.cairo-lang.org/ch16-02-02-component-dependencies.html?highlight=compon#component-dependencies
If you have any doubts over on how to implement something similar to this you can try discovering few cairo code bases such as :
Unruggable memecoin : https://github.com/keep-starknet-strange/unruggable.meme/tree/main/packages/contracts/src
Blobstream : https://github.com/keep-starknet-strange/blobstream-starknet/tree/main/src
Exclusively for Starknet India team - To onboard new devs from India
Estimated Time taken to complete - 2-3 days (Max)

Yeah sure ! You've been assigned to it. less go !

Hello my name is Kenneth Komu. I am a Starknet developer and I would like to work on the issue.

Hey @Akashneelesh ,I would like to take this issue up to solve both this issue and #10

Hey , i have raised the PR for this issue, pleas check


[contracts] Should battle time be recomputed every time someone joins?

Right now, if you have an army that's smaller than the other one, the bigger one loses more troops /s than the smaller one.
The issue with this is that if a tiny army joins the battle, battle is now in a different state that the beginning (i.e. it has lost more troops, so it will be more balanced than at the beginning), so the time will be squewed and it will be more and more favorable towards the small army

yes - we need to make battles last longer than 8hrs if more join. Battle should rage for days and days.

this will be closed by #1741

this is closed


Adjust checkver for rust and rust-msvc autoupdate

My first little commit here. Please check that I did not miss anything important. ;-)

Thanks 👍


Delete currencies fxrate

Not stored as constants. At the moment you have:
currencies.js
It seems potentially a relatively trivial task to have this update from an external source. If the update were to take place, say, once per day, this is unlikely to cause significant disruption to other app services.
It might be interesting to consider, though, whether this information would be best stored centrally, and pushed to clients simultaneously, or whether it would be best to allow client computers to update themselves,  which I could forsee causing some synchronicity issues and potentially leading to users seeing alternative exchange rates.
Just some ideas anyway.

🏆 This issue was completed by @NotJohs as part as our first Hackathon (it started at at the event but was finished after).
I retroactively added a $200 bounty on it. To claim the bounty, you can either:
To claim the bounty please, as a recurring contributor, please simply add it to your next invoice to Open Collective Engineering https://opencollective.com/engineering/expenses/new

@NotJohs can you have a look at generateFXConversionSQL, it doesn't make any sense?
Homepage Error TypeError: Cannot read property 't.currency' of undefined
Nov 29 07:35:12 opencollective-prod-api app/web.1:     at /app/dist/lib/currency.js:70:45
Nov 29 07:35:12 opencollective-prod-api app/web.1:     at runMicrotasks (<anonymous>)
Nov 29 07:35:12 opencollective-prod-api app/web.1:     at processTicksAndRejections (internal/process/task_queues.js:93:5)


very waird things

hello that auti tracer 3 docker program of you does very waird things while tracing a vid

i dont think this is  wat should happen
kind regards

It depends on the input video. I guess the legs might be invisible (out of sight) in the video.


[Bug] Green-Flame Blade

Damage is applied as normal on the target creature, but the extra fire damage doesn't leap to the selected adjacent creature.
This can be replicated with only the required modules.

What is the dispositions of the enemies?

Is this still an issue for you? I believe a recent Midi-Qol update fixed a bug with damageOnlyWorkflows that was breaking this automation.

Nope, this issue has been resolved with the Midi update


tr_bsp: drop fatLightmap support, fix #689, #327, #687, #688

It is broken, is a nest of bugs, and the maintenance cost is too high for
the very minor unverified benefits purposed for unrecommended things.
Fixes:

https://github.com/DaemonEngine/Daemon/issues/688

https://github.com/DaemonEngine/Daemon/issues/327
https://github.com/DaemonEngine/Daemon/issues/687
https://github.com/DaemonEngine/Daemon/issues/688

Burn fatLightmap with fire, fix #689, #327, #687, #688.

I don't know anything about that part of the code, but sounds good

LGTM

LGTM

For having a cleaner Git history I prefer to merge https://github.com/DaemonEngine/Daemon/pull/693 first. Can you look at it? Thanks in advance.


The know more in the home page (compiled from State govt... )href seems to be not working. Its just refreshing the home page.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Duplicate of https://github.com/covid19india/covid19india-react/issues/1832


Hardhat Deployed Factory has no admin address for proxy

Describe the bug
When independently deploying a factory contract (i.e. not using the currently unavailable testnet factory contract - see #1066) , the resulting configuration raises an error - "No admin address found for the current factory's proxy"
To Reproduce
Steps to reproduce the behavior:

Clone the repo
Run npm install
Configure env files as required (using the deployed factory address in the web module's .env)
Run npm run start in "web" subdirectory
Select HashPack wallet
Select Testnet and click Accept

Expected behavior
No error is shown regarding the deployed factory contract.
Screenshots

Desktop (please complete the following information):

OS: WSL2 (Ubuntu 22.04.3 LTS) under Windows 11 (22631.3155)
Browser: Brave
Version: v1.63.165 (Chromium 122.0.6261.94)

Additional context

Approach to deploying the factory contract was as per: https://github.com/hashgraph/stablecoin-studio/tree/main/contracts#deploy-factory

@app-matt Could you provide the Factory proxy's address so that we can check it? The proxy admin's address is expected to be included in the proxy's memo, I think it is not clearly indicated in the documentation, we will double check it and update it if required.

indeed, your factory's memo field is empty, that is why it is raising the "proxy admin empty" error.

this is the how the "memo" field of our deployed factory proxy looks like:

I can also reproduce this problem. My contract deployed through the script does not have the memo field as well.

@pathornteng that's surprising, the code deployed in main seems to work for me :

the factory proxy has the proxy admin address referenced in its memo

Could you provide more information on how you are deploying the factory? which branch/commit are you using?

Main branch, fresh clone :)

Yes it matches yours.

@app-matt my bad, I checked the wrong contract :(. So I see that the deployFactory script works as expected since it is properly adding the proxy admin address to the memo field of the factory's proxy.
The .env of the SDK is only used when testing the SDK, so it should have no influence on this.
I am testing the stablecoin locally with your factory proxy and everything seems to work for me.....

could you maybe remove your local storage and restart eh application "from scratch"?

@app-matt we just deployed a new version (commit : 1894b5b6aedc4ee25e3ac08784af358c591ae6d7). Could you try a complete new fresh installation using this commit. I did it, using your .env and everything works, the local rpc is NOT USED.
BEFORE you test, just to be fully aligned, make sure to remove the "local Storage" for "http://localhost:3000"
# Log level for the application. The default value is ERROR.
# Acceptable values are ERROR, WARN, INFO, HTTP, VERBOSE, DEBUG and SILLY in order of priority (highest to lowest).
REACT_APP_LOG_LEVEL=ERROR
# JSON array with a factory id in Hedera format `0.0.XXXXX` per environment.
REACT_APP_FACTORIES='[{"Environment":"mainnet","STABLE_COIN_FACTORY_ADDRESS":"0.0.2167166"}, {"Environment":"testnet","STABLE_COIN_FACTORY_ADDRESS":"0.0.3705516"}]'
# The var must be a unique mirror node service for Hedera network, and this is the service which would be used when the UI starts. If the service doesn't require an API key to authorize requests, the API_KEY and HEADER properties must remain empty.
REACT_APP_MIRROR_NODE = '[{"Environment":"mainnet","BASE_URL":"https://mainnet.mirrornode.hedera.com/api/v1/", "API_KEY": "", "HEADER": ""},{"Environment":"testnet","BASE_URL":"https://testnet.mirrornode.hedera.com/api/v1/", "API_KEY": "", "HEADER": ""}]'
REACT_APP_RPC_NODE = '[{"Environment":"mainnet","BASE_URL":"https://mainnet.hashio.io/api/", "API_KEY": "", "HEADER": ""},{"Environment":"testnet","BASE_URL":"https://testnet.hashio.io/api", "API_KEY": "", "HEADER": ""}]'
# This is a proprietary Create React App configuration. You can read more information in its documentation.[Create React App documentation](https://create-react-app.dev/docs/advanced-configuration/)
GENERATE_SOURCEMAP=false
REACT_APP_SHOW_CONFIG=true

@app-matt indeed that documentation might be confusing since it mentions a Factory's contract ID instead of Factory Proxy's contract ID. However I cannot update that documentation directly, I will contact someone who can.
On the other hand, the "ENV vars" section of the "README" from the "web" module of the repository was also a bit confusing for the same reason, it will be updated in the next release.
Thank you for noticing.


CCE-397, add margin bottom 25px to form-group

To visually separate different forms-groups from each other some margin-bottom: 25px is needed

 You should sign our Contributor License Agreement in order to get your pull request merged.Uliana seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).


refactor(ios): remove unused method, cordovaVersion

Platforms affected
ios
Motivation and Context

Cordova version is set in Objective-C and JavaScript but only use JavaScript as README.

The version information comes from the cordova.js file.

Description

Remove Objective-C method.
Testing

Tested with Simulator.
Checklist

[ ] I've run the tests to see all new and existing tests pass
[x] I added automated test coverage as appropriate for this change
[x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[x] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[x] I've updated the documentation if necessary

related issue #101


[FF-47] - Connect FeedItems to Feeds with feed_id

Description
Closes #47

Added feed_id as attribute of Feed & FeedItem
Grab feed_id from related Feed and include as attribute when uploading new FeedItem to DB
Added duplicate check on url when creating new Feed
For testing, on startup included print statements for Feeds and FeedItems

Follow Ups

Currently feed_id is being returned as a Some(int) -- need to clean that up to just the int
Make feed_id FK in FeedItems (currently just another generic col)

I was going to merge with the approval but there is a conflict I can look later this week if you don't want to / have time but as always no rush!


Not-null MRR change in churn months

Currently, if MRR is null for a month (as in a churn month with no invoices), MRR change for that month will also be null. Instead, we should have the previous month's MRR (prior_mrr) as a negative number. I propose coalesce(mrr,0).

Closing due to deprecation


[BugFix] Fix ignore password not working

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #18267
Problem Summary(Required) ：

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 34 / 44 (77.27%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/mysql/MysqlProto.java
7
14
50.00%
[85, 86, 87, 88, 89, 90, 92]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
4
7
57.14%
[1993, 2037, 2039]

:large_blue_circle:
com/starrocks/authentication/AuthenticationManager.java
23
23
100.00%
[]

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 36 / 46 (78.26%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/mysql/MysqlProto.java
7
14
50.00%
[87, 88, 89, 90, 91, 92, 94]

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
4
7
57.14%
[1993, 2037, 2039]

:large_blue_circle:
com/starrocks/authentication/AuthenticationManager.java
25
25
100.00%
[]

@Mergifyio backport branch-3.0


Fixing the CI build failure

The cause of current CI build failure is that it tries to git clone https://github.com/rspec/rspec that no longer exists.
This patch fixes it by bundling https://github.com/rspec/rspec-metagem.

Thank you!


How do I install from url using choco_installed_packages in default.config.yml?

Hi there,
I'm trying to setup my gaming pc using your ansible playbook.
And I'm looking to install some software that isn't in the chocolatey package repository.
Do you perhaps know how I can use this ansible playbook to download a msi from the internet and install it? I'm a bit new to ansible, sorry for the issue creation.
Sorry if this is not meant to be put in this issue list.

Hi Alex,
I forked your repo for my personal setup of my gaming pc.
Does the ansible.windows.win_package only work for windows packages from microsoft or can I use a dynamic url from some other source on the web? And is it required to specify a product_id?
I won't need any of this urgently, and if I did, I'd use it on my own forked repo because I'd have my own personal setup...
Thank you so much for making this playbook, it's probably going to help me save some time.

@Simbaclaws ansible.windows.win_package can be used with any supported packages (.exe, .msi, .msp, .appx, .appxbundle, .msix, and .msixbundle.) from any vendor. You can find full module documentation here.
Out of curiosity what software installation do you wan to automate?

Mostly my current setup for a develper + gaming machine, I've already created a huge list of software to install with chocolatey.
You can see my adjusted default.config.yml in my fork of your repo. I already pushed it.

Sorry but I have another question, is there a way to run the playbook on my local windows machine by fetching it from the repository letting it provision itself somehow? Instead of having a workstation that provisions it through an ip address?

@Simbaclaws, you can do this from within the WSL2 Linux machine. Here is a tutorial that you can use to configure your windows machine.
Unfortunately, you cannot install ansible directly to a windows machine as you usually do on Linux or MacOS.

So there is no ansible-pull command I could use for within powershell for example? I'm looking to create a ansible-pull command that basically pulls a ansible playbook and configures the local machine by inserting a single command... I'll do some research to see if this is at all available in windows somehow, thank you for your time.

I just automated the installation of the windows features and wsl as well as runnning, cloning etc the playbook automatically so you simply have 1 single command that provisions a windows pc. The script basically asks for your local admin username and password at some point, and does now all of the installation for you.
You might want to checkout my repository on this :)
This does mean I had to remove all the reboots from the yml's... Because it runs locally now and not from another machine.


[Publisher App] Certain stream stats information are not shown when resolution is changed during streaming

When the publisher changes the resolution during streaming, certain stream stats info are missing and some stats are having 0 values i.e Audio bitrate
STEPS:

Open the Publisher App
Go Live
Wait for 5 sec
Verify that stream stats are shown correctly
During streaming, change the resolution
Certain stream stats info are missing and some stats are having 0 values i.e Audio bitrate

Int Branch: int-issue-145-multisources
Environment:
OS: macOS Ventura Version 13.1
Browser: Chrome Version 108.0.5359.124 (Official Build) (x86_64)
Uploading resolution_change.mov…

Can't change resolution at the moment, possible resolution in #241 as part of publisher state refactor

Fixed in #241


fix(compiler-core): properly rewrite identifier of for

I think #7245  should take into account the case of for loop
example:
<div @click = "() => {
	for(let i = 0; i < 10; i++){
		console.log(i,arr[i])
	}
}"/>

i think the for loop should compiler to:
	for (let i = 0; i < 10; i++) {
            _ctx.log(i,_ctx.arr[i])
    }

but now it is:
	for (let i = 0; _ctx.i < 10; _ctx.i++) {
      _ctx.log(_ctx.i,_ctx.arr[_ctx.i])
  	}

I feel we should review the existing PR rather than open a new one.

@edison1105 Can you tell me what should I do? thank!


Sometimes, invalid co-occurrences are returned

Example: http://coli-conc.gbv.de/occurrences/api/?member=http://rvk.uni-regensburg.de/nt/V&scheme=*&threshold=2
So find all co-occurrences for RVK notation V.
One of the results is the following concept:
{
  "inScheme": [
    {
      "uri": "http://bartoc.org/en/node/533"
    }
  ],
  "notation": [
    "V Cc"
  ],
  "uri": "http://rvk.uni-regensburg.de/nt/V_Cc"
}

Obviously, RVK notation V Cc does not exist. But the returned catalogue URL also returns no results: https://gso.gbv.de/DB=2.1/CMD?ACT=SRCHA&IKT=1016&SRT=YOP&TRM=rvk "V" rvk "V Cc"
So there's clearly something going wrong there.
Edit: Another example: http://coli-conc.gbv.de/occurrences/api/?member=http:%2F%2Furi.gbv.de%2Fterminology%2Fbk%2F58.03&scheme=*&threshold=5
It includes the invalid notation DDC 660/.2815 (which again returns no matches in the catalogue URL).

Another (slightly different) example:
This request returns a co-occurrence from RVK concept B with DDC concept B (which does not exist). The catalogue URL shows the same number of matches (185), but none of them include a DDC notation B, only the notation 830 which is also listed separately in the co-occurrences.
I'm guessing that this is a combination of weirdly formatted (or plain wrong) data in the catalogue and some issue in the occurrences-api.


Add OpenHermes Function Calling

Reference
Tested this method in a notebook and works quite well.
TODO:

[ ] Adjust the prompt to support mulit-turn conversations
[ ] Use gramamr constrained sampling
[ ] Add custom ChatCompletionHandler
[ ] Test on Function Calling notebook and instructor cookbook

A little framework for structured output, chat and function calling:
https://github.com/Maximilian-Winter/llama-cpp-agent

@abetlen Could you tell me if this is useful for you? I can also integrate just the grammar generator into llama-cpp-python and make a pull request.

I am very interested in this. Will be reviewing when I have some time.

Be careful how you promote this chat handler. With this prompt it is only suitable for function calling, which might be confusing if you expect the handler to provide an OpenAI compatible experience with tool calls only when needed.
I am also not entirely sure if openhermes mistral was trained on these specific instructions or that it would work with other models as well.
If it just good prompt engineering to coerce a tool call, then langchain already has some tools to do so using reAct
https://github.com/williamcotton/empirical-philosophy/blob/main/articles/how-react-prompting-works.md

Just missing automatic multi-tool use now.


Add functionality for deeply extending configuration

Closes https://github.com/feathersjs/feathers-configuration/issues/16 and closes https://github.com/feathersjs/feathers-authentication/issues/191

:shipit:


reactions-avatars style applied to not implemented pages

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.

Description
The reaction count number in a discussion's or a release's reaction gets a gray background in a square around it.
Not only that, those counts also seem to get slightly misaligned and smaller in comparison to without Refined Github.
Find Feature can't find it, so it may be a problem in a global stylesheet.
Screenshot
With Refined Github:

Without Refined Github:

Console errors
No response
Example URL
https://github.com/github/feedback/discussions/4291
https://github.com/sindresorhus/refined-github/releases/tag/21.8.1
Browser(s) used
Firefox 90.0.2

It's the same for reactions in releases.

This should be an easy fix, it's just a matter of finding a stricter selector in the CSS. Pseudo-code:
- .reaction {
+ .comments .reaction {


Discrepancy in location of PAM [featurization.py]

http://www.nature.com/nbt/journal/v32/n12/fig_tab/nbt.3026_F3.html shows the PAM at positions 24-27 within the 30-mer (using zero-based Python indexing) and the length-20 targeting sequence at positions 4-24.  Azimuth's pam_audit code uses this definition, since it requires a 'GG' at seq[25:27].  nucleotide_features_dictionary also uses this definition.
However, countGC assumes the targeting sequence is at positions 5-25: return len(s[5:25].replace('A', '').replace('T', '')).  Tm_feature also assumes this: featarray[i,1] = Tm.Tm_staluc(seq[20:25], rna=rna) #5nts immediately proximal of the NGG PAM.  These seem incorrect.  Could you clarify in the documentation whether the targeting sequence is at positions 4-24 or 5-25?
Thanks for making this tool available to the community!

Thanks for catching this. The targeting sequence is indeed 4-24, and we have now fixed countGC and the thermodynamic features to reflect this. Additionally, we have re-run the final set of features with the final AdaBoosted model and tuning parameters to ensure that this does not change the reported results in any substantial way, and it does not. However, we will soon be checking in an updated model for consistency between the newly fixed code and the saved model.


chrome-headless

Changes made to test headless chrome

suggestion: Commit message could have a verb: add, modify, update....
example: Add chrome headless config
To have an idea of the change.
Go work BTW


Collection nesting

I am having some issues storing an UnorderedMap inside an object inside an UnorderedMap.
What I am trying to do is something like this:
class Inner {
  public innerMap: UnorderedMap = new UnorderedMap("v");
}

@NearBindgen
class Contract extends NearContract {
  outerMap: UnorderedMap;

  constructor() {
    this.outerMap = new UnorderedMap("o");
  }

  default() {
    return new Contract();
  }

  @call
  add({ id, text }) {
    const inner = this.outerMap.get(id);
    inner.innerMap.set(near.signerAccountId(), text);
  }
}

The problem is that the innerMap doesn't get deserialized into an UnorderedMap object, and there is no API to construct it manually (like say a from function).
Any advice on how to accomplish this or implement the deserialization automatically?
I'd be happy to work on a PR for it

Unfortunalely we don't have a way to deserialize and restore the type automatically. A manually example can be seen here: https://github.com/near-examples/nft-tutorial-js/blob/7695f16e3bc0baae78742a82e0059f0a64794518/src/nft-contract/internal.ts#L6. For any usage on your innerMap, use this restore function on the innerMap before call method on it: https://github.com/near-examples/nft-tutorial-js/blob/7695f16e3bc0baae78742a82e0059f0a64794518/src/nft-contract/internal.ts#L79 (The example is a innerSet, but it's the same for a innerMap)

@ailisp since both these types have a deserialize() function, theoretically, it is possible to deserialize the whole object recursively. What do you think?

@volovyks I think it is quite difficult to make this automatic as it requires embedding type information into the serialized object and based on that performing the appropriate deserialize() call on deserialization. Just having the deserialize function for each collection more visible and documented would be great.
P.S. This discussion here is related to this issue.

@volovyks Yeah, it would need some recursion to allow for nested collections. This would only go 1 level deep.

Agree with the points above.

not sure how it will work with nested collections.

Seems challenging. Take this as example, the most straightforward nested collection: LookupMap<String, LookupSet<String>>. Current LookupMap.get:
    get(key: Bytes): unknown | null {
        let storageKey = this.keyPrefix + JSON.stringify(key)
        let raw = near.storageRead(storageKey)
        if (raw !== null) {
            return JSON.parse(raw)
        }
        return null
    }

if we could do  _reconstruct(LookupSet, JSON.parse(raw)) , we would solve this problem, but LookupMap doesn't know its value is LookupSet. In this case we might store a LookupSet instance as LookupMap's "valueType" property.
If it was one level more: outerMap: LookupMap<String, LookupSet<UnorderedMap<String, Y>>>, we can set outerMap.valueType = new LookupSet({valueType: new UnorderedMap({valueType: Y})) , this seems not quite automatic, a lot of runtime type anotation.

We now have necessary generic collections, reconstruct mechanism in #203 and customized serializer/deserializer option in #213. I think a good example will show how collection nesting will work now, which is in #231

collection example is done, so this issue is done too as described above.


Unique check for mobile number error message concatenate without space

Is your suggestion related to an experience ? Please describe.
In IS 5.11.0, when Uniqueness is set for mobile claim, in the registration page, duplicate value is entered for mobile number, it gives the correct error message. But claim name and the message is concatenate without space. Below is the error message.
The value defined for Mobileis already in use by different user!
Describe the improvement
Claim name "Mobile" and "is" should be separated from space.

This is already fixed in the public repository with https://github.com/wso2/carbon-identity-framework/pull/3525


[c++] the metrics shall be saved when serializing learner

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System:
Compiler:
Package used (python/R/jvm/C++): c++
xgboost version used: 0.7
If installing from source, please provide

The commit hash (git rev-parse HEAD)
Logs will be helpful (If logs are large, please upload as attachment).

If you are using python package, please provide

The python version and distribution
The command to install xgboost if you are not installing from source

If you are using R package, please provide

The R sessionInfo()
The command to install xgboost if you are not installing from source

Steps to reproduce

https://github.com/dmlc/xgboost/issues/2239 (found in jvm-package)

there is a bug when serializing learner, in which the metrics are not saved

fixed by https://github.com/dmlc/xgboost/pull/2241


Consolidated playbooks into Solutions

Required items, please complete
Change(s):
Removed redundant playbooks from playbook dir and left a message in readme about the move to solution folder.
Reason for Change(s):
Playbook consolidation into solution
Testing Completed:
yes
Checked that the validations are passing and have addressed any issues that are present:
yes

@rahul0216 I messed up my other branch, so I'm redoing this on top of master.

@rahul0216, can you please confirm if we can merge this, thanks.


2.0.4 fails with AttributeError: 'Namespace' object has no attribute 'extend_select'

Thanks for fixing the bug in 2.0.3 so quickly.
Unfortunately in 2.0.4 I can't run flake8-type-checking at all anymore.
I changed flake8 config according to the readme I think - hopefully I've not misunderstood something.
# for flake8-type-checking
enable-extensions = TC, TC1

Anyway that used to work with 2.0.3.
Full error:
$ flake8 .
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/checker.py", line 676, in _run_checks
    return checker.run_checks()
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8_noqa/noqa_filter.py", line 185, in run_checks
    result = super().run_checks(*args, **kwargs)
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/checker.py", line 589, in run_checks
    self.run_ast_checks()
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/checker.py", line 494, in run_ast_checks
    for (line_number, offset, text, _) in runner:
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8_type_checking/plugin.py", line 88, in run
    if self.should_warn(e[2].split(':')[0]):
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8_type_checking/plugin.py", line 120, in should_warn
    + list(self.options.extend_select or [])
AttributeError: 'Namespace' object has no attribute 'extend_select'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/bin/flake8", line 8, in <module>
    sys.exit(main())
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/main/cli.py", line 22, in main
    app.run(argv)
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/main/application.py", line 363, in run
    self._run(argv)
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/main/application.py", line 351, in _run
    self.run_checks()
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/main/application.py", line 264, in run_checks
    self.file_checker_manager.run()
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/checker.py", line 321, in run
    self.run_parallel()
  File "/home/kurts/.cache/pypoetry/virtualenvs/meadowrun-bhfjFnmF-py3.9/lib/python3.9/site-packages/flake8/checker.py", line 287, in run_parallel
    for ret in pool_map:
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 448, in <genexpr>
    return (item for chunk in result for item in chunk)
  File "/usr/lib/python3.9/multiprocessing/pool.py", line 870, in next
    raise value
AttributeError: 'Namespace' object has no attribute 'extend_select'

Related? https://github.com/PyCQA/flake8/issues/1318
Which Flake8 version are you on?

Ah possibly:
$ flake8 --version
3.9.2 (flake8-noqa: 1.2.5, flake8-type-checking: 2.0.4, flake8_encodings: 0.5.0.post1, mccabe: 0.6.1, pycodestyle: 2.7.0, pyflakes: 2.3.1) CPython 3.9.13 on Linux

We pinned to 3.9.2 because of this whole flake/importlib drama, honestly I haven't been following it.

I'll see if I can fix this and release a new version later today @kurtschelfthout. Thanks for letting me know 👍

v2.0.5 should be out in a minute @kurtschelfthout. Would you mind letting me know if that solves your problem? 🙂

Yes it does, thanks again for the quick fix.


js: Factoring

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>

Codecov Report

Merging #199 (15f4f0c) into main (f90921d) will increase coverage by 0.34%.
The diff coverage is 14.28%.

@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
+ Coverage   42.36%   42.71%   +0.34%
==========================================
  Files          96       96
  Lines        2601     2566      -35
==========================================
- Hits         1102     1096       -6
+ Misses       1499     1470      -29

Impacted Files
Coverage Δ

ui/src/proxy/modals.js
3.03% <0.00%> (-6.41%)
:arrow_down:

ui/src/service/modals.js
6.38% <0.00%> (-0.52%)
:arrow_down:

ui/src/shared/container.js
33.33% <33.33%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f90921d...15f4f0c. Read the comment docs.


Compile fails "Compiled with problems: / Module build failed / TypeError: Cannot read properties of undefined (reading 'replace')

Compiled with problems:
ERROR in ./src/index.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[7].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[4]!./src/index.scss)
Module Error (from ./node_modules/sass-loader/dist/cjs.js):
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (108)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v7.0.3
ERROR in ./src/index.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[7].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[4]!./src/index.scss)
Module build failed (from ./node_modules/resolve-url-loader/index.js):
TypeError: Cannot read properties of undefined (reading 'replace')

node --version
v18.12.1
sass is only supported up to node version 17. Downgrade your node installation.


Go to References does not work on staged files

VSCode Version:
OS Version:

Steps to Reproduce:

Make a file change and stage it in git
Right click and choose Go to References on a member of the staged file

Does this issue occur when all extensions are disabled?: Yes

That's because it is literally a different document. That document you're seeing only exists virtually, since it can be different from what's on disk. TypeScript doesn't know about it since it only knows about literal files on disk.


Accept another rng in Uuid constructor options

Uuid constructor fills _seedBytes by cryptoRNG. Because of bug #37 we need to allow user to choose another rng.

This is only proposal to show where is problem, I believe you can handle it better

Yup, I was looking through the code locally real quick. There is a regression on the default. When I was working on v2 stuff I must have erroneously changed it to default to cryptoRNG. Before 2.0, I defaulted to MathRNG: https://github.com/Daegalus/dart-uuid/blame/2f7bbc750bd75e58facc0ede804c08dedebac66f/lib/uuid.dart (this is before v2.0 was merged)
I will be making the fix shortly and release the bug fix.

Thanks for all of this, it helped think through some of the changes I made. I will close this now that I implemented the fixes.


Increase publishable dataset size to 1000 MB.

Just a guess on how to fix #4.

In practice, the fix is not that simple. There is no intelligent file upload manager in use, and the nginx reverse proxy will most definitely timeout before a 1GB file is uploaded to the server.

Thanks for letting me know. I'll just close this silly PR then but leave the issue open.


Error: while trying to create huge network

Trying to create a network of 50000+ Nodes and 100000+ Relationships.
In mid way getting the following error (Around 53900 Relationship create point):
`Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/py2neo/client/init.py", line 792, in acquire
cx = self._free_list.popleft()
IndexError: pop from an empty deque
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "neo4j_converter.py", line 273, in
main()
File "neo4j_converter.py", line 267, in main
create_relationship(relationships)
File "neo4j_converter.py", line 201, in create_relationship
g.create(Relationship(a, c, b))
File "/usr/local/lib/python3.8/dist-packages/py2neo/database.py", line 580, in create
self.update(lambda tx: tx.create(subgraph))
File "/usr/local/lib/python3.8/dist-packages/py2neo/database.py", line 439, in update
self._update(cypher, timeout=timeout)
File "/usr/local/lib/python3.8/dist-packages/py2neo/database.py", line 461, in _update
tx = self.begin(
File "/usr/local/lib/python3.8/dist-packages/py2neo/database.py", line 351, in begin
return Transaction(self, autocommit=False, readonly=readonly,
File "/usr/local/lib/python3.8/dist-packages/py2neo/database.py", line 904, in init
self._ref = self._connector.begin(self.graph.name, readonly=readonly,
File "/usr/local/lib/python3.8/dist-packages/py2neo/client/init.py", line 1369, in begin
cx = self._acquire_rw(graph_name)
File "/usr/local/lib/python3.8/dist-packages/py2neo/client/init.py", line 1240, in _acquire_rw
cx = pool.acquire()
File "/usr/local/lib/python3.8/dist-packages/py2neo/client/init.py", line 799, in acquire
cx = self.connect()
File "/usr/local/lib/python3.8/dist-packages/py2neo/client/init.py", line 745, in connect
self._bytes_sent += cx.bytes_sent
File "/usr/local/lib/python3.8/dist-packages/py2neo/client/init.py", line 211, in bytes_sent
raise NotImplementedError
NotImplementedError
`
What could be the possible reason for this?

Hello,
I am having the same problem. I am trying to create over 14m relationships using apoc.periodic.iterate procedure. I have 19 separate queries, which are sequentially executed in the same Python method using run method from Graph.
However, at the 17th query it throws the following error (previous queries take approximately ~3739 seconds):
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/py2neo/client/__init__.py", line 792, in acquire
    cx = self._free_list.popleft()
IndexError: pop from an empty deque

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/celery/app/trace.py", line 450, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/celery/app/trace.py", line 731, in __protected_call__
    return self.run(*args, **kwargs)
  File "/app/utility/tasks.py", line 83, in run_queries
    execute_queries(queries, task_id, user_id)
  File "/app/utility/tasks.py", line 24, in execute_queries
    graph_access.batch(query[0], query[1], params=params)
  File "/usr/local/lib/python3.9/site-packages/context_sense/graph_access.py", line 98, in batch
    return self.run(query)
  File "/usr/local/lib/python3.9/site-packages/context_sense/graph_access.py", line 120, in run
    result = self.graph.run(query, params).data()
  File "/usr/local/lib/python3.9/site-packages/py2neo/database.py", line 405, in run
    return self.auto().run(cypher, parameters, **kwparameters)
  File "/usr/local/lib/python3.9/site-packages/py2neo/database.py", line 978, in run
    result = self._connector.auto_run(cypher, parameters,
  File "/usr/local/lib/python3.9/site-packages/py2neo/client/__init__.py", line 1338, in auto_run
    cx = self._acquire_rw(graph_name)
  File "/usr/local/lib/python3.9/site-packages/py2neo/client/__init__.py", line 1240, in _acquire_rw
    cx = pool.acquire()
  File "/usr/local/lib/python3.9/site-packages/py2neo/client/__init__.py", line 799, in acquire
    cx = self.connect()
  File "/usr/local/lib/python3.9/site-packages/py2neo/client/__init__.py", line 745, in connect
    self._bytes_sent += cx.bytes_sent
  File "/usr/local/lib/python3.9/site-packages/py2neo/client/__init__.py", line 211, in bytes_sent
    raise NotImplementedError
NotImplementedError

I have no error on the Neo4j server logs. So, I guess it is a problem on the py2neo client side.
What could be the reason:

Does the connections in connection pool expire? Can I check to see if connections are expired and reconnect somehow?
Do I need to ditch run and execute each query within a separate transaction (this doesn't make sense to me, because I think run uses auto() to create a separate transaction for queries)?

By the way, what is the best practice to use Graph objects, which of the following is better:

to initialize a Graph object before executing any query?
to create a Graph object once when an application initialized and use this object during the lifetime of the application?


Taxonomy choices not pre-populated with predictions

Describe the bug
Taxonomy choices are not pre-populated in labeling view when predictions are present.
To Reproduce

Create new project
Import data

[
  {
    "data": {
      "text": "You never believe what he did to the country"
    }
  },
  {
    "data": {
      "text": "You never believe what he did to the country"
    },
    "predictions": [
      {
        "result": [
          {
            "value": {
              "taxonomy": [
                [
                  "Online",
                  "Free"
                ],
                [
                  "Offline"
                ]
              ]
            },
            "from_name": "media",
            "to_name": "text",
            "type": "taxonomy"
          }
        ],
        "score": 0.95
      }
    ]
  }
]

Set config

<View>
  <Text name="text" value="$text"/>
  <Taxonomy name="media" toName="text">
    <Choice value="Online">
      <Choice value="UGC"/>
      <Choice value="Free"/>
      <Choice value="Paywall">
        <Choice value="NYC Times"/>
        <Choice value="The Wall Street Journal"/>
      </Choice>
    </Choice>
    <Choice value="Offline"/>
  </Taxonomy>
</View>

Navigate to project and the click "Label All Tasks:

Expected behavior

New annotation is pre-populated with prediction
Prediciton panel is shown (I toggled this in the Layout tab)

Screenshots

Environment (please complete the following information):

OS: Ubuntu LTS 20.04
Label Studio Version 1.0.2

Fixed with version 1.3.0 release.


chore(deps): Run npm audit fix

Run npm audit fix

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: