Package issue "ImportError: cannot import name 'omm' from 'sgp4' "

I'm running into a problem when importing the tools from glidertest.
It looks like the skyfield package requires the sgp4 package (for which I have version 2.10).  The latest version is 2.23, and the 'omm' function/package only came about sometime after 2020 (looks like version 2.14 - https://pypi.org/project/sgp4/).  I re-installed the environment, forcing version 2.23 and now it works.  Can we include this in the requirements file somehow?

Thanks for the catch and thorough explanation! I was able to reproduce this and confirm that  sgp4>=2.14 fixes it.
I've added sgp4>=2.14 to the requirements to fix this going forward. #35
It's odd that sgp 2.10 causes an error, as skyfield itself only requires >2.2, hence why installing the current requirements allowed sgp4 version 2.10 https://github.com/skyfielders/python-skyfield/blob/2d104a43b47ad37e783038ed96fb8048132fb778/setup.py#L60
Looks like an error in the requirements of the skyfield package


The reader's MaxDepth of 64 has been exceeded

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
PowerShell 7.2.0 (The error does not appear with PowerShell 7.0 LTS or with 7.1.5.)
Install VMware PowerCLI
Import Module: https://github.com/vmware/PowerCLI-Example-Scripts/blob/master/Modules/Backup-VCSA/Backup-VCSA.psm1
Connect-CisServer
Get-VCSABackupJobs
Expected behavior
Receive information from PowerCLI API.

The error does not appear with PowerShell 7.0 LTS or with 7.1.5.

Actual behavior
The reader's MaxDepth of 64 has been exceeded.

Error details
Get-CisService: 12.11.2021 17:19:49 Get-CisService  One or more errors occurred. (One or more errors occurred. (The reader's MaxDepth of 64 has been exceeded. Path
'result.output.STRUCTURE['com.vmware.vapi.metadata.metamodel.component_data'].info.STRUCTURE['com.vmware.vapi.metadata.metamodel.component_info'].packages[7].STRUCTURE.map-entry.value.STRUCTURE['com.vmware.vapi.metadata.metamodel.packa
ge_info'].services[0].STRUCTURE.map-entry.value.STRUCTURE['com.vmware.vapi.metadata.metamodel.service_info'].structures[6].STRUCTURE.map-entry.value.STRUCTURE['com.vmware.vapi.metadata.metamodel.structure_info'].fields[5].STRUCTURE['co
m.vmware.vapi.metadata.metamodel.field_info'].type.STRUCTURE['com.vmware.vapi.metadata.metamodel.type'].generic_instantiation.OPTIONAL.STRUCTURE['com.vmware.vapi.metadata.metamodel.generic_instantiation'].element_type.OPTIONAL.STRUCTUR
E['com.vmware.vapi.metadata.metamodel.type'].generic_instantiation.OPTIONAL.STRUCTURE['com.vmware.vapi.metadata.metamodel.generic_instantiation'].map_value_type.OPTIONAL.STRUCTURE['com.vmware.vapi.metadata.metamodel.type'].generic_inst
antiation.OPTIONAL.STRUCTURE['com.vmware.vapi.metadata.metamodel.generic_instantiation'].map_value_type.OPTIONAL.STRUCTURE['com.vmware.vapi.metadata.metamodel.type'].generic_instantiation.OPTIONAL.STRUCTURE['com.vmware.vapi.metadata.me
tamodel.generic_instantiation'].element_type', line 1, position 567214.))

Get-CisService: 12.11.2021 17:19:49 Get-CisService  CisService with name 'com.vmware.appliance.recovery.backup.job' was not found using the specified filter(s).

Write-Error: Cannot bind argument to parameter 'Exception' because it is null.

Environment data
Debian 10 amd64

PS /usr/lib/zabbix/externalscripts> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19)
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

The reader's MaxDepth of 64 has been exceeded.

It comes from Newtonsoft serializer.

Thanks @iSazonov, this information is very helpful.
Quoted from: https://stackoverflow.com/a/68580426:

In Json.NET 13.0.1, Newtonsoft changed the default MaxDepth for JsonReader (and hence all derived reader types including JsonTextReader) to 64:

Change - JsonReader and JsonSerializer MaxDepth defaults to 64

The ConvertFrom-Json command in PowerShell already specified the MaxDepth in JsonSerializerSettings, so it should not be affect. Therefore, it's likely that the PowerCLI module is directly calling APIs from Newtonsoft.Json.dll, and should be updated accordingly. @xenadmin can you please open an issue in https://github.com/vmware/PowerCLI-Example-Scripts about this?
https://github.com/PowerShell/PowerShell/blob/7dc4587014bfa22919c933607bf564f0ba53db2e/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/JsonObject.cs#L179-L187

Opened issue: https://github.com/vmware/PowerCLI-Example-Scripts/issues/494

@daxian-dbw Thank you very much for reviewing my issue. Although I'm not sure how to open an issues for VMware's PowerCLI, I didn't found a public bug tracker. I have the feeling that the example script repo is not the right place, as the issue is not with the example scripts, but with the PowerCLI commands itself (as far as I can tell).


Replace folly::make_unique with std::make_unique

Summary
There is a mixed usage of folly::make_unique and std::make_unique. Soon, folly::make_unique may be removed (see this PR). Since react-native only supports C++14-compilers and later, switch to always using std::make_unique.
Changelog
[Internal] [Removed] - Replace folly::make_unique with std::make_unique
Test Plan
Running the existing test suite. No change in behavior is expected.

Thanks for the PR @JoeLoser!


Question mark in sql()

Hello:
I am trying to use soda to generate seeds for a table (PostgreSQL 11). One table includes a URL field, and the URL often has a question mark in it.
When I run the migration, the question mark is replaced with $1, a second question mark is replaced with $2, etc.
I've tried running both raw SQL and fizz migrations, and the result is always the same.
For example:
sql(`INSERT INTO "public"."fonts"("font_name","font_family","import_statement","created_at","updated_at")
VALUES
(E'Source Sans Pro',E'font-family: \'Source Sans Pro\', sans-serif;',E'@import url(\'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i,900,900i&display=swap\');',E'2020-03-09 00:00:00',E'2020-03-09 00:00:00'),

Running this results in the "import_statement" column having this value:
@import url('https://fonts.googleapis.com/css$1family=Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i,900,900i&display=swap');

Is there any easy way around this?
Things I have tried:

Using ?? instead of ? (which works on JDBC drivers in Java)
Manually creating a variable, and using that variable in the statement, i.e.:

{{$qm := "?"}}
sql("insert into my_table (url) values ('http://www.somesite.com{{$qm}}foo=bar')

I suspect that the response will be "don't use soda to seed tables," but thought it  was worth a shot. Any help would be greatly appreciated.

I worked around this.


How to setup properly react-gtm-module

Hi, nice work on react-gtm-module, I'm trying to setup this library on my ecommerce, but I couldn't push my datalayer to tag manager, is there a guide or something else?
Environments:

Node: 12.19.0

React: 17.0.2

React GTM Module: 2.0.11

I also have the same question, is there any guides or examples of real world scenario.

Are you trying to push the dataLayer in the initialization itself?
I've been successful pushing the dataLayer by inititializing on load, and then calling the dataLayer function as a separate event.
On load:
import TagManager from 'react-gtm-module';

const tagManagerArgs = {
    gtmId: 'GTM-xxxxxxx', // required
};

TagManager.initialize(tagManagerArgs);

Trigger the dataLayer while performing a specific action (we assume TagManager has already been initialized):
import TagManager from 'react-gtm-module';

const tagManagerArgs = {
  dataLayer: {
      event: 'eventName', // event to be picked up by GTM
      customValue1: '', // anything you want here
  }
}

TagManager.dataLayer(tagManagerArgs);

@JMarchetto but do you know how to add environments to it?


Fix regression on Nonstop from use of strnlen

The provider fuzzer calls strnlen, whcih isn't implemented on non-stop (and possibly other) platforms.
Fix it by replacing usage with OPENSSL_strnlen
Fixes #24908

close as dup of https://github.com/openssl/openssl/pull/24912


Graphical representation of failure to make a speed test

I am coming from the broken "henrywhitaker3/speedtest-tracker" it had a bar graph of completed test per day, green for success and red for failure.
While this info is available in the results tab, it isn't presented on the Dashboard. To me, it has been a valuable help when troubleshooting with my ISP.
Something similar would be nice. But this isn't a make-or-break feature, but rather a "nice to have". Feel free to translate that into an urgency.
Thanks for your work on this.

Thanks for the suggestion, added it to an upcoming milestone where I'm focusing on chartings and visualizations. No ETA at this time.


template is not applied into HTML

See https://github.com/rusefi/rusefi/blob/a4dfedbcec1ba35f4d1f538f2ff375f7362987ef/firmware/config/boards/hellen/hellen-honda-k/connectors/main.yaml#L223
  - pin: B17
    # H144_IN_IAT AIN14 PC3
    id: EFI_ADC_13
    class: analog_inputs
    ts_name: ___ IAT
    function: IAT

templating seems to work at least sometimes see https://github.com/rusefi/rusefi/blob/00e21362882ccb220150b97dea018f7aa669eb0a/firmware/tunerstudio/generated/rusefi_hellen-honda-k.ini#L92 with "B17 IAT"
but HTML https://rusefi.com/docs/pinouts/hellen/hellen-honda-k/?connector=Honda-K&pin=B17 shows raw ___ IAT

Fixed with 2.10


#3394 tearsheet left nav

closes #3394
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

There's a small spacing over 1st sub tab name -

When I am in a nested subTab and I make changes in the table. After "Save and Continue", parent subTab is opened by default and not nested SubTab which I was working on -

@nmgokhale Thanks for catching that, I opened a separate issue https://github.com/elyra-ai/canvas/issues/1306 to track that since that is related to having column selection appear in a stacked tearsheet rather than the left nav.
The small spacing is as designed. I added a small padding to align the text with the content of the right side. The spacing above the text is 16px for both the left nav and the right content


Why are my fate probabilities so low in the heatmap?

...
Hi @Marius1311,
thanks for this amazing tool! I used a PseudotimeKernel and plottet the fate probs, which are looking biologically reasonable:

the clusters are like:

but the heatmap is showing me clusters from a totally different "lineage". I only want to considers the clusters where the fate probabilities are highlighted and I dont understand why the fate probs seem so low:

here is my code:

I get the same results when I omit cluster_key and clusters.
Thanks!
Best,
Tolga

when I subset my anndataobject to the seurat clusters of interest and then hand over to cr.pl.heatmap, the fate probs are looking good:

But is this legit?

Hi @TdzBAS, two points here:

this might be a problem of the pseudotime you used - looks like you used Slingshot, which computes lineage-specific pseudotimes, whereas CellRank 1/2 usually assumes global (lineage-agnostic) pseudotimes, i.e. DPT, Palantir, etc.
if you have prior knowledge about this system, and you know which clusters should contribute to a given lineage, I think it's legit to subset to those clusters, and to describe this in the Methods section of your manuscript.

Hi @Marius1311,
I switched to palantir calculated pseudotime, but still the same issue, If I dont subset my adata to the clusters of interest.
these are my clusters ( I changed the colors, sorry, for any inconvenience):

and the heatmap includes clusters from different branches with nearly 0 fate probability:

If I subset, it looks good though..
any other ideas?
Otherwise I think, I will go with the subsetting..

The heatmap will always include all cells, but their contribution to the GAM-fits is weighted by the fate probabilities, so they "don't hurt" the fit if their fate probability towards the selected terminal state is very low.

Hi,
thanks! I guess I will stick to the downstream analysis without subsetting the cells.
Best,
Tolga


feature request: checkout plugin if there is update from the plugin source

From https://github.com/buildkite/agent/blob/0c2928974456f1ec8c753934779869a8d99dcb0b/bootstrap/bootstrap.go#L722, agents only check whether pluginGitDirectory and the head commit exist and ignore checkout if exists.
A scenario is that plugin has updated and re-tagged the (existing) version with a newer commit, so that we don't need frequent update existing pipelines to pin the new plugin version while new function of the plugin can be used.
An option provided to configure agents to enable the feature might be considered.
To implement it, only need to check the commit from the plugin source and compare it with the local head commit, if the commit from the plugin source is newer, checkout from the source.

Great observation! I think this might be a duplicate:
https://github.com/buildkite/agent/issues/422


⚠ API - Lens has degraded performance

In 956cace, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 324 ms

Resolved: API - Lens performance has improved in 593c01b after 7 minutes.


Remove the IsArray trait

With const generics, it is not necessary anymore. This is a breaking change.

triggering GHA

Published 2.0


fix(factories): shorthand fix for applying props to react element

createShorthandFactory fix for applying props to React Element
Description
This PR tackles the first argument type of the function returned by createShorthandFactory factory, more precisely when passing a React.Element as  argument.
This comes into play in examples such as:
<Button
  icon={span content}
  content="Click Me"
/>
<Button
  icon={<Icon name='coffee' style={{ background: 'red' }}>icon content</Icon>}
  content="Click Me"
/>

that translate into calling:
createShorthandFactory(Icon, 'name').create(icon, {
  defaultProps: {
    styles: styles.icon,
    xSpacing: !content ? 'none' : iconPosition === 'after' ? 'before' : 'after',
    variables: variables.icon,
  }
})

// with icon being
span content

// and respectively:
<Icon name='coffee' style={{ background: 'red' }}>icon content</Icon>

and rendering:

The icon argument can be any React.Element so we cannot make too many presumptions on what to do with the props send as the 2nd argument (defaultProps and overrideProps).
Current Behavior:
We blindly send all props to the React.cloneElement call (see createShorthand call in factories.tsx).
For the example above, this can lead to passing invalid props to certain components and we currently catch this wrong usage in one of our unit tests:

Solution:
If the first argument of the function returned by createShorthandFactory factory is a React.Element just return the element early without cloning and applying extra props.

marking blocked until having a resolution on:
https://github.com/stardust-ui/react/pull/496#discussion_r236325417

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS

As per our sync conclusion, for createShorthand(Component, mappedProp, value, options) if value is of type ReactElement we decided to just return value early.


client.py - scan() routine may cause reads that are not on point boundaries

The scan() routine in modbus/client.py performs the scan incorrectly. While performing the scan, it reads the full contents of each model rather than just the model id and length. For models that are larger than the maximum Modbus read request (125 registers), this may cause a read to occur starting in the middle of a point due to the read request having to be broken into multiple Modbus requests. It is guaranteed this will happen with the current model 701 definition if maximum sized reads are performed.
SunSpec Modbus server implementations may reject read requests that are not on point boundaries causing the scan to fail. SunSpec Modbus clients must only perform reads on point boundaries.
The scan routine should be updated to only access the model id and length during the scan. After the scan, the model definition can then be used to perform reads on point boundaries.

Fixed in commit f2f61303ba1c8ab4d20ec898d7ae14272c3ea1b1.


fixed merge conflicts

I resolved some merge conflicts for merging into uniswap-web3api. I might have accidentally created the conflicts by merging prealpha-dev into uniswap-web3api, so I went ahead and did the fixes. Nothing important was changed.

I see that e2e tests changes with rinkeby are in here.
Do we want that now?

I see that e2e tests changes with rinkeby are in here.
Do we want that now?

I apologize, this is a mistake. It looks like I merged the wrong branches.


Only partially wake the device for scans. Keeps the screen off.

See #5 for more details. Built & tested. Credit for the fix goes to the @MarcusNi96 .
Details of different wake levels: https://developer.android.com/reference/android/os/PowerManager.html#summary

[There may be network connectivity issues with this approach that are coming to light ... recommend not integrating until I can confirm this is good, or come up with a network keepalive]

The issue here is that with only a partial wake lock, Android may doze the process, which kills the network connection. The trick is to disable battery optimization for the app, and then the connection is maintained. A better fix would maintain or re-establish the network connection in a different way, or at worst offer the user the intent to disable battery optimization.
As such, this PR may or may not be useful (personally, I think it's still better than waking up the screen, but perhaps needs some doc updates to warn people to disable battery optimization).

Any news on this? I can program on Android and I'd like to help.

The issue here is that with only a partial wake lock, Android may doze the process, which kills the network connection. The trick is to disable battery optimization for the app, and then the connection is maintained.

That or a foreground notification.
Are there other issues preventing this from being merged?
Thanks!

Maybe keeping with the current wakelock but not using ACQUIRE_CAUSES_WAKEUP would be an option?
I'm no Android Developer (though I've messed quite a bit with customizing some phones), but the description of this constant seems like it's about the screen turning on.
Sure the minimum wake level the better, but if this would really prevent the screen from turning on while keeping the current behavior, it would already be a nice step forward.
See: https://developer.android.com/reference/android/os/PowerManager#ACQUIRE_CAUSES_WAKEUP

@esatapedico starting Android 9 that could be a problem. See #24.

I'm not using find3 anymore so cannot attest to the continued validity of this PR ... closing as a spring clean.


Fixed problem with 2 deep commands.

Fixed type cast problem if a sub group command was there.

Has been fixed in e2209983e2fad14f77b900568a709dc1c1e94ca2


Add office365 login

continued on Niklas solution with login flow, managed to do a "npm install" in project folder thats why so many changes in BE prob due to updates.
not many lines of code in FE which is changed, just trying out the workflow with branches.
=)

looks like the ESlint error here is due to I just commented out the "SimpleGet" component which are not in use but i wanted to keep it as a "base" to code from.

Might aswell merge this and add authorization in API in a separate branch


Etl programs are not working for document databases.

The Error message is only generated if a document database is used!
Error MSG:
"Cannot check the existence of a remote server database. Please use the console or the OServerAdmin class."
To allow multiple access to the same database , then use Remote Mode!
But if Remote Mode is used then the Error MSG above is the problem!
Info and tests:
https://groups.google.com/forum/#!topic/orient-database/JHjCL7grdRk

The ETL tool is unable to check the existence of a db in remote mode.
What you can do? Create the db on the remote server, for example using studio (the web console) on http://localhost:2480. To create a new DB you need to provide "root" credentials (server administration credentials). After that, put to false the property:  "dbAutoCreate": true.
Should be enough.

No the same Error:
Cannot check the **existance **of a database in a remote server!
I'm using 2 server (distributed config)
{
"config":{ "log": "debug" },
"source": { "file": { "path": "./test.csv" } },
"extractor": { "csv": {} },
"loader": {
"orientdb": {
"dbURL": "remote:<IP_ADDRESS>/pops admin admin",
"dbType": "document",
"class": "test",
"dbAutoCreate": false,
"classes": [{"name": "test"}],
"indexes": [{"class":"test", "fields":["zip:STRING"], "type":"NOTUNIQUE" }]
}
}
}
Database test and class test were configured with studio, like all the tests.
It seems that de program cannot check the configured databases.

there's still an error on the url, since user and password should be configured as json props:
....
"dbURL": "remote:<IP_ADDRESS>/pops",
      "dbUser": "admin",
      "dbPassword": "admin",
....

hi, I added the capability to manage remote databases on develop branch, it will be part of 2.2.0.  documentation for the loader will be updated in a couple of hour: http://orientdb.com/docs/last/Loader.html#orientdb-loader
The same for snapshots distribution packages: https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/2.2.0-SNAPSHOT/

After changing the usernam/password, I still have the same problem:
{
"config":{ "log": "debug" },
"source": { "file": { "path": "./nps2.csv" } },
"extractor": { "row": {} },
"loader": {
"orientdb": {
"dbURL": "remote:<IP_ADDRESS>/pops",
"dbUser": "admin",
"dbPassword": "admin",
"dbType": "document",
"class": "nps",
"dbAutoCreate": false,
"classes": [{"name": "nps"}]
}
}
}
Caused by: java.lang.UnsupportedOperationException: Cannot check the existance of a database in a remote server. Please use the console or the OServerAdmin class


After computer restart, Windows app doesn't load

💻 Environment
Windows app, v7.4.529
Platform:
OS Version:
Toggl Version:
🐞 Actual behavior
Several users report that after restarting their computers, the desktop app appears as if doesn't open (it runs in the tray and the window doesn't get shown).
💯 Expected behavior
App should open without any issues after a computer restart.
🔨 Steps to reproduce
Cannot replicate but will include case links below for additional information
📦 Additional info
User report
User report
User report

User Report


Make a login for users to enter their "ClientId"..

How do i make a login for users to login to see their InstaFeed?
Make a login for them to enter their ClientId and Token?
Please help.

Hey @syrcom. Instafeed.js does not provide any sort of logic for handling anything like that. It's just a simple script for quickly pulling some specific images onto a web page.
You may want to search for some server-side solution to handle something like that.


add openapi def for suggestions of locations

 Implement geocoding of new cases using mapbox API

Codecov Report

Merging #273 into master will increase coverage by 16.51%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master     #273       +/-   ##
===========================================
+ Coverage   69.58%   86.10%   +16.51%
===========================================
  Files          28       16       -12
  Lines         628      403      -225
  Branches      143       47       -96
===========================================
- Hits          437      347       -90
+ Misses        191       56      -135

Impacted Files
Coverage Δ

verification/curator-service/api/src/index.ts
84.14% <100.00%> (ø)

data-serving/data-service/src/model/travel.ts

data-serving/data-service/src/util/validate-env.ts

data-serving/data-service/src/controllers/home.ts

...fication/curator-service/ui/src/components/App.tsx

...urator-service/ui/src/components/LinelistTable.tsx

...r-service/ui/src/components/CompletenessCharts.tsx

data-serving/data-service/src/model/date.ts

...tor-service/ui/src/components/CumulativeCharts.tsx

...cation/curator-service/ui/src/components/Users.tsx

... and 35 more

Continue to review full report at Codecov.

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


Signal feeder when queue size < num connections.

Currently signals when queue is empty.

Fixed in 0.2.1


Allow only filtering by one microgrid_id and not list of microgrid ids

What's needed?
Currently its possible to request dispatches for multiple microgrids. This should be limited to one microgrid. Moreover, filtering by a list of dispatch ids should also be removed as the use case is uncertain right now. Same applies to a few more filters that have uncertain use cases.
Filtering by start_time should also be enhanced so that all current and future dispatches are being returned if no start_time is being given.
Proposed solution
message DispatchFilter {
-  // Filter by dispatch ID
-  repeated uint64 ids = 1;

  // Filter by microgrid ID
-  repeated uint64 microgrid_ids = 2;
+  uint64 microgrid_id = 1;

-  // Filter by dispatch type
-  repeated string types = 3;

  // Filter by component ID or category
-  repeated DispatchComponentSelector selectors = 4;
+  repeated DispatchComponentSelector selectors = 2;

  // Filter by time interval
+  // If start_from is not provided only current and future dispatches will be returned
-  TimeIntervalFilter time_interval = 5;
+  TimeIntervalFilter time_interval = 3;

  // Filter by "active" status
-  optional bool is_active = 6;

  // Filter by "dry run" status
-  optional bool is_dry_run = 7;
}

Use cases
What is mostly needed is for a dispatch actor to be able to receive the list of current dispatches. This requires to be able to request any current and future dispatches. In some cases it might also be necessary to retrieve past dispatches but this wouldn't be the default use case.
Alternatives and workarounds
No response
Additional context
No response

I also suggest renaming DispatchFilter to DispatchListRequest as the microgrid id isn't really a filter but a required parameter and the filter right now only encompasses the component selector and the time interval. Maybe it makes sense to wrap these two in their own message called DispatchFilter like this:
message DispatchListRequest {
  uint64 microgrid_id = 1;
  DispatchFilter filter = 2;
}

message DispatchFilter {
  ...
}

The idea would be that everything inside the filter is optional.


Update member.py

The moment of inertia calculation for the box and square were reversed. I fixed them.

Thanks!

np
On Sun, Dec 6, 2015 at 5:47 PM, Chris McComb<EMAIL_ADDRESS>wrote:

Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/cmccomb/truss-me/pull/9#issuecomment-162373038.

--
Jack


Add Azure Modular Recipe/Stack Deployment Option

While MLStacks currently supports GCP and AWS for stack deployments, there is a notable absence of support for Azure. Although the creation of remote state on Azure is facilitated through a Terraform registry module implemented by ZenML), comprehensive support for Azure stack deployments through modular Terraform recipes is missing. This task aims to bridge that gap by introducing Azure as a fully supported provider within MLStacks.
Task Description
The objective is to develop a series of Terraform modules for Azure, analogous to those available for AWS and GCP within MLStacks. This will enable users to deploy selective parts of their MLStacks on Azure. The task involves leveraging existing Terraform code (e.g., azure-minimal and azureml-minimal) and adapting it to the modular approach used in MLStacks. Full testing is required to ensure the Azure implementation's functionality and compatibility with MLStacks.
Expected Outcome

Azure is integrated as a fully supported provider within MLStacks, with modular Terraform recipes allowing for selective deployment of stack components.
Users can deploy MLStacks components on Azure, similar to the existing support for GCP and AWS.
Documentation is updated to guide users on deploying MLStacks on Azure, including setup, configuration, and usage.
Comprehensive testing verifies the Azure deployment option's functionality, ensuring compatibility and reliability within the MLStacks framework.

Steps to Implement

Review existing Azure-related Terraform code within MLStacks and related repositories to identify reusable components.
Develop modular Terraform recipes for Azure, ensuring they align with the structure and approach used for AWS and GCP within MLStacks.
Implement Azure stack components within MLStacks, ensuring they support the dynamic selection and deployment of various stack parts.
Conduct thorough testing of the Azure deployment option across different configurations and scenarios to ensure full functionality and integration within MLStacks.
Update the MLStacks documentation to include comprehensive guidance on using the Azure deployment option, covering the setup, configuration, deployment, and best practices.
Engage with the MLStacks community to gather feedback on the Azure integration and make adjustments as necessary to address any issues or enhancements.

Additional Context
Expanding MLStacks to include Azure as a supported provider will significantly enhance the framework's versatility and appeal to users operating within the Azure ecosystem. This addition is a strategic move to ensure MLStacks remains a comprehensive and flexible solution for MLOps infrastructure deployment across all major cloud providers.
Code of Conduct

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

I'd like to take a stab at this, if that's alright.

Sure thing! Let me know if you have questions along the way. I'd recommend starting small (just artifact store to start with) and then slowly adding new components incrementally. You might also draw some inspiration from these non-modular recipes from the 'old' mlstacks: https://github.com/zenml-io/mlstacks/tree/main/azure-minimal and https://github.com/zenml-io/mlstacks/tree/main/azureml-minimal

Thanks for the suggestions!

I'm sorry. I can't accomplish this one. I'm in too far over my head with it and can't make meaningful progress.

No worries @MASisserson! Thanks for giving it a shot. We're also working on a parallel effort around Terraform recipes which might be backported into mlstacks at some point...


Fix automatic resource detection for Mac

Old Mac initialization code failed to run. Library would hang if used
without initialization.
The new initialization code uses a global variable construction to
initialize the library. The standard way should work same on all
supported platforms.

LGTM.
Unusual to remove dds.cpp in a library named libdds. Do you want to document that in the commit message? I'm thinking about what a maintainer will do when he's ready to merge into the main repo.

I will likely need to clean up changes a bit. Windows version might want to preserve one functionality from DllMain. But I saw that memory leak detection was broken in main repository too. I may have untested fix in our fork. There is other changes where I need to clean up changes by merging separate commits.
-#ifdef DDS_MEMORY_LEAKS_WIN32
-    _CrtDumpMemoryLeaks();
-#endif


Lightweight Moniting And Logging In K3s

Thanks for helping us to improve k3s! We welcome all feature requests. Please fill out each area of the template so we can better understand the request. You can delete this message portion of the bug report.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Elasticsearch And Prometheus are used in K3s,but they need much more resources.In Edge,we can not stand on it.We hope there are lightweight "Elasticsearch " and "Prometheus ".Thanks.

+1 to this. I've been looking at options different from elasticsearch with metricbeats which is much more lightweight to get this done.

vector + loki or promtail + loki might be a good option for log aggregation.


Stuck on RUN Other Agent or Ddevelop your own Agent

⚠INSTRUCTIONS:

Enter ONE "x" inside the brackets [x] to choose the answer
[x] Example
[ ] Example2

Have you already searched for your ISSUE among the resolved ones?

[x] Yes, new issue
[ ] Yes, but the solution not work for me
[ ] No

What version of Python do you have?

[ ] Last, Python > 3.11
[x] Python >= 3.8
[ ] PIs you have Python<3.8 pease install last version of python

What version of operating system do you have?

[x] Windows
[ ] Linux/Ububtu
[ ] Mac/OSX

What type of installation did you perform?

[ ] pip3 install -r requirements.txt
[ ] python3 -m pip install -r requirements.txt
[ ] Anaconda
[ ] Container on VS
[x] Google Colab

Desktop (please complete the following information):

Browser [e.g. chrome] : Chrome
Version [e.g. 112] : Version 111.0.5563.147 (Official Build) (32-bit)

Describe the bug
A clear and concise description of what the bug is.
It's stuck on RUN Other Agent or Ddevelop your own Agent. I typed various answers for (Enter your task or question) including 'your task or question', but no luck. It says "You have to be logged in." and I have no clue where I should log in. If it means Hugging Face, I did it.
Here is the error message:
> Entering new AgentExecutor chain...
Traceback (most recent call last):
  File "/content/Free-AUTO-GPT-with-NO-API/OtherAgent/csvAgent.py", line 83, in <module>
    agent.run(prompt)
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 236, in run
    return self(args[0], callbacks=callbacks)[self.output_keys[0]]
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 140, in __call__
    raise e
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 134, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/usr/local/lib/python3.10/dist-packages/langchain/agents/agent.py", line 922, in _call
    next_step_output = self._take_next_step(
  File "/usr/local/lib/python3.10/dist-packages/langchain/agents/agent.py", line 766, in _take_next_step
    raise e
  File "/usr/local/lib/python3.10/dist-packages/langchain/agents/agent.py", line 759, in _take_next_step
    output = self.agent.plan(
  File "/usr/local/lib/python3.10/dist-packages/langchain/agents/agent.py", line 442, in plan
    full_output = self.llm_chain.predict(callbacks=callbacks, **full_inputs)
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/llm.py", line 213, in predict
    return self(kwargs, callbacks=callbacks)[self.output_key]
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 140, in __call__
    raise e
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/base.py", line 134, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/llm.py", line 69, in _call
    response = self.generate([inputs], run_manager=run_manager)
  File "/usr/local/lib/python3.10/dist-packages/langchain/chains/llm.py", line 79, in generate
    return self.llm.generate_prompt(
  File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 134, in generate_prompt
    return self.generate(prompt_strings, stop=stop, callbacks=callbacks)
  File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 191, in generate
    raise e
  File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 185, in generate
    self._generate(prompts, stop=stop, run_manager=run_manager)
  File "/usr/local/lib/python3.10/dist-packages/langchain/llms/base.py", line 407, in _generate
    else self._call(prompt, stop=stop)
  File "/content/Free-AUTO-GPT-with-NO-API/OtherAgent/FreeLLM/HuggingChatAPI.py", line 33, in _call
    self.chatbot = hugchat.ChatBot()
  File "/usr/local/lib/python3.10/dist-packages/hugchat/hugchat.py", line 13, in __init__
    self.current_conversation = self.new_conversation()
  File "/usr/local/lib/python3.10/dist-packages/hugchat/hugchat.py", line 73, in new_conversation
    self.accept_ethics_modal()
  File "/usr/local/lib/python3.10/dist-packages/hugchat/hugchat.py", line 64, in accept_ethics_modal
    raise Exception(f"Failed to accept ethics modal with status code {response.status_code}. {response.content.decode()}")
Exception: Failed to accept ethics modal with status code 401. You have to be logged in.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

I get the same problem. Anybody got any idea how to fix it?

fixed.
Update hugchat to the latest version 0.0.6
pip install hugchat --upgrade

https://github.com/Soulter/hugging-chat-api/pull/20

fixed.
Update hugchat to the latest version 0.0.6
pip install hugchat --upgrade

And follow the instructions to get the cookies:

Soulter/hugging-chat-api#20
I'm using Google Colab. By the way, I just launched it again, and it showed me a different error.

Exception: Authentication is required now, but no cookies provided

Screenshot:

we need to update notebook after HuggingChat update.

Oh, I see. I'll be looking forward to it. Thx!

we have fixed it, pls follow the simple guide to get yours cookies for huggingchat

Great! But, where is the simple guide? I can't find it. BTW, I copied the colab again and the new error occurs this time. According to the error message, it requires json file for hugging chat as you said.

pls read the readme , all information to use our free software are included on readme

Oh, am I blind? Thanks.
Btw, I copied the cookie and copied it to clipboard, and found the cookiesHuggingChat.json file, but have no idea how to paste it. I'm sorry, but I'm a total beginner in this field.

yes perfetct like this, but remove the template text .
Remove copy yours .... and leave only the copied cookies.

Hi, sorry for the late response. I was busy yesterday.
Btw, I tried it correctly this time, but have the same error:


[feature] Support ipv6 address.

Is your feature request related to a problem? Please describe.
<IP_ADDRESS> in ipv6 is ::1, Xenon May use :: 1 to connect mysql instead of <IP_ADDRESS>, so we also need to provide the default account of ::1.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

It Maybe donot set localhost in /etc/hosts

https://stackoverflow.com/questions/30139358/changing-etc-hosts-with-sed-command


Asp minimalAPI with node IPC

Hello , I was trying to build polyglot-backend as replacement of the Obsolete  InodeService for web API .
but it seems slightly hard because asp API changed a lot since .net 5 ( specially the scaffold / DI part) .
is it possible - intended to expose node modules for asp endpoints ?
for example I want to import -invoke QR code from minimal api - mvc  endpoints .
also where I can get prebuilt nodelib.dll so I can use it with unity engine directly - similar use cases but also equivalent for Tencent PureTS?
and does this help me export c# library to use in js ?! i.e using Semantic kernel in Fuseopen or Capacitor .js runtimes ?

is it possible - intended to expose node modules for asp endpoints ?
for example I want to import -invoke QR code from minimal api - mvc endpoints.

Yes it's possible. You can use this project to load and call node modules from .NET code. The winui-fluid example project does that. While that is a desktop application, you could do the same from a .NET web service project.

also where I can get prebuilt nodelib.dll so I can use it with unity engine directly

libnode binaries are not published yet but you can build your own. See https://github.com/microsoft/node-api-dotnet/issues/107#issuecomment-2057928923

and does this help me export c# library to use in js ?! i.e using Semantic kernel

Yes. See the semantic-kernel example project.

Some new documentation is published at https://microsoft.github.io/node-api-dotnet/scenarios/dotnet-js.html
I'm closing this since I think the questions are answered now. Feel free to re-open this one, or open a new issue, if you have more questions.


error: missing required argument 'cmd'

The taiko require statement is generating this error.

error: missing required argument 'cmd'

The taiko REPL works fine.
Steps to reproduce
Install taiko.
➜  sermon_publish_web git:(master) ✗ npm i -D taiko

><EMAIL_ADDRESS>install /Users/david/dev/sermon_publish/sermon_publish_web/node_modules/taiko
> node lib/install.js

(node:26629) ExperimentalWarning: The fs.promises API is experimental
Downloading Chromium r776424 - 125.5 Mb [====================] 100% 0.0s

><EMAIL_ADDRESS>postinstall /Users/david/dev/sermon_publish/sermon_publish_web/node_modules/taiko
> node lib/documentation.js

Generating documentation to lib/api.json
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

+<EMAIL_ADDRESS>added 29 packages from 12 contributors, removed 28 packages, moved 2 packages and audited 577 packages in 239.271s
found 7 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
➜  sermon_publish_web git:(master) ✗

Run the test.
➜  sermon_publish_web git:(master) ✗ node test/taiko.js
error: missing required argument 'cmd'
➜  sermon_publish_web git:(master) ✗

Here is test/taiko.js. Note, it is the require statement that is generating the error.
const { openBrowser, goto, click, goBack, closeBrowser } = require('taiko')

// const main = async () => {
//   try {
//     await openBrowser()
//     await goto('https://sermon-publish.herokuapp.com/')
//     await click('Open')
//     await click('Open')
//     await click('Play')
//     await click('Pause')
//     await goBack()
//     await click('Email Pastor')
//   } catch (error) {
//     console.error(error)
//   } finally {
//     await closeBrowser()
//   }
// }

// main()

Versions
<EMAIL_ADDRESS>node v10.15.3
macOS 10.15.5

@davidjohnmaccallum I could not replicate the issue at my end. The script runs just finefor the given Taiko version.
I trid with node version v14 and v10.22.0

Thanks @BugDiver
It was my script file name. I renamed it from test/taiko.js to test/test.js and it works.


Add metadata

In pages/index.vue one should load metadata.json and add a function that retrieves that information  in https://github.com/colab-db/colab-db.github.io/blob/main/pages/index.vue#L54 based on b._path

@kjappelbaum lmk if you want to work on this

Yes, I can give it a shot, but will only get to it next week I think

Almost completed  this now. Will need to add comments (likely will do tomorrow)


refactor(traverse): reorder imports

#7264  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Trivial change so merging without review.

Merge activity

Nov 13, 5:58 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


how to change font of toast?

Is there any way to change the font of toast? i changed the whole app font trough pubspec.yaml but not work in toast

flutter/flutter#25690

I would also like to change the font, maybe even be able to pass a custom Text widget?

what's the reason this is closed?

fyi i patched your plugin for myself, feel free to use it https://github.com/nt4f04uNd/FlutterToast/commits/patch

@nt4f04uNd Can you do a PR

it's android-only but it should be similarly pretty straght-forward to implement this on other platforms. i do not have much time right now to add it to other platforms


add timeout for Hook

Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

LGTM

LGTM

@vbatts you have to do it again because of the push

Hmm, should timeout be unsigned?  I can't think of a use-case for
negative timeouts that isn't already covered by the field being
optional/nullable.

@wking integer is fine for now.

LGTM


Use different widgets for 'i' and 'a'

The current implementation of zvm_enter_insert_mode breaks if you don't use 'i' and 'a' to trigger it (which is a problem for me, as I use a non-standard keyboard). This PR replaces zvm_enter_insert_mode with zvm_enter_insert_mode_before and zvm_enter_insert_mode_after, for 'i' and 'a' respectively.
I'm aware that this will break functionality for anyone who has remapped or explicitly mapped zvm_enter_insert_mode, if you'd like we can leave the original implementation in, with a warning to change the remaps to the new functions.

For now, we can settle this issue in below snippet:
# The plugin will auto execute this zvm_after_lazy_keybindings function
function zvm_after_init() {
  zvm_bindkey vicmd ';' zvm_enter_insert_mode i
  zvm_bindkey vicmd ':' zvm_enter_insert_mode a
}

Oh, i just saw that you fixed it on the latest commit in master, nevermind!


(GH-436) Remove hacks for accessing chocolatey internals.

Fixes #436.

Gotta love deleting code :)


Give a non-null logger interface to tracker_driver->Init

This fixes the null reference crashes

Thanks, @toxicFork!


add flushes to extension

we should flush between events like other extensions do. this should be configurable

done in https://github.com/pyroscope-io/pyroscope-lambda-extension/pull/18


docs: add asciicast

Signed-off-by: Lorenzo Fontana<EMAIL_ADDRESS>What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind documentation
Any specific area of the project related to this PR?
/area docs
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fntlnz: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

I don't like how it looks. I'll close this
/close

@fntlnz: Closed this PR.

In response to this:

I don't like how it looks. I'll close this
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


App doesn't run if the machine doesn't have Microsoft Visual Studio installed

You can reproduce this error by trying to execute the app inside the Windows Sandbox.
Please, see also: https://stackoverflow.com/a/67836157/11793117

Ok, I'll look at it

I fixed the issus, now you can download the openscribe_setup.exe and it will run.
NOTE: Only the openscribe_setup.exe, can run on computers without the build tools installed.
Thanks for adding the issue


gen-push-lists: ensure new families and updated families take precedence over metadata updates

This is already implemented.


PERF: Use smaller (16x16) images in KullbackLeibler metric test

The KullbackLeiblerCompareHistogramImageToImageMetric test appeared to be the most time consuming test of ITK's test framework, taking more than 9 seconds on Windows, on GitHub Actions. Originally it had test images of 100 x 100 pixels, with commit de0f47aee76c3ee69504c5663ba284e32ba03e44 "Tests for the CompareHistogramImageToImageMetric class and the KullbackLieblerCompareHistogramImageToImageMetric class", Luis Ibanez (@luisibanez), 29 Dec 2003. However, the same code coverage may be achieved with images of 16 x 16.

Current top 25 of most time consuming tests (on GitHub Actions running Windows): https://github.com/InsightSoftwareConsortium/ITK/pull/3702#issuecomment-1295786873

🎉  Update: With this pull request, the duration of the KullbackLeibler metric test is going from 9.24 sec down to 0.33 sec!
Looking at https://dev.azure.com/itkrobotwindow/ITK.Windows/_build/results?buildId=9098&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=77aad734-2057-5694-9ae2-ee1f5f26eae8&l=273313
Which says:

2022-10-29T12:07:18.0796180Z 2487/2923 Test 2483: itkKullbackLeiblerCompareHistogramImageToImageMetricTest ...............................................   Passed    0.33 sec


Bump freebsd-vm action to v1.0.2 & use ubuntu

Based on https://github.com/uutils/coreutils/pull/5511
Updated workspace path to match linux workers.
Tested on my fork: https://github.com/piotrkwiecinski/coreutils/actions/runs/7049864926/job/19189301324?pr=3

excellent, many thanks
Could you please update the failing tests and marked them as skipped/ignored ? thanks

Thanks a lot for fixing it, I was really stuck with it :)


Performance Improvements

Hey,
I am curious about a performance improvement in my app.
I use Backbone as my Stores and React as my View in my Flux Flow.
So i instantiate the whole Component with many different Stores.
var MainComponent = React.createClass({
	mixins: [
		React.BackboneMixin("folderStore"),
		React.BackboneMixin("itemStore")
	],
	render: function() {
		return (

				<SubItemComponent
				  folderStore = { this.props.folderStore }
				  itemStore   = { this.props.itemStore } />
				<SecondSubItemComponent
				  folderStore = { this.props.folderStore }
				  itemStore   = { this.props.itemStore } />

		);
	}
});

var SubItemComponent = React.createClass({
	mixins: [
		React.BackboneMixin("folderStore"),
		React.BackboneMixin("itemStore")
	],
	render: function() {
		return (

				{  this.props.itemStore.get('name') }

		);
	}
});

...

In every Component i use the Model/Collection's .get() Method to read the corresponding Field of the Store.
Since I am writing/changing the Model or Collection only from within the Dispatcher...
... therefore only reading the Backbone Model or Collection from within the View...
... wouldn't it be more performant to pass the whole Collection or Model as an Object from the Top-most Parent to all it's Children?
So i don't have to programmaticly call Model/Collection .get() multiple times within the View.
var MainComponent = React.createClass({
	mixins: [
		React.BackboneMixin("folderStore"),
		React.BackboneMixin("itemStore")
	],
	render: function() {
		var folderStore = this.props.folderStore.toJSON(),
			itemStore   = this.props.itemStore.toJSON();

		return (

				<SubItemComponent
				  folderStore = { folderStore }
				  itemStore   = { itemStore } />
				<SecondSubItemComponent
				  folderStore = { folderStore }
				  itemStore   = { itemStore } />

		);
	}
});

var SubItemComponent = React.createClass({
	render: function() {
		return (

				{  this.props.itemStore.name }

		);
	}
});

...

Or is the performance difference not that big of a deal??

I don’t think there’s that much of a performance issue with using Backbone’s get vs. just accessing a plain object. get is most likely pretty straightforward. But technically, I guess it is slightly faster (micro-nano-invisible-seconds wise) to access to object directly if you’re into that kind of performance improvement.
Looking at your example, MainComponent shouldn’t need the mixins array. I’m not 100% sure about what React do on a situation like that, but on a change to itemStore it renders MainComponent (which renders SubItemComponent & SecondSubItemComponent) and then each sub components also get rendered from their mixins. If you were to log every renders, I think that on a change it’d render MainComponent once and both sub components twice.
It really depends on what MainComponent job is, if all of its children listen to the same models change, then example 2 works fine. If you were to have other components inside your main that doesn’t need to render on itemStore or folderStore changes, then I’d definitely go with example 1 (without mixins).

That are very good points.
When I got a Component Chain MainComponent > SubComponent >AnotherSubComponent where SubComponent does not need to know anything about an update in `itemStore, but alle other Components needs to... it would trigger an Update in example 2, whereas in example 1 i can define which Component exactly needs to be updated.
Thank up for your thoughts!

and yes, you are correct. Backbone's get() Method is pretty straightforward...
get: function(attr) {
	return this.attributes[attr];
}

I would say it''s better, but not for performance reasons. I think that way yourcomponents will work more react and less backbone that way. As a side effect it might be more performance if a change updates both a parent and it's child component (by avoiding some updates)


Soundbar Q700A input state "wifi" missing

Hi,
I can confirm Q700A is working quite well.
The only one thing missing is "wifi" state when listening to Spotify (it is empty).
When watching TV I have state "digital" in HA - only wifi is missing.
Just to clarify - if I want to change the state on the list I have all 4 off them. And I can even choose wifi. But when I start Spotify the state changes to empty.
If I will choose wifi from HA while Spotify is playing it will pause the music.
On the web page https://my.smartthings.com/advanced/devices/...... It is showing correctly when Spotify is playing:
main | mediaInputSource | inputSource | wifi |
main | mediaInputSource | supportedInputSources | ["digital","HDMI1","bluetooth","wifi"]
The empty status is under:
samsungvd.audioInputSource
I checked the API
https://api.smartthings.com/v1/devices/xxxxxxxxxxxxxxxxxxx/states
And when playing Spotify the attribute is changing:
"inputSource": {
"value": ""
However this is available:
"detailName": {
"value": "Spotify"
}
I added this to the code:
    self._detail = ""

@property
def detail(self):
return self._detail
And in API:
detail_name = data['main']['detailName']['value']
self._detail = detail_name
But the new property is not showing on the list.
Can you provide information how to add it?
If you need testing or more info please feel free to contact me.
BR

Confirmed with AirPlay on a Q700A as well - once a device is connected via AirPlay, the state changes to:
{
  "main": {
    [...]
    "detailName": { "value": "AirPlay" },
    [...]
    "inputSource": { "value": "" },
    [...]
  }
}

and to
{
  "main": {
    [...]
    "detailName": { "value": "" },
    [...]
    "inputSource": { "value": "" },
    [...]
  }
}

on disconnection. Interestingly enough,wifi is actually set when it is initially selected e.g. via the remote.
This also causes the playback state to not work correctly (as this checks for CONTROLLABLE_SOURCES). This should probaly something along the lines of:
CONTROLLABLE_SOURCE_DETAILS = ["Spotify", "AirPlay"]

device_source_details = data['main']['detailName']['value']

if device_source in CONTROLLABLE_SOURCES or device_source_details in CONTROLLABLE_SOURCE_DETAILS

I'll see that I come up with a PR, but given the approaching holidays this may take a while.


How to prepare the data, and Run the code.

No description provided.

Sorry for the late reply. We uploaded the processed files and detailed instructions in README.md.
Again, sorry for the late. Feel free to comment on any issues!


Associated Windows store app does not appear in Microsoft Application Registration Portal

What App Center service does this affect?
Set up Windows Notification Services
Describe the bug
After associating my App with Windows Store, from Visual Studio, the app I want to push for notification services, does not appear.
To Reproduce
Steps to reproduce the behavior:

In Visual Studio Solution Explorer, right-click the UWP project, then select Store -> Associate App with the Store...
In the wizard, click Next, sign in with your Windows developer account, type a name for your app in Reserve a new app name, then click Reserve.
After completing the app registration, select the new app name, click Next, and then click Associate. This adds the required Windows Store registration information to the application manifest.
Navigate to the Microsoft Application Registration Portal, sign-in with your Microsoft account
Windows Store app you associated in the previous step not visible

Expected behavior
Windows Store app you associated in the previous step should be visible to make a note of the value under Application Secrets and the Package SID, which you will use to configure your App Center Push backend.
Desktop (please complete the following information):

OS: Windows
Browser : Chrome

@rjax871 I apologize, but I don't see how this issue relates to Visual Studio App Center - can you clarify for me? All I see is that you're using Visual Studio and WNS - neither of which have anything to do with App Center.

@rjax871 my apologies for misunderstanding this. Another user notified me that the docs needed updated for UWP app registration were incorrect and as I worked through it, I noticed a related issue, but not this one. When I follow the instructions, my app appears in the list - so it feels like this is an issue with your account or your browser.
what I did notice is that when you then follow the instructions on the page to use the 'new' experience, your app doesn't appear in the Azure Portal. I've asked our team to take a look at this issue.

Hey, @rjax871, this is a friendly ping to get an update on how you are doing - are you still facing the problem? Is there anything we can do for you?


"Unable to retrieve campaign id" and chrome browser issues

Please keep the reports and discussions of all "Unable to retrieve campaign id" errors here, thank you.
If you are encountering this issue, please try running this test build and report if it fixed the issue for you:
https://mega.nz/file/211WVIoL#CSkmHdALPMVluaxUW4oHlaPLG8l_Kakj-83MGI5Srdo
Make sure to extract it to separate folder and make sure you are not running any kind of VPN or other software/hardware which can alter the way requests are sent from your computer

Still getting the same error:

2022-04-25 22:06:37.8697 INFO Retrieving cookies...
2022-04-25 22:07:03.7015 INFO Preparing to download...
2022-04-25 22:07:42.6162 FATAL Fatal error, application will be closed: UniversalDownloaderPlatform.Common.Exceptions.UniversalDownloaderException: Unable to retrieve campaign id: Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
---> System.ComponentModel.Win32Exception (299): Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
at System.Diagnostics.NtProcessManager.EnumProcessModulesUntilSuccess(SafeProcessHandle processHandle, IntPtr[] modules, Int32 size, Int32& needed)
at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId)
at System.Diagnostics.Process.get_MainModule()
at PatreonDownloader.PuppeteerEngine.PuppeteerEngine.<>c.b__10_0(Process x) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 75
at System.Linq.Enumerable.WhereArrayIterator`1.ToArray()
at PatreonDownloader.PuppeteerEngine.PuppeteerEngine.KillChromeIfRunning() in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 74
at PatreonDownloader.PuppeteerEngine.PuppeteerEngine.Initialize(Uri remoteBrowserAddress, Boolean headless) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 63
at PatreonDownloader.PuppeteerEngine.PuppeteerEngine..ctor(Boolean headless) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 48
at PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver..ctor() in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerCaptchaSolver.cs:line 24
at PatreonDownloader.Implementation.PatreonWebDownloader.SolveCaptchaAndUpdateCookies(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 82
at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 63
at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 66
at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 66
at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 66
at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 66
at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.GetCampaignId(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 36
--- End of inner exception stack trace ---
at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.GetCampaignId(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 49
at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.RetrieveCrawlTargetInfo(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 24
at UniversalDownloaderPlatform.Engine.UniversalDownloader.Download(String url, String downloadDirectory, IUniversalDownloaderPlatformSettings settings) in F:\Sources\BigProjects\PatreonDownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.Engine\UniversalDownloader.cs:line 176
at PatreonDownloader.App.Program.RunPatreonDownloader(CommandLineOptions commandLineOptions) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 143
at PatreonDownloader.App.Program.Main(String[] args) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 69

I just used the tool successfully from the dev code with some edits from me, but the code isn't nice, so I'll just share my findings.
In the DownloadStringInternal-method of the WebDownloader, when it tries to download the initial given url (in my case https://www.patreon.com/#creator_name#/posts), I was getting a forbidden status code with content: javascript needs to be enabled and/or adblocker to be disabled. So I hardcoded it to use puppeteer instead of the HttpClient in the DownloadStringInternal-method and then everything worked.

Hm... not the best solution, but might be the most efficient one. Thanks, this gives me some food for thought.

Another thought I've had - try installing Cloudflare WARP. Make sure "<IP_ADDRESS> with WARP" mode is enabled.

Hello! I just want to report that initially trying to run this tool on my own patreon (for the purposes of archiving and then closing the page) I also got the same error Unable to retrieve campaign id
I tried Cloudflare WARP and turned on the <IP_ADDRESS> with Warp Setting and ran it again and it worked without needing the test build. So just reporting I did not download the test build whatsoever yet, WARP was enough. Not only did I get all my images since I started my Patreon in 2016 but all zip files and attachments as well.
I noticed that any images uploaded in the "gallery" format were not retrieved in full size, but the id will make it easy for me to go back and find them to retrieve them myself :)
I'm not sure if this is a side effect of me scraping my own Patreon, but every image that wasnt added as an attachment was downloaded twice, one with post and one with media. I doublechecked the checksums of a a couple of the same pictures and they seemed the same. Unsure if this has happened to anyone downloading a Patreon that wasnt their own.
Thank you so much! Hope this is useful for you.

I just wanted to drop my 2 cents here as I'm also getting the above error (and probably was last time I tried this).  I tried warp speed and the dev build and it doesn't really help.  If anything I just get stuck in a loop.

I've been experiencing a different browser issue. The captcha window doesn't pop up so it gets stuck in a loop when the captcha is triggered and no captcha is returned. I saw the issue being brought up somewhere else. Tried running on another windows machine (fresh windows 11), same issue. Tried two different ISPs. Also tested two VPNs. I'll try linux tomorrow and whatever I can think of. Weird behavior started around the 26th overnight. Maybe my patreon account is acting weird, but I do get the captchas while regularly browsing. Really odd. The browser window does initiate for logins just not the captcha anymore.
I also tried the two latest test and debug builds and it gave me "Please enable JS and disable any ad blocker" in the debug folder. I used to see that message sometimes when the browser window pops up then it loads the captcha after five or ten seconds. It was working on the 25th.

Mine didn't work even with the Cloudflare WARP method.

Running the linked test build from Mega with this command PatreonDownloader.App.exe --download-directory "E:\patreon\hushabyevalley" --verbose --use-sub-directories --url "https://www.patreon.com/hushabyevalley/posts"
After the initial sign on, PatreonDownloader appears to recognize that there is a captcha, but never opens a browser to allow the captcha to be entered, loops a few times, and then crashes. I've posted the log below
2022-05-28 08:55:56.2522 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing UniversalDownloader...
2022-05-28 08:55:56.2810 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing ninject kernel
2022-05-28 08:55:56.4353 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Loading custom ninject module
2022-05-28 08:55:56.4353 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Loading ICrawlTargetInfoRetriever
2022-05-28 08:55:56.4879 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Configuring IPageCrawler
2022-05-28 08:55:57.0037 DEBUG [UniversalDownloaderPlatform.Engine.PluginManager] New plugin found: UniversalDownloaderPlatform.GoogleDriveDownloader.dll
2022-05-28 08:55:57.0037 FATAL [UniversalDownloaderPlatform.GoogleDriveDownloader.Plugin] !!!![GOOGLE DRIVE]: gd_credentials.json not found, google drive files will not be downloaded! Refer to documentation for additional information. !!!!
2022-05-28 08:55:57.0037 INFO [UniversalDownloaderPlatform.Engine.PluginManager] Loaded plugin: Google Drive Downloader
2022-05-28 08:55:57.0514 DEBUG [UniversalDownloaderPlatform.Engine.PluginManager] New plugin found: UniversalDownloaderPlatform.MegaDownloader.dll
2022-05-28 08:55:57.0514 WARN [UniversalDownloaderPlatform.MegaDownloader.Plugin] !!!![MEGA]: mega_credentials.json not found, mega downloading will be limited! Refer to documentation for additional information. !!!!
2022-05-28 08:55:58.6916 INFO [UniversalDownloaderPlatform.Engine.PluginManager] Loaded plugin: Mega.nz Downloader
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing plugin manager
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing download manager
2022-05-28 08:55:58.6916 DEBUG [PatreonDownloader.Implementation.PatreonCrawledUrlProcessor] KemonoCrawledUrlProcessor initialized
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing crawl results exporter
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Crawl results exporter not provided
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing url checker
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing web downloader
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing cookie validator
2022-05-28 08:55:58.6916 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Initializing crawled url processor
2022-05-28 08:55:58.7399 INFO [PatreonDownloader.App.Program] Retrieving cookies...
2022-05-28 08:55:58.7399 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Initializing PuppeteerEngine with parameters , True
2022-05-28 08:55:58.7643 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Found 33 chrome processes (not sure which one yet)
2022-05-28 08:55:58.8467 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Calling login check
2022-05-28 08:55:58.8467 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Retrieving browser
2022-05-28 08:55:58.9114 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Downloading browser
2022-05-28 08:56:44.0542 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Launching browser
2022-05-28 08:56:50.0115 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Opening new page
2022-05-28 08:56:50.2772 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Creating IWebBrowser
2022-05-28 08:56:50.3511 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Checking login status
2022-05-28 08:56:50.8238 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] We are NOT logged in, opening login page
2022-05-28 08:56:50.8238 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Puppeteer is in headless mode, restarting in full mode
2022-05-28 08:56:52.1888 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Initializing PuppeteerEngine with parameters , False
2022-05-28 08:56:52.1888 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Found 34 chrome processes (not sure which one yet)
2022-05-28 08:56:52.2474 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Downloading browser
2022-05-28 08:56:52.2474 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Launching browser
2022-05-28 08:56:52.6783 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Opening new page
2022-05-28 08:56:52.9102 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Creating IWebBrowser
2022-05-28 08:58:08.9731 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Checking login status
2022-05-28 08:58:09.3496 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] We are logged in
2022-05-28 08:58:11.5963 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Initializing PuppeteerEngine with parameters , True
2022-05-28 08:58:11.5963 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Found 33 chrome processes (not sure which one yet)
2022-05-28 08:58:11.6257 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Downloading browser
2022-05-28 08:58:11.6257 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Launching browser
2022-05-28 08:58:11.7764 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Opening new page
2022-05-28 08:58:11.8705 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Creating IWebBrowser
2022-05-28 08:58:11.9446 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Retrieving browser
2022-05-28 08:58:11.9446 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Retrieving cookies
2022-05-28 08:58:14.4043 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _dd_s
2022-05-28 08:58:14.4043 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: datadome
2022-05-28 08:58:14.4043 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: session_id
2022-05-28 08:58:14.4043 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: patreon_locale_code
2022-05-28 08:58:14.4043 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _sctr
2022-05-28 08:58:14.4043 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: amplitude_idpatreon.com
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _ttp
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _fbp
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _gat
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _scid
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: patreon_location_country_code
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _rdt_uuid
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _gcl_au
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _tt_enable_cookie
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _ga
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _ALGOLIA
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: G_ENABLED_IDPS
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: _gid
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: __cf_bm
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: __ssid
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCookieRetriever] Adding cookie: patreon_device_id
2022-05-28 08:58:14.4064 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Disposing puppeteer engine
2022-05-28 08:58:15.4373 DEBUG [UniversalDownloaderPlatform.Engine.UniversalDownloader] Universal Downloader Platform settings: SaveDescriptions=False,SaveEmbeds=False,SaveJson=False,SaveAvatarAndCover=False,DownloadDirectory=E:\patreon\hushabyevalley,OverwriteFiles=False,UseSubDirectories=True,MaxFilenameLength=100
2022-05-28 08:58:15.4387 INFO [PatreonDownloader.App.Program] Preparing to download...
2022-05-28 08:58:15.9602 WARN [DynamicInjector70f1a5adfd404e48ae7968c00d9af8f2] Captcha has been triggered, the browser window will be opened now. Please solve the captcha there.
2022-05-28 08:58:15.9602 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Initializing PuppeteerEngine with parameters , True
2022-05-28 08:58:15.9602 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Found 33 chrome processes (not sure which one yet)
2022-05-28 08:58:15.9804 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Calling captcha check
2022-05-28 08:58:15.9804 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Retrieving browser
2022-05-28 08:58:15.9848 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Downloading browser
2022-05-28 08:58:15.9848 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Launching browser
2022-05-28 08:58:16.1552 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Opening new page
2022-05-28 08:58:16.2531 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Creating IWebBrowser
2022-05-28 08:58:16.3182 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Checking if captcha is returned
2022-05-28 08:58:21.0280 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Captcha was not returned, done
2022-05-28 08:58:21.0321 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Retrieving browser
2022-05-28 08:58:21.0321 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Retrieving cookies
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _dd_s
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: datadome
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: session_id
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: patreon_locale_code
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _sctr
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: amplitude_idpatreon.com
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _ttp
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _fbp
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _gat
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _scid
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: patreon_location_country_code
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _rdt_uuid
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _gcl_au
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _tt_enable_cookie
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _ga
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _ALGOLIA
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: G_ENABLED_IDPS
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: _gid
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: __cf_bm
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: __ssid
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver] Adding cookie: patreon_device_id
2022-05-28 08:58:23.2345 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Disposing puppeteer engine
2022-05-28 08:58:23.2968 WARN [DynamicInjector70f1a5adfd404e48ae7968c00d9af8f2] Captcha has been triggered, the browser window will be opened now. Please solve the captcha there.
2022-05-28 08:58:23.2968 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Initializing PuppeteerEngine with parameters , True
2022-05-28 08:58:23.3010 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Found 36 chrome processes (not sure which one yet)
2022-05-28 08:58:23.3171 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] 3 chrome processes are in patreondownloader's folder
2022-05-28 08:58:23.3171 WARN [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Running PatreonDownloader's Chrome detected.  Please solve the captcha there.
2022-05-28 08:58:29.8887 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Initializing PuppeteerEngine with parameters , True
2022-05-28 08:58:29.8921 DEBUG [PatreonDownloader.PuppeteerEngine.PuppeteerEngine] Found 36 chrome processes (not sure which one yet)
2022-05-28 08:58:30.1648 FATAL [PatreonDownloader.App.Program] Fatal error, application will be closed: UniversalDownloaderPlatform.Common.Exceptions.UniversalDownloaderException: Unable to retrieve campaign id: Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
 ---> System.ComponentModel.Win32Exception (299): Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
   at System.Diagnostics.NtProcessManager.EnumProcessModulesUntilSuccess(SafeProcessHandle processHandle, IntPtr[] modules, Int32 size, Int32& needed)
   at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly)
   at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId)
   at PatreonDownloader.PuppeteerEngine.PuppeteerEngine.<>c.<KillChromeIfRunning>b__10_0(Process x) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 75
   at System.Linq.Enumerable.WhereArrayIterator`1.ToArray()
   at PatreonDownloader.PuppeteerEngine.PuppeteerEngine.KillChromeIfRunning() in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 74
   at PatreonDownloader.PuppeteerEngine.PuppeteerEngine.Initialize(Uri remoteBrowserAddress, Boolean headless) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 63
   at PatreonDownloader.PuppeteerEngine.PuppeteerEngine..ctor(Boolean headless) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerEngine.cs:line 48
   at PatreonDownloader.PuppeteerEngine.PuppeteerCaptchaSolver..ctor() in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.PuppeteerEngine\PuppeteerCaptchaSolver.cs:line 24
   at PatreonDownloader.Implementation.PatreonWebDownloader.SolveCaptchaAndUpdateCookies(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 82
   at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 63
   at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 66
   at PatreonDownloader.Implementation.PatreonWebDownloader.DownloadString(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonWebDownloader.cs:line 66
   at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.GetCampaignId(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 36
   --- End of inner exception stack trace ---
   at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.GetCampaignId(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 49
   at PatreonDownloader.Implementation.PatreonCrawlTargetInfoRetriever.RetrieveCrawlTargetInfo(String url) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.Implementation\PatreonCrawlTargetInfoRetriever.cs:line 24
   at UniversalDownloaderPlatform.Engine.UniversalDownloader.Download(String url, String downloadDirectory, IUniversalDownloaderPlatformSettings settings) in F:\Sources\BigProjects\PatreonDownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.Engine\UniversalDownloader.cs:line 176
   at PatreonDownloader.App.Program.RunPatreonDownloader(CommandLineOptions commandLineOptions) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 143
   at PatreonDownloader.App.Program.Main(String[] args) in F:\Sources\BigProjects\PatreonDownloader\PatreonDownloader.App\Program.cs:line 69

@ArkahnX That's the same captcha loop I'm seeing, but I don't get the memory error and crash. Mine captcha loops forever.
Though within the last hour or so, the captcha window does pop up if I just leave it looping for a while. Sadly solving the captcha doesn't start the crawling. It keeps looping.

I'm having the same issue, enabling the --debug option shows that a captcha should be solved but the window to solve it never opens. Using Cloudflare WARP does not seem to fix the issue, nor using the test build.

Personally the old version here still works for me, but hopefully the new version can be fixed as well since the old version won't last forever.
There's also an alternative Patreon downloader here on Github if you do some cursory searching.

@Liz-chan Yeah, for the time being I'm using <IP_ADDRESS> after reading your comment.

Same here, didn't have to use a VPN or CloudFlare for version <IP_ADDRESS>

So let me get it straight, you guys are not having any kind of issues on <IP_ADDRESS> including captcha triggering?

So far, yes. Captchas are not triggering for me, but I haven't used it extensively in the last day. Captchas used to come up very often when it was introduced, almost every time I loaded up a page. Now not as much. Maybe patreon eased up on the captchas.

The only thing I encountered was the puzzle piece captcha that I only had to solve once.
After that, it works like a charm.

Only just started using this tool
<IP_ADDRESS> works fine.
<IP_ADDRESS> doesn't work (Unable to retrieve campaign id).
test release doesn't work (same error).

Really interesting... I guess I'll have to figure out what has changed in the application behavior between 0.9 and 0.10.

Weird because I was using the latest version 2 weeks ago and worked fine.
Now it doesn't anymore, neither does the test version. Same creators.
That old version works perfectly fine tho.

Please try version <IP_ADDRESS>. I have improved browser mimicking in that version. Please note, this will probably not solve "ReadProcessMemory or WriteProcessMemory" thing, I have yet to figure out why it happens and how to reproduce it.

The new release works great, thanks Aleksey!

<IP_ADDRESS> works for me. Thank you!

Same here, much appreciated!


postgresql connector documentation: add a missing word

Replaced with https://github.com/debezium/debezium/pull/4020


Turorial - Bad collab notbook formatting

It appears the collab file somehow got corrupted in Quantitative trading in China A stock market with FinRL

pls use the python version, which seems better.

The link was fixed.

@kabua  could you pls paste the raised errors?

https://github.com/AI4Finance-Foundation/FinRL/blob/master/tutorials/2-Advance/FinRL_Ensemble_StockTrading_ICAIF_2020.ipynb

I'm also having a problem authenticating with GitHub so that Colab can accessGitHubb. I've filled a bug with GitHub just now.

Another way is "download the file, Then upload it to Google colab".


Uncap delete worker concurrency for dramatic prune speed-ups [0.12.1]

Output of restic version
restic 0.12.1 compiled with go1.16.6 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
Enable users to configure delete parallelism, especially for 'prune' operations, where large numbers of items need to be deleted. Possibly by replacing the current hard-coded limit of 8 with with a configurable -o option.
There's been many improvements to concurrency in restic functions however delete parallelism appears to be capped at no more than 8 concurrent deletes. This bites hard for pruning with high network latency. My testing with B2 with ~180ms latency and maxed out settings (--max-unused unlimited -o b2.connections=8) shows that deletes are capped at ~10 deletes/second with ~180ms latency. In a large prune you're deleting close to 100,000 objects and that adds ~3 hours to the prune process.
If deletes could be configured higher that 8, e.g. to 32 or 64 workers, that 3 hours could be reduced to <30 minutes. However, users can't configure this right now. According to the community forum this is because of this hard-coded setting that caps delete workers at 8 with no configuration option to change that. So for B2 storage, even if you configure -o b2.connections=32 nothing changes, because the delete workers appear to still be capped at 8.
https://github.com/restic/restic/blob/bf9c8771a469f1ee0d4b6fab78791d36426371b2/cmd/restic/delete.go#L21
Forum discussion:
https://forum.restic.net/t/o-b2-connections-n-seems-to-have-no-impact/1260/28?u=whereisaaron
What are you trying to do? What problem would this solve?
Enable restic to efficiently prune repositories in high latency networks/filesystems. And general speed up restic operations for high latency networks/filesystems.
Did restic help you today? Did it make you happy in any way?
It's amazing how fast the restores are now, they've improved so much in the last year and work well even for high latency networks/filesystems 🎉

Please have a look at #3611 .

Related to https://github.com/restic/restic/issues/4478


Autocomplete get autofilled on blur and breakdown

[ x] The issue is present in the latest release.
[ x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When you click in the autocomplete dropdown then click outside, the input get autofilled and the component breakdowns

Expected Behavior 🤔
when you click outside, the input should be cleared

Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-qxn0d

Steps:

Click on the autocomplete
click outside => input box is filled
Click again on the autocomplete.

Sorry if I made any mistake, this is my first time submitting issue.
I have found the fix for it also, I will try to submit a PR for this if this is ok ?

Wait for<EMAIL_ADDRESS>The problem was fixed on master. I have no idea when 🤷♂.


Add deletion strategy

Description
Changes proposed in this pull request:

implement deletion strategy based on the implementation in the keda-manager repo
split .go file with all state functions into smaller pieces

Related issue(s)

https://github.com/kyma-project/serverless-manager/issues/39
Resolves https://github.com/kyma-project/serverless-manager/issues/36

/retest

When I tried deleting serverelss CR when there were still functions, I couldnt (which is expected). The Serverless CR was in Error state ( expected ) but we need to add more specific condition (this part probably dependant on #27 ) But when I deleted all functions, the serverless removal didnt get unstuck. The Serverless CR remained in ERROR state forever, no significant logs in the operator, all serverless workloads and operator remaining in Running state

The reconciliation loop is always triggered after some time if any other event would not trigger it manually. This time would be increased every iteration. It does mean that you probably deleted the serverless resource and then waited long enough to increase this delay to a high value. OR you just found a bug :D I tested it one more time and it's working the same as for the keda-manager.
Example:

if you install serverless, create functions, try to delete serverless CR, and in the next few seconds remove all functions then the manager will remove the serverless component in the next minutes.
if you install serverless, create functions, try to delete serverless CR, and remove functions after an hour, you will wait much longer to process the deletion state.

@kwiatekus of course we can change this backoff time to a constant value (for example 1min).


fix README backbone

Just a small update to correct a bad copy/paste in the README

Thanks @YohanP :+1:


Post menu delay animation speed and haptic feedback

Summary
This PR reduces the delay to open the post options menu as well as improve the speed and type of animation and adds haptic feedback on open.
Ticket Link
TBD
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to mattermost-redux (please link)
[x] Has UI changes
[ ] Includes text changes and localization file updates

Device Information
This PR was tested on: Multiple physical devices for iOS and Android

@esethna can you create a ticket for this one and then we can merge?

@esethna don't forget about this so QA can keep track

@enahum @migbot ticket here: https://mattermost.atlassian.net/browse/MM-18349


gestureState.numberActiveTouches of callback function onStartShouldSetPanResponderCapture always return 1 when I use two fingers touching the screen.

Environment
"react": "16.0.0-alpha.12",
"react-native": "0.46.4",
Expected Behavior
I expect gestureState.numberActiveTouches return value 2
Actual Behavior
gestureState.numberActiveTouches return value 1
Steps to Reproduce
When I start use two fingers on screen of phone, the gestureState.numberActiveTouches of callback onStartShouldSetPanResponderCapture always return 1, it's very weird, but the callback function onPanResponderMove works correctly with returning 2 value when I use two fingers move on screen of phone.

@tsaohucn Find a solution?


memcached: 1.6.17 -> 1.6.18

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/memcached/versions.
meta.description for memcached is: A distributed memory object caching system
meta.homepage for memcached is: http://memcached.org/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.6.18 with grep in /nix/store/1qpykrrix0rfc363mrz0rdhjdr1bz6vf-memcached-1.6.18
found 1.6.18 in filename of file in /nix/store/1qpykrrix0rfc363mrz0rdhjdr1bz6vf-memcached-1.6.18

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
memcached

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1qpykrrix0rfc363mrz0rdhjdr1bz6vf-memcached-1.6.18 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A memcached https://github.com/r-ryantm/nixpkgs/archive/39cf6beaf0f1f79619756d736654aaed23588d06.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/1qpykrrix0rfc363mrz0rdhjdr1bz6vf-memcached-1.6.18
ls -la /nix/store/1qpykrrix0rfc363mrz0rdhjdr1bz6vf-memcached-1.6.18/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

memcached

Maintainer pings
cc @coreyoconnor for testing.

@ofborg build memcached memcached.passthru.tests


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

ok