Initialization takes a long time

Pod initialization is taking over 2 minutes before the site is available.
> azds up
Synchronizing files...9s
Installing Helm chart...1s
Waiting for container image build...4s
Building container image...

***build steps omitted***

Built container image in <1s
Waiting for container...50s
Service 'ebaa-api' port 80 (http) is available via port forwarding at http://localhost:59542
press Ctrl+C to detach

After this, it takes another 1:20 before I see output from my application and it is available at http://localhost:59542. Pod just shows it is initializing during this time:
> kubectl get pod -n jason
NAME                        READY   STATUS     RESTARTS   AGE
ebaa-api-75858f8dcb-9ppvx   0/2     Init:0/4   0          2m10s

Version information
> kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.10", GitCommit:"37d169313237cb4ceb2cc4bef300f2ae3053c1a2", GitTreeState:"clean", BuildDate:"2019-08-19T10:44:49Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}

> helm version
Client: &version.Version{SemVer:"v2.15.0", GitCommit:"c2440264ca6c078a06e088a838b0476d2fc14750", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.0", GitCommit:"c2440264ca6c078a06e088a838b0476d2fc14750", GitTreeState:"clean"}

No longer experiencing issue.


Powercell doesn't accept shift-clicking items into it.

Issue description: Shift-clicking is not working properly in the power cells.
Steps to reproduce: Shift-click a chargeable item while in the power cell GUI. The item will not be moved like expected.
Versions:

Minecraft: 1.12.2
Forge: <IP_ADDRESS>76
McJtyLib: 2.6.7
RFTools: 7.33

For some reason I can't edit the post. Anyway, I've tested this with the Charged Porter and the Advanced Charged Porter.


Add support for Mac M1

The TimescaleDB image used in the demo is not provided for ARM architectures and so the demo will not work on M1-based Mac computers.

@ramonguiu we need a docker image that includes the timescaledb-toolkit and ideally the promscale extensions for the ARM architectures.

The HA version actually includes it. Closing the issue as it seems working now. At least I'm running it on my M1 too.


Added VirtualMachineListRecursive

Added function to allow for recursive searching of virtual machines

Added recursive extensions to all finder list methods wrapped the original functions for backwards capability


Migrate internal hello_flutter to new Android embedding

Migrate internal hello_flutter to new Android embedding

This is done. Closing.


Fix typos

Fix typos

Thanks for these little fixes. Much appreciated!

The lint error here is unrelated to your changes. I'll merge this and get that fixed separately.


[6252] Reset placement_detail when adding placements

Context
https://trello.com/c/puwJeK3H/6252-create-placements-snag-list
Changes proposed in this pull request
Minor snag to make sure we reset the placement_detail field on the trainee when placements are added.

 Create Placements snag list


[RBF]1x needs to be reword into 'Reset'

User is trying to speed up a tx and notices that when user selects '1x',the Submit button is disabled.While '2x,5x and 10x 'is enabling the submit button.This is very user unfriendly as user can get confused with the disabling button ,a proper wording like 'Reset' or 'Default' will help the user to understand its the defaults value to speed up the tx

I can fix this quick.

However in advance setting '1x' selecting is enabling the submit button or the default

In speed up tx,its disabled

That makes sense bc 1x is not speeding up a tx, but here it is just accepting the default 1x to apply on close the drawer.


Waybar crash  , Hyperland IPC : Unable to conncet

I'm not entirely sure what caused the issue, but after removing some unused packages, my Waybar has stopped working. I'm relatively new to customizing my desktop environment, so I apologize if my question seems simple, but I would greatly appreciate any assistance in resolving this matter. Thank you for your understanding.
Error:

waybar
[2023-10-21 12:38:04.546] [info] Using configuration file /home/holako/.config/waybar/config
[2023-10-21 12:38:04.547] [info] Including resource file: ~/dotfiles/waybar/modules.json
[2023-10-21 12:38:04.547] [info] Using CSS file /home/holako/.config/waybar/style.css
[2023-10-21 12:38:04.560] [info] Hyprland IPC starting
[2023-10-21 12:38:04.560] [error] Hyprland IPC: Unable to connect?
[2023-10-21 12:38:04.562] [error] Hyprland IPC: Couldn't connect to /tmp/hypr/1b48642fd15c433c53876f1b933dcd46265caf8f_1697882989/.socket.sock. (3)
waybar: ../src/modules/hyprland/window.cpp:96: waybar::modules::hyprland::Window::Workspace waybar::modules::hyprland::Window::getActiveWorkspace(const std::string&): Assertion `monitors.isArray()' failed.
Aborted (core dumped)

a reboot fix it


Vulture server config preset

yada yada

Merging instantly so that the server can actually start, bicker about the exact player count in another PR.


Coverde filter using relative paths

Prior to the release of 2.0, Coverde was using absolute paths for filter.  This was essential for usage with melos when generating coverage reports so that the files could be found within the directory.  Unfortunately the latest version of coverdeis now using relative paths, but these are relative to they module the reside in.  So, for example, my filtered.lcov now has the following:
SF:lib/src/usecases/authentication/authentication_usecase.dart
This path is incorrect, because this file actually sits in my /domain module and as a result, trying to generate a report fails as the file cannot be found (since it's actually in domain/lib/src/usecases/authentication/authentication_usecase.dart).
In order to still be able to integrate with melos either absolute paths need to be used, or relative paths could be used, but they need to contain the module within the path too.
That was totally my bad 😖 since there were no tests checking this behaviour against mono-repo setups.
However, the use of absolute paths was also leading to some cross-platform issues.

Potential solution
My first thought is that the filter command could include an optional --paths-parent option that would serve as prefix for all source file paths in the lcov file.
Example
Inputs
--paths-parent option:
parent/folder/path/

Input trace file:
SF:lib\core\config.dart
...
SF:lib\core\config.g.dart
...
SF:lib\core\dependency_injection.dart
...
SF:lib\core\flavors.dart
...

Output
SF:parent\folder\path\lib\core\config.dart
...
SF:parent\folder\path\lib\core\config.g.dart
...
SF:parent\folder\path\lib\core\dependency_injection.dart
...
SF:parent\folder\path\lib\core\flavors.dart
...

melos setup
With that proposal, the corresponding lcov-merging script would be as follows:
M:
  description: Merge all packages coverage trace files ignoring data related to generated files.
  run: >
    coverde rm MELOS_ROOT_PATH/coverage/filtered.lcov.info &&
    melos exec --file-exists=coverage/lcov.info -- "coverde filter --input ./coverage/lcov.info --output MELOS_ROOT_PATH/coverage/filtered.lcov.info --filters '\.g\.dart' --paths-parent MELOS_PACKAGE_PATH"

As you can see, the merged trace file would be placed in the mono-repo root dir and every referenced path within the trace file of each package would be properly prefixed to match the project structure by taking advantage of the melos MELOS_PACKAGE_PATH env variable.

I believe that approach would address the bug you just reported and would not result in any other undesired side effects.
Let me know what do you think about it.

Thank you so much for your extraordinarily fast reply.  Yes, that approach
would definitely work.  I assumed that there must have been a reason for
removing absolute paths as a bug fix, so I was hoping there could be a
suitable alternative, and this sounds like it!

That was totally my bad 😖 since there were no tests checking this
behaviour against mono-repo setups.
However, the use of absolute paths was also leading to some cross-platform
issues.
Potential solution
My first thought is that the filter command could include an optional
--paths-parent option that would serve as prefix for all source file
paths in the lcov file.
Example Inputs
--paths-parent option:
parent/folder/path/
Input trace file:
SF:lib\core\config.dart
...
SF:lib\core\config.g.dart
...
SF:lib\core\dependency_injection.dart
...
SF:lib\core\flavors.dart
...
Output
SF:parent\folder\path\lib\core\config.dart
...
SF:parent\folder\path\lib\core\config.g.dart
...
SF:parent\folder\path\lib\core\dependency_injection.dart
...
SF:parent\folder\path\lib\core\flavors.dart
...
melos setup
With that proposal, the corresponding lcov-merging script would be as
follows:
M:
description: Merge all packages coverage trace files ignoring data related to generated files.
run: >    coverde rm MELOS_ROOT_PATH/coverage/filtered.lcov.info &&    melos exec --file-exists=coverage/lcov.info -- "coverde filter --input ./coverage/lcov.info --output MELOS_ROOT_PATH/coverage/filtered.lcov.info --filters '.g.dart' --paths-parent MELOS_PACKAGE_PATH"
As you can see, the merged trace file would be placed in the mono-repo
root dir and every referenced path within the trace file of each package
would be properly prefixed to match the project structure by taking
advantage of the melos MELOS_PACKAGE_PATH env variable.
I believe that approach would address the bug you just reported and would
not result in any other undesired side effects.
Let me know what do you think about it.
—
Reply to this email directly, view it on GitHub
https://github.com/mrverdant13/coverde/issues/68#issuecomment-1679934467,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWDG74YWKVVQPBIJB3CKCMTXVRC3RANCNFSM6AAAAAA3R4643A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
CAUTION: This email, links and files included in its transmission by
Woolworths Group Limited ABN 88 000 014 675 and its group of companies
(Woolworths Group) are solely intended for the use of the addressee(s) and
may contain information that is confidential and privileged. If you receive
this email in error, please advise us immediately and delete it without
reading or copying the contents contained within. Woolworths Group does not
accept liability for the views expressed within or the consequences of any
computer malware that may be transmitted with this email. The contents are
also subject to copyright. No part of it should be reproduced, adapted or
transmitted without the written consent of the copyright owner.

This has been indirectly addressed by #69
Still working on some docs updates before publishing the new version

A new version is now available on the Pub.dev
And the errored version has been retracted.

Thank you!
On Fri, 18 Aug 2023 at 5:30 pm, Karlo Verde @.***>
wrote:

A new version is now available on the Pub.dev
And the errored version has been retracted.
—
Reply to this email directly, view it on GitHub
https://github.com/mrverdant13/coverde/issues/68#issuecomment-1683522263,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWDG74ZR6NPHJ44SUK7PF4LXV4OK5ANCNFSM6AAAAAA3R4643A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
CAUTION: This email, links and files included in its transmission by
Woolworths Group Limited ABN 88 000 014 675 and its group of companies
(Woolworths Group) are solely intended for the use of the addressee(s) and
may contain information that is confidential and privileged. If you receive
this email in error, please advise us immediately and delete it without
reading or copying the contents contained within. Woolworths Group does not
accept liability for the views expressed within or the consequences of any
computer malware that may be transmitted with this email. The contents are
also subject to copyright. No part of it should be reproduced, adapted or
transmitted without the written consent of the copyright owner.

Hi Karlo
I'm so sorry to bother you...  I have installed the latest version of
coverde and I have added melos scripts as you suggested.  Below is what I
have:
melos exec --file-exists=coverage/lcov.info -- coverde filter -i ./coverage/
lcov.info -o MELOS_ROOT_PATH/coverage/base.lcov.info --filters='.g.dart'
--paths-parent=MELOS_PACKAGE_PATH
coverde report -i MELOS_ROOT_PATH/coverage/base.lcov.info --medium 50
--high 80
I can see that the my base.lcov.info file now has paths like so:
SF:/Users/shane/Woolworths/WooliesGO/driver_app_flutter/domain/lib/src/models/configuration/driver_break_timer.dart
DA:7,0
DA:15,0
DA:16,0
LF:3
LH:0
end_of_record
SF:/Users/shane/Woolworths/WooliesGO/driver_app_flutter/domain/lib/src/models/configuration/live_location.dart
DA:7,0
DA:21,0
DA:23,0
DA:24,0
DA:26,0
LF:5
LH:0
end_of_record
But when it runs "coverde report -i MELOS_ROOT_PATH/coverage/base.lcov.info
--medium 50 --high 80" I still see errors?  I'm seeing
"PathNotFoundException: Cannot open file, path =
'Users/shane/Woolworths/WooliesGO/driver_app_flutter/domain/lib/src/models/configuration/driver_break_timer.dart'
(OS Error: No such file or directory, errno = 2)"
The part that confuses me is that those files are definitely there in that
directory.  I can see them!  I was hoping you might be able to help?
Coverde is awesome - we would love to keep using it!
Thanks
Shane
On Fri, 18 Aug 2023 at 17:30, Karlo Verde @.***> wrote:

A new version is now available on the Pub.dev
And the errored version has been retracted.
—
Reply to this email directly, view it on GitHub
https://github.com/mrverdant13/coverde/issues/68#issuecomment-1683522263,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWDG74ZR6NPHJ44SUK7PF4LXV4OK5ANCNFSM6AAAAAA3R4643A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
CAUTION: This email, links and files included in its transmission by
Woolworths Group Limited ABN 88 000 014 675 and its group of companies
(Woolworths Group) are solely intended for the use of the addressee(s) and
may contain information that is confidential and privileged. If you receive
this email in error, please advise us immediately and delete it without
reading or copying the contents contained within. Woolworths Group does not
accept liability for the views expressed within or the consequences of any
computer malware that may be transmitted with this email. The contents are
also subject to copyright. No part of it should be reproduced, adapted or
transmitted without the written consent of the copyright owner.

Hey again, @shane-henderson-308 👋🏼
Well, I feel the issue is related to the prefix path.
I believe you are on a Windows PC with WSL, right?
The Users/ folder should be under a root drive, e.g. C:/, D:/, or so.
If that is not the case, I would appreciate it if you could give more context on your OS, Dart version, or any additional details that might be handy to consider when debugging this.
PS: The coverde CLI itself uses melos, you can check the melos.yaml file in the root as reference.

Hi Karlo
Absolutely - anything I can provide you with which might help, please just
ask.
I am using a: MacBook Pro (M2) running 13.4.1 (c).
My dart version is:
Dart SDK version: 3.0.0 (stable) (Thu May 4 01:11:00 2023 -0700) on
"macos_arm64"
The path I'm using is a pretty standard Mac path, which is:
*/Users/shane/*Woolworths/WooliesGO/driver_app_flutter
I have attached the melos.yaml file and melos_driver_app_flutter.iml in
case either of those help.
As I said, please let me know if there is anything else I can do to try and
help.
Shane
On Mon, 21 Aug 2023 at 13:34, Karlo Verde @.***> wrote:

Hey again, @shane-henderson-308 https://github.com/shane-henderson-308
👋🏼
Well, I feel the issue is related to the prefix path.
I believe you are on a Windows PC with WSL, right?
The Users/ folder should be under a root drive, e.g. C:/, D:/, or so.
If that is not the case, I would appreciate it if you could give more
context on your OS, Dart version, or any additional details that might be
handy to consider when debugging this.
PS: The coverde CLI itself uses melos, you can check the melos.yaml file
in the root as reference.
—
Reply to this email directly, view it on GitHub
https://github.com/mrverdant13/coverde/issues/68#issuecomment-1685607094,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWDG743ZVAQJQPAPIDQXU6DXWLM5JANCNFSM6AAAAAA3R4643A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
CAUTION: This email, links and files included in its transmission by
Woolworths Group Limited ABN 88 000 014 675 and its group of companies
(Woolworths Group) are solely intended for the use of the addressee(s) and
may contain information that is confidential and privileged. If you receive
this email in error, please advise us immediately and delete it without
reading or copying the contents contained within. Woolworths Group does not
accept liability for the views expressed within or the consequences of any
computer malware that may be transmitted with this email. The contents are
also subject to copyright. No part of it should be reproduced, adapted or
transmitted without the written consent of the copyright owner.


remove Deconvoluion3D because it is available in keras upstream

Hopefully this should also fix the unit test failures.
Deconv3D is available as Conv3DTranspose in Keras https://github.com/fchollet/keras/pull/7161 so it is no longer required in keras-contrib.

Seems there's a similar problem with the conv2d version of this function as well.

Note that revision 80d698c contains code from https://github.com/fchollet/keras/blob/1bbfdb6174c2833c7aca8261a3f97bc5235bc66b/keras/backend/tensorflow_backend.py

tests pass again so I'm merging this.


build failure

ubuntu 18.04, cuda 10.2, cudnn 7.6.5, bazel 2.0.0, python 3.6.9, TensorFlow 2.2
add file with all the build trace. what can i do to solved this issue ?
debug.txt
error:
INFO: Analyzed 2 targets (190 packages loaded, 18176 targets configured).
INFO: Found 2 targets...
INFO: Deleting stale sandbox base /home/viki/.cache/bazel/_bazel_viki/9a20a48809a6b9a81d095eed7974ee57/sandbox
ERROR: /home/viki/.cache/bazel/_bazel_viki/9a20a48809a6b9a81d095eed7974ee57/external/llvm-project/llvm/BUILD:59:1: Executing genrule @llvm-project//llvm:abi_breaking_gen failed (Exit 127)
/usr/bin/env: 'python': No such file or directory
INFO: Elapsed time: 10.961s, Critical Path: 0.32s
INFO: 2 processes: 2 local.
FAILED: Build did NOT complete successfully
CMakeFiles/tensorflow_base.dir/build.make:113: recipe for target 'tensorflow-stamp/tensorflow_base-build' failed
make[2]: *** [tensorflow-stamp/tensorflow_base-build] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/tensorflow_base.dir/all' failed
make[1]: *** [CMakeFiles/tensorflow_base.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
debug.txt

Hi @yaira24 I'm facing the same issue, did you find chance to solve it?

@Arham-Aalam I have no solution for this issue yet sorry  :(

No worries, apart from this solution I have tried other solutions as well but nothing works for me, then I saw this video, he is using c API in C++ program and provided his compiled DLL (for windows).
it is great to start with this solution but I didn't find any perfect solution for actual C++ API.

This means that python does not seem to be installed or at least is not visible by /usr/bin/env. Does
/usr/bin/env python

work for you?

I encountered the same issue. By brute force, I just symlink the python3 installed in other places to /usr/bin/env

Closing for inactivity, feel free to reopen if the issue persists.


Missing tutorial notebooks

Tutorials
Right now there is only an RB notebook in the tutorials/ folder. We should add other tutorials:

[ ] Introduction to experiment classes (including composite/parallel experiments)
[ ] Tutorial for creating experiment class
[x] Tutorial for resultsdb
[x] T1 experiment
[x] Tomography
[x] T2* experiment
[x] Calibrations
[x] RB
[x] QV

Resultsdb to be decided after merging

Should there be separate tutorials for parallel and batch experiments, or should they be included as part of the experiments themselves, or both? For example, in RB a parallel experiment is used to perform simultaneous RB.

RB notebook is not ready yet. It contains an API demo, but with no explanation or references to the papers. It needs more work. We should also decide which RB methods will be demonstrated in the tutorial, and which methods will be only part of the docs.

I was thinking that a notebook highlighting the parallel and batch features would be helpful for beginners, because they wouldn't know experiments like RB already contain that feature. Maybe a getting started notebook can show how to write an experiment class that uses parallel and batch.

Replaced by #389


Update Website Publishing Link text

Upon publishing in the GCI, there is a link provided to the classification on the ClinGen website.
It currently reads as:
Link: ### Classification Summary
But please change to:
ClinGen website link: ### Classification Summary

This has been released.


fix(runtime-dom): height and width of all elements should be set as attribute

close #9762
Height and width of all elements should be set as attribute.
When set width and height for a custom element with width and height as prop, the width and height should be set as attribute.
And for elements without width and height as prop such as div, it won't affect the real height and width of them, but should be displayed as an attribute on the dom in html. Just as the following image:

Thanks for the PR, but the root cause of this is the previously logic was doing an early return and skipping the key in el check at the end. See 5b002869c


Support numeric values for tokens

Can we have numeric values allowed for tokens like fontWeights, zIndices, linHeights`, etc?
Example:  https://codesandbox.io/s/stitches-ts-issue-forked-voh43?file=/src/stitches.config.ts

It actually works 😄  This is a slightly modified version of your sandbox, just adding some styles to the paragraph https://codesandbox.io/s/stitches-ts-issue-forked-nw0u8?file=/src/App.tsx

@aarongarciah Since config has typescript errors no tokens show up in suggestions

Oh! Then you probably should update the issue description. Doesn't say anything about types.

We've published a pre-release of Stitches beta 🚀
Core:
npm install<EMAIL_ADDRESS>
React:
npm install<EMAIL_ADDRESS>
This issue should have been resolved in the beta version. We'd appreciate it if you could verify it.
⚠ Please refer to this migration guide as there are some breaking changes.


Error Deploying Apex Trigger for Campaign Member

Any ideas what to do with this Failed Trigger Deployment? I've tried it a few times with no luck...
dlrs_CampaignMemberTest.testTrigger System.DmlException: Insert failed. First exception on row 0; first error: MALFORMED_ID, Invalid campaign id: null: [CampaignId] Class.dlrs.RollupService.testHandler: line 277, column 1 Class.dlrs_CampaignMemberTest.testTrigger: line 11, column 1
Warning:
dlrs_CampaignMemberTrigger:Test coverage of selected Apex Trigger is 0%, at least 75% test coverage is required

@StephanieKing I just ran into this exact same problem. You'll need to deploy a custom test method to make this work. In the Advanced section of edit page, you'll find the Test Code field. Put this into that box and try to redeploy.
        Campaign camp = new Campaign(Name = 'Test Campaign');
        Insert camp;
        Contact c = new Contact(LastName = 'Test');
        Insert c;

        dlrs.RollupService.testHandler(new CampaignMember(CampaignId = camp.Id, ContactId = c.Id));

Yep thanks @aheber thats trick! 👍

Wonderful, thank you so much! @aheber !

Thank you!

Great tip, thanks @aheber! I'm running into the same issue. But I do not see a "Test Code" text box in the Advanced section. Just a checkbox that says "Test Code See All Data".  Do I need to update to a new version?

Check your on the latest version yes, if you are and your using the Custom Object based rollups (e.g. not the Manage Rollup Summaries which uses Custom Metadata) then ensure its on the layout (as these don't upgrade).

Thank you @afawcett.  Sorry for the newb question but how do I go about updating the app?

No worries, just repeat the process you followed to install the package (see links in the README) you did before and the system automatically detects its an upgrade. Depending on the version your going from you may need to add some fields to layouts (these are not upgraded, see readme versions section and notes for each), though if your using the Manage Rollups page this does not apply.

got it. works perfectly now.  Thanks Andy, you rock!

Thank you @aheber for the test code!

I have the same problem but we use Person Accounts. I get the following error:

Error: dlrs_CampaignMemberTest.testTrigger System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Please do not create Contact records. Use Person Accounts instead.: [] Class.dlrs_CampaignMemberTest.testTrigger: line 13, column 1

How would this code need to change?
Thank you!

Thank you!

@afawcett well here I am again... this is my post from 2016, and apparently I was able to fix this issue with the code above, but this time I don't understand at all where I am supposed to paste the code? What is the Advanced section of the Edit page?? Hoo boy....
I am using the latest version, and I am using the "manage rollups" page...

@StephanieKing if you are on the Manage Lookup Rollup Summaries tab, there is an Advanced section at the bottom with a Test Code box. Paste the code there and click Save.

@rogeramitchell oh gee, there it is. Much appreciated, sir!!


Unable to use UI elements

Hi, I am making a React app and want to use elemental for the ui part.
The Col and Row elements are working fine, but when I try to use any UI element like Alert or Card or Pill, they miss their styling completely.
For example when I use a Pill, I can only see a button.

+1. Having the same issue

@DarrylD it's because you have not included the styling (less) file in your code. Just import the less file in your root app file using
import '../node_modules/elemental/less/elemental.less'
and add this in your webpack config
{
  test: /\.less$/,
  loader: "style!css!less"
}


Question regarding the necessity of viewing cameras and relative pose transformations

Thanks for your great work!
I'm curious why we're not directly tracking the absolute pose instead of using the relative pose to the viewing camera. I've noticed that the "transform_to_frame" function incurs significant latency both in forward and backward passes. It seems that the rel_w2c can be fused with first_frame_w2c as the viewmatrix for invoking the CUDA kernel.  I speculate that this fusion could potentially save a significant number of operations in PyTorch.
Another question is, why is the scale parameter of the Gaussians logged first and then exponentiated for rendering (as showing in following figures)

It seems no mathmetical effect buta incur extra elementwise opertions.
Looking forward to your reply. Thanks a lot.

Hi, Thanks for your interest in our work!
Yes, you are right; using a CUDA kernel should make the operation faster. We are currently working on speed optimizations for SplaTAM.
The main effect here would be the learning rate and how the Gaussian parameters (particularly scale and position) get affected through gradient descent. We follow this convention based on the original 3D Gaussian Splatting.


Can the article replace the backbone with dinov2? Which part should be replaced？

Looking forward to your reply！

You can replace the self.model_1 of class two_view_net(nn.Module) in model.py. In addition, you may need to adjust the image size for the adaption of dinov2, the settings are all in the train_university.py.


jetson nano tensorrt yolox error

Hello, i have got an model_trt.engine on my jetson nano.
Next, i run the command
./yolox model_trt.engine -i image.jpg
it return an error with this log:
[10/22/2021-13:09:15] [E] [TRT] Parameter check failed at: engine.cpp::getBindingDimensions::2069, condition: bindIndex >= 0 && bindIndex < getNbBindings() out_dims = 0 blob image yolox: /home/nano/Development/YOLOX/demo/TensorRT/cpp/yolox.cpp:417: void doInference(nvinfer1::IExecutionContext&, float*, float*, int, cv::Size): Assertion engine.getNbBindings() == 2' failed.
Aborted (core dumped)`
Is there any reason for this? How can I fix it?

@Czhazha Hi, Can you share your inferred fps on Jetson Nano ?  with YOLOX-tiny and YOLOX-nano

@Czhazha Hi, Can you share your inferred fps on Jetson Nano ? with YOLOX-tiny and YOLOX-nano

YOLOX 7fps
YOLOX-nano 25fps

Thanks for sharing.


Envoy: init at 1.3.0

Motivation for this change
I'm using Envoy at work.
Things done

[x] Tested using sandboxing
Built on platform(s)

[x] NixOS

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I don't know if the libevent bump breaks anything, or possibly causes a mass rebuild.
Requisite package updates (and additions) have been split into separate commits.

/cc @benley, since I figure you might be interested, and I presume you have much more experience with bazel than I.


curl: (52) Empty reply from server / Recv failure: Connection reset by peer

env:
ubuntu 16.04
java: oracle (build 1.8.0_161-b12
jolokia: jolokia-jvm-1.5.0-agent.jar
parameters: -javaagent:/appli/java/jolokia/jolokia-jvm-1.5.0-agent.jar=port=8778,host=<IP_ADDRESS>
The agent is well started:
Jolokia: Agent started with URL http://<IP_ADDRESS>:8778/jolokia/
But when i test it:
curl -vv -X GET http://<IP_ADDRESS>:8778/jolokia/read/java.lang:type=Memory/HeapMemoryUsage
i have these 2 answers:

Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8778 (#0)

GET /jolokia/read/java.lang:type=Memory/HeapMemoryUsage HTTP/1.1
Host: <IP_ADDRESS>:8778
User-Agent: curl/7.47.0
Accept: /

Recv failure: Connection reset by peer
Closing connection 0
curl: (56) Recv failure: Connection reset by peer

or

Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8778 (#0)

GET /jolokia/read/java.lang:type=Memory/HeapMemoryUsage HTTP/1.1
Host: <IP_ADDRESS>:8778
User-Agent: curl/7.47.0
Accept: /

Empty reply from server
Connection #0 to host <IP_ADDRESS> left intact
curl: (52) Empty reply from server

java options:
/usr/bin/java-Xms8g-Xmx8g-XX:+UseConcMarkSweepGC-XX:CMSInitiatingOccupancyFraction=75-XX:+UseCMSInitiatingOccupancyOnly-XX:+AlwaysPreTouch-Xss1m-Djava.awt.headless=true-Dfile.encoding=UTF-8-Djna.nosys=true-XX:-OmitStackTraceInFastThrow-Dio.netty.noUnsafe=true-Dio.netty.noKeySetOptimization=true-Dio.netty.recycler.maxCapacityPerThread=0-Dlog4j.shutdownHookEnabled=false-Dlog4j2.disable.jmx=true-Djava.io.tmpdir=/tmp/elasticsearch.AuIPnl3q-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/var/lib/elasticsearch-javaagent:/appli/java/jolokia/jolokia-jvm-1.5.0-agent.jar=port=8778,host=<IP_ADDRESS>-XX:+PrintGCDetails-XX:+PrintGCDateStamps-XX:+PrintTenuringDistribution-XX:+PrintGCApplicationStoppedTime-Xloggc:/var/log/elasticsearch/gc.log-XX:+UseGCLogFileRotation-XX:NumberOfGCLogFiles=32-XX:GCLogFileSize=64m-Des.path.home=/usr/share/elasticsearch-Des.path.conf=/etc/elasticsearch-cp/usr/share/elasticsearch/lib/*org.elasticsearch.bootstrap.Elasticsearch-p/var/run/elasticsearch/elasticsearch.pid
The server is very busy: is it the problem?
Regards.

Looks like that this is hard to debug. I would try to use a host of <IP_ADDRESS> (or "*") and the connect directly to localhost from the machine from where your server is running, just to rule out any network issues.
If you still have issues, then its something internal, could be a permission issue as well (when you have security manager installed)

I'm running into the very same problem using the jolokia jvm agent similar to this. (in fact, it's Elasticsearch, which I find interesting. This is  6.2.0 Elasticsearch).  I've tried 1.3.3 and 1.5.0 of the jvm agent and both produce the same failure.  Switching the host to <IP_ADDRESS> upon startup does not resolve the issue.  Neither does issuing the http requests from the host itself through a curl://localhost:2149/jolokia/read
Here's the jvm options I"m currently using:
/usr/lib/jvm/jdk-8-oracle-x64/bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/lib/elasticsearch -javaagent:/usr/local/share/java/jolokia-jvm-1.5.0-agent.jar=port=2149,host=<IP_ADDRESS>,debug=true -Djava.awt.headless=true -Dsun.net.inetaddr.negative.ttl=0 -Dsun.net.inetaddr.ttl=0 -Des.path.home=/usr/share/elasticsearch -Des.path.conf=/etc/elasticsearch -cp /usr/share/elasticsearch/lib/* org.elasticsearch.bootstrap.Elasticsearch -p /var/run/elasticsearch/elasticsearch.pid

in fact, if elasticsearch jvm  eats all cpu,  access to jolokia will fail.

Is there any additional information we can provide to help troubleshoot this issue?  It's not a CPU resource issue as I can reproduce this on a single node elasticsearch node that has no data and zero CPU usage.  Could it be related to some kind of java security profile setting?

@gaetanquentin this worked for me:

Workaround  with Oracle Java 1.8.0_131 is to open file /lib/security/java.policy and add this line to grant section (i.e. between curly brackets):

permission javax.management.MBeanTrustPermission "register";

Why workaround? The upright solution would be to specify extra grant section which code exactly should get this permission.

-- Alice Vixie's answer
https://stackoverflow.com/questions/44768167/error-could-not-register-mbeans-java-security-accesscontrolexception-access-den#45170748

I have the same issue, no workarounds seem to work either. Tested with elasticsearch 6.4.2 and Jolokia Agent 1.6.0. Even with debug there's no more infos. Am I missing something?

For me, it smells, that it's a dedicated Java SecurityManager installed which prevents Jolokia from working like here. I have not really time to deeply dive into this issue, but one would need to remote debug into the agent to find out why the request is not processed or not processed properly.
Also it would help to find out the concrete security setup of the Elastic server.

Although I did not try all the features of jolokia, I could access the top page of jolokia (http://localhost:8778/jolokia/) by appending this permission to the java.policy file. Tested with Elasticsearch 6.5.4 and jolokia agent 1.6.0 on CentOS 7.5.
grant codeBase "file:path_to_jolokia_agent.jar" {
    permission javax.management.MBeanPermission "*", "*";
    permission javax.management.MBeanTrustPermission "register";
    permission javax.management.MBeanServerPermission "createMBeanServer";
    permission javax.management.MBeanServerPermission "findMBeanServer";
    permission java.net.SocketPermission "*", "accept,resolve";
    permission java.lang.RuntimePermission "getClassLoader";
};

In the above settings there may be more or less permissions.
It works even if all permission is given as follows.
grant codeBase "file:path_to_jolokia_agent.jar" {
    permission java.security.AllPermission;
};


SEO requirments

Links in the hamburger menu to stay the same
Content on the page & throughout the page – to stay the same
Images, logos, regulation images, payment method images – to stay the same
Footer links - to stay the same (target URL + layout of 4 images)
Cookie message - to stay the same
Footer responsible gaming banner - to stay the same
Links in CTA – to stay the same

SEO requirements are covered in #31


[To rel/0.12] Fix connection refused using session when users forget to set client ip

Users only set internal ip in iotdb-cluster.properties, and they often forget to set the rpc_address (public ip) in iotdb-engine.properties. So the rpc address is the default value(<IP_ADDRESS>). Session will cache the <IP_ADDRESS> endpoint when an insertPlan is redirected.
We want internal ip as private ip and rpc_address as public ip. So if the rpc_address is not set, set it the same with internal ip.

public ip

For security purposes, we generally do not set public IP addresses. We need to set specific IP addresses and enable the network firewall and filtering.

For security purposes, we generally do not set public IP addresses. We need to set specific IP addresses and enable the network firewall and filtering.

We were only concerned about helping users reduce the confusion of writing errors, not security before. Your suggestion is very meaningful. Do you have any suggestions for helping users in this scenario while avoiding security issues?

We were only concerned about helping users reduce the confusion of writing errors, not security before. Your suggestion is very meaningful. Do you have any suggestions for helping users in this scenario while avoiding security issues?

this pr  could merge, I only suggest that the customer also need to configure the IP address in the production environment.

this pr could merge, I only suggest that the customer also need to configure the IP address in the production environment.

Ok, welcome to tell us more about your thoughts on security, so we may need to change our assumptions about public IP.


An new version of FID and IS evaluation code

I provided a new version of FID and IS evaluation code at https://github.com/senmaoy/Inception-Score-FID-on-CUB-and-OXford.git
It's better to update it as some people report that they failed to run the original TensorFlow code. And it's really troublesome to install old version tensorflows

Hi,senmaoy. Thank you so much for your generous contribution to the new version of IS and FID.
I have added your nice evaluation code to this repo and believe that it will be helpful for future research.
Have a nice day.


python-tools was unable to find your machine's python executable.

python-tools was unable to find your machine's python executable.
Please try set the path in package settings and then restart atom.
If the issue persists please post an issue on https://github.com/michaelaquilina/python-tools/issues/new
This is my path with python executable

import sys
print(sys.executable)
/usr/bin/python3

But the error persists.
why?

I was able to fix this issue by leaving the python-tools custom executable blank and then using
ln -sf /usr/bin/python3 /usr/bin/python
to create a symbolic link with just python pointing to my python3 executable.
In the source code python-tools.coffee, line 90:
this.provider = require('child_process').spawn(
      'python', [__dirname + '/tools.py'], env: env
    )

The child_process.spawn is given just "python" as the executable name, so if you have a python3 in your env it will not work.

Hmm..… if this is the correct answer, the settings info should be changed. It currently implies that e.g., python2.7 would be a reasonable entry to the path to python entry. Or is that supposed to just be the directory of the executable? Ubuntu still uses python3 as an executable name, so this should be resolved systematically.

Neither /usr/bin/python3 (the result of which python3) nor /usr/bin/ (just the directory) in the python-tools settings "path to python directory" resolves this error. Since one of these should be the correct answer (on my machine) to the error message ("Please try set the path in package settings and then restart atom."), either the use of that field, or the error message telling us to use it, should be changed.

perhaps the best answer for ubuntu users is sudo apt-get install python-is-python3, which does the symlink suggested by jmobley0429 above, but in a way that ubuntu would expect (as it will ultimately impact other system changes).


Padding mode parameters

Hello, sorry if this question may sound stupid, but I'd need to change the padding mode of convolutional layers or, as an alternative, pad tensors with a different padding mode than zero. Is there any way to do so using this library?
I have read some older issues that argued about the fact that most PyTorch optional parameters are missing because it's difficult to emulate them in Rust, but is there any workaround about it?

Hey,
You're right that there is no easy way to change the padding mode to be other than zeros at the moment. This is mostly because it's not exposed directly on the conv operations on the PyTorch C++ side. Instead the Python side applies the appropriate pad call here. The pad function is exposed in tch here and mode should accept other padding modes so you can do the padding operation manually. I'll have a look at adding this by adding a variant to pick the padding mode on the Conv layer.


Page 14 1/4: Low quality image

Replace with vector graphic

Please do so :) you can find the images in the cloud.

The picture is from this article: https://www.frontiersin.org/articles/10.3389/fclim.2021.763420/full . As discussed, look up a better image for the section. Thank you!

I created an improved version of the image - will be added later


Robots meta tag

Describe the feature you'd like
a mechanism for configuring SEO tags (specifically the current robots meta tag, which is set to index,follow) for the index route and possibly elsewhere
Describe alternatives you've considered
we have added an additional noindex,nofollow tag through ThirdPartyScripts, but it doesn't remove the index,follow tag so there are both on the index page
Additional context
robots tag is rendered directly in core code using next-seo on key FS pages (index, 500, [...slug], etc). since we have to do the go-live process to handle sessions across FS <-> IO, our lower environment storefronts are public with this index,follow value, exposing us to undesirable traffic

closing as this has been addressed by the experimental flag linked above. thanks team!


not support notion database

I wanna convert the database to markdown [table] but is an empty result.

can you fix it? 🤓

yes at the moment database to markdown is not supported as a database can have multiple views. I can view the same database table as a list, board, gallery, and so on.
If you want to use tables, you can go with notion's simple table  which is supported by notion-to-md.

@souvikinator Ok, I understand, I am looking for a notion database to MD method. Because many people don't use a simple table， thank you，Thank you for your reply ！

@kryp2z

@souvikinator

yes at the moment database to markdown is not supported as a database can have multiple views. I can view the same database table as a list, board, gallery, and so on.
If your requirement is to use tables, you can go with notion's simple table which is supported by notion-to-md.

Would it be possible to support database in table view in that sense ?

Hi! Thank you for raising this issue.
We're currently working on notion-to-md v4 which includes significant architectural improvements so this can be handled along the way.
I'd love your insights on this. Please checkout the GitHub discussion #112   to discuss how we can best solve your use case? Your feedback would be really valuable in shaping v4's development.


Lab 7: AttributeError: 'IAMParagraphs' object has no attribute 'data_test'

When running Lab 7
PYTHONPATH=. python training/run_experiment.py --wandb --gpus=-1 --data_class=IAMOriginalAndSyntheticParagraphs --model_class=ResnetTransformer --loss=transformer --batch_size=16 --check_val_every_n_epoch=10 --terminate_on_nan=1 --num_workers=32 --accelerator=ddp --lr=0.001 --accumulate_grad_batches=4 --max_epoch 1

I get the following error:
  File "/home/ubuntu/pytorch-lab/lab7_eds/text_recognizer/data/iam_original_and_synthetic_paragraphs.py", line 39, in setup
    self.data_test = self.iam_paragraphs.data_test
AttributeError: 'IAMParagraphs' object has no attribute 'data_test'

has anyone else seen it?

Have you been able to follow along this lab? I tried to change this line into the following:
if stage == 'test' or stage is None:
    self.data_test = self.iam_paragraphs.data_test

Have you been able to follow along this lab?...
I think that I did, but I think that I didn't run with the option --data_class=IAMOriginalAndSyntheticParagraphs... what I can't really remember as it was a while ago.

Although I haven't tried your fix, I was thinking a fix along those lines when I encountered the error. Sadly, I never got around a working solution. Hence, if it worked for you, I guess that it would for me as well~
Thank you!


Production builds' stacktraces are terrible

Here’s a stacktrace from a debug build:
app.cash.zipline.ZiplineException: Exception: boom!
	at captureStack (js-ir/runtime/coreRuntime.kt:48)
	at Exception_init_$Create$_0 (kotlin-kotlin-stdlib.js)
	at <anonymous> (src/commonMain/kotlin/com/squareup/cash/treehouse/playground/samples/ErrorRecovery.kt:49)
	at <anonymous> (js-ir/src/kotlin/coroutines_13/CoroutineImpl.kt:55)
	at <anonymous> (kotlin-kotlin-stdlib.js)
	at resume (mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:62)
	at dispatch (mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:168)
	at dispatchResume (mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuationImpl.kt:474)
	at resumeImpl (mnt/agent/work/88b0986a7186d029/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/AtomicFU.common.kt:508)
	at resumeImpl$default (mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuationImpl.kt:1234)
	at <anonymous> (mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CancellableContinuationImpl.kt:595)
	at <anonymous> (src/kotlin/util/Standard.kt:48)
	at apply (native)
	at <anonymous> (Users/runner/work/zipline/zipline/zipline/src/jsMain/kotlin/app/cash/zipline/GlobalBridge.kt:72)
	at <anonymous> (Users/runner/work/zipline/zipline/zipline/src/commonMain/kotlin/app/cash/zipline/internal/GuestService.kt)
	at <anonymous> (zipline-root-zipline.js)
	at <anonymous> (Users/runner/work/zipline/zipline/zipline/src/commonMain/kotlin/app/cash/zipline/internal/bridge/InboundService.kt:1390)
	at <anonymous> (Users/runner/work/zipline/zipline/zipline/src/commonMain/kotlin/app/cash/zipline/internal/bridge/Endpoint.kt:99)
	at <anonymous> (zipline-root-zipline.js)
	at <anonymous> (Users/runner/work/zipline/zipline/zipline/src/jsMain/kotlin/app/cash/zipline/GlobalBridge.kt)
	at <anonymous> (zipline-root-zipline.js)
	at app.cash.zipline.internal.GuestService$Companion$Adapter$GeneratedOutboundService.runJob(GuestService.kt:23)
	at app.cash.zipline.internal.CoroutineEventLoop$DelayedJob$run$1.invokeSuspend(CoroutineEventLoop.kt:61)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
	at java.lang.Thread.run(Thread.java:1012)

And the same from a production build:
app.cash.zipline.ZiplineException: $o: boom!
	at Eu (treehouse.js)
	at vo (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at dl (treehouse.js)
	at <anonymous> (treehouse.js)
	at _r (treehouse.js)
	at vr (treehouse.js)
	at wr (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at apply (native)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at <anonymous> (treehouse.js)
	at app.cash.zipline.internal.GuestService$Companion$Adapter$GeneratedOutboundService.runJob(GuestService.kt:23)
	at app.cash.zipline.internal.CoroutineEventLoop$DelayedJob$run$1.invokeSuspend(CoroutineEventLoop.kt:61)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
	at java.lang.Thread.run(Thread.java:1012)

I really don’t like losing both function names and line numbers. When fixing we should confirm the resulting binary size isn’t adversely impacted.

The root problem is the JS file we’re generating our .zipline from is aggressively minified, and that deprives QuickJS of line number information.
I was able to fix by creating webpack.config.d/treehouseWebpackConfig.js in the module directory with these contents:
config.optimization = config.optimization || {};
const TerserPlugin = require("terser-webpack-plugin");
config.optimization.minimizer = [
  new TerserPlugin({
    terserOptions: {
      compress: {
        sequences: false,
      },
      mangle: false,
      format: {
        beautify: true,
        braces: true,
      }
    },
  }),
];

The costs of good debug data are too damn high!
                                    .zipline size        gzipped size
A NO DEBUG DATA                    2,856,719             941,474
B MANGLE CLASS + FUNCTION NAMES    3,400,044 (+19%)    1,193,241 (+27%)
C OMIT INSTRUCTION LINE NUMBERS    3,690,174 (+29%)    1,218,497 (+29%)
D TRUNCATE FILE PATH               3,642,791 (+28%)    1,338,461 (+42%)
E (B + C)                          3,218,986 (+13%)    1,064,318 (+13%)
F FULL DEBUG DATA                  3,871,128 (+35%)    1,346,230 (+42%)

Before closing this we should zipline { } Gradle plugin options for these:

Stripping the pc2line table
Mangling class + function names


Redirect to HTTPS

Description
Implements a new option, flag, and environment variable called force-https that will redirect any HTTP request to the HTTPS endpoint.
Motivation and Context
This PR closes #259.
How Has This Been Tested?
I have added 2 additional tests that check for the expected behaviour. I also ran the test suite.
Checklist:

[x] My change requires a change to the documentation or CHANGELOG.
[x] I have updated the documentation/CHANGELOG accordingly.
[x] I have created a feature (non-master) branch for my PR.

@JoelSpeed updated.

@JoelSpeed @syscll I've added a check for X-Forwarded-Proto, which is the defacto standard for requests where TLS is terminated at an upstream proxy. This way a redirect loop will be avoided if the request is proxied over HTTP.

Looks like when force-https is set to true, Kubernetes probes fail and prevent this from being started (unless specifically configured to use HTTPS)
While this is probably intended, thought it might benefit somebody (like me) who did not think of that.

Might be worth mentioning in the docs


Incorrect agent result

HonesoSearchEngine/1.0 found this one in my logs but could not figure out who it belongs to!

Thank you for the user agent. I will add this with a few others I have found and do a new release tonight.


MB-10174 Turn on ATO go linter in pre commit

Description
We turned on the linter in our CI pipeline in #6517, but didn't turn it on to run locally with pre-commit so this is enabling that. Since it's now part of pre-commit, we don't need the separate github action since pre-commit already runs in our CI pipeline.
Replaces #7639 to fix JIRA ticket.
We couldn't get it working in a separate repo so that'll be pushed down the line for now.
Reviewer Notes
Is there any reason not to run this with pre-commit?
Setup

Run the pre-commit checks against files:
pre-commit run -va ato-go-linter

Output should look something like this:

Now edit a *.go file, e.g. pkg/appcontext/context.go and // nolint:errcheck somewhere in the file. E.g.
// nolint:errcheck
type appContext struct {
    db      *pop.Connection
    logger  *zap.Logger
    session *auth.Session
}

Re-run the linter. Output should look like this:

Code Review Verification Steps

[ ] Request review from a member of a different team (going to post in #prac-engineering)
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-10174

  Generated by :no_entry_sign: dangerJS against d88704d43ddb65dddc7bc79b205727b31ee79d3c


The configuration system is set up to read keys from environment variables.

You don't say! Except Authentication:Facebook:AppId=1234567890 isn't valid Bash! So if you're not trying to host with Azure, what do you do here?

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

ID: f2c6faa2-8c65-073b-4988-672c1aa9690c
Version Independent ID: d22d616f-907e-ae62-1f43-88ad176a87d4
Content: Facebook external login setup in ASP.NET Core
Content Source: aspnetcore/security/authentication/social/facebook-logins.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/index?view=aspnetcore-2.2#environment-variables-configuration-provider
When working with hierarchical keys in environment variables, a colon separator (:) may not work on all platforms. A double underscore (__) is supported by all platforms and is replaced by a colon.

A link to this in the OIDC docs would be helpful.

@chaim1221 can you help me word that? How about
When working with hierarchical keys in environment variables (for example with Bash), a colon separator (:) may not work on all platforms. A double underscore (__) is supported by all platforms and is replaced by a colon.

Yep that text is fine, or a link to the text, either way. Just some way to call out in this document that the "environment variables" can be "colon-ized" (if you will) that way.


unchecked call to buildAuthenticationResult(ProfileRequestContext<InboundMessageType,OutboundMessageType> as a member of the raw type AbstractValidationAction Warnings at compile time

Looks like this line generates warnings for unchecked calls to buildAuthenticationResult called as raw Type without InboundMessageType and OutboundMessageType type-parameters
https://github.com/Unicon/shib-mfa-duo-auth/blob/master/src/main/groovy/net/unicon/iam/shibboleth/idp/authn/duo/authn/ValidateDuoResponse.groovy#L74

You'll want to note the Support Notice at the top of the README on the main page of this repo:
https://github.com/Unicon/shib-mfa-duo-auth https://github.com/Unicon/shib-mfa-duo-auth
This code is no longer supported. One shouldn't be running a Shib IdP earlier than v3.3.x, and as of v3.3, native support for Duo was included in the Shib IdP, and this code would no longer work without changes. And there was no advantage of making those changes, and continuing to support this as an extension to the IdP.

On Dec 21, 2018, at 12:58 PM, Angelo Pantano<EMAIL_ADDRESS>wrote:
Looks like this line generates warnings for unchecked calls to buildAuthenticationResult called as raw Type without InboundMessageType and OutboundMessageType type-parameters
https://github.com/Unicon/shib-mfa-duo-auth/blob/master/src/main/groovy/net/unicon/iam/shibboleth/idp/authn/duo/authn/ValidateDuoResponse.groovy#L74 https://github.com/Unicon/shib-mfa-duo-auth/blob/master/src/main/groovy/net/unicon/iam/shibboleth/idp/authn/duo/authn/ValidateDuoResponse.groovy#L74
--
Michael A. Grady
IAM Architect, Unicon, Inc.


Decide how to insert citations to indicate where we sourced candidate bios, ballot text, etc.

How will we put in citations?  Like wikipedia?  Other citation style?

Didn't want to hijack this, so I created the issue above, we can see how it works.

If we're pulling all bios and all ballot text from single sources, can we just list the linked source at the bottom of the text?

Are we thinking that the relationship between the citation and the thing would be one-to-many (thing <<---> citation) or many-to-many?
The classic was to model the citations in a single table here would be pk, thing_type, thing_pk, cite_info.
If it a one-to-many, a citation_pk would go, as a foreign key, into the other things.
It could be a many-to-many and that would be fine, from the db perspective. But when I looked at how django wants you to model the many-to-many through the intermediate table, it made my eyes hurt to look at it....
Or it can be simpler to have a different citation table for every thing that needs a cite. That always bothers me a bit bit would that be better?

Attn. @amandaric --

For a first pass, simply having links (without back-end models) seems much more straightforward / faster / cleaner.

Currently, we've added a citation to the whole candidate bio at the bottom.
For instance,  "Source: Candidate Statement and survey" Does everyone think this is adequate?


pipenv fails to lock pylint<2 because of wrong requirements

Issue description
Because of some version incompatibility I needed to downgrade pylint in a project. I ran into a weird dependency problem. Here's a minimal example of my problem:
$ pipenv install "pylint<2" "pylint-django<2"
Installing pylint<2...
Requirement already satisfied: pylint<2 in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (1.9.3)
Requirement already satisfied: six in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint<2) (1.11.0)
Requirement already satisfied: mccabe in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint<2) (0.6.1)
Requirement already satisfied: astroid<2.0,>=1.6 in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint<2) (1.6.5)
Requirement already satisfied: isort>=4.2.5 in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint<2) (4.3.4)
Requirement already satisfied: lazy-object-proxy in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from astroid<2.0,>=1.6->pylint<2) (1.3.1)
Requirement already satisfied: wrapt in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from astroid<2.0,>=1.6->pylint<2) (1.10.11)

Adding pylint<2 to Pipfile's [packages]...
Installing pylint-django<2...
Collecting pylint-django<2
  Using cached https://files.pythonhosted.org/packages/b9/8f/f7d599ab5b1a038defe1cb3c10958ef65785ea4c256e94db83a4536c9f25/pylint_django-0.11.1-py3-none-any.whl
Collecting pylint-plugin-utils>=0.2.1 (from pylint-django<2)
Requirement already satisfied: pylint>=1.8.2 in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint-django<2) (1.9.3)
Requirement already satisfied: astroid<2.0,>=1.6 in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint>=1.8.2->pylint-django<2) (1.6.5)
Requirement already satisfied: six in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint>=1.8.2->pylint-django<2) (1.11.0)
Requirement already satisfied: mccabe in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint>=1.8.2->pylint-django<2) (0.6.1)
Requirement already satisfied: isort>=4.2.5 in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from pylint>=1.8.2->pylint-django<2) (4.3.4)
Requirement already satisfied: lazy-object-proxy in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from astroid<2.0,>=1.6->pylint>=1.8.2->pylint-django<2) (1.3.1)
Requirement already satisfied: wrapt in /home/niklas/.local/share/virtualenvs/tmp.ZkZt3T788F-zQKhhZ4v/lib/python3.6/site-packages (from astroid<2.0,>=1.6->pylint>=1.8.2->pylint-django<2) (1.10.11)
Installing collected packages: pylint-plugin-utils, pylint-django
Successfully installed pylint-django-0.11.1 pylint-plugin-utils-0.4

Adding pylint-django<2 to Pipfile's [packages]...
Pipfile.lock (b85fc3) out of date, updating to (4f159b)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches astroid<2.0,>=1.6,>=2.0.0
Tried: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.0, 1.3.1, 1.3.1, 1.3.2, 1.3.2, 1.3.3, 1.3.3, 1.3.4, 1.3.4, 1.3.5, 1.3.5, 1.3.6, 1.3.6, 1.3.7, 1.3.7, 1.3.8, 1.3.8, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.4.2, 1.4.2, 1.4.3, 1.4.3, 1.4.4, 1.4.4, 1.4.5, 1.4.5, 1.4.6, 1.4.6, 1.4.7, 1.4.7, 1.4.8, 1.4.8, 1.4.9, 1.4.9, 1.5.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.3, 1.6.0, 1.6.0, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3, 1.6.3, 1.6.4, 1.6.4, 1.6.5, 1.6.5, 2.0, 2.0, 2.0.1, 2.0.1, 2.0.2, 2.0.2, 2.0.3, 2.0.3, 2.0.4, 2.0.4
Skipped pre-versions: 2.0.0.dev0, 2.0.0.dev0, 2.0.0.dev1, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev3, 2.0.0.dev4, 2.0.0.dev4, 2.1.0.dev0, 2.1.0.dev0
There are incompatible versions in the resolved dependencies.

Expected result
This should have worked and locked the dependencies - probably the following:
$ pipenv run pip freeze
astroid==1.6.5
isort==4.3.4
lazy-object-proxy==1.3.1
mccabe==0.6.1
pylint==1.9.3
pylint-django==0.11.1
pylint-plugin-utils==0.4
six==1.11.0
wrapt==1.10.11

Actual result
Clearing the cache and/or running $ pipenv lock --clear didn't help.
So, where's the problem? There's no astroid>=2.0.0 in there:
$ pipenv graph
pylint-django==0.11.1
  - pylint [required: >=1.8.2, installed: 1.9.3]
    - astroid [required: >=1.6,<2.0, installed: 1.6.5]
      - lazy-object-proxy [required: Any, installed: 1.3.1]
      - six [required: Any, installed: 1.11.0]
      - wrapt [required: Any, installed: 1.10.11]
    - isort [required: >=4.2.5, installed: 4.3.4]
    - mccabe [required: Any, installed: 0.6.1]
    - six [required: Any, installed: 1.11.0]
  - pylint-plugin-utils [required: >=0.2.1, installed: 0.4]
    - pylint [required: Any, installed: 1.9.3]
      - astroid [required: >=1.6,<2.0, installed: 1.6.5]
        - lazy-object-proxy [required: Any, installed: 1.3.1]
        - six [required: Any, installed: 1.11.0]
        - wrapt [required: Any, installed: 1.10.11]
      - isort [required: >=4.2.5, installed: 4.3.4]
      - mccabe [required: Any, installed: 0.6.1]
      - six [required: Any, installed: 1.11.0]

But:
$ pipenv lock --verbose
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
using sources: [{'url': 'https://pypi.org/simple', 'verify_ssl': True, 'name': 'pypi'}]
Using pip: -i https://pypi.org/simple

                          ROUND 1
Current constraints:
  pylint<2 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-sgi_w4_k-constraints.txt (line 2))
  pylint-django<2 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-sgi_w4_k-constraints.txt (line 3))

Finding the best candidates:
  found candidate pylint==1.9.3 (constraint was <2)
  found candidate pylint-django==0.11.1 (constraint was <2)

Finding secondary dependencies:
  pylint==1.9.3             requires astroid<2.0,>=1.6, isort>=4.2.5, lazy-object-proxy, mccabe, pylint==1.9.3, six, wrapt
  pylint-django==0.11.1     requires astroid>=2.0.0, isort>=4.2.5, lazy-object-proxy, mccabe, pylint-django==0.11.1, pylint-plugin-utils>=0.2.1, pylint>=1.8.2, six, typed-ast; python_version < "3.7" and implementation_name == "cpython", wrapt
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This is not true. pylint-django==0.11.1 doesn't require a specific version of astroid, see https://github.com/PyCQA/pylint-django/blob/d49c01fe178fb58a5887d372e54f26dc39e7fb41/setup.py.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

New dependencies found in this round:
  adding ['astroid', '<2.0,>=1.6,>=2.0.0', '[]']
  adding ['isort', '>=4.2.5', '[]']
  adding ['lazy-object-proxy', '', '[]']
  adding ['mccabe', '', '[]']
  adding ['pylint', '==1.9.3,>=1.8.2', '[]']
  adding ['pylint-django', '==0.11.1', '[]']
  adding ['pylint-plugin-utils', '>=0.2.1', '[]']
  adding ['six', '', '[]']
  adding ['typed-ast', '', '[]']
  adding ['wrapt', '', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  astroid<2.0,>=1.6,>=2.0.0
  isort>=4.2.5
  lazy-object-proxy
  mccabe
  pylint<2,==1.9.3,>=1.8.2 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-sgi_w4_k-constraints.txt (line 2))
  pylint-django<2,==0.11.1 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-sgi_w4_k-constraints.txt (line 3))
  pylint-plugin-utils>=0.2.1
  six
  typed-ast
  wrapt

Finding the best candidates:
Using pip: -i https://pypi.org/simple

                          ROUND 1
Current constraints:
  pylint<2 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-naq6mws0-constraints.txt (line 2))
  pylint-django<2 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-naq6mws0-constraints.txt (line 3))

Finding the best candidates:
  found candidate pylint==1.9.3 (constraint was <2)
  found candidate pylint-django==0.11.1 (constraint was <2)

Finding secondary dependencies:
  pylint==1.9.3             requires astroid<2.0,>=1.6, isort>=4.2.5, lazy-object-proxy, mccabe, pylint==1.9.3, six, wrapt
  pylint-django==0.11.1     requires astroid>=2.0.0, isort>=4.2.5, lazy-object-proxy, mccabe, pylint-django==0.11.1, pylint-plugin-utils>=0.2.1, pylint>=1.8.2, six, typed-ast; python_version < "3.7" and implementation_name == "cpython", wrapt

New dependencies found in this round:
  adding ['astroid', '<2.0,>=1.6,>=2.0.0', '[]']
  adding ['isort', '>=4.2.5', '[]']
  adding ['lazy-object-proxy', '', '[]']
  adding ['mccabe', '', '[]']
  adding ['pylint', '==1.9.3,>=1.8.2', '[]']
  adding ['pylint-django', '==0.11.1', '[]']
  adding ['pylint-plugin-utils', '>=0.2.1', '[]']
  adding ['six', '', '[]']
  adding ['typed-ast', '', '[]']
  adding ['wrapt', '', '[]']
Removed dependencies in this round:
Unsafe dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  astroid<2.0,>=1.6,>=2.0.0
  isort>=4.2.5
  lazy-object-proxy
  mccabe
  pylint<2,==1.9.3,>=1.8.2 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-naq6mws0-constraints.txt (line 2))
  pylint-django<2,==0.11.1 (from -r /tmp/pipenv-c998zbai-requirements/pipenv-naq6mws0-constraints.txt (line 3))
  pylint-plugin-utils>=0.2.1
  six
  typed-ast
  wrapt

Finding the best candidates:

Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches astroid<2.0,>=1.6,>=2.0.0
Tried: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.0, 1.3.1, 1.3.1, 1.3.2, 1.3.2, 1.3.3, 1.3.3, 1.3.4, 1.3.4, 1.3.5, 1.3.5, 1.3.6, 1.3.6, 1.3.7, 1.3.7, 1.3.8, 1.3.8, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.4.2, 1.4.2, 1.4.3, 1.4.3, 1.4.4, 1.4.4, 1.4.5, 1.4.5, 1.4.6, 1.4.6, 1.4.7, 1.4.7, 1.4.8, 1.4.8, 1.4.9, 1.4.9, 1.5.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.3, 1.6.0, 1.6.0, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3, 1.6.3, 1.6.4, 1.6.4, 1.6.5, 1.6.5, 2.0, 2.0, 2.0.1, 2.0.1, 2.0.2, 2.0.2, 2.0.3, 2.0.3, 2.0.4, 2.0.4
Skipped pre-versions: 2.0.0.dev0, 2.0.0.dev0, 2.0.0.dev1, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev3, 2.0.0.dev4, 2.0.0.dev4, 2.1.0.dev0, 2.1.0.dev0
There are incompatible versions in the resolved dependencies.
Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
Could not find a version that matches astroid<2.0,>=1.6,>=2.0.0
Tried: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.0, 1.3.1, 1.3.1, 1.3.2, 1.3.2, 1.3.3, 1.3.3, 1.3.4, 1.3.4, 1.3.5, 1.3.5, 1.3.6, 1.3.6, 1.3.7, 1.3.7, 1.3.8, 1.3.8, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.4.2, 1.4.2, 1.4.3, 1.4.3, 1.4.4, 1.4.4, 1.4.5, 1.4.5, 1.4.6, 1.4.6, 1.4.7, 1.4.7, 1.4.8, 1.4.8, 1.4.9, 1.4.9, 1.5.0, 1.5.0, 1.5.1, 1.5.1, 1.5.2, 1.5.2, 1.5.3, 1.5.3, 1.6.0, 1.6.0, 1.6.1, 1.6.1, 1.6.2, 1.6.2, 1.6.3, 1.6.3, 1.6.4, 1.6.4, 1.6.5, 1.6.5, 2.0, 2.0, 2.0.1, 2.0.1, 2.0.2, 2.0.2, 2.0.3, 2.0.3, 2.0.4, 2.0.4
Skipped pre-versions: 2.0.0.dev0, 2.0.0.dev0, 2.0.0.dev1, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev3, 2.0.0.dev4, 2.0.0.dev4, 2.1.0.dev0, 2.1.0.dev0
There are incompatible versions in the resolved dependencies.

Steps to replicate
$ pipenv install "pylint<2" "pylint-django<2" should be enough.

$ pipenv --support
Pipenv version: '2018.7.1'
Pipenv location: '/usr/local/lib/python3.6/dist-packages/pipenv'
Python location: '/usr/bin/python3'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

2.7.15: /usr/bin/python

2.7.15: /usr/bin/python2

3.6.6: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-35-generic',
 'platform_system': 'Linux',
 'platform_version': '#38-Ubuntu SMP Wed Sep 12 10:38:24 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

COLORFGBG
COLORTERM
DBUS_SESSION_BUS_ADDRESS
DEBEMAIL
DEBFULLNAME
DEFAULTS_PATH
DESKTOP_SESSION
DISPLAY
GOPATH
GOROOT
GPG_AGENT_INFO
GS_LIB
GTK2_MODULES
GTK2_RC_FILES
GTK_MODULES
GTK_RC_FILES
HOME
KDE_FULL_SESSION
KDE_SESSION_UID
KDE_SESSION_VERSION
KONSOLE_DBUS_SERVICE
KONSOLE_DBUS_SESSION
KONSOLE_DBUS_WINDOW
KONSOLE_PROFILE_NAME
LANG
LANGUAGE
LOGNAME
LS_COLORS
MANDATORY_PATH
MP_FULLNAME
PAM_KWALLET5_LOGIN
PAM_KWALLET_LOGIN
PATH
PROFILEHOME
PWD
QT_ACCESSIBILITY
QT_AUTO_SCREEN_SCALE_FACTOR
SESSION_MANAGER
SHELL
SHELL_SESSION_ID
SHLVL
SSH_AGENT_PID
SSH_AUTH_SOCK
TERM
USER
WINDOWID
XAUTHORITY
XCURSOR_THEME
XDG_CONFIG_DIRS
XDG_CURRENT_DESKTOP
XDG_DATA_DIRS
XDG_RUNTIME_DIR
XDG_SEAT
XDG_SEAT_PATH
XDG_SESSION_CLASS
XDG_SESSION_COOKIE
XDG_SESSION_DESKTOP
XDG_SESSION_ID
XDG_SESSION_PATH
XDG_SESSION_TYPE
XDG_VTNR
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/niklas/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/niklas/.gopath/bin:/home/niklas/.cargo/bin
SHELL: /usr/bin/fish
LANG: de_DE.UTF-8
PWD: /tmp/tmp.ZkZt3T788F

Contents of Pipfile ('/tmp/tmp.ZkZt3T788F/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pylint = "<2"
pylint-django = "<2"

[dev-packages]

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('/tmp/tmp.ZkZt3T788F/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "4231a09d785ee1e01ae118135bac8402f1edd440be62dc62ae2666b539b85fc3"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "astroid": {
            "hashes": [
                "sha256:0ef2bf9f07c3150929b25e8e61b5198c27b0dca195e156f0e4d5bdd89185ca1a",
                "sha256:fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a"
            ],
            "version": "==1.6.5"
        },
        "isort": {
            "hashes": [
                "sha256:1153601da39a25b14ddc54955dbbacbb6b2d19135386699e2ad58517953b34af",
                "sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8",
                "sha256:ec9ef8f4a9bc6f71eec99e1806bfa2de401650d996c59330782b89a5555c1497"
            ],
            "markers": "python_version != '3.3.*' and python_version >= '2.7' and python_version != '3.2.*' and python_version != '3.0.*' and python_version != '3.1.*'",
            "version": "==4.3.4"
        },
        "lazy-object-proxy": {
            "hashes": [
                "sha256:0ce34342b419bd8f018e6666bfef729aec3edf62345a53b537a4dcc115746a33",
                "sha256:1b668120716eb7ee21d8a38815e5eb3bb8211117d9a90b0f8e21722c0758cc39",
                "sha256:209615b0fe4624d79e50220ce3310ca1a9445fd8e6d3572a896e7f9146bbf019",
                "sha256:27bf62cb2b1a2068d443ff7097ee33393f8483b570b475db8ebf7e1cba64f088",
                "sha256:27ea6fd1c02dcc78172a82fc37fcc0992a94e4cecf53cb6d73f11749825bd98b",
                "sha256:2c1b21b44ac9beb0fc848d3993924147ba45c4ebc24be19825e57aabbe74a99e",
                "sha256:2df72ab12046a3496a92476020a1a0abf78b2a7db9ff4dc2036b8dd980203ae6",
                "sha256:320ffd3de9699d3892048baee45ebfbbf9388a7d65d832d7e580243ade426d2b",
                "sha256:50e3b9a464d5d08cc5227413db0d1c4707b6172e4d4d915c1c70e4de0bbff1f5",
                "sha256:5276db7ff62bb7b52f77f1f51ed58850e315154249aceb42e7f4c611f0f847ff",
                "sha256:61a6cf00dcb1a7f0c773ed4acc509cb636af2d6337a08f362413c76b2b47a8dd",
                "sha256:6ae6c4cb59f199d8827c5a07546b2ab7e85d262acaccaacd49b62f53f7c456f7",
                "sha256:7661d401d60d8bf15bb5da39e4dd72f5d764c5aff5a86ef52a042506e3e970ff",
                "sha256:7bd527f36a605c914efca5d3d014170b2cb184723e423d26b1fb2fd9108e264d",
                "sha256:7cb54db3535c8686ea12e9535eb087d32421184eacc6939ef15ef50f83a5e7e2",
                "sha256:7f3a2d740291f7f2c111d86a1c4851b70fb000a6c8883a59660d95ad57b9df35",
                "sha256:81304b7d8e9c824d058087dcb89144842c8e0dea6d281c031f59f0acf66963d4",
                "sha256:933947e8b4fbe617a51528b09851685138b49d511af0b6c0da2539115d6d4514",
                "sha256:94223d7f060301b3a8c09c9b3bc3294b56b2188e7d8179c762a1cda72c979252",
                "sha256:ab3ca49afcb47058393b0122428358d2fbe0408cf99f1b58b295cfeb4ed39109",
                "sha256:bd6292f565ca46dee4e737ebcc20742e3b5be2b01556dafe169f6c65d088875f",
                "sha256:cb924aa3e4a3fb644d0c463cad5bc2572649a6a3f68a7f8e4fbe44aaa6d77e4c",
                "sha256:d0fc7a286feac9077ec52a927fc9fe8fe2fabab95426722be4c953c9a8bede92",
                "sha256:ddc34786490a6e4ec0a855d401034cbd1242ef186c20d79d2166d6a4bd449577",
                "sha256:e34b155e36fa9da7e1b7c738ed7767fc9491a62ec6af70fe9da4a057759edc2d",
                "sha256:e5b9e8f6bda48460b7b143c3821b21b452cb3a835e6bbd5dd33aa0c8d3f5137d",
                "sha256:e81ebf6c5ee9684be8f2c87563880f93eedd56dd2b6146d8a725b50b7e5adb0f",
                "sha256:eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a",
                "sha256:f460d1ceb0e4a5dcb2a652db0904224f367c9b3c1470d5a7683c0480e582468b"
            ],
            "version": "==1.3.1"
        },
        "mccabe": {
            "hashes": [
                "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42",
                "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"
            ],
            "version": "==0.6.1"
        },
        "pylint": {
            "hashes": [
                "sha256:09bc539f85706f2cca720a7ddf28f5c6cf8185708d6cb5bbf7a90a32c3b3b0aa",
                "sha256:b8471105f12c73a1b9eee2bb2474080370e062a7290addd215eb34bc4dfe9fd8"
            ],
            "index": "pypi",
            "version": "==1.9.3"
        },
        "six": {
            "hashes": [
                "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
                "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
            ],
            "version": "==1.11.0"
        },
        "wrapt": {
            "hashes": [
                "sha256:d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6"
            ],
            "version": "==1.10.11"
        }
    },
    "develop": {}
}

Those are not pins, pylint-django<2 still requires astroid>=2.0.0 -- the current implementation of pipenv doesn't backtrack which means it doesn't go backwards to find a version of pylint-django that in turn has a version of astroid that will not conflict with the other dependencies.  It just finds versions that are declared that satisfy the supplied top level constraints or it raises an error to the user to resolve the issue.
For now you need to find the version of pylint-django that doesn't use astroid>=2.0.0 to solve this properly or else put pylint-django in your dev-packages to make the conflicts always go in favor of the pylint pin.

Okay. But:

pylint-django<2 still requires astroid>=2.0.0

I don't think that's true. I looked at the setup.py and there's no mention of astroid.

Oh hm is this still relevant if you try it against master?

I just tried and it seems to be fixed.
It also works in 2018.11.26 (I reported this issue with 2018.7.1).


Overcome Postgres Identifier Size Limit

Postgres limits identifiers to 63 bytes (implemented in C and uses a macro of 64 (one null)).
Changing this constant would require a recompile of Postrges (which is of course a non-starter).\
The easy solution is to throw an exception on predicate construction if the name is too long (make sure to use org.linqs.psl.database.rdbms.PredicateInfo.PREDICATE_TABLE_SUFFIX).
The hard solution would be to do some sort of mapping to a unique identifier and record it in a meta data table.
It is important that predicates can be recovered from the database.

Reported by Varun

A possible solution would be to hash predicate names that are too long and then take a substring of that hash.
We would have to make sure that we add an entry to the metadata table and use that when loading predicates from the database.

I am starting to lean towards the solution of a hash and also #160.

Fixed in c91344a4d32990e7e93d8881b366c19db6870caa.
Because of the change in #160, we now just use the hash solution.


[Doc] Update the migration documentation

Update the migration docs by including the point "Run the cleanup scripts (especially token/code cleanup) before doing the migration in order to clean the expired/inactive/revoked tokens/codes."

Duplicated with https://github.com/wso2/product-is/issues/4423


Feature Request: Send Phone OTP

Add a feature that allows users to trigger phone OTPs and then verify them through methods in the SDK, similar to those present in the React SDK.

This feature has now been added


Fix Manila deployment with network isolation

Somehow the network related resources (NAD) are not registerd in main, hence the deployment will fail if network isolation is enabled.

/test manila-operator-build-deploy-tempest


Relative link to dashing-icons font file is broken

#When running this in an App, the link to the font file is broken. I'm currently having to manually rewrite the url link.

Refer to icon documentation.


How-To : Sticky relative to selected parent container

The features list for the plugin has the following line:
It can be sticky to the entire page or to selected parent container

However, I cannot seem to find any documentation that states how to define the selected parent container when instantiating the stickyjs instance.
A pointer in the right direction would be appreciated!

You just have to add data-sticky-container to parent container. Look at the examples.

@rgalus if I have multiple sticky elements relative to multiple sticky containers, is it possible to define which sticky-container the element should use? something like:
  const sticky = new Sticky('.selector', sticky-container: '.selector2');

Thanks!


unable to login

when i click the login . button after i enter my password. there is no response,  i tried to update to the most recent version. no luck .  help?

You mean when you're unlocking your wallet? An error should appear, but if it doesn't it typically means the password wasn't recognized for some reason. Are you sure you're using the right password?
Mind providing some more information, like which screen you were trying to unlock from? Maybe a screenshot to show us where you're at in the process?
If all else fails and you need to reset your password (and you have your private keys backed up safely), you can always reset the application (Tools -> Reset Application), and then set it up again using a new password. You'll go through the process of reimporting your keys/accounts again which can be a hassle, but it's really the only way to re-establish a new wallet when the password goes bad.


Code is slow to open - usually 10 - 20 seconds

Issue Type: Performance Issue
I find that Code is /very/ slow to open sometimes. For example, I have a simple text document on the desktop. When I double click it to open it in Code, it can take anywhere from 10 to 20 seconds before the file is acutal open. The file isn't very big either - maybe 300 lines, 500 words, white quite a lot of white space. Once open it performs very well...
Is there any info I can give you that will help?
Please note that this slowness only started to happen some 6 weeks ago. Prior to a certain build everything opened very quickly (you're going to ask if I recall which version started the slow trend... alas, I don't).
VS Code version: Code - Insiders 1.28.0-insider (83d5a29433d7f576b59db8019575a0c9dc78a967, 2018-10-01T13:31:33.485Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.84GB (4.60GB free)

Process Argv
C:\Users\crawfog\Desktop\New Text Document.txt

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    4	    81	 14612	code-insiders main
    0	   157	 11760	   window (New Text Document.txt - Visual Studio Code - Insiders)
    0	    55	 19260	     extensionHost
    5	    42	 19108	       electron_node server.js
    1	    71	 11876	   window (Issue Reporter)
    0	   114	 16588	   gpu-process
    0	    67	 19368	   shared-process

Workspace Info
;

Extensions (1)

Extension
Author (truncated)
Version

code-spell-checker
str
1.6.10

Duplicate of #56644?

/duplicate https://github.com/Microsoft/vscode/issues/56644


V0.1 Fixes

Prefix for deadline changed to " by "
Updated documentation
Renamed person to task and addressbook to taskmanager

Coverage remained the same at 91.392% when pulling 8bf3f526d3b2069c5d0f13241081e61f7b60c94d on V0.1-yesha-fixes into cbdcd7506f6604e93130f57b134db56e3e6c1795 on V0.1.


Establish PS Gallery account

💡 Summary
Establish a PS Gallery account so we can publish the ScubaGear module
Motivation and context
This would be useful because it will allow us to make Scuba available as a module from a well know package repository.
Reference #645
Implementation notes
Please provide details for implementation, such as:

Establish PS Gallery account -- Refernence

Acceptance criteria
How do we know when this work is done?

[x] Account is created
[x] Credentials are stored in ScubaGear Key Vault

PowerShell Gallery Account has been created.  API Key is stored in key vault.
Closing as complete.

PowerShell Gallery Account has been created.  API Key is stored in key vault.
Closing as complete.


Changing title causes UI error

If a network error occurs while looking at the map, once you regain
connection and stops load, once you go to look at an individual stop,
the back navigation button title is "Error connecting" instead of "Map"

Thanks for the PR!

Yes I did right before initiating the PR


Fix code scanning alert - Missing rate limiting

Tracking issue for:

[x] https://github.com/TypeNaN/dictionary/security/code-scanning/2

Fixed
https://github.com/TypeNaN/dictionary/commit/1b8b484ab346e5bc7feb15917d68196397823d0b


Output is Grayscale

I am using the 8-bit mode. and my output is a grayscale image, is cvtcolor not working?

should be working. We had an issue where color planes where swapped but got fixed.  Basically if you open in YUV mode ( not RAW ) then if Boson is configured to use color LUTs you will see them ....

./BosonUSB y  ->  opens Boson320 /dev/video0  in AGC-8bits mode
AGC mode will display colors if Boson does. Let us know.

That’s what I am using. I get a .tiff file that is grayscale, what’s weird is that the .tiff file has 3 channels, and they are all equal to each other when I separate them.

I have tested it and it works, i am getting the TIFFs colorized. What i have done.

I configured the Boson to provide colors. In my case i used rawBoson from the command line, but you can use the UI or any other tool.
I opened  the video using BosonUSB and it was colorized ( BosonUSB sB y )
I quit and run again BosonUSB with the recording enable.  Video was colorized and I opened the file and it looks the same than the video.

So basically, if your video is gray scale , your recording will be grey scale.
The commands i use:
sudo ./rawBoson -p/dev/ttyACM0 -b921600 c000B0001 x0 x0 x0 x1    ( this is to activate colormap )
sudo ./rawBoson -p/dev/ttyACM0 -b921600 c000B0003 x0 x0 x0 x4    ( to activate one of the maps )
./BosonUSB sB y ftest    ( to display AGC mode while recording )
eog Boson_640_yuv_0.tiff   ( to open the file )
Video and files are colorized.
rawBoson is at Github as well : github.com/FLIR/rawBoson

Thank you!
All sorted now.


Deeplink with scheme https is automatically opened in browser instead of app

Version: 0.7.0
During experiments with the SDK I have noticed that even if the action for simple push is selected as "Deep linking", the app on Android is opening browser with given deeplink.
We would continue to use the deeplinks that start with https:// and browser can be automatically launched, but for the action type: "Open url".

Can you please provide your universal linking implementation? AndroidManifest.xml and main.dart

This is our AndroidManifest.xml (anonymous)
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.domain.project">
    <queries>
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <data android:scheme="https" />
        </intent>
        <intent>
            <action android:name="android.intent.action.DIAL" />
            <data android:scheme="tel" />
        </intent>
        <intent>
            <action android:name="android.intent.action.SENDTO" />
            <data android:scheme="mailto" />
        </intent>
    </queries>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove" />

    <application
        android:name="${applicationName}"
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher"
        android:allowBackup="false"
        android:networkSecurityConfig="@xml/network_security_config"
        android:fullBackupContent="@xml/backup_rules"
        tools:replace="android:fullBackupContent">

        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />

        <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="XXX"/>

        <meta-data
            android:name="com.google.firebase.messaging.default_notification_icon"
            android:resource="@drawable/notification_icon" />

        <meta-data
            android:name="com.synerise.sdk.messaging.notification_icon"
            android:resource="@drawable/notification_icon" />

        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <!-- Displays an Android View that continues showing the launch screen
                 Drawable until Flutter paints its first frame, then this splash
                 screen fades out. A splash screen is useful to avoid any visual
                 gap between the end of Android's launch screen and the painting of
                 Flutter's first frame. -->
            <meta-data
              android:name="io.flutter.embedding.android.SplashScreenDrawable"
              android:resource="@drawable/launch_background"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <intent-filter>
              <action android:name="android.intent.action.VIEW"/>
              <category android:name="android.intent.category.DEFAULT"/>
              <category android:name="android.intent.category.BROWSABLE"/>
                <data
                    android:pathPrefix="/banner"
                    android:host="domain.pl"
                    android:scheme="https"/>
                <data
                    android:pathPrefix="/marketplace"
                    android:host="domain.pl"
                    android:scheme="https"/>
                <data
                    android:pathPrefix="/partner"
                    android:host="domain.pl"
                    android:scheme="https"/>
                <data
                    android:pathPrefix="/profile"
                    android:host="domain.pl"
                    android:scheme="https"/>
                <data
                    android:path="/"
                    android:host="domain.pl"
                    android:scheme="https"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
</manifest>

And we don't have simple push configuration in main, I will try to add more details to reproduction

Try to add autoVerify to your intent-filter according to https://docs.flutter.dev/cookbook/navigation/set-up-app-links

I tried and autoVerify doesn't seem to resolve the problem, earlier without it we didn't have this problem when sending non-Synerise pushes via Firebase console.
Message config:

On iOS when I click on the Synerise notification, we immediately receive an action from:
FirebaseMessaging.onMessageOpenedApp
On Android FirebaseMessaging.onMessageOpenedApp is not called then.
I reproduced this behaviour in your's example app:
https://github.com/Synerise/synerise-flutter-sdk/assets/124564649/a92c9d6a-9952-481b-b8b2-d5af36ee8452

On android behaviour is slightly different. From version 0.8.0 there is possibility to handle deepLink manually inside callback in dart. Please try this way.  https://hub.synerise.com//developers/mobile-sdk/campaigns/action-handling/
Additionally, Can you send me your logcat when you click on notification? There should be an error showing that there is no activity to handle intent with your link.

@konned Thanks for your message.
We will try now to integrate with newest version in our product

@konned After update to 1.1.1 we are able to handle links and deeplinks properly.
This is can be closed :)


The application does not display the configured background image in the “Testimonials” section.

Description:
The application allow the user to set a background image in the Crafter Studio, but the image is not displayed in the site.
-Env:
Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)
REPRODUCIBILITY LEVEL:
Always
STEPS:
Steps

Open the Crafter studio with the Fitness site.
On the site bar, locate the pages section.
Click on the edit button of the “Home“  page.
Go to the Main Content Section.
On the page section, select the “Quotes” section and click on the edit button.
In the Content section, add a new “Image Background”.
Click on the Save and Close Button.
Check the testimonials section in the preview of the site.

CURRENT RESULT:
The application do not display the background image that the user set for the testimonials section.
https://screencast.com/t/HMByX1pIY
EXPECTED RESULT:
The application should display the background image that the user set for the testimonials section.

Fixed

Bug verified and closed fixed in build c557d13.


Add support for DBase 7 Double type

This adds support for the DBase 7 Double type (O) as documented here.
These are handled similarly to DB7 integers, and so the converter class is built similarly to that.

@aaronhuisinga Thank, comrade. Is it possible for you to provide a small file for tests with this field type?

@gam6itko Sure thing. I'll get that added in a separate PR.

@gam6itko This is open at #102. Could we get a release tagged after this is merged as well?

@aaronhuisinga done.


Sampler crackles then stops on mobile

Hi, I am using tone.js for playing a midi file using midiconvert. I am using the sampler along with a piano sample (the same one used in the sampler example). Everything plays fine on desktop browsers, but on mobile browsers it seems to play fine for a while but then starts crackling and then stops playing.
I assume this is a performance thing and mobile browsers just can't handle it, but is there any way to optimize this? I have tried changing the latencyHint and reducing the sample file size, but that doesn't seem to really do anything.
Here is my project: http://midiflip.azurewebsites.net/
Here is a snippet of the code:
var piano = new Tone.Sampler({
    'A0': "A0.[mp3|ogg]",
    'C1': "C1.[mp3|ogg]",
    'D#1': "Ds1.[mp3|ogg]",
    ...
}, {
    'release': 1,
    'baseUrl': "/content/audio/"
}).toMaster();

//Parse the flipped midi file
var flippedMidi = MidiConvert.parse(e.target.result);

Tone.Transport.bpm.value = flippedMidi.header.bpm;

//Create a Tone part for each rack in the flipped midi
for (var trackNr = 0; trackNr < flippedMidi.tracks.length; trackNr++) {
    var track = flippedMidi.tracks[trackNr];

    var midiPart = new Tone.Part(function (time, note) {
        piano.triggerAttackRelease(note.name, note.duration, time, note.velocity);
    },
        track.notes);

    //Get the total time in seconds of the flipped midi sequence
    if (track.notes.length !== 0) {
        var trackEnd = track.notes[track.notes.length - 1].time + track.notes[track.notes.length - 1].duration;

        if (trackEnd > sequenceEnd)
            sequenceEnd = trackEnd;
    }

    midiPart.start(0);
}

Thanks for the awesome library!

Looks like you're doing everything right from what i can tell. Might simply be a performance limitation of the device... what device are you testing it on? I can't reproduce the issue since i don't have any midi files on my phone.

I'm using a Motorola Moto G4, which is a low/mid-end smartphone. I don't have any other devices to really test it on. But yeah, it is probably a performance limitation. I guess i'll have to use a synth on mobile since those do work fine on mobile.


sfb file is too big for our models, around 10MB

For other files of one model, the total size is 4 MB. However, the sfb file of this model is around 10MB. Do we really need sfb file? Our app downloads the model in realtime, so we really concern about the size of models.

Which other formats are you comparing to? The SFB is not file compressed, so if you'd like, you can try zipping it. Otherwise it has the necessary geometry and images for the model all in one file, so you might be able to try reducing the image or geometry resolution?


Fixed deconv length inference in conv_utils

Added deconv_length inference for full padding
conv2d_transpose now passing tests

LGTM, thanks!