[Issue] discord crashing

Describe the bug
After switching between accounts and viewing channels Discord crashes and I have to reload, this does not happen all the time but quite often it only happens when I view channels on an account, switch to another account and view a channel again.
To Reproduce
Steps to reproduce the behaviour:

On your first account view a channel
Switch accounts and view another channel
Discord will then require a reload
(It doesn't always happen, I am not quite sure how to replicate exactly.

Expected behavior
Discord not to require a reload
Screenshots
https://gyazo.com/cdfb0f15ebfbe5c42070afe7b42c7257
Information (please complete the following information):

OS: Windows 10
Plugin Version: https://github.com/l0c4lh057/AccountSwitcher/commit/6b87496a597141fbea9f669f6472d0609325b23f
Discord version: Enhanced Discord
Compact Mode enabled? No

I can confirm this still happens on v1.2.8. Usually occurs when switching back-and-forth between accounts quickly, so not apparent with normal use. Before, I would get the reload message saying that Discord crashed. Recently, I've noticed outright closing with no error message.
OS: Windows 10
Plugin Version: v1.2.8
Discord Version: 55865, BandagedBD 0.2.24
Compact Mode enabled? No
I realize you couldn't reproduce, but I thought it'd be good to give my +1 on this issue.

Discord version: Enhanced Discord

@Gryphon109 you do realize that this plugin is for BetterDiscord and not EnhancedDiscord, right?

Discord version: Enhanced Discord

@Gryphon109 you do realize that this plugin is for BetterDiscord and not EnhancedDiscord, right?

Since ED has built in support for BD plugins I think that is ok. But I don't use ED and I don't support ED, that the issue exists does not change because of that though. But I think I'll just add another label for it.

I've found that removing all plugins from "Plugins to restart" except for the default plugins no longer crashes Discord.
I started testing by adding one plugin at a time, switching back and forth and refreshing. In the end I managed to get all the plugins to work without crashing. This led me to believe that I had accidentally typed a plugin name incorrectly, because switching accounts after adding the name of a non-existent plugin (I put in xx) made the client crash for me. However, after removing the fake plugin from the list, the client started crashing after every switch.
When the client crashes all plugins in the list remain disabled as I mentioned previously.


abstract doc summary pr

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tested, looks good


Adding mergeConfigs() API

New method mergeConfigs(), which takes an array of configuration objects as its lone argument.
fyi @renatoi

CLA is valid!

LGTM


Mattermost moving to API version 4

Hey @gotlium !
First, hugely appreciate you sharing this project back with the world. Fantastic work!
I wanted to let you know about our plans moving to API v4:
To make the Mattermost API web service easier to use and to offer more powerful options for these integrations, Mattermost will be moving to a new API version soon.  Highlights include:

Fully documented API endpoints
More in-depth access to server functionality
Wider use of established HTTP verbs
Consistent endpoint structures
A new and improved Go driver

We plan to release API version 4 on March 16th, with Mattermost server 3.7.  While the current API version 3 will be supported until September 16th, we recommend you begin using API version 4 soon after its release.
Contributing
API version 4 is an active and on-going project. If you're interested in helping contribute, please join our Mattermost community instance and the APIv4 channel.
We've prepared a contribution process for APIv4 and a progress tracker for new APIv4 enpoints to help you get started.
We're also open for suggestions on adding new API endpoints to help with your integration.

I am also very interested if there are plans to update this bot for API version 4. I would be willing to help with some guidance :)

Hi, Thanks. I think it's a good idea to migrate to new documented API.

Hi
in the meanwhile , does this work with mattermost 3.9 ?

I am running 3.10 and have no issue with this bot. Mattermost is still supporting the older API.
I guess eventually this code would need to be migrated to API V4 but for now it still seems to work.

it seems to be a deadline now...
All APIv3 endpoints are scheduled for removal on January 16, 2018.
https://docs.mattermost.com/administration/changelog.html#release-v4-1-0

Hi, unfortunately I quit from this company and no longer supporting this app.

Hello,
So, is there a version now of the mattermost_bot that supports Mattermost API v4 ?

Those who are following this thread:
@attzonko helped create a new repo from this project with APIv4 support: https://github.com/attzonko/mmpy_bot
Would love to have you contribute and share feedback on how the bot is working!


Create a guide to facilitate frontend changes

A frontend person, without any backend experience, should be able to follow this document and change the frontend of the Workspace / NoVNC.
Explain how to run a VNCServer using a docker container. And using the lanch script provided by noVNC.

Created Wiki: https://github.com/NYU-CI/Wiki/wiki/ADRF-Desktop-Development


[Enhancement] refactor TaskWorkerPool

Proposed changes
Issue Number: close #19575
Refactor the TaskWorkerPool from switch-case of process-oriented paradigm to object-oriented paradigm
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.45 seconds
stream load tsv:          424 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         25 seconds loaded<PHONE_NUMBER> Bytes, about 89 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230512152433_clickbench_pr_143074.html

run buildall

run p1

run buildall

run p0

run p0

run p0

run p0

run buildall


Deprecate: "scaling by glog transform optimisation" (NMR:1000076)

duplicate of 'scaling by generalized logarithmic transformation' (NMR:1000083)
as glog = generalized logarithmic transformation'

Good spot. Will Deprecate this.

it is already deprecated in the pull request I sent earlier today.
Do check the commit message for more information and the pull request before making edits to the main.
Retrofitted the edit manually would be quite inefficient.
Yours

DONE.


Add GDACS feed integration

Breaking change

Proposed change

This is a new geo_location integration which retrieves data from the Global Disaster Alert and Coordination System (GDACS) GeoRSS feed. Relevant data about major droughts, earthquakes, floods, tropical cyclones, tsunamis and volcanoes worldwide is converted into geo_location entities with loads of useful information made available as state attributes.
In addition, a sensor is created and its state shows the number of geo_location entities currently managed by this integration, and in addition shows some details about the last update from the feed (successful or error), time of last update, time of last successful update, number of entities created/updated/removed.
This integration comes with an async library and config flow.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml
gdacs:

Additional information

This PR fixes or closes issue: n/a
This PR is related to issue: n/a
Link to documentation pull request: https://github.com/home-assistant/home-assistant.io/pull/11956

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist
[x] The code has been formatted using Black (black --fast homeassistant tests)
[x] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

[ ] No score or internal
[x] 🥈 Silver
[ ] 🥇 Gold
[ ] 🏆 Platinum

Please link a docs PR in the PR description. Then we can merge.

Doco is in the making, and I will create a PR tomorrow.

Are you happy with the Silver rating I was aiming for with this integration, or is there a separate process/assessment?

Please copy the bullet list with criteria of the silver level and make a comment here for each point. Some criteria may not apply etc.
https://developers.home-assistant.io/docs/en/integration_quality_scale_index.html

Connection/configuration is handled via a component.

Yes, it is handled within this new component using a third-party library.

Set an appropriate SCAN_INTERVAL (if a polling integration)

Scan interval is set to 5 minutes by default. This value can be overridden through configuration.

Raise PlatformNotReady if unable to connect during platform setup (if appropriate)

n/a. The integration does not attempt to connect during the setup.

Handles expiration of auth credentials. Refresh if possible or print correct error and fail setup. If based on a config entry, should trigger a new config entry flow to re-authorize.

n/a. This integration uses a public feed that does not require authentication.

Handles internet unavailable. Log a warning once when unavailable, log once when reconnected.

The integration does not log a message if the feed becomes unavailable. Instead, the integration automatically creates geo_location entities when the feed becomes available, and removes entities when the feed becomes unavailable.

Handles device/service unavailable. Log a warning once when unavailable, log once when reconnected.

As above.

Set available property to False if appropriate (docs)

n/a. Instead, the integration will remove geo_location entities from HA when the feed becomes unavailable.

Entities have unique ID (if available)

The ID is auto-generated from the entity's title which itself is made up of information from each feed entry which is made unambiguous within the feed.

Looks good. I think this integration actually qualifies for platinum level.

Thanks, let's see how the integration scores against the remaining criteria:
Gold

Configurable via config entries.

Yes.

Don't allow configuring already configured device/service (example: no 2 entries for same hub)

Yes, in this case, no duplicate entries allowed for the exact same location.

Tests for the config flow

Unit tests available.

Discoverable (if available)

n/a. This is probably not desirable for a web-based feed.

Entities have device info (if available)

n/a. No devices involved.

States are translated in the frontend (text-based sensors only)

n/a. The state is a numeric value. Attributes however are ingested as-is from the original source without translation (and a frontend translation would be impossible because the text-based attributes are mostly editorial).

Tests for reading data from/controlling the integration

Unit tests available in HA, as well as in the third-party library.

Has a code owner

Yes, it does.
Platinum

Set appropriate PARALLEL_UPDATES constant

Currently missing. I will look into this now.

Support config entry unloading (called when config entry is removed)

Yes, supported.

Integration + dependency are async

Yes, all async.

Uses aiohttp and allows passing in websession (if making HTTP requests)

Yes, the third-party library expects a websession input parameter.

Alright, I added the remaining criteria. The only thing missing was the PARALLEL_UPDATES constant. I couldn't find documentation about this constant, but understand that it determines how many concurrent updates of entities of the same type are allowed. Since the entities of this integration are all updating based in internal data previously retrieved in a single web request, I se this to 100 for now.

Nice! Just set the quality_scale key in the manifest.json to platinum and we're done.


Massive fail of the modules from qstrader

Hello everyone.
Im trying to test an strategy but most of the modules are not working/found.
All the commented modules are the ones which are not working (see pic)

The error message with everone of them is like that (see pic)

Ive just installed the library qstrader following the guide github.
The installation specifications are this (see pic)

My anaconda and python version are (see pic)

How can I fix this problem? I need that modules.
Thank you very much!

Unfortunately, I'm having the same problem.  Did you use pip install qstrader or pip install git+https://github.com/mhallsmoore/qstrader.git@advanced-algorithmic-trading.
It's disappointing I was trying to use this for a final project

@elavender1 what IDE are you running this in, many times this is a pathing issue. Its installed but you need to tell your software where to find that module by adding the path to your bash profile.


OpenSSL 1.1.1l  24 Aug 2021 - s_server fails to execute DTLS1.2 PSK handshake

For the open source project Eclipse/Californium I developed some basic interoperability tests.
Until that version 1.1.1l the tests worked well.
with that new version of openssl, the s_server now fails to execute a DTLS 1.2 PSK handshake.
> openssl s_server -4 -dtls1_2 -accept :5684 -listen -verify 5 -cipher PSK-AES128-CCM8 -psk_identity Client_identity -psk<PHONE_NUMBER>7450534B

verify depth is 5
Using default temp DH parameters
ACCEPT
ERROR
140701395044160:error:1419E0DF:SSL routines:tls_process_cke_psk_preamble:psk identity not found:../ssl/statem/statem_srvr.c:2969:
shutting down SSL
CONNECTION CLOSED

dtls_1_2_psk_handshake.pcapng.gz
The handshake fails with the server's alert "UNKNOWN_PSK_IDENTITY".

This looks likely to be a duplicate of #16707 (so, fixed in the development branches via #16838).

Yes.
(I searched with the error message, but I didn't found something).

And, thanks for the very fast help!


Projected Range reported incorrectly

Imported all data from Teslafi, 2 years worth, and when looking at dashboard “projected range” this states 375 min, 401 max and average 383.  I’m assuming this is based on new Model S100D 2019, although that’s higher than current stated 379.

Mine is a late 2017 S100D, range 320 stated.  Based on battery degredation we are on around 310 miles today.
Teslafi shows 306.

Is this just an issue with import?

The dashboard does not assume any model to calculate the projected range. Could you export the data visualized in this dashboard and post it?
psql teslamate teslamate -c \
      "COPY (SELECT car_id,battery_level,usable_battery_level,date,rated_battery_range_km,ideal_battery_range_km,outside_temp FROM positions WHERE ideal_battery_range_km IS NOT NULL ORDER BY date) TO STDOUT WITH CSV HEADER" > positions.csv

and
psql teslamate teslamate -c \
      "COPY (SELECT p.car_id,battery_level,coalesce(usable_battery_level,battery_level)AS usable_battery_level,date,rated_battery_range_km,ideal_battery_range_km,outside_temp FROM charges c JOIN charging_processes p ON p.id=c.charging_process_id ORDER BY date) TO STDOUT WITH CSV HEADER" > charging_processes.csv

Sorry, it's in a docker image on a Synology box.  Assuming I can't just PSQL in as I am getting an error, psql: FATAL:  Peer authentication failed for user "teslamate"

See attached:
files.zip

I've only been able to take a brief look at the data but the discrepancy could perhaps be explained by the difference between rated and ideal range. Your maximum recorded  rated range is 634 km whereas the maximum ideal range is 511 km. You can change the preferred range on the settings page.

Ok, that makes sense. I've changed to ideal and that's more realistic.
Though I expect rated is based on the new models in that case as my rated is 335 miles, whereas the new ones are 379.

Yeah, no idea why Tesla decided to report those higher range values for your car. Anyway, I guess I can close this then.


Add missing string scan to PlumbBuddy

A new scan proposal:

Detect the language the game is in
Scan all .package files in the player's mods folder to check if they have a file installed that has one or more string tables but does not include a string table in their game's language
Give an 'uncomfortable' warning if any are found

Things that cannot be used to detect the game's language include:

String tables present in the installation folder
Existing translations in the player's mods folder

Things that are not desired to detect the game's language include:

An in-app setting, because it introduces user error

Potential issue:

People with translations installed in languages other than the one their game uses.

I found a possible location to find game language.  In the install folders there's _Installer/InstallLog.txt which looks like it may have the info needed.

Checking the strings won't work, because there are multiple reasons someone might have strings in multiple languages, including being on a mac (or at least that was a thing on macs. It might not be with the EA app)


How do I submit tags to my backend?

If I have a form with a tags-input full of tags, how do I submit the form with those tags?

This is what I'm working on today. It seems to work okay for now
          $scope.saveTags = function (thg) {
            console.log('myngTW.saveTags begins', thg);
            if (thg) {
              var flatTags = thg.tags.map(function (o) {
                return o.text;
              });
              console.log('flatTags:', flatTags);
              PillThg.upone({ id: thg.id, tags: flatTags })
                .then(function (res) {
                  PillTag.index()
                    .then(function (res) {
                      //$scope.pkg.alltags = res.data.tags;
                      $scope.alltags = res.data.tags;
                    });
                });
            }
          }

PillThg.upone saves a Thing in the database; PillTag.index fetches a new tag list for autocomplete.

@kewball Interesting! What does your HTML look like?

the multiple $parent on autocomplete is suboptimal; I need to re-think the layout of this template :)
            <tags-input
                    on-blur="$parent.saveTags( $parent.thg )"
                    ng-model="$parent.thg.tags"
                    replace-spaces-with-dashes="false">
              <auto-complete min-length="1" source="$parent.$parent.$parent.loadSuggestions($query)"></auto-complete>
            </tags-input>

Ahh that looks a bit complex for me. I'm trying to figure out how to apply that to my simpler code...

Actually, I put ng-submit="submit()" in my form, and it seems to work.

Find films

			Model: {{tags}}

and my JS;
var app = angular.module('cultmovies',['ngTagsInput']);
app.controller('fetchTagsCtrl',function($scope,$http){
$scope.tagSuggestions = function(query){
result = $http({
url: '/tags/fetch',
method: 'GET',
params: {
input: query
}
});
return result;
};
	$scope.submit = function(){
		var tagObjectArray = $scope.tags;
		var tagIdArray = tagObjectArray.map(function(obj){
			return obj.id;
		});
		console.log(tagIdArray);
	};
});

console.log() prints the IDs from the tag objects.

@DABESTAPPSEVER  Is your question about submitting a list of items to a server or is it specific to ngTagsInput?

Specific to ngTagsInput, but I used the AngularJS' ng-submit and submit()

<input ng-repeat="item in items" type="hidden" name="items[]" value="{{ item.name }}" />
<tags-input display-property="name" ng-model="items"></tags-input>

Can this issue be closed?

Yes


MUMUP-2245 : Search with links Template

Creates SWL directive for a search with links widget template
If you set widgetType = 'search-with-links'
and provide proper config

{
   "actionURL":"https://www.bing.com",
   "actionTarget":"_blank",
   "actionParameter":"q",
   "launchText":"Launch Bing",
   "links":[
      {
         "title":"Interweb Search",
         "href":"http://www.bing.com",
         "icon":"fa-search",
         "target":"_blank"
      },
      {
         "title":"Image Search",
         "href":"https://www.bing.com/images",
         "icon":"fa-camera",
         "target":"_blank"
      }
   ]
}

note: links is limited to 2, but does handle if there are 1 or non.

:+1:

:+1: for templates

I realized i didn't have a picture, but i bet you know what it looks like.


Allow giving AWSCredentialsProvider instead of the roleArn string

It could be useful if I could also give the role as an AWSCredentialsProvider, instead of the ARN string.
What I'm working on right now forces me to use AWSCredentialsProvider, and it means I can't make use of this module, since I can't just give the string.

Is there a plan to implement this functionality?
If there is, how long should this take until it's available?

As it is right now, we don't have a fixed plan for this. We'll post an update here should that change. Also, anyone can pick this, we're more than happy to accept community contributions.

Hey, I added this functionality by adding an option of "providerClassName", which is optionally used to create an object of AWSCredentialsProvider from this class.
Would you like to add this change to this project?

@cosmincatalin kindly reminder

Where's this added, I don't see the PR?

I didn't manage to create one yet, getting permission denied.
Thought I needed approval creating the PR, but I'm probably doing something wrong. Any idea what?
Sorry for being green :)

Everybody starts somewhere, thank you for taking the time to contribute.
Normally, you should fork the repository into you account and make the modifications there. Then in GitHub you should have the option of creating a Pull Request. GitHub makes that somehow easy. If you have problems doing that, give us a link to your modified code and we'll what can be done to bring it in our main repo.

I see, so the problem was I tried to branch instead of forking. I'll fork it instead


Add support for user-defined window functions

This exposes another base class Function.Window alongside Function.Aggregate that allows implementing a user-defined window function using the new support introduced in SQLite 3.25

Sorry for the delay. I've just merged this PR. Thanks for the great contribution!


Support for ARM64 (Raspberry Pi 64 bit)

This is admittedly a bit hacky as webdriver_manager isn't detecting arm64 properly:
https://github.com/SergeyPirogov/webdriver_manager/issues/619
https://github.com/SergeyPirogov/webdriver_manager/issues/616
When it is built for arm64, the Dockerfile will install the geckodriver using apk. Then the python code will use the installed driver and not the webdriver_manager.
This includes PR #5
Fixes #4

Sorry, I broke this branch/PR. Creating a new one.


Can u share the orignal training images and lables instead of in format of .p file?

Unfortunately due to storage space, I only have the files in the .p format anymore.


file_selector.click(); causes browser block/rejection.

The upload function is blocked on Chrome version: Version 110.0.5481.100 and Firefox version: 110.0 with the following messages:

Chrome: File chooser dialog can only be shown with a user activation.
Firefox:  picker was blocked due to lack of user activation.

The file_selector.click(); method seems to cause the issue. After some searching I have not been able to find an easy fix.
Do you have any idea how to resolve this issue?
Thanks in advance!

Only triggered when called from a class constructor. When the function is called behind a user button the issue is resolved.


changefeedccl: add metrics for performance debugging

PR: https://github.com/cockroachdb/cockroach/pull/32241
From release notes:

Added timeseries metrics for debugging CHANGEFEED performance issues. [#32241][#32241] {% comment %}doc{% endcomment %}

No docs needed.


Publish doc website during release

We should publish the docs website every time we publish a release

We're doing this!


az account create no longer works

If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)
subscription
Description of issue (in as much detail as possible)
Following the instructions in https://docs.microsoft.com/en-us/azure/azure-resource-manager/programmatically-create-subscription?tabs=azure-cli and https://docs.microsoft.com/en-us/azure/azure-resource-manager/grant-access-to-create-subscription?tabs=azure-cli
I've been able to create subscriptions in the past, but it stopped working this week. Specifically, I have a service principal that has "Owner" on the enrollment account (per the instructions above) and when I run:
az account create \
    --offer-type "MS-AZR-0017P" \
    --display-name "${SUBSCRIPTION_NAME}" \
    --enrollment-account-object-id "${ENROLLMENT_ID}" \
    --owner-object-id "${SP_OBJECT_ID}" \
    --output json

i get the following error:
AuthorizationFailed - The client 'c0d0715e-XXXX-4ee0-a985-6224c6df64e9' with object id 'c0d0715e-8506-XXXX-a985-6224c6df64e9' does not have authorization to perform action 'Microsoft.Billing/enrollmentAccounts/Microsoft.Billing/255c4999-XXXX-4a51-85f8-5a6f5b049ee2/Microsoft.Subscription/action' over scope '/providers/Microsoft.Billing/enrollmentAccounts/providers/Microsoft.Billing/enrollmentAccounts/255c4999-533a-XXXX-85f8-5a6f5b049ee2/providers/Microsoft.Subscription/createSubscription'.

I have the following installed
$ az --version
azure-cli (2.0.51)
...
Extensions:
subscription (0.1.1)

and I cant figure out why. It's clearly an authz error, but I dont know what role is needed, am not sure of the scope (notice that /providers/Microsoft.Billing/enrollmentAccounts/ is repeated twice in the listed failure) or why this is coming up now. I am happy to help debug and submit patches, but help figuring out the right answers (on permissions, scopes, or even which REST APIs to call) will be needed.
I noticed that @wilcobmsft is the original author of this extension, but am not clear if he's still involved.
Thanks in advance -- any help or pointers would be appreciated.

Hello,
could you let me know what is the enrollment account id you are using?

From our log seems like the account you are using doesn't exist in the tenant you specified. But we would like you to provide more information


Cannot produce DataFrame from dict-yielding iterator.

Hi there,
I have a codebase that (so far) consumes data series in the form of dict-yielding iterators, similar in form to how DataFrame's constructor accepts a list of such. Unfortunately it seems from current implementation of that constructor, there is no straightforward way to consume from an iterator straight into a DataFrame.
For example, I have a row factory for sqlite3 written in C that produces dicts. If pandas would accept an iterator, it should be possible to consume a series directly from speedy storage code into speedy data structure code. :)
Is there an inherent limitation preventing this? Otherwise with a few pointers I would be willing to try contribute the patch myself.
Thanks,
David

What's the rational of DataFrame() accepting a generator but not an iterator? It converts generator to a list anyway, so why not do the same with an iterator? (Note I'm not talking about performance, just convenience.)


chore(fixes): some fixes

According to the Code style guide templates and styles that have more than 3 lines of code should be in their own files.
https://angular.io/guide/styleguide#extract-templates-and-styles-to-their-own-files
So, I think it's not necessary to merge most of these changes.

@denisogolubev
Usually, the rules described in the documentation for any library or framework are just a recommendation, rather than a real example of how to do it.
While it is generally recommended to maintain clean and modular code, the decision to extract templates and styles into separate files should depend on the specific context and the complexity of the code.

@zverbeta it's true that it's just a recommendation.
But I think this argument is strong enough to follow this rule:
Large, inline templates and styles obscure the component's purpose and implementation, reducing readability and maintainability.

@denisogolubev
I don't think so, here are some reasons why.

The documentation is written for thousands of users of various levels, so the documentation provides basic information
The documentation has a recommendation on how to do it better, but the company has certain guidelines for writing and maintaining the code.

In situations where there are disputes or conflicting recommendations, it is crucial to evaluate the context and requirements of the project at hand.

@zverbeta it's true, you can modify the rules for the team's needs.
All files should be responsible for the parts of your application that they were created for.
For example, you can create a service for the business logic, but if look at this PR all can be placed in one file.
How do you think it's better to support code when you have 5-6 files with 50-100 lines of code for each of them or one file where will be 250-600 rows of code?
Angular is all about project structuring and pieces that are responsible for certain business/application logic.
https://angular.io/guide/styleguide#file-structure-conventions
Even if you run ng g c some-component you will get 4 files.
Angular kindly ask you to follow this rules. Because when someone wants to work with you in the future it will be easier to understand your project and you will spend less time explaining to people what is happening in your code. Just because you will follow the framework recommendations.

@denisogolubev
In this case, I don't see the code, which would be at least approximately 600 lines of code, can you please show me?

Even if you run ng g c some-component you will get 4 files.

Otherwise we can configure it in angular.json or via command line options via --inline-style, --inline-template
As I said, the documentation is only a recommendation, I think that you should be guided by a specific case
I would like to hear other comments if there are any

@zverbeta I just want to let you know that this approach is not about an expandable code base.
Today your file has 100 rows of code. In a month someone will add a new functionality and it will be 150 rows of code and so on.
So, in the future, you might need to separate these components into different files, which is why I'm sure that this pattern is not about flexibility and expandability.
And looks like it's not necessary refactoring.


PGD/BIM implementation is incorrect

The PGD (and BIM) implementation in this repository is significantly less effective than as reported in prior work. In Table XIV PGD (or BIM) appears to succeed 82.4% (or 75.6%) of the time. When I run the code in the repository, I get a very similar result: 82.5% (or 74.2%).
This should be somewhat surprising given that prior work reports PGD and BIM succeeds nearly 100% of the time with the same distortion bound of 0.3. See for example Figure 4 of Madry et al. (2018), or Table IV of Carlini & Wagner (2017). Indeed, when I put a loop around my FGSM call (using the approach discussed in #3) I reach 100% attack success rate with both BIM and PGD.
I have not investigated the cause of this discrepancy further.
It is deeply concerning that now I have checked five results (FGSM/PGD/BIM/JSMA/PAT) and all of them have issues (#3 / this issue / #14 / #4). Did you cross-check the results of your attacks with any other libraries?

Fixed in https://github.com/kleincup/DEEPSEC/commit/d4e1181e84beef8e6ef5d5d86d87df015e98fb94 in defining the model for both MNIST and CIFAR10, though it is suggested by PyTorch officially (https://github.com/pytorch/examples/blob/master/mnist/main.py).
Nothing needs to be changed in our implementation of BIM and PGD.
After retraining the model for MNIST and attacking, the misclassification rates of BIM and PGD at eps=0.3 on MNIST are both 100%.


How does the pre-train process effect the final performance?

Thanks for your wonderful work!
I noticed that in your paper, before train IFC on VIS dataset, you firstly add an extra pretrain process on COCO dataset by setting T to 1. This implies the memory token and all bus layers are also pretrained during this process.
So I'm wondering how this process influence the final performance on VIS? If we do not pretrain all memory token and bus layers on COCO, what will happen to the final performance on YouTube dataset?
Hoping for your reply and thank you again.

Hi @DYNreB51Cx ,
From experiments, we found that even if the memory tokens and the bus layers do not get pretrained on COCO and be directly start from random initial weights, they show fast convergence and often obtain comparable final results.
What matters is the instability of training due to the small training set; the random start shows more fluctuating results and sometimes leads to a drop to near 36AP.
Thank you :)


[lit/context] Use target.set for setting context values

target.set is the correct way to set values in decorators. It supports nested decorators and private fields.

Thanks @jun-sheaf!
We need a changeset file as part of the PR. See https://github.com/lit/lit/blob/main/CONTRIBUTING.md#pull-requests

Thanks @jun-sheaf!
We need a changeset file as part of the PR. See https://github.com/lit/lit/blob/main/CONTRIBUTING.md#pull-requests

Done.

Someone with write access has to merge this.


Feature/google drive to folders

This PR moves us off google shared drives in favor of using folders instead.
This has a couple of advantages:

A user's drive view is no longer cluttered with Google Shared drives.
We don't have to move or delete any files when an incident is closed. Which could take a long time if there are many files.
Google team drive tend to take longer to create than folders.

Additionally, we don't have to control the individual sharing permissions of every drive, instead of letting the top-level folder or top-level shared drive control general sharing permissions.
This PR also adds two envvars and deprecates two others:
Adds:
INCIDENT_STORAGE_FOLDER_ID: Top level folder where all incident data is stored. Note: viewing actual incident data is still on a per-sub folder basis.
INCIDENT_STORAGE_OPEN_ON_CLOSE: After an incident is closed we as an organization try to be transparent and allow others to view incident data. This is not desirable in all organizations. The default is True or to open after close.
Deprecates:
INCIDENT_STORAGE_ARCHIVAL_FOLDER_ID: Is no longer needed, due to the fact that we won't me moving files for archival.
INCIDENT_STORAGE_RESTRICTED: Is no longer needed because we use whatever top-level permissions are for the folder or shared drive (instead of setting it for each not team drive).

This PR is blocked until the sharing of drive folders reaches GA.


Synthesis Papercut: Error read-only and write-only memories

New pass that generates and error when a memory is only used for reads or writes without @external(1). This pass should be enabled for the default synthesis alias.
Fixes #384.

Should be good now. Squash and merge when ready.


Feat/civ 6141 reset pin

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-6141
Change description
reset pin handler and user event
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

reopen for demo and deploy


Print equations nicely and without expanding tree

Summary
Rendering the expression tree is a giant mess and impossible to decipher. It would be great to be able to see what the equations are for each function/variable in one line without rendering the whole tree underneath. Also rendering them in Latex would be good. Sympy is able to render equations in Latex very nicely

https://docs.sympy.org/latest/tutorial/printing.html

The main challenge here is with parameters that are combinations of other parameters: how do we know what to call them if we are not expanding them?
A nice workaround is to overload the __setattr__ method in LithiumIonParameters (more  specifically, in a base Parameters class) as follows:
def __setattr__(self, name, value):
        if isinstance(value, pybamm.Symbol):
            value.name_for_printing = name
        super().__setattr__(name, value)

Then anywhere else in the class if we do something like
self.L_x = self.L_n + self.L_s + self.L_p

the rhs symbol (an Addition) will be given a print name of L_x.
Similarly we can define print names for all kinds of symbols, and then we just need to convert to sympy for printing

The main challenge here is with parameters that are combinations of other parameters: how do we know what to call them if we are not expanding them?
A nice workaround is to overload the __setattr__ method in LithiumIonParameters (more  specifically, in a base Parameters class) as follows:
def __setattr__(self, name, value):
        if isinstance(value, pybamm.Symbol):
            value.name_for_printing = name
        super().__setattr__(name, value)

Then anywhere else in the class if we do something like
self.L_x = self.L_n + self.L_s + self.L_p

the rhs symbol (an Addition) will be given a print name of L_x.
Similarly we can define print names for all kinds of symbols, and then we just need to convert to sympy for printing

https://github.com/connorferster/handcalcs


Yubikey 2FA doesn't work when signing in to YouTube

I downloaded ReVanced app to use it instead of YouTube and during the sign in process I was asked to fill my Google credentials along with the U2F authorization. I tried both Yubikey 5C key and Yubikey 5 NFC key but neither of them work properly. It acts like I didn't use the key even though I did it. I fill the vibration of the NFC key and I can see the light flashing of USB-C key but nothing happens.
I have Android version 12.

Pretty sure Yubikey support is something upstream has to handle.

Pretty sure Yubikey support is something upstream has to handle.

What you mean? Handle from Yubikey devs or official microg dev?


Jump to the selected page

public func jump(to index: Int, animated: Bool) {
guard let tabView = tabView, let contentScrollView = contentScrollView else { return }
if currentIndex != index {
delegate?.swipeMenuView(self, willChangeIndexFrom: currentIndex, to: index)
}
jumpingToIndex = index
tabView.jump(to: index)
contentScrollView.jump(to: index, animated: animated)
self.setNeedsLayout() // should add
}

What is the reason for doing it?

How can I Jump to second tab without taping the second one.
I tried this method, jump(to index: Int, animated: Bool) but always its showing the first one as selected.


SSO(log in, log out) on different domains

Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
I ran into issue when moving from MSAL 1.3.1  to  2.x. I have 2 SPA apps  (using B2C tenant) on a different domains and when using 1.3.1 SSO works as expected (login into 1st app logs me into the 2nd and vice versa, the same thing with logout) BUT the biggest problem is that 1.3.1 ver of lib doesn't work in Safari because of Intelligent Tracking Prevention so that's why I'm moving to 2.x.
For ver 1.3.1 I used acquireTokenSilent() with  LoginHint: ' ' to acquire token and it perfectly did all the SSO work
msalInstanse.acquireTokenSilent({
        scopes: [scopes],
        forceRefresh: true,
        loginHint: ' ',
})

For ver 2.x this func has been changed to accept different object (with Account prop required)
and that broke all the SSO for me as this is applicable only when sites are on the same domain
msalInstanse.acquireTokenSilent({
        scopes: [scopes],
        account,
      });

I can see ssoSilent() func in docs but it feels it still has "Intelligent Tracking Prevention" limitation and for some reasons it works SLOW in Chrome for me (following event takes ~30 secs: "1.6.3 : Info - Emitting event: msal:ssoSilentStart")
The result I'm trying to reach out is: open 1st site log in, open 2nd site and be already logged in (or open 2 sites on a home page, login on one of them, reload the second one and be already logged in) the same thing with log out.
Question
How do I do SSO between domains or if it's possible at all with MSAL 2.x?

@AndriiBoiko1 To SSO to an existing session using msal 2.x we recommend ssoSilent API. As noted in the docs, it still uses iframes hence it is susceptible to ITP and hence we recommend loginPopup or loginRedirect as a fall back.

How do I do SSO between domains or if it's possible at all with MSAL 2.x?
As long as you are trying to access the same service session, you should be able to SSO.

I can see ssoSilent() func in docs but it feels it still has "Intelligent Tracking Prevention" limitation and for some reasons it works SLOW in Chrome for me (following event takes ~30 secs: "1.6.3 : Info - Emitting event: msal:ssoSilentStart")

Have you tried other browsers? And have you any clue why it is taking that long? ~30secs is too long and hence any debug information will be helpful.

@sameerag Thanks for the reply.
Regarding ~30secs:
I'm using func like this to sso (it is executed on every page load)
  const getAuthInfoSilently = async () => {
      authResponse = await msalInstanse.ssoSilent({
        scopes: [scopes],
        loginHint: ' ',
      });

     return authResponse;
  }

And I get this log in console with no errors or additional logs (you can see a huge gap between 1st and 2nd event)

Regarding "recommend loginPopup or loginRedirect as a fall back."
Can you provide me with an example of using ssoSilent for Safari with loginPopup or loginRedirect?
As I said previously I have 2 sites on a diff domains so will it actually do the job (handle sso) when I'm on a home page of site abc.com(not logged in), then open the site def.com in another tab log in there, go back to abc.com reload the page and then I should be logged in.

@sameerag any thoughts?

@AndriiBoiko1 May I ask what was the configuration issue regarding the 30 seconds? I'm facing the same issue right now.

@bajzat had a LoadFrameTimeout set to 25 secs, just removed it

Thanks, @AndriiBoiko1 , it made a trick. The question may be to @sameerag , why the loadFrameTimeout affects the SSO performance.

@bajzat I believe this is a known bug, see #2314. Unfortunately we haven't had a chance to address it, I'll make sure it gets fixed soon.


Clarify Matrix bridge terminology.

#702 hasn't been updated for a long time. #723 will take a while to finish. This PR remakes #702 so that the current bridge config can be more easily understood.

Merged, thanks @rht!


Break out fake redux framework.

It turns out this is very useful for mutiple test suites. Now
we can use it for such with minimal effort.

I have to rebase this after my other PR is merged to fix the test issue, so obviously, hold off on merging for a bit.


XOutput 3.14 vibration bug

Hello I Installed XOutput 3.14 With VIGem Bus Emulator, and the vibration dont work it, all devices are installed Correctly and my pc are fulll Update...

Is it working when you press the test button?

Is it working when you press the test button?

yes he works when the test button is pressed but when using it in video games the vibration does not work as in 3.13


Release 1.0.0-beta.0

remember to squash all commits on this branch before releasing to npm, to have a single commit with the release tags

remember to squash all commits on this branch before releasing to npm, to have a single commit with the release tags

thank you! I didn't think of this.


Pointers and Functions in C++

Description
This issue will describe the relationship between pointers and functions
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign


Is RSSI really working on BLE Mesh in the new release? (IDFGH-3891)

Environment

Development Kit:      ESP32-DevKitC
Kit version (for WroverKit/PicoKit/DevKitC): v4
Module or chip used:  ESP32-WROOM-32
IDF version v4.3-dev-907-g6c17e3a64
Build System:         [idf.py]
Compiler version xtensa-esp32-elf-gcc (crosstool-NG esp-2020r2) 8.2.0
Operating System:    Linux
Using an IDE?: Yes Clion
Power Supply:  USB

Problem Description
From the release notes of latest version it says that RSSI has been enabled on BLE Mesh networks, but when I tried to log the values it does not show anything more than 0.
Expected Behavior
Correct rssi being shown.
Actual Behavior
rssi field equals to 0
Steps to reproduce

Open the server_onoff_example
Add a log of the rssi field into the generic_callback registered on the server
flash and launch
provision with the Android nRF Mesh app
try to change value on the model from app
the packets logs by the following code should show the RSSI

Code to reproduce this issue

static void ble_mesh_generic_server_cb(esp_ble_mesh_generic_server_cb_event_t event,
                                       esp_ble_mesh_generic_server_cb_param_t *param) {
    ESP_LOGI(TAG,
             "net_idx 0x%04x, app_idx 0x%04x, src 0x%04x, dest 0x%04x, rcv_rssi 0x%02x, recv_ttl 0x%02x, send_rel 0x%02x, send_ttl 0x%02x, opcode 0x%08x, srv_send %s",
             param->ctx.net_idx, param->ctx.app_idx, param->ctx.addr, param->ctx.recv_dst, param->ctx.recv_rssi,
             param->ctx.recv_ttl, param->ctx.send_rel, param->ctx.send_ttl,
             param->ctx.recv_op, param->ctx.srv_send ? "true" : "false");
    }
}

esp_err_t ble_mesh_init(void) {
/* *** */
    esp_ble_mesh_register_generic_server_callback(ble_mesh_generic_server_cb);

/* *** */
}

Debug Logs
Please watch carefully the BenchMark TAG which is the output produced by the code above.

In the release note, it means when a Provisioner scans the advertising packets from the unprovisioned devices, the RSSI of these unprovisioned advertising packets will be notified to the application layer.
For notifing the RSSI of other mesh messages, the corresponding MR has not been merged internally. Later it will be synchronized to the release/v4.1 branch firstly, and will be released in idf v4.1.1.
Thanks.

In the release note, it means when a Provisioner scans the advertising packets from the unprovisioned devices, the RSSI of these unprovisioned advertising packets will be notified to the application layer.

Ok, thanks for the clarification.

For notifing the RSSI of other mesh messages, the corresponding MR has not been merged internally. Later it will be synchronized to the release/v4.1 branch firstly, and will be released in idf v4.1.1.

Is there a way right now to perform this merge in local and make them work? More generally, is there a way to access and log rssi even in the lower levels of BLE Mesh stack?

Regarding this issue I have now realized that actually the rssi sometimes works without problems and some other times it is just set to 0. I don't really know why, what I can state surely is that this expected behaviour happened when I correctly set up a SIG Generic Level BLE Mesh network with 1 Generic Level Server and 1 Generic Level Client.
I'll post more updates or pieces of code if you think they can be relevant for your debug.

Hi @Thecave3
Please have a try with this patch 0001-update-recv_rssi-for-received-mesh-message.patch.zip, it will update the recv_rssi of the received mesh messages before notifying to the application layer.
Thanks.

Can you please also give me the instructions to apply the patch?

To whoever needs the aforementioned instructions.
In any case, it seems that in the actual latest release it is not a problem since it is already implemented.
The only issue right now seems to happen exclusively during the provisioning phase with the nRF app, but it runs smooth on classical client server connections.


[PE-D][Tester E] Unclear find command guide

What prefixes can work with the find is not specified. It implies that this command can work for all prefixes but there are some prefixes that does not work with this (e.g. at/, dt/, etc.)

Labels: type.DocumentationBug severity.Medium
original: ketweeen/ped#1

The prefixes that can be used are specified at the features section


making examples/posix_fs gives errors

Wanted to try out the spiffs got into trouble trying to build the example, as test-fs was completely empty. The readme didn't mentioning anything so I thought it was missing files in the check-in.
Then checking around and googling I found https://travis-ci.org/SuperHouse/esp-open-rtos that showed the git submodules command:
git submodule update --init --recursive
Didn't find it mentioned anywhere on the setting up on the esp-open-rtos home page, or any message in the readme for the posix_fs.
Not sure what is the preferred way to make this easier.
Is there any drawbacks to always get all the submodules? I assume they don't take up space unless one is using the EXTRA_COMPONENTS?

Hi @yesco,
If you do a fresh clone with git clone --recursive https://github.com/Superhouse/esp-open-rtos.git as described in the README.md of esp-open-rtos it should take care of all the submodules in the project.
If you pulled changes and a new submodule appeared in the project it will not be pulled automatically. The following command will pull a new submodule:
git submodule update --init --recursive

Argh, I looked for it before sending a comment. Sorry, I just pulled and had troube, found the fix, but thought the document wasn't updated. My mistake.


https

We should serve MR over https like grown ups 🍡

Hi, still looking forward to this update. When can we expect it? :)


Improve DDB transaction validation

Solution for https://github.com/spulec/moto/issues/5496

Codecov Report

Merging #5521 (de8d803) into master (9cd8550) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5521   +/-   ##
=======================================
  Coverage   96.12%   96.13%
=======================================
  Files         725      725
  Lines       72069    72095   +26
=======================================
+ Hits        69278    69305   +27
+ Misses       2791     2790    -1

Flag
Coverage Δ

servertests
36.93% <25.00%> (-0.01%)
:arrow_down:

unittests
96.06% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/dynamodb/exceptions.py
100.00% <100.00%> (ø)

moto/dynamodb/models/__init__.py
93.66% <100.00%> (+0.05%)
:arrow_up:

moto/ecs/responses.py
99.31% <0.00%> (+<0.01%)
:arrow_up:

moto/ecs/models.py
93.08% <0.00%> (+0.08%)
:arrow_up:

moto/ec2/models/spot_requests.py
98.77% <0.00%> (+0.41%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Stricter egg detection

In pkg_resources, no longer detect any pathname ending in .egg as a Python egg. Now the path must be an unpacked egg or a zip file.
Summary of changes
Avoid detecting arbitrary paths ending in .egg as eggs.
Closes #2129.
Pull Request Checklist

[ ] Changes have tests
[x] News fragment added in changelog.d. See documentation for details

I note the tests fail because some code paths are reliant on .egg paths containing eggs.


[Ansible] deployement with contiv

Hi,
I try to create a new kube cluster with ansible and contiv (Network) But I have an error :
 FAILED! => {"changed": false, "failed": true, "msg": "Error when trying to enable openvswitch: rc=1 Failed to execute operation: No such file or directory\n"}
Have you got an idea to solve this problem ?
Thank's

What OS is in question? It looks like the service file is not present.

I use fedora 24

The task fails since openvswitch is not installed on Fedora. It is installed on CentOS only.
Is the contiv the only network plugin you can use? I don't know the historical context but the default network plugin for Fedora was and is flannel.


Recover the save game from a running container

Hi,
I acctidently deleted the whole folder with your repository, this ofcourse deleted the save game as well.
At the moment I have a working docker container and the server works, @mmmaxwwwell is it possilble to recover the save game from the container or wine?
Thanks a lot.

When you delete a file, usually the only the reference to the file is removed, not the file itself. It should be possible to get the world back using some disk recovery utility in theory, however your mileage may vary in practice.

Welp, I tried a lot of stuff and I've learned a lot on how your setup up wine and docker.
Strabgely in your docker-compose.yml you listed the volumes that you will use, but they do not show up when running docker volume ls
And I saw a way to increase performance, that I will try out in a couple of days. If it works I'll create a pull request.


pyopenSSL Cherrypy issues

I updated my python to a newer version the other day but I'm now having issues with HTPC-Manager when SSL is enabled. OpenSSL is installed and is working fine for Sab, Couch, Sickrage and Headphones.
Python Version:	2.7.11 (default, Feb 17 2016, 07:58:43) [GCC 4.3.6]
SSL Version:	OpenSSL 1.0.2f 28 Jan 2016
`2016-04-18 08:33:04 :: root :: INFO :: Welcome to Hellowlol's HTPC Manager fork
2016-04-18 08:33:04 :: root :: INFO :: Loglevel set to debug
2016-04-18 08:33:04 :: htpc.updater :: DEBUG :: Selecting Update engine.
2016-04-18 08:33:04 :: htpc.updater :: DEBUG :: Checking if git is installed
2016-04-18 08:33:05 :: htpc.updater :: DEBUG :: Running git version
2016-04-18 08:33:05 :: htpc.updater :: DEBUG :: Found git path git
2016-04-18 08:33:05 :: htpc.settings :: DEBUG :: Saving settings git_path to the database.
2016-04-18 08:33:05 :: htpc.updater :: INFO :: Using GitUpdater engine
2016-04-18 08:33:05 :: htpc.updater :: DEBUG :: Getting current version.
2016-04-18 08:33:05 :: htpc.updater :: DEBUG :: Running git rev-parse HEAD
2016-04-18 08:33:05 :: htpc.updater :: DEBUG :: Current version: c9db507c6dfab949ff52659180b289dc72d4650c
2016-04-18 08:33:05 :: htpc.updater :: DEBUG :: Running git rev-parse --abbrev-ref HEAD
2016-04-18 08:33:05 :: apscheduler.scheduler :: INFO :: Added job "Updater.update_needed" to job store "default"
2016-04-18 08:33:05 :: modules.kodi :: ERROR :: Invalid server. Selecting first Available.
2016-04-18 08:33:05 :: apscheduler.scheduler :: DEBUG :: Looking for jobs to run
2016-04-18 08:33:05 :: apscheduler.scheduler :: DEBUG :: Next wakeup is due at 2016-04-18 14:33:05.457086+01:00 (in 21599.952968 seconds)
2016-04-18 08:33:05 :: htpc.settings :: DEBUG :: Saving settings newznab_current_indexer to the database.
2016-04-18 08:33:05 :: modules.stats :: ERROR :: Required package 'smartmontools' is not installed, or 'smartctl'
component is not on the system path. Please install and try again.
2016-04-18 08:33:06 :: htpc.server :: DEBUG :: Setting up to start cherrypy
2016-04-18 08:33:07 :: htpc.server :: DEBUG :: Updating cherrypy config, activating sessions and auth
2016-04-18 08:33:07 :: htpc.server :: DEBUG :: There isnt any certificate or key, trying to make them
2016-04-18 08:33:07 :: htpc.helpers :: ERROR :: No module named _openssl
2016-04-18 08:33:07 :: htpc.helpers :: ERROR :: You need pyopenssl and OpenSSL to make a cert
2016-04-18 08:33:07 :: htpc.server :: DEBUG :: SSL is enabled
2016-04-18 08:33:07 :: htpc.server :: INFO :: Starting up webserver
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Listening for SIGHUP.
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Listening for SIGTERM.
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Listening for SIGUSR1.
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Bus STARTING
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE PID 3779 written to '/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/HTPC-Manager.pid'.
2016-04-18 08:33:07 :: cherrypy.error :: ERROR :: [18/Apr/2016:08:33:07] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0xf68b31ec>>
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/process/wspbus.py", line 205, in publish
output.append(listener(*args, **kwargs))
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/_cpserver.py", line 167, in start
self.httpserver, self.bind_addr = self.httpserver_from_self()
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/_cpserver.py", line 158, in httpserver_from_self
httpserver = _cpwsgi_server.CPWSGIServer(self)
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/_cpwsgi_server.py", line 64, in init
self.server_adapter.ssl_certificate_chain)
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/wsgiserver/ssl_pyopenssl.py", line 169, in init
raise ImportError("You must install pyOpenSSL to use HTTPS.")
ImportError: You must install pyOpenSSL to use HTTPS.
2016-04-18 08:33:07 :: cherrypy.error :: ERROR :: [18/Apr/2016:08:33:07] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/process/wspbus.py", line 243, in start
self.publish('start')
File "/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/libs/cherrypy/process/wspbus.py", line 223, in publish
raise exc
ChannelFailures: ImportError('You must install pyOpenSSL to use HTTPS.',)
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Bus STOPPING
2016-04-18 08:33:07 :: apscheduler.scheduler :: INFO :: Scheduler has been shut down
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE HTTP Server None already shut down
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Bus STOPPED
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Bus EXITING
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE PID file removed: '/share/CACHEDEV1_DATA/.qpkg/HTPC-Manager/HTPC-Manager.pid'.
2016-04-18 08:33:07 :: cherrypy.error :: INFO :: [18/Apr/2016:08:33:07] ENGINE Bus EXITED`

Thanks for the log. Can you add the rest of the info as explained in issue guidelines?

What did you do? Upgraded Python
What happened? HTPC Manager will not start
What did you expect to happen? HTPC Manager to start
Which browser, including version? All browsers

What os?

Linux-3.12.6-x86_64-with-glibc2.2.5
QNAP TS-451

Awesome, thanks. Can you also post the results from pip list

pip list
cffi (1.5.2)
cryptography (1.3.1)
enum34 (1.1.2)
idna (2.0)
ipaddress (1.0.15)
Pillow (2.8.1)
pip (8.1.1)
ply (3.8)
psutil (4.1.0)
pyasn1 (0.1.9)
pycparser (2.14)
pyOpenSSL (0.15.1)
setuptools (20.2.2)
six (1.10.0)

Ssl works fine where. I think you should raise this issue with whoever made the package. I suspect there are some issues with the Python installation.

Hi the person who packaged python has also packaged HTPC-Manager with all modules embedded so i've switched to using that. Thanks for your help


Targeted audience

Nice project :-)
Just a question: is the targeted audience of this book is geek users/common OS developers, or Rust developers?
Just to know if we have to talk about Rust code, give examples, etc...?

Ok so, based on mattermost discussions, the targeted audience is users. ;-)


What's the equivalent to Quantopian symbol lookup in zipline?

Hi @quocble, you can use the lookup_symbol method in the AssetFinder class.
In [42]: from zipline.assets import AssetFinder

In [43]: import pandas as pd

In [44]: finder = AssetFinder('assets-6.sqlite')

In [45]: finder.lookup_symbol('AAPL', as_of_date=pd.Timestamp('2016-01-01', tz='utc'))
Out[45]: Equity(0, symbol='AAPL', asset_name='', exchange='YAHOO', start_date=Timestamp('1990-01-02 00:00:00+0000', tz='UTC'), end_date=Timestamp('2017-03-22 00:00:00+0000', tz='UTC'), first_traded=None, auto_close_date=Timestamp('2017-03-23 00:00:00+0000', tz='UTC'), exchange_full='YAHOO')

If by symbol lookup you mean in the context of a backtest, then you would need to do from zipline.api import symbol and then use symbol('AAPL'), or whatever equity you want to trade

Hi @quocble I'm going to go ahead and close this issue. If I still haven't quite answered your question, feel free to re-open this.


Deployment UI should display error message if no deployable (artifact) is selected

With a Flex app, I'm being able to create a Deployment run config in a module without any artifacts. No deployable is selectable and no warning is shown.

However, when you try to run it, it produces an error window.

We should probably be complaining in the UI if no deployable is selected.

Turns out I got my project into this weird state, and I can't reproduce it...
Will reopen if I can reproduce. Unless you want to repurpose this as you mentioned, @etanshaul

nah lets just close this one (assuming you are comfortable that its not reproducible) since its pretty different then what I had in mind.


Missing step

Step 3 is not complete. After generating the Schema you need to open it using "Advance Options". The text under step 5 says this but as it is not marked as an step I ignored it. Also the text starts with "If in the future you want to use this schema...", but you need to use the Schema right now, not in the future... otherwise the ODBC will only show the first collection and nothing else.
Indeed the whole ODBC set up is very confusing. It is great to have the option to reload a saved schema, but the "Edit Schema" button should be editing the schema of the current DNS... not an schema that needs to be saved and then loaded in the previous window. The whole process is very anti-intuitive.

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

ID: 96736d22-b3e0-290d-3615-5468859d0c9c
Version Independent ID: c13dfbf7-0335-586d-2a04-d9d05ddb1f3a
Content: Connect to Azure Cosmos DB using BI analytics tools
Content Source: articles/cosmos-db/odbc-driver.md
Service: cosmos-db
GitHub Login: @SnehaGunda
Microsoft Alias: sngun

@FernandoHidalgoSWBI Thank you very much for the detailed feedback. I have assigned this to the content owner to evaluate and update as appropriate.

@FernandoHidalgoSWBI thanks for the feedback, I submitted a fix to update the doc.
WRT to your comment on this: ""Edit Schema" button should be editing the schema of the current DNS... not an schema that needs to be saved and then loaded in the previous window." can you please file a user voice request, our product team can look into it and make the changes.
We will close this issue if you don't have any further questions.
#please-close

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Bug 1860035: Fix SubscriptionConfig NodeSelector field

Problem: OLM's Subscription CRD allows cluster admins to set
nodeSelectors on Operators they deploy. Currently this API is exposed
but performs no action.
Solution: Wire the NodeSelector specified in the SubscriptionConfig into
the pods deployed when installing the operator.

/approve

/retest

/retest

/retest

/retest

The e2e test was failing because the CSV never reached the suceeded state. The pod associated with the operator was never assigned to a node that had the nodeSelector specified in the subscription config because no node had the labels. I have created a new e2e test that checks that the deployment has the nodeSelector instead.

/retest

/lgtm


Failsafe for deleting Codiad/workspace folder

I was tidying up my server, and was planning on reinstalling Codiad once I decided a better place to put it. Before deleting it, I deleted the workspace folder. Doing this wiped almost everything (besides anything with root ownership) in my web root, I presume there is some sort of symlink here.
There should be some sort of failsafe in deleting the workspace folder, or some obvious warning somewhere like "DO NOT DELETE THE WORKSPACE FOLDER, IT WILL WIPE ANYTHING INSIDE YOUR PROJECT FOLDER". This project folder was the root /var/www of my web root.
Stupidly I haven't backed up my server in over a week, so I watched everything I'm working on disappear. I couldn't even save the open files since Codiad stopped responding when I did this (the Codiad install was inside the web root folder).
I know there's no way I can save all my work, just please add some sort of warning somewhere so that people don't make the same mistake I did.

Deleting files is optional, so no further warning is required.

I was specifically talking about deleting the entire workspace folder inside the Codiad folder. My suggestion is for Codiad to detect the path on the server it is running from (maybe /var/www/Codiad for example), and present a warning if a user tries to delete this or any folder inside it.


Can "additionalTextEdits" include tabstop/placeholder?

From the specification, it's not clear whether additionalTextEdits can include tabstops/placeholders.

From my reading... they can not. (Though I wish they could :-)
My interpretation is based on the wording in the insertTextFormat attribute docs:
        /**
	 * The format of the insert text. The format applies to both the `insertText` property
	 * and the `newText` property of a provided `textEdit`.
	 */

It clearly says this applies to intertText and newText. It says nothing about the additionalTextEdits which I interpret as meaning it doesn't apply to them.

Though I wish they could :-)

As a workaround, you can still send a big edit containing all your edits as the textEdit, so you can put placeholders anywhere.

you can still send a big edit containing all your edits

Actually tried that but it doesn't work because of the restriction on the range has to be on the same line:
https://github.com/Microsoft/language-server-protocol/issues/235
That restriction kicks in if the range of the edit spans more than one line. (It's fine to expand to multiple lines, but the 'source' range being modified can not span multiple lines).

Actually tried that but it doesn't work because of the restriction on the
range has to be on the same line:
#235 https://github.com/Microsoft/language-server-protocol/issues/235

Ok, FYI, in Eclipse LSP4E, we intentionally ignored this rule, so it
should work at least on this client.

additionalTextEdits can currently not provide any tab stops.
I am actually curious about a use case for this. Code complete is meant to help with completing code at the current cursor position. IMO if we need a more sophisticated edit story we need to understand the use cases and then think if this has to go into the complete request or whether a new request would make more sense.

a use case would be to allow refactorings such as "convert to field" as
completion actions. I think we can define a unified way to deal with text
edits, tabstops and so on that can cover most of the protocol actions.

How would such a flow look like.  I personally prefer code actions to do this. Having something like 'convert to field' show up in code complete when I introduce a local variable would be quite annoying for me. Especially in editors that allow me to propose variable names like Eclipse does.

How would such a flow look like.  I personally prefer code actions to do
this. Having something like 'convert to field' show up in code complete
when I introduce a local variable would be quite annoying for me.
Especially in editors that allow me to propose variable names like Eclipse
does

A better example would have been code generation on completion, for example
something like "Generate class skeleton" for an empty file with only a
copyright header or commented content, that would be allowed insert 15
lines at once and put placeholder on the class and constructor name.
As this situation, completion fits well as there is nothing better to show.
Code actions are unfortunately not very usable as they rely on the command
pattern which is the limit of the protocol -commands are LS and/or client
specific, that's what we want to avoid. Many refactorings can be expressed
as a TextEdit + placeholder (extract method, extract local variable, move
to field...) because they can take their parameters in as a 2nd edition
step; and at the moment, the best way to render those refactorings is to
use a completion because it's the only action that support parameter
capturing.
Hence why I think removing constraints for completion item (#235) and
improve the placeholder mechanism (#236) would be a way to make the
TextEdit much more powerful in all places, and to reduce the dependency on
commands.
But I think we can keep discussing that in other tickets, as I don't have
anything against additionalTextEdits per se.

The Generate Class skeleton could be a snippet which supports n lines plus cursor position.

Ok, i think I got confused by "The range of the edit must be a single line
range and it must contain the position at which completion has been
requested." for which single-line range applies to the initial document;
it doesn't mean that the change needs to be on a single line...
So it seems good actually, and sorry for the noise. I'll lobby on other
issues to get this TextEdit+Snippet pattern trimmed from such restriction
to make it usable for CodeActions/refactorings.

I've already mentioned this somewhere else, the most annoying LSP limitation w.r.t completions on some of our use-cases is that we can not move the cursor to another place in the file. We want to do this because our completion in .yml files may actually need to be inserted at another place in the file. This is because the 'completion' inserts a specific 'key' into a hierarchy reflected by .yml file's structure. Insterting the completion in place would just create something broken.

Code complete is usually used to complete what the user is supposed to type

Right... but in our case what the user is typing expands into a kind of 'global key' which actually needs to inserted elsewhere than where I'm currently typing. And forcing me to navigate to that place first to invoke the completion would be annoying. I much rather have the editor find the right place for me, and move my cursor there.
Here's a really short video showing this in action (in Eclipse, because we can't currently do this in vscode, because of the limitations being placed on the main edit).
https://drive.google.com/file/d/0B-E3P0EgKBcKMXh4dnRGaEl2eU0/view?usp=sharing
As only the main edit has the ability to move the cursor, and as the main edit-range must be on a single line, this kind of completion is impossible with the current LSP.
Eiither removing the 'range restriction' on the main edit, or allowing template variables in 'additional edits' would allow us to move the cursor.

I think a more consistent solution would be to control where a snippet is inserted. What you basically want to do is insert snippet at [line, column] when selected instead of the current cursor position.
@jrieken have you heard about such a request in other places.

We do have TextEditor#insertSnippet to insert a snippet anywhere. After the transition phase from internal, unofficial, not supported syntax we are making this month the rules is: Nothing is interpreted as snippet unless the SnippetString-type is used.

What you show in the video is special, our assumption is that IntelliSense always completes at the current cursor. You might be able to do something with an empty edit and a completion item command that does the other insert, but you are on thin ice.

our assumption is that IntelliSense always completes

I understand that is the assumption, I just don't understand why such an assumption is necessary.
From where I stand, the restriction only complicates things. It makes the spec more complex, it makes the server's implementors task more difficult (its a real puzzle to determine if/how the changes you want to effect on the document are possible within the spec). I'm not sure it makes implementing the client harder or easier (but it seems like the Eclipse LSP guys at least think it an unnessary complication and opted to just ignore it).
So really... why is the restriction necessary? Who does it actually help?

So really... why is the restriction necessary?

For VS Code that is because we support completions when having multiple cursors. The api only always talks about a single position and a single text edit but in reality the editor multiplexes that onto multiple selections. We use the containment-property to grow/shrink the primary cursor and try to repeat that to all other cursors. Now, when a selection and text edit don't overlap should we apply their distance to all other selections too?

I see. Thanks for the clarification. I'm not really sure that supporting multiple cursors is worth all this extra complexity to me. For one, I can't remember ever in my life having been unhappy that completions didn't work with multiple cursors. But I understand that's just my opinion, and its not so clear cut as I thought it was.

should we apply their distance to all other selections too?

No you should only apply the edit once. And I think that's probably fine. As a user, I probably expect that a multi-edit session will end whenever there are edit that break across or out of the bounding boxes of the multi-selection.
Also...  thinking about the restriction that the edit must overlap with one of the cursors on the current line. It still doesn't seem to provide any real guarantee that you can always apply that same edit sensibly to all other cursors. The replaced text in the primary edit may still be 'larger' than the current selection, and so in that case, when you "grow/shrink the primary cursor" you don't have any real guarantee the text under that grown range sensibly matches to all of the other cursor positions. So you have the exact same question of whether you should apply that edit with relative offsets to all other cursors or not. Its just the same problem but on a smaller scale.
I think in both cases the question of whether the edit can be replicated sensibly is the same and it boils down to whether, when you 'grow/shrink' your selection relatively, you find that the resulting ranges 'match sensibly' with the other cursors surrounding text or bounding multi-selection boxes. Some thought might need to be put into what exactly 'match sensibly' means.


Spruce Cogwheel Recipe Missing [1.19.2]

The spruce cogwheel recipes (small and large) do not show up in JEI (only the conversions show up), and do not work in the crafting bench.

Deployer crafts are still there, but otherwise spruce cannot be used to make cogs in the crafting bench

I've added a backup recipe that will take the place of the crafting recipe if it doesnt load, everything should work in the next patch (1.1.2)


fix: remove old, incorrect docstring

resolves: #1163
remove this line. no additions necessary as other Catalog method's don't have additional context in the docstring beyond docmenting the signature

@sungwy couldn't find any CONTRIBUTING.md or other guidance for contributions so let me know if I'm missing anything like a changelog entry

Hi @dataders thank you very much for identifying this issue and putting up this PR!
For future information, the Contributing guidelines can be found here: https://py.iceberg.apache.org/contributing/
For the purpose of this Issue, I think this PR looks great 👍
I'll approve it once the CI runs successfully.

Thanks again for your contribution! @dataders

Hey there, found a couple more instances
https://github.com/apache/iceberg-python/blob/d8d509ff1bc33040b9f6c90c28ee47ac7437945d/pyiceberg/catalog/__init__.py#L595
https://github.com/apache/iceberg-python/blob/d8d509ff1bc33040b9f6c90c28ee47ac7437945d/pyiceberg/catalog/sql.py#L580
I think this should cover all of them


Unknown mailgun error when sending campaign messages

Sometimes I get this error when sending email (in production):

The final error points to this file: /app/vendor/mailgun/mailgun-php/src/Api/HttpApi.php

Any hints on how to fix this?

Bit hard for us to debug this. This looks like something on Mailgun's side?


Manually annotating prop with JSDoc doesn't produce right type

Vue version
3.2.0
Link to minimal reproduction
https://sfc.vuejs.org/#eNpNUMtuwjAQ/JWVL4Eo2Gp7i9yoHHvrHXMIZGmDsGPZDgVZ/veuE5Tii/cxOzO7kW2t5dcRWc1kQG0vbcBGGQDZ9dcmRuip6iElKXJBGSmeYJT6o+ttoBhvdnABOjy14yVAzCSm1VhD8Wk6vBVVrlg3WF/PXQBRlvAR7hYh9jqPrwryUqz5F8GkGfUB3W5fwe6lgtcK3vZNglLMs5OxhQkg09Swda69T0r5PczUsFrDe/NPM/dT/hKBKZBiWYRVbDaz0a3lZz8YOs4kox4Nr9girBg5zrliPyHQbkL40zGf9Oz54L4FRdyNJvQaOXq9Objh16MjYsUmA6TP0h/G+3+V
Steps to reproduce

Download the code from the reproduction playground
Install Volar in the editor
Hover over the items in the template

What is expected?
The type of items should be number[]
What is actually happening?
The type of items is any.

System Info
No response
Any additional comments?
I've also created example projects using both Vue 3 and Vue 2.7 at:

Vue 2.7: https://github.com/rchl/volar-vue2-test/tree/vue27
Vue 3: https://github.com/rchl/volar-vue2-test/tree/vue3

(note that those repros are on their own branches)
This is to show that this works in Vue 2.7 when annotating using the PropOptions  type (Vue 2 variant of Vue 3's Prop type).
Also see corresponding Volar issue: https://github.com/johnsoncodehk/volar/issues/1984#issuecomment-1275161205

I've started a related discussion about JSDoc and defineProps() macro: https://github.com/vuejs/rfcs/discussions/584


Allow for custom newrelic.ini path

This consolidates all new relic code into one place and removes the hardcoded path to the ini file.

I like that this now only tries to import when requested.
What's our plan for compatibility as infra changes?
I think merging this would further the breakage I'm experiencing in the other PR.
After that's figured out, LGTM.

Are you ok with considering sci/sci aloha-only?

I would like to maintain it until we have the new infra in place - among other things, the ruleset work is based off master. Without that, I don't have a coherent way to do things like cycle instance state & test the engine, etc.
Keeping sci/sci in sync seems less work than putting something else together. Alternatively, if you're comfortable with no new work progressing on master (including ruleset or engine changes) until the new infra is ready, then we can merge this.

Obviously, we can't have you blocked. Can you please help me with a matching sci/sci PR?

Sure, I think both PRs are pretty straightforward (this and #73).
I'll see if I can whip up compatible sci/sci PRs for each.

PRs ready and master compatible; merging.


Pushover/Pushbullet alert for all NWS alerts

This isn't really an issue. I'd like to set up an automation for pushover alerts on ALL NWS alerts. The original Weatheralerts from HACS had this as part of the packages file. Can I reuse that one or will you eventually add that in?

You could re-use it. I had removed it for other notification methods but
you should be able to just add it back!
On Sat, Jul 6, 2024, 7:08 AM beyondunreal79 @.***>
wrote:

This isn't really an issue. I'd like to set up an automation for pushover
alerts on ALL NWS alerts. The original Weatheralerts from HACS had this as
part of the packages file. Can I reuse that one or will you eventually add
that in?
—
Reply to this email directly, view it on GitHub
https://github.com/ddeatrich/weatheralerts/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASPL6ABOGP3MZNWUSXVZQLLZK7F4DAVCNFSM6AAAAABKOKZ5L2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TGNJSGA4TOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Use Swiftdoc to generate documentation from ZcashError

Some investigation must be done to come up with solution for this.

@pacu What we want to achieve exactly here? What should be the output? Should the documentation be visible in the Xcode? Or it will be some html file hosted somewhere? Or should it be markdown file that can be read here on github?
I tried to investigate SwiftDoc and it is not standalone tool that generates files on disk. If you open project and in Xcode hit Product -> Build Documentation then SwiftDoc is used. And when this is done it opens Xcode developer documentation and include your project in there. So it works nice but only for Xcode users. That's why I am asking what is the target here.

@pacu What should be the goal here? How the output should looks like? Should it be markdown file that can be viewed here on github? Or should it be html that will be hosted somewhere? Or something else?

https://developer.apple.com/documentation/xcode/documenting-apps-frameworks-and-packages
I think that what we'd like to make sure is that docs are viewable in-line with the code, that the code is the source of truth of documentation and that if desired, users can build the docs to see in "quick help". but nothing more for now.


Gettings Not Found Errors

Hi,
I'm trying to use this plugin but having problem when i run the code, I have setup everything according to the instructions given but it looks like missing something.
Here is what i see when run the code.
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.messaging.RemoteMessage$Notification" on path: DexPathList[[zip file "/data/app/org.sujag.app-1/base.apk"],nativeLibraryDirectories=[/data/app/org.sujag.app-1/lib/x86, /data/app/org.sujag.app-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]

@iridiumsoft Can you please specify when this occurs, I am assuming it is at the time of sending a push notification and it is received on the device? Also, what is the payload and the means of sending the push message?

Hi @AntonDobrev Thank you for reply. Its occurs when application run and first activity start, I'm following the instructions from repo README. Here is what i'm doing on my app.component constructor.
`var pushPlugin = require("nativescript-push-notifications");
var self = this;
pushPlugin.register({ senderID: '<ENTER_YOUR_PROJECT_NUMBER>' }, function (data){
self.set("message", "" + JSON.stringify(data));
}, function() { });
pushPlugin.onMessageReceived(function callback(data) {
    self.set("message", "" + JSON.stringify(data));
});`

When this code run the error occurs that I mentioned in my first post.

@iridiumsoft I am afraid that this is not a known issue. Can you please double check the configuration of the plugin as per the docs and if you have installed all the latest Android libraries on the local machine? Also, do not forget to try tns platform remove android and tns platform add android before this.
Also, what is the version of the device OS, is it happening on all devices running Android?

Finally works for me. I had to clear the node_modules and install them again plus tns prepare android to get it working


Tree create_item() Memory Leak Even With Tree.clear() and Tree.queue_free() Calls

Godot version
v4.2.beta2.mono.official [f8818f85e]
System information
Godot v4.2.beta2.mono - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1060 6GB (NVIDIA; <IP_ADDRESS>23) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)
Issue description
Whenever Tree.create_item() is called, memory usage increases for every item as expected. However, after Tree.clear() or Tree.queue_free() is called, some of the memory used for that freed Tree still remains and isn't freed (even though the object and node counts decrease as expected). This causes a memory leak which is especially apparent if one is doing thousands of Tree.create_item() calls every frame, as leaked memory will slowly increase.
This also occurs even if tree_item.set_text() is removed and a completely blank tree item is added.
Related issue for ItemList can be found here (linked issue doesn't occur in Godot 4.2 Beta 2).
Related issue for TabBar can be found here (linked issue doesn't occur in Godot 4.2 Beta 2).
Steps to reproduce

Launch the attached project below.
Monitor memory usage using Task Manager or Resource Monitor.
Observe how memory usage continuously climbs to around 800 to 1000 MB, even with Tree.clear() calls and a final Tree.queue_free() call.

Minimal reproduction project
TreeMemoryLeakTest - Minimal Reproduction.zip

However, after Tree.clear() or Tree.queue_free() is called, some of the memory used for that freed Tree still remains and isn't freed

Using task manager to check for memory leaks is not reliable.
From C++ point of view, memory usage not decreasing after a proper free is not uncommon. The runtime decides when to actually return the deallocated memory to the OS.

However, after Tree.clear() or Tree.queue_free() is called, some of the memory used for that freed Tree still remains and isn't freed

Using task manager to check for memory leaks is not reliable.
From C++ point of view, memory usage not decreasing after a proper free is not uncommon. The runtime decides when to actually return the deallocated memory to the OS.

That's my bad, I didn't know that about Task Manager and C++. Doing some more testing, at around 3GB of consumption, the program will begin to release the deallocated memory as you've described, not rising any higher. Running Prime95 (which will consume as much RAM as possible) alongside the minimal reproduction shows that the visually used memory for the minimal reproduction project in Task Manager reduces as the deallocated memory is used by Prime95 to an expected usage of 100-200MB.
This visual usage of memory in Task Manager doesn't occur with similar nodes to Tree in Godot 4.2 Beta 2 such as TabBar and ItemList. While this issue is not a memory leak as I originally thought and is much more benign, if this behavior can be avoided without a major performance impact, it might help to prevent a user (like it did for me) from thinking that a program made in Godot has some sort of issue with memory usage when using Tree.
I will update this issue to reflect this information.


Update findLibarchiveCustom.cmake to use a variable $HOMEBREW_PREFIX

Thank you for the PR!
I don't have a mac device at the moment, is the homebrew env variable always set on macos?

Thanks, you're welcome! In the file, the comment above the changed lines writes about using brew/homebrew. I guess that the author assumed installation of libarchive by using homebrew. Hence homebrew is installed. I guess its environment variable is set globally and not just when invoking cmake through the shell?

Does not work on my mac:

Building translateLocally-v0.0.2+ff025a7
CMake Error at /usr/local/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find LibArchive (missing: LibArchive_LIBRARY)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.29.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.29.2/share/cmake/Modules/FindLibArchive.cmake:67 (find_package_handle_standard_args)
  cmake/findLibarchiveCustom.cmake:41 (find_package)
  CMakeLists.txt:93 (include

Main:
Building translateLocally-v0.0.2+a210037
-- Found LibArchive: /usr/local/opt/libarchive/lib/libarchive.a (found version "3.7.3")
Linking to libarchive /usr/local/opt/libarchive/lib/libarchive.a


[New game]: speed typing test

🎮 Game Request
Game logic and basic description . It uses html ,css and javascript
Point down the features
It tells the speed of the person and gives them their score
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @sanayamahajan-23 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @sanayamahajan-23 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Add instance name

Explicitly sets instance name to $::fqdn to avoid the condition where the FQDN is changed after Varnish starts but before varnishncsa starts.

👍


fix: disable content type checking to allow text/plain responses for certain providers while processing valid JSON

China's wechat api response content-type is text/plain but the body is valid JSON, I comment this line it will all work fine.

I don't believe this is necessary. First of all the service should respond with the correct content-type. If that cannot be corrected there are means you can work around their issues yourself

set the correct header on the Response instance, or, if this is consumed via openid-client
use the customFetch extensibility point to do 1)

Thanks for your response, but why we need assertApplicationJson(response) ? What will happen if we drop it? If this lib is Low-Level  as claimed, I believe it should behave like C program language. If it's not a valid json, response.json() will raise error.


include asm and apache httpcomponents jar files for shading to avoid interop issues while using docker-client library

@mattnworb could you review and merge if appropriate. The rationale for this is as follows: I am trying to use docker-client in my application which uses different versions of httpclient and asm jar files and I just could not make my app work with any common versions. So shading the 2 seems to be the best option. I have tested the change in my application

Codecov Report

Merging #885 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #885      +/-   ##
============================================
+ Coverage     66.04%   66.11%   +0.06%
  Complexity      769      769
============================================
  Files           171      171
  Lines          3240     3240
  Branches        369      369
============================================
+ Hits           2140     2142       +2
+ Misses          940      939       -1
+ Partials        160      159       -1

@davidxia @mattnworb any comments on this PR?

@davidxia  thx. Will it merge in a day or two?

The config itself looks good to me but I can't really comment on whether or not httpclient is still functional after being shaded like this. I would be ok with merging if it is understood that this might be a bit experimental

@mattnworb I did test this after shading with a couple of tests so I believe the httpclient is functional. But I do understand your concern and I will fix any issues if they are found (I will be using this extensively myself)

👍


Add Lint check about wrong usage in DialogFragment

For DialogFragment you need to use special delegates dialogViewBinding, because viewBinding don't work correctly in all cases. Need to add rule that will analyze DialogFragment code and notify about replacement.

Cases must be fixed in #28


LoginScreen unit tests

Description
LoginScreen unit tests.
Fix #93
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[ ] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Checklist

[ ] I have updated mockServer

Out of scope and potential follow-up
Why not moving the screens to hooks?
Hooks let you write definitely more readable and maintainable code.
...and...come on, it's 2020: nobody's using classes anymore!! 😄
On a more serious note look at  the Motivation paragraph here: Introducing Hooks

CircleCI checks are failing because I think you need to add the API_URL env variable to the CircleCI project.

Thanks @mnecchi.
I've opened a PR for this: https://github.com/zoe/covid-tracker-react-native/pull/303


Plant extracellular matrix

Do plants have an ECM? This GitHub ticket suggests we should not use ECM for plants (https://github.com/geneontology/go-ontology/issues/12508).
But there are two child terms of extracellular matrix component that refer to plant structures
(There is also 'middle lamella' but I've commented about this in GitHub #15305)

pollen coat (GO:0070505) is described as an ECM: "A layer of extracellular matrix deposited onto the surface of the pollen wall..."
If pollen coat is actually a type of ECM then it should be is_a ECM, not is_a ECM component (which I am proposing to obsolete in #15294).

pollen wall (GO:0043667). Should this be is_a cell wall or part_of extracellular region instead of is_a ECM component? Also, the comment accompanying this term refers to an obsolete GO term GO:0048196.

@tberardini any thoughts?

pollen coat - I agree, @rachhuntley , this should be is_a ECM
pollen wall - the curator who added/requested this is GOC:fz (Felipe Zapata from Plant Ontology project, at some point in time) - let's ask @cooperl09 for advice

See also my comment on #15307 regarding the ontology under GO:0030312 external encapsulating structure.

Plants definitely have an extracellular matrix- I agree with @rachhuntley's  and @tberardini's comment above that pollen coat (GO:0070505) should be an is_a extracellular matrix (GO:0031012)
Here a good reference for background: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5217362/
re: "pollen wall (GO:0043667). Should this be is_a cell wall or part_of extracellular region instead of is_a ECM component? "
The pollen wall (GO:0043677) consists of the intine (GO:0043678) and exine (GO:0043668) layers- both are children of GO:0044420 extracellular matrix component. This is not a cell wall per se as it encapsulates more than 1 cell.
I don't think that making it part_of 'extracellular region' is appropriate (what would the is_a parent be?)
Perhaps it would be best as a sibling of cell wall- an " external encapsulating structure (GO:0030312)", although that def'n would need to be tweaked slightly to include one or more cells.
And it should be part_of the pollen (PO:0025281).
The GO hierarchy is confusing around the ECM, the extracellular region' and the 'encapsulating structure'- I probably need to study it a bit more.

Thanks Tanya @tberardini and Laurel @cooperl09 for your comments. Based on your comments, I propose the following changes:

Pollen coat (GO:0070505)

Change pollen coat to is_a extracellular matrix. Remove relation is_a ECM component

Pollen wall (GO:0043667)

Change definition of external encapsulating structure GO:0030312 to encompass more than one cell, i.e. "A structure that lies outside the plasma membrane and surrounds the entire cell or cells. This does not include the periplasmic space.”

Make pollen wall is_a external encapsulating structure GO:0030312

Remove relation is_a ECM component from pollen wall

Add relation to PO: part_of pollen (PO:0025281)

Remove the comment associated with pollen wall as this refers to an obsolete GO term (Comment: Note that this term is a child of 'extracellular matrix part ; GO:0044420' rather than the more specific middle lamella-containing extracellular matrix ; GO:0048196', because unlike the usual plant cell wall, the pollen wall does not contain a middle lamella, as specified in the definition of 'middle lamella-containing extracellular matrix ; GO:0048196'.)

Update definition of pollen wall to “The wall surrounding a mature pollen grain; a multilayered structure consisting of a pectocellulosic intine surrounded by a sporopollenin-based exine, which itself contains two layers, the inner nexine and the outer sexine”.  Ref: PMID:15131249.

Does this sound acceptable to everyone?
Thanks,
Rachael.

This sounds good to me, thanks for getting it straightened out.


In test, try to connect to node first

While running test, if there is one node running
then we try to connect to it first then we start
a new one with ganache-cli
There is multiple run into this function:

at bootstrap
when the test call the config

@jrainville correct, the goal is to not require ganache when it can connect to a node

Update:

Connect to a node only at config.
Require only returns a reference of what will be the contract once it has been compiled and deployed
(require instruction happens before the config so the contract is not yet deployed)

I tested. Switches between node and simulator don't seem to work correctly. I put another_storage_spec.js as a node connect and the others using the simulator and it after executing another_storage_spec, the others tests didn't switch to use the simulator.
Wanted behavior: If node is not specified in the config, connect to the simulator

Is a little late, but I tested a lot of stuff and everything seemed to work. Also, when putting a bad contract name. it says TypeError: AnotherStorage.simpleStorageAddress is not a function, so that's fine.