Render summary from data-service API on the curator-service home page.

Couple things:

Not in love with the solution to type HTTP client responses (e.g. duplicating the interface definition). It's probably worth having a published type for clients to ingest that API data (at least for Node clients), but I'm satisfied with this as a starting point.
I'll catch up with Allyson on front end plans tomorrow. For now, just getting this on the home page as a placeholder.
Vagrant set up would be great. ;-) To test locally, I manually ran a local MongoDB and both Node apps. Not terrible, but could be better.

Also I started looking at docker compose for the dev stack, I have it running on my machine fine but I need to figure out the github action stuff, expect a PR later today (https://github.com/open-covid-data/healthmap-gdo-temp/pull/32)

 Implement the curation case data routes and wire it to the data server


don’t run Travis tests multiple times for pull requests from branches

For example, in https://github.com/scrapinghub/frontera/pull/244 Travis tests were executed twice. The fix is copy-pasted from scrapy config.

Current coverage is 70.22% (diff: 100%)

Merging #246 into master will not change coverage

@@             master       #246   diff @@
==========================================
  Files            68         68
  Lines          4699       4699
  Methods           0          0
  Messages          0          0
  Branches        629        629
==========================================
  Hits           3300       3300
  Misses         1258       1258
  Partials        141        141

Powered by Codecov. Last update d91e056...6c8da1e

@kmike I'm trying to find when they were executed twice, and I can't
https://travis-ci.org/scrapinghub/frontera/builds
could you point me out?

@sibiryakov see https://github.com/scrapinghub/frontera/pull/244:

I see, thanks @kmike


Processor ProcessBatch appears to munge intermediate tags

What are the steps to reproduce this issue?

use this function https://pkg.go.dev/github.com/gravwell/gravwell/v3/ingest/processors#ProcessorSet.ProcessBatch

What happens?
this error: <11>1 2022-11-15T14:14:43.2796-07:00 box - - ingest/muxer.go:1158 [gw@1 tagvalue="4" ingester="S3 Ingester" ingesteruuid="b4a30638-3ce3-4bd6-be4d-802e7cc55537"] Got entry tagged with completely unknown intermediate tag, dropping it
What were you expecting to happen?
not that error
Any logs, error output, etc?
see above
Any other comments?
i manually verified that the resolved tag value was 1, NOT 4.  So process batch did something dumb
What versions of software are you using?
5.1.2 prod

Wasn't real.  Test confirmed.


Antialiasing restoration

This restores the original Antialiasing, rather than replacing the whole shader with comletely different implementation, and also, rather than removing it completely.
This is achieved by replacing the hardcoded resolution info passed to the shader in uf_remappedPS with a size taken from the texture unit - textureSize(textureUnitPS0, 0);
Screenshots. All are in 1440p:
AABroken

AARemoved

AARestored

Why is "Contrasty" enabled by default now? That wasn't mentioned in the pull request

It thought pretty much everyone wanted it. I'll disable it

I was not really a fan of combining the different graphics packs to the resolution pack from a user perceptive in the first place. It's not immediately obvious that the resolution pack changes more than just resolution and adding related fixes. Thanks for following up!


CNVkit error - invalid value encountered in median

Hi Brad,
I met a problem with running CNVkit using the bcbio pipeline. Looks to me like it's due to one of the helper scripts. Would you mind taking a look at it please? Thank you!
[2016-11-15T16:24Z] /mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py:3569: RuntimeWarning: Invalid value encountered in median
[2016-11-15T16:24Z]   RuntimeWarning)
[2016-11-15T16:24Z] Segmented on allele freqs in 1:20502212-20880734
[2016-11-15T16:24Z] Segmented on allele freqs in 1:152101138-152329094
[2016-11-15T16:24Z] Segmented on allele freqs in 6:31948398-32053950
[2016-11-15T16:24Z] Segmented on allele freqs in 9:14748-21165524
[2016-11-15T16:24Z] Segmented on allele freqs in 9:33817744-34723732
[2016-11-15T16:24Z] Segmented on allele freqs in 9:71079943-84527890
[2016-11-15T16:24Z] Segmented on allele freqs in 11:65265219-65293234
[2016-11-15T16:24Z] Segmented on allele freqs in 12:9590547-9728325
[2016-11-15T16:24Z] Segmented on allele freqs in 12:52947518-133841395
[2016-11-15T16:24Z] Segmented on allele freqs in 16:2147288-2165682
[2016-11-15T16:24Z] Segmented on allele freqs in 19:11594210-11915395
[2016-11-15T16:24Z] Segmented on allele freqs in 19:19716614-24631282
[2016-11-15T16:24Z] Traceback (most recent call last):
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin/cnvkit.py", line 13, in
[2016-11-15T16:24Z]     args.func(args)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/commands.py", line 726, in _cmd_segment
[2016-11-15T16:24Z]     processes=args.processes)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 34, in do_segmentation
[2016-11-15T16:24Z]     save_dataframe, rlibpath)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 130, in _do_segmentation
[2016-11-15T16:24Z]     transfer_fields(segarr, cnarr)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 179, in transfer_fields
[2016-11-15T16:24Z]     segweights[i] = subprobes['weight'].sum()
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/gary.py", line 130, in getitem
[2016-11-15T16:24Z]     return self.data[index]
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 1997, in getitem
[2016-11-15T16:24Z]     return self._getitem_column(key)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 2004, in _getitem_column
[2016-11-15T16:24Z]     return self._get_item_cache(key)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/generic.py", line 1350, in _get_item_cache
[2016-11-15T16:24Z]     values = self._data.get(item)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/internals.py", line 3290, in get
[2016-11-15T16:24Z]     loc = self.items.get_loc(item)
[2016-11-15T16:24Z]   File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/indexes/base.py", line 1947, in get_loc
[2016-11-15T16:24Z]     return self._engine.get_loc(self._maybe_cast_indexer(key))
[2016-11-15T16:24Z]   File "pandas/index.pyx", line 137, in pandas.index.IndexEngine.get_loc (pandas/index.c:4154)
[2016-11-15T16:24Z]   File "pandas/index.pyx", line 159, in pandas.index.IndexEngine.get_loc (pandas/index.c:4018)
[2016-11-15T16:24Z]   File "pandas/hashtable.pyx", line 675, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12368)
[2016-11-15T16:24Z]   File "pandas/hashtable.pyx", line 683, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12322)
[2016-11-15T16:24Z] KeyError: 'weight'
[2016-11-15T16:24Z] Uncaught exception occurred
Traceback (most recent call last):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 21, in run
_do_run(cmd, checks, log_stdout)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 95, in _do_run
raise subprocess.CalledProcessError(exitcode, error_msg)
CalledProcessError: Command 'set -o pipefail; unset R_HOME && export PATH=/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin:$PATH && /mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin/cnvkit.py segment -o /mnt/projects/dlho/tancrc/Plasma_exome/analysis/work/structural/T180_baseline/cnvkit/raw/tx/tmp6P3yTH/T180_baseline-sort.cns /mnt/projects/dlho/tancrc/Plasma_exome/analysis/work/structural/T180_baseline/cnvkit/raw/T180_baseline-sort.cnr -v /mnt/projects/dlho/tancrc/Plasma_exome/analysis/work/freebayes/T0-vepeffects-annotated-filter.vcf.gz
Loaded 69466 records; skipped: 1170 somatic, 0 depth
Selected test sample T180_baseline and control sample N180_WBC
Dropped 33 outlier bins:
chromosome      start        end                      gene     log2  depth
0           1   47799580   47799822                     CMPK1 -23.4239    0.0
1           1   94374574   94374776                      GCLM -23.3657    0.0
2           2   88926422   88926637                   EIF2AK3 -23.5664    0.0
3           2   99439265   99439513                 KIAA1211L -23.3389    0.0
4           2  174828462  174828664                       SP3 -23.5508    0.0
5           2  220313475  220313739                      SPEG -23.1710    0.0
6           2  239229242  239229455                  TRAF3IP1 -23.3195    0.0
7           3    9439106    9439397           SETD5,SETD5-AS1 -23.0782    0.0
8           3   50313698   50313931                    SEMA3B -23.3550    0.0
9           3  195163447  195163649                     ACAP2 -23.5964    0.0
10          7   73498296   73498432                     LIMK1 -23.4877    0.0
11         11   67071067   67071189                      SSH3 -23.3575    0.0
12         12    9067292    9067423                      PHC1 -23.3060    0.0
13         13   37393394   37393639                     RFXAP -23.4086    0.0
14         15   38856749   38856871                   RASGRP1 -23.6216    0.0
15         16     718319     718441                     RHOT2 -23.5570    0.0
16         16     730482     730694                     STUB1 -23.4402    0.0
17         16   15005072   15005174  MIR3180-1,hsa-mir-3180-3 -23.7579    0.0
18         16   89642270   89642512                     CPNE7 -23.3488    0.0
19         16   89989786   89989928                     TUBB3 -23.3175    0.0
  weight

0   0.157922
1   0.163452
2   0.287465
3   0.144785
4   0.276951
5   0.145293
6   0.131580
7   0.124337
8   0.155783
9   0.290737
10  0.187469
11  0.122643
12  0.082347
13  0.257050
14  0.271211
15  0.272108
16  0.213426
17  0.318241
18  0.136248
19  0.101492
...
/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py:3569: RuntimeWarning: Invalid value encountered in median
RuntimeWarning)
Segmented on allele freqs in 1:20502212-20880734
Segmented on allele freqs in 1:152101138-152329094
Segmented on allele freqs in 6:31948398-32053950
Segmented on allele freqs in 9:14748-21165524
Segmented on allele freqs in 9:33817744-34723732
Segmented on allele freqs in 9:71079943-84527890
Segmented on allele freqs in 11:65265219-65293234
Segmented on allele freqs in 12:9590547-9728325
Segmented on allele freqs in 12:52947518-133841395
Segmented on allele freqs in 16:2147288-2165682
Segmented on allele freqs in 19:11594210-11915395
Segmented on allele freqs in 19:19716614-24631282
Traceback (most recent call last):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin/cnvkit.py", line 13, in
args.func(args)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/commands.py", line 726, in _cmd_segment
processes=args.processes)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 34, in do_segmentation
save_dataframe, rlibpath)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 130, in _do_segmentation
transfer_fields(segarr, cnarr)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 179, in transfer_fields
segweights[i] = subprobes['weight'].sum()
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/gary.py", line 130, in getitem
return self.data[index]
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 1997, in getitem
return self._getitem_column(key)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 2004, in _getitem_column
return self._get_item_cache(key)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/generic.py", line 1350, in _get_item_cache
values = self._data.get(item)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/internals.py", line 3290, in get
loc = self.items.get_loc(item)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/indexes/base.py", line 1947, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/index.pyx", line 137, in pandas.index.IndexEngine.get_loc (pandas/index.c:4154)
File "pandas/index.pyx", line 159, in pandas.index.IndexEngine.get_loc (pandas/index.c:4018)
File "pandas/hashtable.pyx", line 675, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12368)
File "pandas/hashtable.pyx", line 683, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12322)
KeyError: 'weight'
' returned non-zero exit status 1
Traceback (most recent call last):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/bin/bcbio_nextgen.py", line 230, in
main(**kwargs)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/bin/bcbio_nextgen.py", line 43, in main
run_main(**kwargs)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 43, in run_main
fc_dir, run_info_yaml)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 87, in _run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 176, in variant2pipeline
samples = structural.run(samples, run_parallel, "initial")
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/init.py", line 146, in run
for xs in to_process.values()))
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"])(joblib.delayed(fn)(x) for x in items):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 800, in call
while self.dispatch_one_batch(iterator):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 658, in dispatch_one_batch
self._dispatch(tasks)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 566, in _dispatch
job = ImmediateComputeBatch(batch)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 180, in init
self.results = batch()
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 72, in call
return [func(*args, **kwargs) for func, args, kwargs in self.items]
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 51, in wrapper
return apply(f, *args, **kwargs)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 228, in detect_sv
return structural.detect_sv(*args)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/init.py", line 165, in detect_sv
for svdata in caller_fn(items):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 29, in run
return _cnvkit_by_type(items, background)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 41, in _cnvkit_by_type
return _run_cnvkit_cancer(items, background)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 85, in _run_cnvkit_cancer
ckouts = _run_cnvkit_shared([paired.tumor_data], normal_data)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 167, in _run_cnvkit_shared
inputs[0]["config"], parallel)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"])(joblib.delayed(fn)(x) for x in items):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 800, in call
while self.dispatch_one_batch(iterator):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 658, in dispatch_one_batch
self._dispatch(tasks)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 566, in _dispatch
job = ImmediateComputeBatch(batch)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 180, in init
self.results = batch()
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 72, in call
return [func(*args, **kwargs) for func, args, kwargs in self.items]
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 51, in wrapper
return apply(f, *args, **kwargs)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 63, in wrapper
out = f(*args, **kwargs)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/structural/cnvkit.py", line 201, in _cnvkit_segment
do.run(export_cmd + " ".join(cmd), "CNVkit segment")
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 21, in run
_do_run(cmd, checks, log_stdout)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 95, in _do_run
raise subprocess.CalledProcessError(exitcode, error_msg)
subprocess.CalledProcessError: Command 'set -o pipefail; unset R_HOME && export PATH=/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin:$PATH && /mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin/cnvkit.py segment -o /mnt/projects/dlho/tancrc/Plasma_exome/analysis/work/structural/T180_baseline/cnvkit/raw/tx/tmp6P3yTH/T180_baseline-sort.cns /mnt/projects/dlho/tancrc/Plasma_exome/analysis/work/structural/T180_baseline/cnvkit/raw/T180_baseline-sort.cnr -v /mnt/projects/dlho/tancrc/Plasma_exome/analysis/work/freebayes/T0-vepeffects-annotated-filter.vcf.gz
Loaded 69466 records; skipped: 1170 somatic, 0 depth
Selected test sample T180_baseline and control sample N180_WBC
Dropped 33 outlier bins:
chromosome      start        end                      gene     log2  depth
0           1   47799580   47799822                     CMPK1 -23.4239    0.0
1           1   94374574   94374776                      GCLM -23.3657    0.0
2           2   88926422   88926637                   EIF2AK3 -23.5664    0.0
3           2   99439265   99439513                 KIAA1211L -23.3389    0.0
4           2  174828462  174828664                       SP3 -23.5508    0.0
5           2  220313475  220313739                      SPEG -23.1710    0.0
6           2  239229242  239229455                  TRAF3IP1 -23.3195    0.0
7           3    9439106    9439397           SETD5,SETD5-AS1 -23.0782    0.0
8           3   50313698   50313931                    SEMA3B -23.3550    0.0
9           3  195163447  195163649                     ACAP2 -23.5964    0.0
10          7   73498296   73498432                     LIMK1 -23.4877    0.0
11         11   67071067   67071189                      SSH3 -23.3575    0.0
12         12    9067292    9067423                      PHC1 -23.3060    0.0
13         13   37393394   37393639                     RFXAP -23.4086    0.0
14         15   38856749   38856871                   RASGRP1 -23.6216    0.0
15         16     718319     718441                     RHOT2 -23.5570    0.0
16         16     730482     730694                     STUB1 -23.4402    0.0
17         16   15005072   15005174  MIR3180-1,hsa-mir-3180-3 -23.7579    0.0
18         16   89642270   89642512                     CPNE7 -23.3488    0.0
19         16   89989786   89989928                     TUBB3 -23.3175    0.0
  weight

0   0.157922
1   0.163452
2   0.287465
3   0.144785
4   0.276951
5   0.145293
6   0.131580
7   0.124337
8   0.155783
9   0.290737
10  0.187469
11  0.122643
12  0.082347
13  0.257050
14  0.271211
15  0.272108
16  0.213426
17  0.318241
18  0.136248
19  0.101492
...
/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/numpy/lib/function_base.py:3569: RuntimeWarning: Invalid value encountered in median
RuntimeWarning)
Segmented on allele freqs in 1:20502212-20880734
Segmented on allele freqs in 1:152101138-152329094
Segmented on allele freqs in 6:31948398-32053950
Segmented on allele freqs in 9:14748-21165524
Segmented on allele freqs in 9:33817744-34723732
Segmented on allele freqs in 9:71079943-84527890
Segmented on allele freqs in 11:65265219-65293234
Segmented on allele freqs in 12:9590547-9728325
Segmented on allele freqs in 12:52947518-133841395
Segmented on allele freqs in 16:2147288-2165682
Segmented on allele freqs in 19:11594210-11915395
Segmented on allele freqs in 19:19716614-24631282
Traceback (most recent call last):
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/bin/cnvkit.py", line 13, in
args.func(args)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/commands.py", line 726, in _cmd_segment
processes=args.processes)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 34, in do_segmentation
save_dataframe, rlibpath)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 130, in _do_segmentation
transfer_fields(segarr, cnarr)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/segmentation/init.py", line 179, in transfer_fields
segweights[i] = subprobes['weight'].sum()
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/cnvlib/gary.py", line 130, in getitem
return self.data[index]
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 1997, in getitem
return self._getitem_column(key)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 2004, in _getitem_column
return self._get_item_cache(key)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/generic.py", line 1350, in _get_item_cache
values = self._data.get(item)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/core/internals.py", line 3290, in get
loc = self.items.get_loc(item)
File "/mnt/projects/dlho/tancrc/bcbio_pipeline/anaconda/lib/python2.7/site-packages/pandas/indexes/base.py", line 1947, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/index.pyx", line 137, in pandas.index.IndexEngine.get_loc (pandas/index.c:4154)
File "pandas/index.pyx", line 159, in pandas.index.IndexEngine.get_loc (pandas/index.c:4018)
File "pandas/hashtable.pyx", line 675, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12368)
File "pandas/hashtable.pyx", line 683, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12322)
KeyError: 'weight'
' returned non-zero exit status 1

Thanks for the report and sorry about the issue. This looks like the same problem as #1590 and I believe @etal pushed a fix in CNVkit 0.8.1. Could you try updating to ensure you have the latest?
bcbio_conda install -c bioconda cnvkit

and see if that resolves the problem? Thanks for helping debug and hope this gets your analysis completed.

Thanks a lot, Brad! Seems to be resolved!


ODH 2.16 Release Tracker

Links to tracker issues for components planning updates in this.  Please update you manifests before August 2nd.
Release Date: August 5th
Comment Template for automation
#Release#
- component_name|release-branch|release-notes

List of component_name:

[ ] modelregistry
[ ] notebook-controller
[ ] notebooks
[ ] codeflare
[ ] ray
[ ] kueue
[ ] trainingoperator
[ ] trustyai
[ ] odh-dashboard
[ ] data-science-pipelines-operator
[ ] model-mesh
[ ] kserve
[ ] model-mesh-serving
[ ] odh-model-controller

Please note that

Please add the #Release# for the automation to read the entries.
A space can be added before or after the delimiter '|' which prevents github from making the URL malformed.
Please add the correct release-branch and release-notes URL
Multiple component releases of the same team can use the - to add multiple entries
eg:    #Release#
     - component_name1|release-branch-url|release-notes-url
     - component_name2|release-branch-url|release-notes-url
     - component_name3|release-branch-url|release-notes-url

#Release#
data-science-pipelines-operator|https://github.com/opendatahub-io/data-science-pipelines-operator/tree/v2.4.x|https://github.com/opendatahub-io/data-science-pipelines-operator/releases/tag/v2.4.0

FYI @dhirajsb

#Release#
odh-dashboard | https://github.com/opendatahub-io/odh-dashboard/tree/v2.25.1-odh-release | https://github.com/opendatahub-io/odh-dashboard/releases/tag/v2.25.1-odh

#Release#

notebooks| https://github.com/opendatahub-io/notebooks/tree/v1.21.0 | https://github.com/opendatahub-io/notebooks/releases/tag/v1.21.0
notebook-controller| https://github.com/opendatahub-io/kubeflow/tree/v1.7.0-14 | https://github.com/opendatahub-io/kubeflow/releases/tag/v1.7.0-14

#Release#
- trustyai | https://github.com/trustyai-explainability/trustyai-service-operator/tree/release/1.24.0 | https://github.com/trustyai-explainability/trustyai-service-operator/releases/tag/v1.24.0

#Release#
modelregistry | https://github.com/opendatahub-io/model-registry-operator/tree/release/v0.2.4 | https://github.com/opendatahub-io/model-registry-operator/releases/tag/v0.2.4

@israel-hdez / @Jooho FYI

#Release#

codeflare | https://github.com/opendatahub-io/codeflare-operator/tree/v1.5.0-odh | https://github.com/opendatahub-io/codeflare-operator/releases/tag/v1.5.0-odh
ray | https://github.com/opendatahub-io/kuberay/tree/v1.1.2-odh | https://github.com/opendatahub-io/kuberay/releases/tag/v1.1.2-odh
kueue | https://github.com/opendatahub-io/kueue/tree/v0.7.0-odh-test | https://github.com/opendatahub-io/kueue/releases/tag/v0.7.0-odh-test
trainingoperator | https://github.com/opendatahub-io/training-operator/tree/v1.8.0-odh | https://github.com/opendatahub-io/training-operator/releases/tag/v1.8.0-odh

#Release#

model-mesh | https://github.com/opendatahub-io/modelmesh-serving/tree/v<IP_ADDRESS>-rc0 | https://github.com/opendatahub-io/modelmesh-serving/releases/tag/v<IP_ADDRESS>-rc0
kserve | https://github.com/opendatahub-io/kserve/tree/v<IP_ADDRESS> | https://github.com/opendatahub-io/kserve/releases/tag/v<IP_ADDRESS>
odh-model-controller | https://github.com/opendatahub-io/odh-model-controller/tree/v<IP_ADDRESS> | https://github.com/opendatahub-io/odh-model-controller/releases/tag/v<IP_ADDRESS>

Hopefully, this overrides the comment fromn @AjayJagan
#Release#

model-mesh| https://github.com/opendatahub-io/modelmesh-serving/tree/v<IP_ADDRESS>-rc0 | https://github.com/opendatahub-io/modelmesh-serving/releases/tag/v<IP_ADDRESS>-rc0
kserve | https://github.com/opendatahub-io/kserve/tree/v<IP_ADDRESS> | https://github.com/opendatahub-io/kserve/releases/tag/v<IP_ADDRESS>
odh-model-controller | https://github.com/opendatahub-io/odh-model-controller/tree/v<IP_ADDRESS> | https://github.com/opendatahub-io/odh-model-controller/releases/tag/v<IP_ADDRESS>

I believe this should be closed @AjayJagan @VaishnaviHire


Error: Can't set headers after they are sent.

Error: Can't set headers after they are sent.
    at validateHeader (_http_outgoing.js:491:11)
    at Proxy.setHeader (_http_outgoing.js:498:3)
    at ProxyingAgent.startProxying (C:\Users\localpc\project\node_modules\proxying-agent\lib\proxying-agent.js:159:11)
    at Proxy.<anonymous> (C:\Users\localpc\project\node_modules\proxying-agent\lib\proxying-agent.js:218:10)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:544:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:117:17)
    at Socket.socketOnData (_http_client.js:440:20)

while trying to connect ISA proxy server using request (same result with http.request).
versions:

proxying-agent
2.2.1

request
2.87.0

node
8.12.0

npm
6.4.1

ISA
5.0.5723.493

code example:
const Agent = require('proxying-agent');
const request = require('request');

...

request(
  {
    method: 'POST',
    url,
    body,
    json: true,
    agent: Agent.create(
      {
        proxy: `http://${user}:${password}@${host}:${port}`,
        authType: 'ntlm',
        ntlm: {
          domain,
        },
      },
      '',
    ),
  },
  (err, res) => {
    console.log(err, res);
  },
);

Did you follow the instruction at https://github.com/capriza/node-proxying-agent#ntlm-authentication?

Yes, at first i get error Error: NTLM failed. Socket closed prematurely. After addtion
180d181
>   ntlmOptions.headers['Connection'] = 'keep-alive';

error disappeared and now request with type 3 message header gets response code 407 and headers
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM

I'm testing proxy with curl command
$ curl --proxy-ntlm --proxy http://host:port --proxy-user user:password http://test.net

and it works

Is the target server (not the proxy) you're trying to access http or https?

it's http

Do you mind trying to access an https target (any target will do)? Also add "tunnel: true" to the agent creation options and let me know the results.

if i'm trying make request with https and https agent i get Error: Tunnel creation failed. Received status code 407 and Proxy-Authenticate: Negotiate, Kerberos, NTLM; i suspect issues with challenges.

Are you using the latest version (released a couple of days ago)? There was a bug in a previous version that could sometimes cause the agent to use the incorrect socket after the NTLM handshake.
After you upgrade, can you share the wireshark capture for both a successful request and for a failed attempt so I can compare?

with latest 2.2.4 version i get
Error: socket hang up
    at createHangUpError (_http_client.js:331:15)
    at Socket.socketCloseListener (_http_client.js:363:23)
    at emitOne (events.js:121:20)
    at Socket.emit (events.js:211:7)
    at TCP._handle.close [as _onclose] (net.js:561:12)

Thanks. Can you share a wireshark capture for both a successful request through curl and for a failed attempt through proxying-agent so I can compare the packets NTLM messages?

here are wireshark detailed logs without some sensitive data.
now connection with message3 opens with same local port as initial connection, but no response backs and error appears.
success.log
fail.log

I can see in the failed run that the request is missing the keep alive header.
Can you please try to add the keepAlive: true option to the agent creation options and test again?
If it still fails please attach the wireshark log again.

Have you made any progress with this?

@fujifish i had corporate environment where i could test library. but unfortunately i haven't it now.
however i tried your suggestion and it didn't work.


Fix 64K granularity path for aarch64

PT_SIZE_512MIB happens to be undefined for aarch64 with 64K granularity.
This bug is just to track fixing this.

This and other issues for 16K and 64K granularity were fixed in https://github.com/martinradev/gdb-pt-dump/commit/4061e63f8ae787168973659f98097609ca2da82e


Create and Open Virtual Card Checkout

Description
Creates the following public function to create and open a virtual card checkout flow within a WKWebview:
/**
Opens the virtual card checkout flow for a given order id.
- Parameter orderId: The ID of this order in the merchant's system which Catch will store
for shared identification purposes. This ID should be unique per order.
- Parameter checkoutData: The order data for the checkout.
- Parameter options: Prefill values and callback functions for checkout confirmed or canceled.
*/
public func createAndOpenVirtualCardCheckout(orderId: String,
                                                 checkoutData: CreateVirtualCardCheckoutBody,
                                                 options: VirtualCardCheckoutOptions)

The checkout controller waits to receive the CATCH_CHECKOUT_READY postMessage then postMessages back an event named CATCH_VCN_CHECKOUT_DATA with the following required order data:
public struct CreateVirtualCardCheckoutBody: Codable {
    /// The merchant's public API key.
    let merchantPublicKey: String

    /// Contains details of the order total.
    let amounts: Amounts

    /// Contains details of the billing contact.
    let billing: Address

    /// Contains details of the shipping contact.
    let shipping: Address

    /// The name of the shipping method (e.g., "express").
    let shippingMethod: String?

    /// Contains details of the order's items.
    let items: [Item]

    /// The ID of the consumer in the merchant's system which Catch will store for shared identification purposes.
    /// (While this field is required, the value null may be explicitly passed if the consumer is anonymous and
    /// doesn't have an ID. However, it is recommended to provide an ID wherever possible).
    let merchantUserId: String

    /// Contains the name and version of the platform in use.
    let platform: Platform?

    /// User cohorts that this checkout should be associated with.
    let userCohorts: [String]
}

Relevant Links (e.g. Ticket)
https://getcatch.atlassian.net/browse/CS-1072

@lucillebenoit feel free to push back on any of my comments! I imagine there are some mobile-specific things that I'm not aware of that influenced how you put this together

@lucillebenoit we can also talk to @stewartjks about my comment here if that's helpful!
Pending that question, this review LGTM 👍

This week in the vcn integration sync up we talked about adding support for server-to-server vcn integrations (at the moment for SFCC) - which looks like (at a minimum) adding an external endpoint to create a vcn checkout and a catchjs-sdk API for opening a vcn checkout (similar to the openCheckout that exists for direct checkouts).
This review adds support for createAndOpenVirtualCardCheckout - would this integration approach be best practice for iOS or would a server-to-server be better? (Not a trick question, I don't know the answer 🙂).
If it helps, here's more context on the server-to-server implementation:

We'll add an external create vcn checkout endpoint
We'll add a openVirtualCardCheckout function on catchjs-sdk that would accept the same VirtualCardCheckoutOptions param that the createAndOpenVirtualCardCheckout function does

It seems to me that using createAndOpenVirtualCardCheckout is the lowest lift for merchants, enabling them to avoid backend changes when integrating with Catch. We definitely want this option for mobile! As for server-to-server vcn,
I can add support for that later as well if there's demand for it. The benefit is less clear to me as it still requires backend work for merchants. Why would a merchant prefer server-to-server vcn over a client-to-server vcn integration?

This week in the vcn integration sync up we talked about adding support for server-to-server vcn integrations (at the moment for SFCC) - which looks like (at a minimum) adding an external endpoint to create a vcn checkout and a catchjs-sdk API for opening a vcn checkout (similar to the openCheckout that exists for direct checkouts).
This review adds support for createAndOpenVirtualCardCheckout - would this integration approach be best practice for iOS or would a server-to-server be better? (Not a trick question, I don't know the answer 🙂).
If it helps, here's more context on the server-to-server implementation:

We'll add an external create vcn checkout endpoint
We'll add a openVirtualCardCheckout function on catchjs-sdk that would accept the same VirtualCardCheckoutOptions param that the createAndOpenVirtualCardCheckout function does

It seems to me that using createAndOpenVirtualCardCheckout is the lowest lift for merchants, enabling them to avoid backend changes when integrating with Catch. We definitely want this option for mobile! As for server-to-server vcn, I can add support for that later as well if there's demand for it. The benefit is less clear to me as it still requires backend work for merchants. Why would a merchant prefer server-to-server vcn over a client-to-server vcn integration?

You're definitely right that createAndOpenVirtualCardCheckout is the lowest lift for merchant - if low lift is a high priority for an iOS integration then let's absolutely move forward! I like your idea of adding server-to-server implementation support if it's needed later on.
Jack could speak better to this, but I think there are two main advantages:

It's more secure. Bad actors can manipulate client-side requests to their advantage.
It'll support more Catch features. For the same "bad actor" reasons as above, we aren't supporting all Catch features for VCN checkouts (for example I think configurable rewards aren't going to be supported).


support changelog file name that's not CHANGELOG.md

maybe make it case insensitive?
Or at least warn...

I think we want to standardize, but warning makes sense. What was the file named - just a case difference?

Yup!


VM SIZES ARE NOT available.

actually , While creating vm all sizes are greyed out.

@Neelkamal10 , Can you stop the VM and try resizing the VM ?
When the VM is running, you can only resize to certain VM sizes.

@msrini-MSFT  ,I tried ,its not working.

@Neelkamal10 , Can you please provide me more information ?
Subscription model: Free Subscription or Pay as you go or Visual Studio
Region that you are currently trying
Screenshot of the VM size when you removed all filters

@msrini-MSFT ,Subscription Model: Visual Studio
Region :East-US

@Neelkamal10 , It seems to be more specific to your subscription. I checked and it is not a global issue. Few subset of subscriptions might be affected. Please raise a support request to get this issue sorted out.

@msrini-MSFT  I already raised a ticket ,but they didnot respond.

@Neelkamal10 , Can you share the SR#?

@msrini-MSFT ,sorry i am not getting you.
would you please make this more clear

@Neelkamal10 , Can you share me the Service ticket number which you have created, so that I can follow up ?

@msrini-MSFT<PHONE_NUMBER>01215

@Neelkamal10 , According to the ticket, your quota for DASv4 series has been increased to 21 from 4, in WestUS2 region. If you still face any issues, please reopen the ticket and engage support.
I am closing this issue as GitHub is for documentation enhancement.

@msrini-MSFT  Would you please suggest me what type of request i generate to resolve my problem?


Is there a way to display a "label" as opposed to the "value"?

I have a dropdown whose dataset is something like...
const data = [{key:1, label: 'Houston Hobby Airport', value: 'HOU'}];

However, based on everything I've read, it seems like the value is being used as a label for the select dropdown, is there a way to use a label instead of the value?
IE. the dropdown would display "Houston Hobby Airport" as an option.

Did you find any option for this

no @vyshnu2 i opted out of this library because it seems dead.


test: Fix NotFound check in EventuallyExpectNotFound

Fixes #N/A
Description
Fix EventuallyExpectNotFound not having a Should(Succeed())
How was this change tested?
make presubmit
/karpenter snapshot
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 83.01%

Files with Coverage Reduction
New Missed Lines
%

pkg/fake/utils.go
2
94.56%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.03%

Covered Lines:
5521

Relevant Lines:
6651

💛  - Coveralls


0.14 /services PATCH Doesn't Unset Path Via Url Argument

Summary
When sending a PATCH payload to /services with an empty path for the url attribute, the path is not unset/emptied, but remains at the previous value.
Steps to Reproduce

POST a new service, using { "url": "http://localhost:8080/api", "name": "empty-path-test" } as payload.
Verify path is /api in response body
PATCH the new service, using { "url": "http://localhost:8080" } as payload
note that in the response the path is still /api

Additional Details

Kong version 0.14.0

Creating a service:
$ http -v post :8001/services url=http://localhost:8080/api name=empty-path-test

POST /services HTTP/1.1
Accept: application/json, */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 63
Content-Type: application/json
Host: localhost:8001
User-Agent: HTTPie/0.9.9

{
    "name": "empty-path-test",
    "url": "http://localhost:8080/api"
}

HTTP/1.1 201 Created
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 262
Content-Type: application/json; charset=utf-8
Date: Mon, 22 Oct 2018 20:51:31 GMT
Server: kong/0.14.0

{
    "connect_timeout": 60000,
    "created_at":<PHONE_NUMBER>,
    "host": "localhost",
    "id": "52aaf272-f4d6-44ae-bb8e-eb48b3505278",
    "name": "empty-path-test",
    "path": "/api",
    "port": 8080,
    "protocol": "http",
    "read_timeout": 60000,
    "retries": 5,
    "updated_at":<PHONE_NUMBER>,
    "write_timeout": 60000
}

Removing path by patching:
$ http -v patch :8001/services/empty-path-test path:=null

PATCH /services/empty-path-test HTTP/1.1
Accept: application/json, */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 14
Content-Type: application/json
Host: localhost:8001
User-Agent: HTTPie/0.9.9

{
    "path": null
}

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 259
Content-Type: application/json; charset=utf-8
Date: Mon, 22 Oct 2018 20:53:30 GMT
Server: kong/0.14.0

{
    "connect_timeout": 60000,
    "created_at":<PHONE_NUMBER>,
    "host": "localhost",
    "id": "52aaf272-f4d6-44ae-bb8e-eb48b3505278",
    "name": "empty-path-test",
    "path": null,
    "port": 8080,
    "protocol": "http",
    "read_timeout": 60000,
    "retries": 5,
    "updated_at":<PHONE_NUMBER>,
    "write_timeout": 60000
}

If you prefer to use application/x-www-form-urlencoded instead (or in later releases multipart/form-data) instead of application/json you can send empty string:
$ http -v -f patch :8001/services/empty-path-test path=

PATCH /services/empty-path-test HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 5
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: localhost:8001
User-Agent: HTTPie/0.9.9

path=

HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 259
Content-Type: application/json; charset=utf-8
Date: Mon, 22 Oct 2018 20:56:44 GMT
Server: kong/0.14.0

{
    "connect_timeout": 60000,
    "created_at":<PHONE_NUMBER>,
    "host": "localhost",
    "id": "52aaf272-f4d6-44ae-bb8e-eb48b3505278",
    "name": "empty-path-test",
    "path": null,
    "port": 8080,
    "protocol": "http",
    "read_timeout": 60000,
    "retries": 5,
    "updated_at":<PHONE_NUMBER>,
    "write_timeout": 60000
}

I hope this helps.

Empty string is JSON is not supported, as comma-separated array values as string are not supported in JSON anymore.

I'll close this, as I think the usage is explained above. @ReservedDeveloper, please re-open if you have any further questions.

@bungle I went with the suggested approach to overcome the issue. Thanks for the in-depth response!
Just to clarify, though, the only way to unset path is via path argument? It cannot be unset via the parsed url argument? The documentation suggests url is a shorthand attribute, so I'd expect to be able to perform all the same operations.

This should be at least better documented. If you only accept path changes on PATCH when path == null, then that should be documented. This request

I think one of the issues is that if url is present then path parameter is ignored. This should be documented.
I too agree that you should be able to clear the path parameter if a url parameter is passed without a path segment. Doesn't seem RESTful if you have to PATCH twice to get expected behavior.


Modify the io. In the previous version, the iterators in C++ can only…

… have one label, which is not sufficient for multi-task training. Now this version assumes the DataInst has (data, label1, label2, ...).
#6812
@piiswrong

@piiswrong Can this be fixed? I think this is necessary for further extensions on IO. We assume the data and labels be a list of ndarrays, but it is not defined well in C++ io code, which only assumes the label and data are single ndarray.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


New send flow control

This is a work in progress

Ok, I restructured the send flow control such that data writes are always accepted. This will make it easier to accept SETTINGS frames that decrease the window.


Add test for skip Enum

Test for https://github.com/rectorphp/type-perfect/issues/8

@janedbal I can't reproduce issue https://github.com/rectorphp/type-perfect/issues/8 by this test, could you verify if something missing in the test? Thank you.

I dont see that call SkipEnum->skip(PickReasonEnum::BarcodeIssue) in there.

I tried and seems still working, could you create a failing test case PR? Thank you.

Ok, I am closing it as I can't reproduce it, feel free to create a failing test case PR when you have time ;)

I see, I should add test to NarrowPublicClassMethodParamTypeRule

updated test https://github.com/rectorphp/type-perfect/pull/19/commits/d88d2892c83685a33e07dc4ed87e677a19da542c

Fixed 🎉

All checks have passed 🎉 @TomasVotruba I am merging it ;)


CAMEL-19492: Fix modifier orders to comply with the JLS

Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

Jira Issue: https://issues.apache.org/jira/browse/CAMEL-19492


fix: Toolwindow icon in light theme and new ui outline

The current toolwindow icon is barely visible when using a light theme, and the reason is that it seems to be a dark variant.

This PR tweaks the icon so that it is visible in the light mode.

Also, the stroke colors have been changed to match the recommended NewUI colors, see :
https://github.com/JetBrains/intellij-sdk-docs/blob/e0ea6d0cc2d442ea68b866487199483a8da36d8c/topics/reference_guide/icons.md?plain=1#L288-L306

@bric3 Thanks for the PR!


Update CLI docs for orgs/units release

What changed, and why it matters
With the organizations and units release, accounts will become organizations, but the CLI commands will mostly remain unchanged. There needs to be explanations on the relevant CLI pages about the terminology as well as a couple of new parameters for managing organizational units.
The release is planned for 16 February.

@rsalevsky This is just a draft of one of the articles for you to see what I am planning to do on other pages to explain what an account is referring to in the CLI commands. Let me know your thoughts and I will also update the other relevant articles. Thanks!


Connect the "Arrange - Act - Assert" pattern where possible

It would be good to connect the "Arrange - Act - Assert" pattern to all examples where we have written a full test. As an example; in the NUnit - Asynchronous executions section there are two tests where we could add comments on what lines belong to which part.
We could also see if it's possible to refer to this pattern from some of the other sections, like NUnit - Assertions and mention that we are now looking at the "Assert" part.

I have few snippets where act and assert are in the same line.
See
[Test]
public void Constructor_is_guarded_against_nulls()
{
    var fixture = new Fixture();
    var assertion = fixture.Create<GuardClauseAssertion>();
    assertion.Verify(typeof(TestClass).GetConstructors());
}

What should I do in this case?

I suggest adding a comment:
// ACT and ASSERT

Ok... Got a few tests to fix the. 😅😅😅

@elindanielsson @agnerh I'll close this one as I think I've handled all the cases :)


leftActivationValue along with onLeftActionStatusChange are not working

When i set leftActivationValue, and swipe to that value, onLeftActionStatusChange is not firing. Please check this.

I think you need to update to version 3.0.0.

@sshenoy700 Can you list the version you are using?

Assuming this was just a versioning issue, please feel free to re-open if that's not the case, thanks!

Hi! I've experienced this issue aswell. I fixed it by just trying things and never had een issue with it again until today. Luckily I'm able to reproduce the behaviour now.
When using this setup:
<MaskedView maskElement={<MyFadeElement/>} style={styles.mask}>
    <SwipeListView
        useFlatList={true}
        data={myList}
        initialNumToRender={15}
        useAnimatedList={true}
        useNativeDriver={true}
        keyExtractor={(item) => String(item.id)}
        renderItem = {(rowData, rowMap) =>
            <SwipeRow
                        useNativeDriver={true}
                        disableRightSwipe={!rowData.item.swipeable}
                        disableLeftSwipe = {true}
                        leftOpenValue={50}
                        stopLeftSwipe={125}
                        leftActivationValue={100}
                        leftActionValue={-2}
                        onLeftActionStatusChange={(data) => onItemSwiped(data)}>
                             <HiddenItemWithActions rowData={rowData}/>
                             <MyItem item={rowData.item}/>
            </SwipeRow>
        }
        style={styles.flatlist}
    />
</MaskedView>

onLeftActionStatusChange does NOT fire.
When I comment out the MaskedView, onLeftActionStatusChange directly starts working. I can then even uncomment the MaskedView to re-enable my fade effect and onLeftActionStatusChange keeps working! However, as soon as I reload the app the callback stops working again.
To me this is very weird behaviour, I hope it makes some more sense to you @jemise111 and maybe you'll be able to figure out what is going wrong.
I'm using version 3.2.6 of this library and I am developing on an Android device.


How to disable and enable vsync from code Godot 4 beta 13

Godot version
v4.0.beta.arch_linux [23e10d1df]
System information
Artix Linux 6.1.1-zen1-1-zen Plasma 5.26.4
Issue description
if option_vsync:
		ProjectSettings.set('display/window/vsync/vsync_mode', DisplayServer.VSYNC_ENABLED)
	else:
		ProjectSettings.set('display/window/vsync/vsync_mode', DisplayServer.VSYNC_DISABLED)

I couldn't find another way but this doesn't work
Steps to reproduce
N/A
Minimal reproduction project
N/A

Project settings are only applied when the project starts. You need to call the appropriate DisplayServer method instead.

This is not a support channel. This space is for bug reports only. Please respect that.
In the future if you have support questions, please ask them on one of the various community channels
To answer your question vsync is set with the method DisplayServer.window_set_vsync_mode This can be found by using the search bar in the docs


ghost tuners in use for daddylive

When daddy live channel goes down tuner status shows down. then when that channel comes back up the tuner states steaming even though it is not thus using up tuner count and eventualy reaching max tuner count so client cant request new streams.  This happens both with internal proxy and steamlink.  Need to restart cabernet to get rid of ghost tuners not in use by any client.

Chances are this is an issue with the client.  If the tuner status at anytime says Streaming, that means the client is connected and recieving/accepting data.  So, if the client has the connection but is not displaying the video, then it is a client issue.  When the user stops displaying a channel, the client is expected to terminate the connection to Cabernet.  Until that connection is terminated by the client, Cabernet will continue to provide the stream to the client.


add Type tests.

Amongst 28 types tested, binary types (blob, text) are not comparable, and enum and set are not supported.

@ilovesoup @zhexuany PTAL


progress on documentation

since a lot of information has been exposed in documentation, this PR is aiming to feed quick update of the R&D wiki site

Coverage increased (+0.5%) to 57.242% when pulling 0a9d1836abca855137b4b300f56b4c57e66c8eff on bernard357:master into 32cd5a53b7ff952082acd2cacee67796dddbe640 on DimensionDataCBUSydney:master.

LGTM :+1:


Maybe a few things before we are ready to go :)

A few things we may want to address before submitting this as a PR for the standard library:

Check on different platforms (32 bit, 64 bit, little and big endian, WebAssembly).
Add more test vectors
Add it to crypto/benchmark.zig
Maybe put everything in a single file (perhaps not the PHC serialization)
Make fromPhcString more strict, return ParseError if parameters are missing
Remove init() when no allocator is required (ex: Params); structures like this are generally initialized directly in Zig, init() being there only when there's also deinit()
Maybe remove TODOs, use more explicit names than Error1
Document public functions
Expose a similar API for the PHC and Crypt formats.
Check what should be exported and what should remain local (should numLen() be exported? There may be something to do that in the stdlib already, by the way)

Turn r and p into u30 since they can't exceed that?

Remove allocations in b64decode and b64encode since the lengths can be known in advance?
Remove init() from Writer
Pretty sure there's no need for Writer. Maybe use std.ArrayList instead?

ParamsIterator: should empty values raise an error?
PhcEncoding: what is the key for?
PhcEncoding: this is a generic serialization format, that should support arbitrary key/value pairs. For example, Argon2 needs a number of threads, memory size, and can have an optional key identifier and additional data. So, the decoding interface should probably directly return an iterator out of a string, and the encoding interface should probably allow incremental updates to an array list.

Turn r and p into u30 since they can't exceed that?
Maybe this too?
Make fromPhcString more strict, return ParseError if parameters are missing

Remove init() when no allocator is required (ex: Params); structures like this are generally initialized directly in Zig, init() being there only when there's also deinit()

I use this because from my (user) point of view initialize with Params.init(15, 8, 1) is more user friendly than Params{ .log_n = 15, .r = 8, .p = 1 }. Maybe we can call it something new not to expect deinit from it?

Maybe remove TODOs

Disagree here. kdf function have to return Error!void. But for now, without Pbkdf2Error it can't. This TODO explain that in some time what needs to be done. Of cause they needs to be written more correctly than I have done.

PhcEncoding: what is the key for?

Derived key?

Remove init() when no allocator is required (ex: Params); structures like this are generally initialized directly in Zig, init() being there only when there's also deinit()

I use this because from my (user) point of view initialize with Params.init(15, 8, 1) is more user friendly than Params{ .log_n = 15, .r = 8, .p = 1 }. Maybe we can call it something new not to expect deinit from it?

Yes, it can be a little bit surprising, but that seems to be the common way structures are initialized in Zig, since they can have default values. This is the case for virtually all the structures in the standard library.

PhcEncoding: what is the key for?

Derived key?

Ah! So maybe call it dk (or whatever, but the same way as in the rest of the code)?
In Argon2 and Yescript, for example there's also a key, but it has a completely different meaning.

Ah! So maybe call it dk (or whatever, but the same way as in the rest of the code)?

Done. Now it is derived_key :)


Issue/32 store completed surveys

Closes #32
Persistently stores answered questions in HiveBoxes. Already answered questions won't get asked twice. If all questions, that can be asked using given questionContext, have been asked, surveys are marked as completed and won't get asked again.

I just tried this on my emulator and I got the error A value of type 'List<int>' can't be assigned to a variable of type 'Set<int>' in the generated hive file in the following line ..completedQuestions = (fields[0] as List).cast<int>(). It is also marked as an error in VS Code. Does this work on your machine?

The error with the generated files is a known issue. It's probably because the build is cached and didn't rebuild. Nikola also knows this issue. It works on my machine, but i kind of worked around it. I think i deleted the file and then rebuild but i might have to ask Nikola about it again

If you look at the not-generated file, it should be a set, but it isn't updated in the generated files.

The error with the generated files is a known issue. It's probably because the build is cached and didn't rebuild. Nikola also knows this issue from the PharMe-App. It works on my machine, but i kind of worked around it. I think i deleted the file and then rebuild but i might have to ask Nikola about it again

I just deleted the generated file and generated the files again without success...
I also found this on the documentation: Hive supports all primitive types, List, Map, DateTime, BigInt and Uint8List. Are you sure that it should work properly?

Yeah i just checked again, i will change it to list.


Updated dependencies for Microsoft.AVS.Management to the newest packages from VMware.

Do we have these vmware dependencies published to our internal repo?


Remove unused Dependencies

The POMs contains dependencies which are not used. They should be removed.

which ones do you mean?

I checked again. It's 'guava' and 'commons-lang3' as test dependencies.


Bluetooth: Controller: hci: Fix wrong periodic advertising report data status

The periodic advertising data status may be set to wrong value when
preparing a report event in HCI layer.
In case there periodic advertiser:

sends a data with length that is equal to CONFIG_BT_CTLR_SCAN_DATA-
_LEN_MAX.
the periodic advertising has included CTE
the number of PDUs in a chain is larger than required for transport
of advertising data (e.g. for max AD payload of 1650 bytes, minimum
required number of PDUs is 7). In other words there are empty PDUs
added to the chain to transport CTE.
the event generated in HCI layer has data status set to BT_HCI_LE_AD-
_EVT_TYPE_DATA_STATUS_INCOMPLETE.

That is caused by missing else-if clause that checks case when no
more data are expected but there are advertising PDUs in a periodic
advertising train. In such situation: there is an AuxPtr, scan for
next PDU was scheduled, total amount of data reached max defined by
CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX and there is a CTE in a PDU the
report event is generated for.
Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/46121
Signed-off-by: Piotr Pryga<EMAIL_ADDRESS>

Updated the code fix because it had a bug.
I would reported an advertising data as completed when they should be marked as partial:

there is an AuxPtr and scheduled auxiliary scan,
the total amount of data is lowed than CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX
It means, there can be another chained PDU with more data to come.

@cvinayak I hand over this PR to you. I'll be not able to continue on that. If you would like to start it from scratch then please close this PR.


Modified control invalidation for better control updates

Added support for SuspendLayout and ResumeLayout on controls. Modified invalidation behavior for controls so that they can recalculate without needing a full update cycle to occur.
Also fixed a bug that prevented controls from changing in size if they were first set to 0 for either their Width or their Height.

I'll be putting in a minor change tonight to update some documentation that @greaka pointed out to be about the Invalidate() call on Controls.


AWS::S3::Errors::Forbidden

I use deb-s3 got the message in below. What happen about this?
I don't change any setting , it can be work normal before, but can not work now
Retrieving existing manifests
/var/lib/gems/1.9.1/gems/aws-sdk-1.40.2/lib/aws/core/client.rb:375:in return_or_raise': AWS::S3::Errors::Forbidden (AWS::S3::Errors::Forbidden)         from /var/lib/gems/1.9.1/gems/aws-sdk-1.40.2/lib/aws/core/client.rb:478:inclient_request'
from (eval):3:in head_object'         from /var/lib/gems/1.9.1/gems/aws-sdk-1.40.2/lib/aws/s3/s3_object.rb:293:inhead'
from /var/lib/gems/1.9.1/gems/aws-sdk-1.40.2/lib/aws/s3/s3_object.rb:270:in exists?'         from /var/lib/gems/1.9.1/gems/deb-s3-0.6.2/lib/deb/s3/utils.rb:55:ins3_exists?'
from /var/lib/gems/1.9.1/gems/deb-s3-0.6.2/lib/deb/s3/utils.rb:59:in s3_read'         from /var/lib/gems/1.9.1/gems/deb-s3-0.6.2/lib/deb/s3/release.rb:23:inretrieve'
from /var/lib/gems/1.9.1/gems/deb-s3-0.6.2/lib/deb/s3/cli.rb:116:in upload'         from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/command.rb:27:inrun'
from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/invocation.rb:120:in invoke_command'         from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:363:indispatch'
from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/base.rb:439:in start'         from /var/lib/gems/1.9.1/gems/deb-s3-0.6.2/bin/deb-s3:8:in<top (required)>'
from /usr/local/bin/deb-s3:19:in load'         from /usr/local/bin/deb-s3:19:in'

Do you have S3 permissions to write?

I believe this issue could be close. Reporter did not provide any further reply, plus it looks like permissions issues.

What does the policy need to look like for the permissions to work?
I've got the following and I'm getting this same forbidden message:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1483565451843",
"Action": [
"s3:DeleteObject",
"s3:DeleteObjectacl",
"s3:GetObject",
"s3:ListBucket",
"s3:PutObject",
"s3:PutObjectacl"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::MY_BUCKET_NAME/*"
}
]
}

Same error with all permissions allowed on bucket.

@securityvoid I figured this out, and figured I'd leave a note here for the next guy. Besides the permissions you mentioned here, you also need to add the ListBucket permission to the bucket.


Remove latin abbreviations

I think that's the last of the latin abbreviations - thanks for letting us change these.

The current changes look fine, but if we're removing latin abbreviations entirely maybe we want to get rid of "e.g." as well? I'm still seeing some hits for that one

good point, I will do that in this PR too

Do you think we could merge this today @lia-viam ? We want to do a demo in on Thursday with these docs so it would be nice to have it then :)


RollingRandomAccessFile uses wrong file name inside .zip

Description
When using a RollingRandomAccessFile appender that zips the logs, and there are multiple threads really spewing logging, when log4j zip's the previous log file - it often uses the name of the current log file.
So, the base log file name is "stuff.log".  Rolling every 100MB into stuff.%i.log.zip.
What I'm getting is stuff.1.log.zip contains stuff.7.log.  All zips up to 7 contain stuff.7.log - though the actual log content is what is expected for stuff.1, or stuff.2, etc..  So the correct file is getting zipped - but given the wrong file name.
Configuration
Version:
Log4j 2.21.0
Operating system: [OS and version]
Win 11
JDK: [JDK distribution and version]
Adoptium JDK-17.0.5+8
Logs
Reproduction
	<RollingRandomAccessFile
		name="Log"
		fileName="${sys:metrixLogFolder}/${sys:metrixLogName}.log"
		filePattern="${sys:metrixLogFolder}/${sys:metrixLogName}.%i.log.zip">
		<PatternLayout
			pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%20.20t] %-5level %30.30logger - %msg%n"
			header="Application: ${sys:metrixBuild}%n" />
		<Policies>
			<OnStartupTriggeringPolicy />
			<SizeBasedTriggeringPolicy
				size="100 MB" />
		</Policies>
	</RollingRandomAccessFile>

One thing I just figured out is that when rolling the logs, it only counts up to 7.
After that, it starts deleting the oldest log, and renumbering the others.

@JohnLussmyer,
The default configuration of DefaultRolloverStrategy keeps only 7 values of the %i index: the archived files will range from stuff.1.log.zip (the oldest) to stuff.7.log.zip (the most recent).
When you already have 7 files, each rollover will:

remove stuff.1.log.zip,
move stuff.2.log.zip to stuff.1.log.zip,
...
move stuff.7.log.zip to stuff.6.log.zip,
move the current stuff.log to stuff.7.log,
compress stuff.7.log to obtain stuff.7.log.zip.

This explains why you only have 7 files and each archive contains a file named stuff.7.log: after 6 rotations stuff.7.log.zip becomes stuff.1.log.zip.
If you want to change the default configuration use the index, min and max parameters of DefaultRolloverStrategy, e.g.:
<RollingRandomAccessfile...
    ...
    <DefaultRolloverStrategy index="nomax"/>
</RollingRandomAccessfile>

will remove the limit on the number of archived files and both your problems.

Ahh, thanks.  Yet Another option I missed.
Though, the file naming in the .zip files just screws everything up.  If you want to unzip all the logs - you have to rename most of them.  Royal PITA.

@JohnLussmyer,
If you change the fileIndex option the problem should solve itself: as explained above all the stuff.<n>.log.zip files were originally stuff.7.log.zip, but they were renamed multiple times. If you change fileIndex to "nomax", stuff.<n>.log.zip will never be renamed and will contain stuff.<n>.log.
If file renaming is enabled, we would need to rename the archive entry each time we rename a *.zip file. I doubt this can be done efficiently.

Don't rename the files already in the .zip.  Just rename the log file BEFORE adding to a zip - using the number that it would be if you weren't limiting it to 7.
So the .zip files might contain xx.23.log, xx.24.log, etc...
Heck, you could even name the .zip files that way, just limit the number of them by deleting the old ones.


Little logging things

Little things. See commit messages for details.
r? @emilio

Canceled the build. Will retry once we have landed the Travis CI fixes.

r=me when you want

@bors-servo r=emilio

:pushpin: Commit 60b1c83 has been approved by emilio

:hourglass: Testing commit 60b1c83 with merge 1003bd0...

:sunny: Test successful - status-travis


Clear Preview After condition?

Would be helpful if you could be a little more specific about your question.


Push notifications not received on iOS when device was off

Hi,
It seems that push notifications are not recieved by iOS devices that where offline at the moment of the push notification sending (even some seconds). If we go to appcenter push notification page, the notification is marked to sent 1/1 even if device never recieved it.
We are using a xamarin app, and notifications are well received when device is online even if the application is not running
Thank you for your feedback.

@christopheph you have to setup your app to process background notifications. See https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app

Hi @jwargo we tested the functionnality, in fatc using the "silent push" feture of AppCenter but this does not solve our problem.
I will try to explain the use case we try to achive:

The device is offline (disconnected from the network) or off (shutdown)
A push notification is sent when device is not connected
The device is connected again (network reconnection or on again), the notification should be recieved by the device ==> wich is not the case. Appcenter indicates the notification is sent but notification is never recieved.

By reading some apple documentation, we are wondering if it is not because the apns-expiration value is not send or has a wrong value. Is there a way to sent it right or is there a bug in appcenter ?
Thank you in advance for your answer.

@christopheph I apologize for the delay in my response, I was out of the country for two weeks. I know there's no guarantee that a notification will be sent if the device is off when it's sent. I imagine this is because of the expiration value, but I'm not an expert. The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs. You'll get the best help from our support team.
App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the App Center Help Center.


Nice to see a project with the same name as mine 😜

It's exciting to see a project with the same name as mine appear on GitHub, and nothing is more exciting than to see the author of this project also keen on Lua. I sincerely invite you to participate in my ugly project, although it is still a childish child, and most of the documents are written in Chinese. Translation is still in progress, but I believe that there is nothing more convenient for programmers to communicate than code.😋
Venture to contact, I hope my poor English did not disturb you.
My project address link: https://github.com/VoidmatrixHeathcliff/EtherEngine
We look forward to your reply ~

I currently writing a diploma work, so I don't have much time. Also because I working on diploma work, I have other project for it.
About EtherEngine, I don't think I will return to this project at it's current stage, maybe it will be rewritten from scratch, I don't know.
Thank you for invitation


Extract error : width or height exceeds limit  @  error/cache.c/OpenPixelCache/3909

Describe the bug
While processing we get following error.
RROR  marie@34 Extract error : width or height exceeds limit `/tmp/tmp1blx29wi/PID_5805_12996_0_191752555_00001.tif' @ error/cache.c/OpenPixelCache/3909        [12/08/23 23:41:19]
       Traceback (most recent call last):
         File "/opt/venv/lib/python3.10/site-packages/marie/executor/classifier/document_classifier_executor.py", line 199, in classify
           metadata = self.pipeline.execute(
         File "/opt/venv/lib/python3.10/site-packages/marie/pipe/classification_pipeline.py", line 213, in execute
           return self.execute_frames_pipeline(
         File "/opt/venv/lib/python3.10/site-packages/marie/pipe/classification_pipeline.py", line 137, in execute_frames_pipeline
           burst_frames(ref_id, frames, root_asset_dir)
         File "/opt/venv/lib/python3.10/site-packages/marie/pipe/components.py", line 353, in burst_frames
           burst_tiff_frames(frames, output_dir, filename_generator=filename_generator)
         File "/opt/venv/lib/python3.10/site-packages/marie/utils/tiff_ops.py", line 130, in burst_tiff_frames
           __process_burst(
         File "/opt/venv/lib/python3.10/site-packages/marie/utils/tiff_ops.py", line 100, in __process_burst
           raise ident
         File "/opt/venv/lib/python3.10/site-packages/marie/utils/tiff_ops.py", line 98, in __process_burst
           convert_group4(output_path_tmp, output_path)
         File "/opt/venv/lib/python3.10/site-packages/marie/utils/tiff_ops.py", line 48, in convert_group4
           with Image(filename=src_path) as image:
         File "/opt/venv/lib/python3.10/site-packages/wand/image.py", line 9382, in __init__
           self.read(filename=filename)
         File "/opt/venv/lib/python3.10/site-packages/wand/image.py", line 10137, in read
           self.raise_exception()
         File "/opt/venv/lib/python3.10/site-packages/wand/resource.py", line 225, in raise_exception
           raise e
       wand.exceptions.ImageError: width or height exceeds limit `/tmp/tmp1blx29wi/PID_5805_12996_0_191752555_00001.tif' @ error/cache.c/OpenPixelCache/3909
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3526.) (r

Describe how you solve it
I suspect that this is related to the setting in profile.xml
  <policy domain="resource" name="width" value="16KP"/>
  <policy domain="resource" name="height" value="16KP"/>

The image was in landscape format and we are working with images of size 3000x5000px

the image ref id: 191752555 has
width: 17491 pixels
Height: 10687 pixels
changing both values  in profile.xml to 18KP worked for me.
since image size varies, I believe we should set a higher value in policy.xml to avoid running to same issue.


Optimizations to avoid Slice data copies

Split into individual commits to make this easier to review. The general theme is replacing usages of Slice#getBytes() when a suitable alternative exists.

Thanks!


chore(calendar): remove explicit preserveWhitespaces setting

The explicit preserveWhitespaces setting were removed in #10216, but #9639 added it to a new component (MatCalendarHeader). To prevent future mistakes like that I've added "!preserveWhitespaces": ".*" to the validate-decorators rule in tslint.json.

Removing merge safe as this could potentially have downstream effects.  But it should be fine.


[feat] add new papers and some code links.

add two papers, one from ICDE 2023 and the other from VLDB 2023 (Although this title "Learned Index Benefits: Machine Learning Based Index Performance Estimation" looks like a cost estimation work, I am SURE it is mainly to solve the problem of "What-If" optimizer in the index selection problem, so as to improve the ability of index selection). BTW, I add two code link related to index advisor as I recently should learn it.

Thanks bro！


FixedDelay() function issue

Reported by m.ceraolo on 21 Nov 2011 11:32 UTC
In MSL 3.2 the block
Modelica.Block.Nonlinear.FixedDelay
is implemented by means of the function
delay((expr,delayTime)
and not
delay((expr,delayTime,delayMax)
According to the
Modelicareference.Operators.Delay documentation this is not advisable, since implies "the complete time history of the delayed signals to be stored".
I think that the fixed delayTime should be passed as delayMax, thus reducing the memory requirements, without having any adverse effect.

Migrated-From: https://trac.modelica.org/Modelica/ticket/644

Comment by sjoelund.se on 29 Nov 2011 12:23 UTC
The sentence that says "the complete time history of the delayed signals to be stored" refers to delay-expressions that use a variable-time delay. delay(expr,delayTime) is (almost) equivalent to delay(expr,delayTime,delayTime) (the main difference being that you can perform decoupling of the input expression to break algebraic loops if you have a non-changing delayTime and control the solver not to take steps larger than this time; this was not considered in the Modelica 3.2 specification). So I believe the call is correct although the documentation and specification could be a bit more clear about the way this works.

Modified by dietmarw on 8 Mar 2012 08:28 UTC

Comment by otter on 28 Mar 2013 11:11 UTC
Fixed in 0d19ad4ad8a2043e29adec33752d03dc66a29586 by providing an improved description of operator delay in ModelicaReference:
To avoid excessive storage requirements and to enhance efficiency, the maximum allowed delay time has to be given via delayMax, or delayTime must be a parameter expression (so that the constant delay is known before simulation starts).
(note, as stated in the specification, delayMax need not to be present. However, if it is not present, delayTime must be a parameter expression which means that the delay is known before the simulation starts and therefore the buffer can be appropriately sized).

Changelog removed by otter on 28 Mar 2013 11:11 UTC

Modified by dietmarw on 28 Mar 2013 13:49 UTC


Document pr#229 configurable search result columns

Also alphabetized features configurations.
@tumblr/collins

Rendered page looks like this:

:+1:

:+1:


Add npc statistics scripts

NPC statistics plots.

I have also corrected the name of one blob. This will require corrections on the portal page

yes, that will allow it to pull from there (and not data graphics)


Delete testing.tfvars

Background
Why are you making this change? Please provide a reference to any related issues and PRs
We removed the testing.tfvars from our panther-enterprise repo!
But the github actions didn't remove it from here!
Changes

Delete testing.tfvars

Testing

How did you test your change?

Did the syncing automation not run for some reason?

the sync automation run was successful!
Looks like when we delete ane file the deletion is not getting applied!
This is what happened here!

Also Closing this request because of this one: https://github.com/panther-labs/panther-auxiliary/pull/43!


tests: add tests to validate interrupt features

Adding tests to validate interrupt features:
First test is intended to verify the interrupt nesting.
Interrupt nesting feature allows an ISR to be preempted
in mid-execution if a higher priority interrupt is signaled.
The lower priority ISR resumes execution once the higher
priority ISR has completed its processing.
Other tests intended to validate the irq_lock api.
A thread may temporarily prevent all IRQ handling in the
system using the irq_lock.
The IRQ lock is thread-specific. If thread A locks out
interrupts then performs an operation that allows thread B
to run (e.g. giving a semaphore or sleeping for N milliseconds),
the thread’s IRQ lock no longer applies once thread A is swapped out.
This means that interrupts can be processed while thread B is running
unless thread B has also locked out interrupts using its own IRQ lock.
Signed-off-by: Ajay Kishore<EMAIL_ADDRESS>

Codecov Report

Merging #6529 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6529   +/-   ##
=======================================
  Coverage   53.36%   53.36%
=======================================
  Files         435      435
  Lines       41308    41308
  Branches     7922     7922
=======================================
  Hits        22046    22046
  Misses      16044    16044
  Partials     3218     3218

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 069fce7...04bbfc5. Read the comment docs.

put all irq tests into one single interrupt test, do not spread them around in different projects.

@nashif moved this test under a common "interrupt" folder. Could you please have a look.

i was not talking about moving this to a folder, move all related interrupt tests into one project if possible. Having a new project for testing each feature/function does not scale.

@nashif Raised a new pull request https://github.com/zephyrproject-rtos/zephyr/pull/8310, in which I grouped all exiting interrupt tests into a generic interrupt test project.

@nashif As you asked I have clubbed together all newly created interrupt test cases, to make a generic interrupt test project. Please have a look..

@andrewboie Addressed your comments and pushed a new patch. Please have a look it.

@nashif  Shippable is failing with strange reason.
/home/buildslave/src/github.com/zephyrprojectrtos/zephyr/ext/hal/nxp/mcux/drivers/imx/./fsl_lpuart.h:500:30: error: ‘LPUART_Type {aka struct }’ has no member named ‘data’
return (uint32_t) & (base->DATA);
I have not changed anything which is related to this file, but still I am getting error message. And shippable is failing. Could you please have a look.
@andrewboie  As you suggested I have modified the irq_lock test case. In this test case simply I am triggering the interrupt and busy-looping it for a while and verifying that no timer interrupt got fired in that duration.

recheck

recheck


FATAL EXCEPTION: main

This is Happening when I use this plugin along with the latest version of geolocator plugin.
Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~bs8tIWx2JYw5t4e3ku639w==/com.fieldmanager_hrms.flutter.fieldmanager_hrms_flutter-5CxcyFvvzlFb-K_H0W66IQ==/base.apk)
E/AndroidRuntime(10302): 	at com.icapps.background_location_tracker.service.LocationUpdatesService.getLastLocation(LocationUpdatesService.kt:215)
E/AndroidRuntime(10302): 	at com.icapps.background_location_tracker.service.LocationUpdatesService.onCreate(LocationUpdatesService.kt:74)
E/AndroidRuntime(10302): 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:5060)
E/AndroidRuntime(10302): 	at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
E/AndroidRuntime(10302): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2425)
E/AndroidRuntime(10302): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(10302): 	at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(10302): 	at android.os.Looper.loop(Looper.java:313)
E/AndroidRuntime(10302): 	at android.app.ActivityThread.main(ActivityThread.java:8741)
E/AndroidRuntime(10302): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10302): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
E/AndroidRuntime(10302): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Facing same in flutter 3.7

I got it fixed. I this this issue is due to google location service conflict. In the latest geolocator plugin it is using 21.x version. I downgraded the geolocator plugin to 8.x version that resulted it to use older version of google play location service that fixed the issue. Now all working well.

@rmanoop25  Please reopen this since downgrading the package is not a long term solution,
It would be great if
flutter-background-location-tracker can support this change

Ref: https://github.com/Baseflow/flutter-geolocator/pull/1202


ZenML Failure Hook for OpenAI ChatGPT fixes

I implemented a failure hook that passes the stacktrace and exception to ChatGPT (gpt-3.5-turbo model) to output suggestions on how to fix the failing step. It uses rich's traceback to get more context on the failing code and passes those suggestions through to a registered alerter component. Output looks something like this:

Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[x] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] If I have added an integration, I have updated the integrations table and the corresponding website section.
[ ] I have added tests to cover my changes.

Types of changes

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

Apart from my one comment above, how about adding in these blocks that @soubenz has added in this PR? https://github.com/zenml-io/zenml/pull/1402/files
They might fit in well in all the standard hooks. Just a small suggestion

We can probably just wait until #1402 has been merged and then update as appropriate?


Rebase fork

Coverage increased (+10.3%) to 70.399% when pulling 0ab1f64a1303a3580379baf1c99410f518fd47b1 on Lakitna:master into 52ebf2f5bb6e1b30de36bfcccc92c582f82d6116 on ggravlingen:master.

Coverage increased (+10.3%) to 70.399% when pulling 0ab1f64a1303a3580379baf1c99410f518fd47b1 on Lakitna:master into 52ebf2f5bb6e1b30de36bfcccc92c582f82d6116 on ggravlingen:master.

Coverage increased (+10.3%) to 70.399% when pulling 0ab1f64a1303a3580379baf1c99410f518fd47b1 on Lakitna:master into 52ebf2f5bb6e1b30de36bfcccc92c582f82d6116 on ggravlingen:master.

Coverage increased (+10.3%) to 70.399% when pulling 0ab1f64a1303a3580379baf1c99410f518fd47b1 on Lakitna:master into 52ebf2f5bb6e1b30de36bfcccc92c582f82d6116 on ggravlingen:master.

Whoops, wrong base 👎


gio: fix UnixSocketAddress constructor with a path

as_os_str().len() does not return the number of bytes in the string, but the full allocation size. Just pass -1 and let glib calculate the len.

Marked as draft because even with the length fixed by passing -1 to glib, the unit test still fails.
To check what is going on I tried to print std::ffi::CStr::from_ptr(path.to_glib_none().0) for the Path case and it shows garbage

(Also I need to drop the gir and gir-files changes, but that is secondary)

The problem was that the stash did not live long enough


App Crashes for ios

2018-07-28 23:08:16.498589-0400 PillMemo[811:238905] [discovery] errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled" UserInfo={NSLocalizedDescription=query cancelled}
When first time running the app on a real device, it pops up asking for permission for photo gallery, and the photo gallery shows successfully.
However, when trying to select from photo gallery for a second time, nothing happens and for the third time, above errors occurred. The photo gallery pops then disappears right away.
I have added the following in info.plist
NSPhotoLibraryAddUsageDescription
PillMemo would like to save photos to your photo gallery
NSPhotoLibraryUsageDescription
PillMemo would like access to your photo gallery
What am I missing? Thanks

I'm having the same problem, did you get to solve it somehow @LongicornYu ? or did you find an alternative library?
Thanks

In iPhone 6+ when tap on the camera icon. The app is getting crashed.Any one have the same issue.please let me know and how to solve this issue. In iPhone 6 is working fine.

Any news???

I managed to make it work by adding a ‘sleep’ to it and after that it works perfectly.
Let me know if you guys need a code example

Yes please, that would be awesome.
Thanks @LongicornYu

@linoleum00 Here you go.
`_pickImage = async () => {
this._toggleModal();
setTimeout(() => {
  ImagePicker.openPicker({
    width: 300,
    height: 300,
    cropping: true,
    cropperCircleOverlay: true,
  }).then((imageObj) => {
    this._handleImagePicked(imageObj);
  })
  .catch((error) => {
    console.log('onPickPhotoPress error')
    console.log(error)
  })
}, 500)

};
`

having same issue @LongicornYu solution didn't work iOs 13


Use Vite to make development easier and examples in TS

Description 📝
In order to facilitate development and to show examples of the library, would be great to integrate Vite to setup a local development environment. Also, should be the new bundler.
Suggested solution 💡
No response
Alternative ⛕
No response
Additional context ☝
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Implemented by PR https://github.com/ThatOpen/engine_components/pull/359


added OscMaster.Remove() method

It makes sense but I changed the method name slightly before merge.
https://github.com/keijiro/OscJack/commit/b736aa6c9ebc59609eb029f863d2f7e9db88103d


[SPARK-17398][SQL] Fix ClassCastException when querying partitioned JSON table

What changes were proposed in this pull request?
When querying a partitioned table with format org.apache.hive.hcatalog.data.JsonSerDe and more than one task runs in each executor concurrently, the following exception is encountered:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.apache.hive.hcatalog.data.HCatRecord
The exception occurs in HadoopTableReader.fillObject.
org.apache.hive.hcatalog.data.JsonSerDe#initialize populates a cachedObjectInspector field by calling HCatRecordObjectInspectorFactory.getHCatRecordObjectInspector, which is not thread-safe; this cachedObjectInspector is returned by JsonSerDe#getObjectInspector.
We protect against this Hive bug by synchronizing on an object when we need to call initialize on org.apache.hadoop.hive.serde2.Deserializer instances (which may be JsonSerDe instances). By doing so, the ObjectInspector for the Deserializer of the partitions of the JSON table and that of the table SerDe are the same cached ObjectInspector and HadoopTableReader.fillObject then works correctly. (If the ObjectInspectors are different, then a bug in HCatRecordObjectInspector causes an ArrayList to be created instead of an HCatRecord, resulting in the ClassCastException that is seen.)
Why are the changes needed?
To avoid a bug in Hive.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Tested manually on a cluster with a partitioned JSON table and running a query using more than one core per executor. Before this change, the ClassCastException happens consistently. With this change it does not happen.

Test build #115342 has started for PR 26895 at commit e9d1447.

Merged build finished. Test PASSed.

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

Test build #115342 has finished for PR 26895 at commit e9d1447.

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

Merged build finished. Test PASSed.

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

Hi, @wypoon . Thank you for making a PR.
Is there a Apache Hive JIRA issue for this?

Hi, @wypoon . Thank you for making a PR.
Is there a Apache Hive JIRA issue for this?

HIVE-15773 and HIVE-21752.

Thank you, @wypoon . I updated the description of this PR and JIRA links.

HIVE-15773 and HIVE-21752.

Merged build finished. Test PASSed.

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

Test build #115525 has started for PR 26895 at commit 2d23e43.

Test build #115525 has finished for PR 26895 at commit 2d23e43.

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

Merged build finished. Test PASSed.

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

Looks good, will merge tomorrow if no comments.

Merging to master / 2.4.

(Trivial conflict when merging to 2.4, fixing manually.)

(argh, messed something up when merging to 2.4, will do it manually...)

Thanks @vanzin !

I'm still facing this issue


Border issue in Android

I faced a weird kind of border issue i android. Its works fine for the array less or equal to 3. But when the array becomes greater, their occurs such kind of border issues.

I was experiencing the same problem...
I fixed it and published a fork of this package, read #131


Add IDEActivityLogActionMessage support

Add IDEActivityLogActionMessage support.

@mollyIV Sorry for the delay! Do you mind fixing the DCO check and possibly add a few tests? There's a test class for this specific logic which we can use.

Hey @BalestraPatrick 👋
No worries 😊 I fixed DCO check and added a unit test. Thanks for pointing to a test class. Let me know if there's anything else I can do, thanks!

Looks good to me! One minor linter failure which you can disable with // swiftlint:disable file_length.

Thanks for pushing this through!
Is there a plan to get this into a new release?


granulate_utils: Improve cloud info fetching performance

Add the call_in_parallel utility for convenience
Use call_in_parallel in get_static_cloud_instance_metadata so we don't waste time if we're in the wrong cloud provider

@netaneld122 open PR in gprofiler to update?


Feature: Copy auth token in navbar

Type of feature
🍕 Feature
Current behavior
Currently we have a print auth token button which prints the token to devtools console
Suggested solution
Replaced with Copy auth token button for easier access
Additional context
https://github.com/open-sauced/hot/pull/514
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[X] I agree to follow this project's Contribution Docs

@adiati98 Can you please reopen this PR - https://github.com/open-sauced/docs/pull/280

@OmkarPh, thank you for opening this issue to accompany your PR!
Can you please update the issue form as below for more clarity?
Current behavior
Currently, we have a "Print auth token button" which prints the token to devtools console. But this has been updated to "Copy auth token button" in https://github.com/open-sauced/hot/pull/514.
Suggested solution
Update the "Set Up Authentication" page on docs to reflect this new changes.
Thanks!


"Remove 'type' from import" produces invalid syntax

🔎 Search Terms
"Remove 'type' from import", IntelliSense, autocomplete, suggestion
🕗 Version & Regression Information
I'm seeing this in VSCode, with all extensions disabled:
Bundled TypeScript version: v5.1.0
Version: 1.81.0
Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97
Date: 2023-08-02T12:38:28.722Z (1 wk ago)
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.6.0
⏯ Playground Link
N/A
💻 Code
Use the following files:
// main.ts
import { TwistyAlgEditor, type TwistyPlayer } from "./other-file";

new TwistyPlayer();

// other-file.ts
export class TwistyAlgEditor {}
export class TwistyPlayer {}

Then attempt to select the Remove 'type' from import of 'TwistyPlaver' from "cubing/twisty" suggestion for new TwistyPlayer:

🙁 Actual behavior
The code is rewritten to:
import { TwistyAlgEditorTwistyPlayer,  } from "./other-file";

new TwistyPlayer();

🙂 Expected behavior
The code is rewritten to:
import { TwistyAlgEditor, TwistyPlayer } from "./other-file";

new TwistyPlayer();

Thanks for the fix! 😄


Delete synapse disk files when app closes

Is your feature request related to a problem? Please describe.
The app stores Synapse tables to the hard disk during each session. This information is redundant across sessions and different users and eventually fills up a lot of disk space. Since the stored information isn't used across sessions, it would be better to delete everything when the app closes.
How important is this feature? Select from the options below:
• 🏝 Low - it's an enhancement but not crucial for work
When will use cases depending on this become relevant? Select from the options below:
• Mid-term - 2-4 months

More on this here: https://github.com/Sage-Bionetworks/data_curator/issues/165

Add snippet to delete caches every time user logins to the app, as we discussed in CR. This will be tested in the shinyapps.io

FYI: shinyapps.io storage is ephemeral. When the app sleeps or is redeployed, stored data is purged. https://docs.rstudio.com/shinyapps.io/Storage.html
So, this might not be an issue in shinyapps.io.

Yep, we were discussing this - it will make the issue less poignant, however depending on deployment schedule and # users and app usage, it  sounds like may still create a problem.

@ychae we are going to shelve this because it won't be an issue with hosting on shinyapps.io. However, it may come up when we switch over to AWS.

Closing for now and we can reopen/open a new issue as needed later.