[DONOTMERGE][DEBUG] Debug the test issues in SPARK-20732

[DONOTMERGE][DEBUG] Debug the test issues in SPARK-20732
I can't repro the test failure except inside of Jenkins so try and get some more information as to whats going on

Test build #122447 has started for PR 28482 at commit 90f569f.

Merged build finished. Test PASSed.

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

Test build #122448 has started for PR 28482 at commit 202adda.

Merged build finished. Test PASSed.

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

Test build #122448 has finished for PR 28482 at commit 202adda.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

Test build #122450 has started for PR 28482 at commit eb3a65e.

Test build #122450 has finished for PR 28482 at commit eb3a65e.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122447 has finished for PR 28482 at commit 90f569f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122452 has started for PR 28482 at commit e12a992.

Merged build finished. Test PASSed.

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

Test build #122452 has finished for PR 28482 at commit e12a992.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

CI issue seems to be fetching certificate problems.

Jenkins retest this please

Test build #122453 has started for PR 28482 at commit e12a992.

Merged build finished. Test PASSed.

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

Test build #122453 has finished for PR 28482 at commit e12a992.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122459 has started for PR 28482 at commit a07b9d0.

Merged build finished. Test PASSed.

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

Test build #122459 has finished for PR 28482 at commit a07b9d0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122468 has started for PR 28482 at commit 8a0eeba.

Merged build finished. Test PASSed.

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

Test build #122468 has finished for PR 28482 at commit 8a0eeba.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #122483 has started for PR 28482 at commit fa6caf0.

Merged build finished. Test PASSed.

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

Test build #122483 has finished for PR 28482 at commit fa6caf0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122516 has started for PR 28482 at commit cd86366.

Merged build finished. Test PASSed.

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

Test build #122516 has finished for PR 28482 at commit cd86366.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122519 has started for PR 28482 at commit d4747e5.

Merged build finished. Test PASSed.

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

Test build #122519 has finished for PR 28482 at commit d4747e5.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

I'm pretty sure the build dependency test failure is unrelated, Jenkins retest this please.

Test build #122521 has started for PR 28482 at commit d4747e5.

Merged build finished. Test PASSed.

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

Test build #122521 has finished for PR 28482 at commit d4747e5.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

I guess I'll try and repro the build dependency issue locally.

Test build #122523 has started for PR 28482 at commit f05f9e6.

Merged build finished. Test PASSed.

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

Test build #122524 has started for PR 28482 at commit c86c085.

Merged build finished. Test PASSed.

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

Test build #122525 has started for PR 28482 at commit ca67825.

Merged build finished. Test PASSed.

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

Test build #122523 has finished for PR 28482 at commit f05f9e6.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122524 has finished for PR 28482 at commit c86c085.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122525 has finished for PR 28482 at commit ca67825.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #122527 has started for PR 28482 at commit 3b3a81d.

Merged build finished. Test PASSed.

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

Test build #122527 has finished for PR 28482 at commit 3b3a81d.

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

Merged build finished. Test PASSed.

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

I think I've fixed the issues you were running into @prakharjain09 if you want to cherry-pick my changes into your branch that would be awesome and I can do a review on Thursday :)

From offline conversation with @prakharjain09 they don't have the time to merge the test fixes back in right now so I'll update this PR

Jenkins retest this please
@holdenk In the old PR (https://github.com/apache/spark/pull/28370) also, I was able to get a clean test run (all tests passed) once intermittently and they never passed on subsequent retries.
Should we confirm that the last test build passing here in this PR is not intermittent by explicitly running the tests on Jenkins couple of times more? I am doing the same on https://github.com/apache/spark/pull/28370 parallely.

Closing in favour of the old PR


Ncu

CHECKLIST
We will not consider a PR untill all of the following items are checked off--thank you!

[x] There aren't existing pull requests attempting to address the issue mentioned here
[x] Submission developed in a feature branch--not master
[x] Confirmed there are no outstanding npm run eslint issues
[x] Added/updated tests for new/changed code

TIP: You can watch/run a specific test during developemnt with npm run test:watchone test/TEST-FILE-NAME

[x] Appropriate coverage validated with npm run cover:local
[x] All npm test passes without any issues
[ ] Commits squashed

Will squash the PR

CONVINCING DESCRIPTION
Update all dependencies (except yeoman generator, which will require some code changes.) Also fix some tests, update some docs, etc. The key here is to drop support for Node 0.10 and 0.12 and add support for Node 7.x.
RELATED INFORMATION
See the following wiki page that talks about versions of node provided by different operating systems that Alfresco supports:
https://github.com/binduwavell/generator-alfresco/wiki/Supported-Platforms-Node-Versions
This page also includes links that should help if you need to install or upgrade the version of Node you are using.
The following issue are resolved by this PR, there is some good detail in both of these if you require further justifications.
Fixes #153
Fixes #155

Codecov Report

Merging #156 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
+ Coverage   96.69%   96.71%   +0.02%
==========================================
  Files          15       15
  Lines        1724     1736      +12
  Branches      313      313
==========================================
+ Hits         1667     1679      +12
  Misses         57       57

Impacted Files
Coverage Δ

generators/amp-add-local/index.js
97.46% <ø> (-0.04%)
:arrow_down:

generators/common/alfresco-module-manager.js
99.26% <100%> (+0.03%)
: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 64acc87...d6ac3bb. Read the comment docs.


Insignificant change

Description

Is this change a fix, improvement, new feature, refactoring, or other?

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

How would you describe this change to a non-technical end user or system administrator?

Related issues, pull requests, and links

Documentation
( ) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
( ) Release notes entries required with the following suggested text:
# Section
* Fix some things. ({issue}`issuenumber`)

/ok-to-test sha=1934b8e

Also, can you do this from your fork?

That's exactly what I did.

Also, can you do this from your fork?

That's exactly what I did.

Oh, my mistake.


Add the ability to parse multiple shells or specify prefered shell

I really like the idea of this tool but in my case I switched mid year to zsh from bash and therefore I only have a limited set of statistics, it would be great if there would be the option to either specify a history file via arg that is being read or maybe parse all available histories and combine them.
thanks for the cool tool

Thanks for your suggestion! It makes sense to provide an option for specifying multi history files.

In the meantime, you can trick the program with 'SHELL=/usr/bin/bash ./cmd-wrapped'. :)

The tool doesn't work if my history file is not at the default location. It'd be great to be able to specify the history file location


Add 'degrees' function to PostgresModule

Add support for function degrees described in the PostgreSQL docs.

Add function to PostgresFunctionDef in PostgresModule
Add test in FunctionDefSpec

@jczuchnowski , I would like to tackle this problem.


Add a test suite that checks the runner exit code.

I thought that methods that contain System.exit() can't be tested. But after reading about JVM internals, started searching and found how a SecurityManager manager could be used to prevent System.exit() from exiting the test app,

Haha, just cleaned up some mess I created 😆
Thanks for the review!


[Tables] Enhance error info when client url ends with table name

For issue: https://github.com/Azure/azure-sdk-for-python/issues/21202

API change check
API changes are not detected in this pull request.

is there update on resolving this?

is there update on resolving this?

Yes, it is under development. :)


New Release?

Any chance a new release could be made for the most recent PRs? :) Would love to pull it from https://www.npmjs.com/package/@accessible360/accessible-slick

Yes please: @A360Purchases @jasonwebb

New release is on the way, closing this issue


BREAKING CHANGE: nested checkbox filter

References [link the ticket here]
First PR that was closed due to branch naming: https://github.com/smg-automotive/components-pkg/pull/919
Motivation and context
To support grouped and collapsible checkbox filters in listings web (e.g. fuel type)
How to test
[Add a deep link and instructions how to verify the new behavior]

QA tested by Virginia ✅


Reproducing SPICE DFT values

I am trying to reproduce the SPICE DFT values and am getting on some configs quite significant differences in energy.
Could someone please help me what the problem with my setup is? I installed Psi4 1.4.1 from conda and am using python 3.8. Below moll is a qcelemental.models.Molecule object of a molecule from SPICE PubChem subset.
import qcengine as qcng
from qcelemental.models.common_models import Model
from qcelemental.models import AtomicInput

model = Model(method="wB97M-D3BJ", basis="def2-TZVPPD")
qc_task = AtomicInput(molecule=moll, driver="energy", model=model)
result = qcng.compute(input_data=qc_task, program="psi4", task_config={"memory":4, "ncores":8})
energy = result.return_result

An example molecule where I see a very significant discrepancy between my and SPICE number is the attached molecule. Here the energy difference is ~0.25 kcal / mol.
Units are Angstrom, eV and eV / A in the file below converted from SPICE.
bad_mol.xyz.txt

Hi @davkovacs, can you please check again adding keywords={'wcombine': False} to your Model(). I'm assuming you are using the coordinates from the latest release tar ball.

Adding that did not seem to have changed the results.

Could someone who did the original calculations / has access to the calculation scripts perhaps try and recompute just that one molecule and share the exact script that needs to be used to obtain the published energies and gradients?

Here is a notebook with a bit more detailed analysis that you can try and run, it just requires the SPICE.hdf5 file that can be downloaded.
The energies agree to an acceptable degree in the example, but the forces are so far off that something must be really wrong.
spice_dft.tar.gz

@davkovacs I think the hdf5 file has energies and forces stored in np.float32 format and the values are truncated,
https://github.com/openmm/spice-dataset/blob/1e94352be364e993c8bef58303a4f079bc6b8b32/downloader/downloader.py#L115
This seems to be source of difference in your notebook, you can use the downloader script for better precision.
>>> energy = -8886.235809450398
>>> numpy.float32(energy)
-8886.235
>>>

I am attaching the psi4 output from which these values are obtained (it includes the input as well) for the molecule you posted in your first post. Re-running the input on a different node architecture gives me an energy within 1e-07 hartree. It also has the gradient information. Please let me know if this answers your question.
qca_id_106004569_psi_stdout.txt

Shouldn't the default be float64? Float32 means that the target energy error range for ML potentials is basically off-precision.

I have managed to reproduce all the numbers now including energies and gradients. But I highly recommend changing the default download format to float64.

@davkovacs : Thanks so much for identifying this issue! Our assumption was that subtracting the reference energies would have been sufficient to deal with this underflow precision issue, but I think you're right---we should switch to float64 (and likely repeat our training experiments on SPICE).

Other datasets do use float64
On Mon, Nov 14, 2022 at 1:23 PM John Chodera @.***>
wrote:

@davkovacs https://github.com/davkovacs : Thanks so much for
identifying this issue! Our assumption was that subtracting the reference
energies
https://github.com/openmm/spice-dataset/blob/main/downloader/downloader.py#L115
would have been sufficient to deal with this underflow precision issue, but
I think you're right---we should switch to float64 (and likely repeat our
training experiments on SPICE).
—
Reply to this email directly, view it on GitHub
https://github.com/openmm/spice-dataset/issues/54#issuecomment-1313607135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3KUORE4CDG5EDAT3QC2ALWIIVLRANCNFSM6AAAAAAR4453UQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

That's right, this is a problem only if you look at total energies. If the interaction energy is in float32 that should be fine.
On a related but slightly different note, we do observe that models that use float32 are not as reliable as the float64 models (in particular smoothness problems and geometry optimisation working less well)


Fix wizard with hidden steps

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

https://github.com/filamentphp/filament/pull/6725 introduced an issue with the wizard step index. This PR fixes that.

PHPstan failing

Blame it on @bjornvoesten. 😆
He wrote the code and passed it to me lol.

Blame it on @bjornvoesten and his alter ego @dcc-bjorn. 😆 He wrote the code and passed it to me lol.

@zepfietje Checking this code and creating a pull request.

@dcc-bjorn trying to push to GitHub, failing to do so, and sending me the changes by chat so I could create a PR.

@bert-dcc 👋

@danharrin

I'm laughing out loud reading this PR.

The 11 approvals were really useful in my decision making process, thank you.


about INF

excuse me . Is there an another method? the torch.diag methon isn't supported by onnx version and when i use torch.eye ,my tensorrt doesn‘t support it either.

@Thatboy7  You could drop the INF if you train the model again.
The overlapping pixels have a minor effect on the final performance.


remove autorange filter on chart gestures

Removed the autorange filter on zooming.
We need to come up with a good way to set boundaries. Maybe "do not zoom to negative values" or similar

Looks good to me


Additional sphere quadrature schemes

Firstly, thanks for the package - it looks like it should be lots of fun to play around with.  Is it possible to get some additional sphere quadrature rules included?  Something like these quadrature rules often used in material modelling based on a review paper by Ehret, A. E. and Itskov, M. and Schmid, H. (2010) which references:

BO21, BO33, BO61 by Bazant and Oh (1986)
FM900 (http://www.personal.soton.ac.uk/jf1w07/nodes/nodes.html)

I could implement these if you'd prefer as I have them already implemented in a c++ code.

Thanks for that!  It's not very often that I meet a quadrature expert (I have so many questions).  If I venture out into other schemes I'll be sure to post a PR.


MAID-1465 DNS and NFS functions

implementation with the logger initialisation in main.js

r? @ustulation
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Viv-Rajkumar

dns_example/src/scripts/safe_api/nfs.js, line 33 [r1] (raw file):
"endpoint": "safe-api/v1.0/nfs/modify-file" is for modify-file and logging a create directory? not sure what this UploadData function is intended for here. Is it to mutate a file/folder?

Comments from the review on Reviewable.io

dns_example/src/scripts/safe_api/nfs.js, line 74 [r1] (raw file):
invalid end-point?

Comments from the review on Reviewable.io

Reviewed 4 of 5 files at r1.
Review status: 4 of 5 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

Comments from the review on Reviewable.io


Support for BATS (bash automated test suite)

Issue Type

Feature request

Desired Behaviour
Being able to use the bash automated test suite. https://github.com/sstephenson/bats
Personally I use this over serverspec/testinfra because I am a shell guy at heart. Here's an example using TK to run BATS. https://github.com/pgporada/ansible-role-nomad/blob/master/test/integration/default/bats/01_nomad.bats

Hi @pgporada I appreciate the request but this isn't something we will be supporting.  I'm actually on the fence about us even supporting Goss.  This project is maintained by a small team, and fairly opinionated.  Supporting various drivers, verifiers, etc.. is time consuming, especially since this project grew from our needs, not the community's needs.
For now I'm going to close this.  Do appreciate your time to request such a feature.

If I figure out how to implement a test suite, will you take a PR?
On Dec 13, 2016 8:37 PM, "John Dewey"<EMAIL_ADDRESS>wrote:

Hi @pgporada https://github.com/pgporada I appreciate the request but
this isn't something we will be supporting. I'm actually on the fence about
us even supporting Goss. This project is maintained by a small team, and
fairly opinionated. Supporting various drivers, verifiers, etc.. is time
consuming, especially since this project grew from our needs, not the
community's needs.
For now I'm going to close this. Do appreciate your time to request such a
feature.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/metacloud/molecule/issues/647#issuecomment-266917026,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACRa5SAXzMbo4A-VGhVdjd4MH1uiXdjcks5rH0hHgaJpZM4LLPmi
.

@pgporada What ends up happening is we get bug reports on features we never end up using.  Hard to say.  Possibly?  For example the OpenStack driver is a tough one.  While we are an OpenStack shop, we actually dont use the OpenStack driver.  Verifying fixes and features is difficult.  However, we will be switching to that driver in the next few months.

Sorry to post on such and old issue, but I didn't want to open a new one just to ask.
Would it make sense to have a shell verifier that would essentially build a shell command to use? For instance:
...
verifier:
  name: shell
  command: bats tests.bats
  lint: <another shell command>


SpVecView

There's SpMatView for abstracting over matrix implementations, but no SpVecView for abstracting over vector implementations. When writing a function that takes vectors and/or matrices, the signature gets very long without using traits like this, since extra type parameters must be introduced specifying the storage details for each vector/matrix argument. SpMatView goes part of the way towards dealing with this, but SpVecView is really required as well.

Indeed, currently abstracting over sparse vectors is quite hard (but sparse vectors need more work in other aspects too, right now they're at the bare minimum to make the rest of the crate work).
Just out of curiosity, what kind of function are you trying to write that abstracts over both vectors and matrices?
Anyway, this is clearly something sprs should have in the future. Thanks for the feedback!

I'm looking at implementing some algorithms for constrained optimisation. For a quadratic program, for example, you need to be able to input Q, a sparse matrix, and c, a sparse vector, for the expression xTQx + cTx. And you also need to input A and b for Ax = b, the equality constraint equation.
BTW, this is a great project. Rust really needs some decent scicomp libraries. Though it does seem that some things in the language are limiting what can be done right now in terms of ergonomics. Once abstract return types and impl specialisation land, some really good APIs should be possible.

Closed by #45


Question about strategy

I want to build a custom strategy like below:

It should sell when the price surges to 15% of the bought price.
It should sell when the price drops below 5% of the bought price, i.e. stop loss.
It should buy again if the price surges to 2% of the sold price.
What should I do if I want to specify a range of profit? Should I enable profit_stop_enable_pct?

The command I have written is:
zenbot sim --profit_stop_enable_pct=15 --sell_stop_pct=5 --profit_stop_pct=0 --buy_stop_pct=2 --period=1h gdax.BTC-USD
I ran it on gdax.BTC-USD selector with last 10 days data. Results are:
end balance: 1287.17451326 (28.72%)
buy hold: 1244.47925884 (24.45%)
vs. buy hold: 3.43%
9 trades over 11 days (avg 0.82 trades/day)
win/loss: 3/2
error rate: 40.00%

@carlos8f You have written sell_rate parameter in the simulation mentioned in README.md file. I couldn't find it anywhere. Is it renamed?

Closing due to inactivity.


Add real data to burst detection

In addition to demonstrating the burst detection module on simulated data, we should also demonstrate how it works on the example real data ('./data/sample_data_1.npy') in the tutorial

Example data used in test, but not in tutorial

ah. good call.

Solved in https://github.com/voytekresearch/neurodsp/pull/50


Sometimes Manage Dates changes are not saved

The Manage Dates feature sometimes doesn't save/update correctly the target report.
It seems totally random but verified several times.

Reported to the PBI product team. See https://github.com/TabularEditor/TabularEditor/issues/977


chore: additional debugging and kill 9 for tests

:tada: This PR is included in version 4.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Redirect input to other file descriptor than stdin

Incorrect behavior:

Correct behavior:

I changed the input file descriptor to number 9 to avoid conflict with stdin or other shell internal file descriptors (see this link).

Thanks for your contribute, may I ask which command you save can get input again?
And is there any convention to use 9 instead of others? @alangalvino

...which command you save can get input again?

I' using openconnect to connect to a VPN. So, in other to login I need to type my username and password.

And is there any convention to use 9 instead of others?

The file descriptors 0, 1 and 2 are respectively stdin, stdout and stderr
For opening additional files, there are the descriptors 3 to 9


[QUESTION] Fileupload failed.

Description
I've tried a sample code for upload my file but it failed.
from fastapi import FastAPI, File, UploadFile

app = FastAPI()

@app.post("/files/")
async def create_file(file: bytes = File(...)):
    return {"file_size": len(file)}

@app.post("/uploadfile/")
async def create_upload_file(file: UploadFile = File(...)):
    return {"filename": file.filename}

Result

Which of the two endpoints failed? And what version of FastAPI are you using?

@dmontagu both endpoints failed. How to check version of FastAPI ?

pip list or from fastapi import __version__; print(__version__)

ok..as requested..
fastapi version = 0.33.0

Hmm.. this could be a bug in the swagger docs. I would try manually sending the file using the curl command the swagger docs print out (and maybe also updating to 0.35.0 if possible).

I've try update the FastApi version to 0.35.0 and manually sending the file using curl, but the result still same. Could you assist to fix it ?
FastApi version

Curl command result from server.

@amanjazari If you can share a self-contained script (that runs in uvicorn) and the curl command you are using (in a copyable form, rather than a screenshot), I will make any modifications necessary to get it to work for me locally.
For what it's worth, I am using file upload functionality in several places, so it should definitely be possible to get this to work.

@dmontagu ,
Below is the script i used to test file upload as per tutorial at
https://fastapi.tiangolo.com/tutorial/request-files/
from fastapi import FastAPI, File, UploadFile

app = FastAPI()

@app.post("/files/")
async def create_file(file: bytes = File(...)):
    return {"file_size": len(file)}

@app.post("/uploadfile/")
async def create_upload_file(file: UploadFile = File(...)):
    return {"filename": file.filename}

Curl command at swagger
curl -X POST "http://url/uploadfile/" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "file=@cfm.txt;type=text/plain"

@amanjazari
It's worth checking if you have python-multipart installed in your environment.
If pip install python-multipart installs the package and you don't have it, this may solve your issue.

@davidefiocco My problem was identical and installing python-multipart solved it. Thanks!

Thanks for the help and discussion here everyone!
Was your issue solved @amanasmuei ?

@amanjazari
It's worth checking if you have python-multipart installed in your environment.
If pip install python-multipart installs the package as you don't have it already, this may solve your issue.

Thank alot bro. This fixed the issue for me

@amanjazari
It's worth checking if you have python-multipart installed in your environment.
If pip install python-multipart installs the package as you don't have it already, this may solve your issue.

This should be added to docs

Christ, i spent half a day on this. why don't you have python-multipart as a requirement of this module?!?!?

@whillas the indication is prominent in the guide https://fastapi.tiangolo.com/tutorial/request-files (at the very top), but indeed @tiangolo it seems that time gets lost on this (it happened to me too a the time)

The latest versions (for quite a while now) detect if you use something that would require python-multipart and error out quickly giving you instructions about how to fix it.
Also, @whillas, that's not the way to ask. I'm giving you this for free, working on it in my free time. And everyone here is helping in their free time mostly. Please try to be more respectful.


wpstarter-mu-loader fails on file loading

Describe the bug
I have a normal WP Starter 3 setup and a mu-plugin which is loaded via composer.json ( https://github.com/inpsyde/WP-Stash ).
The WP Starter 3 Script generates following wpstarter-mu-loader.php:
<?php declare(strict_types=1);
/**
 * Plugin Name: WP Starter MU plugins loader.
 * Description: MU plugins loaded: wp-stash/wp-stash.php.
 */

foreach (explode(',', 'wp-stash/wp-stash.php') as $muPlugin) {
    $filePath = wp_normalize_path(__DIR__ . '/'. trim($muPlugin));
    // Skip unexistent, unreadable and non-php files
    if ($filePath
        && is_file($filePath)
        && is_readable($filePath)
        && strtolower(pathinfo($filePath, PATHINFO_EXTENSION)) === 'php'
        && validate_file($filePath) === 0
    ) {
        require_once $filePath;
    }
}

Sadly the validate_file_check() fails, because it returns 2. I guess the if-check should be !== 0 to ensure that the file is "okay".

To Reproduce

Normal WP Starter 3 Setup
Use a MU-Plugin loaded via composer.json - https://github.com/inpsyde/WP-Stash
Run composer install

Expected behavior
The check shouldn't fail for valid files ;-)
System (please complete the following information):

OS: Windows 10
WP Starter: 3-dev
PHP: 7.2

validate_file return 0 when everything is fine.
The problem is that it fails for absolute paths. I'll fix.

@Chrico can you please test last commit?

works now. Thanks 👍


feat: Resize with multiplexer when only single window

Hi, thanks for a great plugin :)
There is just a small one thing that I am missing - ability to resize multiplexer windows from the neovim window when there are no splits. This PR adds support for that.
I don't know much about kitty nor wezterm, so for now I put there some notification that this operation is not supported.

Thanks for the PR, awesome feature! I made some changes to normalize things.


Link and Script tag helpers violates Content Security Policy CSP 'unsafe-inline'

the code rendered by the link and script tag helpers prevent the use of CSP headers.
The rendered HTML is:
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js">
            </script>
<script>(window.jQuery||document.write("<script src=\"\/lib\/jquery\/dist\/jquery.min.js\"><\/script>"));</script>

which will trigger this browser error
Refused to load the script 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js' because it violates the following Content Security Policy directive: "script-src 'unsafe-inline'".

when using a header like:
Content-Security-Policy:default-src 'self'; script-src 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' *

/cc @DamianEdwards @blowdart

What script or link tag automatically adds jquery to the mix? That seems odd.

When using CSP you'll have to explicitly enable loading of JS files (and CSS files, etc.) from other domains. In this case, the templates are set up to load certain JS files from our CDN, thus you'll need to allow the CDN domain in your CSP profile, or change the CSHTML to load the JS files from your own, allowed domain name. See http://content-security-policy.com/

You are right, I misinterpreted the issue here. TH are ok! :+1:


Should "choco install ipfs-desktop" be called with admin rights?

The title and the old Clash song says it all...
PS C:\Users\me> choco install ipfs-desktop
Chocolatey v0.10.15
Chocolatey detected you are not running from an elevated command shell
 (cmd/powershell).

 You may experience errors - many functions/packages
 require admin rights. Only advanced users should run choco w/out an
 elevated shell. When you open the command shell, you should ensure
 that you do so with "Run as Administrator" selected. If you are
 attempting to use Chocolatey in a non-administrator setting, you
 must select a different location other than the default install
 location. See
 https://chocolatey.org/install#non-administrative-install for details.

 Do you want to continue?([Y]es/[N]o):

Should I "Yes" or should I "No"??? :-P

IPFS Desktop does not require admin, if you use standalone .exe installer you can install it in single user.
If you experience any issues without admin, its most likely specific to choco, and you can find support resources at https://chocolatey.org/support

Hi. No issues just extreme fear subtle bugs from incorrect installation :-P
By the way, ipfs-desktop making "system interrupts" CPU usage run amok seams to have disappeared since I reinstalled the OS :-)


Autostyle cartocss

This PR fixes #11197.
How to test
Create a map with a custom cartocss and some widgets. Add a custom legend too.

[ ] Enable autostyle and then disable it again, the custom style should be preserved. Also, the custom legend doesn't change, even the style is changing.
[ ] Go to the style tab and check that doing the above, the content is updated properly.

This PR contains the old attempt to fix the issue. Checkout this PR instead: https://github.com/CartoDB/cartodb/pull/11249


meshgrid may be not used

In ValEngine, there is a argument meshgrid but it seems that the self.meshgrid has not been used.
https://github.com/MCG-NJU/BasicTAD/blob/bd9a1522da3d7675e079272e80e0281fa55f04be/vedatad/engines/infer_engine_AF.py#L15

For anchor-free head, anchor generator is not needed (meshgrid)


Fix components unmounting on window unload.

https://github.com/ndlib/beehive/pull/181

:+1:

:+1:


Add documentation on use cases

This was extracted from the Learn guide. This keeps the guide cleaner and allows us to link to use cases more easily. It also helps search engines index our content.
@hugobarauna, this is your decision, if you are happy with it, merge it. :)

Thanks for checking, I should have converted these too. It should be good now!


Build a jvm application

Application is build and  packaged with the application plugin, which will create a  .zip file that includes all runtime dependencies and a starter script.

👑


I can not install c/c++ extension in vscode

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

VS Code Version:
OS Version:

Steps to Reproduce:

No

/needsMoreInfo


Error building on Mac M1 Pro (arm64)

I tried adding zigler to a fresh elixir project after creating using mix new ...
Below is the error output, including instruction to open an issue, so here I am :)
Please let me know if there's any other info I can provide. This looks like a very cool project, thank you!
mix deps.get
Resolving Hex dependencies...
Resolution completed in 0.015s
Unchanged:
  earmark_parser 1.4.33
  ex_doc 0.29.0
  jason 1.4.1
  makeup 1.1.0
  makeup_elixir 0.16.1
  makeup_erlang 0.1.2
  nimble_parsec 1.3.1
  zigler 0.9.1
All dependencies are up to date

iex -S mix
Erlang/OTP 25 [erts-<IP_ADDRESS>] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Compiling 1 file (.ex)

21:26:56.722 [debug] compiling nif for module Roaring in path /var/folders/_b/yypb1v3s5pg0w6dknt1tpv9h0000gq/T/.zigler_compiler/dev/Elixir.Roaring

21:26:56.861 [debug] wrote build.zig to /var/folders/_b/yypb1v3s5pg0w6dknt1tpv9h0000gq/T/.zigler_compiler/dev/Elixir.Roaring/build.zig

== Compilation error in file lib/roaring.ex ==
** (CompileError)  this zig compiler warning hasn't been incorporated into the parser.
Please file a report at:
https://github.com/ityonemo/zigler/issues
thread 1085492 panic: Darwin is handled separately via std.zig.system.darwin module
Unable to dump stack trace: debug info stripped

(zigler 0.9.1) lib/zig/parser/error.ex:60: Zig.Parser.Error.parse/2
(zigler 0.9.1) lib/zig/command.ex:35: Zig.Command.compile/2
(zigler 0.9.1) lib/zig/compiler.ex:102: Zig.Compiler.compilation/2
(zigler 0.9.1) expanding macro: Zig.Compiler.__before_compile__/1
lib/roaring.ex:1: Roaring (module)

Can you try with the 0.10.0 branch here on github?  This will be releasing on hex.pm 0.10.1 version in the next few days (I'm wrapping up documentation)

I tried on using the 0.10.0 branch. I've tried the below on macos and ubuntu linux, same result. At first I received the below error. It looks like it wasn't downloading zig.
  Erlang/OTP 26 [erts-14.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

  Compiling 1 file (.ex)

  == Compilation error in file lib/roaring.ex ==
  ** (ErlangError) Erlang error: :enoent:

    * 1st argument: invalid port name

      :erlang.open_port({:spawn_executable, '/home/jason/roaring/deps/zigler/zig/zig-linux-x86_64-0.10.1/zig'}, [:use_stdio, :exit_status, :binary, :hide, {:args, ["fmt", "/tmp/Elixir.Roaring/build.zig"]}])
      (elixir 1.14.5) lib/system.ex:1071: System.do_cmd/3
      (zigler 0.10.1) lib/zig/command.ex:23: Zig.Command.run_zig/2
      (zigler 0.10.1) lib/zig/builder.ex:33: Zig.Builder.build/2
      (zigler 0.10.1) lib/zig/compiler.ex:69: Zig.Compiler.compile/4
      (zigler 0.10.1) expanding macro: Zig.Compiler.__before_compile__/1
      lib/roaring.ex:1: Roaring (module)

Next, I manually downloaded zig at the location where the .open_port call was expecting. This removed the open_port error, but then I saw this log message:
Compiling 1 file (.ex)

14:46:13.740 [debug] wrote build.zig to /tmp/Elixir.Roaring/build.zig

14:46:15.012 [debug] wrote module.zig to /tmp/Elixir.Roaring/module.zig

14:46:15.039 [debug] built library at /home/jason/roaring/_build/dev/lib/roaring/priv/lib/Elixir.Roaring.so

14:46:15.054 [info] module Roaring does not compile its nifs
Generated roaring app

Here is my module. Log message mentions my module does not compile its nifs. Is the use Zig, otp_app: :roaring correct in this case?
defmodule Roaring do
  use Zig, otp_app: :roaring
  ~Z"""
  /// nif: example_fun/2
  fn example_fun(value1: f64, value2: f64) bool {
    return value1 > value2;
  }
  """
end

Here's my test repo:
https://github.com/jjones310/zigler-macos
Thank you for looking into this. Let me know if there's anything else I can test.

Thanks for the bug report!  I'm doing a macros run tomorrow and will let you know how it goes

ah yes.  My fault, I need to document this =D
you forgot to run mix zig.get
Also, the API has changed, now your sigil z should look like:
~Z"""
pub fn example_fun(value1: f64, value2: f64) bool {
return value1 > value2;
}
"""
where pub signifies that it should be hoisted into the module.

oh I see, thank you!
Everything is working perfect now.
Good luck on the 0.10 release!


Kindly update to use newer Python

As noted at https://pythonclock.org/ , Python 2.7 expires at the end of the year. It is therefore incomprehensible that it was used for this otherwise interesting project. Kindly consider updating it to use a current version of Python, i.e. 3.7 or maybe 3.6 at the oldest. The repo's users shouldn't have to independently go through the pain of converting it. Failing this, it's not possible to integrate the code in a modern codebase. Thanks.

Thanks for the suggestion, I'll look into adding python 3 functionality. Unfortunately some prior work I'm importing used python 2, so that would have to be converted as well.

Resolved in #8!


[Solved] [NSFW] Support for xhamster.com is broken...

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.11.26. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2017.11.26

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl --verbose "https://xhamster.com/videos/lola-enjoys-showing-her-sexy-boobs-8607929"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://xhamster.com/videos/lola-enjoys-showing-her-sexy-boobs-8607929']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.26
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-LinuxMint-2-betsy
[debug] exe versions: ffmpeg N-89109-gc3b5ea7, ffprobe N-89109-gc3b5ea7
[debug] Proxy map: {}
[XHamster] 8607929: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 437, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/xhamster.py", line 136, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1067, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information
Since one or two days youtube-dl refuses to download videos from xhamster.com

Don't know how, but today it works fine again.
So for now this issue can be closed, I guess.

Aaaaaand...it's broken again...
I see someone else has the same issue.
(https://github.com/rg3/youtube-dl/issues/14892)


chore: patch package gesture handler

https://github.com/software-mansion/react-native-gesture-handler/pull/2916
This was an error coming on an ios device (not simulator) so i looked into it and saw that software mansion team is also removing this too from their code if we do too then this error will also go away.  The error comes from this specific function inside lodash itself.

https://github.com/software-mansion/react-native-gesture-handler/pull/2916
This was an error coming on an ios device (not simulator) so i looked into it and saw that software mansion team is also removing this too from their code so i decided that if we do too then this error will also go away. The error comes from this specific function inside lodash itself.

I would need a test for ios device and android for this one tho.
The earlier build errors didn't come on my personal device and simulator hence this might be needed

Thanks for the PR! I've just added postinstall package for yarn and merged.


Breaks Ubuntu due to a Requests module upgrade

Downloading/unpacking git+https://github.com/msabramo/httpie-unixsocket.git
  Cloning https://github.com/msabramo/httpie-unixsocket.git to /tmp/pip-J2zDhW-build
  Running setup.py (path:/tmp/pip-J2zDhW-build/setup.py) egg_info for package from git+https://github.com/msabramo/httpie-unixsocket.git

Downloading/unpacking httpie>=0.7.0 from https://pypi.python.org/packages/2.7/h/httpie/httpie-0.9.0-py2.py3-none-any.whl#md5=76c94093b32e5257c097b15519f2b64a (from httpie-unixsocket==1.0.2)
Downloading/unpacking requests-unixsocket (from httpie-unixsocket==1.0.2)
  Downloading requests-unixsocket-0.1.4.tar.gz
  Running setup.py (path:/tmp/pip_build_root/requests-unixsocket/setup.py) egg_info for package requests-unixsocket

    Installed /tmp/pip_build_root/requests-unixsocket/pbr-0.10.7-py2.7.egg
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    warning: no previously-included files found matching '.gitignore'
    warning: no previously-included files found matching '.gitreview'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking requests>=2.3.0 from https://pypi.python.org/packages/py2.py3/r/requests/requests-2.5.1-py2.py3-none-any.whl#md5=11dc91bc96c5c5e0b566ce8f9c9644ab (from httpie>=0.7.0->httpie-unixsocket==1.0.2)
Downloading/unpacking Pygments>=1.5 from https://pypi.python.org/packages/2.7/P/Pygments/Pygments-2.0.2-py2-none-any.whl#md5=98f29db02f4b22f58a2d3f60646e1e1f (from httpie>=0.7.0->httpie-unixsocket==1.0.2)
Installing collected packages: httpie, requests-unixsocket, httpie-unixsocket, requests, Pygments
  Found existing installation: httpie 0.8.0
    Uninstalling httpie:
      Successfully uninstalled httpie
  Running setup.py install for requests-unixsocket
    [pbr] Reusing existing SOURCES.txt
  Running setup.py install for httpie-unixsocket

  Found existing installation: requests 2.3.0
    Uninstalling requests:
      Successfully uninstalled requests
  Found existing installation: Pygments 1.6
    Uninstalling Pygments:
      Successfully uninstalled Pygments
Successfully installed httpie requests-unixsocket httpie-unixsocket requests Pygments
Cleaning up...
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 61, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
    from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

It looks like you (perhaps inadvertently?) did a sudo pip install not in a virtualenv (i.e.: to the system Python)?
If so, that would be the problem here. It is best to always pip install to a virtualenv. Installing new python packages to the system python is fraught with peril.
If that's the case, you'll have to remove the stuff that got added and reinstall the appropriate apt-get packages to get stuff back to how it was.

I know it's best to always use virtualenv or pyenv and I do this in my dev environment, but it's not always worth the complications especially when httpie is available as a Ubuntu package and Requests is built-in. It would make the installation much easier if those dependencies' version numbers can be justified.

Here's the requirements from setup.py:
    install_requires=[
        'httpie>=0.7.0',
        'requests_unixsocket'
    ],

And requests_unixsocket requires requests>=1.1
I don't see what I can do to make it better unfortunately.


Make arkworks-curves compiles against master

It seems that Group has been broken into AdditiveGroup and PrimeGroup, if nothing else.

The remaining issue is all about the no_std. I am still looking into how to eventually fix it.
(I.e., some tests for no_std are indeed incorrect.)


Error in init-mongo.sh while testing with docker

I just checked out this repo to experiment with it, but I can't get it to start up correctly.
I have not made any changes to any files
$ git diff
$

$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

Yet, when I run $ docker-compose, I get the following error
mean_mongo  | 2020-07-21T05:05:07.455+0000 I  INDEX    [conn2] index build: done building index user_1_db_1 on ns admin.system.users
mean_mongo  | Successfully added user: {
mean_mongo  | 	"user" : "admin-user",
mean_mongo  | 	"roles" : [
mean_mongo  | 		{
mean_mongo  | 			"role" : "root",
mean_mongo  | 			"db" : "admin"
mean_mongo  | 		}
mean_mongo  | 	]
mean_mongo  | }
mean_mongo  | 2020-07-21T05:05:07.457+0000 E  -        [main] Error saving history file: FileOpenFailed: Unable to open() file /home/mongodb/.dbshell: No such file or directory
mean_mongo  | 2020-07-21T05:05:07.458+0000 I  NETWORK  [conn2] end connection <IP_ADDRESS>:57972 (0 connections now open)
mean_mongo  |
mean_mongo  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-mongo.sh
mean_mongo  | /docker-entrypoint-initdb.d/init-mongo.sh: line 1: $8: unbound variable
mean_mongo exited with code 1

I am not quite sure where the $8 comes from. Is it maybe from the hardcoded sample password? But that is not line 1. But since you are using << EOF, maybe the entire script looks like the first line?
Have you seen this error before?

I got this reference https://github.com/docker-library/mongo/issues/323
I have added .dbshell file in mongo folder and mapped it in volume to solve this issue.

Cool. I ended up using the server code from the MERN stack example so this is no longer a blocker for me. But hopefully the next person to try this out will find it easier.
Thanks for the contribution - this is the only current angular e2e demo that I could find.

You are welcome.


guide for updating old apps

Release Playbook

[ ] Rebase against master
[ ] Code review
[ ] Merge into master
[ ] Verify changes at http://site-staging.convox.com
[ ] Promote release on site-production in the convox/production Rack

 How to update old apps doc

@mattmanning Can you pinpoint the version where the app convention changed? Could help people easily know if it's something they need to worry about (eg. I created my rack after the update, no need to even check).
Separately.. I wonder if there's any value in adding a bit of metadata to an app to track which version of rack it was created with?

@mwarkentin Both good points.
Unfortunately this change was so long ago that we weren't doing the current style of release tagging, and it's really hard to know the exact release where things changed.
The metadata idea is really interesting. I will discuss that with the team.


Restarting containers when restarting the host

Hi,
I have detected that when restarting the host only the Influx container starts because of the restart in the Docker Compose file, but Grafana is not activated. I have tried with the restart value but it doesn't work, is there any solution?
Thanks.

@javi-cs
you mean adding restart: unless-stopped to telegraf and grafana sections don't work ?

@flodek I had the Compose file configured as follows and it was not working but I have solved it with what you have told me.
Thank you.
`services:
influxdb:
image: influxdb:2.1.1
volumes:
- influxdb-storage:/var/lib/influxdb2:rw
env_file:
- .env
entrypoint: ["./entrypoint.sh"]
restart: on-failure:10
ports:
- ${DOCKER_INFLUXDB_INIT_PORT}:8086
telegraf:
image: telegraf:1.19
volumes:
- ${TELEGRAF_CFG_PATH}:/etc/telegraf/telegraf.conf:rw
env_file:
- .env
depends_on:
- influxdb
grafana:
image: grafana/grafana-oss:8.4.3
volumes:
- grafana-storage:/var/lib/grafana:rw
depends_on:
- influxdb
ports:
- ${GRAFANA_PORT}:3000
volumes:
grafana-storage:
influxdb-storage:`


themeTools getColor should accept OpaqueColorValue

Describe the bug
expo-vectorIcons uses string | OpaqueColorValue or simply ColorValue which uses OpaqueColorValue but getColor requires a string.

@trajano  We will fix this in further release, for now theme tools provide tranparentize util which can be used to provide opacity. Let us know if you have any more doubts.

It's more for improving type safety by making things consistent with React Native types and removing the use of any (which I don't think you used in this context).

@trajano we have introduced a way to use the alpha value on any theme color by simply appending :alpha.10 or some number from the theme within NativeBase.
NOTE: These colors are not part of the theme instead we're adding alpha values on existing theme tokens.
So if it's a valid NativeBase color, getColor will give you its respective rgba value


Slightly reduced memory usage of the DNSCache

Use more accurate map implementations and presize the lists inside the
cache to reduce the memory usage.

Here are details to this PR, i am running openHab 3.4 on a Raspi, which is a memory constrained environment.
Sometimes the JmDNSImpl is one of the object with the biggest memory footprint.

Most of this is due to the _cache field

A significant part of each entry in the cache is the _qualifiedNameMap, which is replaced in this PR.

@kaikreuzer could you have a look at this? thanks in advance

@joerg1985 Interesting change, thank you! It is actually the first time I hear about EnumMap - sounds useful indeed.
But will this change have any significant impact? As you showed, the cache size is somehow much bigger than the value it brings. Should we think about any further measures, like e.g. converting the cache to a LRU cache?


Document API Practices Options

I thought it might be worth adding some documentation around the API defaults options (https://github.com/Netflix/stethoscope/blob/master/stethoscope/api/defaults.py#L135)
It's not immediately clear what key options are available, what their possible values are, what that might do, and how that data is fed throughout Stethoscope.

There's some initial work on that documentation here, but in writing it I realized how unhappy I was with the way the system currently works. Therefore, it's subject to change while we get our ducks in a row.


@alloy use yarn

@alloy i was trying to check this out: https://github.com/artsy/force/issues/771
got frustrated with npm shrinkwrap. as for mailcheck, they haven't yet actually released the new version which might contain the fix for the bug.
i compared the output in shrinkwrap and yarn and the only differences are minor version changes and patch changes, which are permissible under the carat versions (^X.x.x) we've specified in the package.json.

actually going to close this i want to check something out first!


WIP: add javafx support for macOS

Instructions plus FAQ are in place: https://adoptopenjdk.net/faq.html#openjfxfaq


Add SigmaModExpansions

@Sigma88 This adds SigmaModExpansion as a separate mod, it provides SigmaRTExpansion and SigmaOPMExpansion, it also conflicts with them.

thanks for the help dbent :)


Clarify naming conventions for Maven artifacts

Many developers who are getting started with the project seem to get confused by similarly named Maven artifacts. For example, spring-cloud-gcp-pubsub and spring-cloud-gcp-starter-pubsub. We should create a list of all published Maven artifacts and what they are in our reference documentation.

For some source of truth https://docs.spring.io/spring-boot/docs/2.1.2.RELEASE/reference/htmlsingle/#using-boot-starter

I have a good idea where to put this; I am thinking of revamping our Getting Started section to be more comprehensive and useful.

@dzou Sounds good!


Authentication

[x] ADD auth module at grid library. (#195)
[x] ADD auth module at Grid Node App.
[x] Update Federated Learning Notebooks
[x] Handle different worker environments by user. ( #304, #236 )
[x] Able to connect private workers at the same host between each other.
[x] Able to connect private/public workers at different hosts between each other.
[x] Remove search method (overwrite) at grid node app. (#284)
[x] Update Federated Learning notebooks
[x] Solve #270

Ok! I'll work on it.

Fixed.
Could you review it again? @iamtrask

Excellent work! Super excited about this PR!


Beta art fixes

Added Defend beta art
Fixed Sand Dollars beta art being a skill and not a power

Closed this temporarily as there are a few more cosmetic fixes I'd like to implement.

Improved mixed text as well.

thgak you for this PR :)


feat: Incorrect behaviour with component mat-icon

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Light theme warning banners in dark theme

Some organization settings menus have light theme banners in dark theme:

Instead, these should look like other dark theme banners, e.g.:

@zulipbot claim

@alya Hi, I have made these changes and ran the puppeteer test along with the other required tests on my local development server. All of them passed. Can I make a PR on this issue ?

Here is the snap from the puppeteer test which failed in previous PRs


[Issue]: Add additional documentation for running a local LLM in Windows Subsystem for Linux using llama-cpp-python on the GPU.

Describe the issue
Couldn't find documentation or running a local open-source LLM on the GPU in Windows Subsystem for Linux.
I don't know how autogen and local LLMs interact at a low level so I'm not sure there is compatibility with autogen.
I haven't tried llama-cpp-python in Windows 11.
Steps to reproduce
This is just a first pass on installing and running llama-cpp-python on the GPU but it works for me.
Further testing and clean-up of commands is obviously needed!
Install CUDA Toolkit for WSL 2
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_local
Install llama-cpp-python with GPU acceleration
export CMAKE_ARGS="-DLLAMA_CUBLAS=on" && pip install llama-cpp-python
export CMAKE_ARGS="-DLLAMA_CUBLAS=on" && pip install llama-cpp-python[server]
Reinstall llama-cpp-python if you have problems with GPU acceleration
export CMAKE_ARGS="-DLLAMA_CUBLAS=on" && pip install llama-cpp-python --upgrade --force-reinstall --no-cache-dir
export CMAKE_ARGS="-DLLAMA_CUBLAS=on" && pip install llama-cpp-python[server] --upgrade --force-reinstall --no-cache-dir
Open port to WSL 2 as admin in a console
netsh interface portproxy add v4tov4 listenport=7860 listenaddress=<IP_ADDRESS> connectport=7860 connectaddress=<IP_ADDRESS>
Run llama_cpp.server (OpenAI compatible endpoints - /v1/completions /v1/embeddings /v1/chat/completions)
python3 -m llama_cpp.server --model ../models/mistral-7b-instruct-v0.2.Q4_K_M.gguf --n_gpu_layers 30 --port 7860 --host <IP_ADDRESS> --chat_format chatml
Screenshots and logs
No response
Additional Information
Looks like a better way to serve local LLMs compared to FastChat???
By using llama-cpp-python (https://github.com/abetlen/llama-cpp-python) you get the ability to use additional models.
llama-cpp-python has embeddings endpoint.
etc. etc.
llama-cpp-python https://github.com/abetlen/llama-cpp-python
Low-level access to C API via ctypes interface.
High-level Python API for text completion
OpenAI-like API
LangChain compatibility
LlamaIndex compatibility
OpenAI compatible web server
Local Copilot replacement
Function Calling support
Vision API support
Multiple Models

@nodered Looks like you have solution. Would you like to join the documentation effort here: #1597? Just comment there and see where your solution fits in there.

closing as stale - OP was invited to crontrib.


Fix typo "GuzzleHttp" to "Guzzle\Http"

Sorry, I haven't understood at first that guzzle/guzzle Github project uses GuzzleHttp Packagist package and therefor the same namespace.


Extent of axes dependent of order of points being shown

Changing the order of what is being rendered may alter the extent being shown in the plot.
Here below is not a way to reproduce the bug because it would be laborious, but it shows an example of what is going on. This code
        import matplotlib.pyplot as plt
        import spatialdata_plot

        # otherwise pre-commits will remove the "unused" import
        _ = spatialdata_plot

        ax = plt.gca()
        sdata.pl.render_shapes(element="by_polygons", na_color=(1.0, 0.7, 0.7, 0.5)).pl.show(ax=ax)
        sdata.pl.render_shapes(element="by_circles", na_color=(1.0, 0.7, 0.7, 0.5)).pl.show(ax=ax)
        sdata.pl.render_shapes(element="values_polygons", color="categorical_in_obs").pl.show(ax=ax)
        sdata.pl.render_shapes(element="values_circles", color="categorical_in_obs").pl.show(ax=ax)
        sdata.pl.render_points(color="categorical_in_ddf", size=10.0, palette="tab10").pl.show(ax=ax)
        # sdata.pl.render_shapes(element="values_circles", color="categorical_in_obs").pl.show(ax=ax) # <- this line is identical to the one 2 lines above!
        plt.show()

gives this plot:

If we uncomment the last line, we get this plot instead:

If we plot only the line that is commented in the code above, this is shown:

Expected behaviors:

the final extent should not dependent of the order of elements being plot
the expected extent is the screenshots above doesn't fit the actual extent of the data

Note: I didn't look at the extent code but I saw a few PRs modifying it. If the problem arises because of edges cases of coordinate transformations I am happy to help refactoring the get_extent() code inside SpatialData.

More details: I think the problem is in render_points().

Note from call with @LucaMarconato: When axs object is passed, check for current axes limit and, if needed, extend them but not overwrite.

@LucaMarconato let's merge some of the other smaller PRs before I implement the extent-increment logic here

@LucaMarconato can you try to reproduce your error?


Fix import comment to fix failing in go 1.4

Using go 1.4 'go get -u -a' logs the error message:
package github.com/sourcegraph/go-selenium: code in directory /Users/user/workspace/go/src/github.com/sourcegraph/go-selenium expects import "sourcegraph.com/sourcegraph/go-selenium"

Isn't that the desired behavior, though? Does your change disable the import comment? The docs seem to suggest that the comment style is irrelevant.

Sorry, my bad.


New: Define media type for config files

Pull request checklist
Make sure you:

[X] Signed the Contributor License Agreement
[X] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[ ] Added/Updated related documentation.
[X] Added/Updated related tests.

Short description of the change(s)
Change per https://github.com/sonarwhal/sonarwhal/pull/808#issuecomment-372785511

@molant Done.

The html checker rule tests are failing in this PR and it could be reproduced in local. It doesn't look like it's caused by the changes in this PR. I will take a look into it if nobody else is already doing it.

@qzhou1607 is the rule failing with the code in master? If so, I'll merge this and in the meantime you can do a separate PR to fix that.
Thanks!


(WIP) benchmarking

[x] initial benchmark works
[x] figure out how to adjust how many iterations the bench runs for
[x] play with adding more bench_functions or criterion_groups and figure out what format would be best for showing the different domains and diff hyperparams all together; probably rename the file too
[x] figure out how to do comparisons and come up with a standard way to run the comparison between two commits

ok benchmarking is in a decent initial state. There are definitely possible improvements (figure out how --save-baseline works and such, add another tiny tiny benchmark you can optionally run (eg single threaded nuts-bolts -a2) for lightweight benching along the way. But for now this is fine, I think actual experience trying it out will be more useful to guide changes to benchmarking than just thinking hard about it right now


Provide Swift Package Manager support

Please add support for Xcode 11 and Swift Package Manager

import PackageDescription

let package = Package(
    name: "CodableFirebase",
    products: [
        .library(name: "CodableFirebase", targets: ["CodableFirebase"])
    ],
    targets: [
        .target(
            name: "CodableFirebase",
            path: "CodableFirebase"
        )
    ]
)

SPM support is fixed with this PR https://github.com/alickbass/CodableFirebase/pull/92


feat: pause steps so users can shell in and debug them. Fixes #6841

Tips:

Maybe add you organization to USERS.md.
Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it does not need to pass
Sign-off your commits to pass the DCO check: git commit --signoff.
Run make pre-commit -B to fix codegen or lint problems.
Say how how you tested your changes. If you changed the UI, attach screenshots.
If changes were requested, and you've made them, then dismis the review to get it looked at again.
You can ask for help!

I struggle to ge the test working, currently I try to use kubectl to create the files that will stop the pause behaviour but ar getting:
/usr/local/bin/kubectl exec -it $(kubectl get pods | awk '/pause-after/ {print $1;exit}') -c main -- bash -c '/proc/1/root/run/argo/ctr/main/continue && touch /proc/1/root/run/argo/ctr/main/continue/after'
exit status 1error: arguments in resource/name form may not have more than one slash

Do you have some suggestion on how we could structure these tests better @alexec ?

Do you have some suggestion on how we could structure

You can invoke 'kubectl exec' via Golang client APIs (there are examples in the code), but I think your error is because your awk is giving invalid pod name?

Do you have some suggestion on how we could structure

You can invoke 'kubectl exec' via Golang client APIs (there are examples in the code), but I think your error is because your awk is giving invalid pod name?

ok, thanks will take a look again.


Basic UI Design

User story

As a Software Developer
We need a basic UI design created in https://www.figma.com/
So that the website looks attractive for the industry partners

Acceptance criteria

Criterion 1
Criterion 2
...

@olyaee you said you already have some info / a project at figma, could you maybe share that project here again?

Here you can request an education account
https://www.figma.com/education/
I have made a project and put some templates that might be relevant to our needs.
There are much more in the Figma community
https://www.figma.com/file/IMQ0L5JfTWtP8cNyXSlQz4/Carbon-Footprint?node-id=15%3A194
After creating the component and selecting it, you can select "Inspect" in the right panel and see the CSS code for it.

Also to be considered:

https://github.com/tabler/tabler
@ScoutAtlas

https://preview.tabler.io/

And:

UI / UX Design Tutorial – Wireframe, Mockup & Design in Figma
@SaiVarunVaranasi

Created a Landing Page and a Dashboard while learning Figma.
Proj8 Figma Team Project


dsutils deprecated in python 3.10+, obsolete in 3.12

dsutils.util used for string2bool conversion
dstutils.setup used in radiotherm

this is no longer an issue, thermostatsupervisor pkg is working in python 3.12, radiotherm is obsolete (but not yet removed from code), and there are no references to dsutils in thermostatsupervisor.  Closing ticket without any code changes.


.NET 8

Will you release a .NET 8 specific NuGet package?

Sure, you could provide a PR :)

I will provide an update today.


Fix passing zero value for threshold and allow specifying threshold type

If threshold is set to 0 it is replaced with default value 0.005. Fixing that and moving the default value to single place.
Adding ability to set threshold type: pixel/percent.

Nice, good catch, thx for the PR 😊


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/opstest2/docs-archive-test-source.git

Docs Build status updates of commit 144a87c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-target' (branch: Release_Archive_main_2022-03-09-01-34-20) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


generating a report for each solution designed

a doc for sharing, discussing the solution with others. maybe a pdf doc
Requirements:

readable and self-descriptive
the pdf should serve as a FAIRification investigation report. People should be able to follow the structure of the report, and understand each section.
record both input and output section
covering the project examination stage.
provenance
record date/timeand other essential details.

here is a report template. Please let me know if this makes sense.
https://docs.google.com/document/d/1nCybhr12Q_3O7xBbLr_HtOegWi5VdV-h9olbc3zzttM/edit?usp=sharing


Spark sql support

Fixes #93
Problem
Quill could be used as a more user-friendly way to use Spark's SQL engine. The Dataset API is unintuitive and has many untyped methods.
Solution
Create a new module that allows users to define queries using Quill's DSL to run on top of Datasets and RDDs.
Notes

Spark doesn't have a Scala 2.12 version yet. I upgraded to SBT 1.0 as a tentative to fix the problems with sbt-doge. It didn't really solve the issue. I reverted the SBT 1.0 upgrade and used a hack using a system property.
Spark doesn't support bind variables, so Quill has to encode values as strings. Also, not all types supported by SqlContext are supported by Spark. That's why the context extends directly from Context.

Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

@getquill/maintainers this is ready for review

If someone is interested in testing this new module, just change the Quill version to spark-SNAPSHOT (instead of 2.0.0, for example). Note that spark doesn't have a scala 2.12 release yet, so the project needs to be on 2.11.
The documentation is here and here is an example of a spark job.

Hey man, this is really cool, glad to see more people taking type safety in Spark seriously! I was wondering if you've seen the Frameless project? We started with providing a type safe query for Spark SQL and have since started supporting other functionality as well.
Great work!

@adelbertc Thanks for the feedback! :) It's indeed great to see type-safe solutions like Quill and Frameless for spark sql. I imagine Dataset is one the most used scala DSLs, which is terrible news given how unintuitive it is.
I know Frameless, but I'm not a big fan of the Dataset API in general (select, where, etc). I think it's much more natural if the user can express the computation using a collection-like API.


Add tracing support for compaction

Is your proposal related to a problem?
We have some metrics in the compactor of its overall status. But right now it is hard to track the status and time taken for each compaction run.
Describe the solution you'd like

Add tracing support for compactor and instrument different steps in compaction. For example:

Block planning
Block download
Block verification
Block compaction
Block upload

I belive https://github.com/thanos-io/thanos/pull/4903 should solve this


Change link to documentation in description

Please change link to docs in the repo description to docs.zendframework.com

Done!


Add autoscale forumla to interactive mode spark clusters

Will help with core quota issues.

i think we should have a aztk spark cluster add-workers/remove-workers first...


convenience syntax for variable initialization

[var name:"x" value:10 /]

could be shortened to
[var x:10 /]

, for example.

Possibly supporting multiple?
[var x:10 y:20 z:30 /]

whatever we end up with for this will have to work for derived as well.
[var name:"x" value:10 /]
[derived name:"y" value:`x * 10` /]

becomes
[var x:10 /]
[derived y:`x * 10` /]

closing for now


Node status value is different for 7mode vs cmode for node_new_status metrics. For example, when node is down, cmode would show 0 but 7-mode would show 1. How do we make the value same for both platforms?

Is your feature request related to a problem? Please describe.
yes. It creates confusion when we query the status for the different platforms
Describe the solution you'd like
Value (0 or 1) should mean the same thing across different platforms
Describe alternatives you've considered
Writing alert rules with different platform label as a filter solves the issue.  But when we run ad-hoc queries, we just need to remember that behavior.
Additional context
N/A

As exepcted node_7mode_status metric has been removed and node_new_status metric shows values as expected for cluster and 7mode system


[Error] Matter and WiFi connectivity

I'm currently trying to send data from my ESP32 to Google Home using the Matter Protocol.
I managed to get it on my Google Home app but it appears as offline, so I tried to connect the device using the WiFi library so it can send data do the endpoint (Don't know if that helps, I was hoping to get some insight about that too).
However, this error message appears on my serial monitor log when I run the code.
I've been trying to fix this for days. Is the WiFi loop interfering with the creation of the endpoint somehow?
I'm sending my code below. I would be glad if someone could help me. Thank you in advance.
Sensor.zip
ERROR MESSAGE:
WiFi connected
E (3140) esp_matter_core: Error create default event loop

abort() was called at PC 0x4015674d on core 1

Backtrace: 0x40083769:0x3ffd7320 0x40093e19:0x3ffd7340 0x40099919:0x3ffd7360 0x4015674d:0x3ffd73e0 0x40156246:0x3ffd7400 0x401565f9:0x3ffd7430 0x400d255c:0x3ffd7460 0x400d25eb:0x3ffd74e0 0x400d546e:0x3ffd7510

ELF file SHA256: c5681ca225aa6b52

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13924
ho 0 tail 12 room 4
load:0x40080400,len:3600
entry 0x400805f0```

You should not connect Matter devices with WiFi library - Matter library should take care of it and reconnect automatically. I think that you should debug logs from Matter.

I got to define the ssid and password somewhere in my code right?
I've been searching the source code and the examples but I can't find any example of that.
Im able to detect my matter device and add it to my Google Home App but it says my device is offline.

During pairing, credentials of WiFi where you are currently connected are send from your phone to Matter device. Matter then uses it to join network. Maybe your network is causing problems? Try changing SSID or network to 2.4GHz. I would also look through logs carefully - there should be info about trying to connect to WiFi during pair process

You were right, it is able to pair the WiFi.
The problem now is that the attribute::update is not being able to update the endpoint.
Do you know what might be causing this?
Sorry for making lots of questions, I really need to implement this for a work.
I think I configured everything well looking at the examples that are available.
I'll send my code below in case of need. Thank you in advance.
MatterProtocol.zip
 E (161758) esp_matter_attribute: esp_matter_attr_val_type_t not handled: 0 E (161758) esp_matter_attribute: Could not allocate value buffer

During pairing, credentials of WiFi where you are currently connected are send from your phone to Matter device. Matter then uses it to join network. [...]

Thank you for that insight. Does this mean that ESP-Matter stack cannot share connections with other services? I'm currently building a commercial product which supports WiFi and Ethernet connections. On the application level we're supporting multiple automation protocols.  We were planning on configuring the network ourselves. But now I'm thinking that might not be possible with Matter...


What is the package maintainer ?

Hi,
I am trying to use your template for a project of mine.
Unfortunately, I am not sure I understand the definition of the package maintainer ( myproject_PACKAGING_MAINTAINER_MODE)
I the myproject_PACKAGING_MAINTAINER_MODE considered the build for production and the other is build in development ?
Why is WARNING_AS_ERRORS OFF by default ?
Why is ENAME_SANITIZER_** set within the if<->else ? Could this not just be defined in front of the if ?
Why is myproject_ENABLE_IPO be disabled on Package Maintainer mode ? Would't it make more sende to disable it in NON-PACKAGE_MAINTAINER mode ?
I would be really happy if someone could untangle my confusion a bit :-)

From my understanding the packaging maintainer mode should only be used by the developers of this package. I.e. we only want to enable additional checks for the developers.
I believe that there is a bug in this line: ProjectOptions.cmake
The condition should be NOT PROJECT_IS_TOP_LEVEL OR NOT myproject_PACKAGING_MAINTAINER_MODE. (Notice the second NOT.)


ProjectMonth backend call optimization

Do not fetch all ProjectMonth records on startup:
Only get ProjectMonths that have one of;

!timesheet.validated
inbound.status !== paid
has invoiceId & invoiceId.verified
or: has verified (=force verify)

So if there is one such projectMonth: return all projectMonths with the same .month
if it is too difficult for mongo to fetch such construct in a performant way, we'll need to make it easier.
For example projectMonth.verified could be used for this.

Once we are no longer fetching all projectMonths, it should be possible to load "older projectMonths" from the frontend.
Example: Buttons "Load previous month" | "Load previous year"
Load previous year:

If there are months not yet loaded in the current year, load those months
If the entire current year is loaded, load the previous year

There is now a attachments_project_month_overview collection:
Could add a verified: boolean there.
This would be true when all projectMonths are verified: true | 'forced'
Then could only fetch the verified ones.
Probably should also add an extra filter on the "MonthlyInvoicing" list pages to filter on status "Toon alle niet geverifieerde" (-> SwitchComponent?).
Q: Zou het handig zijn indien alle facturen van meer dan 1 maand geleden die geverifieerd zijn bij default verborgen zijn (dus x maanden geleden, enkel de niet-geverifieerde tonen)


management orchestrator often hangs

Steps to reproduce:

create or delete a test orchestrator
wait a couple of minutes
observe desired state deploy state: nothing deploying, many resources in available state, all services deployment "in progress"
click "force deploy" -> almost immediate deploy of hanging resources -> services deployment "ready"

This is related to agent backoff cause by very slow responses to get_increment


Update init.py

The added indent_xml method in the Graph class provides pretty printed xml formatted .graphml files

Was just looking at this repo and saw this.  Worth noting the stdlib has a xml pretty printer:
https://docs.python.org/3/library/xml.dom.minidom.html#xml.dom.minidom.Node.toprettyxml
So a simple way to pretty print xml is:
xml_str = obj.to_xml()
xml_obj = xml.dom.minidom.parse(xml_str)
pretty = xml_object.toprettyxml()

Of course this is not the most efficient as you are serializing, parsing, serializing.


OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0

^^ Provide a general summary of the issue in the title above. ^^
Description
Newrelic rpm version 8.16 and above logging open ssl error  in newrelic_agent.log
Error Detail :
Unable to send metric_data data, will try again later. Error:
OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 peeraddr=xxx.x.x.x state=SSLv3 read server session ticket A
Steps to Reproduce

update newrelic rpm to 8.16 or above from version 8.9
check newrelic_agent.log after some time.

Your Environment
Rails - <IP_ADDRESS>
Ruby - 3.1
os - centos

Hi, @aki1221! Thanks for reporting this error. I'll start to work on a reproduction. In the meantime, could you help me with a few questions?

You mention to "check newrelic_agent.log after some time". What is your application doing in the meantime? Serving web requests, running background jobs, doing database updates, etc. Or is there no activity, and running a server with the agent will throw the error?

Which environments have you seen this error in? Development, staging, production?

Are you currently setting the ca_bundle_path configuration?

Is this happening with only metric_data or do you have log messages about other data types?

Is any data being successfully sent to New Relic?

Hi,
Yes sure.

I am not getting this error when agent is started very first time but after few minutes of application usage(both serving web request and running background jobs). It start showing that message in newrelic_agent log.
Both on production and staging.  On staging it is coming as info in log and on prod it as coming as error.
No I am using proxy server for forwarding request to newrelic collector. Not sure about ca bundle configuration on proxy but I tried doing curl request to collector and other newrelic endpoint it was working.
Metric data
Yes I am able to see transaction and metrics in newrelic. Looks like data is getting sent to newrelic but with some delay.

Thank you, @aki1221! What TLS version are you using?

After taking a look, I believe New Relic Support would be the best place to take the next steps on this issue.
You can engage the New Relic Support Community or open a support ticket, depending on your account's support level.  Please provide a link to this GitHub issue when submitting your community post or support ticket. We'll continue the conversation there!

Closing, as we're continuing this conversation via NR support.


installation error

Unfortunately, the installation with conda fails on our Linux system  Ubuntu 16.04.7 LTS. After creating and activating a conda environment as suggested in the installation manual on github, I get:
`conda install -c bioconda  read2tree
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.                                                                      failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

feature:/linux-64::__glibc==2.27=0
feature:|@/linux-64::__glibc==2.27=0

Your installed version is: 2.27
`
Any advice would be greatly appreciated.

Dear
Thanks for using read2tree. Please try installation from source
or use mamba mamba create -n r2t -c conda-forge -c bioconda python=3.10.8 read2tree.
Please let us know the result.

Dear Sina,
thanks.
installation with mamba worked, from source did not work.
Best,
Lukas
FREIE UNIVERSITÄT BERLIN / FREE UNIVERSITY OF BERLIN
Pharmazeutische Biologie / Pharmaceutical Biology
Königin-Luise-Str. 2+4,
D-14195 Berlin

Von: Sina Majidian @.***>
Gesendet: Donnerstag, 19. Oktober 2023 09:21:39
An: DessimozLab/read2tree
Cc: Koch, Lukas; Author
Betreff: Re: [DessimozLab/read2tree] installation error (Issue #48)
Dear
Thanks for using read2tree. Please try installation from sourcehttps://github.com/DessimozLab/read2tree#3-installation-from-source
or use mamba mamba create -n r2t -c conda-forge -c bioconda python=3.10.8 read2tree.
Please let us know the result.
—
Reply to this email directly, view it on GitHubhttps://github.com/DessimozLab/read2tree/issues/48#issuecomment-1770211500, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDK2J4I4BZKMV32TT6QC26DYADIIHAVCNFSM6AAAAAA6DWV7R2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZQGIYTCNJQGA.
You are receiving this because you authored the thread.Message ID: @.***>


[EAS] Lots of @babel errors on eas build: [RUN_GRADLEW] Cannot resolve the path to<EMAIL_ADDRESS>

Summary
On eas build --clear-cache --profile development --platform android --local I am having the error below. They aren't stopping my build, but as they are warns they surely aren't good.

My devDeps
"devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/lodash": "^4.14.178",
    "@types/react": "~17.0.21",
    "@types/react-native": "~0.64.12",
    "@types/react-router-native": "^5.1.2",
    "@typescript-eslint/eslint-plugin": "5.8.0",
    "@typescript-eslint/parser": "5.8.0",
    "babel": "^6.23.0",
    "babel-core": "^6.26.3",
    "babel-loader": "^8.2.3",
    "babel-plugin-module-resolver": "4.1.0",
    "eslint": "8.5.0",
    "eslint-config-gev": "latest",
    "eslint-plugin-react": "7.27.1",
    "eslint-plugin-react-hooks": "next",
    "eslint-plugin-react-native": "4.0.0",
    "typescript": "~4.5.4"
  },

(yesterday I installed some of those babel packages due to another error that was being thrown)

My babel.config.js
module.exports = function (api) {
  api.cache(true);
  return {
    presets: ['babel-preset-expo'],
    plugins: [
      [
        'module-resolver',
        {
          root: ['./src'],
          alias: {
            shared: '../shared'
          },
        },
      ],
      'react-native-reanimated/plugin',
    ],
  };
};

(are those needed?)

Environment
Expo CLI 5.0.1 environment info:
    System:
      OS: Linux 5.13 Ubuntu 21.10 21.10 (Impish Indri)
      Shell: 5.8 - /usr/bin/zsh
    Binaries:
      Node: 16.13.0 - ~/n/bin/node
      Yarn: 3.1.0 - ~/n/bin/yarn
      npm: 8.1.0 - ~/n/bin/npm
    SDKs:
      Android SDK:
        API Levels: 23, 28, 29, 30
        Build Tools: 29.0.2, 30.0.3
        System Images: android-28 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
    npmGlobalPackages:
      eas-cli: 0.42.4
      expo-cli: 5.0.1
    Expo Workflow: managed

Please specify your device/emulator/simulator platform, model and version
Android, error on build
Error output
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-proposal-export-default-from" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-syntax-export-default-from" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-syntax-flow" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-flow-strip-types" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-react-display-name" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-react-jsx-self" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-react-jsx-source" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-runtime" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-typescript" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/plugin-transform-flow-strip-types" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/register" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "babel-preset-fbjs" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "babel-preset-fbjs" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/preset-flow" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/preset-typescript" package.
[RUN_GRADLEW] ⚠  Cannot resolve the path to "@babel/register" package.
[RUN_GRADLEW] (node:159594) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /tmp/hb/eas-build-local-nodejs/6776ae47-bdc4-43c7-b483-062a65e5efd6/build/app/node_modules/tslib/package.json.
[RUN_GRADLEW] Update this package.json to use a subpath pattern like "./*".
[RUN_GRADLEW] (Use `node --trace-deprecation ...` to show where the warning was created)

Reproducible demo or steps to reproduce from a blank project
Can add member to app private repo if needed

Coming across this when building on iOS & Android as well, the app still builds and functions fine however.

I'm getting this too, any hints on what's happening?

Same issue, here as well. Any workaround for it?

Same issue, but the app most certainly does not build fine as some others have said.

@brentvatne seems like at least 8 developers are facing this issue. Any ideas?

Actually, perhaps that's not the fatal error here? It seems to be further down the logs:
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (3, 21): Unresolved reference: kotlin
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (4, 21): Unresolved reference: kotlin
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (8, 30): Unresolved reference: Module
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (9, 3): 'definition' overrides nothing
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (9, 31): Unresolved reference: ModuleDefinition
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (10, 5): Unresolved reference: name
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (11, 5): Unresolved reference: viewManager
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (12, 7): Unresolved reference: view
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (16, 7): Unresolved reference: prop
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (20, 7): Unresolved reference: prop
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (26, 7): Unresolved reference: prop
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (30, 7): Unresolved reference: prop
[stderr] e: /home/expo/workingdir/build/node_modules/expo-linear-gradient/android/src/main/java/expo/modules/lineargradient/LinearGradientModule.kt: (34, 7): Unresolved reference: prop
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':expo-linear-gradient:compileDebugKotlin'.
[stderr] > Compilation error. See log for more details

After removing expo-linear-gradient we're now hitting this issue instead: https://github.com/expo/eas-cli/issues/1014#issuecomment-1117990659

@Slapbox - can someone provide a minimal reproducible example? i hate to sound like a broken record but..

I don't think it's a fatal error, but maybe it's causing the various downstream fatal errors we keep hitting? I think no though the more I investigate.
Can people experiencing this share whether they are using monorepos and/or have a babel.config.js independent of their Expo .babelrc.js? (We use both and I'm guessing it may be related)
For now I'm trying to skip Expo 44 entirely and jump straight to 45 beta to see how that goes.

At least for us this seems to be resolved in SDK 45 (sadly still hitting build errors.)