feat(chart-data-api): ignore unknown fields on QueryObject

SUMMARY
Currently the V1 chart data API expects all fields on the QueryObject to be explicitly defined - any unexpected fields will raise an exception. This changes the default behavior to exclude unknown fields, thus making the backend more resilient to requests including redundant metadata. Needed for #10288
Relevant Marshmallow docs: https://marshmallow.readthedocs.io/en/stable/quickstart.html#handling-unknown-fields
TEST PLAN
CI + added test that would have failed previously.

Codecov Report

Merging #12118 (5ee06d8) into master (35addee) will decrease coverage by 3.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #12118      +/-   ##
==========================================
- Coverage   66.63%   63.43%   -3.20%
==========================================
  Files         972      481     -491
  Lines       48034    29682   -18352
  Branches     4743        0    -4743
==========================================
- Hits        32009    18830   -13179
+ Misses      15901    10852    -5049
+ Partials      124        0     -124

Flag
Coverage Δ

cypress
?

javascript
?

python
63.43% <100.00%> (-0.74%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/charts/schemas.py
100.00% <100.00%> (ø)

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/views/database/views.py
62.50% <0.00%> (-25.07%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/db_engine_specs/presto.py
73.81% <0.00%> (-8.59%)
:arrow_down:

superset/databases/commands/create.py
83.67% <0.00%> (-8.17%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/db_engine_specs/base.py
80.73% <0.00%> (-6.87%)
:arrow_down:

superset/sql_validators/base.py
93.33% <0.00%> (-6.67%)
:arrow_down:

... and 505 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 35addee...5ee06d8. Read the comment docs.


Remove empty Asset Catalog and provide default Launch Image

-http://stackoverflow.com/questions/21668497/uiscreen-mainscreen-bounds-returning-wrong-size

This fixes the problem of the Demo app not running fullscreen.

Awesome, thanks!


Bump jsonwebtoken to 9.0.0

jsonwebtoken 8.5.1 has a security vulnerability: https://github.com/advisories/GHSA-27h2-hvpr-p74q. Please upgrade to 9.0.0.

I would actually suggest moving to another library like jose which works even on browsers

@fredrjoh thank you for the ping. this vulnerability does not impact us at the moment. nonetheless, we'll upgrade some of these dependencies shortly.

I wanted to add one to this request since we are using this library and we are getting vulnerability reports because of the transient dependency of jsonwebtoken. Thanks!


allow more online models to load tokens file from the memory

for online paraformer and ctc, their symbol tables are able to be initialized from tokens in a memory buffer

for the keywords spotter example, the kws model failed to spot any keywords among the given test wavs. however, if i record a wav myself, only the @你好军哥 can be spotted, could u help check the keywords-spotter-buffered-tokens-keywords-c-api.c, I can not figure the problem, other than imputing it to the model accuray

the check "test-nodejs / test-nodejs (ubuntu-latest, 3.8) (pull_request)" failed due to the wasm filesystem, both keywords_file and keywords_buf are provided, which did not pass the validate().
should i add a special case for wasm in the validate or change the test code for the wasm filesystem (i am not familiar to wasm)

for the keywords spotter example, the kws model failed to spot any keywords among the given test wavs

Please check the keywords contained in the keywords.txt and check whether the test wave file contains a keyword.

for the keywords spotter example, the kws model failed to spot any keywords among the given test wavs

Please check the keywords contained in the keywords.txt and check whether the test wave file contains a keyword.

my mistake, I confused with the test_wavs/test_keywords.txt and the keywords.txt, now the keywords can be spotted out

the check "test-nodejs / test-nodejs (ubuntu-latest, 3.8) (pull_request)" failed due to the wasm filesystem, both keywords_file and keywords_buf are provided, which did not pass the validate(). should i add a special case for wasm in the validate or change the test code for the wasm filesystem (i am not familiar to wasm)

should i add a special case for wasm in the validate or change the test code for the wasm filesystem

Please focus only on the C++ and C APIs. I will fix the errors related to other programming language APIs.

it is ready to merge for me

Thank you for your contribution!


How to use Factory with a model that implements Attachment Lite?

Hi there! I've been having trouble recently with using model factories because of how we can create Attachment objects.
I cannot create an Attachment object because:

The image is not on the database
I cannot create a MultipartFile object myself apparently

I'm wondering if there's any other way to create an Attachment object? :smiley: If not, you could guide me on what I could PR to help fix this issue?
Thank you.

Hey, thanks for asking. I have documented the usage with model factories in the README. https://github.com/adonisjs/attachment-lite#using-attachment-lite-with-model-factories

Awesome! Thanks for your help! ❤


Feature/seab 3022/check url webservice

For SEAB-3022
Tests are not ideal. Can't figure out how to mock just one endpoint.

recent commit Disabled FTP in the event https://github.com/dockstore/lambda/pull/100 wasn't possible. will remove if-statement once the lambda PR goes through

(also curious if we end up on separate PR for URLs or if that DB schema ends up in here)

(also curious if we end up on separate PR for URLs or if that DB schema ends up in here)

I think a boolean on the version metadata is enough for now. Many features/enhancments can be made but I think it's unnecessary for now until a user asks for it.

I think I'll (when wearing a community lead hat) want it sooner rather than later for user support/debugging.
That said, I'm ok with a separate enhancement ticket that is linked to this PR.

I think I'll (when wearing a community lead hat) want it sooner rather than later for user support/debugging.
That said, I'm ok with a separate enhancement ticket that is linked to this PR.

I think something like 99% of the workflows have 0 or 1 test parameter files. For the test parameter files that have URLs that aren't publicly accessible, it should usually be fairly obvious at a glance to guess which ones aren't accessible. confirming which ones aren't accessible should be fairly trivial if the need arises. I'll create the issue, but all in all, I don't really see the time spent working on these enhancements on the frontend/backend will pay off in a reasonable time.


Chore: Update testnets addresses to 0.5.6

WitnetRequestBoardTrustableDefault in all testnets
WitnetRandomness in all testnets but Harmony

Close #225.

Blank address should be only on mainnets, as the WitnetRandomness v0.5.6 has been deployed in testnets. However:

Cronos Testnet randomness address has to be updated to latest verified contract
Metis Rinkeby randomness address was set as new randomness adress in Metis Mainnet

Ok, that makes sense!


Can the user add their own tags?

I apologize if  I missed this, but can the user add their own tags? Or can they only choose from pre-loaded tags? In the demo I couldn't see a way to add a tag not in the list.

Are there any plans for adding this anytime soon?

it is very big motivation for me that someone needs this, probably I can do it in two weeks. it is probably to late. But can you tell me your vision. How the input on new tag could be "finalized"? On   ? Or there should be popup butoon "Add to the list"

Hi.
What about a simple "Enter"-key-press to add a new unknown tag to the list? Two scenarios if pressing the Enter-Key 13:
-> enter a new tag into the search field. The search list may get shown.
a) if an entry in the shown tag-list is highlighted, it will be chosen when pressing the Enter key
b) if none entry is selected, the current text in the "search" area is taken as new tag entry when pressing the Enter key
That's it, isn't it?


"selective" acknowledgements: acknowledge a certain deviation limited in value and time

this is not a big issue for us, but i wanted to throw it here for brainstorming and to see if anyone else has an interest in this.

white = now, blue = last week.
due to a certain event X at T (let's say a party that uses our API is temporarily using our service less, this happens sometimes to us), our traffic level has decreased, and will likely remain so for a few weeks.
we use graphiteBand() to collect data of past 2 weeks, compute median, and validate that the median is not much worse (within a few deviations)
once we become aware of X, we'd like to ack the fact that median will be, for times between T and T+2weeks, considerably lower, let's say we want to allow an additional 3 devations on top of what we already allowed, or perhaps an absolute number. (or frankly, if we want to go advanced, the additional lost volume could oscillate in which case we might need to consult another time series!)
but we rather not go modify our alerting rule, especially when we need to remember to undo our modifications 2 weeks from now. (frankly, this might be the simplest solution, just setting a reminder for T+2 weeks to undo the change but it's a little clunky, you might forget, you won't be able to do it at the exact right time...), so it would be nice to codify this into bosun into an "acknowledgement option".
perhaps such an option could simply be some alerting code like
med += 3 # due to event X

and we'd tell bosun to include this code right before executing crit/val, if the time is between x and y.

in case it wasn't clear, in particular, just acking the alert right now is dangerous: volume could just drop much harder, possibly to 0 which would be very problematic, we don't want that to slip through!


Support for disabling rewrites

I'm using the plugin and don't require the rewrites, however I'm proxying /api and the default rewrite ends up rewriting it. I can workaround it by writing a bypass rewrite as:
rewrites: [{from: /.*/, to: ({parsedUrl, request}) => request.url}],
but would be nice to be able to do something like:
rewrites: false

It sounds like a reasonable feature, I'll implement it when I'm free, also you could file an PR if you're in emergency.

The latest version 1.9.0 has fixed this problem.

Thanks! It works like a charm!


Fix resource_type in example pipeline

reference: https://concourse.ci/single-page.html#configuring-resource-types

Thanks!


Resolve sklearn.utils.Bunch Key error

Having to run the dataset cell every time the graph needs to be visualized and/or the model has to train is frustrating due to the fact that sklearn.utils.Bunch keys become unsupporting as the dataset somehow "forgets" (I don't know the right word, but this seems to have the best explanation) that it is a Bunch datatype and takes an array or list like datatype, hence calling through keys leads to an Attribute Error. Resolve this issue.

Solved this issue.. Merely had to convert into a dataframe and slice using that...


createPixelBuffer -- RGB or BGR?

In the function createPixelBuffer of CVPixelBuffer+Helpers, the description says the following:

Creates a RGB pixel buffer of the specified width and height.

but in the function there is the following:
  let status = CVPixelBufferCreate(nil, width, height,                                    kCVPixelFormatType_32BGRA, nil,                                    &pixelBuffer)
Shouldn't that be kCVPixelFormatType_32RGBA or am I missing something?

I don't believe it matters how the colors are actually arranged in the pixel buffer. (That said, I should actually try this out to see whether it makes a difference or not to Core ML.)

I just checked it to make sure and indeed it does not matter. As long as the pixel format type is one of ARGB, ABGR, RGBA, or BGRA, Core ML will properly convert it to whatever format the model expects.

Yes indeed it does not matter! Thanks a lot!

I need an rub Pixel Buffer, is it possible?


Add ability to perform convergence analysis

Adds the function `convergence' which divides a set of scenarios into randomised sets of increasing size (non-overlapping, where the number of sets is an input) and calculates the sensitivity.
Also adds corresponding viz functions ADRIA.viz.convergence! and ADRIA.viz.convergence which plot the sensitivity of specified factors for an increasing number of scenarios. Plotting includes the option to plot multiple factors overlayed in a single figure or as a grid.

I think this is ready for review again @ConnectedSystems

I've addressed your most recent comments @ConnectedSystems

I think I've addressed your comments now. All tests are passing on my end.

Just one more addition please - adding a note about what the confidence interval actually represents, at least until we have bootstrapping in.

Thanks, I added a note

Just one more addition please - adding a note about what the confidence interval actually represents, at least until we have bootstrapping in.

Thanks, I added a note

I don't think it captures what we discussed above but it's fine, I'll add it and merge.


GridManager: replace hardcoded intiation of Grid with DI

https://github.com/kitpages/KitpagesDataGridBundle/blob/master/Grid/GridManager.php#L69 probably should be replaced with DI.
I see two options how this can be solved:

Pass instance of Grid when manager is created and implement __clone method for Grid that erases all properties before creating new grid object
Another option is to inject Grid class name and create new instance of Grid using variable value

Sorry for the delay, also added a (too big) GridInterface

The PR #56 is not the good option. I believe the idea of giving an optional instance of a subclass of Grid or an implimentation of a future GridInterface would be the good option.
It is a bit of work.
I can add that if there is more user that ask for that. I let this  issue open.

+1
@philippe-levan Do you think you have the time for this now?

@haroldmodesto
This PR resolves this issue.
https://github.com/kitpages/KitpagesDataGridBundle/pull/68
I will merge it soon an create a tag.

ok, PR merged, tag 3.1.0.
You can see the documentation here : https://github.com/kitpages/KitpagesDataGridBundle/blob/master/README.md#custom-class-for-the-grid-object
Best regards,
Philippe

That was super quick! Many thanks.


center grid with two product cards

you have to solve also mobile view for this case.
maybe like this
columns={children.length > 2 ? [1, 2, 3] : [1, 2,children.length]}


HIVE-2584: drop unused Fedora-dev

Fedora-dev builds fell into lack of usage and maintenance. We'll look to improve the main Dockerfile for non-entitled non-registered builds instead.

/retest

/lgtm
These files are outdated as currently committed.
At this point we have speedy builds via podman with recent changes and #2395 once it lands. If there is demand for actual-docker dev building, we can work something up along similar lines.


Support of new MCL install and remove APIs for CPC and console

With bundle s23 WSWAPIs for handlinge Z MCLs were introduce on z16.
Please add support in zhmccli to call those new APIs. They are

"Remove and activate"
"Install and activae"
"Delete retrieved internal code"
Those exist for both CPC and console.

This requires support for these operations in the zhmcclient library. See https://github.com/zhmcclient/python-zhmcclient/issues/1357

The zhmcclient implemented support for "Install and activate" and "Delete retrieved internal code" in PR https://github.com/zhmcclient/python-zhmcclient/pull/1362 (version 1.13.0). We discussed "Remove and activate" and it was deemed too dangerous and should remain an activity triggered by the PE at the GUI.
With that, this item here is reduced to implement "Install and activate" and "Delete retrieved internal code" for the zhmccli.


update kernel url to ver 4.9.4

Thanks for your pull request.
update auto get latest kernel version
Reference:
#1bdea51a6b1766b65190e232a32b1789cf1e63fa

that's great!


[HOTFIX] fix wrong some logger names

Changes

AvroCarbonWriter use wrong logger name
CSVInputFormat use wrong way to get logger name

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed?

[x] Any backward compatibility impacted?

[x] Document update required?

[x] Testing done
Please provide details on
- W
hether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3536/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11602/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3335/

Hi, @ravipesala, can you please take a look? thanks.

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11613/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3346/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3547/

remove unuse import of CarbonTable in line 40.

remove unuse import of CarbonTable in line 40.

thanks, done.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3354/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3555/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11621/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/23/


AddFont() Method can't find my font.

it has correctly converted by fnt and png, to binary, i think it must be wrong path problem, here is my repo
: https://github.com/kenter7317/DreamofSomeone
and the error is
[runtime] 2024-04-30 18:33:09 [error]: Couldn't load font asset from Resources/Fonts/210omnigulim010/210omnigulim010.
[runtime] 2024-04-30 18:33:09 [error]: System.NullReferenceException: Object reference not set to an instance of an object.
[runtime] 2024-04-30 18:33:09 [error]: at osu.Framework.Extensions.ExtensionMethods.ComputeMD5Hash(Stream stream)
[runtime] 2024-04-30 18:33:09 [error]: at osu.Framework.IO.Stores.GlyphStore.<LoadFontAsync>b__14_0()
[runtime] 2024-04-30 18:33:09 [verbose]: ?? ScreenStack#116(depth:1) entered StartScreen#341

https://github.com/kenter7317/DreamofSomeone/blob/a05ca34e2da9211f5081b7f792b2f2f542125c53/DreamofSomeone.Game/DreamofSomeoneGame.cs#L19
You'll probably want to remove Resources/ from the font asset name, as that is implied.
-AddFont(Resources, @"Resources/Fonts/210omnigulim010/210omnigulim010");
+AddFont(Resources, @"Fonts/210omnigulim010/210omnigulim010");

See how osu! does it:
https://github.com/ppy/osu/blob/e0e790fa9412368ff7b414791348476f05e28f2f/osu.Game/OsuGameBase.cs#L448

this error happend because dll resources has different name or path to real path. please add this solution to wiki

find.Resources/bin/.Game.dll
open that dll file using assembly viewer
check the real font file path inside the dll, and correct code.

@kenter7317 i'm confused. did the removal of the Resources prefix fix it? or did you do something else entirely?
i'm not sure why the wiki has the prefixes to be fair, neither framework or game has them.

I remove that prefix resources and corrected path. that prefix may be implied
AddFont(*Resources*, path)

but still the Framework couldn't find my font, then I try some other steps, finally I find that Framework find path's Resources in the dll file. then check assembly. and fix them, in my case. the right path is Fonts/210omnigulim/_210omnigulim
I'll commit this changes and comment my code, I'm sorry about availabilities of misunderstanding your comment, cuz I'm foreigners

Okay sure that checks out, but that is because you've accidentally hit a stupid implementation detail of embedded resources. If the name of an embedded resource starts with a digit it will apparently get automatically an underscore prepended to it. See https://stackoverflow.com/questions/14705211/how-is-net-renaming-my-embedded-resources.
I'll remove the error from the wiki and also add a note to not start the name of the resource with a digit I guess.


Added entries for ejudiciary.net and cjscp.org.uk

Replaces https://github.com/ministryofjustice/dns-iac/pull/398


timing of individual checks and/or files?

I've somehow (over almost two years) introduced something slow in one of my fact files. It's not trivial to find it manually, and I'm wondering if there's a way I might be able to wrap each file and/or fact in a Clojure (time …) block programatically.

I've been trying something along these lines
https://gist.github.com/Vaguery/02562e901b8e0ec78c744ba28d14b8f3

I'm not aware of a better approach to your problem @Vaguery, but we'll try to keep this use case in mind for the future evolution.


Table not synced when there is a generated column

My contacts table has been synced until I run this sql to add a generated column
ALTER TABLE contacts
    ADD full_name VARCHAR(512) GENERATED ALWAYS AS (CONCAT(first_name,' ',last_name)) STORED NOT NULL;

When I delete the index and run go-mysql-elasticsearch again (deleted var dir), contacts table didn't get synced at all - it somehow got skipped in the dump/parse process (previously took ~12sec to dump my db, after I ran the query it took 0.4sec), other tables are still synced though.

@huygn
Now go-mysql-elasticsearch doesn't support DDL, you have to delete the master file and re-sync all.  As you see above, it will first use mysqldump to dump all the data which may take a long time.
I will try to support simple DDL like adding/removing columns later.

@siddontang

you have to delete the master file and re-sync all

Did you mean the master file inside var dir? I did rm -rf ./var && ./bin/go-mysql-elasticsearch but then it skip the whole table

I notice this problem on affect when you have a generated column in a table, if I do like below the table got synched again
ADD name VARCHAR(512)

oh, generated column is not in the future plan.


Fix init_get_thread_local()

When CRYPTO_THREAD_set_local() failed, we didn't pop the hands arrays
from the thread event handler pointer stack that we had just pushed,
but still free that same array.  That left the pointer in the stack
open for pointing at complete garbage.
Fixed by popping the stack in this case.

Ping.  This is low hanging fruit.

Ping. This is low hanging fruit.

TIL: never pick low hanging fruit, it might turn out to be a poisoned apple. ;-P

I like your alternative approach.  May I suggest you make a PR for it, since that's basically all yours?  If you do, I'll close this one.

(Oh, and may I suggest having init_thread_push_handlers before init_get_thread_local?  That is, unless you're fond of forward declarations...)

I like your alternative approach. May I suggest you make a PR for it, since that's basically all yours? If you do, I'll close this one.

Ok, if you have enough time to wait for it. Because I have to leave for work now and can resume only this evening.

(Oh, and may I suggest having init_thread_push_handlers before init_get_thread_local? That is, unless you're fond of forward declarations...)

Sure, no problem. I placed it last in the example for pedagogical reasons only ;-)

I'll do it in my lunch break.

I'll do it in my lunch break.

Food is for those with patience :)

I'm in no rush (well, except that I'm submitting PRs in a rush, but I'm not as impatient re their completion)

Lunch break was too short. But now it's done, see #9401.

Closing this for the benefit of #9401


Clustering time

Things done:

Grouping Columns on Customer ID
Preprocessing more
KMeans
KMeans Plots
KMeans Notes
Hierarchial Clustering
Dendrogram
Notes
Documentation Finalization
Loading Path Switch

We gud to go frfr


Add missing descriptions to PhysicalBone3D class.

Documentation Enhancements:

doc/classes/PhysicalBone3D.xml: Added detailed descriptions for methods such as apply_impulse, get_bone_id, and is_simulating_physics to explain their functionality and usage.
doc/classes/PhysicalBone3D.xml: Provided descriptions for constants like JOINT_TYPE_NONE, JOINT_TYPE_PIN, and JOINT_TYPE_6DOF to specify the types of joints that can be applied to PhysicalBone3D.dot documentation.

I have tried to be constant with other methods in godot.
Example : apply_impulse documentation is similar to apply_impulse in PhysicsBody3D.
Its my second contribution let me know if any changes are needed.

Hay is it possible to work on other issues while this one is for review?

I already answered on RocketChat, but just for transparency

Do I need to open an issue that documentation is missing for this to work or not?

No reason to. Yes if the documentation was debatably inaccurate, but there was no documentation to speak of.

And it possible to work on other issues while this one is for review?

Of course

Thanks!


Imports

I just finished an implementation for the Instance Imports feature based on the work by @jcaesar

It would be amazing to see this get merged

@krisbitney Don't get your hopes up, use https://github.com/Salpadding/wasmer-jni instead.


First line of file is not stored

Summary

I want to use gopass to store my SSH keys, but every time I try to insert them the first line goes missing.
Steps To Reproduce

ssh-keygen -m PEM -b 1024 -t rsa -f key -N ''
cat key | gopass insert mykey
gopass show -n mykey > gopass.key
diff key gopass.key

Expected behavior

The key that is stored in gopass does not differ from the original.
Environment

OS version: Linux 5.14.9-arch2-1
gopass Version: gopass 1.12.8 (2021-08-28 14:31:40) go1.17 linux amd64
Installation method: pacman

Additional context

This also occurs when using gopass insert -m and then pasting the key.

Hmm, this is weird. I'll try to reproduce.
But keep in mind that gopass is primarily focused on passwords and insert has some special handing for that.
Did you try piping to gopass cat secret?

This still looks like a bug, especially if -m also doesn't work because it is supposed to:

Insert using $EDITOR (default: false). This identical to running gopass edit entry. All other flags are ignored.

But this issue means that it is not actually equivalent to running gopass edit entry... Unless that's also buggy!? (It shouldn't...)

I have tried to reproduce this today a verified the code paths involved and couldn't

see how this would fail
reproduce the failure using the (helpful!) snippet provided:

ssh-keygen -m PEM -b 1024 -t rsa -f key -N ''
cat key | gopass insert mykey
gopass show -n mykey > gopass.key
diff key gopass.key

So I'm going ahead and close this but please re-open if you can still reproduce this.
In that case please run gopass with GOPASS_DEBUG_LOG=/tmp/gopass.log, create throw-away key and provide us with the log output. Thank you.

Yep, it works. Thanks!


python311Packages.recaptcha_client: remove

It hasn't been maintained in 12 years and the website is dead.
part of #245383
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 262244 run on x86_64-linux 1


Long term scaling: multiple instance design (also good primer on yo's architecture)

This issue is just to keep track of the design for multiple instances and to track implementation - nothing is expected to be done yet until after steemfest.
Basic design of yo as we all know is layered: we have a shared database (MySQL and sqlite3 are currently supported, sqlite3 primarily for testing purposes only), and the rest is supposed to work without making assumptions about how many instances are running above or below (except for the shared DB layer and backing DB).
So there's the DB layer that assumes a single shared database. This is not really a literal component as seen in yo's app.py but rather an abstraction module that lives in db.py, everything else above this is an actual component as seen in app.py and can be turned off or on using environment variables or in yo.cfg.
Next we have the blockchain follower which queries the blockchain via steem-python, grabbing blocks in a loop starting with the one defined in start_block, parsing the transactions and looking for events.
To support multiple instances for reliability purposes, the blockchain follower is most important to scale up.
Any state about where the blockchain follower got up to is not shared between instances or across restarts, so start_block can be set to null (current head block - the best default in most cases), a negative number (for head block minus a set amount of blocks) or a specific block number (best used for reliably reproducing the same transactions while testing).
If we want things to be reliable, spawning multiple blockchain followers and using negative numbers for start_block on each is a sensible plan - we will need to have some means to mark duplicates though, and this is not in place right now. If we then wrap the blockchain parsing inside a DB transaction then we can do this:

Follower A is at start_block-1
Follower B is at start_block-2
Follower C is at start_block-3

Each time a block is processed, we wrap the whole thing up in a transaction (this is not currently the case), if it fails then like any other DB transaction the whole thing fails.
For example:
C fails on block 1334 and crashes
B gets block 1334 and processes it, moving onto block 1333
A gets block 1333 and processes it, unless B finishes first
Due to the transactions in the DB layer, if a block isn't processed, the next instance will process it.
Only if the transaction passes (and thus inserts all the notifications for events in that block into the DB) does it then pass things up to the notification sender by invoking an internal API call. This avoids duplicates in multiple instances, but doesn't help to "catch up" when restarting - for that we need each instance to keep track of the last block it processed successfully itself alongside checking the most recent block processed by ANY instance - the "last successful block" value should only be updated within the transaction, and should be increment-only.
Keeping track of the last processed values means an instance can determine on startup whether it needs to replay missed blocks - doing so is simple to do without notifications being done twice by simply checking for an existing notification with the same trx_id in the database.
Then the notification sender, which currently does NOT implement any of the below proposal:
Next up, the notification sender - which receives an API call telling it to send notifications for a specific user. All the notification sender does now is run an SQL query to get the latest notifications that haven't been sent yet for that user, send them off to the relevant transports and then set the sent flag to True, all wrapped in another transaction. This scales up quite nicely and saves CPU time from having to constantly sit in a loop looking for new notifications to send. Instead the notification sender only starts running when told to do so by the blockchain follower.
If multiple instances are running, the blockchain follower can choose one basically at random to notify, if the one chosen fails, the transaction doesn't get written to disk and we can safely resend in most cases. If the transport layer failed to send, this causes a transaction failure as well. We could add an extra check against duplicates by splitting the sent flag into 2 flags: sent_to_transport and transport_succeeded along with timestamps, retrying if sent_to_transport is True but transport_succeeded is still False after a certain amount of time.
The above paragraph is mostly quite theoretical, it's also getting deep into algorithms that already exist in prewritten work queue systems, so we should look into them.
Finally, the API server is essentially stateless - it doesn't store any state itself, everything goes back to the DB layer so it should be simple to spawn a bunch of instances of the API  server without causing problems, it doesn't even talk directly to the blockchain follower or notification sender at all.
More solid proposals for short-term scaling issues:
1 - Run multiple API servers first
2 - Get the blockchain follower running in multiple instances - there's a solid design and some code in place here already, so it should be simpler to get running across multiple instances
3 - Get the notification sender working across instances and exploiting multiple CPU cores for processing, since each notification on its own has no dependencies on other notifications - this is also the most complex to scale up, so should be done last as great gains can come from the above two.
 I'd suggest we begin with the API server only nodes being rolled out.

As pointed out, I over-engineered this, closing - will implement a far more simplified design instead


Is there a reason why SDK Packager project does not depend on all projects?

Dependency to CoreLocation,Security, SecurityLib and SystemConfiguration is not set, so the corresponding lib files will not be created when calling rebuild on this project as described in the documentation.

fixed with build from 11 Dec 2015 -> CLOSED.


Opt slice fix

When slicing an unknown array-like object, getarray is used to ensure that the output of the slicing operation is a numpy array, instead of another array-like. When optimizing nested slices, we need to
ensure that if getarray is used at all in the chain, then the slicing still happens. A bug in this logic was introduced in the recent work on speeding up the optimization passes. This patch fixes this bug, and reverts the changes to the tests made that allowed it to pass.
As a separate commit, also removed unused imports, and fixed several indenting pep8 things (mostly due to indent lining up with block, making if blocks harder to read).
Fixes #1235.

cc @shoyer.

Maybe worth adding something resembling a regression test? If dask.array doesn't already have tests with non-ndarray array-like objects those would be nice to have -- in all important respects, my LazilyIndexedArray works like a h5py.Dataset here.

The optimization tests (after reverting them back) are sufficient to catch this, but I also added another test slicing from a np.matrix. h5py.Datasets return np.ndarrays when sliced, while np.matrixs don't.

Downgrading the optimization tests was my fault.  I didn't realize that
they were catching special behavior.  Perhaps there is a more explicit test
that could be added.
On Wed, Jun 8, 2016 at 9:33 AM, Jim Crist<EMAIL_ADDRESS>wrote:

The optimization tests (after reverting them back) are sufficient to catch
this, but I also added another test slicing from a np.matrix. h5py.Datasets
return np.ndarrays when sliced, while np.matrixs don't.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/1246#issuecomment-224648671, or mute
the thread
https://github.com/notifications/unsubscribe/AASszGLSJPXi4DxTT3-OVcGeXe37gy77ks5qJu7egaJpZM4IwZrL
.

Is the np.matrix test here good for that (it checks that nested slices still return np.ndarray)? Or were you suggesting another optimization test to look at the graph? Perhaps just a comment in that test explaining why the test exists?

Fine with me

Ok. Merging.


IBM-325 update insecure dependencies

Coverage remained the same at 99.167% when pulling 84d9f177a47acce9cbee66c77f71448036a8cbce on features/IBM-325 into 89f8518dc49b93775f1ad5f4105077577a4423df on master.


doc: update gh-pages

Description of the issue:
Currently https://sysbiochalmers.github.io/yeast-GEM/ is build from the gh-pages branch, which is not automatically updated when master is changed. The page mainly gives the information from README.md, but if this file is updated on master (which happens with each new release), the version on gh-pages is outdated.
Expected feature/value/output:

Bare minimum: a page with up-to-date information. Could for instance be arranged by writing an Action that merges master to gh-pages after each merge to master.
Alternative: a completely different, simpler landing page. GitHub-savvy people would be confident with the usual https://github.com/SysBioChalmers/yeast-GEM/ page, perhaps https://sysbiochalmers.github.io/yeast-GEM/ should be more accessible to those less familiar with GitHub. Just a few lines introducing the model and citation, then links to (i) latest release + list of all releases; (ii) memote report of latest release + history report; (iii) Issues page, to report problems; (iv) the main repo page for more detailed information as given in the README.md? This page doesn't even have to be updated with new releases, just link to for instance https://github.com/SysBioChalmers/yeast-GEM/releases/latest/.

Current feature/value/output:
Not up-to-date, representing the same README as in the repo landing page.

Alternative: a completely different, simpler landing page

I like this idea! As you mention, it would simplify the releasing process & make for a newbie-friendly landing page. Maybe some link to a Git/Github tutorial, to encourage people to clone the repo instead of downloading?

Maybe some link to a Git/Github tutorial, to encourage people to clone the repo instead of downloading?
Great idea!

A proposed new page is prepared on gh-pagesNew, the result is shown https://sysbiochalmers.github.io/yeast-GEM/.
Any feedback welcome! Note that the link to the memote report (on the left) does not work at the moment, but once 8.5.0 is released it will show a memote report for the latest published release.

@edkerk I went through the new page and I think it contains everything required for installation/usage/etc, without being too wordy. Nice work! My only comment is that next to "Latest memote report" you could have a link that says something like "What is memote?" and points to the publication, as I imagine newcomers to the field might not know what memote is.

Now implemented.


Change project manager language dropdown to not fit to longest item.

I hereby present to you the most simple pull request:
Before:

After:

Thanks!


clarification about conversation dialogue

Hi everybody, I am new to Botkit and I am trying to figure out how it manages conversation dialogue.
Working on the console_bot.js exemple.
I see that convo.status is set to completed everytime there 's an interaction between bot and user.
The point is: is there a way to keep the dialogue alive? My user need to perform  a task which requires connecting to a remote web service, get the list of items, select one and book one of them. I thought the conversation was open until the end of the session... I am missing something. Anyway, what's the best practise to structure a dialogue which requires multiple steps? IT seems strange to me that this should be done in a single hears()...
Do I have to setup multiple controller.hear() to catch the user's input or is there a way to define a dialogue with threads?
This is the actual code:
ontroller.hears("hello", 'message_received', function(bot, message) {
       /* onboarding */
       bot.reply(message, resInBoarding); //resInBoarding is a welcome message

       bot.createConversation(message, (err, convo) => {
        // DEFINISCO I THREAD
        convo.addMessage({text: resLogin},'prenotazione_thread');
        convo.addMessage({text: resLogin},'libretto_thread');
        convo.addMessage({text: resLogin},'esito_thread');
        convo.addMessage({text: resInBoarding},'default');
        convo.addMessage({text: respGuida},'help_thread');
        convo.addMessage({text: respUndo},'undo_thread');
        convo.addMessage({text: respFallback},'fallback_thread');
        convo.addMessage({text: respUscita},'stop_thread');
        convo.addMessage({text:resMenu}, 'menu_thread');

       // Create a yes/no question in the default thread...
       convo.addQuestion(questMenu, [

            {
                pattern: 'prenotazione',
                callback: function(response, convo) {
                    convo.gotoThread('prenotazione_thread');
                    convo.next();
                },
            },
            {
                pattern: 'libretto',
                callback: function(response, convo) {
                    convo.gotoThread('libretto_thread');
                    convo.next();
                },
            },
            {
                pattern: 'esito',
                callback: function(response, convo) {
                    convo.gotoThread('esito_thread');
                    convo.next();
                },
            },
           {
               pattern: 'help',
               callback: function(response, convo) {
                   convo.gotoThread('help_thread');
                   convo.next();
               },
           },
           {
               pattern: 'annulla',
               callback: function(response, convo) {
                   convo.gotoThread('default');
                   convo.next();
               },
           },
           {
            pattern: 'stop',
            callback: function(response, convo) {
                convo.gotoThread('stop_thread');
                convo.next();
                },
            },
            {
                pattern: 'menu',
                callback: function(response, convo) {
                    convo.gotoThread('menu_thread');
                    convo.next();
                    },
                },
           {
               default: true,
               callback: function(response, convo) {
                   convo.gotoThread('fallback_thread');
                   convo.next();
               },
           }
       ],{'key': 'scelta'},'default');
      // convo.addMessage('ciao dal default', 'default');
       convo.activate();
       //this is the booking thread -> start process ...
       //ask for username
       convo.addQuestion({text: questPrenUsername}, [
        {
            pattern: 's[0-9]', //pattern
            callback: function(response, convo) {

                   convo.next();

            }
        }],{'key': 'username'},'prenotazione_thread');

        //ask for password
        convo.addQuestion('Your password?', [
            {
                pattern: '[0-9]', //pattern
                callback: function(response, convo) {

                       convo.next();

                }
            }],{'key': 'password'},'prenotazione_thread');

        convo.addMessage('this is the menu', 'menu_thread')

       convo.on('end', function(convo){
         //convo.
           var res=convo.extractResponses();
           console.log('this isthe end and your username ' + res.username );

//do the api call and get the result.... but now how to move from here?
convo.reply('this is the result of your query', output)
//   convo.goToThread('default');
// convo.next();
});
});
});

A conversation should be about only a topic, so in example, controller.hears('hello') may create a onboarding convo with your greeting message and then questMenu(as a message, not a question) and then a controller hears for each thing your bot can do, help, menu, booking and so on

thanks  @adantoscano for the very quick reply, so, if i got it right, I have to divide my main task (booking) into multiple steps, each mapped to a different "hears"... but I do need to ask information from user, login, which item to book, etc...how do I hear to a variety of items? If you could link me to a a complex dialogue example that would be great! ;) Thanks in advance

Nope, booking should be a convo but i think you don't need a menu, help, stop and so on inside booking.
So the main task of ur bot is manage bookings so give help info is a task, do a book other, cancel a book other, give the menu(if don't get any intent) other and so on.
btw here is the convo docs with good exsamples

ok, thanks again @adantoscano :)


Add support for reply threads

Did a bit of digging and found the below:
https://discuss.dev.twitch.tv/t/reply-threading/27657
https://twitter.com/WarthsYT/status/1293256740440608770

I'd say wait until Twitch announces official third-party support for replies. I don't think even 100% of normal Twitch chat users have replies enabled yet.
Also from the way the bot currently does replies, it would be a huge chore, editing all modules and command handlers to have a reference back to the original message, in order to be able to tag the reply message, but nevertheless I'm open to it

Due to pajbot being moved into maintenance mode I'm closing this feature request.


What is the difference between Multivariate Entropies and Bidimensional Entropies? I have to find the entropy for EEG signals with shape (Channels, Timepoints). Which one would be better?

Hi @AashishKhilnani 🙂,
If you are working with EEG data 🧠 , then the multivariate entropies are the methods you should use 👍🏼
You should pass your data in the form of an NxM matrix, where N (rows) is number of EEG samples and M (columns) are the EEG channels.
Bidimensional entropies are used for univariate data in the form of a 2D matrix (e.g. image data), not multivariate data.
Hope this helps! 👍🏼 🙃

Thanks for the help!


Add ability to run init in insecure mode

What does this PR do?
The purpose of this PR is to enhance the UX for the user when running in insecure mode. Previously the user would have to physically create the conjurrc file if they wanted to run the init in insecure mode b/c the command didnt support this flag. This addition allows the user to run init in insecure mode and get a blank value for the cert_file entry, creating the following conjurrc
---
account: cucumber
appliance_url: https://ec2-3-126-247-26.eu-central-1.compute.amazonaws.com
cert_file: ''
plugins: []

What ticket does this PR close?
Resolves -
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[x] This PR includes new unit and integration tests to go with the code changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[x] This PR does not require updating any documentation

The change is user facing and should be documented in changelog, not?

The change is user facing and should be documented in changelog, not?

Good question but no insecure is a flag part of all commands, not just init and we didnt go into implementation details in the CHANGELOG. We will document but not in changelog


Sample code on "Uploading Different Types of Resources" page has incorrect information

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
I don't see a comment section available for this article.
Link to article:
https://docs.microsoft.com/en-us/windows/desktop/direct3d12/uploading-resources#upload-different-types-of-resources
Problem:
The sample code has
commandList->CreateConstantBufferView(
        &constantBufferViewDesc,
        ...
        ));

Instead, it should say
d3dDevice->CreateConstantBufferView(
        &constantBufferViewDesc,
        ...
        ));

because CreateConstantBufferView is a method on the D3D device.

Reported on behalf of @Marauder00

This problem was fixed with the linked PR. Closing


Firefox page all blue

Hi,
After last ShadowFox' update (yesterday), on my Nightly 65, the Mozilla Firefox web-page went all blue.
Cheers

Thanks for the report!
It should be fixed in the latest version


Getting crash sometimes on GCM page

Usualy I get this crash when doing something on Google Cloud Messaging page.
Don't know what the reason
Maybe @voidstarstar could be so kind to figure out the reason
This is nanolx fork, but I got the same on vanilla
04-01 20:46:48.429 I/ActivityManager(1332): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.gms/org.microg.gms.ui.SettingsActivityLauncher bnds=[158,523][293,718]} from uid 10145
04-01 20:46:49.985 I/ActivityManager(1332): START u0 {cmp=com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity} from uid 10033
04-01 20:46:50.057 V/ResourceType(2524): Too many attribute references, stopped at: 0x01010034
04-01 20:46:50.057 V/ResourceType(2524): Too many attribute references, stopped at: 0x01010034
04-01 20:46:50.325 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 556, previously 557
04-01 20:46:50.326 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 556, previously 557
04-01 20:46:50.326 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 234, previously 262
04-01 20:46:50.326 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 463, previously 467
04-01 20:46:50.326 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 291, previously 557
04-01 20:46:50.326 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 130, previously 528
04-01 20:46:50.349 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 440, previously 485
04-01 20:46:50.350 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 440, previously 485
04-01 20:46:50.351 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 266, previously 273
04-01 20:46:50.351 V/ResourceType(2524): ResTable_typeSpec entry count inconsistent: given 198, previously 681
04-01 20:46:50.390 I/zygote64(2524): Do full code cache collection, code=2014KB, data=1297KB
04-01 20:46:50.399 I/zygote64(2524): After code cache collection, code=1999KB, data=1172KB
04-01 20:46:50.620 I/Choreographer(2524): Skipped 36 frames!  The application may be doing too much work on its main thread.
04-01 20:46:50.687 V/chatty  (1332): uid=1000(system) batterystats-wo expire 6 lines
04-01 20:46:50.749 V/ANDR-PERF-MPCTL(502): Invalid profile no. 0, total profiles 0 only
04-01 20:46:52.187 V/ANDR-PERF-MPCTL(502): Invalid profile no. 0, total profiles 0 only
04-01 20:46:55.404 D/AndroidRuntime(2524): Shutting down VM
04-01 20:46:55.412 E/AndroidRuntime(2524): FATAL EXCEPTION: main
04-01 20:46:55.412 E/AndroidRuntime(2524): Process: com.google.android.gms, PID: 2524
04-01 20:46:55.412 E/AndroidRuntime(2524): java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling android.support.v7.widget.RecyclerView{7b700d2 VFED.V... .F...... 0,0-720,1042 #7f080062 app:id/list}, adapter:com.takisoft.fix.support.v7.preference.PreferenceGroupAdapter@f9785a3, layout:android.support.v7.widget.LinearLayoutManager@d4dc0a0, context:android.view.ContextThemeWrapper@68bf459
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView.assertNotInLayoutOrScroll(Unknown Source:31)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.onItemRangeChanged(Unknown Source:3)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyItemRangeChanged(Unknown Source:18)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$Adapter.notifyItemChanged(Unknown Source:3)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.preference.PreferenceGroupAdapter.onPreferenceChange(Unknown Source:9)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.preference.Preference.notifyChanged(Unknown Source:6)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.preference.Preference.setSummary(Unknown Source:18)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at org.microg.gms.ui.GcmFragment$GcmAppPreference.updateViewDetails(Unknown Source:69)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at org.microg.gms.ui.GcmFragment$GcmAppPreference.onBindViewHolder(Unknown Source:0)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.preference.PreferenceGroupAdapter.onBindViewHolder(Unknown Source:4)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.preference.PreferenceGroupAdapter.onBindViewHolder(Unknown Source:2)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(Unknown Source:0)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(Unknown Source:29)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(Unknown Source:40)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(Unknown Source:513)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.GapWorker.prefetchPositionWithDeadline(Unknown Source:14)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.GapWorker.flushTaskWithDeadline(Unknown Source:15)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.GapWorker.flushTasksWithDeadline(Unknown Source:22)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.GapWorker.prefetch(Unknown Source:3)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.support.v7.widget.GapWorker.run(Unknown Source:79)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.os.Handler.handleCallback(Handler.java:790)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.os.Handler.dispatchMessage(Handler.java:99)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.os.Looper.loop(Looper.java:164)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at android.app.ActivityThread.main(ActivityThread.java:6494)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at java.lang.reflect.Method.invoke(Native Method)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
04-01 20:46:55.412 E/AndroidRuntime(2524): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
04-01 20:46:55.423 W/ActivityManager(1332):   Force finishing activity com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity
04-01 20:46:55.436 I/ActivityManager(1332): Showing crash dialog for package com.google.android.gms u0
04-01 20:46:55.482 V/chatty  (1332): uid=1000(system) android.ui expire 5 lines
04-01 20:46:55.495 V/chatty  (1332): uid=1000(system) RenderThread expire 4 lines
04-01 20:46:55.927 W/ActivityManager(1332): Activity pause timeout for ActivityRecord{bab6ba3 u0 com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity t14625 f}
04-01 20:47:00.483 D/AutofillManagerService(1332): Close system dialogs
04-01 20:47:00.485 W/ActivityManager(1332):   Force finishing activity com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity
04-01 20:47:00.508 W/ActivityManager(1332):   Force finishing activity com.google.android.gms/org.microg.gms.ui.SettingsActivityLauncher
04-01 20:47:00.612 I/ActivityManager(1332): Killing 2524:com.google.android.gms/u0a33 (adj 100): crash
04-01 20:47:00.623 I/cr_ChildProcessService(3858): Destroying ChildProcessService pid=3858
04-01 20:47:00.633 W/ActivityManager(1332): Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://ru.whatau.cpl:10145?v=7&cv=9 pkg=com.google.android.apps.nexuslauncher } U=0: not found
04-01 20:47:00.633 W/Looper  (1332): Dispatch took 149ms on android.ui, h=Handler (com.android.server.am.AppErrorDialog$1) {af50b48} cb=null msg=7
04-01 20:47:00.636 I//system/bin/webview_zygote64(3858): System.exit called, status: 0
04-01 20:47:00.636 I/AndroidRuntime(3858): VM exiting with result code 0, cleanup skipped.
04-01 20:47:00.651 I/ActivityManager(1332): Killing 3858:com.android.webview:sandboxed_process0/u0a33i0 (adj 0): isolated not needed
04-01 20:47:00.651 I/ActivityManager(1332): Killing 3174:android.ext.services/u0a24 (adj 906): empty #31
04-01 20:47:00.653 W/AppOps  (1332): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
04-01 20:47:00.657 E/SurfaceFlinger(514): Failed to find layer (Application Error: com.google.android.gms#0) in layer parent (no-parent).
04-01 20:47:00.707 D/KernelUidCpuTimeReader(1332): Removing uids 99000-99000
04-01 20:47:00.763 D/ConnectivityService(1332): ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=14, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ], android.os.BinderProxy@deb62bf)
04-01 20:47:00.764 W/ActivityManager(1332): setHasOverlayUi called on unknown pid: 2524
04-01 20:47:01.208 W/OpenGLRenderer(2351): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-01 20:47:03.282 V/ANDR-PERF-MPCTL(502): Invalid profile no. 0, total profiles 0 only

Well I'm certainly no expert, but I can try.
I'm having trouble replicating the crash.  Can you be as specific as possible how you were able to trigger it?

I can't get exact reason, but I'll try to catch it and collect more logs. Thanks.

@voidstarstar I GOT IT!
Steps to reproduce (bad english) :

Install some app that uses GCM or FCM (I took SystemUI tuner as example)
Install app and launch it once so it register itself as cloud messages receiver
Chech app registration status in microG => GCM
Uninstall app
Chech app registration status in microG => GCM and you see the ghost of removed app
Try to unregister ghost
Crash

It doesn't happen every time you trying unregister ghost
This is screencast and log recorded at the same time
Screencast https://youtu.be/2w19UryyWTw
Log 2019-04-01-23-44-45.txt

@Vavun Thanks, those steps were very helpful.
For reference, in your last log, I think it appears at time 04-01 23:45:53.793.  It sounds like this could be related to the patch in #737, but that can't be the case if it occurs in a vanilla (official v<IP_ADDRESS>80?) build too.
I can now reproduce a crash, but it seems slightly different than yours.  I don't see a ghost app in the GCM page, but I can still get a similar crash as follows:

Install an app that uses GCM.
Launch it once so it registers.
Check app registration status in microG and also tap on it to open the settings page.
Uninstall the app.
Go back to microG, which should still be on the settings page for the uninstalled app.
MicroG instantly crashes.

My bug seems to occur due to this line reading a null reference.  I wonder if this is related.

@voidstarstar OK, I'll try to reproduce this on vanilla on other device.
maybe this will clear up something

Can't reproduce on other device neither with vanilla nor with fork. Strange.

Weird, so the same version caused the bug on one device but not on another?  I wasn't able to get a ghost entry to appear on my device either.
At least this bug doesn't seem super critical to daily usage.

So I did some research.
The problem could be reproduced only with fork now.
Considering I can not reproduce this on vanilla I close the issue
Thanks for your help =)
PS
This is a part of log when I get random crash just for history and future research maybe
Steps to reproduce:

Install app with GCM
Switch to previously opened microG => GCM page

(happens infrequently)
04-02 11:49:58.774 I/ActivityManager(1294): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=ru.whatau.cpl/com.google.android.apps.nexuslauncher.NexusLauncherActivity (has extras)} from uid 1000
04-02 11:49:58.788 D/GmsMeasureSvcImpl(2452): onTransact [unknown]: 10, android.os.Parcel@a05e6a8, 16
04-02 11:49:58.813 W/ActivityManager(1294): Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://ru.whatau.cpl:10145?v=7&cv=9 pkg=com.google.android.apps.nexuslauncher } U=0: not found
04-02 11:49:59.261 I/zygote64(1294): NativeAlloc concurrent copying GC freed 28304(1548KB) AllocSpace objects, 16(560KB) LOS objects, 42% free, 10MB/19MB, paused 196us total 162.513ms
04-02 11:49:59.364 W/OpenGLRenderer(2352): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-02 11:49:59.719 I/QcrilOemhookMsgTunnel(1917): [0]processOemHookIndication length=21
04-02 11:49:59.719 D/QcrilMsgTunnelIfaceManager(1917): handleMessage what = 0
04-02 11:50:00.350 V/ANDR-PERF-MPCTL(501): Invalid profile no. 0, total profiles 0 only
04-02 11:50:02.279 D/LoaderTask(2352): loadWorkspace: loading default favorites
04-02 11:50:03.909 V/ANDR-PERF-MPCTL(501): Invalid profile no. 0, total profiles 0 only
04-02 11:50:04.233 I/ActivityManager(1294): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.gms/org.microg.gms.ui.SettingsActivityLauncher bnds=[158,523][293,718]} from uid 10145
04-02 11:50:04.286 W/WindowManager(1294): removeWindowToken: Attempted to remove non-existing token: android.os.Binder@51c17d2
04-02 11:50:04.608 I/zygote64(2452): Do partial code cache collection, code=28KB, data=23KB
04-02 11:50:04.608 I/zygote64(2452): After code cache collection, code=28KB, data=23KB
04-02 11:50:04.608 I/zygote64(2452): Increasing code cache capacity to 128KB
04-02 11:50:04.807 D/OpenGLRenderer(2452): HWUI GL Pipeline
04-02 11:50:04.873 I/Adreno  (2452): QUALCOMM build                   : 624c5bb, I109c45a694
04-02 11:50:04.873 I/Adreno  (2452): Build Date                       : 05/22/18
04-02 11:50:04.873 I/Adreno  (2452): OpenGL ES Shader Compiler Version: EV<IP_ADDRESS>_06
04-02 11:50:04.873 I/Adreno  (2452): Local Branch                     :
04-02 11:50:04.873 I/Adreno  (2452): Remote Branch                    :
04-02 11:50:04.873 I/Adreno  (2452): Remote Branch                    :
04-02 11:50:04.873 I/Adreno  (2452): Reconstruct Branch               :
04-02 11:50:04.884 I/Adreno  (2452): PFP: 0x005ff087, ME: 0x005ff063
04-02 11:50:04.894 I/com.google.android.gms(2452): android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
04-02 11:50:04.896 I/OpenGLRenderer(2452): Initialized EGL, version 1.4
04-02 11:50:04.896 D/OpenGLRenderer(2452): Swap behavior 2
04-02 11:50:04.998 I/zygote64(2452): Do partial code cache collection, code=61KB, data=47KB
04-02 11:50:04.999 I/zygote64(2452): After code cache collection, code=61KB, data=47KB
04-02 11:50:04.999 I/zygote64(2452): Increasing code cache capacity to 256KB
04-02 11:50:05.258 I/zygote64(2452): Compiler allocated 7MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
04-02 11:50:05.341 I/zygote64(2452): Do full code cache collection, code=107KB, data=93KB
04-02 11:50:05.342 I/zygote64(2452): After code cache collection, code=57KB, data=43KB
04-02 11:50:05.379 I/ActivityManager(1294): Displayed com.google.android.gms/org.microg.gms.ui.SettingsActivityLauncher: +1s101ms
04-02 11:50:06.147 I/ActivityManager(1294): START u0 {cmp=com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity} from uid 10088
04-02 11:50:06.284 V/ResourceType(2452): Too many attribute references, stopped at: 0x01010034
04-02 11:50:06.284 V/ResourceType(2452): Too many attribute references, stopped at: 0x01010034
04-02 11:50:06.713 I/zygote64(2452): Do partial code cache collection, code=124KB, data=82KB
04-02 11:50:06.714 I/zygote64(2452): After code cache collection, code=124KB, data=81KB
04-02 11:50:06.714 I/zygote64(2452): Increasing code cache capacity to 512KB
04-02 11:50:07.040 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 440, previously 485
04-02 11:50:07.040 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 440, previously 485
04-02 11:50:07.041 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 266, previously 273
04-02 11:50:07.041 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 198, previously 681
04-02 11:50:07.146 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 556, previously 557
04-02 11:50:07.147 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 556, previously 557
04-02 11:50:07.148 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 234, previously 262
04-02 11:50:07.148 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 463, previously 467
04-02 11:50:07.148 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 291, previously 557
04-02 11:50:07.148 V/ResourceType(2452): ResTable_typeSpec entry count inconsistent: given 130, previously 528
04-02 11:50:07.331 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine$PhoneskyJobSchedulerJobService.onStartJob(3): onJobSchedulerWakeup with jobId 9001
04-02 11:50:07.334 I/Finsky  (3352): [2] pqc.a(21): Scheduling fallback job with id: 9034, and delay: 43200000 ms
04-02 11:50:07.338 I/Finsky  (3352): [2] pqc.a(5): Scheduling fallback in 64799998 (absolute: 64895277)
04-02 11:50:07.390 I/Finsky  (3352): [2] pqk.handleMessage(10): DeviceState: DeviceState{currentTime=1554195007385, isCharging=true, isIdle=false, netAny=true, netNotRoaming=true, netUnmetered=true}
04-02 11:50:07.396 I/Finsky  (3352): [80] prq.b(7): Jobs in database: 1-1337 12-1 24-77777777 26-1414141414
04-02 11:50:07.400 I/Finsky  (3352): [2] pqf.a(45): Running job: 12-1
04-02 11:50:07.402 I/Finsky  (3352): [2] com.google.android.finsky.contentsync.ContentSyncJob.a(17): ContentSyncJob started
04-02 11:50:07.403 I/Finsky  (3352): [2] pqk.handleMessage(81): RunningQueue size: 1, PendingQueue size: 0
04-02 11:50:07.404 I/Finsky  (3352): [2] pqk.handleMessage(90): Running queue: 12-1
04-02 11:50:07.536 I/Finsky  (3352): [41] dmk.a(4): Completed 0 account content syncs with 0 successful.
04-02 11:50:07.537 I/Finsky  (3352): [2] com.google.android.finsky.contentsync.ContentSyncJob.a(15): Installation state replication succeeded.
04-02 11:50:07.538 I/Finsky  (3352): [2] prl.b(15): jobFinished: 12-1. TimeElapsed: 137ms
04-02 11:50:07.539 I/Finsky  (3352): [2] pqf.a(10): Job 12-1 finished
04-02 11:50:07.540 I/Finsky  (3352): [2] pqk.handleMessage(81): RunningQueue size: 0, PendingQueue size: 0
04-02 11:50:07.540 I/Finsky  (3352): [2] pqk.handleMessage(27): Executor finished
04-02 11:50:07.549 I/Finsky  (3352): [2] prq.b(7): Jobs in database: 1-1337 24-77777777 26-1414141414
04-02 11:50:07.550 I/Finsky  (3352): [2] ppj.a(66): ConstraintMapping: 24-77777777,  -> L: 0ms, D: 51818414ms, C: false, I: true, N: 0
04-02 11:50:07.551 I/Finsky  (3352): [2] ppj.a(66): ConstraintMapping: 1-1337,  -> L: 12202242ms, D: 55402242ms, C: false, I: false, N: 1
04-02 11:50:07.552 I/Finsky  (3352): [2] ppj.a(66): ConstraintMapping: 26-1414141414,  -> L: 13458225ms, D: 14358225ms, C: false, I: false, N: 0
04-02 11:50:07.556 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(40): Cancelling existing job with id: 9000
04-02 11:50:07.558 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(40): Cancelling existing job with id: 9002
04-02 11:50:07.560 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(14): Throttling wakeup for job 9003 (expected to run in 0 ms) due to recent wakeup
04-02 11:50:07.561 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(4): Scheduling job Id: 9003, L: 30000, D: 51818414, C: false, I: true, N: 0
04-02 11:50:07.563 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(4): Scheduling job Id: 9004, L: 12202242, D: 55402242, C: false, I: false, N: 1
04-02 11:50:07.565 I/Finsky  (3352): [2] com.google.android.finsky.scheduler.JobSchedulerEngine.a(4): Scheduling job Id: 9005, L: 13458225, D: 14358225, C: false, I: false, N: 0
04-02 11:50:07.619 I/Choreographer(2452): Skipped 86 frames!  The application may be doing too much work on its main thread.
04-02 11:50:07.811 I/zygote64(2452): Do full code cache collection, code=250KB, data=160KB
04-02 11:50:07.812 I/zygote64(2452): After code cache collection, code=234KB, data=123KB
04-02 11:50:07.991 I/zygote64(2452): Do partial code cache collection, code=236KB, data=134KB
04-02 11:50:07.991 I/zygote64(2452): After code cache collection, code=236KB, data=134KB
04-02 11:50:07.991 I/zygote64(2452): Increasing code cache capacity to 1024KB
04-02 11:50:08.249 I/ActivityManager(1294): Displayed com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity: +2s72ms
04-02 11:50:09.390 D/AndroidRuntime(2452): Shutting down VM
--------- beginning of crash
04-02 11:50:09.402 E/AndroidRuntime(2452): FATAL EXCEPTION: main
04-02 11:50:09.402 E/AndroidRuntime(2452): Process: com.google.android.gms, PID: 2452
04-02 11:50:09.402 E/AndroidRuntime(2452): java.lang.IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling android.support.v7.widget.RecyclerView{ad75fa1 VFED.V... .F...... 0,0-720,1042 #7f080062 app:id/list}, adapter:com.takisoft.fix.support.v7.preference.PreferenceGroupAdapter@45cf5c6, layout:android.support.v7.widget.LinearLayoutManager@b9b2987, context:android.view.ContextThemeWrapper@d2200b4
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView.assertNotInLayoutOrScroll(RecyclerView.java:2769)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$RecyclerViewDataObserver.onItemRangeChanged(RecyclerView.java:5188)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$AdapterDataObservable.notifyItemRangeChanged(RecyclerView.java:11800)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$Adapter.notifyItemChanged(RecyclerView.java:7005)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.preference.PreferenceGroupAdapter.onPreferenceChange(PreferenceGroupAdapter.java:276)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.preference.Preference.notifyChanged(Preference.java:1208)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.preference.Preference.setSummary(Preference.java:782)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at org.microg.gms.ui.GcmFragment$GcmAppPreference.updateViewDetails(GcmFragment.java:207)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at org.microg.gms.ui.GcmFragment$GcmAppPreference.onBindViewHolder(GcmFragment.java:216)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.preference.PreferenceGroupAdapter.onBindViewHolder(PreferenceGroupAdapter.java:376)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.preference.PreferenceGroupAdapter.onBindViewHolder(PreferenceGroupAdapter.java:44)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6673)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6714)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5647)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5913)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:285)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:342)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:358)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.GapWorker.prefetch(GapWorker.java:365)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.support.v7.widget.GapWorker.run(GapWorker.java:396)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.os.Handler.handleCallback(Handler.java:790)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.os.Handler.dispatchMessage(Handler.java:99)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.os.Looper.loop(Looper.java:164)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at android.app.ActivityThread.main(ActivityThread.java:6494)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at java.lang.reflect.Method.invoke(Native Method)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
04-02 11:50:09.402 E/AndroidRuntime(2452): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
04-02 11:50:09.410 W/ActivityManager(1294):   Force finishing activity com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity
04-02 11:50:09.425 I/ActivityManager(1294): Showing crash dialog for package com.google.android.gms u0
04-02 11:50:09.481 V/StaticLayout(1294): maxLineHeight should not be -1.  maxLines:2 lineCount:2
04-02 11:50:09.485 V/chatty  (1294): uid=1000(system) android.ui identical 3 lines
04-02 11:50:09.485 V/StaticLayout(1294): maxLineHeight should not be -1.  maxLines:2 lineCount:2
04-02 11:50:09.493 I/OpenGLRenderer(1294): Initialized EGL, version 1.4
04-02 11:50:09.493 D/OpenGLRenderer(1294): Swap behavior 2
04-02 11:50:09.688 W/Looper  (1294): Dispatch took 193ms on android.ui, h=Handler (android.view.Choreographer$FrameHandler) {6b6bdc1} cb=android.view.Choreographer$FrameDisplayEventReceiver@de5c966 msg=0
04-02 11:50:09.913 W/ActivityManager(1294): Activity pause timeout for ActivityRecord{981cf5 u0 com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity t15111 f}
04-02 11:50:14.918 I/InputDispatcher(1294): Application is not responding: Window{169465c u0 com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity}.  It has been 5497.8ms since event, 5003.4ms since wait started.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 8.  Wait queue head age: 5579.9ms.
04-02 11:50:14.954 I/WindowManager(1294): Input event dispatching timed out sending to com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 8.  Wait queue head age: 5579.9ms.
04-02 11:50:15.048 I/ActivityManager(1294): Crashing app skipping ANR: ProcessRecord{d9ba3c8 2452:com.google.android.gms/u0a88} Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 8.  Wait queue head age: 5579.9ms.)
04-02 11:50:15.865 D/AutofillManagerService(1294): Close system dialogs
04-02 11:50:15.866 W/ActivityManager(1294):   Force finishing activity com.google.android.gms/org.microg.gms.ui.GcmFragment$AsActivity
04-02 11:50:15.890 W/ActivityManager(1294):   Force finishing activity com.google.android.gms/org.microg.gms.ui.SettingsActivityLauncher
04-02 11:50:15.942 E/ActivityManager(1294): Found activity ActivityRecord{502a5cc u0 com.google.android.gms/org.microg.gms.ui.SettingsActivityLauncher t-1 f} in proc activity list using null instead of expected ProcessRecord{d9ba3c8 2452:com.google.android.gms/u0a88}
04-02 11:50:15.978 I/ActivityManager(1294): Killing 2452:com.google.android.gms/u0a88 (adj 100): crash
04-02 11:50:15.979 W/system_server(1294): kill(-2452, 9) failed: No such process
04-02 11:50:15.987 W/Looper  (1294): Dispatch took 122ms on android.ui, h=Handler (com.android.server.am.AppErrorDialog$1) {dd6174c} cb=null msg=7
04-02 11:50:15.989 I/ActivityManager(1294): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=ru.whatau.cpl/com.google.android.apps.nexuslauncher.NexusLauncherActivity (has extras)} from uid 1000
04-02 11:50:16.001 W/ActivityManager(1294): Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://ru.whatau.cpl:10145?v=7&cv=9 pkg=com.google.android.apps.nexuslauncher } U=0: not found
04-02 11:50:16.010 W/AppOps  (1294): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
04-02 11:50:16.015 V/chatty  (1294): uid=1000(system) ActivityManager identical 1 line
04-02 11:50:16.061 W/system_server(1294): kill(-2452, 9) failed: No such process
04-02 11:50:16.061 I/system_server(1294): Successfully killed process cgroup uid 10088 pid 2452 in 81ms
04-02 11:50:16.085 W/ActivityManager(1294): setHasOverlayUi called on unknown pid: 2452
04-02 11:50:16.558 W/OpenGLRenderer(2352): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
04-02 11:50:16.576 I/zygote64(2352): Deoptimizing android.graphics.Bitmap com.android.launcher3.graphics.HolographicOutlineHelper.createMediumDropShadow(com.android.launcher3.BubbleTextView) due to JIT inline cache
04-02 11:50:18.063 I/zygote64(2352): Do full code cache collection, code=252KB, data=162KB
04-02 11:50:18.064 I/zygote64(2352): After code cache collection, code=246KB, data=140KB
04-02 11:50:18.662 W/ActivityManager(1294): Stopping service due to app idle: u0a98 -1m9s490ms org.telegram.messenger/.NotificationsService

Do full code cache collection, code=250KB, data=160KB

Skipped 86 frames!  The application may be doing too much work on its main thread.

The first and last logcat seem like the same issue.  I wonder if it is crashing due to the garbage collector taking too long.  If this is the case, it would probably be somewhat random and probably happen to other apps too.  Does this device have low RAM?  Does this crash only happen on that one device?

Does this device have low RAM?

No, this device has 2Gb RAM and it allways about 500 ~ 200 free RAM.
I never faced a lack of memory on this device. (xiaomi redmi 4x 2/16) LineageOS 15.1

Does this crash only happen on that one device?
Yes.

You will laugh, but another device that has no problems, has only 768Mb (or something less 1Gb) available ram :)
My old HTC One S (LineageOS 14.1)

Maybe this is important: fork interface freezes a little after tapping selected item and show it with little delay. Vanilla does not have this interface freezes.
But I can notice these freezing on any device, not only on the device with crashes.
It is almost not noticeable, but if you compare two screencasts with vanilla and fork it will be noticeable well.

Yea, I can tell it freezes due to the Skipped 86 frames! The application may be doing too much work on its main thread. line, but I'm still not sure about the cause.  It seems to indicate that this line might have something to do with it.  (Maybe related to this?)
Does this only crash when you scroll through the list of apps?  I also wonder if maybe it's something like a database lookup that takes too long.

Maybe that is the reason ?
https://github.com/microg/android_external_MicroGUiTools/pull/13/files
SwitchBar

Does this only crash when you scroll through the list of apps?

You talking about freezes ? Or crash ?
Translation difficulties, sorrry

I don't see any reason why the SwitchBar would cause this, but I could be wrong.

You talking about freezes ? Or crash ?

The crash.

Does this only crash when you scroll through the list of apps?

No, I don't think so.
if I understand correctly, it was enough just to switch to GCM page after removing the app or try to unregiser ghost if it is were not enough.

@Vavun I created #744 that fixes the bug I described above.  I'm not sure if it fixes your bug, however.  I was never able to see the ghost entry in the list.  The app always disappears from the list for me.  The only way I could get a ghost app to appear was if I had the app settings already open before uninstalling the app.

@Vavun #744 should hopefully prevent the crash you described, but the ghost entry will probably still appear.  I'm not sure why that entry wasn't removed when the app was uninstalled.

Does this ghost entry only appear in Android 8.0+?  If so, there's a good chance it's caused by a change in the API 26+ regarding implicit Intents.  One easy way to see if this is happening is to look for GmsGcmUnregisterRcvr in the logcat when you uninstall an app.  You will probably see this in the logcat on versions before 8.0 but not see it on versions 8.0 and newer.
See https://github.com/microg/android_packages_apps_GmsCore/pull/744#issuecomment-479196985
Unfortunately I don't have any 8.0+ devices, so if this is the issue, I can only try to debug or fix this blindly.

Does this ghost entry only appear in Android 8.0+?

Yes, this problem appears only on my android 8.1. I didn'n faced ghosts on my test devices with android 6.0 and 7.1. (Unfortunately, I dn't have a device with android 9 to compare microg behavior in this sutuation , but I can install it if it need to be sure)
I have already read the discussion https://github.com/microg/android_packages_apps_GmsCore/pull/744
Thanks for your help again =)
Tell me If I can do something


Auto_branch_creation_patterns support

This module doesn't support auto_branch_creation_patterns which is available in aws_amplify_app original resources.
It will be really helpful to bring this input.

Thank you for the feedback. This will be scheduled for the next releases.

This module doesn't support auto_branch_creation_patterns which is available in aws_amplify_app original resources. It will be really helpful to bring this input.

I just released a module that has support for this. Feel free to check it out: https://registry.terraform.io/modules/novekm/amplify-app/aws/latest


unable to find docker auth in secret

The ImageRepository uses ref.Context().RegistryStr() to get the container registry auth from the map in the secret
https://github.com/fluxcd/image-reflector-controller/blob/e164cfc676cebc0b509cc888dfd3b84964e03d54/controllers/imagerepository_controller.go#L193
https://github.com/fluxcd/image-reflector-controller/blob/e164cfc676cebc0b509cc888dfd3b84964e03d54/controllers/imagerepository_controller.go#L368
For docker, this value is index.docker.io. Unfortunately, many .dockerconfigjson contain the full domain https://index.docker.io/v2 as shown in the k8s docs
I can change my docker secret for now, but it might be a "gotcha" for other users

Hmm yeah, we had to deal with this in Flux v1 too. The way it is done there is to parse each map key from auths  as though it's a URL, and use only the hostname. There's a bit of fiddliness since the map key might not be a URL, but it works well enough.


feat(angular): Enable to redirect to search page after typing in home search button

fixes #1236

TODO:
Sorry, just spotted a bug, will fix
Preview

The current implementation relies on a data service to share data between the home page and the challenge search page. Instead, it's preferable to use a query parameter - here ?searchTerms="genomic" - as we should support query params anyway with the search page so that the URL can be shared and bookmarked.


oss repo needs a component library

Alright so this is by no means complete, but I think its good enough to get merged and we can just continuously chip away at it. We are testing out tailwind here! But the build system and all that jazz is still #todo so we cant consume it yet. You can however try it out with
pnpm storybook

Also as always open to feedback on all of the decisions!! A lot of the setup files are still the defaults, can definitely change those to the library standard.

@hanspagel yea I didnt touch the build side yet, can check that out next 🙏🏾

Building now, but not what we want


Bitcoin sync build

Summary
Syncs Docker image to to latest Bitgesell release v0.1.11
Read more on  Bitgesell Release v0.1.11

closes #1


Bug: broken link in plugins prometheus page

Actual Behaviour

but this link works fine from the github preview So
For this JSON file, we could use https://github.com/apache/apisix/blob/master/docs/assets/other/json/apisix-grafana-dashboard.json directly as the relative link causes broken direction .

I think this may be caused by batch processing of the links in the markdown file when building the site.


tryLocaleDetect() use too much time

when get the locale from response header at http://ajaxhttpheaders.appspot.com take too much time, and will cause the page freeze for a long time.
according to the jQuery api:

timeout
Type: Number
Set a timeout (in milliseconds) for the request. A value of 0 means there will be no timeout. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period.

JSONP requet cannot be cancelled by a timeout.
so how about use navigator.language for modern browser  or navigator.browserLanguage for old IE?

take too much time, and will cause the page freeze for a long time.

it certainly shouldnt block the page; besides the request is ajax so it should be async right?

so how about use navigator.language for modern browser or navigator.browserLanguage for old IE?

i remember looking and seeing that the headers were more reliable. do you have a sense of what kind of browser support those have? i remember wishing i could get the locale straight from the browser rather than this clowny redirect to get the headers back

Let's take a look at the screenshot:
when open the page, it will "stuck" at here, (actually, I can get command levels run by type it)

and then after about 2 mins, the request failed, and show up the welcome dialog,

Accorinding to the Mozilla Web API, Both Chrome, Firefox, IE 11 and Edge support navicator.language, and for the older IE, can use userLanguage or browserLanguage property.
So, in the PR #425 , I use
navigator.language || navigator.browserLanguage

It should be OK for all the browsers.

Ah I see what you mean, it isn't blocking to the UI but delays the rest of
the app from starting up.
Good point! I'll merge in your PR soon -- did you test with another OS
language? The browser attribute reads from
The OS right?
On Tue, Apr 25, 2017 at 8:29 PM Hotleave<EMAIL_ADDRESS>wrote:

Let's take a look at the screenshot:
when open the page, it will "stuck" at here, (actually, I can get command
levels run by type it)
[image: stuck]
https://cloud.githubusercontent.com/assets/2216231/25416578/176b15b6-2a71-11e7-8fdb-7c1cafd49851.png
and then after about 2 mins, the request failed, and show up the welcome
dialog,
[image: when-failed]
https://cloud.githubusercontent.com/assets/2216231/25416668/8a51a3f6-2a71-11e7-903f-8239dcb9780a.png
Accorinding to the Mozilla Web API
https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language#Browser_compatibility,
Both Chrome, Firefox, IE 11 and Edge support navicator.language, and for
the older IE, can use userLanguage or browserLanguage property.
So, in the PR #425 https://github.com/pcottle/learnGitBranching/pull/425
, I use
navigator.language || navigator.browserLanguage
It should be OK for all the browsers.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pcottle/learnGitBranching/issues/424#issuecomment-297227625,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFRn6NDmfO2_V8D8qozXfszW2MS6Z66ks5rzro1gaJpZM4NG96m
.

--
-Sent from Gmail Mobile

Just try to change my ArchLinux's LANG, and it (the Chrome) will display the cooperate language, the lang I had try:

en_US
zh_CN
ko_KR

When I try the change the my mate's Win10's language from Chinese to English, after restart, it still show the Chinese interface, include the system.
So I boot the Win7 (down load from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/, with English be its default language) in the VirtualBox, and the IE9 show English as default language as we expect. But has some Javascript error throw by jQuery 1.8. :(
In Firefox, we can change the language in "about:preferences#content", It's not depend on the system language.
I don't have a Mac on my side, will test it tonight and give you the report.

Just have a try on Safari, navigator.language show the system's language.

Wow super thorough test plan! Way more than I was expecting :) I do think I remember the quirk where the browser has to restart before picking up the new language, and I dont remember if the request headers picked up the change instantly or not.
anyways ill go push the site with this change, thanks again @hotleave 🎉

remote: Resolving deltas: 100% (5/5), completed with 4 local objects.
To git@github.com:pcottle/learnGitBranching.git
   0ac3a31..47816d3  gh-pages -> gh-pages

done!


Add custom_version parameter

While using the workflow I found out that an alfred workflow version is not the same as tag in github release.
So, the changes I made can help to fix this :)

Thanks for contributing to this repo @com30n!
I like your idea of being able to customize the version of the output workflow file with the git tag (or any string actually). I've got a couple of suggestions though:

Since the new version can be really anything and not just a git tag I'd change the name of the parameter from tag_name to custom_version to reflect that
The custom version can go inside the info.plist as is but it needs to be sanitized to be part of the filename since it is provided by the user
I would update the version with the custom version even if no version key is found inside the info.plist file

Updated the PR

Great, thank you @almibarss  for the fixes!

lgtm 👍🏾 Thank you @com30n


Does it have buffer view support ?

I could not find a view that can be used for showing the user how much the video is buffered

@gokulpulikkal you might want to keep an eye on my obj-c port of this. im still actively updating it and have started to add something along those lines. https://github.com/lechium/KBSlider

@gokulpulikkal you might want to keep an eye on my obj-c port of this. im still actively updating it and have started to add something along those lines. https://github.com/lechium/KBSlider

TvOSSlider has been implemented with the same public API as UISlider for iOS, which does not have this kind of features.
If you need a slide with a supplementary view to show thumbnails in a video player, I recommend you creating a fork and adjusting it to your needs.


Revio data

hello，
I wonder if this program can be used for Pacbio Revio data?
Looking forward to your reply.
Thanks.

Hi @crazysummerW,
Thanks for your interests in our tool!
Yes, LongQC should be able to handle the Revio data. Please use HiFi profile for the data from Revio. Technically speaking, Revio data is a better HiFi data making use of a new AI model than that generated on Sequel II.
If you face some problems, kindly let me know.
Yoshinori

hi @yfukasawa ,
Thanks for your reply.
When testing revio hifi_reads.bam, which args should I choose? Are they the same as for sequel data?
just like:
python longQC.py sampleqc -x pb-sequel -o out_dir revio_hifi_reads.bam
Looking forward to your reply.
Thanks.

Hi, sorry for delayed response.

python longQC.py sampleqc -x pb-sequel -o out_dir revio_hifi_reads.aligned..bam

if this is hifi data, I recommend to use -x pb-hifi instead of -x pb-sequel as pb-sequel is for CLR dataset.

where can I find detailed instructions for the results files and web_summary.html?

Help message is included in html file, and if you want further details, it's written in our article published in G3. please check supplementary file as I wrote detailed guide. Basic ideas have remained the same.

How can I obtain the coverage at different depths

Well, question is not very clear to me. in usual, coverage and depth mean the same. Coverage plot of LongQC returns average per-read coverage, intuitively how many times a base was sequenced in your dataset. You can call this metric as depth.
Or you want to know how much fraction of the genome is sequenced?

@yfukasawa
Thanks for your reply.
Regarding the third question, what I mean is, can I obtain the statistics similar to gatk CollectWgsMetrics?
Such as, PCT_5X, PCT_10X, PCT_20X, PCT_30X...
And, I have one more question.
Can LongQC provide alignment rate and uniformity? Perhaps you have other statistical software recommendations for PacBio data?
Looking forward to your reply.
Thanks.

Regarding the third question, what I mean is, can I obtain the statistics similar to gatk CollectWgsMetrics?

Ah, ok, got it, thanks!
Short answer is unfortunately no. This type of metric requires a reference sequence and mapping to the reference, and LongQC tries to evaluate the dataset without any reference. So, I would say that concept is similar but distinct.
You can get estimated mean coverage for your dataset by LongQC.
Re. QV, it should be blank as you found for your bam input. Kindly check #40 as well.
we have not accepted n-fold slower performance to generate QV plot for the bam input.
Hope this clarifies your question.
Y.


please include license files in repo + published crates

Both the Apache-2.0 and BSD-2-Clause licenses require that redistributed sources contain a copy of the license terms:

https://choosealicense.com/licenses/apache-2.0/
https://choosealicense.com/licenses/bsd-2-clause/

Compliance with these terms is required for Linux distributions which package (i.e. redistribute) this project (for example, because it's a dependency of maturin), but this would technically also apply to crates that are "officially" redistributed via crates.io.

Thanks for the quick fix!


Initialize 1.5.1.dev0 version

Coverage increased (+0.2%) to 88.834% when pulling 725c40580bec8c464bb70a0fc958d27be97b8200 on release/dev into 1c33b98701e865151a71d2d4024dbfa09de8cdf2 on master.


Master to Live

Docs Build status updates of commit df40b85:
:clock10: Full build: the average full build time is 12 min(s) 38 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit df40b85:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/mailboxes/Export-MailboxDiagnosticLogs.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/move-and-migration/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Syntax get/set-adserviceaccount seems wrong

See https://docs.microsoft.com/en-us/powershell/module/activedirectory/set-adserviceaccount?view=winserver2012-ps
and https://docs.microsoft.com/en-us/powershell/module/activedirectory/get-adserviceaccount?view=winserver2012-ps

#sign-off


MultiHashWrapper and Spawner are more appropriate to be libraries

Currently contract MultiHashWrapper is implemented as a contract. Because this module has no storage and no external functions, it is appropriate to implement this as a library.
Similarly for Spawner.
Recommendation: switch these to libraries
References:

MultiHashWrapper implementation: https://github.com/erasureprotocol/erasure-protocol/blob/4a3d98ce023a264a9f3c7ba62ef77a9207bba5fe/contracts/modules/MultiHashWrapper.sol#L10
Spawner implementation: https://github.com/erasureprotocol/erasure-protocol/blob/4a3d98ce023a264a9f3c7ba62ef77a9207bba5fe/contracts/modules/Spawner.sol

@fulldecent Using a library for Spawner would add gas overhead of a delegate call for every clone produced. I don't see a benefit for it?

A "library" contract with no external functions is implemented a little differently.

... code of internal library functions and all functions called from therein will at compile time be pulled into the calling contract, and a regular JUMP call will be used instead of a DELEGATECALL.
https://solidity.readthedocs.io/en/v0.5.13/contracts.html#libraries

So basically contract and library are equivalent here and the choice can be made based on which ever is semantically preferred or easier to reason about.

Ah, I see. Will keep as is for now