rrules for apply

This PR adds the following differentiation rules

apply(::Vector{ITensor}, ::MPO) for MPO conjugate evolution (including noisy gates).
apply for MPO evolution with apply_dag = false.
contract(::MPO, ::MPO)
tr(::MPO)

Codecov Report

Merging #852 (7ece12f) into main (d6ce046) will decrease coverage by 0.57%.
The diff coverage is 23.88%.

:exclamation: Current head 7ece12f differs from pull request most recent head 4f3165b. Consider uploading reports for the commit 4f3165b to get more accurate results

@@            Coverage Diff             @@
##             main     #852      +/-   ##
==========================================
- Coverage   76.10%   75.53%   -0.58%
==========================================
  Files          67       66       -1
  Lines        7613     7660      +47
==========================================
- Hits         5794     5786       -8
- Misses       1819     1874      +55

Impacted Files
Coverage Δ

src/ITensorChainRules/ITensorChainRules.jl
75.60% <20.31%> (-20.79%)
:arrow_down:

src/itensor.jl
85.94% <100.00%> (ø)

src/packagecompile/compile.jl
0.00% <0.00%> (-29.42%)
:arrow_down:

...nceOptimization/ContractionSequenceOptimization.jl
62.50% <0.00%> (-4.17%)
:arrow_down:

src/global_variables.jl
90.90% <0.00%> (-0.21%)
:arrow_down:

src/physics/sitetype.jl
93.60% <0.00%> (-0.04%)
:arrow_down:

src/mps/abstractmps.jl
86.58% <0.00%> (-0.02%)
:arrow_down:

...ensorVisualizationCore/ITensorVisualizationCore.jl

src/physics/site_types/qubit.jl
66.15% <0.00%> (+4.61%)
: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 d6ce046...4f3165b. Read the comment docs.

OK I added the plev feature in the tr(MPO) rrule.


[scann] Error: Reason: image not found

I installed by source and it was successful after I did this fix but it seems that is not finding scann and when I run python -c "import scann" it shows me this error
Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/scann/__init__.py", line 1, in <module>     from scann.scann_ops.py.scann_builder import ScannBuilder   File "/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/scann/scann_ops/py/scann_builder.py", line 17, in <module>     from scann.scann_ops.py import scann_ops   File "/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/scann/scann_ops/py/scann_ops.py", line 25, in <module>     "cc/_scann_ops.so"))   File "/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/tensorflow_core/python/framework/load_library.py", line 57, in load_op_library     lib_handle = py_tf.TF_LoadLibrary(library_filename) tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/user/.pyenv/versions/3.7.3/lib/python3.7/site-packages/scann/scann_ops/cc/_scann_ops.so, 6): image not found
Any ideas on what can this be?  I'm using Mac Catalina 10.15.6
Thanks a lot!

Never mind, the problem was during installation.
For mac I needed to change all #include <hash_set>
 #if defined __GNUC__ || defined __APPLE__
#include <ext/hash_set>
#else
#include <hash_set>
#endif

Were you able to import and use scann sucessfully? After applying you fixes, I still faced the issues below both Python 3.7.9 and Python 3.8.6.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.7/site-packages/scann/__init__.py", line 3, in <module>
    from scann.scann_ops.py import scann_ops_pybind
  File "/Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.7/site-packages/scann/scann_ops/py/scann_ops_pybind.py", line 30, in <module>
    import scann_pybind
ImportError: dlopen(/Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.7/site-packages/scann/scann_ops/cc/python/scann_pybind.so, 2): Symbol not found: __PyThreadState_Current
  Referenced from: /Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.7/site-packages/scann/scann_ops/cc/python/scann_pybind.so
  Expected in: flat namespace
 in /Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.7/site-packages/scann/scann_ops/cc/python/scann_pybind.so

With Python 3.6.12 I get this issue:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.6/site-packages/scann/__init__.py", line 3, in <module>
    from scann.scann_ops.py import scann_ops_pybind
  File "/Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.6/site-packages/scann/scann_ops/py/scann_ops_pybind.py", line 30, in <module>
    import scann_pybind
ImportError: dlopen(/Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.6/site-packages/scann/scann_ops/cc/python/scann_pybind.so, 2): Symbol not found: __Py_ZeroStruct
  Referenced from: /Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.6/site-packages/scann/scann_ops/cc/python/scann_pybind.so
  Expected in: flat namespace
 in /Users/eugeneya/projects/Cobar/src/Cobar/google-research/scann/.venv/lib/python3.6/site-packages/scann/scann_ops/cc/python/scann_pybind.so```


How about making voice AI?

Describe the feature
writing text with AI.

definitely a great feature; there are lots of STT (speech-to-text) APIs out there :)
I'd like to keep this module focused on core chat functionality, but it's 100% possible to build voice STT & TTS on top of this package
thanks!

impatient to wait.
Good luck!


Update keyfile config to be a PASSWORD

The keyfile config right now is a string. This means that the connector logs are printing the keyfile which is unsafe.

Codecov Report

Merging #242 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #242      +/-   ##
============================================
+ Coverage     68.69%   68.89%   +0.19%
- Complexity      267      275       +8
============================================
  Files            32       32
  Lines          1460     1469       +9
  Branches        152      154       +2
============================================
+ Hits           1003     1012       +9
  Misses          409      409
  Partials         48       48

Impacted Files
Coverage Δ
Complexity Δ

...ka/connect/bigquery/config/BigQuerySinkConfig.java
83.42% <100%> (ø)
25 <0> (ø)
:arrow_down:

...nect/bigquery/convert/BigQuerySchemaConverter.java
97.56% <0%> (+0.19%)
26% <0%> (+5%)
:arrow_up:

...nect/bigquery/convert/BigQueryRecordConverter.java
91.3% <0%> (+0.23%)
48% <0%> (+3%)
:arrow_up:

Looks good to me, will merge it.


create workflow for calling cointainers-mirror workflows

/cc @lmilbaum @sallyom This should allow us to call workflows in the other repo however it requires a secrets.PAT to be created for a personal access token that has permission to create workflow_dispatches. Maybe we do this for a bot user?

although for running the actual workflows like model_server and chatbot we will need a PAT with more permissions:
{
  "message": "Must have admin rights to Repository.",
  "documentation_url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event"
}
```.

What I can do:

- list workflows in both repos
- run mirror_repos workflow in `containers/ai-lab-recipes`

what I cannot do:

- run chatbot workflow in `containers-mirror/ai-lab-recipes`
- run model_server workflow in `containers-mirror/ai-lab-recipes`

/hold until I can get @lmilbaum to TAL and approve if we can move forward with PATs or if I should construct a Github application for it

We have decided to move away from this approach, instead experimenting with self hosted runners leveraging the https://github.com/philips-labs/terraform-aws-github-runner repository. More context around this decision can be found in the thread starting  here.


chore: Drop knative imports

Fixes #N/A
Description
This PR drops knative imports and replaces any usage with alternatives.
How was this change tested?
Manually tested
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

39 of 59 (66.1%)  changed or added relevant lines in 6 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.08%) to 80.699%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/apis/v1/nodeclaim_validation.go
13
14
92.86%

pkg/operator/operator.go
1
3
33.33%

pkg/operator/logging/logging.go
0
3
0.0%

pkg/utils/env/env.go
10
24
41.67%

Files with Coverage Reduction
New Missed Lines
%

pkg/scheduling/requirements.go
2
98.01%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.08%

Covered Lines:
8362

Relevant Lines:
10362

💛  - Coveralls


chore(release): 1.18.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 9ba6895791b87431b1181813e0c1952d68cf0864
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 9ba6895791b87431b1181813e0c1952d68cf0864
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Force-pushed to force GitHub Actions to get the gears turning, as apparently the previous run never exited "queued" state, and also cannot be cancelled (and hence, cannot be retried).

Force-pushed to force GitHub Actions to get the gears turning, as apparently the previous run never exited "queued" state, and also cannot be cancelled (and hence, cannot be retried).

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 4b484977a2c62a20c737b6f71d85785751acee46
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-5lHf64IXfvmr
Commit ID: 4b484977a2c62a20c737b6f71d85785751acee46
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Will re-generate.

Will re-generate.


[Snyk] Fix for 49 vulnerabilities

Snyk has created this PR to fix 49 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/tech-insights-node/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Remote Code Execution (RCE) SNYK-JS-MYSQL2-6591085
  275

Arbitrary Code Injection SNYK-JS-MYSQL2-6670046
  275

Regular Expression Denial of Service (ReDoS) SNYK-JS-ANSIREGEX-1583908
  265

Regular Expression Denial of Service (ReDoS) SNYK-JS-SEMVER-3247795
  265

Regular Expression Denial of Service (ReDoS) SNYK-JS-ZOD-5925617
  264

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-7577916
  224

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-7577917
  224

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-7577918
  224

Server-side Request Forgery (SSRF) SNYK-JS-IP-6240864
  221

Incomplete List of Disallowed Inputs SNYK-JS-BABELTRAVERSE-5962462
  218

Prototype Pollution SNYK-JS-MYSQL2-6861580
  198

Information Exposure Through an Error Message SNYK-JS-BACKSTAGEBACKENDAPPAPI-6229731
  190

Uncontrolled resource consumption SNYK-JS-BRACES-6838727
  169

Regular Expression Denial of Service (ReDoS) SNYK-JS-CROSSSPAWN-8303230
  169

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-8187303
  169

Denial of Service (DoS) SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
  169

Denial of Service (DoS) SNYK-JS-WS-7266574
  169

Path Traversal SNYK-JS-BACKSTAGEBACKENDCOMMON-6274391
  164

Information Exposure SNYK-JS-FOLLOWREDIRECTS-6444610
  159

Improper Handling of Extra Parameters SNYK-JS-FOLLOWREDIRECTS-6141137
  158

Path Traversal SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
  158

Cross-site Scripting (XSS) SNYK-JS-WEBPACK-7840298
  155

Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JS-TAR-6476909
  142

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
  131

Improper Verification of Cryptographic Signature SNYK-JS-ELLIPTIC-8172694
  130

Regular Expression Denial of Service (ReDoS) SNYK-JS-PATHTOREGEXP-8482416
  125

Inefficient Regular Expression Complexity SNYK-JS-MICROMATCH-6838728
  124

Server-Side Request Forgery (SSRF) SNYK-JS-IP-7148531
  119

Prototype Poisoning SNYK-JS-MYSQL2-6591084
  118

Use of Web Browser Cache Containing Sensitive Information SNYK-JS-MYSQL2-6591300
  118

Regular Expression Denial of Service (ReDoS) SNYK-JS-ADOBECSSTOOLS-6096077
  114

Improper Verification of Cryptographic Signature SNYK-JS-BROWSERIFYSIGN-6037026
  114

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  111

Prototype Pollution SNYK-JS-TOUGHCOOKIE-5672873
  111

Cross-site Scripting (XSS) SNYK-JS-SERIALIZEJAVASCRIPT-6147607
  109

Cross-site Scripting (XSS) SNYK-JS-ROLLUP-8073097
  108

Denial of Service (DoS) SNYK-JS-GRAPHQL-5905181
  104

Denial of Service (DoS) SNYK-JS-NWSAPI-2841516
  87

Cross-site Scripting SNYK-JS-EXPRESS-7926867
  79

Cross-site Scripting SNYK-JS-SEND-7926862
  79

Cross-site Scripting SNYK-JS-SERVESTATIC-7926865
  79

Open Redirect SNYK-JS-EXPRESS-6474509
  74

Regular Expression Denial of Service (ReDoS) SNYK-JS-PATHTOREGEXP-7925106
  67

Regular Expression Denial of Service (ReDoS) SNYK-JS-WORDWRAP-3149973
  57

Resource Exhaustion SNYK-JS-JOSE-6419224
  49

Improper Input Validation SNYK-JS-POSTCSS-5926692
  45

Cross-site Scripting (XSS) SNYK-JS-COOKIE-8163060
  44

Improper Input Validation SNYK-JS-NANOID-8492085
  44

Regular Expression Denial of Service (ReDoS) SNYK-JS-ADOBECSSTOOLS-5871286
  42

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Information Exposure Through an Error Message
🦉 Path Traversal
🦉 More lessons are available in Snyk Learn

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


Scream on unix host stops recieving after 5-10 minutes and requires restart

I am using this with windows 11 v4 client and ubuntu lts for the server. When using scream, it seems to receiving audio on the server after some time. While the client continues to broadcast. Restarting the scream thread via terminal immediately works again only for it to stop again after some time.

Probably a problem with some network equipment timing out the IGMP reservation.
Please try unicast, if that also doesn't work, it must be something else.


about imagenet-r

why not reproduce imagenet-r? i used your code to reproduce imagenet-r and i got significantly better results compared to the original paper? is there anything wrong?

Hi,
thanks for your comment.
I will reproduce Split Imagenet-R in the future.
How much better results did you get than paper?
It seems to me that there is no implementation problem.
The results of reproducing Split CIFAR-100 as an official code also showed different results from the paper.
The reproduce results were worse in my environment with RTX 3090.
My PyTorch implementation rather achieved better results than the paper in Split CIFAR-100.
I think it's likely the library difference between PyTorch and TensorFlow or the HW environment difference.
If you have any additional comments, please feel free to let us know.
Best,
Jaeho Lee.

Hi,
thanks for the comment.
I don't know for sure because I haven't tested ImageNet-R yet.
As of now, the problem I am expecting is as follows.

Did you make the dataset transform fair with the official code?
In my experience, while experimenting with Split CIFAR-100, I found that there was a large difference in performance depending on the transform or augmentation.

Would you like to have an args.unscale_lr as True?
The official code scales the learning rate according to the number of GPUs, but it is not used basically in my code.

(more questions). I've tried running on a single gpu, and also 8 GPUs.
Did the out of memory issue occur?
If so, please refer to the link.
Here's the solution I found.

Please reply if you need further discussion.
Best,
Jaeho Lee.

Hi, thanks for the comment.
I don't know for sure because I haven't tested ImageNet-R yet. As of now, the problem I am expecting is as follows.

Did you make the dataset transform fair with the official code?
In my experience, while experimenting with Split CIFAR-100, I found that there was a large difference in performance depending on the transform or augmentation.
Would you like to have an args.unscale_lr as True?
The official code scales the learning rate according to the number of GPUs, but it is not used basically in my code.
(more questions). I've tried running on a single gpu, and also 8 GPUs.
Did the out of memory issue occur?
If so, please refer to the link.
Here's the solution I found.

Please reply if you need further discussion.
Best, Jaeho Lee.

regarding to data transoform, i looked into the official code and the data augmentations i found for imagenet-r are as follows, which i think is rather weak augmentation and can not be any weaker.
i use single gpu now but i will look into this. Honestly, i don't think this can cause the 10% performance increase.
in your link, it seems that even though you might be able to reduce memory usage by using smaller model or reduced batch_size, the problem of " pre-allocates 90% of the available GPU memory " still can not be solved. Thus, we still can not reproduce the original dualprompt in the paper, right?

Thanks for your quick reply!

Sorry for the delayed reply.
I think I implemented the transformation and augmentation in the same way as the official code.
I don't know where there was a 10% performance improvement.
However, I have succeeded in implementing the Split-ImageNet-R code and achieving reasonable results similar to the results of the paper and official code reproduction.
I updated the code and README, so please check it.
Please feel free to discuss.
Best,
Jaeho Lee.

Sorry for the delayed reply.
I think I implemented the transformation and augmentation in the same way as the official code. I don't know where there was a 10% performance improvement.
However, I have succeeded in implementing the Split-ImageNet-R code and achieving reasonable results similar to the results of the paper and official code reproduction.
I updated the code and README, so please check it.
Please feel free to discuss.
Best, Jaeho Lee.

thanks a lot, i followed the link about jax above and successfully ran the official code.

Sorry for the delayed reply.
I think I implemented the transformation and augmentation in the same way as the official code. I don't know where there was a 10% performance improvement.
However, I have succeeded in implementing the Split-ImageNet-R code and achieving reasonable results similar to the results of the paper and official code reproduction.
I updated the code and README, so please check it.
Please feel free to discuss.
Best, Jaeho Lee.

what was the main factor of the 10% improvement for imgnet-R ?


Add two overload variants to validate_arguments

Change Summary
Added two overload variants to validate_arguments for the nested decorator signature.
Related issue number
fix #2052
Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

Unrelatedly, I like how all I've got to do is run make locally before pushing - I like this better than the pre-commit workflow adopted by Python projects, but I suppose that's just personal preference.


Add ZHAOHANBING1024's file

created a branch, created a file and made a commit, and opened a pull request

dsgsdgefg


Startup page should be changed at Day 2

When I launched this app at Feb. 19th, the app open Feb. 18th's tab.

Thanks! I also think it should open same day tab.


Invalid properties when creating collection

Currently when creating a collection this key org.freedesktop.Secret.Item.Label is being used, which I think causes the error. Based on the latest spec for the org.freedesktop.Secret.Service.CreateCollection method it expects a org.freedesktop.Secret.Collection.Label.
running 1 test
test test::should_create_and_delete_collection ... FAILED

failures:

---- test::should_create_and_delete_collection stdout ----
thread 'test::should_create_and_delete_collection' panicked at 'called `Result::unwrap()` on an `Err` value: Zbus(MethodError("org.freedesktop.DBus.Error.InvalidArgs", Some("Invalid properties"), Msg { type: Error, sender: ":1.23", reply-serial: 3, body: Signature: [
	s (115),
] }))', src/lib.rs:359:64
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test::should_create_and_delete_collection

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 31 filtered out

Sorry I've been extremely busy lately and didn't have the energy to look at this. I'll take a look soon.


Error "date.getTime is not a function" if rangeMode=false

Hi -
I have been working on implementing this date picker (in particular to get the range capability) and so it far has been going very well.
Strangely, the first issue I've really run into is that it throws an error if I set [rangeMode]="false" and then click on a date in the picker. Do you have an idea as to why or how to fix? Seems like maybe the value is not
Please see the image below. Thank you for building this!

A bit more context:
With [rangeMode]="false" the picker still displays a range initially (in the demo).
When I open the calendar and click a date, the isValid() function is called multiple times. The first few times everything is ok (the date object is a date):

But then it is called again and the date object is like
{
   begin: <date object>,
   end: <date object>
}

So in this instance, .getTime is not a function of the object above. I hope this helps to trace this down.

No sooner had I posted this, then I realized my error.
In the demo, I was setting [rangeMode]="false", but I was still setting a default value for the date variable to be:
date = { begin: new Date(2018, 7, 5), end: new Date(2018, 7, 25) };

I changed this to simply be
date = new Date(2018, 7, 5);

and everything works perfectly.
My apologies!


Maybe you would like to actually put the name and date on the Apache License

And maybe MIT if you're not with georust

oops! updated the mit license: https://github.com/frewsxcv/cargo-all-features/blob/master/LICENSE-MIT
in the apache license, the text at the bottom is not meant to be updated. the license is telling you what you can put at the top of the files
https://github.com/frewsxcv/cargo-all-features/blob/2c7509e76d562e040f187eed42b2861510505532/LICENSE-APACHE#L178-L187


Fibaro FGR-223 Roller Shutter 3

Hello Julien,
I cannot make the code for the FGR-223, on your repository, work.
I have this module working with the Fibaro Dimmer 2 ZW5 DTH, but without full functionality. Fibaro has the device handler for the refered dimmer available here on github. Can you please help and build the code for this module, or in alternative do you have somewhere where I can find some documentation on the commands used by Fibaro.
Thanks in advance.
João

Would also appreciate having a DH for FGR-223 .

He cannot debug it so he removed the code .
see here
There is another developer That I approached him .
Maybe he can create a working DH for us
see here


geofirestore__WEBPACK_IMPORTED_MODULE_5___default.a is not a constructor

Hi,
I'm getting the error geofirestore__WEBPACK_IMPORTED_MODULE_5___default.a is not a constructor
Originally seen in a nuxt app I'm working on, and reproduced in a vue cli 3 default app for testing. Also tried downgrading firebase to v5.0.3 like another person had luck with - no luck for me.
The vue cli 3 test project can be found here. The relevant code is inside the HelloWorld.vue component, here.
Thanks for your work on this library! Hopefully this is a quick fix.

@MikeJWms the way that you're importing firebase and geofirestore are off, try changing lines 8->10 to this
import * as firebase from 'firebase/app';
import 'firebase/firestore' //if use firestore
import {GeoFirestore} from 'geofirestore'

Awesome, thanks for the quick response!


Get the operation DofTransformation->InvTransformPrimal as a dense matrix

Hi all,
I am wondering if I can get the function DofTransformation->InvTransformPrimal as an operator (dense matrix), let's say transp,
Now mfem commonly use
Vector loc_data;
if(doftrans)
{
  doftrans->InvTransformPrimal(loc_data)
}

I want to use
DenseMatrix transp;
DofTransformation->Get_InvTransformPrimal_Operator(transp);
transp.MultTranspose(loc_data, loc_data_new)
loc_data_new is now equivalent to loc_data.
Best,
Adam

Hi, @adam-sim-dev,
We certainly could add such a method but it does not currently exist. The reason is that transp would be mostly zeros so filling and applying such an operator would not be as efficient as calling doftrans->InvTransformPrimal(loc_data) or doftrans->TransformDual(loc_data) (I believe transp.MultTranspose would produce the same result as doftrans->TransformDual(loc_data)). For example, on a 2nd order tetrahedron there are 20 degrees of freedom, 12 of which are on edges and therefore not altered by the DofTransformation. In this case the transp matrix would be a 20x20 dense matrix with twelve ones along the diagonal and four 2x2 diagonal blocks for the 4 pairs of DoFs internal to the four faces. This would produce a dense matrix with potentially only 28 non-zero values i.e. 93% empty.
That being said, I do recognize that a DenseMatrix has certain advantages. If this is something you need I would suggest that you consider working with the 2x2 submatrices. This is how the implementations are done internally. We don't currently have an interface that we could expose to the user but we could add this. Such an interface would need to provide the appropriate offsets into the local vectors, references to the DenseMatrix objects, as well as the numbers and sizes of the blocks (currently 2x2 blocks handle the Nedelec case but other requirements might arise in the future). Does this sound like something you would find useful?
Best wishes,
Mark

Hi @mlstowell ,
Thanks for the explanation. I also see your comments https://github.com/mfem/mfem/pull/3379#issuecomment-1362028238
This feature is useful for me because for my application I have to call doftrans->InvTransformPrimal thousands of times. If I could save this operator as a DenseMatrix, then I can just do linear algebra and will save a lot of time.
Best,
Adam

Hi, @adam-sim-dev,
doftrans->InvTransformPrimal has the potential to produce 256 different 20x20 operators based on the orientations of the four faces of a tetrahedron (assuming 2nd order basis functions). On the other hand there are only six of the 2x2 matrices (and only four of them appear under usual circumstances).
The DofTransformation is a relatively new class and I'd be happy to work with you to find more efficient ways to provide this information in your use-case but I'd like to better understand your requirements first.
Best wishes,
Mark

Hi, @mlstowell
What I do is very similar to GridFunction::GetVectorValue(), i.e., the electromagnetic field interpolation.
I want to

Save the shape function as a DenseMatrix shape , then e = shape * sol.
For the high-order FEs, I need the InvTransformPrimal (in the matrix form transform), then e = shape * transform * sol.

I am solving time-varying EM problems, so I want to save the operator interpolation = shape * transform then I can calculate the electric field quickly without the tedious operation in GridFunction::GetVectorValue()

Hi, @adam-sim-dev,
doftrans->InvTransformPrimal has the potential to produce 256 different 20x20 operators based on the orientations of the four faces of a tetrahedron (assuming 2nd order basis functions). On the other hand there are only six of the 2x2 matrices (and only four of them appear under usual circumstances).

For one element, if given the element number and the IntegrationPoint, is doftrans->InvTransformPrimal unique?

Yes, it would be. It depends only on the topology of the mesh so even the integration point is not relevant. It will vary with element number but that's all.

Okay, this makes sense now. One way you could do this with the existing interface is to transform your shape matrix.  The correct call should be doftrans->TransformDualRows(shape);. This replaces the DenseMatrix shape with the product shape * transform. If you need to recompute shape at multiple integration points you would need to call doftrans->TransformDualRows(shape); for each shape matrix but this should be more efficient than performing a matrix-matrix multiply.

Okay, this makes sense now. One way you could do this with the existing interface is to transform your shape matrix.  The correct call should be doftrans->TransformDualRows(shape);. This replaces the DenseMatrix shape with the product shape * transform. If you need to recompute shape at multiple integration points you would need to call doftrans->TransformDualRows(shape); for each shape matrix but this should be more efficient than performing a matrix-matrix multiply.

Oh, thank you very much. I have not noticed the function TransformDualRows(shape) yet. I will have a try.


Vispy errors on double click on canvas

🐛 Bug

When during right-click on the canvas and moving view the left button is clicked then many of these exceptions show in terminal
14:02:30 WARNING Traceback (most recent call last):
  File "/home/czaki/.pyenv/versions/napari/bin/napari", line 33, in <module>
    sys.exit(load_entry_point('napari', 'console_scripts', 'napari')())
  File "/home/czaki/Projekty/napari/napari/__main__.py", line 431, in main
    _run()
  File "/home/czaki/Projekty/napari/napari/__main__.py", line 324, in _run
    run(gui_exceptions=True)
  File "/home/czaki/Projekty/napari/napari/_qt/qt_event_loop.py", line 391, in run
    app.exec_()
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/app/backends/_qt.py", line 567, in event
    out = super(QtBaseCanvasBackend, self).event(ev)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/app/backends/_qt.py", line 532, in mouseMoveEvent
    self._vispy_mouse_move(
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/app/base.py", line 216, in _vispy_mouse_move
    ev = self._vispy_canvas.events.mouse_move(**kwargs)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/util/event.py", line 453, in __call__
    self._invoke_callback(cb, event)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/util/event.py", line 469, in _invoke_callback
    cb(event)
  File "/home/czaki/Projekty/napari/napari/_vispy/canvas.py", line 84, in _process_mouse_event
    super()._process_mouse_event(event)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/scene/canvas.py", line 369, in _process_mouse_event
    getattr(picked.events, event.type)(scene_event)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/util/event.py", line 453, in __call__
    self._invoke_callback(cb, event)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/util/event.py", line 471, in _invoke_callback
    _handle_exception(self.ignore_callback_errors,
  << caught exception here: >>
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/util/event.py", line 469, in _invoke_callback
    cb(event)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/scene/cameras/perspective.py", line 225, in viewbox_mouse_event
    self._update_rotation(event)
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/scene/cameras/arcball.py", line 65, in _update_rotation
    Quaternion(*_arcball(self._event_value, wh)) *
  File "/home/czaki/.pyenv/versions/3.8.3/envs/napari/lib/python3.8/site-packages/vispy/scene/cameras/arcball.py", line 104, in _arcball
    x, y = -(2. * x - w) / r, (2. * y - h) / r
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
ERROR: Invoking <bound method Base3DRotationCamera.viewbox_mouse_event of <ArcballCamera at 0x7f3b0d0528e0>> for SceneMouseEvent
14:02:30 ERROR Invoking <bound method Base3DRotationCamera.viewbox_mouse_event of <ArcballCamera at 0x7f3b0d0528e0>> for SceneMouseEvent

To Reproduce
Steps to reproduce the behavior:

load scikit-image -> Binary blobs 3d
Switch to 3d view
during change zoom with right mouse button click left mouse button (keeping right)

Expected behavior
No errors on missclick

Environment
napari: 0.4.13.dev7+g2f6c4377a
Platform: Linux-5.11.0-38-generic-x86_64-with-glibc2.2.5
System: Ubuntu 21.04
Python: 3.8.3 (default, Sep 3 2021, 01:19:46) [GCC 10.3.0]
Qt: 5.15.2
PyQt5: 5.15.4
NumPy: 1.19.5
SciPy: 1.7.1
Dask: 2021.09.0
VisPy: 0.9.2
OpenGL:

GL version: 4.6.0 NVIDIA 470.74
MAX_TEXTURE_SIZE: 32768

Screens:

screen 1: resolution 2560x1440, scale 1.0
screen 2: resolution 1920x1080, scale 1.0
screen 3: resolution 1920x1080, scale 1.0

Plugins:

animation: 0.0.2
console: 0.0.4
ome-types: 0.2.9
platelet-unet-watershed: 0.0.3
scikit-image: 0.4.13.dev7+g2f6c4377a
svg: 0.1.5

Additional context
Maybe it is vispy bug but it is not part of my expertise and I do not know how to verify it. Maybe @alisterburt and @brisvag could check?

@Czaki : I can't reproduce this on main and looks like the vispy fix that @brisvag made should have been in napari for several months. If this is fixed for you too, please close this issue.


Document application non-functional requirements in “Definition of Done”

Document non-functional requirements for the application. These requirements should state clearly the overall technical requirements needed for the application such as:

Responsive UI

Batch processing

Data scope - i.e. national, english language, PDF

Deep linked URLs to all pages

Doing so will ensure that the key functional requirements are clear whilst the application is built.
This these non-functional requirements apply to all stories, these should be documented as part of a “definition of done” as all stories should be evaluated against their requirements.

I captured a few here: https://www.notion.so/climatepolicyradar/Tech-notes-c57f4e9954aa465883bdf0db76397ab6


adds signBlob to support upcoming Freighter feature

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Adds support for an upcoming Freighter API, signBlob which allows signing arbitrary blobs. This is needed to take advantage of Soroban features like contract auth.

What is the current behavior? (You can also link to an open issue here)

Missing API support, but not yet released.

What is the new behavior (if this is a feature change)?

Freighter will now allow signing b64 encoded blobs in addition to xdr.

Other information:

Related Freighter PR
https://github.com/stellar/freighter/pull/912

The change was merged, @aristides let me know once the new version of Freighter's library is available so I make a new version with the updated dependency


ttributeError: 'module' object has no attribute 'Index'

Hi,
When I run the command  $bin/opensfm_run_all data/berlin/
there is an error:
2017-10-26 17:15:14,535 Extracting ROOT_HAHOG features for image 01.jpg
2017-10-26 17:15:14,535 Extracting ROOT_HAHOG features for image 02.jpg
2017-10-26 17:15:14,535 Extracting ROOT_HAHOG features for image 03.jpg
2017-10-26 17:15:14,700 Found mask to apply for image 01.jpg
2017-10-26 17:15:14,701 Found mask to apply for image 03.jpg
2017-10-26 17:15:14,715 Found mask to apply for image 02.jpg
2017-10-26 17:15:15,733 Found 4791 points in 0.891205072403s
2017-10-26 17:15:15,735 Found 4749 points in 0.895270109177s
2017-10-26 17:15:15,736 Found 4810 points in 0.882534980774s
Traceback (most recent call last):
File "/home/liron/Documents/carbam/Structure_from_motion/OpenSfM-master/bin/opensfm", line 35, in
command.run(args)
File "/home/liron/Documents/carbam/Structure_from_motion/OpenSfM-master/opensfm/commands/detect_features.py", line 34, in run
p.map(detect, arguments)
File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/lib/python2.7/multiprocessing/pool.py", line 567, in get
raise self._value
AttributeError: 'module' object has no attribute 'Index'
what is the problem? I couldn't find it.
Thank you

We have recently updated the way we run parallel tasks. The error you hit seems to be on a previous version. Could you try updating to current master?

Thank you for your answer. I updated the files but it's still not working.
The error is very same:
bin/opensfm_run_all data/berlin
2017-10-29 10:01:19,419 Extracting focal lengths for image 01.jpg
2017-10-29 10:01:19,424 Extracting focal lengths for image 02.jpg
2017-10-29 10:01:19,427 Extracting focal lengths for image 03.jpg
2017-10-29 10:01:20,017 Extracting ROOT_HAHOG features for image 01.jpg
2017-10-29 10:01:20,167 Found mask to apply for image 01.jpg
2017-10-29 10:01:20,266 Extracting ROOT_HAHOG features for image 02.jpg
2017-10-29 10:01:20,423 Found mask to apply for image 02.jpg
2017-10-29 10:01:20,523 Extracting ROOT_HAHOG features for image 03.jpg
2017-10-29 10:01:20,677 Found mask to apply for image 03.jpg
2017-10-29 10:01:21,203 Found 4791 points in 0.911629915237s
2017-10-29 10:01:21,417 Found 4810 points in 0.870511054993s
2017-10-29 10:01:21,669 Found 4749 points in 0.873190164566s
Traceback (most recent call last):
File "/home/liron/Documents/carbam/OpenSfM-master/bin/opensfm", line 34, in
command.run(args)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/commands/detect_features.py", line 29, in run
parallel_map(detect, arguments, processes)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/context.py", line 20, in parallel_map
return list(e.map(func, args))
File "/usr/local/lib/python2.7/dist-packages/loky/process_executor.py", line 769, in _chain_from_iterable_of_lists
for element in iterable:
File "/usr/local/lib/python2.7/dist-packages/loky/_base.py", line 584, in result_iterator
yield future.result()
File "/usr/local/lib/python2.7/dist-packages/loky/_base.py", line 431, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/loky/_base.py", line 382, in __get_result
raise self._exception
AttributeError: 'module' object has no attribute 'Index'

Thank you for your answer. I updated the files. I installed loky by $pip install loky,
and I still have the same error (but now in loky):
bin/opensfm_run_all data/berlin
2017-10-29 10:01:19,419 Extracting focal lengths for image 01.jpg
2017-10-29 10:01:19,424 Extracting focal lengths for image 02.jpg
2017-10-29 10:01:19,427 Extracting focal lengths for image 03.jpg
2017-10-29 10:01:20,017 Extracting ROOT_HAHOG features for image 01.jpg
2017-10-29 10:01:20,167 Found mask to apply for image 01.jpg
2017-10-29 10:01:20,266 Extracting ROOT_HAHOG features for image 02.jpg
2017-10-29 10:01:20,423 Found mask to apply for image 02.jpg
2017-10-29 10:01:20,523 Extracting ROOT_HAHOG features for image 03.jpg
2017-10-29 10:01:20,677 Found mask to apply for image 03.jpg
2017-10-29 10:01:21,203 Found 4791 points in 0.911629915237s
2017-10-29 10:01:21,417 Found 4810 points in 0.870511054993s
2017-10-29 10:01:21,669 Found 4749 points in 0.873190164566s
Traceback (most recent call last):
File "/home/liron/Documents/carbam/OpenSfM-master/bin/opensfm", line 34, in
command.run(args)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/commands/detect_features.py", line 29, in run
parallel_map(detect, arguments, processes)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/context.py", line 20, in parallel_map
return list(e.map(func, args))
File "/usr/local/lib/python2.7/dist-packages/loky/process_executor.py", line 769, in _chain_from_iterable_of_lists
for element in iterable:
File "/usr/local/lib/python2.7/dist-packages/loky/_base.py", line 584, in result_iterator
yield future.result()
File "/usr/local/lib/python2.7/dist-packages/loky/_base.py", line 431, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/loky/_base.py", line 382, in __get_result
raise self._exception
AttributeError: 'module' object has no attribute 'Index'

Thanks for trying. My guess is that there is something wrong with the installed version of OpenCV since Index might be related to OpenCV's FLANN library.
The actual error message is being hidden by the multiprocessing layer. Could you try running on a single process to get a simpler error message?  You can do so by setting
processes: 1

in data/berlin/config.yaml.

Thank you.
It seems you are right.
the error now is :
2017-10-31 11:06:21,134 Extracting focal lengths for image 01.jpg
2017-10-31 11:06:21,168 Extracting focal lengths for image 02.jpg
2017-10-31 11:06:21,180 Extracting focal lengths for image 03.jpg
2017-10-31 11:06:21,621 Extracting ROOT_HAHOG features for image 01.jpg
2017-10-31 11:06:21,782 Found mask to apply for image 01.jpg
2017-10-31 11:06:22,730 Found 4791 points in 0.824751853943s
Traceback (most recent call last):
File "/home/liron/Documents/carbam/OpenSfM-master/bin/opensfm", line 34, in
command.run(args)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/commands/detect_features.py", line 29, in run
parallel_map(detect, arguments, processes)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/context.py", line 17, in parallel_map
return map(func, args)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/commands/detect_features.py", line 63, in detect
index = features.build_flann_index(f_sorted, data.config)
File "/home/liron/Documents/carbam/OpenSfM-master/opensfm/features.py", line 299, in build_flann_index
flann_Index = cv2.flann.Index if context.OPENCV3 else cv2.flann_Index
AttributeError: 'module' object has no attribute 'Index'
Do you know what is the solution for it?

For some releases of OpenCV version 3, the flann index class was accessible from python in a different way than in OpenCV 2. We have a condition checking for the opencv version because of that.
I've just tested version 3.2 and 3.3 and that is no longer the case. So I'll remove the condition.

Please check with the lastest master branch.
Thanks!


[libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-windows and x64-linux] build failure after PR #14535

Host Environment

OS: Both Windows and Linux
[Microsoft Windows [Version 10.0.19042.630]]
[openSUSE Leap 15.2] on WSL2 and Hyper-V
Compiler:

Windows

Visual Studio 2017 Version: 15.9.29  VS Tools Version: 14.16.27023
Visual Studio 2019 Version: 16.8.1  VS Tools Version: 14.28.29333

OpenSUSE

gcc (SUSE Linux) 9.3.1 20200406 [revision 6db837a5288ee3ca5ec504fbd5a765817e556ac2]

To Reproduce
Steps to reproduce the behavior:

Windows

git pull with commit https://github.com/microsoft/vcpkg/commit/5dc53211caedebf4387d590155ed53ee44161f10 PR #14535 [libarchive] Re-fix dependencies, combine patches
.\bootstrap-vcpkg.bat -verbose -disableMetrics -win64 -withVSPath 'C:\Program Files (x86)\Microsoft Visual Studio\<2017 or 2019>\Community\'
.\vcpkg.exe remove libarchive:x64-windows
rmdir /q /s .\buildtrees\libarchive
->.\vcpkg.exe --debug --printmetrics install --x-use-aria2 --recurse --keep-going --editable   libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-windows
Afterwards deleted and recreated vcpkg instances with same results.

OpenSUSE

same as one above
./bootstrap-vcpkg.sh --disableMetrics
./vcpkg remove libarchive:x64-linux
rm -rf ./buildtrees/libarchive
vcpkg --debug --printmetrics install --x-use-aria2 --recurse --keep-going --editable   libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-linux

Failure logs

Cut and past the appropriate build messages from the console output.

Windows
Warning: passed either --printmetrics or --no-printmetrics, but metrics are disabled.
[DEBUG] Feature flag 'binarycaching' = off
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' = off
[DEBUG] Feature flag 'registries' = off
[DEBUG] Feature flag 'versions' unset
[DEBUG] Using vcpkg-root: D:\vcpkg_x64\vs2017\test
[DEBUG] Using installed-root: D:\vcpkg_x64\vs2017\test\installed
[DEBUG] Using buildtrees-root: D:\vcpkg_x64\vs2017\test\buildtrees
[DEBUG] Using downloads-root: D:\vcpkg_x64\vs2017\test\downloads
[DEBUG] Using packages-root: D:\vcpkg_x64\vs2017\test\packages
[DEBUG] Using scripts-root: D:\vcpkg_x64\vs2017\test\scripts
[DEBUG] Default binary cache path is: E:\vcpkg_x64\vs2017\test\vcpkg\archives
Computing installation plan...
[DEBUG] Found path: C:\Program Files\CMake\bin\cmake.exe
[DEBUG] Found path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after    26009 us
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg_x64/vs2017/test -DPACKAGES_DIR=D:/vcpkg_x64/vs2017/test/packages -DBUILDTREES_DIR=D:/vcpkg_x64/vs2017/test/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg_x64/vs2017/test/installed -DDOWNLOADS=D:/vcpkg_x64/vs2017/test/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg_x64\vs2017\test\buildtrees\0.vcpkg_tags.cmake")
[DEBUG] cmd_execute_and_stream_data() returned 0 after    15602 us
The following packages will be built and installed:
    libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-windows
[DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml)
[DEBUG] cmd_execute_and_stream_data() returned 0 after   149396 us
[DEBUG] Binary caching for package libarchive:x64-windows is disabled due to --editable
Starting package 1/1: libarchive:x64-windows
Building package libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-windows...
[DEBUG] Found path: C:\Program Files\Git\cmd\git.exe
[DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after    18542 us
[DEBUG] Found path: C:\Program Files\PowerShell\7\pwsh.exe
[DEBUG] CreateProcessW("C:\Program Files\PowerShell\7\pwsh.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after   133966 us
[DEBUG] CreateProcessW(cmd /c ""C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64   2>&1 <NUL" & echo cdARN4xjKueKScMy9C6H& set)
[DEBUG] cmd_execute_and_stream_data() returned 0 after   637278 us
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DPORT=libarchive -DCURRENT_PORT_DIR=D:/vcpkg_x64/vs2017/test/ports/libarchive -DVCPKG_USE_HEAD_VERSION=0 -D_VCPKG_NO_DOWNLOADS=0 -D_VCPKG_DOWNLOAD_TOOL=ARIA2 -D_VCPKG_EDITABLE=1 "-DFEATURES=bzip2;core;libxml2;lz4;lzma;lzo;openssl;zstd" "-DALL_FEATURES=bzip2;libxml2;lz4;lzma;lzo;openssl;zstd;" -DCMD=BUILD -DTARGET_TRIPLET=x64-windows "-DTARGET_TRIPLET_FILE=D:\vcpkg_x64\vs2017\test\triplets\x64-windows.cmake" -DVCPKG_PLATFORM_TOOLSET=v141 -DDOWNLOADS=D:/vcpkg_x64/vs2017/test/downloads -DVCPKG_CONCURRENCY=8 "-DGIT=C:/Program Files/Git/cmd/git.exe" -DVCPKG_ROOT_DIR=D:/vcpkg_x64/vs2017/test -DPACKAGES_DIR=D:/vcpkg_x64/vs2017/test/packages -DBUILDTREES_DIR=D:/vcpkg_x64/vs2017/test/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg_x64/vs2017/test/installed -DDOWNLOADS=D:/vcpkg_x64/vs2017/test/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg_x64\vs2017\test\scripts\ports.cmake")
-- Using cached D:/vcpkg_x64/vs2017/test/downloads/libarchive-libarchive-fc6563f5130d8a7ee1fc27c0e55baef35119f26c.tar.gz
-- Extracting source D:/vcpkg_x64/vs2017/test/downloads/libarchive-libarchive-fc6563f5130d8a7ee1fc27c0e55baef35119f26c.tar.gz
-- Applying patch fix-buildsystem.patch
-- Applying patch fix-dependencies.patch
-- Applying patch fix-cpu-set.patch
-- Applying patch disable-warnings.patch
-- Using source at D:/vcpkg_x64/vs2017/test/buildtrees/libarchive/src/f35119f26c-c97ae2f4c9
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:142 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j8
    Working Directory: D:/vcpkg_x64/vs2017/test/buildtrees/libarchive/x64-windows-dbg
    See logs for more information:
      D:\vcpkg_x64\vs2017\test\buildtrees\libarchive\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_cmake.cmake:93 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/libarchive/portfile.cmake:66 (vcpkg_install_cmake)
  scripts/ports.cmake:136 (include)

[DEBUG] cmd_execute_and_stream_data() returned 1 after 54226868 us
Error: Building package libarchive:x64-windows failed with: BUILD_FAILED
Elapsed time for package libarchive:x64-windows: 55.03 s

Total elapsed time: 55.18 s

RESULTS
    libarchive:x64-windows: BUILD_FAILED: 55.03 s

SUMMARY
    SUCCEEDED: 0
    BUILD_FAILED: 1
    POST_BUILD_CHECKS_FAILED: 0
    FILE_CONFLICTS: 0
    CASCADED_DUE_TO_MISSING_DEPENDENCIES: 0
    EXCLUDED: 0
[DEBUG] d:\vcpkg_x64\vs2017\test\toolsrc\src\vcpkg\install.cpp(991)
[DEBUG] Exiting after 55253696 us (55252954 us)

OpenSUSE
[DEBUG] Feature flag 'binarycaching' = off
[DEBUG] Feature flag 'manifests' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Using vcpkg-root: /home/<username>/git/vcpkg
[DEBUG] Using installed-root: /home/<username>/git/vcpkg/installed
[DEBUG] Using buildtrees-root: /home/<username>/git/vcpkg/buildtrees
[DEBUG] Using downloads-root: /home/<username>/git/vcpkg/downloads
[DEBUG] Using packages-root: /home/<username>/git/vcpkg/packages
[DEBUG] Using scripts-root: /home/<username>/git/vcpkg/scripts
[DEBUG] Default binary cache path is: /home/<username>/.cache/vcpkg/archives
Computing installation plan...
[DEBUG] Found path: /usr/bin/cmake
[DEBUG] popen("/home/<username>/git/vcpkg/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/bin/cmake" --version 2>&1)
[DEBUG] cmd_execute_and_stream_data() returned 0 after     1888 us
[DEBUG] popen(/home/<username>/git/vcpkg/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/bin/cmake -DVCPKG_ROOT_DIR=/home/<username>/git/vcpkg -DPACKAGES_DIR=/home/<username>/git/vcpkg/packages -DBUILDTREES_DIR=/home/<username>/git/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=/home/<username>/git/vcpkg/installed -DDOWNLOADS=/home/<username>/git/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P /home/<username>/git/vcpkg/buildtrees/0.vcpkg_tags.cmake 2>&1)
[DEBUG] cmd_execute_and_stream_data() returned 0 after     2069 us
The following packages will be built and installed:
    libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-linux
[DEBUG] Binary caching for package libarchive:x64-linux is disabled due to --editable
Starting package 1/1: libarchive:x64-linux
Building package libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-linux...
[DEBUG] Found path: /usr/bin/ninja
[DEBUG] popen("/home/<username>/git/vcpkg/downloads/tools/ninja-1.10.1-linux/ninja" --version 2>&1)
[DEBUG] cmd_execute_and_stream_data() returned 0 after     2052 us
[DEBUG] Found path: /usr/bin/git
[DEBUG] popen("/usr/bin/git" --version 2>&1)
[DEBUG] cmd_execute_and_stream_data() returned 0 after     1831 us
[DEBUG] popen(/home/<username>/git/vcpkg/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/bin/cmake -DPORT=libarchive -DCURRENT_PORT_DIR=/home/<username>/git/vcpkg/ports/libarchive -DVCPKG_USE_HEAD_VERSION=0 -D_VCPKG_NO_DOWNLOADS=0 -D_VCPKG_DOWNLOAD_TOOL=ARIA2 -D_VCPKG_EDITABLE=1 "-DFEATURES=bzip2;core;libxml2;lz4;lzma;lzo;openssl;zstd" "-DALL_FEATURES=bzip2;libxml2;lz4;lzma;lzo;openssl;zstd;" -DCMD=BUILD -DTARGET_TRIPLET=x64-linux -DTARGET_TRIPLET_FILE=/home/<username>/git/vcpkg/triplets/x64-linux.cmake -DVCPKG_PLATFORM_TOOLSET=external -DDOWNLOADS=/home/<username>/git/vcpkg/downloads -DVCPKG_CONCURRENCY=5 -DGIT=/usr/bin/git -DVCPKG_ROOT_DIR=/home/<username>/git/vcpkg -DPACKAGES_DIR=/home/<username>/git/vcpkg/packages -DBUILDTREES_DIR=/home/<username>/git/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=/home/<username>/git/vcpkg/installed -DDOWNLOADS=/home/<username>/git/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P /home/<username>/git/vcpkg/scripts/ports.cmake 2>&1)
-- Using cached /home/<username>/git/vcpkg/downloads/libarchive-libarchive-fc6563f5130d8a7ee1fc27c0e55baef35119f26c.tar.gz
-- Using source at /home/<username>/git/vcpkg/buildtrees/libarchive/src/f35119f26c-c97ae2f4c9
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:106 (message):
    Command failed: /home/<username>/git/vcpkg/downloads/tools/cmake-3.18.4-linux/cmake-3.18.4-Linux-x86_64/bin/cmake /home/<username>/git/vcpkg/buildtrees/libarchive/src/f35119f26c-c97ae2f4c9 -DENABLE_BZip2=ON -DENABLE_LIBXML2=ON -DENABLE_LZ4=ON -DENABLE_LZMA=ON -DENABLE_LZO=ON -DENABLE_OPENSSL=ON -DENABLE_ZSTD=ON -DPOSIX_REGEX_LIB=NONE -DENABLE_ZLIB=ON -DENABLE_PCREPOSIX=OFF -DENABLE_NETTLE=OFF -DENABLE_EXPAT=OFF -DENABLE_LibGCC=OFF -DENABLE_CNG=OFF -DENABLE_TAR=OFF -DENABLE_CPIO=OFF -DENABLE_CAT=OFF -DENABLE_XATTR=OFF -DENABLE_ACL=OFF -DENABLE_ICONV=OFF -DENABLE_TEST=OFF -DENABLE_WERROR=OFF -DCMAKE_MAKE_PROGRAM=/home/<username>/git/vcpkg/downloads/tools/ninja-1.10.1-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/<username>/git/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/home/<username>/git/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/home/<username>/git/vcpkg -D_VCPKG_INSTALLED_DIR=/home/<username>/git/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/<username>/git/vcpkg/packages/libarchive_x64-linux/debug
    Working Directory: /home/<username>/git/vcpkg/buildtrees/libarchive/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/<username>/git/vcpkg/buildtrees/libarchive/config-x64-linux-dbg-out.log
      /home/<username>/git/vcpkg/buildtrees/libarchive/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:321 (vcpkg_execute_required_process)
  ports/libarchive/portfile.cmake:46 (vcpkg_configure_cmake)
  scripts/ports.cmake:136 (include)

[DEBUG] cmd_execute_and_stream_data() returned 256 after 38894439 us
Error: Building package libarchive:x64-linux failed with: BUILD_FAILED
Elapsed time for package libarchive:x64-linux: 39.03 s

Total elapsed time: 39.03 s

RESULTS
    libarchive:x64-linux: BUILD_FAILED: 39.03 s

SUMMARY
    SUCCEEDED: 0
    BUILD_FAILED: 1
    POST_BUILD_CHECKS_FAILED: 0
    FILE_CONFLICTS: 0
    CASCADED_DUE_TO_MISSING_DEPENDENCIES: 0
    EXCLUDED: 0
[DEBUG] ../src/vcpkg/install.cpp(991)
[
  {
    "ver": 1,
    "name": "Microsoft.ApplicationInsights.Event",
    "time": "2020-11-14T00:47:16.0Z",
    "sampleRate": 100.000000,
    "seq": "0:0",
    "iKey": "b4e88960-4393-4dd9-ab8e-97e8fe6d7603",
    "flags": 0,
    "tags": {
      "ai.device.os": "Other",
      "ai.device.osVersion": "Linux-unknown",
      "ai.session.id": "99f99adb-0d04-401e-98df-2237e314f46b",
      "ai.user.id": "51736edc-caf9-464b-85ef-1eb10736c9ab",
      "ai.user.accountAcquisitionDate": "2020-06-10T00:33:58.0Z"
    },
    "data": {
      "baseType": "EventData",
      "baseData": {
        "ver": 2,
        "name": "commandline_test7",
        "properties": {
          "version": "2020.11.12-unknownhash",
          "command": "install",
          "installplan_1": "9c2b7b2d88381ee218182c8cc0b6accd27697f0b1a81ff8607990e9cad55b7e2",
          "error": "build failed",
          "build_error": "libarchive:x64-linux",
          "buildnames_1": [
            "9c2b7b2d88381ee218182c8cc0b6accd27697f0b1a81ff8607990e9cad55b7e2:[09e61bc3a2412f610b1784706d9ed9e8b4d9eb29e8d0e415e888b4172beae8d3,0d45f5fd462b8c70bffb10021ac1bcff3f58f29b1faf7568595095427d42812c,e35d532a1c2504cded399563df0f302954d701b8f4bdb36264113b171547aa1b,d846fc5d0425258664cb17e29c4e6db4f40ae1bcb6a68399747cf6ed81157887,3b5d113903aa0d10ca41e52484d41cfdb06fc3452087ddac736650bcea7b1203,523b065f90e7c5aff8f9b64d62abcc29313fdbc46e7b525091267d223526e609,41ffca929b95c49690ab8815d1d1a134a5bcdd86bde407c0f46b90eabf556b05,242daddb4ed79680ac790d9f9c01ca43c8fc3a16f1af137f7cb090c086988782]"
          ],
          "buildtimes": [
            39028925.200000
          ]
        },
        "measurements": {
          "elapsed_us": 39097927.400000
        },
        "feature-flags": {
          "binarycaching": false,
          "compilertracking": true,
          "registries": false,
          "versions": false,
          "manifests": false
        }
      }
    }
  }
]

[DEBUG] Exiting after 39098960 us (39097927 us)

Please attach any additional failure logs mentioned in the console output.

Windows

VS 2017
install-x64-windows-dbg-out.log

VS 2019
install-x64-windows-dbg-out.log

OpenSUSE
CMakeError.log
CMakeOutput.log
config-x64-linux-dbg-err.log
config-x64-linux-dbg-out.log

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
Logs contain the following message:

Windows
D:\vcpkg_x64\<vs-version>\test\buildtrees\libarchive\x64-windows-dbg\config.h(59): fatal error C1189: #error:  No 64-bit integer type was found. where version is either VS 2017 or VS 2019
OpenSUSE - I have no idea where to start on this, but I included the files mentioned in console output and the CMakeError and CMakeOutput logs mentioned in the config-x64-linux-dbg-out.log

Update:

I created a vanilla clone of vcpkg from microsoft/vcpkg on both OpenSUSE and Windows to do this testing, thus eliminating any customizations done locally.

I did some testing with triplets tested: x86-windows x86-windows-static x64-windows x64-windows-static x64-linux:

All these triplets install properly with core feature only
->.\vcpkg.exe --debug --printmetrics install --x-use-aria2 --recurse --keep-going --editable libarchive[core]:<triplet>
All these triplets fail with any other features in addition to core:
->.\vcpkg.exe --debug --printmetrics install --x-use-aria2 --recurse --keep-going --editable libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:<triplet>

I did some comparing between before and after the commit mentioned above:

The source before the commit extracts to src\f35119f26c-ff047c825d where after the commit is extracted to src\f35119f26c-c97ae2f4c9 even though the same source file is downloaded and extracted. I am at a loss on why the extracted source directories/folders would be different?
The CMakeLists.txt files shows code dealing with the feature are somewhat different on how the feature ports are found, configured and used. I am not a CMake expert and unsure if this code implementation changes are the cause of the failures?

In the meantime as a work around I have removed this commit from my production vcpkg instances.

There are dozens of issues about libarchive!
Perhaps it is a regression or buggy VS compiler or ... broken environment?
Just built it from source and haven't come across any of the issues reported here.

The failure is also appearing int the CI automatic checks for most pull requests at time.
It seems to get down to int64 type mapping not being done properly and the compilation fails because it hit
#if !defined(HAVE_INT64_T)
#error No 64-bit integer type was found.
#endif

on config.h file

it looks like CHECK_TYPE_SIZE macro is failing for all types... event 32 bytes types. I'm not getting a clue why it is so

The attached CMakeFileLists.txt solves the issue but I guess the fix is quite ugly.
I had to moved the

Check for integer types

section right after INCLUDE(CheckTypeSize)
I also add to move
CHECK_FUNCTION_EXISTS_GLIBC(_get_timezone HAVE__GET_TIMEZONE)
earlier in the file
and modify the target lib for zstd according to static or shared builds
I have no real clue about what is happening.
I suspect strange things with push / pop variable states and cached variables.
CMakeLists.txt

In C:\vcpkg\buildtrees\libarchive\x64-windows-dbg\CMakeFiles\CMakeError.log,  some of the errors are
src.c(2): fatal error C1083: Cannot open include file: 'dirent.h': No such file or directory
src.c(2): fatal error C1083: Cannot open include file: 'sys/ndir.h': No such file or directory
src.c(2): fatal error C1083: Cannot open include file: 'ndir.h': No such file or directory
src.c(2): fatal error C1083: Cannot open include file: 'sys/dir.h': No such file or directory
HAVE_ACL_LIBACL_H.c(3): fatal error C1083: Cannot open include file: 'acl/libacl.h': No such file or directory
HAVE_ATTR_XATTR_H.c(3): fatal error C1083: Cannot open include file: 'attr/xattr.h': No such file or directory
HAVE_COPYFILE_H.c(4): fatal error C1083: Cannot open include file: 'copyfile.h': No such file or directory
HAVE_DLFCN_H.c(5): fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory
HAVE_EXT2FS_EXT2_FS_H.c(6): fatal error C1083: Cannot open include file: 'ext2fs/ext2_fs.h': No such file or directory
src.c(1): fatal error C1083: Cannot open include file: 'sys/ioctl.h': No such file or directory
HAVE_GRP_H.c(7): fatal error C1083: Cannot open include file: 'grp.h': No such file or directory
CheckTypeSize\ID_T.c(29): error C2065: 'id_t': undeclared identifier

LINK : fatal error LNK1104: cannot open file 'libzstd.lib'

ninja: build stopped: subcommand failed.

@linquize Are you on Windows or Linux?
I wonder where 'ndir.h' file comes from? I am unable to find in my Windows SDK folder.
I have also enabled zstd.

I just proposed a PR to fix the issue : https://github.com/microsoft/vcpkg/pull/14579

I can confirm PR #14579 [libarchive] regression fix corrects the ports mentioned in this issue.
Thank you very much @Matioupi 😊😊👍

Ops, sorry.

I'm very interested in the invalidation of CHECK_TYPE_SIZE. My patch removed CMAKE_PUSH_CHECK_STATE and CMAKE_POP_CHECK_STATE simultaneously, so there should be no state leakage problems.

I know, from the CMakeError.log: LINK : fatal error LNK1104: cannot open file 'libzstd.lib'.
This caused this issue.

Thank you everyone.
@JackBoosY @strega-nil - I do not see how anyone did anything incorrectly. The patch did make it through the CI pipeline (I checked to see if the pipeline just did libarchive or libarchive with all features and all features were selected) so I do not know why it would not work locally...
It is just one of those things.
Everyone do not get discouraged by it, use it as a learning experience. 👍👍👍


Add NovaLogic Engine

SteamDB app page links to a few games using this

Delta Force: Black Hawk Down
Delta Force: Xtreme
Delta Force: Task Force Dagger
Delta Force Land Warrior
Delta Force 2
Delta Force
Delta Force Xtreme 2
Comanche 4

Brief explanation of the change
Add NovaLogic engine. Find commonly used NovaLogic files.

After running changed rules in this pull request (this bot only tests rules.ini changes):
Changed technologies: Engine.NovaLogic_Engine
These apps now match: (15) 32610 32620 32630 32640 32650 32660 32670 32680 32690 32700 32710 32720 32750 32760 32770
Please confirm that all these changed apps are correct.

Yep.

After running changed rules in this pull request (this bot only tests rules.ini changes):
Changed technologies: Engine.NovaLogic_Engine
These apps now match: (15) 32610 32620 32630 32640 32650 32660 32670 32680 32690 32700 32710 32720 32750 32760 32770
Please confirm that all these changed apps are correct.

merged in 8849a4134504bc8ec7537015401c063cdc771f40


GDScript 2.0: Breakpoints not hit in nested classes

Godot version: 4.0.dev.custom_build. 55faf1c874fae5b67928395d3a35889bbb4e458b
Works fine on 3.3 RC8

OS/device including version: Win10 64bit

Issue description:
Breakpoints on code in functions of a nested class will not be hit

Steps to reproduce:

Add a node to a scene with a custom script
Create a nested class with a function in that script and set a breakpoint at any point in the function
Create an object of the nested class and call that function during _ready() of the node
Run the scene, the breakpoint will not be hit

Minimal reproduction project:
NestedClassBreakpoint.zip
Remember to actually add a breakpoint on line 10 or 11 of the script file to reproduce the bug with this reproduction project.

Still confirmed on latest master 85186bc

I cannot reproduce on current master, probably was fixed along the way.


Error: No module named spacy

Hi @fabriceyhc,
First of all, thank you for creating this project, I really appreciate it.
When I first installed emoji_translate and tried running the sample code, it threw some error -
Traceback (most recent call last):
  File "main.py", line 3, in <module>
    emo = Translator(exact_match_only=False, randomize=True)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/emoji_translate/emoji_translate.py", line 17, in __init__
    from spacy.lang.en.stop_words import STOP_WORDS
ModuleNotFoundError: No module named 'spacy'

Fix was to install spacy separately.

I had the same problem, but I also had to install regex first


Jupyter notebooks unusable if too large

Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
(refer to issue 9478 for more details)

Create a jupyter notebook
Generate a complex plot
Repeat generating plots until the tab for this notebook goes completely blank
Quit vs code (it will not be possible to close the tab anymore) and save when prompted
Re-open the file: it will be displayed as raw json code and not rendered as a notebook

This is already reported as issue 9478, which is marked as "closed" although the bug still exists.
According to that issue it is possible to work around this by turning off the setting "python.dataScience.enablePlotViewer"
After I did that, my notebook was able to be loaded again, however it was corrupted and everything after the first 1/4 or so was gone.
In addition to this, the suggested fix of opening it in Jupyterlab did not work; Jupyterlab crashed on my notebook.
(The notebook I am working with is 147 MB because I made some very complex plots with hundreds of thousands of data points.)
I believe I was able to recover all my code by opening the notebook as text and deleting all the output JSON data, which reduced the size to 20k,  and then opening it again, when it was recognized as a Jupyter notebook again.
In summary, the behavior described in 9478 still exists and seems to be potentially able to lead to data loss via corruption of the notebook. The existence of a workaround which is documented only in the closed bug report does not seem to be a good reason to close the issue.
Actual behavior
(refer to issue 9478)
Expected behavior
(refer to issue 9478)

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local | Remote | N/A
Extension version: 20YY.MM.#####-xxx
VS Code version: #.##
Setting python.jediEnabled: true | false
Setting python.languageServer: Jedi | Microsoft | None
Python and/or Anaconda version: #.#.#
OS: Windows | Mac | Linux (distro):
Virtual environment: conda | venv | virtualenv | N/A | ...

Python Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Thanks for the issue.
We actually have a couple of issues open related to this already:
https://github.com/microsoft/vscode-python/issues/13552
https://github.com/microsoft/vscode-python/issues/12388
Issue https://github.com/microsoft/vscode-python/issues/12388 is were we plan to fix this.

Ah ok thanks, I did some searching but it didn't lead me to that issue. Hopefully the reference link chain will help tie this all together now!


No option to set maximum concurrency

Hey,
Would love to had this feature, in some cases we don't want to stress the service we're using even though "right now" it can handle more concurrent requests.
Thoughts?

I will soon deliver a PR for this

https://github.com/moshemal/congestion-control/pull/2

merged


Missing import in async receiver

Need to import errors here:
https://github.com/Azure/azure-uamqp-python/blob/master/uamqp/async/receiver_async.py#L11

Released fix in RC1


[snarky-rs] add Sys to Var

This is a proposal to add Sys: Cs to Var in the circuit writer.
Essentially, we need to pass a main sys around all the time to do interesting things with our variables (like add two variables together). It's a bit annoying, so this PR adds a pointer to sys in vars so you can just do things like:
    let x1 = sys.var(|| F::one());
    let x2 = sys.var(|| F::one());
    let x3 = x1 + x2;
    let two = sys.constant(F::from(2u32));
    sys.assert_eq(x3, two);

instead of
    let x1 = sys.var(|| F::one());
    let x2 = sys.var(|| F::one());
    let x3 = sys.add(x1, x2);
    let two = sys.constant(F::from(2u32));
    sys.assert_eq(x3, two);

I'm actually not convinced that it's the best idea, as it makes the code a bit more complicated/verbose for a marginal gain. But perhaps it is still a good idea if we push this further. What do people think? Maybe I took a more complicated than necessary approach also.
The approach can be summarized as:
// a var now holds a Sys

- pub struct Var<F>
+ pub struct Var<Sys, F>
where
    Sys: Clone,
{
    /// A unique identifier for this variable.
    pub index: usize,
    /// ends up holding a value when generating the witness.
    pub value: Option<F>,
+    /// A pointer to the system.
+    pub sys: Sys,
}

// now Cs is implemented on a Rc<RefCell<Sys>>

- impl<F: PrimeField> Cs<F> forWitnessGenerator<F> {
+ impl<F: PrimeField> Cs<F> for Rc<RefCell<WitnessGenerator<F>>> {

// So these changes need to happen on Cs itself:

- pub trait Cs<F: PrimeField> {
+ pub trait Cs<F: PrimeField>: Sized + Clone {
-    fn var<G>(&mut self, g: G) -> Var<F>
+    fn var<G>(&self, g: G) -> Var<Self, F>

where

cc @katat

waiting on feedback for https://github.com/o1-labs/proof-systems/pull/605 which should simplify this approach


Customize c# client code generation

I'm using the dotnet cli nswag to generate a c# client with a nswag configuration file. I have the following questions:

How to output multiple cs files instead of a big cs that contains all classes? Can i output one class per cs file?
The swagger json input that i have currently doesn't have operationid. Can i generate the c# client using a pattern  on path in combination of a method type(ex: /api/v7/{number}/clients get => GetClients)

Thanks

I would like to know the status of this. Was this already implemented?

Multiple files output is not yet supported in NSwag and its tooling - just in NJsonSchema (base of NSwag)

Yes, I know. But this is not top priority for me right now.
First I want to finish OpenApi 3 and API Explorer support...

Any ETA on this?

Hi,
I am really grateful for this tool, and appreciate the efforts. I do also would like to inquire when this feature would be implemented. Generating everything in one huge file is a bit messy. And to be able to break down the api and its clients to separate files would be much of use.
Thank you.

Duplicate of: https://github.com/RSuter/NSwag/issues/1398


Fix annotation access in a module's tests

Purpose
$title.
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/23043
Approach
This did not work earlier since annotations were loaded only if the function name is "<init>" whereas for the test module's init the name seems to be "<testinit>".
See https://github.com/ballerina-platform/ballerina-lang/issues/23043#issuecomment-622419746 for details.
This fix checks for "<testinit>" in addition to "<init>".
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[x] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #23348   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 90b4fcf...617031e. Read the comment docs.


Use api to get Playground ID instead of ID env var. #392.

Addresses #392, closes #438. [As part of this change, env_vars is no longer needed, so it's deleted, and checks for session_vars props needed to be moved around as this gets the ID in a different way.]

Just fyi, this one needs an approving review to be merged @BryceStevenWilley


 should be

You currently render <!DOCTYPE> in doctype().
According to htlm5 specs, however, it is expected to be <!DOCTYPE html>.
Info: https://www.w3schools.com/tags/tag_doctype.asp

Right you are.


[FLINK-35600] Add timestamp for low and high watermark

https://issues.apache.org/jira/browse/FLINK-35600

@leonardBang @ruanhang1993 PTAL.

@JNSimba Thanks for this PR. Please add some tests to cover the changes.

Thanks, itcase has been added,PTAL @ruanhang1993

I changed this to compare timestamp in BinlogOffset.compare method, so there is no need to set serverid, PTAL, thanks @ruanhang1993

@lvyanquan Do you have time to help to review this PR again?


Sparse lanczos

implementation of sparse symmetric lanczos methods for numpy and pytorch backends

Hey @Thenerdstation have a look and let me know what you think!

I'll close the other PR since its obsolete


getting error "Could not resolve dependencies"

[ERROR] Failed to execute goal on project api: Could not resolve dependencies for project com.capitalone.dashboard:api:jar:3.0.1: Failed to collect dependencies at com.capitalone.dashboard:core:jar:[3.1.0-SNAPSHOT,): No versions available for com.capitalone.dashboard:core:jar:[3.1.0-SNAPSHOT,) within specified range -> [Help 1]
Appreciate some help !

getting the similar error myself...

@Sharmakartik  - Not working for me... I am getting the above mentioned errors some dependency issue with jira-feature-collector

You are working on which OS
Get Outlook for Androidhttps://aka.ms/ghei36

From: udiakasnuke<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 5:10:58 PM
To: Hygieia/Hygieia
Cc: Sharmakartik; Mention
Subject: Re: [Hygieia/Hygieia] getting error "Could not resolve dependencies" (#2627)
@Sharmakartikhttps://github.com/Sharmakartik - Not working for me... I am getting the above mentioned errors some dependency issue with jira-feature-collector
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Hygieia/Hygieia/issues/2627#issuecomment-445786944, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWMcdXLtyLhssDb7Z0fT5QZTlrtzN4oRks5u3khKgaJpZM4ZLFIk.

Mac OS...

I have checked on windows.
U can install each and everything from scratch.
Get Outlook for Androidhttps://aka.ms/ghei36

From: udiakasnuke<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 6:03:33 PM
To: Hygieia/Hygieia
Cc: Sharmakartik; Mention
Subject: Re: [Hygieia/Hygieia] getting error "Could not resolve dependencies" (#2627)
Mac OS...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Hygieia/Hygieia/issues/2627#issuecomment-445800040, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWMcddv0QDcyA8KA_0dkyvm2ypYh_z_Xks5u3lSdgaJpZM4ZLFIk.

I did everything from scratch on Mac machine... Does Hygieia has some reservation for Mac machine, should i use Windows machine for Hygieia setup ? As i read in docs it supports Mac..

I don't know about Mac. May b plugin problem.
Else if I get any solution. I will get on this thread immediately.
Get Outlook for Androidhttps://aka.ms/ghei36

From: udiakasnuke<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 6:09:05 PM
To: Hygieia/Hygieia
Cc: Sharmakartik; Mention
Subject: Re: [Hygieia/Hygieia] getting error "Could not resolve dependencies" (#2627)
I did everything from scratch on Mac machine... Does Hygieia has some reservation for Mac machine, should i use Windows machine for Hygieia setup ? As i read in docs it supports Mac..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Hygieia/Hygieia/issues/2627#issuecomment-445801371, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWMcdcw6JLM87EsJZJ5ZDpEnYEjyW6nmks5u3lXpgaJpZM4ZLFIk.

Sure!! In the mean time i will try and arrange a Windows machine and setup everything from scratch again :( .

Best way to go on AWS EC2 INSTANCE.
SPIN UP IN SECONDS.
Get Outlook for Androidhttps://aka.ms/ghei36

From: udiakasnuke<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 6:16:28 PM
To: Hygieia/Hygieia
Cc: Sharmakartik; Mention
Subject: Re: [Hygieia/Hygieia] getting error "Could not resolve dependencies" (#2627)
Sure!! In the mean time i will try and arrange a Windows machine and setup everything from scratch again :( .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Hygieia/Hygieia/issues/2627#issuecomment-445803226, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWMcdQAIF2Aauo3hye3PKvOpUoxzhKy_ks5u3lekgaJpZM4ZLFIk.

@udiakasnuke your issue is with mvn not having connectivity to pull down a jira dependency. It is not with Hygieia.

@ansha1 like @sharmakartik mentioned, have you downloaded and ran mvn clean install in Hygieia/hygieia-core first?

Yes
Get Outlook for Androidhttps://aka.ms/ghei36

From: Sbrenthughes<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 6:51:39 PM
To: Hygieia/Hygieia
Cc: Sharmakartik; Mention
Subject: Re: [Hygieia/Hygieia] getting error "Could not resolve dependencies" (#2627)
@ansha1https://github.com/ansha1 like @Sharmakartikhttps://github.com/Sharmakartik mentioned, have you downloaded and ran mvn clean install in Hygieia/hygieia-core first?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Hygieia/Hygieia/issues/2627#issuecomment-445812791, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWMcdZb6Ycm_bDYgfjw_UBu-62s26II-ks5u3l_jgaJpZM4ZLFIk.

@Sbrenthughes - how do i set this up correctly... I haven't configured mvn to anything extra.. I just installed it and set it's path in bash_profile ....
Thanks!! Any help is greatly appreciated!!

yes possible!!

You need to look up how to configure maven with a proxy

Documentation needs to be updated to show new structure.

@ansha1 Any updates?

@Sbrenthughes  - Looked like it was a proxy issue... I created my mobile hotspot to work around this because i couldn't get the proxy details... it was built successfully then

Hey @Sbrenthughes thanks for responding in such a short time !
We are in need of a dashboard which we can display on our LED display screen for our managers and scrum masters. And someone in my team suggested about Hygieia tool.
You should update your documentations about the fix you suggested above. It passed the last failure step for missing jar. Right now its failing for bower install, because i used root user for checking out code and running maven. Well i am creating a new user and will build again.
I will update here once its done.
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:bower (bower install) on project UI: Failed to run task: 'bower install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

You should enable it for root as well. Will ease our work :)

@Sharmakartik
I cloned Hygieia core and when I run "mvn clean install" , the build is failing with the below error:
org.apache.maven.plugin.MojoExecutionException: You need to run build with JDK or have tools.jar on the classpath.If this occures during eclipse build make sure you run eclipse under JDK as well
Can you please help ?? I am using windows machine, tried in unix box as well .. same error.

latest pull from hygieia core and clean build results in these issues:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.215 s
[INFO] Finished at: 2019-02-07T13:24:48Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.mysema.maven:apt-maven-plugin:1.1.3:process (default) on project core: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javax/annotation/Generated: javax.annotation.Generated -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
-- any recommended build environments? having tested in an alpine as well as local mac both resulting a frustrating compile errors. If there any working env configurations of hygieia anyone can share?


Eloquent event 'retrieved' is being emitted prior to eager loading relations

It seems that the Eloquent retrievedevents are being emitted by the framework prior to loading the eager relationships.
This causes for the N+1 query issue to persist even when trying to eager load (in fact, it now becomes a N+1+1 issue ;-) ) a relation that is depended on in the code that listens to the retrieved event.
Have a look at this trait: https://github.com/laravel-enso/versioning/blob/master/src/app/Traits/Versionable.php
It's working incredibly well, but as you can see at https://github.com/laravel-enso/versioning/blob/master/src/app/Traits/Versionable.php#L21, it is fetching the relation there, and since this code is run before the eager loading of the relationship, this is being executed for each individual event.
Is this expected behaviour, or am I right in thinking the event should only be dispatched after eager loading the requested relationships?

That's expected behavior.

This causes for the N+1 query issue to persist even when trying to eager load (in fact, it now becomes a N+1+1 issue ;-) ) a relation that is depended on in the code that listens to the retrieved event.

Can you provide a simple example?

Hi,
Well, the linked line in that trait is the example.
Consider this...
protected static function bootMyTrait()
{
    self::retrieved(function ($model) {
        // If you require a related model here and retrieve it like this for example...
        $model->myRelation;
    }
}

And you do this in your model:
public class MyModel extends Model {
    protected $with = ['myRelation'];
}

and then fetch the model:
$myModems = MyModel::all();

You will get the following database queries:
SELECT * FROM my_models  // retrieving the models from the database

Then, for each retrieved model:
SELECT * FROM my_relations WHERE my_model_id = '?'

--> this is already being executed before the relation I wanted to eager load is being called!
Finally, you get an eager loading relation query:
SELECT * FROM my_relations WHERE my_model_id IN ('?', '?', .... {n})

So, in the end, this causes for N+2 queries. I have now disabled eager loading on the model again to go back to N+1, vut I would like to get down to 2 queries again ;-)
Personally I think eager loading relations should be considered part of the retrieval process and the event should only be dispatched after...

Can you please fill out the issue template?

@driesvints Not sure what more that you need.  I've raised this as a feature request so I didn't get the template.  Just checked the template now, and all that it seems to be asking is the versions, or am I missing something?
Anyway.
Laravel version 5.8.32
PHP version 7.3
MySQL 5.7
Here is some more information...
This is what is being executed when fetching models:
public function get($columns = ['*'])
{
    $builder = $this->applyScopes();
    // If we actually found models we will also eager load any relationships that
    // have been specified as needing to be eager loaded, which will solve the
    // n+1 query issue for the developers to avoid running a lot of queries.
    if (count($models = $builder->getModels($columns)) > 0) {
        $models = $builder->eagerLoadRelations($models);
    }
    return $builder->getModel()->newCollection($models);
}

If you dive into the $builder->getModels($columns) bit, you will see that the models are being instantiated in this method:
public function newFromBuilder($attributes = [], $connection = null)
    {
        $model = $this->newInstance([], true);
        $model->setRawAttributes((array) $attributes, true);
        $model->setConnection($connection ?: $this->getConnectionName());
        $model->fireModelEvent('retrieved', false);
        return $model;
    }

As you can see, the retrieved event is being fired here.  However, the eager loading of the events is done after.
In an ideal world, the retrieved event should only be thrown after the relations have been eager loaded, as you can now not approach any related model in your listener for the retrieved event without causing for an N+1 query issue.  Now - for me - the retrieval is still ongoing (it still has to fetch the related models from the database) when the retrieved event is being thrown.
Please let me know if you need anything else.

Hey @denjaland if this is a feature request then this needs to be posted on the ideas repo. This repo is only for tracking bugs (see the issue templates). Feel free to post this on the ideas repo.

The question was whether this was a bug.  I'm not even sure this is an idea or a bug.
Anyway, I'll create a new issue and consider it a bug from my side then.

Hey @denjaland. You said:

I've raised this as a feature request

So that's why I closed this. Please see our issue templates when posting issue:

no worries.  I'm having a day where procedures seem more important than anything, and no one talks about the content ;)  Your response came at a bad time for me.   I see the reference now to the other repo, but I must have missed that before, so my apologies ;-)
Anyway - I just created #29658 - thanks.

@denjaland no worries man. Sorry if I was a bit crude. There's just a bunch of these issue daily and it's hard to provide enough attention/feedback to all of them. Thanks for opening up a new issue.


Update README.md and other related files

Closes #180

Codecov Report

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

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


Wednesday  26-04-2023-rollCall

Hello,
Please comment here, so we know you are attending today.

I am here

i am here

I am here

I am here

Hello everyone.

Hello! I'm excited to learn more about Github and practice more on our project. I'd like to improve my understanding of Git and explore the collaborative features of GitHub. Thank you for your guidance and your  support.

Good morning, i am here

Hi everyone

good morning,  I am here.

Hello everyone !

Hi, i'm here

Here!

Hello, I am here

I'm available

hi

I m here


I think the code samples will be very helpful

Nothing too critical, but this page is not useful without sample code

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

ID: 24234c5d-638c-4374-e7a5-af08f8d9202a
Version Independent ID: e7982719-db65-e91a-6bc8-c027bd74ccfb
Content: StorageSharedKeyCredential Class (Azure.Storage) - Azure for .NET Developers
Content Source: xml/Azure.Storage/StorageSharedKeyCredential.xml
Service: azure
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@kormanm We are looking into it and get back to you for any additional information.

@kormanm Thanks for your feedback.  You can find the sample to use StorageSharedKeyCredential over here.


Define gRPC contract between sidecar and function invoker

The question that gave rise to this was: if EOF occurs when sending a response to the sidecar, should this be treated as an error or regarded as normal?
It's probably best to document the protocol (i.e. the intended usage) for gRPC usage between the sidecar and function invoker

Added "gRPC Error Handling" to gRPC Protocol.


Plugin Architecture

We need a solid way include plugins into OmniSharp.
The current example we have is Cake which requires only packages for  OmniSharp.Abstractions and OmniSharp.Roslyn.
Things we need to do:

[ ] Define our public surface area (Needs issue)
[ ] Define what kind of plugins we support?

Diagnostics / Analyziers
Languages (cake, wyam?, vb?, f#?)
New endpoints?

[ ] Define how to load plugins (Needs issue)

Command Line args?  (We have this today)
New request handler to load dynamically?  Do we handle unloading?

[ ] How to load plugins via extension in vscode?
hidden command that is executed?
cc @DustinCampbell
[ ] How load plugins via extension in atom-ide?
via services
cc @daviwil
[ ] How to load plugins via Eclipse / Eclipse Che?
cc @mickaelistria

cc @mholo65
Original issue for reference:
#208

Command Line args?

This is a left over from the past when we didn't have a good config-options story. IMHO this command line arg should be removed altogether and we should move plugin configuration to https://github.com/OmniSharp/omnisharp-roslyn/blob/master/src/OmniSharp.Abstractions/Options/OmniSharpOptions.cs
This way the entire configuration pipeline could be used for plugin set up (so command line args, json files, env variables). This would be both consistent with other config options, and flexible for users who can choose whatever option they want (including the possibility of globally configuring OmniSharp with plugins directory).

Forgot about configuration, adding!

I think OmniSharp configuration pipeline is the way to go. Could plugin discovery be automated somehow? E.g. a VSCode extension that includes a plugin could register it somehow (search path which will the be appended to cmd line args for omnisharp.exe). User will have the possibility to override the search paths by adding a omnisharp.config in the workspace root.

Another issue will be to handle binding redirects. For the moment we do this https://github.com/OmniSharp/omnisharp-roslyn/blob/master/src/OmniSharp.Stdio/app.config#L8-L19 to facilitate third-party refactorings. It will likely need to grow. Plus, as a plugin author, you need to be aware that you may run against different Roslyn than you built for (which is really what happens in VS too).

A related issue: https://github.com/OmniSharp/omnisharp-roslyn/issues/773


Moving rolesanywhere(1) кesource to v1beta1 version

rolesanywhere

[ ] aws_rolesanywhere_trust_anchor

aws_rolesanywhere_trust_anchor

lastTransitionTime: "2023-02-20T15:32:26Z"
message: 'apply failed: creating RolesAnywhere Trust Anchor (example): operation
error RolesAnywhere: CreateTrustAnchor, https response error StatusCode: 400,
RequestID: 31b6fdcd-dfa0-4b0a-be82-71986dd88e30, ValidationException: Error
creating TrustAnchor. Given AWS PCA did not allow get request.: '
reason: ApplyFailure
status: "False"
type: LastAsyncOperation

Also depenent resource creation costs 100 USD, so we have a limited amount of attempts to test it


Can't execute sample code on Mega2560

Hi @chrismoos
I facing a problem when running sample code on Mega2560, which it's works on Uno.
Sample Code:
#include "Arduino.h"
#include <Wire.h>
#include "LiquidCrystal/LiquidCrystal_I2C.h"
#include <util/delay.h>

extern "C" {
    #include "avros/os.h"
}
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);  // Set the LCD I2C address

spinlock_t mutex;

void kernel_task(void *arg) {
    while(1) {
        spinlock_acquire(&mutex);
        lcd.setCursor(0, 0);
        lcd.print("kernel: " + String((long)os_get_uptime()));
        spinlock_release(&mutex);
        os_sleep(1000);
    }
}

void user_task(void *arg) {
    int x = 0;
    while(1) {
        spinlock_acquire(&mutex);
        lcd.setCursor(0, 1);
        lcd.print("user_task: " + String(x++));
        spinlock_release(&mutex);
        os_sleep(2000);
    }
}

void setup() {
    lcd.begin(16, 2);
    lcd.print("...");
    os_init();
}

void loop() {
    spinlock_init(&mutex);
    os_schedule_task(kernel_task, NULL, 0);
    os_schedule_task(user_task, NULL, 1);
    os_loop();
}

This is the result when running on Mega2560, it is stucking after calling os_init()

But same code run on Uno, it is works...

Thanks.
Chalos

Any updates? My sample project doesn't work on a Funduino board (Mega 2560) when running from current master branch.

@chalos @kneth how are you running it? Arduino IDE?

Yes, I am using Arduino IDE 1.6.

@kneth Different devices have different preprocessor definitions defined and the Arduino IDE doesn't use the Makefiles that set these.
For example in devices/arduino/mega2560 these are defined:
TARGET_OS_TASK_STACK_SIZE := 512
TARGET_OS_TICK_INTERVAL_MS := 10
TARGET_OS_MAX_TASKS := 18

You can try manually adding #define for these either in the Arduino global CFLAGS or in the actual avr source files.

@chrismoos I'll give it a shot and report back.


Create Typescript Data Models

Blocked by #4
When router definition is complete, also create typescript models to represent the data objects.

Done.

Completed building the Typescript models. The frontend works flawless.


Upload 0.4.3 to NPM

Hi,
I see you tagged 0.4.3  on Aug 22, 2016 but the latest version on NPM is 0.4.2. Could you upload 0.4.3 to NPM, please?

Done! https://www.npmjs.com/package/d3-flame-graph

Thanks!


Update README with Latest Features

The new discordian.sh script is super useful and needs to be documented properly in the README.md

This was completed via https://github.com/rlywtf/DiscordianAI/pull/28


Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.11.3
Commit ID: g8c3efc7be5fe

For that sample necessary to connect any PS/2 mouse, it is better to test it using a mouse with PS/2 connector like that one https://www.amazon.co.uk/Logitech-PS-Optical-Wheel-Mouse/dp/B000HGMMH6


现在使用你的最新版本1.25.9，还用区分Android和AndroidX吗？

Describe the bug
A clear and concise description of what the bug is.

The version of utilcode:
The device:
The version of device:

The code of bug

put your code here

The stack of crash

put the stack of crash here

Screenshots
If applicable, add screenshots to help explain your problem.
Please delete the current line and the followings.
Thank you for supporting AndroidUtilCode.

要区分啊


Delete Account for not confirmed email.

The delete account is not allowed for an user with an email that is not confirmed.

We should check this on the server side as well. Someone could spoof a request.


Add SVG and PNG logos for gt

Here are SVG and PNG versions of the gt hex logo. The PNG version has dimensions of 2214 × 2556. The SVG version has a viewBox of 0 0 737 850 (similar to other SVG hex logos). All type in the SVG logo has been converted to outlines.

Could you take a look as to where the extra 8 pixels are coming from? It should ideally be 2206 x 2557.

Sorry, I should've read the README instructions more carefully :/ . The PNG is now the correct size!

Thanks!