error message using additionalDeployments field

What steps did you take and what happened:
helm install capi-operator capi-operator/cluster-api-operator --create-namespace -n capi-operator-system --set infrastructure="azure:v1.16.0" --set addon="helm:v0.2.4" --set core="cluster-api:v1.7.4" --set manager.featureGates.core.MachinePool="true" --set manager.featureGates.azure.MachinePool="true" --set additionalDeployments[0]="--crd-pattern=.*" --wait --timeout 90s

which produces this error
Error: INSTALLATION FAILED: failed post-install: warning: Hook post-install cluster-api-operator/templates/infra.yaml failed: 1 error occurred:
        * admission webhook "vinfrastructureprovider.kb.io" denied the request: json: cannot unmarshal string into Go struct field InfrastructureProviderSpec.spec.additionalDeployments of type v1alpha2.AdditionalDeployments

What did you expect to happen:
Installation worked and supports the pattern listed.
Anything else you would like to add:
Very possible I just need to pass in the parameter differently for additionalDeployments to helm - I just couldn't figure out what that would be.
Environment:

Cluster-api-operator version: 0.12.0
Cluster-api version: 1.7.4
Minikube/KIND version: 0.23.0
Kubernetes version: (use kubectl version): 1.30.0
OS (e.g. from /etc/os-release): WSL Ubuntu 22.04

/kind bug

The additionalDeployments field is a map and has many different nested fields. You're required to specify the name of the deployment, so you'll need a values.yaml file. Unfortunately, setting this field from the command line is not possible.
Here's an example of how to use the new field in a values.yaml file:
additionalDeployments:
  azureserviceoperator-controller-manager:
    deployment:
      containers:
      - name: manager
        args:
          --crd-pattern: "documentdb.azure.com/*;managedidentity.azure.com/*"

/close


Update scalafmt-core to 3.0.2

Updates org.scalameta:scalafmt-core from 3.0.1 to 3.0.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

Merging #35 (453d3e8) into master (7841c84) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          17       17
  Lines         258      258
  Branches        6        6
=======================================
  Hits           82       82
  Misses        176      176

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 7841c84...453d3e8. Read the comment docs.


[Hydroshare GIS] No 'delete all layers' button

When you upload a resource a lot of layers show up in Hydroshare GIS. If I want to delete all those I have to do it manually or exit out of Hydroshare GIS

This issue was moved to CUAHSI-APPS/tethysapp-hydroshare_gis#6


Dead link to 'meccano'

The meccano link in the Servers list does not seem to be working (as in, that Github repo gives a 404 Not Found).
Has it moved somewhere, or does it need to be removed?

Currently private. Ping @mansoure

@mansoure - Should we keep that link on the servers list?

Ok, well, no worries. Handled in https://github.com/solid/solid-platform/pull/2, closing.


Move away from CERN CA and use Let's Encrypt with cert-manager on K8s

This has been done for Reana and JupyterHub, while Rucio still needs CERN CA certificates to work, unfortunately. Closing this for now.


Upgrade to node16.

Use node v16 in CI and action metadata file.

Codecov Report

Merging #368 (776a4af) into master (2bdcf68) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #368   +/-   ##
=======================================
  Coverage   84.04%   84.04%
=======================================
  Files          15       15
  Lines         495      495
  Branches       62       62
=======================================
  Hits          416      416
  Misses         79       79

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 274914b...776a4af. Read the comment docs.


Decoupling python/php code from transpiler

I'd like contributing to python codebase, however, am unable to since it's heavily coupled with js one, without good reason.
Most APIs differ by URL endpoints and regex substitution for pairs. I suggest having API definition folder, for example /API_def/kraken.json where API specific configuration is provided. Market than would load this file and know everything needed to perform its unified API duties.
Most APIs have json responses, thus JSON path can be configured in the configuration file. For example let's take kraken ticker for example:
"kraken":{
    "ticker":{
        "api_endpoint": "https://api.kraken.com/0/public/Ticker/{pair_name}",
        "last": "{pair_name}.c[0]"
        ...
    }
}

Since you've spent more time looking at API configuration you're more familiar what's needed.  {pair_name} and other serve as substitution points in the API. How does this look to you?

I'd like contributing to python codebase, however, am unable to since it's heavily coupled with js one, without good reason.

We welcome you to open pull requests and issues and we really appreciate your help!
There is a reason for coupling, though: we are developing a single codebase which is much easier to maintain than multiple codebases. I would say, Python-version is not coupled with JS, but is generated from JS by more than 95% (as is PHP), including not only the schemas, but all unified methods also. The only thing that's not common is the base Market class, everything else is a result of our custom hand-made transpilation scripts.

Most APIs differ by URL endpoints and regex substitution for pairs.

Endpoint schema is not the only thing that differs from market to market. The generic request method and all other unified methods also have specific implementations and are also transpiled from JS. This is why having only the URL schema separated is not sufficient to do the job, we would have to separate the code as well. I would say, only 50% of supported exchanges can be reduced to a common schema with moderate pain.
By the way, I'm not using regexes inside the unified API, because they may differ in syntax and modifiers very much. I'm only using them in the base class. As for urlpath vars, they are imploded into the URL by basic substring replacement.

I suggest having API definition folder, for example /API_def/kraken.json where API specific configuration is provided. Market than would load this file and know everything needed to perform its unified API duties.

There are two points for having the whole thing in a single source file:

The ccxt library offers a web-version (in JS) for browsers, for developing web-/mobile-apps that communicate with exchanges. This is the reason to avoid disk access inside the library at all costs. This is why having all files separated would make the library hard to link against, in some environments.
Also, a significant time will be wasted for switching between contexts of work. When you are dealing with several files, it's ok, but when you have to work with tens and hundreds of exchanges, it's an overkill. It may not seem to be a problem at first, but in the long term (say, a year) that wasted time sums up to hours and days just for navigating among separate files. I would rather spend that time developing the functionality ) Did you know that an average person spends several days on blinking accumulated throughout a lifetime? ) This is the same as having your eyes closed for a long continuous period ) I would rather not blink at all if I could, I miss that wasted time very much )

Most APIs have json responses, thus JSON path can be configured in the configuration file.

Yes, but that's only true for parsing a basic response, like a ticker. There are some cases, which are not easily-defineable in a schema. Such a schema definition would have to be extremely flexible. It might even require inventing/integrating a separate language to define the schema in its entirety, or taking an existing well-developed schema parser. After all, this would need a much longer spec/syntax and a much more complex architecture. Making a flexible schema format to support all possible definitions for those special cases would bloat the codebase even more.

For example let's take kraken ticker for example:
"kraken":{
    "ticker":{
        "api_endpoint": "https://api.kraken.com/0/public/Ticker/{pair_name}",
        "last": "{pair_name}.c[0]"
        ...
    }
}

Parsing a ticker is actually the easiest of the tasks to separate. Tickers are trivial to parse (all fields are numbers, etc). But take this more complex example (also for kraken), that does product parsing:
    def fetch_products (self):
        products = self.publicGetAssetPairs ()
        keys = list (products['result'].keys ())
        result = []
        for p in range (0, len (keys)):
            id = keys[p]
            product = products['result'][id]
            base = product['base']
            quote = product['quote']
            if (base[0] == 'X') or (base[0] == 'Z'):
                base = base[1:]
            if (quote[0] == 'X') or (quote[0] == 'Z'):
                quote = quote[1:]
            base = self.commonCurrencyCode (base)
            quote = self.commonCurrencyCode (quote)
            darkpool = id.find ('.d') >= 0
            symbol = product['altname'] if darkpool else (base + '/' + quote) # special case
            result.append ({
                'id': id,
                'symbol': symbol,
                'base': base,
                'quote': quote,
                'info': product,
            })
        return result

This whole method is generated from JS → Python/PHP. I don't see an easy way to schematize all those comparisons, conversions, character stripping and string splitting, 'ifs' and the 'darkpool' case without bloating the schema to an unmaintainable level of complexity. So separating this into a schema would require the schematics to be very flexible, that is much longer in syntax and is actually harder to maintain in practice.
Now compare the previous piece of code to the same method for _1broker:
    def fetch_products (self):
        categories = self.fetchCategories ()
        result = []
        for c in range (0, len (categories)):
            category = categories[c]
            products = self.privateGetMarketList ({ # Multiple requests here
                'category': category.lower (), # they want me to lowercase their own string :\
            })
            for p in range (0, len (products['response'])):
                product = products['response'][p]
                if (category == 'FOREX') or (category == 'CRYPTO'): # A special case
                    id = product['symbol']
                    symbol = product['name']
                    base, quote = symbol.split ('/')
                    result.append ({
                        'id': id,
                        'symbol': symbol,
                        'base': base,
                        'quote': quote,
                        'info': product,
                    })
                else:
                    id = product['symbol']
                    symbol = product['symbol']
                    name = product['name']
                    type = product['type'].lower ()
                    result.append ({
                        'id': id,
                        'symbol': symbol,
                        'name': name,
                        'type': type,
                        'info': product,
                    })
        return result

I don't really see too much in common between these two methods, apart from the fact that some variables have identical names. This is one example of hundreds of such special cases.

Since you've spent more time looking at API configuration you're more familiar what's needed.

Exactly, this is how I know that schema separation is not enough. In fact, initial versions of the library had multiple separated schemas, like you suggested, but then we merged everything into a single file. It may seem like an inconvenience to you, but in the end, we think the pros for single-module overweight the cons.

How does this look to you?

At first glance this may sound easy to do, like, there's no big deal in having everything in a dotpath-schema, but in practice this is not easy at all, for sure (we tried that already). If you account not only for tickers/orderbooks, but all methods in general, you'll find the task quite complicated. Such a schema would also have to support some logic for parsing, variable types specs and conversions (for both input and output), etc.
Separating the endpoints list is easy, but designing a universal set of methods sufficient to handle all endpoints/exchanges - that is hard. We will need to consider this very carefully. Yet I'm sure we'll try to handle this issue somehow, so that you could also take part in the development process.

Yeah, you're right. Any DSL will become badly designed language in its own right since exchanges differ in simple, yet nontrivial ways. Close? Unless somebody thinks of some smart solution

I think like I am closing it, but I will still try to reduce the codebase. Thanks for your involvement!


Change erlang to esl-erlang in the esl.rb recipe

If you choose the esl.rb recipe, it should install esl-erlang not erlang.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

I'm a little iffy on this, as in I'm trying to determine the proper approach. Comparing the two packages, it seems that the erlang package just provides language & runtime. The esl-erlang package contains "more packages", but I cannot determine which other packages they are.
I asked in the Erlang IRC channel and poked around the erlang-solutions site to no avail. Can you please help me to understand the difference?
That said, I agree that if I choose the ESL recipe, I should expect that the ESL package is installed.

@jennyfountain were you able to sign the CCLA?


Downloadable spreadsheet to stay up to date with any metadata updates that are made

Implementation - generate a spreadsheet with the data filled in as represented in Ingest.
Sub-tasks: (added 14/07/2021, issues found last sprint demo)

[x] Fix caching and exported spreadsheet cleanup

[x] Add the missing rows (the 1st 4 rows from the original spreadsheet with the column names and static text)

[x] Add all the other data types (Karoly)

[x] Processes
[x] Protocols
[x] Data (files)

[x] Fix tab names --- shouldn't be encounter module worksheets (Alegria)

[x] integration / unit test (download & upload spreadsheet) (Karoly?)
https://github.com/ebi-ait/ingest-broker/pull/17/files

[x] bug in spreadsheet generated - some header columns are missing like 'project.contributors.project_role.ontology_label' (added 15/07/2021) Alegria & Karoly

[x] metadata row values are not aligned to correct column headers (added 16/07/2021) Alegria & Karoly

[x] data rows should start at row 6 (16/07/2021) Karoly

[x] project worksheet should go first before "project - contributors" etc (added 19/07/2021) - Karoly

[x] submission errors are not being cleared (added 20/07/2021)

[x] couldn't import spreadsheets with module worksheets like collection protocol - reagents see 10x test spreadsheet flattener shouldn't add this as a separate module worksheet (added 20/07/2021)

[x] run test plans with a wrangler

[x] docs - wrangler will help. See PR for SOP

[x] testing scenarios

[x] Enrique's scenarios - https://docs.google.com/spreadsheets/d/1hf6k7EUw5_l3mZEHVMi-iRZTRtCFyTDS1rOcIXNHBpo/edit#gid=0

See miro board for architecture.

Bug:  Some column headers missing
Steps to replicate:

Upload a test spreadsheet https://github.com/HumanCellAtlas/metadata-schema/blob/master/infrastructure_testing_files/current/dcp_integration_test_metadata_1_SS2_bundle.xlsx
Go to the project's view
Edit project and update 1 contributor to have a Contributor role ontology
Download spreadsheet

Actual Behavior:
In the Project - Contributor worksheet there are cells which has no headers like project.contributors.project_role.ontology_label
Expected Behavior:
There should be no missing header columns.

Integration test subtask - I uploaded a work in progress version here:
https://github.com/ebi-ait/ingest-broker/pull/17
Hopefully the test flow is understandable.
Missing/TODO:

We need to add JWT token for ingest API
ingest_api_url would be better to come from an environment variable. Currently it is hardcoded to use the dev environment

Sub-task: couldn't import spreadsheets with module worksheets like collection protocol - reagents see 10x test spreadsheet
In the downloaded spreadsheet the collection protocol has not got a UUID column. Also missing other properties if you compare the UI with the worksheet. The problem could lies around there, but I would need time to debug this more.
The code that generates the input JSON for the spreadsheet generation is in ingest-client. It is in the ingest/downloader/flattener.py class.
Step to reproduce the error:

Download the following XLSX to your local computer: https://github.com/HumanCellAtlas/metadata-schema/blob/master/infrastructure_testing_files/current/dcp_integration_test_metadata_1_optimus_10X_bundle.xlsx
Login in to Ingest UI
Go to All Submissions tab
Click on Upload New Submission button and upload the previously saved XLSX
On the opened submission click on the Download submission button (Down arrow)
Try to re-upload it Spreadsheet tab of the submission.

You are going to get this error:
'NoneType' object has no attribute 'add_module_entity'
Here is the stack trace:
Traceback (most recent call last):
File "/app/src/hca-ingest/ingest/importer/importer.py", line 62, in import_file
spreadsheet_json, template_mgr, errors = self.generate_json(file_path, is_update, project_uuid=project_uuid)
File "/app/src/hca-ingest/ingest/importer/importer.py", line 44, in generate_json
spreadsheet_json, errors = workbook_importer.do_import(ingest_workbook, is_update, project_uuid)
File "/app/src/hca-ingest/ingest/importer/importer.py", line 220, in do_import
registry.import_modules()
File "/app/src/hca-ingest/ingest/importer/importer.py", line 166, in import_modules
submittable_entity.add_module_entity(module_entity)
AttributeError: 'NoneType' object has no attribute 'add_module_entity'

@ke4 and I tried to pair on fixing the collection protocol issue:
https://github.com/ebi-ait/ingest-client/pull/24
We haven't tested yet this with the broker.

@ke4 @aaclan-ebi  I have ran the above steps using broker and hash  99816a2 (PR #24, linked above). No errors seen in broker and seems to work as expected.

Test plan for bulk updates: https://docs.google.com/spreadsheets/d/1hf6k7EUw5_l3mZEHVMi-iRZTRtCFyTDS1rOcIXNHBpo/edit#gid=0

Tested this feature - kept metadata changes

AI
@gabsie to create a removal ticket
@ke4 and @aaclan-ebi to work on integration test/rest of the items
@Wkt8 and @ESapenaVentura to look at SOP

Remaining tasks to be filed in specific tickets:

Bulk updates - removal of values for metadata #437
Integration test for Bulk Updates #438

Picking up test scenarios and looking at the SOP again.

Dev notes:
While developing this feature, @ke4 and I made the decision to prioritise the functionality and to scope out the generation of header rows and ensuring the order is the same as the generated spreadsheet:

I believe we haven't rewritten the code for Spreadsheet template generation. We haven't duplicated what it's doing. It's just that we lack the time to study and understand that codebase to reuse or extend it so that we can also populate the header rows and generate the worksheets and columns in the same order as to how they are generated in the template.
Spreadsheet template generation:
The implementation is focused on reading the metadata schema and generating the module/concrete type entities as worksheets and properties as header rows/columns in the spreadsheet (generates the blue part of the spreadsheet)
location: https://github.com/ebi-ait/ingest-client/tree/master/ingest/template
Download Spreadsheet:
The implementation is focused on reading a list of metadata and flattening it (generates the yellow part/rows of the spreadsheet)
location: https://github.com/ebi-ait/ingest-client/tree/master/ingest/downloader
I can see how we can combine/merge these 2 separate groups of codes by mapping the property columns once we work further on this.  @gabsie already made a ticket to support this https://github.com/ebi-ait/dcp-ingest-central/issues/417
cc @amnonkhen

tagging @ami-day for reference

Removing a field directly partially works: see (https://github.com/ebi-ait/dcp-ingest-central/issues/437)


Remove uncalled miq_server lets

Since these were the only things that depended on the
miq_server_guid helper, that can be removed too.
:scissors:
@miq-bot add-label api, test, technical debt
@miq-bot assign @abellotti

could you also remove the miq_server let definition in provision_requests_spec.rb too ?
This way the only place left we define/use miq_server is in collections_spec.rb.  Thanks !!

Thanks @imtayadeway for the update.  @jrafanie should be happy with the ✂

LGTM!! 🎵

✂ 🔥 ✂ 🔥 ✂ 🔥
🍰  🍪 👏 🙇 😍 🎉


Rework Recherche

Again!! Still not working, the concept!!

try again, with an (adapted) RSS file, http://hilite.me/, I can keep the same question


Fork Join is not available in struct view

Plugin is being re-written and will be resolved in the new version.


ISSUE-2801: Added support for passing dynamic timezone to Duckling component

Issue: https://github.com/RasaHQ/rasa/issues/2801
Proposed changes:

Added support for passing dynamic timezone to Duckling component by passing "time_zone" as a parameter

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for submitting a pull request 🚀 @m-vdb will take a look at it as soon as possible ✨

@sara-tagger Any update on this? I don't see any reviewer assigned to this PR.

Can you please also add a changelog entry?

Have added changelog too.

@wochinge The PR has been open for over a month. If possible, can we speed things up a bit? 🙂

@shaswat-indian Do you have time to update the PR? I'd otherwise close the PR for now.

@shaswat-indian Do you have time to update the PR? I'd otherwise close the PR for now.

@wochinge Sorry for the delay, was occupied with some other work! Will be updating the PR in the coming week.

@shaswat-indian Do you have time to wrap this up?

Closing in favour of. https://github.com/RasaHQ/rasa/pull/10781


add database component

i will add database component
use define support mysql or mongodb

i have add mongodb driver and binding to lua


Redo 219 236

This PR should restore the reverts I did last night trying to fix the broken links issue,
I cherry picked the commits from those old branches and put them into this branch so that they get  reapplied.

@garster I was just about to ask you if I could revert your reverts!


wrap pre-tags in the finding view

The PR wraps the text in pre-tags in the finding view which improves the legibility of findings.

hey @no-sec-marko I merged, but now that I'm looking at the wrap info, why would we want to break words? word-wrap: break-word;

Hi @devEricA , the code based on this code snippet [1] [2] and wraps the text for IE - untested ;)
[1] https://css-tricks.com/snippets/css/make-pre-text-wrap/
[2] https://css-tricks.com/snippets/css/make-pre-text-wrap/#comment-441142


Unable to select a Farm to create a Presearch deployment.

The original Farm (244) in question could no longer be tested since the farm was indeed offline, so we were unable to test with the existing node information.
However, after further research with an alternative farm ID 3148; we were able to reproduce the suspected bug symptom.
Data indicated that there were no existing Pre deployments on nodes with this farm 3148, yet - we were unable to select this farm in the playground to create a Presearch deployment. Please see images for reference.

Additionally we observed the following when attempting to reproduce:
The list of farms projected under Presearch were much smaller than the list for a generic VM. During Presearch deployment  we were unable to expand the list to narrow down to a desired farm even with using the country filter, farm name, etc.

Hello Team, any updates on this issue?

Hello Team, any updates on this issue?

Just started investigating the issue, will keep with issue updated with any further findings.

Hello Team, any updates on this issue?

Just started investigating the issue, will keep with issue updated with any further findings.

Thank you @mohamedamer453.

Update:
After running the new playground locally with the network set to mainnet, i found that the issue was already resolved there and the mentioned farm appeared normally in the farms, and the list of farms appeared normally.
Screencast from 20-11-23 14:05:27.webm

Hello Team, any updates on this issue?

The new playground is part of 3.13, so it should be fixed with the 3.13 release.

Hello Team, any updates on this issue?

The new playground is part of 3.13, so it should be fixed with the 3.13 release.

Thanks for the update, @mohamedamer453. We'll inform the user about the update too.

Verified,

Devnet
13a87cf
TC2138 - Deploy Presearch Node

The farm listing is working fine, and I was able to list and search by farm name, and both were successful.

And the same goes for other solutions. Listing, searching, and deploying were done with no errors.

Verified:

Devnet
842ebef


Import error: cannot import Event

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-76ba1ff7ed09> in <module>
----> 1 from eventio.simtel import (
      2     CameraSettings,
      3     Event,
      4     TelescopeEvent,
      5     ADCSums

ImportError: cannot import name 'Event'

Hello Daniel :-) thanks for playing around as promised :-)
This ImportError occurs because there is nothing named Event in eventio.simtel.
One way to look at the classes defined in eventio.simtel might be:
from eventio import simtel
print(simtel.__all__)

May I ask what it is you are trying to accomplish here?  That is great!

Ah ... I just searched for Event in the codebase and found it mentioned in several places, like. e.g. in examples/plot_astri.py and examples/plot_events.py as well as in the doc-strings of two functions in search_utils.py.
So we have to repair these doc-strings and examples.
In the meantime I wanted to propose you might want to try eventio_print_structure <path> to learn about the correct class names. But I found also a tiny bug in that tool. I opened and issue (#111) about this already.

Docs and examples fixed in #114

Yes, Domink.
I am producing some simtel files containing only fluorescence light, which gives no signal triggered by itself with the usual telescopes config files. Therefore there are no events to load (e.g. with ctapipe).
It seems that the way to access to the info within is via this event object containing MC info. The file contains some metadata actually (simtelarray config parameters...), though.

You might want to look into what i proposed here #117, maybe you want to also look into the iact.PhotoElectrons?

What do you want to know? True Photons hitting the camera of each telescope?


no_tls_verify is supposed to deactivate host verification only but it deactivate cert verif altogether

I think there's an issue with no_tls_verify flag.
The doc for method set_no_tls_verify says:

If true, try to establish a TLS connection without hostname verification. Defaults to false.

but the code (for native-tls) is calling danger_accept_invalid_certs which deactivate all certificate check.
Maybe danger_accept_invalid_hostnames was the intent?
And there's the same issue with the Rustls support as I implemented the same behaviour with NoCertVerification.
EDIT: Another possibility is that  the doc is wrong ^^'

Originally, only hostname verification could be disabled in native-tls, while full disabling required dealing with the platform TLS library. So, when full disabling became available through native-tls, and that crate got refreshed in 7838a11, it got activated (but not documented). Full disabling is what I desired from the start, so really just the docs need to be updated.

Thank you for the light :D Great that it's the doc, it's way easier :p


Run Rspec Test on CodeLens is quite slow

Description
Running multiple examples are slow. It appears that it's running each example individually. Even they are same group, it was run individually.
(requiring a new ruby process to run and load rspec and my project code for each test!).
If I try Run In Terminal, it finished under one seconds.
https://github.com/Shopify/ruby-lsp/assets/4997174/8c9f7dca-c55a-4590-9457-f51accff9ee4
(Run)
https://github.com/Shopify/ruby-lsp/assets/4997174/b0f683d5-58d5-4dba-8e75-39c88ac85638
(Run In Terminal)
Reproduction steps

Run multiple tests with Rspec.

Code snippet or error message
require 'rails_helper'

describe 'Should not slow' do
  it '1' do
    expect(true).to be true
  end
  it '2' do
    expect(true).to be true
  end
  it '3' do
    expect(true).to be true
  end
  it '4' do
    expect(true).to be true
  end
  it '5' do
    expect(true).to be true
  end
end

st0012/ruby-lsp-rspec#19

RSpec is handled by an addon, please create an issue there, thanks:
https://github.com/st0012/ruby-lsp-rspec


tokenMints_aggregate->sum->quantity giving inconsistent results

Summary
Given the query below
query assetsForPolicyId($policy_id: Hash28Hex!, $offset: Int!) {
  assets(
    where: {
        policyId: { _eq: $policy_id }
    }
    limit: 2500
    offset: $offset
  ) {
    assetId
    tokenMints_aggregate {
      aggregate {
        count
        sum {
          quantity
        }
      }
    }
  }
}

variables:  {
"policy_id": "d9f8b0ecf8a3ab299c8413edc44bd0cfdf7aadf1648655391fcb30ed",
"offset": 0
}

the 'quantity' field keeps changing. the summation is not consistent. idea is to consider assets whose count/quantity is 1 (NFTs) to come up with a final count. unfortunately i always get different values. the policy has both mint and burn transactions so some math is involved here for sure - it's not just positive summations.
Steps to reproduce the bug

send query above to graphql (loop through 2.5k at a time and set your offset to be the running length of your assets)
initial vars: {
"policy_id": "d9f8b0ecf8a3ab299c8413edc44bd0cfdf7aadf1648655391fcb30ed",
"offset": 0
}
sum up quantity in result for each asset
repeat the steps above a second, third and fourth time and compare results

some code here...
results = []
policy_id = "d9f8b0ecf8a3ab299c8413edc44bd0cfdf7aadf1648655391fcb30ed"
for i in range(1,10): #run the query a number of times
    results.append(get_policy_asset_quantities(policy_id))

for r in results:
    lst_tmp = [asset for asset in r if asset["tokenMints_aggregate"]["aggregate"]["sum"]["quantity"] == "1"]
    print(len(lst_tmp))

Actual Result
output of the print:
7166
7104
7182
7275
7182
7241
7143
7231
7312
Expected Result
I expect the resultant lists to be the same length - they are originating from the same query and filtered the same way. It always varies. Sometimes the quantity is 0 for the assets, sometimes not. This is unreliable data.
Environment
I see this in my local environment but also when I use the public graphql endpoint found below.
It's very easy to reproduce.
https://graphql-api.mainnet.dandelion.link/
Platform

[X] Linux (Ubuntu)
[ ] Linux (Other)
[ ] macOS
[ ] Windows

Platform version
No response
Runtime

[ ] Node.js
[ ] Docker

Runtime version
No response

oops... the query was returning similar assets on every new page request. i fixed it by enforcing ordering. thanks and sorry for the confusion. if you add this to the GQL query fixes it
 order_by: {assetId: asc}


lib/fetchers.nix: Add uppercase proxy environment variables

Description of changes
The Nix installer and the documentation state that they support uppercase proxy environment variables. lib/fetchers.nix only support lowercase proxy environment variables. This commit fixes that.

Things done
Add uppercase proxy environment variables to lib/fetchers.nix.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

The git commit message is missing the (IMHO very important) context from the PR message.

I changed the commit message. Now it has the description in the PR message.


[Android] Implement Establish PASE Connection for SetupCode

Implement establishPaseConnection method for Android Platform.
-> There is an IP Address, BLE only establishPaseConnection method, but there is no establishPaseConnection method using setupCode, so a new one was added.

Could you add one test in java example app for this api?


allow timeout to be configurable

https://www.pivotaltracker.com/story/show/180827785
Allow Inactivity timeout to be disabled by configuration (ENABLE_INACTIVITY_TIMEOUT).
If enabled, function as-is (default; ENABLE_INACTIVITY_TIMEOUT=true).
If disabled (ENABLE_INACTIVITY_TIMEOUT=false),  session will automatically be refreshed by a browser refresh with a popup modal indicating as such (see screenshot)

@ivan-c Will you try these changes out and see if they are working as you think they should be, when you have a minute?


access violation in dotnet module

access violation occurs while scanning file https://github.com/CaldurG/yara/blob/yplsml/tests/dotnet.av It is in dotnet_parse_tilde_2 function when accessing memberref_row.
Rules:
import "dotnet"

rule test {
  strings:
    $ = "test"
  condition:
    all of them
}

Duplicate of #970


class and class folder's names are not properly generated when inside a package

Class and Class folders have a mismatch when they are inside a package, even if their location in the node hierarchy is correct.

ok everything's fine. just a misunderstanding (sigh) on my side xD


enable laravel

Summary
How was it tested?

Current dependencies on/for this PR:

main

PR #1388

PR #1390

PR #1394
PR #1393

PR #1396

PR #1403
PR #1402

PR #1395

PR #1389

PR #1392

PR #1399

PR #1401
PR #1400

PR #1407   👈
PR #1406
PR #1405
PR #1404

PR #1398
PR #1397

PR #1391

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #1388

PR #1390

PR #1394
PR #1393

PR #1396

PR #1403
PR #1402

PR #1395

PR #1389

PR #1392

PR #1399

PR #1401
PR #1400

PR #1407   👈
PR #1406
PR #1405
PR #1404

PR #1398
PR #1397

PR #1391

This comment was auto-generated by Graphite.


add normalizePath to to fix slashes

Fixes issue https://github.com/Microsoft/TypeScript/issues/5298

Hi @brettm523, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

:+1: @mhegazy @vladima do we have any tests for tsconfig.json?

Actually @brettm523, this needs to go into master; we're mostly locking down on work going into our 1.7 branch. Can you open a new PR?


File Manager helper functions don't filter

When using file manager form helper functions such as audio and image the file manager popup doesn't filter by the specified type.

Any progress here ?

Its not fixed yet, I would fix it, but im not a fan of digging into the JS... @KorvinSzanto could you possibly look into this?

Well, I have a few addons that need this, and I am porting them, so as usual (since 5.7) when that situation happens, I may take it on. What worries me is that I already have a few pull requests that are waiting, so I'd like to have some go/nogo for them too…
See, the point is, I am perfectly ok to spend a bit of my time into fixing/improving c5, but I am not really into wasting my time into not accepted pull requests… (some of them took quite a long time). I am using those small pull requests to get up to speed with the overall code, and planning to do more and more in the future, but I want to be sure I am set on the right path. (plus managing multiple pull requests simultaneously takes time in rebase/merge checks etc…).
@aembler / @KorvinSzanto / @Mnkras : I have to go out for a while (buying clothes for my daughter), I'll be back around 2pm (Chinese time zone, so that's in about 4 hours), if that is not fixed by then, I will try to dig into it, this is small enough to dig into the file manager lightly and learn, (before the big stuffs I have to put in).
By that time can you guys give me a bit of insight to make sure I am not wasting my time?

Alright, I'm on it now, will see when I can send the fix/update

Well, I think I figured out how to fix this. I will need to use the FileType::T_* constants in JS, and thus I have 2 ways to achieve this:

The nice-and-clean-but-long way : Add a generated script in build/js that is including some variables from Concrete classes, and refer to it
The not-so-nice-but-still-ok way : Add a generated script on the fly (a php rendering it) that export internal constants

(ok there is a 3rd one, the very-ugly-but-also-very-quick way, that just hardcode vars in the js code, and hope no one will notice/change those :/, but le'ts not go that way):
I am now looking into a way to build that way with Grunt

I am still working on the pull request for the full solution, but as a preliminary, I added a new grunt task and refactor all javascript tasks to generate a list of symbols to access class constants from Javascript.
Commit: https://github.com/goutnet/concrete5-5.7.0/commit/5d1c3324b6cc1a7a7ed811311870ea21d345793f
The rest will come

Alright this is all done now, waiting for merge :)


Use macros 1.1

Macros 1.1 only supports derive-based extensions, which this crate is not.

Oh, I'm sorry, I have to re-read what macros 1.1 are about, then ^^


Error running prune. Error response from daemon: Invalid filter 'force'

Hit this today When running the prune command on the disk space page. I can run docker system prune in another tab with errors. Any ideas?

Thanks for reporting!!
I guess that the Docker API has changed, a fix will be available in the next release.
Cheers


feature: improve context err

919bc4b6c2ad37e94c446871de10a96c84b29f29

use ImpossibleSatisfaction when op_count is None instead of MaxOpCountExceeded.

51a50ae3e81b02c4e8f4759df62186b53c5459ba

unify error message for satisfaction-kind error and scriptPubKey-kind error so that these error can contain max(limit) with what it got(actual).

faf16fd75c3340e561ae694d0db7390601ab0d0f

changed the err message which might be misleading!


No Data

After running docker-compose I went to grafana and nothing:

Everything is running fine:

Why I'm getting NA ?  Both dashboards.

Quite difficult to understand with little detail , have you had a chance to check if your metrics are collected correctly in prometheus ?


add-hook' and find-handlers'

Ooooops, I haven't seen this PR :cold_sweat:

It's mostly compatible and does the remove-hook slightly cleaner. Wanna merge this?


Issuer Claim Validation Error when not starting IS on default port

Describe the issue:
I started WSO2 IS on port 9500 and followed the instructions on this page. I replaced "baseUrl": "https://localhost:9443" with "baseUrl": "https://localhost:9500" and I got redirected to the Issuer Claim Validation Error page on login.
Note: When I start on 9443 I am able to login properly.
How to reproduce:

Open the deployment.toml file found in the /repository/conf/ directory, and add the following configuration:

[server]
offset = 57

Follow the rest of the steps as per this doc
But replace "baseUrl": "https://localhost:9443" with "baseUrl": "https://localhost:9500"

Expected behavior:
Successful login
Environment information:

Product Version: IS 6.0.0
OS:  Mac
Database: H2 (Default)
Userstore: Default

in Identity Providers -> resident -> Inbound Authentication Configuration-> OAuth2/OpenID Connect Configuration
update the Identity Provider Entity ID value to match your baseurl + /oauth2/token

in Identity Providers -> resident -> Inbound Authentication Configuration-> OAuth2/OpenID Connect Configuration
update the Identity Provider Entity ID value to match your baseurl + /oauth2/token

Thanks for posting the solution @shaouari. We will get this added to the docs


Remove extraneous newlines in security-baseline.md

Resolves unexpected new paragraph in section 1.2.

@sixlettervariables : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Build GIF search using Vue  3

NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
Brief Summary:
The main goal of this tutorial is to showcase the search mechanism used to search the GIFs from the GIPHY API. For GIPHY API, we will be creating an account of GIPHY and registering an app to get the API key. There will also be the showcase of JavaScript debouncing for the search input. We are going to use the Vue version 3 ecosystem fragment components for this tutorial project.
Key Takeaways:

Learning Vue 3 ecosystem.
JavaScript debouncing for search Input.
Configure GiPHY account and app to get GiPHY API.
Fetch GIFs from GiPHY API.

Thank you for your topic suggestion. Per the recent message posted in Slack, we are pausing acceptance of new articles until further notice while we work through the backlog of submitted drafts. We will notify you when we are ready to accept new topic suggestions. Thank you for your patience.


ssh.exe: console device allocation failure - too many consoles in use, max consoles is 32

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

VS Code Version:

Version: 1.72.2
Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
Date: 2022-10-12T22:15:18.074Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Sandboxed: No

OS Version: Microsoft Windows [Version 10.0.19042.2130]

I am running into this issue every 2 weeks, and now I found how to to 100% reproduce it:

Set remote.SSH.path to git provided ssh.exe (downloaded here: https://git-scm.com/download/win).
You can use msys2 provided ssh.exe as well.

Run the following command in a CMD window:

@for /L %i in (1,1,40) do ( start cmd /k D:\tool\git\usr\bin\ssh.exe <ssh-svr> )

This will start 40 CMD windows and run D:\tool\git\usr\bin\ssh.exe <ssh-svr> in each of them.
(Make sure you have properly configured the ssh config so ssh.exe can automatically connect to the server otherwise you have to manually enter username & password 😄 )
You will see fatal error - console device allocation failure - too many consoles in use, max consoles is 32 in some launched CMD windows.

Now start vscode, and you will find it can not make SSH connection anymore.

Logout some SSH sessions until the total SSH connection is less than 31, then your vscode will be able to make SSH connection again.

Now remove cmd /k and run the following command again:

@for /L %i in (1,1,40) do ( start D:\tool\git\usr\bin\ssh.exe <ssh-svr> )

This time ssh.exe is directly launched without cmd.exe.

Then your vscode should be able to make SSH connection this time, even though more than 32 SSH connections are established.

It seems to me that a cmd.exe can launch up to only 32 cygwin processes before running into the too many consoles in use, max consoles is 32 error, and seems all ssh.exe started by vscode are launched by  cmd.exe so vscode inherits the limitation.
So, can vscode fix this problem by launching ssh.exe directly instead of launching ssh.exe in a cmd.exe?
Thanks.

To me, this says that we might be leaking ssh.exe processes. When this starts happening in vscode and you haven't primed it with that manual command, do you see leftover ssh.exe processes on your system?
Also, when you encounter this, does setting "remote.SSH.useLocalServer": true in your settings.json help?

Just verified on vscode 1.73.1, "remote.SSH.useLocalServer": true fixes the problem.
Add from process tree I am not seeing cmd.exe any more.

Thanks very much for pointing the fix to me!


Multi label bug fix

Codecov Report

Merging #333 (1640a38) into develop (8071277) will not change coverage.
The diff coverage is 22.22%.

@@           Coverage Diff            @@
##           develop     #333   +/-   ##
========================================
  Coverage    28.59%   28.59%
========================================
  Files           32       32
  Lines         1259     1259
========================================
  Hits           360      360
  Misses         899      899

Impacted Files
Coverage Δ

knodle/evaluation/multi_label_metrics.py
27.27% <0.00%> (+1.18%)
:arrow_up:

knodle/trainer/trainer.py
23.33% <28.57%> (-0.14%)
:arrow_down:

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 8071277...1640a38. Read the comment docs.


DCOS-13439: Add schedule icon to Jobs breadcrumb

This PR adds the schedule icon to the Jobs breadcrumb.

cc @leemunroe

LGTM! 💯  💖

Works great! ✨  💯


autofill save dialog with nickname

Not much of an improvement, sadly.
However, we may have other reasons to use defaultPath, such as using the user's default download directory.

I'm not sure if you saw, but I filed a bug report on electron.
It's a bug, and it's only a problem for Linux users. By doing this, the Window's users should be okay.
https://github.com/atom/electron/issues/1855
And the PR here: https://github.com/atom/electron/pull/1860
If that PR gets merged, it means we did something useful \o/


[ViewPager] - Disable swipe gestures

🚀 Feature Proposal
I would like to disable ViewPager swipe gestures.
Motivation
Im trying to implement a multistep form using the component.
Example
I have a multistep form, and each step need to be validated before proceeding, I would like to disable the swipe gestures so I can guarantee that the user will not jump any steps.

@LucasFsc How are you handling it currently?

I didn't found a possible way to disable the gestures, I tried with View props, but no success. In my case I wanted to disable/enable the gestures for both left and right and also just one side depending on the step condition. You can actually disable all gestures by wrapping the ViewPager into a View with pointerEvents="none", but this is not what I want.

@LucasFsc I have a similar scenario, how did you manage it?

My solution is wrapping the ViewPager into a TouchableOpacity

My solution is wrapping the ViewPager into a TouchableOpacity

I've tried Pressable and works well too.
TouchableOpacity makes the component a bit opaque when pressed/swiped.

My solution is wrapping the ViewPager into a TouchableOpacity

I've tried Pressable and works well too.
TouchableOpacity makes the component a bit opaque when pressed/swiped.

Try adding activeOpacity={1} it will disable the opaque opacity when pressed.

My solution is wrapping the ViewPager into a TouchableOpacity

I've tried Pressable and works well too.
TouchableOpacity makes the component a bit opaque when pressed/swiped.

Try adding activeOpacity={1} it will disable the opaque opacity when pressed.


Provide original input text to outputguard

In some output guards, we would need the original input text to validate the output. For example, I want to validate that the output of the LLM is in the same language as the input text, and if not reprompt.
Another use case could be to ask to the model if the response is accurate to the question given initially
I think now this is not possible now in the output guardrails, but I might be wrong.

This already exists.
`
public class OutputGuardRailExample implements OutputGuardrail {
@Override
public OutputGuardrailResult validate(OutputGuardrailParams params) {
    params.userMessageTemplate(); // The input text should be here.
    params.variables(); // If there are variables in the user message, they should be here.

    // ...

    return this.success();
}

}
`

Thanks


HBASE-27792 Guard Master/RS Dump Servlet behind admin walls

Post this change an unauthorised user gets following error for /dump page:

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 24s
Docker mode activated.


Adds version in deploydocs

This is an attempt to deal with #185.
Unfortunately I don't think that I can push a docs preview, even if I set push_preview = true inside deploydocs() function so I don't have a way to figure out if this indeed deals with #185.

As far as I can see, the issue is that deploy of documentation on a tag is skipped: https://github.com/JuliaMath/FFTW.jl/runs/1871754241?check_suite_focus=true#step:6:84  No idea why that happens though (and not sure this helps, I mean, I've never seen this flag used)

😕

As far as I can see, the issue is that deploy of documentation on a tag is skipped: https://github.com/JuliaMath/FFTW.jl/runs/1871754241?check_suite_focus=true#step:6:84 No idea why that happens though (and not sure this PR helps, I mean, I've never seen this flag used)

is this related? I've never seen julia=... kwarg in deplaydocs()....
https://github.com/JuliaMath/FFTW.jl/blob/6ad135ab0be80399156c12b341c70dfbd3429d7f/docs/make.jl#L15

That's an old option, I think it isn't needed anymore, but I don't know whether that's the culprit (and I'd find it very bizarre if that was the case).
I have no clue about where the message
[ Info: skipping docs deployment.

comes from.  Finding it can give us a hint of why deployment is skipped.

Searching skipping docs deployment in all of Documenter.jl repo give out nothing! Bizarre.

Also, I removed that line in https://github.com/JuliaMath/FFTW.jl/commit/2c20abe7098a2380fa37fe021b3d21fc593059ec

@giordano, if you have write access to the repo then I suggest you create a PR copy of mine, add push_preview = true in the deploydocs and see if the docs actually deploy.

How that would help if the issue is only on tags?

How that would help if the issue is only on tags?

Oh now I see what you meant above. You are claiming the issue is on every tag... (I though you only were trying to say that a particular tag had the issue...)

Although, @giordano, the latest tagged release was with Documenter v0.22.6 and not the later ^0.26... But I have no idea if that's the culprit. Perhaps it's time to ask mortenpi (I'm not tagging them here... I'll let you do that if you think that's in order at this point).

I already asked for help on Slack

the latest tagged release was with Documenter v0.22.6

That was a useful reminder, thanks.  I believe the message was coming from https://github.com/JuliaDocs/Documenter.jl/blob/70893ea4c0b17451ff1450a537c2768d226393d3/src/Documenter.jl#L503-L507, but that's already fixed by https://github.com/JuliaMath/FFTW.jl/commit/2c20abe7098a2380fa37fe021b3d21fc593059ec.  So nothing to do, I guess?

Well, there is a way to put back all the non deployed docs. But I’m not sure it worths it.
https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#Documentation-Versions

Documentation for v1.3.2 is now available: https://juliamath.github.io/FFTW.jl/v1.3.2/.  I'm going to close this pull request


Error on load with 0.0.29, too many function arguments

Version of the custom_component
0.0.29
Error log
2024-10-17 08:38:57.864 INFO (MainThread) [custom_components.myenergi]
-------------------------------------------------------------------
myenergi
Version: 0.0.29
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/CJNE/ha-myenergi/issues
-------------------------------------------------------------------

2024-10-17 08:38:57.866 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry The Doghouse for myenergi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/myenergi/__init__.py", line 54, in async_setup_entry
    conn = await hass.async_add_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Connection.__init__() takes from 1 to 6 positional arguments but 7 were given

Describe the bug
When the integration is initialized, the error is logged and the integration is not loaded.
Looks like the changes in https://github.com/CJNE/ha-myenergi/commit/410c0f915ed7a3635be026c34bc3a6fb8a99d51b for #577 are causing this.
Debug log

2024-10-17 08:50:33.712 DEBUG (MainThread) [homeassistant.loader] Component myenergi import took 2.816 seconds (loaded_executor=True)
2024-10-17 08:50:33.713 INFO (MainThread) [homeassistant.setup] Setting up myenergi
2024-10-17 08:50:33.713 INFO (MainThread) [homeassistant.setup] Setup of domain myenergi took 0.00 seconds
2024-10-17 08:50:33.713 INFO (MainThread) [custom_components.myenergi]
-------------------------------------------------------------------
myenergi
Version: 0.0.29
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/CJNE/ha-myenergi/issues
-------------------------------------------------------------------

2024-10-17 08:50:33.716 DEBUG (MainThread) [homeassistant.setup] Phase config_entry_setup for myenergi (f59520777d730fb0dc1779105035a534) took 0.00s (elapsed=0.00s) (wait_time=0.00s)
2024-10-17 08:50:33.716 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry The Doghouse for myenergi
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/myenergi/__init__.py", line 54, in async_setup_entry
    conn = await hass.async_add_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Connection.__init__() takes from 1 to 6 positional arguments but 7 were given
2024-10-17 08:50:33.724 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=myenergi>

It sounds like the latest version of pymyenergi has not been installed properly, perhaps a restart will fix it?

Had the same this morning; after a couple of restarts I rolled back to 0.0.28

I restarted at least twice - once to update the integration, and once more to enable debug logging. The error was present in both cases.
Can I somehow check which version of pymyenergi is installed?

@Gnarfoz If you're running homeassistant in docker, you can do the following:
pi@rpi-prod:~ $ docker exec -it homeassistant pip list | grep pymyenergi
pymyenergi                       0.2.1

On 2024.10.1 from ghcr.io/home-assistant/home-assistant:stable pip list | grep pymyenergi doesn't return a result (other packages exist) but it's working at the mo on 0.0.28 ?

Version 0.2.2 of pymyenergi is required for 0.0.29, not sure why HA isn't using it though, in the integration manifest it's set to pymyenrgi==0.2.2.
Perhaps it's looking at the latest version on Github?
The latest version was incorrectly set to 0.2.1 there, i've changed that now.

I've got my 'main' HA server on 2024.9.3, with ha-myenergi still on 0.0..28.
pymyenergi                       0.2.1
My 'dev' HA server is on 2024.10.1, where I just upgraded ha-myenergi to 0.0.29.
pymyenergi                       0.2.2
It looks correct from my side.

Probably in for a world of python pain later but fixed by manually removing  0.2.1 from
config# find . -name pymyenergi\*
./deps/lib/python3.12/site-packages/pymyenergi-0.2.1.dist-info
./deps/lib/python3.12/site-packages/pymyenergi
./deps/pymyenergi
./deps/pymyenergi-0.2.2.dist-info

and reinstalling

@zxcq same here, pymyenergi doesn't show up in pip list.
The weird thing about the deps folder is:
root@beta:/var/opt/homeassistant/config# cat deps/pymyenergi/VERSION
0.2.2

root@beta:/var/opt/homeassistant/config# cat deps/lib/python3.12/site-packages/pymyenergi/VERSION
0.2.1

Why are they different? Hmm.

@CJNE looks like this is a bug in Home Assistant :-(
https://github.com/home-assistant/core/issues/127966

@Gnarfoz ouch, updating dependencies has been working fine in the past, hopefully this is a temporary glitch.
For the moment it's totally fine to stick to 0.0.28, the only change is 0.0.29 is that it uses the non-blocking http client so that HA no longer warns about it.
I'll try to investigate how to best handle this, perhaps the best option would be to make a new release that isn't depending on pymyenergi 0.2.2

I've changed the latest label to 0.0.28 for now since 0.0.29 won't work until the dependency issue in HA has been resolved.


OidcServiceWorker self signed authority

Issue and Steps to Reproduce
Im working on a new React app that is all working fine which starts on http://localhost:3000. My backend however is located on SSL with a self signed certificate which throws een CERT_INVALID error on the serviceworker.
Is there a way to bypass this?
Versions
7.4.1

hi @pimjansen ,
Thank you for your issue.
You can configure for example vite.js on local with https : https://stackoverflow.com/questions/69417788/vite-https-on-localhost


Release D-Serie 2023.2

The 2 bugs in SonarCloud Code Analysis will not be solved.
The failing Acceptance concerns DStability but will be OK in Master.
So pull request is accepted.


HDDS-4261. Recon should display Top N folders for each file size range.

Current behaviour in Recon under Insights shows the file size ranges only for Legacy buckets. IMO, we have to support FSO buckets as well. In above issue mentioned number of keys in FSO path under a size range bucket like below, but we can show only at bucket level like legacy not at individual path level.
https://issues.apache.org/jira/browse/HDDS-4261
Patch was tested using existing "TestFileSizeCountTask" LLT.

@ChenSammi @sumitagrawl @kerneltime  - Pls review

hi @devmadhuu, HDDS-4261 seems to describe a different improvement, which is not that clear to me. I think it would be better to create a new jira that adds the FSO bucket handling to the FileSizeCountTask,  as it is useful to have, thanks for working on it. perhaps we should add unit tests for FSO buckets to the TestFileSizeCountTask, but maybe that is not necessary, I am not sure.


Beacons don't work below Y:0 and above Y:256

If you make a beacon below or above default world limits, the beacon does not activate.

Fixed by https://github.com/OpenCubicChunks/CubicChunks/pull/567 and c01c067f7d7d707ea097b540c68a264280fc2c5e


Update to restic 0.13

Update the image to use restic 0.13: https://github.com/restic/restic/releases/v0.13.0

@Lobaro any plans to merge this?


OES2023 Leg 2 Effort Segment 3 total distance is wrong

Total distance for this segment is listed as over 270 km but the GPX output (that just plots start/end location shows that segment is only 8 km.

On the hi-res dailyMap_visuals_CL.pdf it does sort of look like there is a rogue purple dot between Kauai and Oahu. If I plot DAS effort points for leg 2 just raw lat and lon, there is a 'rogue' point out there. Searched for it by general location lon > -159.2, lat > 21.6 and found single point line 297, event number 288, DateTime 2023-08-05 11:23:28. The latitude seems correct in sequence with the points around, but the longitude is listed as -159 00.00 and seems like it should be -160 00.00 based on the sequence of surrounding locations.
Made a copy of the original DAS saved locally, then modified manually in a text editor. Re-ran and all looked correct. I did NOT modify the DASALL.805 on Google Drive.
Created dasEdit.R to guide this in the future.
Pushed updated map and summary table and all should be set in compiled datasets from here on out.

@kmyano Is anything I do like this along the map making process helpful to note somewhere for you for later?


Unrecoverable ECONNRESET after db failover

We have a MariaDB server that performs a failover every hour and we use mysql v2.10.2 to do an insert when user logs in.
I found that inserts succeed for some time after restarting the node app but once db connection is broken once it never goes back to normal:
[2016-05-12T20:41:09.470Z] ERROR: app/3018 on devserver.net (/lib/routes/index.js:687): Failed to create a record. (module=routes, err.code=ECONNRESET)
    Error: read ECONNRESET
        at errnoException (net.js:905:11)
        at TCP.onread (net.js:559:19)
        --------------------
        at Protocol._enqueue (/node_modules/mod/node_modules/mysql/lib/protocol/Protocol.js:141:48)
        at Connection.query (/node_modules/mod/node_modules/mysql/lib/Connection.js:201:25)
        at Connection.wrappedFunction [as query] (/node_modules/newrelic/lib/transaction/tracer/index.js:343:23)
        at /node_modules/mod/node_modules/knex/lib/dialects/mysql/index.js:92:18
        at tryCatcher (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/util.js:26:23)
        at Promise._resolveFromResolver (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/promise.js:480:31)
        at new Promise (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/promise.js:70:37)
        at Client._query (/node_modules/mod/node_modules/knex/lib/dialects/mysql/index.js:88:12)
        at Client.query (/node_modules/mod/node_modules/knex/lib/client.js:136:24)
        at Runner.assign.query (/node_modules/mod/node_modules/knex/lib/runner.js:115:24)
        at Runner.tryCatcher (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/util.js:26:23)
        at Runner.query (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/method.js:15:34)
        at /node_modules/mod/node_modules/knex/lib/runner.js:43:21
        at /node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/using.js:176:30
        at tryCatcher (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/util.js:26:23)
        at Promise._settlePromiseFromHandler (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/promise.js:507:31)
        at Promise._settlePromiseAt (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/promise.js:581:18)
        at Promise._settlePromises (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/promise.js:697:14)
        at Async._drainQueue (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/async.js:123:16)
        at Async._drainQueues (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/async.js:133:10)
        at Async.drainQueues (/node_modules/mod/node_modules/knex/node_modules/bluebird/js/main/async.js:15:14)
        at process._tickDomainCallback (node.js:502:13)
        at process.wrappedFunction (/node_modules/newrelic/lib/transaction/tracer/index.js:245:51)

Weird. Any way you can provide full code and steps for me to reproduce the issue?

Unfortunately, I cannot. I think the way to test this would be to setup a db with failover (or something that does to the connection the same thing failover does) and have a node app running with a connection to that db, performing inserts.

Does mysql handle a case where a connection to the server is broken and then restored?

So I've tried something simple along those lines and wasn't able to reproduce. The connection simply errored once and my code saw that since it was a fatal error, it made a new connection and reconnected. Using the pool does all that for you.
I'm not sure how to proceed without knowing what your code is doing. The stack trace was wrapping us in knex and promises, and I have no idea if that is where the issue is or not unless you can provide code & instructions on how to reproduce.
Let me know what you think I should do yo look into this.

Ok, thanks, I'll try to dig up something more substantial.

Does  mysql  handle a case where a connection to the server is broken and then restored?

Depends on what your code is doing. If you create a connection, if that connection goes down, well, that connection object is not good, you have to create a new one. That's the purpose of why errors signal if they are fatal or not.
Pretty much it highly depends on your code, which is what makes it so important to get your code to understand what is happening. Also let me know if the readme is not very clear on how connection lifecycles work (a connection never reconnects, as documented).

Basically, a Connection object here represents a connection to the MySQL server. If the connection dies, well, that object is dead, because you have to create a new connection to the MySQL server. The pool, for example, manages all this for you, which is one of the main distinctions between a Connection and a Pool (even if the pool is just of 1 connection).
For example, if the Connection automatically reconnected, it can break app code, since any transaction the database may have been is has been rolled back and if it just blindly continued to execute further queries, they would either fail oddly, or end up with dangling data. The Pool and similar abstractions allows you to easily divide up all queries into their logical groups that won't wrap around connection losses, unlike a Connection.
If you are making queries on a Connection object, it means you are saying "perform this query on this connection" and it would be very unexpected if that guarantee was broken (for example, the session state will be completely reset randomly, with session variables going missing, ROW_COUNT() not working, etc).

Oh, so maybe that's where there problem is – pooling. I believe knex has pooling by default (using pool2 lib) but maybe it doesn't handle disconnects well. I'm going to try explicit pool config and see if that changes anything.

hi guys, DBA here from @diversario 's place. The VIP they connect to for writes moves between two hosts. It does that by the way of linux-ha. The same effect can be achieved by doing
on master:
ip a del <IP_ADDRESS>/23 dev eth0

on faliover:
ip a add <IP_ADDRESS>/23 dev eth0
arping -U <IP_ADDRESS> -I eth0```

what i see on the DB is the connection stops sending queries (as it should), and eventually times out after the `wait_timeout` expires (600 seconds).

i suspect there's a missing `RST` back to the client when the connection goes away. Idle connections don't send data, and thus cannot time out until an event attempts to come through. This stale connection is somehow kept in the pool and not discarded  - BUT it reconnects.

we've had cases where doing this flip and flip kept accumulating connections as the pool would add new connectiosn and not discard old ones, but that is unrelated to this issue.

I found this issue https://github.com/tgriesser/knex/issues/1198 which might be what I'm experiencing. I'm currently trying out the advice given there to use a custom ping.

I looked more into this and everything is operating as designed. The error Error: read ECONNRESET is unrecoverable, just as this module is designed. The error object we are giving back has a fatal property set to true.
The readme has a good section about server disconnects at https://github.com/felixge/node-mysql#server-disconnects
The issue you are describing really depending on your code, and if you are not making a new connection after a fatal error, then you... need to do that to open a new connection to the server.
Usually all of this is abstracted away by using our Pool, but as you said above, you are actually using knex and are not using our Pool object, so there isn't really anything we can do. The knex error linked to is right on the nail, and you have to set the pool to actually verify a connection pulled off the pool before using it (this module's Pool does that by default).
If you think that my closing this is in error, please provide full code & reproduction steps and we can always re-open and take a look. Another option is that since you are in possession of the code and can reproduce, create a pull request with a proposed solution :)

So, using a custom ping function as suggested in the knex thread fixed the issue, it looks like. This issue is because of pool2, not mysql.


knife node edit does not save policy_name and policy_group

Hello,
$ knife -v
Chef: 12.6.0

before knife node edit SERVER  i see on chef server json
{
  "name": "SERVER",
  "policy_name": "mypolicy",
  "policy_group": "staging",
  "run_list": [
  "recipe[env-reports::bukanew]"
]
,
  "normal": {
    "policy_name": "reports",
    "policy_group": "staging",
    "tags": [

    ],

after knfe node edit SERVER i see json on Chef Server:
{
  "name": "SERVER",
  "chef_environment": "_default",
  "run_list": [
  "recipe[env-reports::bukanew]"
]
,
  "normal": {
    "policy_name": "reports",
    "policy_group": "staging",
    "tags": [

    ],

knife forсe set chef_environment but should set policy attributes.

What version of Chef Server do you have?

# rpm -q chef-server-core
chef-server-core-12.3.1-1.el6.x86_64

Okay, I just ran:
> knife node edit NODE

And I got this message:
Node not updated, skipping node save

(This is a bug for sure)
Is that what you're seeing, or is there something else?

run knife node edit NODE then change some attribute, then save and node will be updated but policy will change to environment

Okay, I see we're doing slightly different things, I suspect that these behaviors have the same root cause, but will confirm when I dive into the code.


Is it possible to turn off SIMD to enable the demonstration of larger point counts?

Hello!
I'm working on a demo of a model built on top of MTK and MOL. It's an Earth-Science-type model, and I'm currently able to get it to work in 1D, as shown here: https://earthsci.dev/tutorials/example/ .
However, what I've been finding is that a 1D demonstration model doesn't really seem to capture the imagination of the people that I'm trying to impress so that they'll give us money to build the real thing, and when I try to run it in 2d or 3d I run into the large-point-count issue described here:
https://github.com/SciML/MethodOfLines.jl/blob/770935ad36fa648c690d8bcae7dc26f469e7feab/docs/src/faq.md?plain=1#L92
Even on an HPC node with 190GB of memory, I still get an OOM error when trying to discretize with enough points to give a passable 3D model.
The description above gave me the idea that maybe it would be possible to turn SIMD optimizations off and therefore get a model that—while it may not run fast—would hopefully at least compile.
So I tried running Julia with the -O0 flag to see if that would help, but as shown below it actually makes things worse compared to the -O2 default. (The plot below shows compile time in seconds vs. the number of grid points for the system linked above.)
After some googling, however, I tried export JULIA_LLVM_ARGS=-vectorize-loops=false and that did improve things a little, as you can see below.
My question is, are there other flags that I could try to remove additional optimizations to further reduce the compile time, hopefully making it linear with point count instead of quadratic? I also tried adding --slp-vectorize-hor=false but that didn't seem to provide any additional help.
Any ideas you can offer would be greatly appreciated!

The issue here isn't SIMD, it's the big codegen. You still get O(n^4) behavior without that being solved. You can try the new JuliaSimCompiler though using this branch (https://github.com/SciML/MethodOfLines.jl/pull/298) which "mostly" fixes it, I say mostly because there are still a few passes missing.

Thank you, this is great!


Quizzes translated to Simplified Chinese

Translate all quizzes to Simplified Chinese following the Guidelines
Fix some mistakes in the Traditional Chinese translation (@CRTao PTAL)
Quiz App tested on my PC, everything works fine 😀

Wow, how exciting! Thank you, taking a look now!


Provide method to add peek views to notebook cells via execution tasks

VS Code version: Code - Insiders 1.55.0-insider (2b66dfe0218cc18333ba92429218b33802b186bc, 2021-03-24T05:13:27.970Z)
OS version: Darwin x64 20.2.0
I would like something like the following to be added:
interface NotebookCellExecutionTask {
    showError(line: number, column: number, summary: string, details: string)
}

The idea being, when the user executes a cell, if there is a syntax error or an exception is thrown, I can showError to attach an error message to a specific line and column of the cell.
This is an example of a peek view being created for a failed test, from #107467:

For syntax/semantic errors you can use the "normal" diagnostics API and cell editors will show squiggles and they will offer the peek-error UI.

@jrieken Thanks, that is partially what I was looking for.
Given the nature of notebooks and cell execution, I still would like to see a way to immediately open the peek-error UI. Diagnostics squiggles are relatively subtle indicators - if cell evaluation fails due to a specific line of code, I would like to show the user exactly where the error is

Still not convinced. It's not clear if this is UI only or also output, e.g should this be stored or is this in addition to an error ouput. We can maybe put this on the application/x.notebook.error-traceback output type, e.g we could just define that a little better and use peek and friends to render that kind of output.

WRT application/x.notebook.error-traceback, it's not clear to me how to use that. 'Error traceback' sounds like its meant for exceptions (panics in Go), not necessarily syntax errors.

Sure, sure. The idea is that we would add another mime type, like application/x.notebook.diagnostic, and its value could be a vscode.Diagnostics instance. That would allow us to render the error best, tho there would be no reconcile and as soon as you type the error would go away

related to https://github.com/microsoft/vscode/issues/120063

The idea is that we would add another mime type, like application/x.notebook.diagnostic

👍

tho there would be no reconcile and as soon as you type the error would go away

That should be fine

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Seems to add extra packages to package.json

Super cool idea, by the way. But I'm trying it out and it seems like it's adding the dependencies of my dependencies to package.json. For instance, cheerio is a dependency of enzyme, and I'm using enzyme in my app. But npm-install-webpack-plugin installed cheerio into my package.json even though I'm not relying on it directly.

Weird.  I do a check to ignore any sub-modules that are in node_modules.

[ ] Test dependency installation of cheerio.

Also seemed to install babel-loader as well as webpack-hot-middleware into my project. They are dependencies of a server located in a different directory.

Different directory?  Which directory is it?  You have a package.json in
your project right?
On Tue, Feb 9, 2016 at 2:30 PM Satyajit Sahoo<EMAIL_ADDRESS>wrote:

Also seemed to install babel-loader as well as webpack-hot-middleware
into my project. They are dependencies of a server located in a different
directory.
—
Reply to this email directly or view it on GitHub
https://github.com/ericclemmons/npm-install-webpack-plugin/issues/26#issuecomment-182048025
.

--

Eric Clemmons

@ericclemmons The modules folder was specified using the resolveLoader.root option of webpack (both the dependencies are for the server and they were missing). The actual project is in a different directory.

Trying to integrate with - https://github.com/satya164/quik , which is a server to do dev without setup.

Ah, now I see.  Yep, this is a problem until #17 is finished up.  I'm launching a project this week, so I should be able to finalize the next release soon.
Sorry for the delay!

@ericclemmons Ah. Cool. Thanks :)

@satya164 Wanna check this out with v3.0.0?

@ericclemmons Will do soon. Thank you.

Re-open if it's an issue!


Items already in tubes are no longer visible after reloading the world

Using Minecraft 1.12.1, Teckle version git-3e6dac6, Forge <IP_ADDRESS>2
This is purely clientside, items still travel through the network, just not visibly.

Also, as a sidenote: Is there a maven that provides builds of Teckle?

There's not, I'll see if I can convince @unascribed to set that up.
Currently you just have to grab from ci.
On Aug 11, 2017 1:16 PM, "MRebhan"<EMAIL_ADDRESS>wrote:

Also, as a sidenote: Is there a maven that provides builds of Teckle?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elytra/Teckle/issues/15#issuecomment-321908787, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABusJLrtdKpBTDRGCETZyOX8QxWgcg0lks5sXLa6gaJpZM4O1E8w
.

This is a known bug, not sure about fixing it as its purely a visual bug.


Continuous socket hang-up when posting requests

@bkeepers Having some issues with smee and simulating webhooks.
I'm grabbing the payload data from the app settings page with the correct headers and payload and issuing a post through Postman.
When I issue a request locally through smee, I get a socket hang-up error.
I can reissue the requests from GitHub and it seems to hit my localserver correctly, otherwise, no dice in something like Postman.
04:51:34.324Z ERROR probot: socket hang up
  Error: socket hang up
      at createHangUpError (_http_client.js:331:15)
      at Socket.socketOnEnd (_http_client.js:423:23)
      at emitNone (events.js:111:20)
      at Socket.emit (events.js:208:7)
      at endReadableNT (_stream_readable.js:1055:12)
      at _combinedTickCallback (internal/process/next_tick.js:138:11)
      at process._tickDomainCallback (internal/process/next_tick.js:218:9)

@Schachte can you share a curl request that Postman is making that causes the error?

@bkeepers I ended up switching over to execution via the GitHub settings page to re-execute. Playing around a bit more, once I got an official request made, re-creating the request in the smee web-client seems to be working as expected. Thanks!


GUACAMOLE-188: Use Porter-Duff "over" operator when drawing with ARGB surfaces.

Is this the complete fix? I noticed this comment on the JIRA issue:
"This isn't quite done - the alpha channel is being ignored in all but the fully-opaque and fully-transparent cases."

Yep. That is exactly what this PR addresses - the not-quite-doneness of the previously-merged code.

👍


CLOUDP-67836: Add a function to handle output formats

Proposed changes
Jira ticket: CLOUDP-67836
Checklist

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments
This adds a function to centralise the output management and changing all commands using the json formatter to use this function instead

@robcarlan-mlab merged master and updated your last command to use the new func


⚠ ClamAV has degraded performance

In 9d62c74, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in 2cb9cc3.


⚠ ClamAV has degraded performance

In c05fe31, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 52 ms

Resolved: ClamAV performance has improved in c8688c0.


bool is_empty() for not writing to files - redo of 3081

Submission Checklist
This is just a re-do of #3081 done with the master branch as base. The changes are all Steve's.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Steve Bronder
Rok Češnovar (all I did was create the branch and open the PR though)
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I have been testing this over the weekend (with a change in cmdstan). Still seeing a perf regression :/ Will more details a bit later.

Oh dang, can you send me the branch you are trying out? I think you just want to make this line to
      diagnostic_writers.emplace_back(
          std::make_unique<std::fstream>(diagnostic_filename,
                                         std::fstream::out, "#", true),

That should turn off all of the diagnostics to know whether or not writing diagnostics is the issue. You can also do the same for the other writer for output. If that fixes the regression then the actual issue is writing to the stringstream before writing to disk which I think we can be looser about now that I'm thinking about it. I think at the time I assumed multiple threads could write to one unique_stream_writer<>, but each stream writer is associated with one output file so we may not actually need that string stream for anything besides the loggers that write to stdout and stderr

The model used for testing:
transformed data {
 int N = 10000;
}
parameters {
 vector[N] a;
}
model {
 a ~ normal(0,1);
}

Then various versions:
Between each switch, I ran make stan-update, make clean-all, make build. Also set STANC3_VERSION=v2.x.y so the correct stanc3 binary is associated.

on 2.27.1:

Elapsed Time: 8.892 seconds (Warm-up)
13.219 seconds (Sampling)
22.111 seconds (Total)

on master (2.28.1):

Elapsed Time: 8.296 seconds (Warm-up)
19.1 seconds (Sampling)
27.396 seconds (Total)

on fix/diagnostic branch (points to this branch in stan):

Elapsed Time: 8.752 seconds (Warm-up)
12.481 seconds (Sampling)
21.233 seconds (Total)

Link to branch: https://github.com/stan-dev/cmdstan/tree/fix_diagnostic_writer
So I guess I should have put it better, it looks better, but still not at the level of 2.27.0. Maybe that is fine and expected?
I would be fine with this amount of a perf. regression as long as we know where it comes from.

It looks like it's faster than 2.27.1? Which would be before any of these changes

Yeah, it is faster than 2.28.1. Maybe the rest of it is due to the use of streams and there is not much we can do besides that.

Sorry am I not reading your posted times right?

on 2.27.1:
Elapsed Time: 8.892 seconds (Warm-up)
13.219 seconds (Sampling)
22.111 seconds (Total)

on fix/diagnostic branch (points to this branch in stan):
Elapsed Time: 8.752 seconds (Warm-up)
12.481 seconds (Sampling)
21.233 seconds (Total)

Is the top one 2.27.1 and the bottom this branch?

Ah, sorry I think I botched something. Let me run the benchmark again. I think the last number is wrong. Will run again to avoid any confusion...

Closing this as I think I found a simpler solution in https://github.com/stan-dev/stan/pull/3087


How to write test with taggable manager

I am writing tests and cannot figure out how to test with taggit field.
Here is my model:
class Product(models.Model):
    name = models.CharField(_("name"), max_length=50)
    slug = models.SlugField(_("slug"), max_length=50,
                            unique=True, null=True, blank=True)
    summary = models.CharField(_("summary"), max_length=250)
    detail = RichTextField(blank=True, null=True)
    unit = models.CharField(_("unit"), max_length=50)
    #...
    tags = TaggableManager(_("tags"))

And I am using factory_boy for testing, but seems tags cannot be used.
class ProductFactory(DjangoModelFactory):
    class Meta:
        model = Product

    name = factory.Sequence(lambda n: 'awesome item %d' % n)
    summary = factory.Faker('sentence')
    unit = 1
    price = 500
    brand = factory.Faker('company')
    tags = TaggableManager()
    # tags = ['buff']
    category = factory.SubFactory(CategoryFacotry)
    origin = factory.SubFactory(OriginFacotry)
    spu = factory.SubFactory(SpuFacotry)

By default, factory boy will use the fields in the related model, however no matter I leave tags as blank, or assign it again with TaggableManager, I got an AttributeError.
ERROR: setUpClass (shop.tests.test_views.TestShopDetailView)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/test/testcases.py", line 1123, in setUpClass
    cls.setUpTestData()
  File "/usr/src/app/apps/shop/tests/test_views.py", line 126, in setUpTestData
    cls.sku.tags.add('awesome')
AttributeError: 'TaggableManager' object has no attribute 'add'

Is that possible to use taggit with factory boy? Or are there any other methods to write a test with taggit? Very little information in the docs and StackOverflow about testing with taggit, really appreciate your help.

Hi, you could perhaps use post-generation hooks.
In your example it would be something like
class ProductFactory(DjangoModelFactory):
   # Rest of the stuff

    @post_generation
    def tags(self, create, extracted, **kwargs):
        if not create:
            return

        if extracted:
            self.tags.add(*extracted)

Then you just pass it a list of tags when you instantiate the object
...
product = ProductFactory(tags=['buff'])
...


Added PART HARM track names

I noticed that The Beatles Rock Band games use PART HARM1, PART HARM2, and PART HARM3, instead of HARM1, HARM2, HARM3. I added this to the documentation.

Interesting, thanks for making note of this!


Support GCP Cloud Functions and Cloud Run

Motivation

I am a heavy user of GCP and also serverless products(Cloud Functions & Cloud Run).
Many documents use Cloud PubSub + Cloud Functions(Playbook). But we must treat the event messages with care because Cloud PubSub message semantics are at least once and there might be duplicated messages.
Therefore, the backend Cloud Functions or the Cloud Run has to handle the duplication and it's not that easy. In many cases, it requires a database to share context between the instances of Cloud Functions or Cloud Run services.
I want the Falcosidekick to HTTP request with OAuth token directly to Cloud Function or Cloud Run to make the backend easier to implement.
Feature

Support Cloud Function and Cloud Run. It will use the service account key for authorization.
I want to add the config like below
gcp:
  credentials: "" # The base64-encoded JSON key file for the GCP service account
+  functions:
+    webhookurl: "" # The URL of the function
+    # minimumpriority: "debug" # minimum priority of event for using this output, order is emergency|alert|critical|error|warning|notice|informational|debug or "" (default)
  pubsub:
    projectid: "" # The GCP Project ID containing the Pub/Sub Topic
    topic: "" # The name of the Pub/Sub topic
    # minimumpriority: "debug" # minimum priority of event for using this output, order is emergency|alert|critical|error|warning|notice|informational|debug or "" (default)
+  run:
+    webhookurl: "" # The URL of the Cloud Run service
+    # minimumpriority: "debug" # minimum priority of event for using this output, order is emergency|alert|critical|error|warning|notice|informational|debug or "" (default)

Alternatives

Additional context

The webhook client can't be used because the OAuth token expires and can't be hardcoded.

👍

I found out that if the client is out of GCP, it's hard to issue a OAuth ID Token for Cloud Run and Cloud Function....
It requires self-signed private key, etc and I don't think it will be user friendly.
I will close this Issue for now. Please feel free to reopen 🙇

Is that an issue we may face with PubSub too? Does it worth to specify it in read me?

Is that an issue we may face with PubSub too?

No, this issue is only happens for Cloud Function, Cloud Run or Cloud IAP protected GCP backends.
This is because it uses OAuth2.0 or Open ID connect authn which requires complicated workflow to issue an ID token 😢

Does it worth to specify it in read me?

I think if there are more request adding this feature, I can go on. I'll see how it goes for a while if there is more usecase for supporting this feature or not.

Is that an issue we may face with PubSub too?

No, this issue is only happens for authn enabled Cloud Function, Cloud Run or Cloud IAP protected GCP backends.
This is because it uses OAuth2.0 or Open ID connect authn which requires complicated workflow to issue an ID token 😢

Ok, thanks for the details.

Does it worth to specify it in read me?

I think if there are more request adding this feature, I can go on. I'll see how it goes for a while if there is more usecase for supporting this feature or not.

If someone asks for, we'll refer to this issue.


@ngToolWebpack build failed on Windows

🐞 Bug report
Command (mark with an x)

- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: 6.2.9
Description
The build has passed on Mac, but on Windows, I got the error as below:

ERROR in (webpack)/hot/emitter.js
Module not found: Error: Recursion in resolving
Stack:
  resolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) events
  newResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) events
  parsedResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) events module
  describedResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) events module
  resolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) E:\SourceCode\application-portal\client\node_modules\node-libs-browser\node_modules\events\events.js module
  newResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) E:\SourceCode\application-portal\client\node_modules\node-libs-browser\node_modules\events\events.js module
  parsedResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) E:\SourceCode\application-portal\client\node_modules\node-libs-browser\node_modules\events\events.js
  describedResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) E:\SourceCode\application-portal\client\node_modules\node-libs-browser\node_modules\events\events.js
  resolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) E:\SourceCode\application-portal\client\node_modules\node-libs-browser\node_modules\events\events.js
  newResolve: (E:\SourceCode\application-portal\client\node_modules\webpack\hot) E:\SourceCode\application-portal\client\node_modules\node-libs-browser\node_modules\events\events.js
 @ (webpack)/hot/emitter.js 1:19-36
 @ (webpack)/hot/dev-server.js
 @ multi (webpack)-dev-server/client?https://localhost:8080 (webpack)/hot/dev-server.js ./src/polyfills.browser.ts

🌍 Your Environment

NodeJS: v8.10.0
NPM: 5.6.0

"@ngtools/webpack": "7.3.9"

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

@nguyenmtuanctk35 any updates?

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


[Bug]: Connection Errored Out

Project Version
3.2.5
Platform and OS Version
windows 11 64 bit
Affected Devices
N/A
Existing Issues
N/A
What happened?
any action I try to do gives me "connection erroed out" message
Steps to reproduce

it happens immediately when I start the program

...
Expected behavior
to respond
Attachments
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "C:\Applio\Applio-3.2.5\env\lib\site-packages\pydantic\type_adapter.py", line 270, in _init_core_attrs
self._core_schema = _getattr_no_parents(self._type, 'pydantic_core_schema')
File "C:\Applio\Applio-3.2.5\env\lib\site-packages\pydantic\type_adapter.py", line 112, in _getattr_no_parents
raise AttributeError(attribute)
AttributeError: pydantic_core_schema
Screenshots or Videos

Additional Information
unresponsive

duplicated issue, check on discord the script to fix it


Tibialyzer Randomly Resets

Hello Mytherin, i love your program i really do, i think its awesome that you give us tibialyzer for free, but bro i can't use it and neither can my friend.....we spend hours customizing our tibialyzers to our liking and in 30 minutes or maybe even 3 days the program will randomly reset as if we have just downloaded it......and can not restore our settings because the folder we extracted to desktop also has somehow reset when looking at the database it shows nothing has been modified....i'm extracting the archive to desktop....please help because i want to use tibialyzer but i just can't like this.....EDIT: could i just keep a backup copy of my database settings notepad file? because when this bug happens my notepad settings file also acts as if its brand new again...but if i save a backup copy named as tibialyzer settings backup for example could i just open my database settings file and open my backup and copy/paste swap the 2??? let me know cause im willing to do this if it works.

Try the beta release, this should have fixed the Settings corruption issue.
You can just backup the entire "Database" folder, if you want to make a backup. Then replace the "Database" folder with your backup if something happens. Even easier would be to copy the entire Tibialyzer folder with your settings.

thanks alot bro i got tibialyzer setup 100% how i like it and made a backup :)


[docs] Switch between dark/light theme break the UI

On this page specifically: https://material-ui-1dab0.firebaseapp.com/customization/themes, not the others apparently.
Versions

Material-UI: alpha 17
Browser: Firefox & chrome

That's a limitation of our styling solution, we are not supposed to use different MUIThemeProvider. I have done it anyway to show the theming capabilities.

We should switch to https://github.com/iamstarkov/theming. It is a unifying theming solution for all styling libs and some of popular once already committed the migration (which is easy).

Its basically duplicate of #6129 lets close this one.

You are right