Add root GNU Makefile

The Make_SS_330_new.sh did not work for me.  So, I create a build file for GNU Makefile developers.
Usage
~/stock-synthesis$ make

This will build both safe and optimized programs of stock synthesis.

Elizabeth - please review and merge if OK

@johnoel this all looks good to me. I was able to compile your updates to stock synthesis locally and run the test models since the github action was not triggered on this pull request. However, if you could share with me why the Make_SS_330_new.sh wasn't working before you created GNU Makefile and share a bit more about what the GNU Makefile does, that would be very helpful. Thank you!

I just successfully build the executable using the new GNUmakefile via $ make on a Mac, but I had to change a couple things:

first comment out the first line ADMB_HOME=~/admb-main/ since my ADMB was installed in a different place.
I also had to add a "/" at the end of my existing ADMB_HOME variable since that was expected by the file.

I don't really understand the trade-offs of make file vs. shell script, but it seems like it would be fine to have both options available within the SS3 repo if they serve different needs.

The script is fine.  It just took some time to understand how to use it.
Anyhow, I just prefer a Makefile over a script.  It's easier for me.

Documentation of the status-quo compiling tools isn't great, but there's some info here: https://github.com/nmfs-stock-synthesis/stock-synthesis/blob/main/CONTRIBUTING.md#how-to-build-stock-synthesis-from-source. I like the idea of merging this request to add the make file (perhaps after removing the first line about ADMB_HOME) and adding a note about it in that CONTRIBUTING.md file.
Even if it just makes it easier to @johnoel to test things, that's still useful.

@johnoel and @iantaylor-NOAA Is the GNUmakefile just for compiling on linux/macs or can it be used for windows too? I'm on a mac right now until my replacement laptop comes in so I was testing it locally with that.

on my local windows, I use this make file.
Make_SS_safe.zip

I think if a Windows computer had all the right things set up it should be able to use the same make file, but the batch file Rick noted (which is in the repository at https://github.com/nmfs-stock-synthesis/stock-synthesis/blob/main/Compile/Make_SS_safe.bat) is working fine for the GitHub actions that compile for Windows, so I think the easiest path would be just sticking with what is currently working.

Yes, I agree on the .bat file. The .sh file was even working for me on my mac. I just was curious so that if needed, I could provide instructions in the Contributing.md for the GNUmakefile under both the windows and linux/mac sections, or just the linux/mac section.


Add Pp.Ast

Since we've introduced the injection of Format, we need a specialized type to
serialize Pp values. The introduction of Pp.Ast.t attempts to solve this.
I could have also shared the constructors of Pp.Ast.t and Pp.t.

In retrospect, maybe adding Format was a mistake after all. It complicates serialization without pulling its weight.

@Drup perhaps it's possible to change Format.t to a more initial encoding like Pp.t? It seems like a serious limitation that one cannot serialize and preserve the meaning of such values.

@Drup perhaps it's possible to change Format.t to a more initial encoding like Pp.t? It seems like a serious limitation that one cannot serialize and preserve the meaning of such values.

If it were designed today, yes, certainly. It's rather difficult to add now, given how %t/%a work, and their interaction with side effects. Closures are pretty much baked in. For a while I had a prototype of an Xprintf function that would return such a structured representation without closures, but it doesn't really work.

In retrospect, maybe adding Format was a mistake after all. It complicates serialization without pulling its weight.

What about to_ast fails when it encounter the Format constructor? After all, serialisation is a new feature of Pp and it seems ok to me to say that you have to be completely in the Pp world to use it.
FTR, independently of the discussion about Format, I think having this separate AST type is better as it means we are free to change the representation of Pp.t values without breaking backward compatibility.

What about to_ast fails when it encounter the Format constructor?

The to_ast in this PR allows for that. Just raise an exception inside the callback for Format values.

Indeed. But in practice, do we have anything meaningful to put in this callback? If all the use sites are just raising, then it feels superfluous.
And more generally, if we are able to turn a Format.formtter -> unit into an ast at the to_ast stage, then why not do it immediately instead of calling of_fmt?

And more generally, if we are able to turn a Format.formtter -> unit into an ast at the to_ast stage, then why not do it immediately instead of calling of_fmt?

That's a good point. I changed the function to return a result.

done


[hotfix] handle bad user identifiers in metadata

Purpose
fix/avoid errors handling social links in metadata records

Changes

skip non-iri-looking identifiers when building datacite records
correctly handle academia.edu special case in user.social_links

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

Ticket

Squashed as c062184503a62e538f6fcc6d746b9eadfd594a90, consider this merged :octocat:


Stadium: Full paralysis chance is 63/256

http://datacrystal.romhacking.net/wiki/Pokémon_Stadium:ROM_map#Full_Paralysis_check

Why are there two pull requests for this?


Update etcd to 3.5.6 and enable compact hash checks

What this PR does / why we need it:

Update etcd to 3.5.6 which includes a fix for the recently reported data inconsistency issue for a case when etcd crashes during processing defragmentation operation
Enable compact hash checks as per the recommendations from etcd for detecting data corruption

What type of PR is this?
/kind feature
Special notes for your reviewer:

There's no registry.k8s.io/etcd:3.5.6-0 image available yet, so I'll leave this PR as a draft until then.

Does this PR introduce a user-facing change? Then add your Release Note here:
- Update etcd to 3.5.6 which includes a fix for [the recently reported data inconsistency issue for a case when etcd crashes during processing defragmentation operation](https://groups.google.com/a/kubernetes.io/g/dev/c/sEVopPxKPDo/m/9ME3CzicBwAJ)
- Enable compact hash checks as per [the recommendations from etcd for detecting data corruption](https://etcd.io/docs/v3.5/op-guide/data_corruption/#enabling-data-corruption-detection)

Documentation:
NONE

/cherrypick release/v1.5

/cherrypick release/v1.4

/lgtm
/approve


Question: About license and forking

I've forked your repo to create a RethinkDB adaption of it and gave @reywood attribution. Is there anything in particular that needs to be done under the terms of your license?

Nope. Have at it, and good luck.

Okay thanks.


Validator: cache latest executed competition dates

If we can cache latest executed competition dates then we can evaluate if the tick should be run more precisely without the risk of not running the competition when validator is down during scheduled competition time.

done


Expose subscription ID to subscription data fetchers

DgsSSESubscriptionHandler was generating the subscription ID returned to the client,
but there was no way for the subscription data fetcher to get access to this ID,
which is useful for logging and debugging purposes. To rectify that, change
DgsSSESubscriptionHandler to use a Flux directly, which allows us to propagate
the subscription id in the context.
Now that DgsSSESubscriptionHandler is opinionated about which Publisher implementation
it uses, a lot of the code was also simplified by avoiding adapting the subscription
Publisher to the SseEmitter ourselves; instead the controller method simply returns
a Flux directly and lets Spring handle that. Another change is that any error condition
occurring before the GraphQL query is executed successfully (e.g., a Publisher is returned)
will result in a non-SSE response; that is, the status code of the response will
be non-200, and the error message will no longer be written as a single server-sent event.

After some discussion, we decided to handle propagating of the subscription ID separately from refactoring the code to leverage Flux. I'll close this PR in favor of #1001, and open a new one to handle the subscription ID.


[FEA]Audit 3.2.0 -  Read parquet unsigned types that stored as int32 physical type in parquet

Is your feature request related to a problem? Please describe.
This seems to be enhancement where support is added to read UINT_8 as ShortType, UINT_16 as IntegerType, UINT_32 as LongType to fit their range. Filed this issue to get opinion if there is any advantage in persuing similar to this for unsigned types.
https://github.com/apache/spark/commit/8c6748f
https://github.com/apache/spark/commit/820b465 - UINT_64
https://issues.apache.org/jira/browse/SPARK-34817

Background
Java does not have unsigned int primitives, such as uint_8, uint_16, uint_32 ......, so java developers often use larger int types to store these unsigned types.
The previous Spark just throws an exception when reading unsigned types: Parquet type not supported: INT32 (UINT_8).
This PR fixed this exception by casting to wider int: unit8 -> int16, uint16 -> int32, uint32->int64, uint64->decimal(20, 0), but spark-rapids now throw the exception like Type conversion is not allowed ColumnVector{type=UINT8} to ShortType.
Solution
I suggest adding upward casts for these types by using ColumnView.cast.

Now Spark CPU version reads UNIT8 as short int, I think Spark GPU version should align this.

Yes. I think we can fit this into the code that is used to downcast wider decimal types to the correct size. It also handles some aspects of schema evolution.
https://github.com/NVIDIA/spark-rapids/blob/9691bcee77e619aa71055a61a389fba41b17d207/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuParquetScan.scala#L609-L657

@revans2  UINT64 will be cast to Decimal(20, 0) which CUDF actually does not support.
Can we reopen this issue for trace after merged of uint8, uint16, uint32 support.

I would have us file a follow on issue for UINT64 instead. Decimal(20, 0) is not supported by CUDF or the plugin, so we will fall back to the CPU in that case. So this bug/feature will be as complete as it can be under the current code.

Will fall back to CPU when reading UINT64 and filed a new issue #3475.


fixFix internal program error causing client to get stuck

Fix incorrect catalog statements or program errors that cause the catalog to be created without an error prompt and instead get stuck

run buildall

run buildall


Make predictive_gradients more efficient

I have changed predictive_gradients to use gradients_X_diag instead of gradients_X. This is much quicker when there are many test points. The result is unchanged.

Codecov Report

Merging #599 into devel will not change coverage.
The diff coverage is 63.63%.

@@           Coverage Diff           @@
##            devel     #599   +/-   ##
=======================================
  Coverage   53.17%   53.17%
=======================================
  Files         203      203
  Lines       20324    20324
  Branches     2726     2726
=======================================
  Hits        10807    10807
  Misses       9022     9022
  Partials      495      495


Add script to wget multiple docker-machine bash completion scripts

Add script to download the 3 bash completion scripts for docker:
https://github.com/docker/machine/tree/v0.12.2/contrib/completion/bash
Would prefer to use a variable in the URL. How can I do that here?
https://raw.githubusercontent.com/docker/machine/**v0.12.2**/contrib/completion/bash/docker-machine-wrapper.bash
Fixes #4499

@gbarr01 To use the variable, replace v0.12.2 with v{{machineversion}}


Added vulcand support.

This PR adds Vulcand support. It only writes the upstream part as really that's all we should care about within registrator.
It registers all endpoints as HTTP. For my own use I terminate SSL further upstream.
This is my first foray in to golang, I copied the existing etcd backend and added the path vulcand requires.

There's a few newer PRs but I think ultimately we might not take any of them and instead support 3rd party plugins in a future release.

I take that back this ones been updated but yeah we probably won't pull this in. You can track 3rd party modules with this issue: https://github.com/gliderlabs/registrator/issues/241


Design the Add Review Search page

Add add_review_search.css
Modify add_review_search.html

Resolves: #119

Preview:

@ellaml @LeonRabinovich indentation fixed


Unbatch Fundus

This PR removes the remaining async logic from the main crawler and in the process merges CCNewsCrawler and MainCrawler logic. While this is a major redesign from the inside there is not much changing on the outside, but for the few things id did change I adjusted the documentation accordingly.
The main advantage of this redesign is that Fundus main crawler no longer operates in batches but runs every publisher independently using threads and queues. Now, bad connections, like timeouts and denied access no longer halt the pipeline because the crawler has to wait for a new batch.
Closes #344

@addie9800 Thanks for the review. This one is ready for another round. Maybe @dobbersc also want to give it a look.

@addie9800 Thanks for the review. This one is ready for another round. Maybe @dobbersc also want to give it a look.

I'm happy for now, except for the two still open comments I just replied to.


Mismatched height of input-group append/prepend elements in horizontal forms

Hello!
There seems to be a problem with input-groups in horizontal forms. Namely, If the form-group gets bigger (due to the label being long for example) the append/prepend elements follow the form-group size, while the input itself stays the same. This results in the append/prepend elements not matching their input size.
Reduced Test case: https://jsbin.com/pidudozuku/edit?html,output
Suggested Fix:
The simplest solution to me seems to be:
 .input-group {
   height: $input-height;
}

Here's the above in jsbin (with input-height hardcoded): https://jsbin.com/moqojozega/edit?html,output
Also adding either input-group-sm/input-group-lg prevents the problem for happening, but of course it changes the size of the input so it's not an ideal solution.
Operating System: Ubuntu 16.04
Tested On: Firefox, Opera, Chromium (latest versions)

Confirmed. I think setting height will not be an acceptable solution, but this also works:
.input-group {
  align-self: flex-start;
}

@mdo, I don't think it's related, and height: auto does not fix it.

@b-nik, just note that input-group is not only for inputs, it can contain e.g. a textarea or multi-line button. So, the fact that input-group-lg/sm sets the height of the form control inside is another bug, imo. It should use height: auto for textareas.

The problem doesn't exist in 4.1.2.
However in 4.1.2 the input grows which I'm not sure about visually:
https://jsbin.com/nahabanosi/edit?html,output

Is it right to have col-sm-9 and input-group at the same level, side by side in the same class attribut?
See horizonral form doc: div blocks wrapping input, checkbox, etc. have only one css class, .col*.
Reduced test case fixed: https://jsbin.com/vuletujofo/1/edit?html,output

Thanks, @florianlacreuse that actually worked :)

Good to hear.
@mdo @b-nik @alecpl Should this issue be closed or do we consider that there is still a bug somehow here?

Nope, the solution you provided is the way this should be fixed, thanks for the effort you put into this @florianlacreuse!

When using Prepend and Append in Input Groups, Alignment issue is occurring. Issue occurs when an Image is used in Append and Image height is more than 24px. PFA Screenshot

Issue does not occur in Bootstrap v4.0.0
Issue occurs on latest version v4.3.1

Operating system and version: Windows 10 Pro 64-bit
Browser and version: Chrome Version 73.0.3683.103 (64-bit) / Firefox 66.0.3 64-bit
JSFiddle: https://jsfiddle.net/fnasg6te/

Thanks for that solution @florianlacreuse ! :D
It fixed it perfectly !


How can I do T-SNE analysis on the classifier of the detector?

How do I do T-SNE analysis on the classifier of the detector? Is there any corresponding reference material based on mmdet? For example, to do T-SNE on the output of the FC layer classifier of Faster RCNN

I had a similar problem as well and i am all ears. I saved the logits by parsing it through the scores. Then did a t-sne analysis on the last layer logits. But this works as a post processing and not during the training process.

@abinav719 I think T_sne analysis can be done both during model training and testing, it mainly captures the output of feature weights and labels at forward. My current confusion is that I don't know how to get the correct classification label during testing via mmdet

During testing we cannot pass labels. So i got the bboxes and did reassociation to find which bboxes corresponded to the right classification label because u have true labels from annotations in xml for pascal voc

在测试期间，我们无法通过标签。所以我得到了 bboxes 并重新关联以找到哪些 bboxes 对应于正确的分类标签，因为你有来自 xml for pascal voc 注释的真实标签

Can you provide the t-SNE visualization code about mmdet, please? Thank you very much, and I am willing to communicate with you. I am very much looking forward to your reply.

在测试期间，我们无法通过标签。所以我得到了 bboxes 并重新关联以找到哪些 bboxes 对应于正确的分类标签，因为你有来自 xml for pascal voc 注释的真实标签

Can you provide the t-SNE visualization code about mmdet, please? Thank you very much, and I am willing to communicate with you. I am very much looking forward to your reply.

Have you been able to run the t-SNE visualization code? I want a copy of the code, too.


Flutter UI fails to inflate in window on Linux due to amdgpu_device_initialize failure

Steps to Reproduce

Install Flutter as a snap on Ubuntu.
Enable linux desktop support following :  flutter config --enable-linux-desktop
Run flutter create myapp.
Run flutter run

Expected results: App window should open with appropriate UI.
Actual results: Window opens but contents are empty and there is an error trace in the console.

Logs

[ +111 ms] executing: [/home/brian/snap/flutter/common/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +39 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] 37ebe3d82a9d5faeda7d3c1a6ad193030210a2cc
[   +1 ms] executing: [/home/brian/snap/flutter/common/flutter/] git tag
--points-at HEAD
[  +16 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.23.0-18.0.pre
[  +14 ms] executing: [/home/brian/snap/flutter/common/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/home/brian/snap/flutter/common/flutter/] git ls-remote
--get-url origin
[   +6 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +42 ms] Unable to locate an Android SDK.
[   +6 ms] executing: [/home/brian/snap/flutter/common/flutter/] git rev-parse
--abbrev-ref HEAD
[   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[  +48 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +66 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[ +170 ms] Starting incremental build...
[   +2 ms] Initializing file store
[   +9 ms] Skipping target: gen_localizations
[   +6 ms] complete
[   +4 ms] Launching lib/main.dart on Linux in debug mode...
[   +5 ms] /home/brian/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart
--disable-dart-dev
/home/brian/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/fr
ontend_server.dart.snapshot --sdk-root
/home/brian/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutt
er_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true
--output-dill /tmp/flutter_tools.LKQQMS/flutter_tool.VVDPZH/app.dill --packages
.packages -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill
build/01094840f26094a3fe371d8be6b9cb48.cache.dill.track.dill
--flutter-widget-cache
[  +17 ms] Building Linux application...
[  +19 ms] <- compile package:myapp/main.dart
[   +2 ms] executing: [build/linux/debug/] cmake -G Ninja
-DCMAKE_BUILD_TYPE=Debug /home/brian/myapp/linux
[  +91 ms] -- Configuring done
[        ] -- Generating done
[        ] -- Build files have been written to:
/home/brian/myapp/build/linux/debug
[   +4 ms] executing: ninja -C build/linux/debug install
[   +9 ms] ninja: Entering directory `build/linux/debug'
[+3636 ms] [1/5] Generating
/home/brian/myapp/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channe
l.h, /home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h
,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_standard_message_cod
ec.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_standard_method_code
c.h, /home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/brian/myapp/linux/flutter/ephemeral/flutter_linux/flutter_linux.h,
_phony_
[   +2 ms] [ +110 ms] executing: [/home/brian/snap/flutter/common/flutter/] git
-c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +33 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] [        ] 37ebe3d82a9d5faeda7d3c1a6ad193030210a2cc
[        ] [        ] executing: [/home/brian/snap/flutter/common/flutter/] git
tag --points-at HEAD
[        ] [  +10 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [        ] 1.23.0-18.0.pre
[        ] [  +13 ms] executing: [/home/brian/snap/flutter/common/flutter/] git
rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +6 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic
@{u}
[        ] [        ] origin/dev
[        ] [        ] executing: [/home/brian/snap/flutter/common/flutter/] git
ls-remote --get-url origin
[        ] [   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +47 ms] Unable to locate an Android SDK.
[        ] [   +5 ms] executing: [/home/brian/snap/flutter/common/flutter/] git
rev-parse --abbrev-ref HEAD
[        ] [   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] dev
[        ] [  +46 ms] Artifact Instance of 'AndroidMavenArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is
not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required,
skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
required, skipping update.
[        ] [  +52 ms] Artifact Instance of 'MaterialFonts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is
not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not
required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required,
skipping update.
[        ] [  +76 ms] Initializing file store
[        ] [   +5 ms] Done initializing file store
[        ] [  +30 ms] Skipping target: gen_localizations
[        ] [+1082 ms] Skipping target: kernel_snapshot
[        ] [+1262 ms] Skipping target: unpack_linux
[        ] [ +249 ms] Skipping target: debug_bundle_linux_assets
[        ] [        ] Persisting file store
[        ] [   +7 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +8 ms] "flutter assemble" took 2,795ms.
[        ] [  +53 ms] ensureAnalyticsSent: 49ms
[        ] [   +3 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +406 ms] [2/5] Building CXX object
CMakeFiles/myapp.dir/flutter/generated_plugin_registrant.cc.o
[  +32 ms] [3/5] Building CXX object CMakeFiles/myapp.dir/my_application.cc.o
[ +100 ms] [4/5] Linking CXX executable intermediates_do_not_run/myapp
[        ] [4/5] Install the project...
[  +14 ms] -- Install configuration: "Debug"
[  +15 ms] -- Installing: /home/brian/myapp/build/linux/debug/bundle/myapp
[        ] -- Set runtime path of
"/home/brian/myapp/build/linux/debug/bundle/myapp" to "$ORIGIN/lib"
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/icudtl.dat
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/lib/libflutter_linux_gtk.so
[ +101 ms] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/FontManifest.jso
n
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/AssetManifest.js
on
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/NOTICES
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +25 ms] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/packages
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/packages/cuperti
no_icons
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/packages/cuperti
no_icons/assets
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing:
/home/brian/myapp/build/linux/debug/bundle/data/flutter_assets/fonts/MaterialIc
ons-Regular.otf
[  +14 ms] Building Linux application... (completed in 4.5s)
[ +139 ms] amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed
(-13)
[        ] amdgpu: amdgpu_device_initialize failed.
[   +4 ms] ** (myapp:10853): WARNING **: 23:30:09.474: Failed to start Flutter
renderer: Failed to find visual 0x34325241
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.474:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.474:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.474:
gdk_window_show_internal: assertion 'GDK_IS_WINDOW (window)' failed
[   +5 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.481:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.481:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.481:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[  +12 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.494:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.494:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[   +1 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.497:
gdk_window_move_resize_internal: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.497:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.497:
gdk_window_get_position: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.497:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[   +1 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.499: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:09.499:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[   +7 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.508:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.508:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.508:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:09.508:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[  +32 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.543:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[   +1 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:09.544: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:09.544:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[+3697 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.243:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[   +9 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.257:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.257:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.257:
gdk_window_get_scale_factor: assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.257:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[   +2 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.261:
gdk_window_invalidate_maybe_recurse_full: assertion 'GDK_IS_WINDOW (window)'
failed
[        ] (myapp:10853): Gdk-CRITICAL **: 23:30:13.261: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.261:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +21 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.284: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.284:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +26 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.311: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.311:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.327: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.327:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +13 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.342: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.342:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +19 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.361: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.361:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +15 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.378: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.378:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +14 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.392: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.392:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.410: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.410:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +14 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.425: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.425:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +18 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.444: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.444:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.461: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.461:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +13 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.474: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.474:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +15 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.490: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.490:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.507: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.507:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.524: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.524:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +15 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.540: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.540:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +15 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.556: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.556:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.573: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.573:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +15 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.590: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.590:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.607: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.607:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.623: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.624:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.640: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.640:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.657: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.657:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed
[  +16 ms] (myapp:10853): Gdk-CRITICAL **: 23:30:13.673: gdk_window_get_parent:
assertion 'GDK_IS_WINDOW (window)' failed
[        ] (myapp:10853): Gtk-CRITICAL **: 23:30:13.674:
gtk_cairo_should_draw_window: assertion 'GDK_IS_WINDOW (window)' failed

Analyzing myapp...
No issues found! (ran in 1.3s)

[✓] Flutter (Channel dev, 1.23.0-18.0.pre, on Linux, locale en_US.UTF-8)
    • Flutter version 1.23.0-18.0.pre at
      /home/brian/snap/flutter/common/flutter
    • Framework revision 37ebe3d82a (5 days ago), 2020-10-13 10:52:23 -0700
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.11.0 (build 2.11.0-213.0.dev)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit
      https://flutter.dev/docs/get-started/install/linux#android-setup for
      detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit
      https://flutter.dev/docs/get-started/install/linux#android-setup for
      detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools

! Doctor found issues in 3 categories.

Cc @stuartmorgan

Turns out I have this issue on Ubuntu 20.10, but not on Ubuntu 20.04. Installed Ubuntu today and did not realize 20.10 was not yet released (though is coming out in a few days).

@brianji Given your last message, Can this be closed ?

No. Every possible environment crashes on ubuntu 20.10. Try web|chrome|linux.
Android emulator works like expected.

Sorry, there was version clash. Now everything works like expected.


Swagger document and Django Rest API's not working as expected

Pulled CVAT with commit ID of 011c4aa675381e12a45a7be35d02464f7d6ead8c
    commit 011c4aa675381e12a45a7be35d02464f7d6ead8c (HEAD, tag: v1.0.0-beta.2,
    origin/release-1.0.0)
    Author: Nikita Manovich<EMAIL_ADDRESS>    Date:   Thu Apr 30 22:09:28 2020 +0300

    Update changelog.

Built Docker and brought up CVAT services
    sudo docker-compose up --build -d

Created superuser of Django
    sudo docker exec -it cvat bash -ic 'python3 manage.py createsuperuser'

But I'm not able to access swagger documents. I tried with http://localhost:8080/api/swagger/ but the browser is redirecting me to http://localhost:3000
However, I got the OpenAPI document at http://localhost:8080/api/docs
I started using API as specified in the document - Following is my python script
import requests

url = "http://localhost:8080/api/v1/auth/login"

payload = "{\n    \"password\": \"test123\",\n    \"username\": \"gururaj\",\n    \"email\"<EMAIL_ADDRESS>headers = {
  'Content-Type': 'application/json',
  'Authorization': 'Basic Og==',
  'Content-Type': 'text/plain',
  'Cookie': 'csrftoken=KQuMhzzvtU7Zv1o9EqxfBhAxNzKSrXPFLe7NF0DKmd50IS5XnvyaYetz9f8lx2ZT'
}

response = requests.request("POST", url, headers=headers, data = payload)

print(response.text.encode('utf8'))

API Response
{
    "detail": "Invalid username/password."
}

Somewhat I had a doubt about superuser(Admin) is not a CVAT user. So I logged into Django Admin and made changes to the user group by adding the user to annotator, observer, user, and admin

Something wrong in the steps I'm doing or should it be fixed in the next release?
@nmanovic

@nmanovic drf-yasg is expected to serve on Allowed_hosts.
Update ALLOWED_HOSTS to IP of Host machine in the docker-compose.yml file
Creating a pull request shortly to update instructions in README.md file

@gururajdori , I will close the issue. It seems you have found a solution and send us PR. Don't hesitate to reopen the issue if it isn't fixed yet.


FileUploader layout redesign.

Please check if the PR fulfills these requirements:

[x] After these changes, the app was run and still works as expected
[ ] Tests for these changes were added (if applicable)
[x] All existing unit tests were run and still pass

Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):
Additional Notes:

I changed the for loop because the files value is actually a FileList type, and not an Array. It turns out it was throwing an error in Storybook because it couldn't find the forEach method on the FileList object.


AK/2.7 sync to CCS/2.7

Sync stuck on conflict in connect/runtime/src/test/java/org/apache/kafka/connect/runtime/distributed/DistributedHerderTest.java -Resolved by taking AK's changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

This was resolving a merge conflict from AK that would have otherwise been carried out by automation. Build passes, so I'm merging in w/o approval.


2 hubs, both as TV accessories - can only publish accessory as switch on first hub

I am running 2 hubs.  Both are using default "TVAccessory": true.
If I use "activitiesToPublishAsAccessoriesSwitch" for a specific activity, it works for ONLY the first listed hub in my config file.
If I add "activitiesToPublishAsAccessoriesSwitch" for a specific activity on the second-listed hub, it doesn't publish.

hi,
syntax seems to be bad for activitiesToPublishAsAccessoriesSwitch, need to be an array, like that :
"activitiesToPublishAsAccessoriesSwitch": ["Listen To Sonos"]

Thank you for the quick response. Unfortunately, when I make the suggested change (and this time include the "activitiesToPublishAsAccessoriesSwitch": ["Listen To Sonos"] for the second hub) I have the same result; only the first hub publishes the specified activity.

Can you share your logs (in debug mode if possible) ? Are you sure of the name of the activity on the second hub ? Is it published well on the second TV accessory ?

Found my error.  Definitely not a bug on your end.  The name of the activity on the second hub was "Listen to Sonos" with a lower case "t".  So the activities are case sensitive!!  Once I changed the name on my Harmony hub to match "Listen To Sonos" with a capital "T" and restarted Homebridge, everything is working perfectly.  Thanks for all your work on this - it's a great plugin that adds a lot of function to HomeKit.

Great, indeed it is case sensitive, maybe I could do it insenstivie indeed since that could lead to a lot of confusion !


.NET client for protocol

Addresses #62
This pull request introduces several updates and new features to the .NET SDK, including dependency updates, new client implementation, and test coverage. The most important changes are grouped into dependency updates, client implementation, and test coverage.
Dependency Updates:

Updated package references in samples/backend/csharp/ChatProtocolBackend.csproj to newer versions due to vulnerabilities in older ones.
Added centralized package version management in sdk/dotnet/Directory.Packages.props.

Client Implementation:

Implemented AiChatProtocolClient class in sdk/dotnet/Client/AIChatClient.cs to handle chat completions and file uploads.
Created IAiChatProtocolClient interface in sdk/dotnet/Client/Interfaces/IAiChatProtocolClient.cs to define the contract for the chat client.
Added AIChatClientOptions record in sdk/dotnet/Client/AIChatClientOptions.cs to configure the chat client.
Client implementation directly references the models, protocol, etc. from the backend area of the project. Ideally, this would be refactored into a Protocol library, but I did not do that with this PR to avoid a large change.

Test Coverage:

Added unit tests for AiChatProtocolClient in sdk/dotnet/Tests/Client.Tests/AiChatProtocolClientTests.cs to verify functionality.
Created test project configuration in sdk/dotnet/Tests/Client.Tests/Client.Tests.csproj and sdk/dotnet/Tests/Directory.Build.props. [1] [2]

Solution Configuration:

Added solution file sdk/dotnet/dotnet.sln to include the client and test projects.

moving to Draft while I work on a sample for this as well.


[Feature]:  hackathon is offline or online icon

Is your feature request related to a problem? Please describe.
the hackthon card should show if its online or only offline
please assign under gssoc'24
Describe the solution you'd like
a small icon to show
Alternatives
No response
Additional Context
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Will be covered under #828


Lmb 812 hide iv for districts

Description
Districts should never see the legislatuur module., they prepare it in the normal interface.
How to test

does not see the menu item (main and compact menu)
on mandataris search page the period is not disabled
on organen route the beheer fracties are enabled
the mandatarissen of 2025 - heden can be edited

When in another bestuurseenheid than district the legislatuur should work as before

I'm adopting this pr while Jonas is away :)

Looks good visibility wise But i cannot seem to open up the beheer fracties button? It works on master, DEV and test but not in this PR :/
To go to the fracties we add the hash bestuursperiode id and this one looks ok so not sure what was changed here, any idea?

This is because we do not have any fracties set for the period, maybe?

Looks good visibility wise But i cannot seem to open up the beheer fracties button? It works on master, DEV and test but not in this PR :/
To go to the fracties we add the hash bestuursperiode id and this one looks ok so not sure what was changed here, any idea?

This is because we do not have any fracties set for the period, maybe?

No that should not matter, I think it is because in the fractie page we don't allow selecting the bestuursperiod of a bestuursperiod with a installatievergadering that is not behandeld. I think we should remove the installatievergadering for bestuurseenheden that do not need one, with a migration.


Add advanced section for Service Discovery

Proposed changes

Support for LB service creation with elaborate params
Use service instead of dnsRecord  for Service Discovery tab. The fields of dnsRecord is a subset of service.
The newly added fields are hidden by default such as Session affinity and Annotations.
All of the extra fields in service are added in advanced section. User can config them via Rancher UI instead of YAML.

Types of changes

New feature (non-breaking change which adds functionality)

Linked Issues
https://github.com/rancher/rancher/issues/15070

Further comments
Today in Rancher UI there is only way to create an LB service for the workload - by setting up the port of LB type on the workload, so the underlying controller would create the LB service automatically.
The current limitation is you can't really set any extra parameters for the LB service like cloud provider specific annotations or session affinity. We should add support for it by allowing user to explicitly create a Load Balancer service with all the extra parameters via Services page, in addition to implicit-via-workload-ports way.

@vincent99 Updated. Thanks for the review.
Only An external hostname is the special case as it is a service with kind ExternalName. The unrelated options are hidden now.

The other 4 options are all services with kind ClusterIP.  Now they are headless services. So the options which won't work for headless services should be hidden as well.

Users can only see the other options when select Cluster IP, Node Port or Layer-4 Load Balancer.


Running Jatos with Java > 8

I just upgraded my Ubuntu version to the new LTS version: from 16.04 to 18.04 and the default JRE there seems to be version 10. When I try to start Jatos now, it fails with the message "Could not find Java version 8" (or something in that direction). Is it possible to let JATOS run on Java versions newer than 8, and how does one configure this if it is? Thanks!

JATOS right now only runs with Java 8. This is actually a restriction of
the Play framework that JATOS is using. As soon as Play will support higher
versions JATOS will too.
You can always install several Javas on the same system. So you can just
install Java 8 next to your Java 10. Of course then you have to switch
between both all the time. If I remember correctly on Ubuntu there is a
program helping you with that (update-java-alternatives). Probably the
easiest solution is to just use the JATOS version bundled with Java. Again
you can use it in parallel to your installed Java 10.
On Sun, Aug 26, 2018, 13:34 Daniel Schreij<EMAIL_ADDRESS>wrote:

I just upgraded my Ubuntu version to the new LTS version: from 16.04 to
18.04 and the default JRE there seems to be version 10. When I try to start
Jatos now, it fails with the message "Could not find Java version 8" (or
something in that direction). Is it possible to let JATOS run on Java
versions newer than 8, and how does one configure this if it is? Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JATOS/JATOS/issues/152, or mute the thread
https://github.com/notifications/unsubscribe-auth/AH1eBodYhCKPbCyxaPtcj10UhGUeZR9Qks5uUoe3gaJpZM4WMvyj
.

Alright, thanks. I haven't tried the docker image yet either, so maybe that just works.

Yes, the docker image should work too.
On Sun, 26 Aug 2018 at 17:28 Daniel Schreij<EMAIL_ADDRESS>wrote:

Alright, thanks. I haven't tried the docker image yet either, so maybe
that just works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JATOS/JATOS/issues/152#issuecomment-416046829, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH1eBs3qno8uPGVlV0t3gHJHifekCC7rks5uUr6wgaJpZM4WMvyj
.

Shall we keep this issue open, or close it since, as you described, it is related to the underlying framework, and not an issue of Jatos perse?

Yes, lets keep it open as a reminder for myself :)


SOCI Snapshotter is unable to get credentials from the credentials file

Describe the bug
The SOCI Snapshotter does not retrieve the registry credentials from the client (finch / nerdctl), instead the snapshotter attempts to use a credentials file, by default looking in /root/.docker/config.json. We do set a DOCKER_CONFIG variable in the VM, however this is set as a user's environment variable not the root environment variable (where we currently start the snapshotter as a background process).
If you attempt to lazy load a container image in Finch today from a registry that requires authentication (even if you have done a finch login), you will see that the container image is downloaded in full before the container is started. When checking the soci-snapshotter logs you will find that it does not have registry credentials.
Oct 26 12:18:23 lima-finch soci-snapshotter-grpc[8165]: {"error":"cannot unpack the layer: cannot fetch layer: unable to fetch descriptor (sha256:b3c399da943c0747be26ad2d7858e7c1eac894c51592dfe10c98b0737b07609d) from remote store: GET \"https://111222333444.dkr.ecr.eu-west-1.amazonaws.com/v2/nginxdemo2/blobs/sha256:b3c399da943c0747be26ad2d7858e7c1eac894c51592dfe10c98b0737b07609d\": credential required for basic auth","key":"finch/805/extract-665613406-Nxi4 sha256:2b81e2af1b742b8668716c321e420de4c844f14b7a67c16d46c238660f3acdf8","level":"warning","msg":"failed to prepare snapshot; deferring to container runtime","parent":"finch/804/sha256:ab18cb8eb19742f211a6f4cd6bc8a2ded56750b2b71a310d29a86998f3db0830","time":"2023-10-26T12:18:23.728717552Z"}

If we go down the approach of managing the SOCI snapshotter with systemd (https://github.com/runfinch/finch/issues/660) we could then pass in a environment variable to use the credential file mounted into the VM.
...
[Service]
Type=notify
ExecStart=/usr/local/bin/soci-snapshotter-grpc
Environment="DOCKER_CONFIG=/Users/<username>/.finch"
Restart=always
RestartSec=5
...

Steps to reproduce
$ export AWS_REGION=eu-west-1
$ export AWS_ACCOUNT_ID=111222333444
$ aws ecr get-login-password --region $AWS_REGION | finch login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com
WARNING: Your password will be stored unencrypted in /Users/<username>/.finch/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

$ finch run --snapshotter soci $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/nginxdemo2:latest
111222333444.dkr.ecr.eu-west-1.amazonaws.com/nginxdemo2:latest:                   resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:fd96e40d576375699bd94093a2a5005d857d252e25ab35e03294069e90d856da: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:7cbe3f4c79232396f3d55fafefb47f23aba5dee91934c68be4fc6a7e497a0b22:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:5aca968bda346aa3f3ae7e781a45d10a1f17df3d45a4bc05f201b7261e127c36:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:2b92a4a464539d6c28ffd6b40875226086ace1e24d6598d771d8a65a6938acb1:    downloading    |++++++++++++++++++++++----------------| 35.0 MiB/59.6 MiB
layer-sha256:b3c399da943c0747be26ad2d7858e7c1eac894c51592dfe10c98b0737b07609d:    downloading    |++++++--------------------------------| 28.8 MiB/179.7 MiB
elapsed: 12.0s                                                                    total:  63.8 M (5.3 MiB/s)

This image is being downloaded in full (see the downloading next to each layer).

To help debug the issue as quickly as possible, we recommend generating a support bundle with finch support-bundle generate and attaching it to this issue. This packages all Finch-related configs and logs into one file.

Verified that soci-snapshotter is able to lazily load images now.
$ sudo finch run --snapshotter soci<PHONE_NUMBER>53.dkr.ecr.us-west-2.amazonaws.com/rabbitmq:latest
020023120753.dkr.ecr.us-west-2.amazonaws.com/rabbitmq:latest:                     resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:e0d542c428854958d1d580f9f1f8ecab59e538743fa3e2c5f4be2221e2c7835c:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:32e16c01355c4af22da981ede96fe357ff5d33ee68478ba389db8a4ddbd7c937: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:152ffd7f55d350d98ec491206a0ecaae9707be48b10ec47fe4179f81e7c0cba8:   done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 1.7 s                                                                    total:  12.0 K (7.1 KiB/s)
=INFO REPORT==== 22-Nov-2024::19:58:44.781404 ===
    alarm_handler: {set,{system_memory_high_watermark,[]}}
2024-11-22 19:58:48.122836+00:00 [notice] <0.44.0> Application syslog exited with reason: stopped
2024-11-22 19:58:48.130691+00:00 [notice] <0.254.0> Logging: switching to configured handler(s); following messages may not be visible in this log output
.
.
.


[DRAFT] Naive shim attempt for event-target-shim to enable functionality on react-native

Not sure exactly where this should go so I put it in both files that depend on PartySocket
Attempting to address #6

Closing with: https://github.com/technoplato/StatelySkyShimDemoReactNative2/pull/1#issuecomment-1766990335

@Andarist Thanks for your quick action on this.
Since what is currently in main now works, can we go with it for now? I think I tried what you're suggesting now already and it did not work.
Here is the commit where it's working: https://github.com/technoplato/StatelySkyShimDemoReactNative2/commit/243b0ab79602f4bf0bd2c221507d6dd323b94b11#r130225625


V1.3

Github would not let me push the Cross compiling error fix. Here's what i did to fix the memory error when cross compiling from Ubuntu.
Delete lines
https://github.com/duality-solutions/Sequence/blob/master/src/script/interpreter.cpp#L10
&
https://github.com/duality-solutions/Sequence/blob/master/src/script/interpreter.cpp#L1269-L1276

tACK


Unifying glossary items format

Why:
The items "GitHub Marketplace" and "Public Extension" were displayed in smaller size (5 times #) than the rest (4 times #)

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@carloshvp Thanks so much for opening a PR with this fix! I'll update the branch and get this merged once tests are passing 🍏


Don't redefine methods

bundler/gems/webdrivers-ec5a9d9d5e03/lib/webdrivers/selenium.rb:6: warning: method redefined; discarding old driver_path
gems/selenium-webdriver-3.141.0/lib/selenium/webdriver/chrome.rb:34: warning: previous definition of driver_path was here
bundler/gems/webdrivers-ec5a9d9d5e03/lib/webdrivers/selenium.rb:12: warning: method redefined; discarding old driver_path
gems/selenium-webdriver-3.141.0/lib/selenium/webdriver/firefox.rb:51: warning: previous definition of driver_path was here
bundler/gems/webdrivers-ec5a9d9d5e03/lib/webdrivers/selenium.rb:18: warning: method redefined; discarding old driver_path
gems/selenium-webdriver-3.141.0/lib/selenium/webdriver/edge.rb:33: warning: previous definition of driver_path was here
bundler/gems/webdrivers-ec5a9d9d5e03/lib/webdrivers/selenium.rb:24: warning: method redefined; discarding old driver_path
gems/selenium-webdriver-3.141.0/lib/selenium/webdriver/ie.rb:30: warning: previous definition of driver_path was here

Does this gem monkey patch selenium?
Is there a better way to do it?
If not, then can use undef driver_path first.

Yeah, it does - https://github.com/titusfortner/webdrivers/blob/master/lib/webdrivers/selenium.rb
undef driver_path should do it. The only other, less ideal way I can think of is asking the users to define the driver path(s) in their project. Will defer to @titusfortner on this.

Does Webdrivers::Chromedriver.update actually do anything? I'm assuming you are downloading the web driver executable on demand and that's the entry point to do so?

I'm assuming you are downloading the web driver executable on demand and that's the entry point to do so?

It is the entry point for automatic updates. You could call it in your project to trigger an on-demand update check, but it is not required.

Right, but calling driver_path invokes #update which will download the required files. The point is, it only downloads the files when calling driver_path which is invoked from the Selenium::Webdriver::$Browser#initialize. Otherwise, you could just write Selenium::Webdriver::Chrome.driver_path = Webdrivers::Chrome.update or whatever it is.

You don't want to force users to download binary they aren't going to use.

In what case would a user not use the downloaded driver binary?

If I'm on a mobile connection I don't want to download files I'm not planning on using.

don't want to download files I'm not planning on using.

This at first makes it sound like you don't want to download a driver at all. But I am not sure how you'll interact with the browser without a driver. So let me confirm what I think you're implying - you basically want to disable automatic/forced update checks if you're on mobile or for whatever other reasons. Is that right?
P.S. I'm new to the dev side of selenium and drivers, so please feel free to share what the big picture is and what I'm missing here.

The main issue here is to avoid printing warnings due to redefining methods.
undef is one way, but another way is use the setters that are given, e.g. https://github.com/SeleniumHQ/selenium/blob/2abd80f236d1a7459ef638e96af8c4efd86b4abd/rb/lib/selenium/webdriver/chrome.rb#L31-L34
In order to do this, you'd need to do something like:
require 'webdrivers/chrome'
WebDrivers::Chrome.use! # Fetch the chrome driver, and invoke Selenium::WebDriver::Chrome.driver_path=

Thank you for the code example! I agree, that does look like a good approach to avoid the warnings. I'm adding this to the v4 milestone.

We shouldn't need the monkey patches, they were just the easiest way to get it working. @kapoorlakshya this is one of the things I brought up with you in a PM that we should fix, I just didn't add it to our milestones. :)
Thanks @ioquatix for the input on this.

Of note though, automatic updates will still be the default when the driver is called. If you do not want to get an update, you need to explicitly set your desired version.
Actually, that's why we did monkey patch so that we didn't need to use a shim or do the update when required, and wait until the specific service class was initialized. I'll have to think if there's a good alternative here. Maybe we can add a hook to selenium to extend this.

As of webdrivers 3.8.0, if you are using Selenium 3.151.59 or higher, it will call a proc rather than requiring the monkey patch.


Installed extension contributes command but does not activate

https://github.com/vuejs/vetur/issues/728
User is on 1.21.0. The situation is:

Vetur is the only extension installed. Log reports the installation as successful.
The command contributed by Vetur, vetur.generateGrammar is being loaded into VS Code.
Vetur's client code is not being activated at all.
This issue does not happen on Insider.

@alexandrudima Giving to you since @sandy081 is out.

NVM the issue seems to be user associating Vue files with HTML files.


update blog section

blog section on website don't have all the blogs written by participants.Update it.

I'll do it

@Ace-Bansal assigned


Add a .contains(v) method to MinOptMax that returns true if min <= v <= max.

Could be implemented using the __contains__() dunder method for the syntax number in MinOptMax(1, 2, 3).


Error when adding custom repository

Hi,
I try to add this to the Custom repositories as instructed as described in the installation instruction. I'm getting an error messages that says "<Plugin Danielhiversen/home_assistant_tibber_custom> Repository structure for 0.5.1 is not compliant"
What is the problem?
//Per

@pe22ad  You probably need to choose "Integration" and not "Lovelace". At least that worked for me.
Please respond whether it works for you or not, so that the issue can be closed.

My misstake, now it works! Thanks!

I guess this issue can be closed now, @Danielhiversen


Command now follows general guidelines for parameters:

added short options (flags)
possibility to pass multiple option flags in a single parameter (-abc same as -a -b -c)
combined option flags are read until the first option value is met
option values can also be passed using a space ('=' is not required)
'--' means the end of options; all following parameters are interpreted as arguments

Can you fix the singular StyleCI issue? (It's so whiny, but it's not wrong.)

Also, is this complete? Travis correctly states that Parable\Console\Exception: Value required must be one of the OPTION_VALUE_* constants.
In this PR, you didn't update the check in https://github.com/devvoh/parable/blob/795506db0d0c89c3735625928d4e9336e9c8e251/src/Console/Parameter/Option.php#L28 to also take the OPTION_FLAG into account, which is one of the changes made to Options.php in your previous PR (#43).

Ah yes of course, forgot! The setValueRequired name is no longer a good name but changing it would break backwards compatibility. I've added setIsFlag which could be called from the constructor but then the check for the constant would determine which method to call. Up to you which way to go, of course.

I'd say rewrite the logic to incorporate the flag setting, leave setValueRequired() and re-route it through the new logic, and @deprecate it. But I can also take care of that part if you'd like :smiley:


WGSL: WGSL doesn't support arrays in uniform memory, with element strides less than 16 bytes

The tests/compute/buffer-layout.slang sample contains a struct with an element of type float2 c[2];, and the struct is used in a constant buffer.
The corresponding WGSL member declaration is array<vec2<f32>, i32(2)>, so the array element stride is 8.
WGSL requires that array elements have alignment 16, but it doesn't silently change the layout of the array.
Instead it prints an error message suggesting to use vec4 in the array type, instead.
Error while parsing WGSL: :14:22 error: 'uniform' storage requires that array elements are aligned to 16
bytes, but array element of type 'vec2<f32>' has a stride of 8 bytes. Consider using a vec4 instead.
    @align(16) c_0 : array<vec2<f32>, i32(2)>,
                     ^^^^^^^^^^^^^^^^^^^^^^^^

We should work around this.
If we instead emit array<S, i32(2)> where S is a struct containing the vec2<f32> (or whatever other type with stride less than 16), then it should work because the size of S will get aligned up to 16.

@bmillsNV Can we find someone to work on this for Sprint 13?

@bmillsNV Can we find someone to work on this for Sprint 13?

As discussed during yesterday's sync meeting, this is not needed for WGSL milestone 1.


Knapsack with duplicate items

Related Issue

Knapsack with Duplicate Items #1226

Proposed Changes
I have added the following things: -

Problem Statement
Examples
Explanation
Pseudo Code
Code
Time Complexity & Space Complexity

Additional Info

Link of the Problem Statement

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

We were supposed to find the maximum profit provided that we do not exceed the knapsack capacity and an item can be taken any number of times.

I have added the Problem Statement, Examples, an Explanation on how to approach this problem, a commented Code, Pseudo Code,  and written the Time Complexity and Space Complexity. And finally updated the README.md.

This change helps to solve a very famous problem of Dynamic Programming i.e. Knapsack with Duplicate Items and this problem helps in understanding the concept of Dynamic Programming.

I coded this problem in VS Code and tested the given problem on the test cases in the range 1 ≤ N, W ≤ 1000,1 ≤ val[i], wt[i] ≤ 100. And it is working fine for them.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Input: N = 2, W = 3
Input: N = 4, W = 8

rename Explanation to Algorithm in readme

rename Explanation to Algorithm in readme

The requested changes have been made. Please review my PR.

LGTM🌟


Remove full object path in docs

Is it possible or desirable to remove the full paths to the functions and classes? I find it a bit congested, repetitive, and not working on some screen dimensions. The alternative might be easier on the eyes too.

Alternative would be
clv
    distributions
    models
        basic
        beta_geo
            BetaGeoModel
        ...
    plotting
    utils
mmm

and also reflected in the top breadcrumbs as well as top object name.
I'd be willing to look into implementing

I think in order to do this, the tree has to be manually defined. Like in the pymc docs

@OriolAbril should be able to confirm if there's no more automatic way

Looking at the source code from autodocs
Not sure that it is an option

I'll run some tests. There are multiple elements to consider though, all seem to be the name, but are different concepts.
I think the title (in blue) and the text shown in the sidebar will be the same thing. This can be the name only (not the full import path) and I think I can change it. This should be doable with autosummary templates. I can open a PR and see from there.
The object name (in black right below, here prepended by class) should, in my opinion, show the full import path where you expect users to import that object from. Users don't need to know about the specific file a function is found in, i.e. I expect everyone to use pymc.sample, so the docs should use that; the fact that sample is actually in pymc.sampling.mcmc is either useless or confusing for the average user (note this is currently wrong in the PyMC docs but there is a PR open already). However, this can make it impossible to have completely automatic api docs generation and may force you to list all the objects in the public api with their preferred import path (that's it though, only listing them and once it's done it only needs changing if the public api changes).
Yet a different element is the url for that page, over which there is significantly less control but there might also be some ways of shortening it.


fix(camera): resultForVideo uri in iOS13

In iOS 13, videos' uris are not being retrieved properly as this issue describes: https://github.com/apache/cordova-plugin-camera/issues/506#issue-496782771
Closes #506
Platforms affected
iOS
Motivation and Context
This PR aims to solve that bug ir order for the plugin to retrieve the file's uri properly. Full credit for this solution to https://github.com/apache/cordova-plugin-camera/issues/506#issuecomment-534070130.
Description
Please see https://github.com/apache/cordova-plugin-camera/issues/506#issue-496782771
Testing

Checklist

[ ] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change
[ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[x] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[ ] I've updated the documentation if necessary

Can you edit the PR to include one of the keywords that signals that this issue closes #506
Github is bit picky, you must be explicit "fixes " for example.
https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords

Done 👍

Please,
How to use this PR in my package. json like : git+https://github.com/apache/cordova-plugin-inappbrowser.git#27fe8ec8d4db84b34700d32c1f1351c9189cb951 ?

Can you edit the PR to include one of the keywords that signals that this issue closes #506
Github is bit picky, you must be explicit "fixes #issueTag" for example.
https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords

Hey @breautek am I missing anything else?

@guillem-sopra I'm not very experienced in the ios codebase, nor do I have apple hardware to test so I'm unable to make a code review.

How to use this PR in my package. json like : git+https://github.com/apache/cordova-plugin-inappbrowser.git#27fe8ec8d4db84b34700d32c1f1351c9189cb951 ?
Because, i use ionic cordova to build one of my app to iOS

@guillem-sopra I'm not very experienced in the ios codebase, nor do I have apple hardware to test so I'm unable to make a code review.

😢  How do you usually proceed in cases like this, then? Is there anybody I can 'enforce' to code-review/test this PR?

@guillem-sopra I'm not very experienced in the ios codebase, nor do I have apple hardware to test so I'm unable to make a code review.

How do you usually proceed in cases like this? Is there anybody I can 'enforce' to code-review/test this PR?

Cordova is entirely volunteer driven so I can't "force" anybody to do a PR.

Anybody to help, please ?
i use ionic cordova to build one of my app to iOS, and the last release not working - no video can upload to my server. And this fix could solve my issue.
Anybody to help, please ?
Or How to use this PR in my package. json like : git+https://github.com/apache/cordova-plugin-inappbrowser.git#27fe8ec8d4db84b34700d32c1f1351c9189cb951 ?
Please !

Hi, any update on this? Ty for any feedback in advance 🙏 😞

When will this be merged and released?

#506 @fvadouko you can add a cordova plugin from github repository with the following command
cordova plugin add github_url

for example:
I just forked the repo from @guillem-sopra (thank you for the PR) then I added a fixed plugin from github repository
cordova plugin add https://github.com/onatcipli/cordova-plugin-camera/tree/fix/camera-result-for-video-url

Does this work for you, guys? Because I still have a path with trim fragments and after closing, the app video file is not available

Hi @wingo7 , if you read the whole original issue, you'll see that in addition of the plugin source code solution, you'll need also to patch the fileUri after the plugin call:
fileUri = await this.camera.getPicture(options);

// XXX: fix path for file:// protocol in iOS 13
const indexOfFilePrefix = parseInt(fileUri.indexOf('file://'), 10);

if (indexOfFilePrefix === -1) {
    fileUri = `file://${fileUri}`;
}

I hope this help you 👍

@rricamar the problem was in the other, I've changed code in the wrong place, after changing code by path: 'projectName/platforms/ios/projectName/Plugins/cordova-plugin-camera/CDVCamera.m' it works for me, thanks for replying me.
Hope, my answer help the others, who faced with it

As long as I know @guillem-sopra is not working anymore on his previous company, so don't expect any changes on this PR

Look @jcesarmobile man, this is sad. I created this PR 5 moths ago, coming form an issue that went unattended for long (with lots of comments of users asking to be fixed and released). I didicated also hours form my spare time to get the code, test it and create the PR (crediting the original poster). I am not an Objective-C nor Cordova plugin developer, I just wanted to help. Now, 5 moths later, you request changes, which seem to be really simple to implement to an experienced Objective-C developer. As I said, I am not that, nor I have the project's code or the needed devices to test.
I know OSS is frustrating, it relies on developers' good will and people sometimes can be rought with their demands. But I think this is not the case: this issue was absolutely abandonded. IMHO, not attending the issue with the level of activity it had for 5 months can't be considered mantaining a project. If anyone does not have the proper time to do it, its totally undestandable, but it should remove himself from the project. If nobody can, then the project must be marked as unmaintained or deprecated.
I am going to try to do my best to implement the changes requested, but man, publicly complaining on twitter, ommitting that the issue was ignored for moths (a key point in this situation), all by a thumbs downreaction ... not fair.

OK, I've just tried last commit of the PR and it works, for test it:
cordova plugin rm cordova-plugin-camera
cordova plugin add git+https://github.com/guillem-sopra/cordova-plugin-camera\#7e28e1d3456d7f12591983d7c5a70fe9cab2a40c

Tested on an iPad Mini (iOS 13.3.1)
Pls @jcesarmobile check it out again since maybe your request changes won't allow merge, ty 👍

Hey @jcesarmobile I saw bfa38fed2c9141d614ebbbe5786f3904f7a90202, does it mean this PR  is no longer needed? Hope it gets released soon, ty 👍

any update on this issue?

This issue knocked me out for hours. When will it be merged?

this problem is not present on 5.0.0

@jcesarmobile Thanks, but it doesn't work as expected for ios 14.1, WKWebView mode only, for cordova-ios 4.5.0, or cordova-ios 5.1.1. The problem is that I can't see the image or video after restarting the app.
error in console:
Failed to load resource: (file path here) The requested URL was not found on this server.

this problem is not present on 5.0.0
Jus tested this with 5.0.0, and this problem was still very much present.

In 5.0.0 we still see an invalid non proprietary FILE_URI with no access to work with, like:
file:///private/var/mobile/Containers/Data/PluginKitPlugin/4D7CFBAC-1D1E-4CCD-8F79-5C0E3FC0E2C8/tmp/trim.F82BBDFE-D013-4122-942D-45459045E3A5.MOV


The demos on the webpage do not play on my left speaker

My friend confirmed. Not sure if the problem is with the files used or the whole library.
On both windows 8.1 and windows 10 with newest chrome

This is a duplicate of https://github.com/CreateJS/SoundJS/issues/182
This has been resolved in the latest NEXT version in GitHub, and patched on the CDN. If you need a version of 0.6.1, there is a branch for it in GitHub as well (https://github.com/CreateJS/SoundJS/tree/0.6.1-HOTFIX). The website might not have the latest version in the demos, so I will update it ASAP.

This has been fixed on http://createjs.com. Thanks for the heads up.


tintColor doesn't work on Android

The title says it all. It works on iOS simulator. Here is the style:
<View className="fab colored" style={{
  alignItems: 'center',
  justifyContent: 'center',
  height: 40,
  width: 40,
}}>
  <Image
    className="icon"
    style={{
      width: 24,
      height: 24,
      tintColor: 'white', // won't work
    }}
    source={{uri: "someImageUrl"}} />
</View>

cc @mkonicek This is quite useful and should be possible to implement on Android for just Images.

:+1: this is an extremely useful feature

'tintColor' works only when borderRadius is set, because of a bug in fresco (the android image library that is used in react-native-android). This bug will be fixed in the next version of fresco.

See also: Known Issues
Updated here: https://github.com/facebook/react-native/commit/0962d8f33bb55fe31038fb0f8a7c1d8c9acbbf2b
There's a small missing feature in the website generator that doesn't add the ios badge to styles.

@andreicoman11 thanks for the fix! Awesome work guys.


OSError: can't find model "en"

Im trying to make a simple discord chatbot, and I keep getting the error: OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
I have installed chatterBot using pypy and am using python 3.7.3, using a Mac

Traceback (show)
Traceback (most recent call last):
  File "/Users/mineinjava/Documents/ChatterBot AI/bot.py", line 7, in <module>
    cBot = ChatBot('AI')
  File "/Library/Python/3.7/site-packages/chatterbot/chatterbot.py", line 28, in __init__
    self.storage = utils.initialize_class(storage_adapter, **kwargs)
  File "/Library/Python/3.7/site-packages/chatterbot/utils.py", line 33, in initialize_class
    return Class(*args, **kwargs)
  File "/Library/Python/3.7/site-packages/chatterbot/storage/sql_storage.py", line 20, in __init__
    super().__init__(**kwargs)
  File "/Library/Python/3.7/site-packages/chatterbot/storage/storage_adapter.py", line 23, in __init__
    'tagger_language', languages.ENG
  File "/Library/Python/3.7/site-packages/chatterbot/tagging.py", line 26, in __init__
    self.nlp = spacy.load(self.language.ISO_639_1.lower())
  File "/Library/Python/3.7/site-packages/spacy/__init__.py", line 27, in load
    return util.load_model(name, **overrides)
  File "/Library/Python/3.7/site-packages/spacy/util.py", line 139, in load_model
    raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

Spacy provides functionality where you can link a model to an alias, such as en_core_web_sm to en.
Here are a few examples to get you started:
python -m spacy link en_core_web_sm en

python -m spacy link de_core_news_sm de


Service worker cached empty lazy-loaded chunks

Versions
Angular CLI: 1.7.4
Node: 8.9.4
OS: win32 x64
Angular: 5.2.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker

@angular/cdk: 5.0.0
@angular/cli: 1.7.4
@angular/flex-layout: 5.0.0-beta.14
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.5.3
webpack: 3.11.0

Repro steps
I'm not sure if there is a strict set of steps to follow.  It seems to happen intermittently on my mobile device (Galaxy S6) with Chrome.  Our app has 10~ lazy-loaded modules and a pretty standard service worker config.  This may have something to do with a window reload occurring during an update but I can't confirm.
Observed behavior
A new version of our app is deployed which triggers an update.  After activation of the latest version 2 of the 10 cached chunks were empty.  I've confirmed this via remote developer tools.  The error being thrown by the application when navigating to one of the affected lazy loaded modules is: Error: Loading chunk X failed.
The network tab shows the request for the chunk being handled by the service worker but the response is empty.  Stranger is that cache storage shows the cached chunks with a proper content length but when viewed they are empty.
The same update activated fine on my desktop version of Chrome.
Desired behavior
Cached chunks should not be empty.

I was taking a closer look at what was in "Cache Storage" and noticed something odd.  There are several entries in there all with the same ID and there was one with a different ID. In fact there were two entries with the same general name but the ID was different:
ngsw:<id>:assets:app:cache

I looked at the one with a different ID and it had only 2 items in it, both were the chunks that were failing.  I'm not sure if this will mean much to anyone but just trying to give as much detail as possible.

I'm going to post this to angular issues instead of CLI. Closing.


Using named parameters with Azure Databricks?

I must be missing something. I want to incorporate named parameters into some of the queries we are using for an application at work. We are using Databricks on Azure with version 1.6.1 of this library. I have confirmed that I can send a POST request to /api/2.0/sql/statements on our Databricks instance using parameters, so I know that our instance supports this functionality.
I cannot get this library to work with named parameters. Whenever I try to use them, I get this error:

The parameters I pass to DBSQLClient.connect are as follows:
{
    "host": "*********.azuredatabricks.net",
    "path": "/sql/1.0/warehouses/*********",
    "token": "dapi************************",
}

Using this connection configuration, I can query Databricks just fine as long as I don't use named parameters.
If I try to use 2.0 instead of 1.0 (i.e. "path": "/sql/2.0/warehouses/*********"), I get nothing but 404 errors:

I feel like I must be missing something obvious here, but I can't figure out what it is.

Thanks for your report. This is an issue with the connector itself. We're discussing internally how best to resolve.

Awesome, thanks for the quick turnaround on the fix! This isn't urgent for me, but do you have a guesstimate for when this will be released?

@mccolljr I'm going to cut a release today/tomorrow. I'll ping you once it's available on NPM

We just cut a release (https://github.com/databricks/databricks-sql-nodejs/releases/tag/1.7.0) with the fix mentioned by @susodapop. Please give it a try and let us know if it helps with your issue.
@AmitHBhagat you need to upgrade to 1.7.0 in order to use ordinal parameters. Please check out the release description I shared above - it contains usage examples. Feel free to ask if any issues.
And thank you for the patience 🙂

@kravets-levko Thanks for replying.
I had tried to upgrade to the latest version (probably 1.5 or 1.6) in September 2023, but somehow I was getting "TypeError: args.at is not a function" while querying data bricks.
Although, I will try to upgrade to the latest of 1.7.0. I found that there is a provision to set ordinalParameters in the options to the executeStatement() function.
Appreciate your help bro 🙏.

@AmitHBhagat can you please share afull stacktrace? I can't find any usage of .at in compiled sources, so most likely it comes from one of our dependencies. Also, I need to know which Nodejs version you use. Thank you!

@AmitHBhagat I think I've found the reason - the only dependency that uses .at() method is apache-arrow. A quick workaround is to upgrade Node to 16.6.0 or newer, meanwhile we'll think about proper solution for this

Hi @kravets-levko, thanks for tracing the issue from your end, my sincere apologies for the lateness in reply (I was away for a while).
I tried upgrading @databricks/sql to the latest, but getting the same TypeError: args.at is not a function emanating out of the file apache-arrow/table.js:56:18.
Since the application is deployed in Azure web container (it uses node:14-slim) and it has a lot of legacy dependencies making it very difficult to upgrade to node 16.6.0 or newer.
Thus temporarily I have used some makeshift workaround to bypass the need for parameterized query.
However, please let me know if you devise a proper solution.
I really appreciate you help bro.

@AmitHBhagat You may try to use polyfill (e.g. core-js). I haven't try it yet, though, our fix probably will be somewhere in that direction. You basically need a polyfill for Array.at() and TypedArray.at() to make the library working

Yes, right, that might work, I will give it a try. Thanks, @kravets-levko for suggesting.

@AmitHBhagat @mccolljr both your issues should be resolved in latest library version. If you still have any issues with the library - feel free to re-open this or create a new issue


Consuming defective after logging in again

What is your Quests version / build number (do not say "latest")?
Quests-4.0.5 Build-251
Describe the problem and how to replicate it.
We have now installed build #251 on our two 1.16.5 servers and adapted our Datebnak to MySQL in the configs. Unfortunately after the quest has been accepted, the counter still does not went up after changing server or relog.
Since the plug-in is installed on both server, many warnings are written to the log. The NPC for these quests is currently only on one server.
Any console errors to post using a pastebin?
https://pastebin.com/FbvPPmt4
If applicable, can you provide an example quest from quests.yml using a pastebin?
https://pastebin.com/dJwzZcVm

If you are using NPCs for quests, then NPCs of the same ID would need to be present on both servers. Either create the NPCs on all servers or remove the NPC attachment from those quests.