v3.0 on linux: undefined reference to `cv::Mat::

v3.0 on linux:  cameradatafeed.cpp:676: error: undefined reference to `cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const'

You linker settings are probably incorrect. With problems like this, you will get helped much faster at http://answers.opencv.org/questions!

There is no cameradatafeed.cpp file in OpenCV 3.0.


PR Bugfix/HDX-9952 field names in vat tables

HDX-9952 using hapi schema 0.8.13
Fixes problem with VAT tables not having the renamed dataset/resource fields
https://github.com/OCHA-DAP/hapi-sqlalchemy-schema/pull/54/files

Not much to review here, I assume you checked that the branch on the hapi-schema worked and then switched to the new version when it did.

That is correct. Probably the more interesting part to review was the linked PR on the schema side. Although, there's not that much code changed there either.


Add a DynamicFormArrayModel to a DynamicFormArrayModel

Hi!
First, great project! It's very straightforward to create a form if you already know how to use ReactiveForms.
I'm trying to replicate a structure where I have a form array of form groups that contain another array of elements.
By using ReactiveForms I would do (fb = FormBuilder)
this.form = this.fb.group({
  name: ['', Validators.required],
  children: this.fb.array([
    this.fb.group({
      name: ['', Validators.required],
      subchildren: this._fb.array([
        this.fb.group({
          name: ['', Validators.required],
          })
        ])
      })
    ])
});

But I'm unable to reproduce this structure using ng2-dynamic-forms. This is my attempt
export const MY_FORM_MODEL: DynamicFormControlModel[] = [
  new DynamicInputModel({
    id: 'name',
    required: true,
  }),
  new DynamicFormArrayModel({
    id: 'children',
    initialCount: 1,
    createGroup: () => [
      new DynamicInputModel({
        id: 'name',
        required: true
      })
      new DynamicFormArrayModel({
        id: 'subchidlren'
      })
    ]
  })
];

I get an error at the 'subchildren' DynamicFormArrayModel because it's not a subclass of DynamicFormValueControlModel.
Is it possible to get the result I'm trying to replicate?
Thank you

@mixecan Hi! Thanks for your message!
At the moment nesting of Form Arrays is restricted by the type you described as I initially wanted to avoid to complex model structures.
But if this is a serious requirement I'll try to implement that in the future.

Thanks @udos86
At the moment I reverted to FormBuilder (as my form are still pretty fixed) but for future extensions I would really like to have this functionality available.

@mixecan There'll be an adjustment in 1.3.17 to allow this. Maybe you could give some feedback then...

Thank you @udos86.
I will try to migrate my forms and let you know

Hi @mixecan @udos86  i want to add sub-children level by having add and remove button how i can do that adding sub-children elements dynamically by pressing add button.

Hi @mixecan @udos86 @krishnapsms
I also want to add-sub-children level, something like in this example
https://plnkr.co/edit/vSODkb8i7o54X3fST9VF?p=preview
the first array level is working correctly but the second level could not be found as control in insert/remove function.
I tried by adding ArrayModel in formGroup and without,
new DynamicFormArrayModel({
id: 'children',
initialCount: 1,
createGroup: () => [
new DynamicInputModel({
id: 'name',
required: true
}),
new DynamicFormArrayModel({
id: 'subchidlren',
initialCount: 1,
createGroup: () => {
return [
new DynamicInputModel({
id: 'name1',
required: true
})
]
}
})
]
})
any suggestions?
@udos86  thanks for this beautiful library.


:recycle: Add and refactor animation/transition/box-shadow support

Add TIME and TIMING into tokenTypes
Add NUMBER support to directionFactory
Add valuesFactory for transition and animation properties
Add PERCENT support to transforms
Add animation and transition support
Add box-shadow opacity support
Add support for non-unit number in box-shadow

I'm going to close this, but if you want to continue work on this, just @ me


WADO connection required to only query PACS

We usually first find studies in the PACS and then later decide to either download the corresponding DICOMs (or reports). Only for downloading the images you need wado. However, upon initialization of the trolley, this is already required.
I would expect this to be optional, and only when trolley.download is called, that we need to give a wado-connection as well.

The examples/search_for_studies_dicom_qr.py shows how to do a search without initializing WADO.  You use the Searcher instance separately and do not instantiate a Trolley


iyo-ImprovedIntegration: Possibility to return a jwt in json during the access_token request

@robvanmieghem just sent a PR for this #319

@iwanbk I know, created a feature for it to make it visible

Documentation: 6e7627597797ecb509dc0e07054bb4100a5a33dd

This is deployed on the staging environment right now, will have other people test their integrations before moving this to production.


[WIP] Add Magento 2 Product Driver

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the new behavior?
This adds the base product driver with the new graphql transformation and query manager architecture. It also restructures the types on the product service to be DaffProductUnion or the generic <T extends DaffProduct>
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Looks like this is real close to complete, so I'll leave it to you to finish it

You have a few xits. Not sure if you mean to have those or not. Looks like it might've been on purpose


Honor $LSCOLORS environment variable

Most shells have an LSCOLORS or LS_COLORS environment variable which allows users to modify which colors are used by LS for different types and states of filesystem objects. It would be excellent if lsd supported this.

@Peltoche I don't have a whole lot of spare time right now, but if I have a chance in the near future and nobody else has already done it, I'd be happy to. Just figured it was worth getting it on the to-do list now. :)

I have written some Rust code which parses the LS_COLORS environment variable for fd. There is an open ticket to extract that into a separate library/crate here: https://github.com/sharkdp/fd/issues/363. Maybe this could be of use for lsd, too?


Create cost model - price list step

Describe the bug
The filter components found in the data toolbar in the create cost model wizard's price list step is inconsistent with how we are filtering elsewhere.
To Reproduce
Steps to reproduce the behavior:

Go to the Create a cost model wizard (launch it)
Make sure to select "OpenShift Container Platform" as the source type
Then after clicking Next to advance to the second step of the wizard (which should be Create a price list)
The empty table view show two drop downs to the left of the "Add rate" button (see screenshot below)

Expected behavior
I would like the filter options to be more like what attribute-value filtering would look like:

verified


Possible to get working with the newest version of Mono.Cecil

Any chance that you can get this working with the latest version??
When I use the latest version it complains about resource stuff...
ResourceEntry does not appear to exist anymore etc.
Thanks

Related to #236

We are now using the very latest Cecil.


chore: release main

:robot: I have created a release beep boop
cache: 0.2.0
0.2.0 (2023-07-23)
Features

cache-config: allow configuration of cache via config files (#192) (0461402)
cache: add local cache implementation (#168) (676b585)
cache: implement persistent caching (#171) (1f8ea24)
namespacing: enforce namespace format (#194) (90b1ebd)
remote-cache: add initial implementation of remote-cache (#166) (7d90aab)
testing: clean up wording/naming and add new tests (#190) (d60076b)
tests: show server errors and fix port picking (#195) (2e477e3)
windows: fix issues for windows (#197) (008b607)

Bug Fixes

tests: increase cache server wait time (#167) (b0db3aa)
tests: use portpicker to pick available ports in tests (#170) (072998c)

codegen: 0.3.0
0.3.0 (2023-07-23)
Features

codegen: implement derive proc macro for layout hard macros (#200) (5138224)
gds-import: implement GDS to RawCell importer (#196) (fc37eeb)
proc-macros: codegen for schematic hard macros (#191) (50240b1)
proc-macros: derive macros for geometry traits (#164) (a86074a)
proc-macros: support enums, tuple structs, etc. (#165) (bda83f7)
proc-macros: support generics in derive schematic/layout data (#169) (5bc11d8)
simulation: proc macros for implementing Supports on tuples (#163) (bf77832)
tiling: array and grid tiling API (#201) (b3b7c2b)

Bug Fixes

ci: add workaround for dev deps (180c924)
ci: test another workaround for dev deps (c15bc6d)
tests: increase cache server wait time (#167) (b0db3aa)

Dependencies

The following workspace dependencies were updated

dev-dependencies

substrate bumped from <=0.2.0 to <=0.3.0
sky130pdk bumped from <=0.2.0 to <=0.3.0

config: 0.2.0
0.2.0 (2023-07-23)
Features

cache-config: allow configuration of cache via config files (#192) (0461402)
tiling: array and grid tiling API (#201) (b3b7c2b)
windows: fix issues for windows (#197) (008b607)

Dependencies

The following workspace dependencies were updated

dependencies

cache bumped from 0.1.0 to 0.2.0

gds: 0.2.0
0.2.0 (2023-07-23)
Features

gds-import: implement GDS to RawCell importer (#196) (fc37eeb)

geometry: 0.3.0
0.3.0 (2023-07-23)
Features

gds-import: implement GDS to RawCell importer (#196) (fc37eeb)
gds: gds reexport test (#199) (93d3cd5)
proc-macros: derive macros for geometry traits (#164) (a86074a)
tiling: array and grid tiling API (#201) (b3b7c2b)

scir: 0.2.0
0.2.0 (2023-07-23)
Features

cache: implement persistent caching (#171) (1f8ea24)
merging: add API for merging two SCIR libraries (#183) (a0006aa)
proc-macros: codegen for schematic hard macros (#191) (50240b1)
scir-instances: allow Substrate users to instantiate raw SCIR instances (#184) (8fd5192)

Dependencies

The following workspace dependencies were updated

dependencies

uniquify bumped from 0.1.0 to 0.2.0

sky130pdk: 0.3.0
0.3.0 (2023-07-23)
Features

gds-import: implement GDS to RawCell importer (#196) (fc37eeb)
pdks: PDKs store the names of schematic primitives (#185) (3446ba8)

Dependencies

The following workspace dependencies were updated

dependencies

substrate bumped from 0.2.0 to 0.3.0
spectre bumped from 0.2.0 to 0.3.0

spectre: 0.3.0
0.3.0 (2023-07-23)
Features

cache: implement persistent caching (#171) (1f8ea24)
codegen: implement derive proc macro for layout hard macros (#200) (5138224)
executors: executor API and local executor implementation (#161) (c372d51)
windows: fix issues for windows (#197) (008b607)

Dependencies

The following workspace dependencies were updated

dependencies

scir bumped from 0.1.0 to 0.2.0
cache bumped from 0.1.0 to 0.2.0
substrate bumped from 0.2.0 to 0.3.0

spice: 0.1.0
0.1.0 (2023-07-23)
Features

conversion: convert parsed SPICE to SCIR (#178) (9cb7bc3)
organization: move spice from netlist/ to libs/ (#174) (bd31a44)
proc-macros: codegen for schematic hard macros (#191) (50240b1)
scir-instances: allow Substrate users to instantiate raw SCIR instances (#184) (8fd5192)
spice-to-scir: do not convert blackboxed subcircuits (#179) (c501313)

Dependencies

The following workspace dependencies were updated

dependencies

scir bumped from 0.1.0 to 0.2.0

substrate: 0.3.0
0.3.0 (2023-07-23)
Features

cache-config: allow configuration of cache via config files (#192) (0461402)
cache: implement persistent caching (#171) (1f8ea24)
codegen: implement derive proc macro for layout hard macros (#200) (5138224)
executors: executor API and local executor implementation (#161) (c372d51)
executors: LSF (bsub) executor implementation (#162) (ff8404a)
gds-import: implement GDS to RawCell importer (#196) (fc37eeb)
gds: gds reexport test (#199) (93d3cd5)
pdks: PDKs store the names of schematic primitives (#185) (3446ba8)
proc-macros: codegen for schematic hard macros (#191) (50240b1)
remote-cache: add initial implementation of remote-cache (#166) (7d90aab)
scir-instances: allow Substrate users to instantiate raw SCIR instances (#184) (8fd5192)
simulation: proc macros for implementing Supports on tuples (#163) (bf77832)
tiling: array and grid tiling API (#201) (b3b7c2b)

Bug Fixes

ci: fix doc tests for substrate crate (#158) (d7e9437)

Dependencies

The following workspace dependencies were updated

dependencies

config bumped from 0.1.0 to 0.2.0
cache bumped from 0.1.0 to 0.2.0
codegen bumped from 0.2.0 to 0.3.0
geometry bumped from 0.2.0 to 0.3.0
gds bumped from 0.1.0 to 0.2.0
scir bumped from 0.1.0 to 0.2.0
uniquify bumped from 0.1.0 to 0.2.0
spice bumped from 0.0.0 to 0.1.0

dev-dependencies

sky130pdk bumped from <=0.2.0 to <=0.3.0

tests: 0.0.0
Dependencies

The following workspace dependencies were updated

dependencies

geometry bumped from 0.2.0 to 0.3.0
substrate bumped from 0.2.0 to 0.3.0
scir bumped from 0.1.0 to 0.2.0
cache bumped from 0.1.0 to 0.2.0
spice bumped from 0.0.0 to 0.1.0
spectre bumped from 0.2.0 to 0.3.0
sky130pdk bumped from 0.2.0 to 0.3.0

uniquify: 0.2.0
0.2.0 (2023-07-23)
Features

merging: add API for merging two SCIR libraries (#183) (a0006aa)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/codegen-v0.3.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/config-v0.2.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/gds-v0.2.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/cache-v0.2.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/geometry-v0.3.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/spice-v0.1.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/uniquify-v0.2.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/sky130pdk-v0.3.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/scir-v0.2.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/substrate-v0.3.0 :sunflower:

:robot: Release is at https://github.com/substrate-labs/substrate2/releases/tag/spectre-v0.3.0 :sunflower:


Menu shows up

i have the epic games store version i got the menu to show up but how do i navigate the menu because my mouse is stuck being the camera i can't go over to click on the menu at all i have to pause to click on anything then when i create one i dont see it when i unpause

ok after trying a bunch of time i have got it to open but is there any way to make the way point bigger and or work with split screen


Fix #15

See the discussion here: https://github.com/Neoteroi/mkdocs-plugins/issues/5

Codecov Report

Merging #16 (c8c2cf7) into main (7f5e1a9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        18
  Lines         1252      1296   +44
=========================================
+ Hits          1252      1296   +44

Impacted Files
Coverage Δ

openapidocs/mk/jinja.py
100.00% <ø> (ø)

openapidocs/utils/source.py
100.00% <ø> (ø)

openapidocs/__init__.py
100.00% <100.00%> (ø)

openapidocs/mk/generate.py
100.00% <100.00%> (ø)

openapidocs/mk/texts.py
100.00% <100.00%> (ø)

openapidocs/mk/v3/__init__.py
100.00% <100.00%> (ø)

openapidocs/mk/v3/examples.py
100.00% <100.00%> (ø)

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 7f5e1a9...c8c2cf7. Read the comment docs.


Clean dependencies

@Tcharl @jdubois
Hope you don't mind -- I took the liberty of cleaning this up a bit (well, IMHO anyway :-).
I've tried to make topical, self-explanatory commits so you can hopefully follow my reasoning, and discard any if you don't agree.
To check if things work as planned, I've used this in a fork of the server-lib, here:
https://github.com/erikkemperman/jhipster/tree/jhipster-deps
Please let me know if you think this is going in the right direction.
@Tcharl You were working on making a PR to the generator repo about using these dependencies, right?
EDIT just to avoid misunderstandings, this is on top of https://github.com/jhipster/jhipster-dependencies/pull/1 !

Hi Eric,
I'm not totally for removing 'duplicates' properties: I think that this is a good practice to use that 'duplicate' pattern everytime, let's take a simple hypothetic example
<org.springframework.version>5.0.0</org.springframework.version> <org.springframework_spring-beans.version>${/org.springframework.version}</org.springframework_spring-beans.version> <org.springframework_spring-aop.version>${/org.springframework.version}</org.springframework_spring-aop.version>
Using this pattern gives us much flexibility and is based on convention:

All the 'real' asset dependencies have the same property pattern: _.version, so that it can then be parseable by a mojo, a third party tool (stats, monitoring, etc). This remark is also valid for plugins versions properties, ... This capacity is very helpful when dealing with big maven confs
That pattern allows to have a 'no brainer' strategy while using these properties within children poms (I don't have to review and search within the pom holding that property to be able to consume it
In case of 'regression' of an asset version, I can use the previous version of that artifact without impacting the other (if org.springframework.version is promoted to 5.0.1, I can easily keep the spring-aop version to 5.0.0 if there's a problem in that newer version).
Prefixing dependency properties by groupId is useful in many case: for example, to ensure the difference when using the osgified version of the jars instead/in parallel of the original one, e.g. org.apache.servicemix.bundles_guava vs guava.

So yes, my version is a little more verbose, but as it brings some added value and ease the maintenance ...

Hi Charlie,
Thanks for taking a look at my proposal!
About the duplicate properties: personally I think we should only split them in the cases where we actually want different versions of related dependencies. Otherwise I think it is slightly cleaner to de-duplicate, in the same way that e.g. spring-boot-dependencies does it:
https://github.com/spring-projects/spring-boot/blob/v1.5.7.RELEASE/spring-boot-dependencies/pom.xml
But it's not a really big deal for me -- so if you and/or @jdubois feel strongly that we want to keep these duplicates I will happily amend my PR.
Did you agree with the other suggesions?

By default I wouldn't duplicate properties - but at the moment I don't have enough time to review this, so I don't have a strong opinion here. I'm sorry, I don't know when I will have enough free time for this, and as it's a very important design decision I need to have that time.

@jdubois Thanks Julien! I think that reviewing this properly will also require a concrete PR for generator-jhipster to demonstrate how this new module would fit in. I'm not sure if @Tcharl is working on that, but I think so. Otherwise I might take a look this week.
But until we consider any changes to generator-jhipster, there is basically zero impact to what we change here. So I would argue we can just merge in what "looks good" superficially and then get to more thorough review and fixes when we attempt conjoining with the generator?

Oh yes sorry I didn't see this was on the jhipster/jhipster-dependencies - let me merge those PRs!

@Tcharl Forgot to react to your last point about including groupIds with the property names -- I really think we should stick with the conventions of spring-boot here, for example if we want to override a dependency (like we do with assertj) we only have to redefine the property, and don't have to repeating the whole dependency block.
The case you mention where you want to have alternative implementations of e.g. guava side-by-side at the same time seems very unlikely to me -- and even if it does happen, I propose we use the main one (especially if it also is defined in spring-boot-dependencies) without groupId and just add a prefix for the alternate.
Does that make sense?

@jdubois Thanks for merging, but I think this happened in the wrong order?
Perhaps I should have made more clear that my PR (#2) was ON TOP OF @Tcharl's PR (#1). So now you've merged his branch into master, and then subsequently my branch into his.
In other words, there are still commits in the onlydependencies branch which I would love to see in master...
Apologies, maybe such meta-PRs are not a very good approach :-)

Sorry I merged them in order.... I also added the license, etc

No worries, I will rebase and make a new PR!

OK, be careful I also applied our code format on the project, so it's consistent with the rest of JHipster

I did the same in my branch (indentation). I think I can just cherry-pick my commits except that one...

Done, #3.

The only convention spring-boot-dependencies has is that it does not have conventions, and I really dislike this: whenever I use spring poms has parent, I'm keeping them opened in a tab everytime in order to have a property label or a plugin execution, and I find this really weird. Sticking to Maven conventions (groupId for a container, artifactId for nodes) seems natural to me and really helped maintenance of my projects.

@Tcharl We're still talking about property names, right?
Regardless of whether one likes the conventions in spring-boot-dependencies, the technical consequence of using something like
<org.assertj_assertj-core.version>3.6.2</org.assertj_assertj-core.version>

Is that we would also have to duplicate the whole <dependency>...</dependency> block just to override the version string.
Instead, if we use the same property names as the parent spring-boot-dependencies where possible, we only have to override the prop.

Good catch! You've got a point on this ;-)


Fix using serde_bytes with an internally tagged enum

Before this change, if you wanted to use an internally tagged enum with serde_wasm_bindgen and serde_bytes you would receive the error "invalid type: byte array, expected any value". After this change it will correctly deserialize the object to a Vec.

@RReverser is it possible to get these changes released? I'm blocked from releasing my library on crates.io since I have a git revision in my dependencies.

Right, I meant to do that but slipped my mind. Published as 0.6.1 now, thanks again.

Thank you!


Download link for 2019.11 PowerShell extension doesnt work in the ADS Marketplace

There's an issue with the download link for the 2019.11 PowerShell extension in the November build of ADS.

Version: 1.13.0 (system setup) Commit: cacd481bff25c890e4130aee392569bae43b7e60 Date: 2019-11-02T00:40:05.147Z VS Code: 1.38.0 Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Windows_NT x64 10.0.18363

Thanks for the report @SQLvariant  - I'm investigating this now.

Alright, should be fixed. Try again now and let us know if you're still having issues! Sorry about that!


Pytest benchmark

Benchamarks.
This PR contains the code that runs benchmarks on several functions. The functions that are benchmarked at this moment are:

matmul (x20)
add (x100)
expm (x1)
eigvals (x1)
The 'x20' means that the result represents 'n' operations.

The benchmarks compare the operations for different data types:

tensorflow (GPU if installed, otherwise CPU)
numpy
scipy (some eigenvalues not implemented as was giving me some problems)
qt.data.Dense
qt.data.CSR

We also compare the results for when a dense or sparse input matrix is being used. Both the sparse and dense matrices are random Hermitian matrices. Sparse matrices are tridiagonal. The size of the employed matrix is NxN with N in {2,4,8,...,512,1024}.
How to use it
Install the dependencies using  pip install .[full]
To run the benchmarks use python benchmarks/benchmarks.py. This will store the data and figures in the folder `.benchmarks/'.
When using python benchmarks/benchmarks.py --help:
usage: benchmarks.py [-h] [--save_csv SAVE_CSV] [--save_plots SAVE_PLOTS] [--plot_only]
Run and plot the benchmarks. The script also accepts the same arguments as pytest/pytest-benchmark.
optional arguments:
-h, --help            show this help message and exit
--save_csv SAVE_CSV   Path where the latest benchmark resulst will be stored as csv. If empty it will not store
results as csv. Default: .benchmarks/latest.csv
--save_plots SAVE_PLOTS
Path where the plots will be saved. If empty, it will not save the plots. Default:
.benchmarks/figures
--plot_only           If included, it will not run the benchmarks but just plot the latest results from .benchmaks/
folder.
Examples (use -k"expression" to filter benchmarks")
-python benchmarks/benchmarks.py -k"matmul-": Runs only the benchmarks for matmul.
-python benchmarks/benchmarks.py -k"eigvals- and -dense-": Runs only the benchmarks for eigvals with dense random matrix.
-python benchmarks/benchmarks.py -k"[512- and expm-": Runs only the benchmarks for expm for a matrix of size 512x512. (The size can only be 2,4,8...,512,1024)
-python benchmarks/benchmarks.py -k"[2- and (tensorflow or numpy or qt.data.Dense)": Runs the benchmarks for every operation with matrices of size 2x2 represented with either tensorflow, numpy or qt.data.Dense.
Example output:

I was thinking to include something like qutip_tensorflow.benchmarks() to execute and plot the benchmarks. This, although not necessary, would facilitate running the benchmarks in an arbitrary machine or in colab. However, since running the benchmarks requires the files in tests, we would require to include them in the packaging. Is this correct? Would there be a problem to include these files?

The results for expm are a little bit surprising. Tensorflow beats the rest but only for a certain range of sizes for the matrices. For larger matrices, numpy seems to win. I think this has to do with the underlying function going from using a single core (below 64x64-size matrices) to using all the cores (4 cores 8 threads with intel i7-6700). It may also be something related to the cache size?

At this moment the test fail due to tensorflow raising a DeprecationWarning when imported due to the imp module being imported instead of importlib. Trying to silence the warning during the tests does not work due to the -Werror  flag for pytest. Im still thinking what to do with this.

Cool, I will look through it properly later, but thanks for this!  I'm going to use it to test some improvements to CSR in general and add_dense.
I'm very surprised that tensorflow can beat numpy at addition.  I can only think that this isn't an apples-to-apples comparison; I think tensorflow must either be compiled with more vectorised CPU instructions in it, it's doing additional threaded parallelisation compared to numpy (can be controlled with environment variables), or it's accessed a GPU somehow?  add is a really simple operation at the end of the day, with easy-to-predict cache properties, so the compiled form in numpy should really be optimised by a compiler into the best possible instruction set for hardware.
When you import tensorflow, you can catch the warning, just like we do in QuTiP (for imp as well).  We have the same reason for catching it; a downstream package we have no control over imports a deprecated module.

The examples above use a GPU (gtx-970) for tensorflow. Given that addition is such a simple operation I was expecting tensorflow to beat numpy at leats on that one when using the gpu.

Pull Request Test Coverage Report for Build 961341735

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 946864138:
0.0%

Covered Lines:
4

Relevant Lines:
4

💛  - Coveralls


Syntax Error

I am receiving this error after adding  transform: {         '\\.(gql|graphql)$': 'jest-transform-graphql',         'l to jest config file
The error I am receiving
`SyntaxError: /Users/user/Desktop/newproj/fe-eventme/node_modules/react-native-ratings/dist/images/star.png: Unexpected character '�'. (1:0)
> 1 | �PNG
    | ^
  2 |
  3 |
  4 | IHDR2?��sRGB���YiTXtXML:com.adobe.xmp<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.4.0">

`

This problem does not seem related to jest-transform-graphql. More likely it's an issue with your specific setup or code as the transformer would not be loading a png file. Possible you have an invalid gql file, or something is otherwise wrong with your transformer setup


Release cockroachdb 2.0.1-2.0.1 (automated commit)

Description:
Fix symlink path issue in most recent CockroachDB framework release
Source URL: https://alex-dcos-exhibitors3bucket-gx95x7buf8qx.s3.amazonaws.com/autodelete7d/cockroachdb/20180516-171107-Ue3WAndhIJGUcj2D/stub-universe-cockroachdb.json
Changes since revision 4:
0 files added: []
0 files removed: []
3 files changed:
--- 4/marathon.json.mustache
+++ 5/marathon.json.mustache
@@ -27,6 +27,7 @@
     "FRAMEWORK_USER": "{{service.user}}",
     "FRAMEWORK_PRINCIPAL": "{{service.service_account}}",
     "COCKROACH_URI": "{{resource.assets.uris.cockroach-tgz}}",
+    "COCKROACH_DIR": "cockroach-v2.0.1.linux-amd64",
     "COCKROACH_CACHE_SIZE": "{{service.cache_size}}",
     "COCKROACH_MAX_SQL_MEMORY": "{{service.max_sql_memory}}",
     "COCKROACH_HTTP_PORT": "{{service.http_port}}",
--- 4/package.json
+++ 5/package.json
@@ -2,7 +2,7 @@
     "packagingVersion": "4.0",
     "minDcosReleaseVersion": "1.9",
     "name": "cockroachdb",
-    "version": "2.0.0-2.0.1",
+    "version": "2.0.1-2.0.1",
     "maintainer"<EMAIL_ADDRESS>     "description": "CockroachDB is a distributed relational database that is scalable, survivable, and strongly consistent. Service Guide is available at: https://github.com/cockroachdb/dcos-cockroachdb-service The source code for CockroachDB Enterprise is packaged in the same binary as CockroachDB Core.\n\n\tCustomers interested in the CockroachDB Enterprise license should contact https://www.cockroachlabs.com/pricing/sales/",
     "selected": false,
--- 4/resource.json
+++ 5/resource.json
@@ -3,9 +3,9 @@
     "uris": {
       "jre-tar-gz": "https://downloads.mesosphere.com/java/jre-8u152-linux-x64.tar.gz",
       "libmesos-bundle-tar-gz": "https://downloads.mesosphere.io/libmesos-bundle/libmesos-bundle-master-28f8827.tar.gz",
-      "scheduler-zip": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.0-2.0.1/cockroachdb-scheduler.zip",
-      "executor-zip": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.0-2.0.1/executor.zip",
-      "bootstrap-zip": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.0-2.0.1/bootstrap.zip",
+      "scheduler-zip": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.1-2.0.1/cockroachdb-scheduler.zip",
+      "executor-zip": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.1-2.0.1/executor.zip",
+      "bootstrap-zip": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.1-2.0.1/bootstrap.zip",
       "cockroach-tgz": "https://binaries.cockroachdb.com/cockroach-v2.0.1.linux-amd64.tgz"
     }
   },
@@ -25,7 +25,7 @@
             }
           ],
           "kind": "executable",
-          "url": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.0-2.0.1/dcos-service-cli-darwin"
+          "url": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.1-2.0.1/dcos-service-cli-darwin"
         }
       },
       "linux": {
@@ -37,7 +37,7 @@
             }
           ],
           "kind": "executable",
-          "url": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.0-2.0.1/dcos-service-cli-linux"
+          "url": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.1-2.0.1/dcos-service-cli-linux"
         }
       },
       "windows": {
@@ -49,7 +49,7 @@
             }
           ],
           "kind": "executable",
-          "url": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.0-2.0.1/dcos-service-cli.exe"
+          "url": "https://dcos-cockroachdb.s3.amazonaws.com/dcos/release/2.0.1-2.0.1/dcos-service-cli.exe"
         }
       }
     }

@ryadav88


OpenSSL 1.0.1c and TLSv1 Handshake Failures

I've been using requests in our application for a while; however, recently we've been working on interfacing with payment providers.  We've been running into an issue where they use and older firewall/proxy combination that only allows TLSv1, in openssl versions prior to 1 this wasn't a big deal as it would initiate with a TLSv1 request.  Beginning in OpenSSL version 1.0 this is no longer the case, and the negotiation process begins with SSL3, this causes these older devices and web servers (older apache) to just throw an EOF or fail the handshake.  We need a  way to specify an ssl version or negotiation starting point, so we can directly use requests with these older devices.  This isn't probably much of a problem for many people; however, I did see a past issues #900, #851, #701, and #606.  This isn't a problem on Mac OS X mountain lion unless you install openssl 1.0.1c (security needs), but it's now present by default on Windows and most Linux/Unix variants.
A more through explanation of my problem with code and detailed errors is available at:
http://stackoverflow.com/questions/14102416/python-requests-requests-exceptions-sslerror-errno-8-ssl-c504-eof-occurred

@Lukasa I tried the fix which you provided but still i am observing the same issue. Here's the error log
requests.exceptions.SSLError: HTTPSConnectionPool(host='xxxx', port=xxxx): Max retries exceeded with url: /rest/api/content/(Caused by SSLError(SSLError(8, '_ssl.c:504: EOF occurred in violation of protocol'),))
What am I missing here?


Add product to a Wishlist

As a customer
I need add a product to my wishlist using the wishlistsID, product ID, quantity,
So that [benefit]  I can collect the products that I wish I had the money to purchase.
Details and Assumptions

[document what you know]
A customer might have multiple wishlists, so they should add  product to a specific wishlist(ID).
A customer has multiple wishlists associated with their customer ID.

Acceptance Criteria
Given a product is already in the wishlist,
When the customer adds the same product
Then the quantity of the product is updated in the wishlist.

Given a wishlist is exist,
When the customer adds a product by wishlist ID, product ID, and quantity
Then the product is added to the wishlist.

The label can be set to "enhancement"

Create a new item in a wishlist


Passing binary arrays to setBody

https://github.com/drogonframework/drogon/issues/2139

I have no right to request any changes at all, but the current state of this PR is not something I would support.
Having to allocate my memory to transfer is as good/bad as copying it, so nothing changes here at all IMHO. Sorry for the harsh feedback though :/

I understand that we provide a method to take over externally allocated memory and avoid constructing strings,If this MR does not meet your needs, you can initiate a new MR based on your requirements


armclang: Fix setting CMAKE_SYSTEM_PROCESSOR for mps2_an521

On mps2_an521 GCC_M_CPU gets set to cortex-m33+nodsp, however that is not a valid setting for CMAKE_SYSTEM_PROCESSOR.  We need to strip the extra options (+) from GCC_M_CPU so that we get just cortex-m33.

@galak Isn't CMAKE_SYSTEM_PROCESSOR just arm on GCC? What exactly was this fixing?
I've also discovered a similar issue with OpenAMP (libmetal) won't build with armclang due to CMAKE_SYSTEM_PROCESSOR being set by armclang to something like cortex-m33 or cortex-m55 and libmetal expects it to the processor arch to as arm. This will cause the build to fail :(
https://github.com/OpenAMP/libmetal/blob/28fa2351d6a8121ce6c1c2ac5ee43ce08d38dbae/cmake/options.cmake#L48
https://github.com/OpenAMP/libmetal/blob/28fa2351d6a8121ce6c1c2ac5ee43ce08d38dbae/lib/processor/CMakeLists.txt#L1


Temporary error when accepting new connections: accept tcp4 <IP_ADDRESS>:3500: accept: too many open files

In what area(s)?
Performance

/area runtime
Ask your question here
When I tried to benchmark dapr with hello world application from samples repo, I got
Temporary error when accepting new connections: accept tcp4 <IP_ADDRESS>:3500: accept: too many open files and got performance like 42 requests per second with so many timeout errors.

Hi S-YOU,
Can you please provide the following information?

Which environment are you running? Local machine, Kubernetes?
If locally, which OS?
Can you paste the log outputs?
Can you describe how you are trying to benchmark? (tool, step-by-step commands)

Thanks!

When running the Hello World example locally on my Mac with the following benchmark:
ab -k -n 100000 -c 200 http://<IP_ADDRESS>:3500/v1.0/state/order
I am able to get 29.5k req/sec with 11ms latency, no timeouts and no errors.

Which environment are you running? Local machine, Kubernetes?
Local Machine
If locally, which OS?
OSX Catalina, Latest Docker
Can you paste the log outputs?
I didn't save full log. Will try later.
Can you describe how you are trying to benchmark? (tool, step-by-step commands)
dapr/sample.git -> 1.Hello World -> npm install -> dapr run .... as specify by example
wrk -t4 -c100 -d10s http://localhost:3500/v1.0/invoke/mynode/method/order

Thanks!
Can you run the following commands and share the output?

docker ps
ulimit -a

Closing it as its been inactive for a while, feel free to reopen if you need more help.


[Feature][admin] CatalogueService add  a new method findByTaskId

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
In some cases, the 3rd party system stored only taskId in database, and wanna to get the catalogue id, and then call some function in CatalogureService, e.g., deleteCatelogueById(catelogueId)
Use case
CatalogueService#findByTaskId(Integer taskId)
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Welcome to pull a request.


[Sema] Emit a deprecation warning if a Hashable type only implements hashValue

SE-206 deprecated hashValue as a protocol requirement. We should gently encourage people to migrate to hash(into:), for its more secure, easier and faster hashing.
Emit a compiler warning whenever hashValue has an explicit implementation, but hash(into:) doesn’t.
rdar://problem/39838478
(This was originally part of #20685)

Note: The warning location currently isn't set correctly when the hashValue implementation comes from a protocol extension.
The PR below works around this, as well as reducing the sheer volume of Error-related warnings.
https://github.com/apple/swift/pull/21056
@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - cb3cff55f951cdab8fcf4ad7ad9ccfc6848d7c52

@swift-ci test

@swift-ci test

cc @natecook1000 for the documentation changes. (We don't have a good way to deprecate protocol requirements, so we have to point out the deprecation in the docs instead.)


For non zero numbers, show more info

Currently on the Rec Table, there are still some values displaying 0 for carbon savings even with toggled to kilograms. We want to have these display "< 0.001".
AC's

[ ] When toggling the rec table to display kilograms, there are no 0 values, only < 0.001.

Hey @jeff-zinger
Just wondering if you were still open to making the update to fix search for kg.
If so, let us know - if not, I'll make a new card for that bug.
Thanks!


How to use afl-clang/afl-clang-fast compiler the whole pregram?

Hi, sir. I use the WLLVM to compile the kernel and other programs (export LLVM_COMPILER=clang), which has obtained many good results in the past. However, I want to use the WLLVM to compile other programs( in this case, I want to use "export LLVM_COMPILER=afl-clang-fast" or "export LLVM_COMPILER=afl-clang" to compile the programs. The fl-clang-fast and afl-clang are the wrapper of the CLANG and implement the instrumentation in source code during the compilation process). But WLLVM doesn't work.
So, sir. Can you tell me about WLLVM principles or reference manuals, or do you have plans to complement this work? Do you have any suggestions or references if I want to do this?

Why doesn't just wrapping afl-clang rather than clang work? The README.md is the manual.

All wllvm does is call the wrapped compiler to generate the bitcode, then stores the path to the bitcode in a section in
the object.  I don't see why just wrapping afl-clang/afl-clang-fast won't give you the bitcode that afl-clang produces.

Thanks, your first sentence makes me understand how WLLVM works. I know how to do it and need to change some source code and experiment with it.

Thanks, your first sentence makes me understand how WLLVM works. I know how to do it and need to change some source code and experiment with it.

I also encountered this problem recently. Can you provide corresponding solutions? That would help me a lot. Thank you!

In fact, I gave up compiling with wllvm, which was hard to follow.
------------------ 原始邮件 ------------------
发件人:                                                                                "travitch/whole-program-llvm"                                                                                @.>;
发送时间: 2023年9月20日(星期三) 晚上7:26
@.>;
<EMAIL_ADDRESS>主题: Re: [travitch/whole-program-llvm] How to use afl-clang/afl-clang-fast compiler the whole pregram? (Issue #135)
Thanks, your first sentence makes me understand how WLLVM works. I know how to do it and need to change some source code and experiment with it.
I also encountered this problem recently. Can you provide corresponding solutions? That would help me a lot. Thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Update README.md

Added some content to make the use of columnOptions.Store clearer, with a few other revisions.

Thanks for the additions and revisions!


implement open_datatree context manager

[x] Closes #93
[ ] Tests added
[x] Passes pre-commit run --all-files
[ ] New functions/methods are listed in api.rst
[ ] Changes are summarized in docs/source/whats-new.rst

I haven't added any test, but the io tests now use the context manager. Not sure if there's a better way to test this functionality.

do not look at parent

Did you get a RecursionError when you tried to close the parent too? I've done that before :sweat_smile:
This seems good though. For testing xarray must have some tests for this type of opening that we could copy.
I'm trying to think if there are any other gotchas with tree structures... .close() closing that node and all children seems fine, though I would like to be clear about what happens if you refer to a closed child via its parent:
subtree = open_datatree(file)
dt = DataTree(children={"folder1": subtree})

dt["folder1"].close()
print(dt)

Did you get a RecursionError when you tried to close the parent too? I've done that before 😅

Yes, which made me realise that I don't think closing parents is the right thing to do. I.e., to close everything users must close from root.

This seems good though. For testing xarray must have some tests for this type of opening that we could copy.

That's what I thought too, but I couldn't find anything. I'll take a better look next week, but let me know if you know where I can find those tests.

I'm trying to think if there are any other gotchas with tree structures... .close() closing that node and all children seems fine, though I would like to be clear about what happens if you refer to a closed child via its parent:

Good point - I'll think about this as well!

@TomNicholas I've added open=True/False to the repr. Not sure if this is the best way to go though. What do you think?

I've added open=True/False to the repr. Not sure if this is the best way to go though. What do you think?

Hmmm... that seems a bit janky to me, especially as Dataset doesn't do that.
I remember talking about this problem briefly with @jhamman - perhaps he has some suggestions as to how to handle multiple file handles?

Closing in favour of linked upstream issue


Fix Spelling Mistake in browsing.inipp

Just noticed a spelling mistake whilst looking at catcare browse official

Oh gosh thank you!! (￣▽￣)


frontmatter variables added for docs automation script

Checkout this branch in combination with automated-sidenav in the website repo to see the ruby plugin for Documentation sidebar automation.

@errordeveloper @davkal
This branch goes with:
https://github.com/weaveworks/website/pull/157


Change the space between subtracks

Changed from -5 to 0 - not sure why the -5 made sense, but IMO we don't need any space in between subtracks (see screenshot), they line up nicely with a value of 0.
Bug: b/193018071
How it looks now: https://screenshot.googleplex.com/7kuUgMQ79ijBAAf

This -5 was meaning 5. Could you also add a previous/current state of how PageFaultTrack looks like now? I felt that we should have space between subtracks and between panes in a track.

This -5 was meaning 5. Could you also add a previous/current state of how PageFaultTrack looks like now? I felt that we should have space between subtracks and between panes in a track.
Or your plan is to also eras the space between panes in a track?

Not sure what the intent of the -5 was, but it was definitely treated as a negative spacing, even before my coordinate system changes, so it effectively pulled the subtracks closer together.
Here's how it looked before: https://screenshot.googleplex.com/JvbXbNsudY67aYV
This was also before the rework of "TrackContentTopMargin", which is responsible for the slight increase in subtrack height.

Not sure what the intent of the -5 was, but it was definitely treated as a negative spacing, even before my coordinate system changes, so it effectively pulled the subtracks closer together.

I remember adding this, as for some reason the tracks were super far apart. But that does not seem to be needed anymore. So totally fine to remove it.


no_std Support

Affected

https://github.com/dalek-cryptography/x25519-dalek/issues/88

rand_core?/getrandom
It seems getrandom is brought by rand_core which isn't optional - that stops thumb building
    --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.8/src/lib.rs:268:9
    |
268 | /         compile_error!("target is not supported, for more information see: \
269 | |                         https://docs.rs/getrandom/#unsupported-targets");

https://github.com/pinkforest/x25519-dalek/actions/runs/4395315721/jobs/7697018808
Maybe we can make the get_random weak and gate via getrandom feature ?
This ofc requires some work around API re: providing randomness

This is unrelated to std: it's just a target that getrandom doesn't have support for.
That's why it's a feature and why things that require randomness use the RngCore trait: so the feature can be disabled.
The solution is to not enable the feature on these platforms.

Yeah I mean it's part of no_std support as --no-default-features was the one that failed and that came up

Aah, yeah this is the problem:
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }

Instead there should be a getrandom feature which activates rand_core/getrandom

Looks like it was changed in #95, although I'm not sure why as that PR does not reference OsRng, which is the main API provided by enabling getrandom

I'll send a PR to fix it

PR's up:

https://github.com/dalek-cryptography/x25519-dalek/pull/112


Turn off cookie banner test

Pretty much what it says on the tin

Variant templates remain because subsequent testing will resume shortly on a to be confirmed subset of variants

Review app deployed to https://teaching-vacancies-review-pr-3010.london.cloudapps.digital


SOAP API test : How to pass basic authetication credentials using BDD

Hi am working on a SOAP API , where it needs Basic Authorization ( Username , Password ) to return response.  I am tryig to pass
Background:

header BasicAuthorization = { Username: '', Password: '' }

OR
Inside steps
And header Authorization = {Username: '', Password: ''}
It's giving me error in either case.
Please suggest how  can we use Basic Authorisation in our feature file.

Kindly follow the documentation here: https://github.com/intuit/karate#http-basic-authentication-example
Combine that with soap action and you should be able to do this.


small test improvements for cp

Codecov Report

Merging #33 (8c1f89e) into main (1a5fcfa) will increase coverage by 0.92%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   82.05%   82.97%   +0.92%
==========================================
  Files          11       11
  Lines        1081     1081
==========================================
+ Hits          887      897      +10
+ Misses        139      132       -7
+ Partials       55       52       -3

Impacted Files
Coverage Δ

cp.go
81.60% <0.00%> (+4.00%)
:arrow_up:

Continue to review full report at Codecov.

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


 Pre-prending commit titles with [XXX][XXX] breaks the convention that we have for the repo. Commit titles should start with an imperative verb.
Example:
[BidManager][LiveBidding] Functional tests for valid bids -> Test valid bids scenarios when live bidding.


Number will be stripped off

For example, the 2 in ver2 will be removed, at least snake() gives this result.

Thank you for issue, @derekdai. Fixed and published as 0.1.1.


Update: Recorder Release

Update: Recorder Release
This recorder update solves several Zephyr issues and updates the recorder with new features for the release of Tracealyzer 4.5. Since this update relies on updates to the modules CMakeLists.txt in the primary Zephyr repository it should not be merged into the Zephyr branch of this repository until that PR has been merged into Zephyr.

You need to submit against the zephyr branch, not main


It's throwing an exception in Android: System.TypeLoadException

Description
Hey guys I just upgraded the "FFImageLoading" to <IP_ADDRESS>0 with xamarin forms to <IP_ADDRESS>7044-pre2 and I deleted all bin obj folders and then tried to run app, it doesn't load the assembles
Steps to Reproduce
Open a new xam.Forms project with the latest version <IP_ADDRESS>7583 (or prerelease version  <IP_ADDRESS>7044-pre2) and add the nugets (Xamarin.FFImageLoading & Xamarin.FFImageLoading.Forms)  into both projects shared and xam.android and put the FFImageLoading.Forms.Platform.Init() method then try to run it.
Expected Behavior
It doesn't load the assembles and throws an exception this: System.TypeLoadException: VTable setup of type FFImageLoading.Forms.Platform.CachedImageFastRenderer failed.
Actual Behavior
It should work as previous version.
Basic Information

Version with issue:  <IP_ADDRESS>0
Last known good version: 2.3.6
Platform: Xamarin.Android

Screenshots

Reproduction Link / Code

Please attach a repo as I can't reproduce it.

Hi @daniel-luberda, I downgraded the xam.Forms to stable version and it got working, I thought I've tried with the stable ver. Thanks, you can close this.

Got the same problem after upgrading Xamarin.Forms from <IP_ADDRESS>4579-pre1 to <IP_ADDRESS>7044-pre2. Like @Bohirjon, I cleaned all bin/obj folders but finally revert to the previous Xamarin.Forms version (<IP_ADDRESS>4579-pre1) only on Android project correct the problem.
Seems to be similar to #313

Issue still persists, I am on <IP_ADDRESS>8975. Anyone got ideas how to solve this?

This is still happening on FFImageLoading <IP_ADDRESS>9 and Xamarin.Forms <IP_ADDRESS>655 (stable). @daniel-luberda maybe you can reopen please?
This occurs both using CachedImageRenderer.Init in FFImageLoading.Forms.Platform AND the obsolete FFImageLoading.Forms.Droid.

It's fixed in latest prerelease nuget.
Duplicate of: https://github.com/luberda-molinet/FFImageLoading/issues/1154

@daniel-luberda  - Can you please put back the <IP_ADDRESS>8-pre package? I have this issue with Forms Version 3.5.. I cannot upgrade Forms to version 3.6 as I am getting another issue with iOS project with FFImageLoading for which I already commented on an open ticket.. Please let me know your comments.

@xhashimks  Done

@daniel-luberda - I am getting the same issue with Xamarin Forms v<IP_ADDRESS>4416 and the <IP_ADDRESS>8-pre package. Can you please help me in resolving this?

i had the same issue on android ("System.TypeLoadException: VTable setup of type FFImageLoading.Forms.Platform.CachedImageFastRenderer failed"), fixed it by updating all nugets and rebuilding the solution (xamarin forms v <IP_ADDRESS>5677 and  Xamarin.FFImageLoading.Forms v <IP_ADDRESS>2)

commit your code or take a copy of your project.
After the apply this command on package manager console "update-package".
After this clean build your project, then restart visual studio and rebuild your project.
This procedure work for me.

Getting the same error..
Unhandled Exception:
System.TypeLoadException: VTable setup of type FFImageLoading.Forms.Droid.CachedImageFastRenderer failed
v<IP_ADDRESS>2 via nuGet

` protected override void OnCreate(Bundle savedInstanceState)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;
        base.OnCreate(savedInstanceState);
        global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

        LoadApplication(new App());
        FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);
    }`


#42 removed threeDAuthorizationTransaction

merged ThreeDAuthorizationTransaction with ThreeDCreditCardTransaction

Coverage remained the same at 100.0% when pulling 7c303f8037b0146d4b0d528f498ad3205bb5f39e on 42-3d-new into b8ee599ae9e0e7a161a60e1b095b169a3f731fd0 on 42-redesign.


[Crash] Conflict with Logistics Pipes

After placing a basic logistics pipe I got this crash:
Crash Report

Will hopefully be fixed in the next version ;)

Sorted!


Allow customization of contact surface properties

🎉 New feature
Closes #15, #82
Depends on https://github.com/ignition-forks/dart/pull/22 .
Is needed for https://github.com/ignitionrobotics/ign-gazebo/pull/869 .
Summary
This PR adds support for registering callbacks that modify properties of all contact joints generated by the dynamics engine. Example implementation for DART is provided.
This feature might be highly useful for DARPA SubT virtual challenge to allow implementation of a proper track drivetrain.
Test it
Testing is best done by running some of the ign-gazebo examples added in PR #TODO .
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Videos of ign-gazebo implementation (they only work in Chrome, I don't know why).
https://user-images.githubusercontent.com/182533/122688768-75ac2580-d21e-11eb-9947-67844b548381.mp4
https://user-images.githubusercontent.com/182533/122688763-71800800-d21e-11eb-80b0-0fc894cdd7de.mp4
https://user-images.githubusercontent.com/182533/122688779-8bb9e600-d21e-11eb-8e36-b23a035fb8b5.mp4
https://user-images.githubusercontent.com/182533/122688788-9c6a5c00-d21e-11eb-9e18-60d625bc8761.mp4

I updated this PR to work with the latest changes in DART, and I addressed the two issues found in review.


Merge master branch to prTesting1_201903131024 branch

OPS Build status updates of commit 703edb2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How is this gem used?

Hello. I've been looking for a gem like this, but I can't seem to work out how to use it properly
I've tried it on directories:
sloc /app
sloc .

I've tried it on files:
sloc app.rb
sloc functions.pho

...But in all cases it just returns a blank line
The usage message says Usage: sloc [options], implying that it takes no arguments at all (or only flag arguments?)

Hi, thanks for reporting issue and interesting in this project.
This bug was fixed in #21 and released as v0.1.3 (#22).
This project is currently in active development.
So, many features were not implemented.
If you want some features, please feel free to create issues.

Oops. I forgot to tell you about how to use this.
Update usage in README.md.
Please check this.

Excellent - thankyou for a great response. The gem is now working for me


impl AsRef for *

It'd be easier to throw this at things if it had AsRef<Path> everywhere or something.

Could you give examples of where this is missing?  At my quick glance, it seems like we are using AsRef<Path> and Into<PathBuf> extensively.

error[E0277]: the trait bound `ChildPath: AsRef<Path>` is not satisfied
   --> src/git/tests.rs:32:45
    |
32  |         let git = Git::at_path(Initializer, &repo);
    |                                             ^^^^^ the trait `AsRef<Path>` is not implemented for `ChildPath`
    |
   ::: src/git.rs:211:23
    |
211 |     pub fn at_path<T: AsRef<Path>>(_: Initializer, path: T) -> Option<Git> {
    |                       ----------- required by this bound in `git::Git::at_path`
    |
    = note: required because of the requirements on the impl of `AsRef<Path>` for `&ChildPath`

Thanks for the clarification!  Adding that makes a lot of sense.


Custom toolbar

Hello, i am trying to customization a toolbar, but someone blocked ui to click first 3 buttons in toolbar, someone know, what it is blocked toolbar?thank u.

just change    override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {


Breaking change in 3.1.8: unexpected illegal nesting error

The @each directive in the following statement leads to an SyntaxError: Illegal nesting: Only properties may be nested beneath properties.:
  ul
    margin:
      @each $side in top right left
        #{$side}: $std-whitespace / 2

This worked in 3.1.7 and breaks in 3.1.8.
As a workaround, you can write:
  ul
    @each $side in top right left
      margin-#{$side}: $std-whitespace / 2

Well, it is not a big issue. I clearly prefer the former notation though. Nesting the directive under the margin property tells stylesheet readers that they do not have to "evaluate" this non-trivial statement if they are not interested in margins right now.

Closed by 424e847cc4490d751e1ae7c53f2193ddb3c2807a


NNEF to NNIR

Need nnef_to_nnir.py to be implemented in model_compiler/python

@hansely this issue is the high priority now.

@hansely can you create a pull request for this issue.

PR #82 adds NNEF to NNIR support


Add onTrigger option for audio playback

Added a trigger event to GrabManager enabling the AudioManipulation script to play sounds when a grabbableObject is "triggered".

Hi @tomkingkong,
Thanks for taking the time to make this pull request. I see that you understood how the manipulation events work and changed all dependencies nicely.
However, I'm not sure using the trigger button on a grabbed object should be part of the core events, together with grab/place/release. I think it’s up to the developer to program what happens whenever any button, not just the trigger, is pressed while grabbing an object. I personally have used the trigger not only for weapons in video-game environments but also in simulation using a drill for example. What I normally do is create a component that uses the UxrGrabbableObject functionality to determine when it is being grabbed and then check for trigger input. This input can then be used to play audio, animations, etc.
I guess that what you developed tries to simplify the user of the trigger button when an object is being grabbed, and additionally play audio, but this is too specific to be part of the core functionality.
What I think would be a great addition is to expand your idea and consider “triggering” to press any non-grab button whenever an object:

Is being grabbed.
Is within grabbable range.

It’s up to the developer to check the event parameters and see whether the triggered object is not being grabbed, being triggered with the grabbing hand, or being triggered with the non-grabbing hand.
This would also require additional parameters on the UxrAudioManipulation inspector trigger event to determine when the selected audio needs to be played:

bool _triggerWhenFree
bool _triggerWhenGrabbingHand
bool _triggerWhenNonGrabbingHand

In addition to UxrAudioManipulation, UxrManipulationHapticFeedback would also require support for the trigger event.
What do you think?

Closing this PR for now.


Hotfix subworkflow large payload changes

Pull Request Test Coverage Report for Build 3966

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 69.108%

Files with Coverage Reduction
New Missed Lines
%

contribs/src/main/java/com/netflix/conductor/contribs/queue/QueueManager.java
3
63.27%

Totals

Change from base Build 3960:
-0.02%

Covered Lines:
11767

Relevant Lines:
17027

💛  - Coveralls


Support writing any parameter value to Growatt SPF6000ES (offgrid/hybrid)

What effort would it take to support writing any parameter value to Growatt SPF6000ES (offgrid/hybrid) https://github.com/WouterTuinstra/Homeassistant-Growatt-Local-Modbus/pull/18? I think it could be a simple event trigger with a data pair register/value, https://www.home-assistant.io/docs/automation/trigger/#event-trigger. That way it remains very flexible. Just not sure where to start, I have seen @WouterTuinstra has already added a button for writing a parameter export on/off on another device but wasn't able to easily understand how things work to make it more generalised.

thank you @WouterTuinstra I managed to do that with actions and your comment lead me to the right path after failing with every other solution.
For anyone else, those are the full steps to write any variable in SPF6000ES or any other modbus device:

edit /homeassistant/configuration.yaml
add a modbus entry, there must be at least one sensor or switch it seems. Doc: https://www.home-assistant.io/integrations/modbus/

  - name: modbus_hub
    type: serial
    port: /dev/ttyUSB1
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: N
    stopbits: 1
    switches:
      - name: "BAT First"
        address: 1
        command_on: 0 # SbU
        command_off: 3 # SUb
        verify: # read back

use /developer-tools/action to test the action and copy it's YAML, for instance

data:
  hub: modbus_hub
  address: 1
  slave: 1
  value: 0

add a script entry that can then easily be called to perform the action(s), in /config/script/dashboard, paste the previously test YAML
call this Scripts: yourscriptname from Automations


[Bug] Incorrect segment color change across all segmentations

Describe the Bug
Seems like when we change a color for one segment in a segmentation it changes it for all segmentations
Steps to Reproduce
https://github.com/OHIF/Viewers/assets/7490180/3f686192-c097-444d-baa6-87dace69d3bc
The current behavior
s
The expected behavior
Should not touch the other segmentations color, this is fixed in CS3D, we should update OHIF to match latest cs3d
OS
d
Node version
d
Browser
d

We just release the OHIF 3.8, you can find more details here https://ohif.org/release-notes/3p8/
If you still encounter this issue in 3.8, please re-open this.


flag to print out error stack

Fixes # .
Motivation
When check data/construction fails, there's no way to see where the error came from in the code.
Solution
This PR adds a flag which when enabled will print the error stack.
Eventually we should also be able to print error stack from rosetta-sdk-go package for deeper debugging but that will be a different change.
Open questions

Pull Request Test Coverage Report for Build 7317

1 of 11 (9.09%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 41.983%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/results/construction_results.go
0
4
0.0%

pkg/results/data_results.go
1
7
14.29%

Totals

Change from base Build 7289:
-0.2%

Covered Lines:
707

Relevant Lines:
1684

💛  - Coveralls

Do we need a flag? Should we always print the stacktrace?

Do we need a flag? Should we always print the stacktrace?

Ya I thought about it before. but eventually I am also planning to bubble up errors from rosetta-sdk-go. So I thought of giving a configurable option to enable and disable it so that if someone doesn't want to see stack trace. I mean in some sense it's always helpful when there are errors but I also wanted to give an option to not log so much stack trace. we could also enable it by default rather than disabling it.


4.0 [BUG] Fix for orderByRaw and inRandomOrder in orderLogic.

When using raw orderby e.g $this->crud->query->orderByRaw the list is not loaded and an error message is shown.
The error shown in the log is
Undefined index: column at vendor/backpack/crud/src/app/Http/Controllers/Operations/ListOperation.php:116

Thank you so much @kritsot & @pxpm . Great collaboration here. I've now merged this into master, it'll be available as 4.0.15 later today.
Cheers!


Frontend toggle translate button does nothing.

I did everything by instruction. I get button on site page, but clicking on it does nothing. Also no errors in browser console. What else could happen?

Oh, thanks. I thought Yii:t would be enough.


Update Theme Config

Updated theme config filenames
Added FTP support to Gulp scripts
Added prompts to the Yeoman generator for building a .env file with FTP credentials

The new FTP functionality has been tested against a demo site.

@erictompkins For the time being, this PR is ready for merge. It's not 100% done, but we're probably going to have to pause work on this until we have some additional free time.


Setup HOCON config files where relevant

There are too many hard-coded values.  Need to set up a config file.  Probably most practical to use the python configparser lib and INI files.

Closing for cleanup/refactor.


Support Netbeans/Eclipse/Zend @var annotations

Netbeans/Eclipse/Zend @var annotations (not to be confused with docblocks1) are a mechanism to declare variable types explicitly:
/* @var $db Database */
$db->prepare($sql);

It's a tool to provide hints for code intelligence and it comes in handy to overcome the limitations of static analysis, either when the engine is not powerful enough or in edge cases when static analysis is just not possible (variables in views defined elsewhere, dynamically generated code, undocumented third-party libraries...). As far as I know it's supported by a number of major IDEs including NetBeans and PhpStorm.
(1) Differences:

phpdoc block comments start with /** and are placed right before the item definition:
 /**
  * @var Database $db Database connection instance
  */
 protected $db;

Variable type inline comments start with /* (thus won't show up if you generate actual documentation with phpdoc) and are placed somewhere before the item use:
$foo = $this->db;
/* @var $foo Database */
$foo->...

Also, the arguments are swapped, though PhpStorm accepts any order:

Supporting type hints in comments other that do not use /** syntax is out of scope as it would mean we cannot rely on phpDoc's parser anymore. It's also not in line with the PHP docblock PSR. I also don't see why you would want to document the reference and not the definition of the variable.

I'd be glad to elaborate on the use cases I highlighted but if it isn't really doable because parsing needs to be done with a docblock parser then the feature is probably not worth considering.

I added support for this in my fork: https://github.com/james2doyle/php-language-server/commit/0c56bffd4c0699751c3688b5a122ef3ada000ea0

@james2doyle Is there a way to install your fork and have a look at how it works?

Yeah it's the same as this one. Just swap out the package names
On Tue, Jul 3, 2018, 5:01 AM Álvaro González<EMAIL_ADDRESS>wrote:

@james2doyle https://github.com/james2doyle Is there a way to install
your fork and have a look at how it works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/felixfbecker/php-language-server/issues/650#issuecomment-402130769,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABW_mOk69uwJLg1A0M6drIBwDCw0aK92ks5uC10ugaJpZM4UtfiQ
.

@james2doyle Sorry if I didn't explain myself correctly. Since forks are obviously not available in the usual channels (Visual Studio Marketplace, Packagist...) it isn't always obvious how to use them.
I've figured how to install it right from GitHub:
{
    "minimum-stability": "dev",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/james2doyle/php-language-server"
        }
    ],
    "require": {
        "felixfbecker/language-server": "dev-master"
    }
}

I'll see if I can plug it into my editor.

@james2doyle Got it. I just had to replace %USERPROFILE%\.vscode\extensions\felixfbecker.php-intellisense-2.3.3\vendor with yours. It also doesn't seem difficult to build the VSCode extension itself with Node but I haven't tried.
Now, perhaps I'm missing something but I can't make it work. I created a random class somewhere in the project and tried this:
<?php

function doStuff()
{
    /* @var $foo FastBender */
    global $foo;
    $bar = new FastBender();
}

But Visual Studio Code still seems unaware of what $foo is and offers entirely different code intelligence for $foo and $bar:

It supports docblocks not single line declarations. Try that and see
On Tue, Jul 10, 2018, 1:38 AM Álvaro González<EMAIL_ADDRESS>wrote:

@james2doyle https://github.com/james2doyle Got it. I just had to
replace
%USERPROFILE%.vscode\extensions\felixfbecker.php-intellisense-2.3.3\vendor
with yours. It also doesn't seem difficult to build the VSCode extension
itself with Node but I haven't tried.
Now, perhaps I'm missing something but I can't make it work. I created a
random class somewhere in the project and tried this:

[image: $bar->]

[image: $bar->printFrobble(]

[image: $foo->]

[image: $bar->printFrobble(]

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
,
or mute the thread

.

I'm closing this ticket because, after some further research, I reached the conclusion that this annotation format is mostly dead. Tools that implement this kind of feature nowadays use the syntax proposed on the PSR-5: PHPDoc draft:
/** @var \Database $db */


Added test for hidden_linear_function.py

Summary
Fixes #4350
Added test_hidden_linear_function in test_library.py in test/python/circuit
Details and comments
Imported HiddenLinearFunction from qiskit.circuit.library in test_library.py and added test for the HiddenLinearFunction class.

Hi @MadhavJivrajani, thanks for the contribution!
The test you provided tests the HLF on a functional level: it checks that you can call HiddenLinearFunction and that nothing fails on circuit construction. That's already much better than having no test.
However, if you're up for it, we could also check the circuit on a theoretical level! This would mean: we'll compute what unitary operation the HLF circuit should do, set up the matrix, and then see whether Qiskit's HLF does the right thing. That would be much more precise and generalizable to any matrix A and number of qubits. I can help you with determining the unitary operation 🙂
What do you think?

That sounds super cool @Cryoris , I'm in :smile:

Nice 👍
So this paper introduces the circuit we need to test: https://arxiv.org/pdf/1704.00690.pdf.
The HLF circuit should implement the function H^n U H^n where U is the operation from Eq. (9). U is a diagonal matrix where the x-th entry has value i ** q(x), where i is the imaginary unit and q(x) comes from Eq. (5). Note that what they call b in the paper is the diagonal of A in our case.
So what we have to do is:

Define the function q(x) based on A
Compute the diagonal matrix U
Compute H^n U H^n (here we'll use the Operator class you already used)
Compare to the HLF circuit.

Ideally, you can put this logic in a class method called
def assertHLFIsCorrect(self, A, hlf_circuit):
    """Check that `hlf_circuit` computes the correct HLF circuit for the matrix A."""

Similar to how it is done in the QFT tests (that's also in test_library.py).

I was going through the paper, from what I understand, q(x) can be computed as xTAx (mod4)?

Exactly, that works because all elements of the vector x are binary, so if you square them they remain 0 or 1. And modulo 4 is optional, this can be done because i ** 4 = 1.

Just a small clarification:
To do U = iq(x)|x> the vector x here is any random binary vector of dimension n and does not have to be restricted to the kernel of A, right?
And after computing U and computing HnUHn using the Operator class, it's checked for equivalency with the circuit constructed by qiskit.

Yes and yes

Hey, how does this look?
@ddt
class TestHiddenLinearFunctionLibrary(QiskitTestCase):
    """Test library of Hidden Linear Function circuits."""
    def __q(self, x, A):
        return np.dot(x.transpose(), np.dot(A, x))[0][0]

    @data(
        ([[1, 1, 0], [1, 0, 1], [0, 1, 1]],
         HiddenLinearFunction([[1, 1, 0], [1, 0, 1], [0, 1, 1]]))
    )
    def assertHLFIsCorrect(self, A, hlf):
        """Assert that the HLF circuit produces the correct matrix.

        Number of qubits is equal to the number of rows (or number of columns)
        of A.
        """
        num_qubits = len(A)
        A = np.asarray(A)
        simulated = Operator(hlf)

        expected = np.zeros((2**num_qubits, 2**num_qubits), dtype=complex)
        for i in range(2**num_qubits):
            i_qiskit = int(bin(i)[2:].zfill(num_qubits)[::-1], 2)
            x_vec = np.asarray(list(map(int, bin(i)[2:].zfill(num_qubits)[::-1])))
            expected[i_qiskit, i_qiskit] = 1j**(self.__q(x_vec, A))

        expectec = Operator(expected)
        self.assertTrue(expected.equiv(simulated))

    def assertSymmetryCheckWorks(self):
        """Test that adjacency matrix is required to be symmetric."""
        with self.assertRaises(CircuitError):
            HiddenLinearFunction([[1, 1, 0], [1, 0, 1], [1, 1, 1]])

nice work, that looks pretty good! I do have a few comments but its easier to do them inline, if you update your PR I'll put the comments there

I've made the required changes :smile:

I've made an error in the code, will re-commit now.


Add option to disable kubectl downloading

Defaults to false
falls back to bundled kubectl version

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>fixes #489
Note: this is currently a draft PR because it should be merged only after the migration PR has been (and this PR retargeted to master)

Noticed that this PR touches also init script files. Please could you elaborate a bit, how this PR will change the logic.

It doesn't actually, it should be a 1-to-1 change (the logic shouldn't have changed at all)

I would like to see three options:

Use downloaded kubectl
Use bundled kubectl
Use kubectl in path

@jakolehm WDYT?

I would like to see three options:

Use downloaded kubectl
Use bundled kubectl
Use kubectl in path

@jakolehm WDYT?

SGTM.

Will get it done


Add cmake for openj9/omr compilation

Signed-off-by: Joe deKoning<EMAIL_ADDRESS>

This isn't an immediate requirement, but in the near future cmake will be a requirement for building openj9 (and omr).


Use strict mode not working

Hello,
This library is not compatible with "use strict" mode. If you launch a project with:
node --use_strict --harmony myProject.js

Then, the following errors occurs:
./node_modules/bcrypt-nodejs/bCrypt.js:519
    password = password + (minor >= 'a' ? "\000" : "");
                                            ^^
SyntaxError: Octal literals are not allowed in strict mode.

Would it be possible to fix this?
Thanks

Yes, could this be fixed please?
node_modules/bcrypt-nodejs/bCrypt.js:519
password = password + (minor >= 'a' ? "\000" : "");
I'd prefer to enable ES6 everywhere in native node 4.x but I can't when dependent modules like this don't support 'use strict' mode.

@doliver3 This module seems not to be maintain anymore.
I switch to https://www.npmjs.com/package/bcrypt. I suggest you do the same ;)

This worked for me:
password = password + (minor >= 'a' ? parseInt('000', 8) : "");


Using version 3.0.0 of the open-api is generating an invalid file (Structural error)

I started using a basic setup as described in the docs and set the openapi version to 3.0.0:
const swaggerAutogen = require("swagger-autogen")({
  openapi: "3.0.0",
});

const outputFile = "../doc/api.openapi.json";
const endpointsFiles = ["./src/api/frontend/controllers/*.ts"];

swaggerAutogen(outputFile, endpointsFiles);

This generates the following json that if I paste in https://editor.swagger.io/ it says:
Structural error at
should NOT have additional properties
additionalProperty: host, basePath, schemes, consumes, produces, definitions
Jump to line 0
JSON:
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "REST API",
"description": ""
},
"host": "localhost:3000",
"basePath": "/",
"tags": [],
"schemes": [
"http"
],
"consumes": [],
"produces": [],
"paths": {},
"definitions": {}
}
Any suggestions? It seems is generating the structure for 2.0 and not 3.0 right?

Hi @nasy! Thank you for opening the issue.
I'll check this case. Any results, I'll post here. Thanks!

Hi David, thanks for your contribution :)
I've finally implemented another custom solution. In any case hope this issue gets resolved as the library looks quite nice.

I have the same problem. Thanks, the project rocks !


[Bug]: When Gsheet is created using CRUD the update does not work

Is there an existing issue for this?

[X] I have searched the existing issues

Description
precondition: Consider we have a Gsheet with only header and we create a CRUD page using the same Gsheet and it is observed that the data does not get updated with insert query until it is Gsheet is added with a value on the sheet.
Steps To Reproduce

Create a Gsheet using the Appsmith Query
Click on "Generate page" and select the name
and observe header is not added and is always displayed as col_1 etc

Public Sample App
No response
Version
release

CRUD usage: 3000
gsheets usage: 15%
reach: 450

Stats

Stat
Values

Reach
450

Effort (months)
0.25

Should be working now


Simple filtering for JSON

Follow up to https://github.com/prisma/prisma/issues/186

We are working on implementing filtering (equality and non equality) on JSON fields in Postgres and MySQL (5.7 and 8). As far as I am aware, we don't have consensus on the implementation yet but we have multiple ways to implement it. One PR in this direction: https://github.com/prisma/prisma-engines/pull/725

To clarify what we are currently looking into: this is only equals and not equals comparisons, so you would only be able to filter Json fields by comparing with an identical JSON value.

@tomhoule - so that I understand, if the DB has a row with a JSON field value of {"field":1, "anotherfield":2}, is this tracking just checking if the field is exactly that, or would something like checking if field1=1 be covered / match the row?

For the first version no, we would only be comparing against the whole JSON value. We definitely want to enable more operations like comparing specific paths in JSON objects, like your example, but that will come later.

I created an issue for more advanced JSON filtering: https://github.com/prisma/prisma/issues/2444

Closing this since simple equality filtering for the complete Json is now implemented.


fix(kubelet): Removes node role label for compatibility with k8s 1.19

This was causing failures when trying to register the node. See the KEP for more information

We are going to wait for a bit to see if we get any feedback here before we merge this


Random crashes updateNotification

Hi, at random times the app crashes right in the beginning, the errors that play console report are the following:
Both from the updateNotification function. Any idea? Thank you!

I haven't seen that before but I'll take a look at it and see if I can find anything.

Are you playing audio before you try to update the the music controls?

Are you playing audio before you try to update the the music controls?

Let me check that, I know I'm only using:
I'm playing HML5 audio, and then calling create method from musicControls. But apparently play() can return a promise
 so I'll try like that.
Although this crashes ONLY happens the first time, the thing is, every time a track ends, Im calling musicControls.create() to update title and author, is that the way?
Functions I'm using:
MusicControls.updateIsPlaying(true);
MusicControls.updateElapsed({ elapsed: seekToInSeconds,isPlaying: true });

I wrapped the play function, now I only call create once play is successful, but it still happening :(

I'll do some testing.
I'd suggest dropping the updateIsPlaying call as it's not needed the remote controls will reflect the state of the audio automatically.
Basic usage would be:
FIRST PLAY:
Play audio
create music controls
SUBSEQUENT PLAY:
release music controls (to destroy the old one)
create music controls
try this and dropping the updateIsPlaying and updateElapsed calls and see if you still see any errors.  It's important to release the old music control before calling create again for the next track.  I think the readme on the repo shows this as well for reference, but I'll check if it needs updating.

So, I dropped updateIsPlaying  and updateElapsed and now I destroy the music controls before creating it.
But now the control remote does not reflect the paused/resume state changes.
To play the audio I'm using :
this.soundtrack = new Audio()
this.soundtrack.play() and this.soundtrack.pause()

Using HTML 5 audio tag doesn't update music controls maybe?

HTML audio doesn't work properly with the remote controls, the status and metadata will be overriden by the browser.  You need to use the cordova media plugin to play your media then all should play nice.
This has been a problem as long as this plugin as been around as the browser overrides the playback controls when using html audio tag.

Thank you! I'll use native media plugin


Future Collection Mapping

Create a .mapElements method for EventLoopFuture<Sequence> where the callback receives a single element in the sequence instead of the whole sequence:
let users: Future<[User]> = ...
users.mapElements { user in
    print(user.id)
}

It is worth seeing if EventLoopFuture<Sequence> could be conformed to the Sequence protocol. The same for EventLoopFuture<Collection> and Collection.

+1 to this.

It is worth seeing if EventLoopFuture could be conformed to the Sequence protocol. The same for EventLoopFuture and Collection.

Would be interesting, but I bet at least one of those methods requires synchronous access to the results.
One additional thought, what if we had something like thenElements where you map each element to a future? This could be a nice combination of map + flatten, reducing the need for flattening.
let planets: EventLoopFuture<[Planet]> = ...
let galaxies = planets.thenElements { planet in
    return planet.galaxy.get() // Future<Galaxy>
}
print(galaxies) // EventLoopFuture<[Galaxy]>

Also, using each could be a bit more concise and consistent with API like forEach.
let users: Future<[User]> = ...
users.mapEach { user in
    print(user.id)
}
users.thenEach { user in
    print(user.id)
}


feat calculate stats health based on real updated rows count

Proposed changes
Use actual load rows since last analyze rather than delta of total row count.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


CI quick fixes and readme update

This fixes the CI in the current form, which is faster to do right now than finishing my other pull request (which I don't want to merge before v0.9 anyway).
Also fixes some things in the readme.

Nice +1 :)


One-Shot Learning

@apolanco115 thanks for taking the time to develop this one-shot learning model. Please add MLflow into your code so others can improve upon your modelling work.


dm06-dm11

In var_names.xlsx, location tab, newname column, there is "SouthEast & Anglia" and "South East & Anglia". Change "SouthEast & Anglia" to "South East & Anglia". Since this is in the spreadsheet but seem difficult to push and merge, perhaps do this manually.

KW to check part_gender values 3 and 4 are NA_character_

dm08 line 240
dt[, part_age_int := as.numeric(part_age)]
part_age may have things like "18-19" which is not getting converted to numeric?

dm08 line 259: child_age_groups <- c("0-4", "5-11", "12-17")
Deliberately not including some child age groups, like 12-15, 16-17? If not than this is causing error in part_age_est_min and part_age_est_max for children (e.g., part_id 65353 and 65354).

dm08 line 314 and 315
Keep the NAs?

dm08 line 384 and 385
384: dt[is.na(cnt_minutes_min), cnt_minutes_min := map_minutes_min[cnt_total_time]]
385: dt[is.na(cnt_minutes_max), cnt_minutes_min := map_minutes_max[cnt_total_time]]
min --> max in line 385?

dm08 lines 386-389
dt[, temp_times := cut(temp_times,
breaks = c(0,5,15,60,240, 1440),
labels = c("<5m","5m-14m","15m-59m","60m-4h","4h+"),
right = FALSE)]
the 1440 needs to be 1441 if we want to include cnt_hours==24

dm08 lines 408-426
add cnt_inside_outside_dk?

dm09 lines 80-81
part_cols <- grep("part", names(dt), value = TRUE)
print(paste0("Participant vars: ", length(part_cols)))
this picks up on col like hhm_neg_yes_partial_pay_employer
might not be an issue...?

dm09 lines 147-157
Lone parent independent children
dt[hh_type_partner == "Yes" &
(hh_type_child_18_plus == "Yes" |
hh_type_siblings_18_plus == "Yes"  |
hh_type_grandchild_18_plus == "Yes"
) &
(hh_type_child_under_18 == "No"  &
hh_type_grandchild_under_18 == "No" &
hh_type_siblings_under_18 == "No"
),
hh_type := "Lone parent with independent children only"]
line 147 should be dt[hh_type_partner == "No" &?

dm09 line 271-285
add hhm_symp_diarrhoea

dm09 lines 351-357
# HHM visiting or seeking health help -------------------------------------
dt[, hhm_visit_ae := map_yn_res[hhm_visit_ae]]
dt[, hhm_visit_gp := map_yn_res[hhm_visit_gp]]
dt[, hhm_visit_urgent := map_yn_res[hhm_visit_urgent]]
dt[, hhm_visit_testing := map_yn_res[hhm_visit_testing]]
dt[, hhm_phone_gp := map_yn_res[hhm_phone_gp]]
dt[, hhm_seek_gov_info := map_yn_res[hhm_seek_gov_info]]

This is from Q30 in UK Panel A and Panel B? If yes, there is also hhm_reaction_dk, hhm_reaction_none, hhm_reaction_no_answer, hhm_cont_adm_hosp?

dm11 lines 58-68
map_test <- c(
  "Don’t know" = "unknown",
  "Prefer not to answer",
  "Not tested" = "not tested",
  "Tested and the test showed {#i_they.response.label} have or had Coronavirus" = "positive",
  "Tested, and the test showed {#i_they.response.label} have not had Coronavirus" = "negative",
  "Yes, and {#im_are.response.label} still waiting to hear the result" = "waiting for result",
  "Tested and the test showed {#i_they.response.label} did have Coronavirus at the time" = "positive",
  "Tested, and the test showed {#i_they.response.label} did not have Coronavirus" = "negative",
  "Yes, and {#im_are.response.label} still waiting to hear the result" = "waiting for result"
)

is "prefer not to answer" meant to be mapped to something?

dm07 line 53
dt_cnts$cnt_mass what is cnt_mass? can we add a note?

dm07 lines 85-93
# Append on to main data --------------------------------------------------
dt <- rbindlist(list(dt, dt_cnts), use.names = TRUE, fill = TRUE)

## Remove excess prec for multi contacts
dt[, cnt_multiple_contacts_work_precautions := NULL]
dt[, cnt_multiple_contacts_school_precautions := NULL]
dt[, cnt_multiple_contacts_other_precautions := NULL]

dt[is.na(cnt_mass) & (!is.na(cnt_age) | hhm_contact == "Yes"), cnt_mass := "individual"]

Propose to change order of these lines to:
# Append on to main data --------------------------------------------------
## Remove excess prec for multi contacts
dt[, cnt_multiple_contacts_work_precautions := NULL]
dt[, cnt_multiple_contacts_school_precautions := NULL]
dt[, cnt_multiple_contacts_other_precautions := NULL]

dt[is.na(cnt_mass) & (!is.na(cnt_age) | hhm_contact == "Yes"), cnt_mass := "individual"]

dt <- rbindlist(list(dt, dt_cnts), use.names = TRUE, fill = TRUE)

shell script needs to be updated


Please, add a delete method

Thanks for a nice sample, but it cannot be compiled (https://github.com/googledrive/android-delete/blob/master/app/src/main/java/drive/play/android/samples/com/drivedeletesample/MainActivity.java).
In these lines:
DriveFile sumFile = ...
com.google.android.gms.common.api.Status deleteStatus =
    sumFile.delete(mGoogleApiClient).await();

a method delete doesn't exist. In a parent class DriveResource it exists as an abstract
(https://developers.google.com/android/reference/com/google/android/gms/drive/DriveResource#delete(com.google.android.gms.common.api.GoogleApiClient)).

delete was added in the latest version of Google Play Services, please check SDK Manager to be sure that you are using the latest version.

@kroikie, thanks for a rapid answer. Sure, I was having the latest version of SDK at the moment of writing the issue.

The delete method should be available from Google Play Services 7.5.0. I'm not able to reproduce this issue, however try using 7.5.0 for the play-services dependencies in the build.gradle file instead of 7.5.+ and re-sync your project. Also I'd suggest cleaning and rebuilding the project.

@kroikie, thank you very much!
I am making a project using GDAA for several months and recently have included trash and delete ability. But forgot to increase a version of Google Play Services in dependencies. Not it is compiled.


Ability to set the default Zyte API Parameters for every Request

Currently, the parameters are passed on a per-request basis.
Users should be able to:

enable Zyte API for all request
set the default parameters for every Zyte API request

The PR in https://github.com/scrapy-plugins/scrapy-zyte-api/pull/13 only partially addresses the points (2) of the issue as it doesn't introduce the mechanism of how to properly enable every scrapy.Request to go through Zyte API without having the need to set the zyte_api param in Request.meta.
There are also things we need to figure out like in the https://github.com/scrapy-plugins/scrapy-zyte-api/pull/10#discussion_r882801793 thread.


Refactoring, release GIL, Decompressor, remove mimalloc, etc.

This should probably have been split into better commits/PRs.

Release GIL in de/compression calls.
Explicitly inline internal functions, showed to have a non-trivial perf impact.
Remove mimalloc; causes larger dataset de/compression to be much slower, and in general, it seems it's the same if not faster. In fact, for the 54mb benchmarks cramjam is almost always the fastest now.
Add Decompressor complement to Compressor for every variant. (cc @martindurant)
Tried closing #95 but compiling with zlib-ng, while negligibly faster, has 100% worse compression ratio. Previous test bytes were ~2x the size after compression. Currently we're inline with std gzip ratio
Bump some deps
Add pytest-xdist seems to cut local test running from a couple minutes to ~30sec
Buffer.__contains__ didn't actually work as expected, now it will take any BytesType and use that for comparison so b'needle' in cramjam.Buffer actually works.
Refactor the generic macro and other bits.

That was fast :)


Add a license to the repository

I recently came across your project Qiskit_Prompt and I noticed that the repository github.com/ing-Hugo/Qiskit_Prompt currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Hello Juan, I already add the license, thank you for your comments.
Best regards.
Hugo.

Thanks!


Added test for conceal mode

This PR adds a test for the conceal feature, and in particular
for the synconcealed() function which was not covered with tests.
While creating the test, I noticed 2 bugs:

The 2nd element in the list returned by synconcealed()
is wrong when conceallevel=1 and when the syntax element
has no cchar and when using the default value of 'listchars'.
It should be a space but it's an empty string.
See the commented out line in Test_conceal() test which
I would expect to pass but I had to comment it out.

The 3rd element in the list returned by synconcealed() is different
for every calls.  It looks like a bug, or I did not understand how to
use it.  Example:

$ vim -u NONE -c 'set conceallevel=1|syntax on|help'
:echo synconcealed(1, 1)
[1, '', 33]
:echo synconcealed(1, 1)
[1, '', 43]
:echo synconcealed(1, 1)
[1, '', 53]

Notice that the 3rd value changes at each call. Bug?
So I did no test the 3rd element in the list returned by
synconcealed().

Codecov Report

Merging #1783 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1783      +/-   ##
==========================================
+ Coverage   75.15%   75.15%   +<.01%
==========================================
  Files          76       76
  Lines      125082   125043      -39
==========================================
- Hits        94004    93981      -23
+ Misses      31078    31062      -16

Impacted Files
Coverage Δ

src/if_xcmdsrv.c
85.37% <0%> (-0.93%)
:arrow_down:

src/if_py_both.h
75.56% <0%> (-0.46%)
:arrow_down:

src/gui_gtk_x11.c
47.44% <0%> (-0.11%)
:arrow_down:

src/screen.c
74.59% <0%> (+0.02%)
:arrow_up:

src/os_unix.c
58.78% <0%> (+0.14%)
:arrow_up:

src/evalfunc.c
81.6% <0%> (+0.46%)
:arrow_up:

Continue to review full report at Codecov.

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

While creating the test, I noticed 2 bugs:

The 2nd element in the list returned by synconcealed()
is wrong when conceallevel=1 and when the syntax element
has no cchar [...]

I've just fixed this bug and updated the PR.
I've uncommented out the test that was previously failing
and updated the documentation of 'synconcealed() which
did not mention that behavior depends on 'listchars'.
I have not done anything for the 2nd issues that looks like a bug:

The 3rd element in the list returned by synconcealed() is different
for every calls. It looks like a bug,


Is jdk11 Perfectly Supported？？？？？

Expected behavior
Actual behavior
Steps to reproduce or test case
Redis version
Redisson version
Redisson configuration

Yes, Redisson supports JDK 11


Verification of peer handlers using Dijkstra's weakest precondition calculus

This (quite large) PR contains the conversion of the RWST monad to a datatype so that the AST of a peer's handler functions can be inspected, allowing us to generate the weakest pre-condition for any desired post-condition of an effectful computation. It also includes several proofs, including progress on VotesOnce for the model of the real implementation.
This PR is still a draft. There are several places where the style guide has been violated (in particular the with spacing), modules and functions without comments, and there is inconsistent naming of some modules. However, I'm creating the draft now so that we can discuss the changes to the modeling and verification effort that accepting this PR entails.

LGTM