Bug in display array in watch area - http://prntscr.com/fj6h2o

VSCode Version: Code 1.13.0 (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-08T16:43:13.058Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

python
donjayamanne
0.6.4

gitlens
eamodio
4.1.1

PowerShell
ms-vscode
1.3.2

seti-icons
qinjia
0.1.3

theme-sapphire
Tyriar
0.2.1

Steps to Reproduce:

Looks like you are debugging a Powershell script.
Debugging support for Powershell comes from the Powershell extension.
Please log this issue in the repo for the Powershell extension you are using.
If they determine that this is a VS Code issue, then we can re-open this issue


Necessary null checks added because WeakReference.get() may return null.

Some weak references were used without checking for null.

Pushed to master and 8.2.x, thanks


Fix Evidently documentation

Describe changes
Correct the code snippets in the Evidently data validator documentation to reflect the last Evidently update and the visualization changes.
Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[ ] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[ ] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

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

incorporated into https://github.com/zenml-io/zenml/pull/2705


Apps containing FacebookAPI crash when deployed to Play Store as AAB (now a requirement)

If you build an app (or use the ALFacebookLogin demo app) and run directly onto the device in debugging mode (Android64 build) it works properly and the Facebook login is triggered as expected.
If the same app is built for Play Store as an app bundle, the deployed app crashes as soon as the Facebook API is invoked due to a missing reference. Details below.
To reproduce:

In Delphi, within the app project's Compiling settings, tick the option to build as an Android AAB bundle ready for the Play Store.
Make sure the provisioning details are set up for app store and create a keystore file if needed.
Set the build settings to Release and for App Store then build.
An AAB file is generated.
Upload to the Play Store (internal testing) or extract the relevant .apk variant from the bundle for a connected device using the bundletool. (Commands for doing this are below).
Install the app onto an Android device and run.
As soon as the Facebook API is invoked (such as the Facebook Login button in the demo app), the app force-closes.

Logcat includes the following error:
E/AndroidRuntime(32277): FATAL EXCEPTION: main
E/AndroidRuntime(32277): Process: com.ALFacebookLogin.app, PID: 32277
E/AndroidRuntime(32277): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ALFacebookLogin.app/com.facebook.FacebookActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f04001d type #0x1c is not valid
E/AndroidRuntime(32277): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3632)
E/AndroidRuntime(32277): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3784)
E/AndroidRuntime(32277): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
E/AndroidRuntime(32277): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(32277): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(32277): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2270)
E/AndroidRuntime(32277): 	at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(32277): 	at android.os.Looper.loop(Looper.java:237)
E/AndroidRuntime(32277): 	at android.app.ActivityThread.main(ActivityThread.java:8125)
E/AndroidRuntime(32277): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32277): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
E/AndroidRuntime(32277): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
E/AndroidRuntime(32277): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f04001d type #0x1c is not valid
E/AndroidRuntime(32277): 	at android.content.res.Resources.loadXmlResourceParser(Resources.java:2388)
E/AndroidRuntime(32277): 	at android.content.res.Resources.getLayout(Resources.java:1276)
E/AndroidRuntime(32277): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
E/AndroidRuntime(32277): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
E/AndroidRuntime(32277): 	at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:541)
E/AndroidRuntime(32277): 	at android.app.Activity.setContentView(Activity.java:3369)
E/AndroidRuntime(32277): 	at com.facebook.FacebookActivity.onCreate(FacebookActivity.java:78)
E/AndroidRuntime(32277): 	at android.app.Activity.performCreate(Activity.java:7957)
E/AndroidRuntime(32277): 	at android.app.Activity.performCreate(Activity.java:7946)
E/AndroidRuntime(32277): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
E/AndroidRuntime(32277): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3607)
E/AndroidRuntime(32277): 	... 11 more
It seems that the post-build script which includes the necessary R file details may be interfered with during the bundling process.
This means that the Facebook API (and maybe others) in this package can't be used in a production Android app until this is fixed.
To reproduce, use the ALFacebookLogin app and build as described above with a Keystore file.
The commands I used to extract the relevant "app" from the bundle and install onto the connected device to mimic the Play Store deployment are as follows. This is exactly as per Google's official instructions:
Note - these commands should be run from the \bin folder where the .aab is generated.
"C:\Program Files\Java\jdk1.8.0_60\bin\java.exe" -jar "c:\program files (x86)\embarcadero\studio\20.0\bin\android\bundletool-all-0.10.3.jar" build-apks --connected-device --bundle=ALFacebookLogin.aab --output=extracted.apks --adb=C:\SDKs\android-sdk-windows\platform-tools\Adb.exe --ks=........\release.keystore --ks-pass=pass:Password1 --ks-key-alias=alcinoe --key-pass=pass:Password1
"C:\Program Files\Java\jdk1.8.0_60\bin\java.exe" -jar "c:\program files (x86)\embarcadero\studio\20.0\bin\android\bundletool-all-0.10.3.jar" install-apks --apks=extracted.apks

Is the only Facebook API an issue?
Is there any problem with other components such as TALText TALRectangle?

I just tested it too.

Add ALText and ALRectangle to the blank form.

Android 64bit-Application Store Mode & [aab option checked]
Build Run.

Project1.aab was created.

Command execution
java -jar "C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\Android\bundletool-all-0.10.3.jar" build-apks --bundle="Project1.aab" --output=extracted .apks --adb="C:\Users\Public\Documents\Embarcadero\Studio\20.0\CatalogRepository\AndroidSDK-2525_20.0.36039.7899\platform-tools\adb.exe" --ks="D:\test\ testtt\key\mykey.keystore" --ks-pass=pass:tfod777 --ks-key-alias=mykey --key-pass=pass:tfod777

extracted.apks are created
(32bit & 64bit included)

Run test on Android7 Android10

Perfect operation

Hello, everything has been fixed in the latest committed version.


Start requesting features

I want to add more features in this app, please suggest to me what more can be added.

cc: @shmehdi01, @hiruthicShaSS , @ketanvishwakarma

Share image after editing.
Personal cloud storage (just to cache unfinished editing or to store the finished work on cloud)

@hiruthicShaSS sharing image sounds cool, can you elaborate on how can we add a personal cloud storage feature?

We could use firebase for authentication and storage.

@hiruthicShaSS is this issue opened for hacktober 2021?

Its not, YET. Can you mark this issue for hacktoberfest @thisisamank ?

@ShivamMenda it's actually implemented by @shmehdi01. Can you please suggest more? 😅

Okay @thisisamank.

Introduce feature like add text/stickers on image.

@thisisamank Hey! Anything that can be done in this app now; any feature additions or else? I would love to take the task!!
Waiting to hear from u soon!!


Document additional NetServerGetInfo error code

NERR_ServerNotStarted was missing.
Also adds the decimal representation of the errors.

@albertvaka : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[qa] Add commit message style check

It's time to automate the commit message style checks according to our guidelines, that will make contributing a lot smoother for new contributors and less time consuming for reviewers.
These are the most common issues which we should address:

prefix not present, eg: Done something (should be [qa] Done something)
no capital letter after prefix: [qa] done something
unnecessary final dot in first line, eg: [qa] Done something.
No blank line before first line and second line, eg:

[qa] Done something
Long description

Mentions an issue without closing it, eg: Implements #20 (won't close), Closes #20 and #21 (won't close #21 - but we should allow writing something like Related to #33, because sometimes we may want to reference an issue even though we are not solving it in that commit
Closes an issue in the long description but doesn't mention it in the short description, eg:

[qa] Done something

Fixes #2

should be:
[qa] Done something #2

Fixes #2

(easier to read in the short log format)
This is not urgent but not unimportant because having a clean commit history is important for the long term sustainability of the project.
It doesn't make sense to keep enforcing these rules by hand.. it's clear to me that as the community grows we won't be able to do that, so automating this check is key.
We need something like the migration check implemented in #16.

it's not clear.


Fixed ArrayIndexOutOfBoundsException with convertToArgs()

I fixed the bad comparator of columns in SchemaDefinition.
Sorting of columns has the purpose which is Places primaryKey as the last in columns to handle withoutAutoId.
However, given comparator is not correct.
If the @PrimaryKey column is not the first field, it will be moved to the first element of columns.
In addition, when PrimaryKey.auto is declared as true, convertToArgs() always throws ArrayIndexOutOfBoundsException.
Sort check program is following.
http://ideone.com/wn4fBv
The new comparator has the pre-condition -- One table can have one PrimaryKey at most.

LGTM. Sorry to inconvenience.


Settings page opens upon entering/leaving instance

After a loading screen, the settings page seems to open regardless of its status before the load screen
https://youtu.be/zlZc8aSDKRo

additionally, the settings page opens when interacting with the controls (start/pause/split etc), unsure if that is related

Fixed settings page staying open. Opening the settings menu with right-clicks on the UI is the intended method of opening it (not documented, I'll get on that one of these days :).


Evaluation

Evalutation of the decision tree after random generation, crossover and mutation using the Iris dataset.

Implemented in 86d7228c0ed58ef35797417a8f0b8fb1f32d8ebe.


Remove the Job.createLog method.

It seems a little redundant.
The Queue.createJob and Queue.addJob are designed as separate processes to enable bulk local creation of jobs.
It is unlikely that you would ever need to create bulk job logs.

Yes I totally agree. Less boilerplate the better. Simple streamlined API is best!

Removed in v0.5.0


question: sharesheets facebook

Hello,
Is there anyway to get the options for paste for Facebook included in the share sheets?
like the method  "shareViaFacebookWithPasteMessageHint"?

No, you should use separate buttons in that case and use shareVia


Add debug mode to is_has_traits_almost_equal.

Add new debug keyword argument. Only useful when an exception is raised by the code, to understand what triggered it. In normal usage, the equality failure will also report what attribute path failed equality.
General code improvements.

Thanks for the review. I corrected the message mistakes.

Test failure is unrelated. Merging...


Improve Dark Mode Readability: Change Text Color to White in review …

…section
Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #(issue no.) #468
Description
This PR addresses a readability issue in dark mode. By changing the text color to white, it ensures that the content is easily visible and contrasts effectively with the dark background. This enhancement improves the overall user experience, especially for users who prefer dark mode settings.
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]

Checklist:

[ ] I have made this change from my own.

[ ] My code follows the style guidelines of this project.

[ ] I have performed a self-review of my own code.

[ ] I have commented my code, particularly in hard-to-understand areas.

[ ] My changes generate no new warnings.

[ ] I have tested the changes thoroughly before submitting this pull request.

[ ] I have provided relevant issue numbers and screenshots after making the changes.

@kekubhai
Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution to GSSOC'24 EXTENDED! 🎉


Add a very basic Dockerfile and Travis support for it

Closes #134

So this now seems to be working fine, but before I merge it in, I'll try to see if I can make the image a little bit smaller.
@kpfleming Could you assist in setting up Travis for publishing the image to docker hub ? I think I've done most of the ground work to make that possible.

Hi, could this be updated to publish to a public repo in dockerhub?

Hi @dnascimento. You can pull this image from here: https://hub.docker.com/_/powerfulseal

@dgzlopes What tags are published in that repo?

@dnascimento stable versions: 2.9.0,2.8.0,2.7.0...
I think 2.9.1 isn't available because we skip CI if only doc files were updated... And TravisCI though that the version bump was a doc change.

I'm probably missing something but are those images public? I can find
neither pull them
On Fri, 3 Jul 2020 at 17:29, Daniel González<EMAIL_ADDRESS>wrote:

@dnascimento https://github.com/dnascimento stable versions:
2.9.0,2.8.0,2.7.0...
I think 2.9.1 isn't available because we skip CI if only doc files were
updated... And TravisCI though
https://travis-ci.com/github/bloomberg/powerfulseal/jobs/342885418 that
the version bump was a doc change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bloomberg/powerfulseal/pull/138#issuecomment-653397886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHEAYFLRBGTURWLQJYW5LDRZWCGBANCNFSM4IO7PIQQ
.

--
Dário Nascimento

Try this: docker pull store/bloomberg/powerfulseal:2.9.0
I think Bloomberg publishes them in the store, not in a regular repo.


undefined: termios.SetWinSize

# github.com/charmbracelet/ssh
/Users/ignaciotartavull/go/pkg/mod/github.com/charmbracelet/ssh@v0.0.0-20240515141028-546b2ee33a4d/pty_unix.go:57:18: undefined: termios.SetWinSize
/Users/ignaciotartavull/go/pkg/mod/github.com/charmbracelet/ssh@v0.0.0-20240515141028-546b2ee33a4d/pty_unix.go:144:17: undefined: termios.SetWinSize

I started getting this error in the lastest version :/

I am also receiving this error in huh

Can be closed as fixed by 04041eb


DF Quality of Life: Highlight targets during template preview

Is your feature request related to a problem? Please describe.
It would be nice it template targeting was active during template preview.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Hooking "game.dnd5e.canvas.AbilityTemplate.prototype.refresh" and doing the targeting part of the UPDATE_TARGETS should be sufficient, it does need to be WRAPPED rather than override.

Many thanks works perfectly. midi now has an option to hand over AoE targeting to df-qol.

Cool :+1:


New PHP 7, fully type-hinted version

Context
As proposed in #256 , here is a complete PR to modernize PHP-VCR.
What has been done

Made PHP 7.2 the minimum version
Merged a few pending PRs (#258 and #210)
Upgraded to PHPunit 7.
Removed the lapistano/proxy-object library.
Fixed all PHPStan declared errors up to the maximum level (level 7)
Added PHP 7.1 type-hints absolutely everywhere (thanks to thecodingmachine/phpstan-strict-rules that detects missing type hints).

I worked on my fork. You can have a look at the various PRs I did on my own fork here:

https://github.com/moufmouf/php-vcr/pull/1
https://github.com/moufmouf/php-vcr/pull/3
https://github.com/moufmouf/php-vcr/pull/4
https://github.com/moufmouf/php-vcr/pull/5

I tried to keep the commits as atomic as possible.
I added a few unit tests and I also remove a few unit tests that were useless because they were checking for types (and the type hint does that automatically now).
We must still decide if we want to target a 1.5 or a 2.0 version with this PR.
If we go for the 2.0, I have a few ideas that are clearly breaking changes. For instance, it would be safer to declare a "RequestMatcherInterface" that matches 2 requests (so far, a request matcher is a simple callable that cannot by type hinted).
Note: all the tests are passing but I will test this PR properly on a real-life project next week. Meanwhile, let's keep the [WIP] flag for safety :)
About the removal of lapistano/proxy-object:
It was used to access protected properties of objects and was abandonned (project did not move in 3 years), and incompatible with PHPUnit 7.
I replaced it with simple anonymous classes that extend the object that was previously proxied and that have an extra public getter on the protected properties/methods I want to access.
So I replaced a complete library with a simple new language feature added in PHP 7 (anonymous classes). PHP7 FTW!

Any activity here @moufmouf ?

This is awesome! Super excited to see this come to life.

Actually, this is ready to be merged.
We have extensively tested this on a real-life project and it works pretty well.
We must decide if we merge this in a 1.5 or a 2.0 branch (ping @renatomefi )
If we merge in a 2.0 branch, I would advocate for applying some more refactoring (especially I'd like to create a "RequestMatcherInterface")
Anyway, you can already start testing this, the code is pretty stable.

Ping @renatomefi . Any chance we can discuss this PR? This is a major refactoring of PHP-VCR.

I'm looking forward to merging this. Would you consider adding 7.4 to travis as well (perhaps under allow failures)? 7.4 is in feature freeze state and I'm trying to prepare for it before it rolls out.
If you wish I can open a new PR - although it's likely more suited to be included within this one.
Thanks!

@renatomefi this library has been amazing and I'd love to see this great work by @moufmouf merged into a new release 🙏

Would love to see this merged 👍

@kornrunner Thanks! => Added PHP 7.4snapshot to Travis. Seems it is failing for some obscure reason. Maybe we can wait until a release candidate before diving in the details of why it is failing.
@renatomefi I updated the PR with the latest changes in the dependencies

Fixed a breaking change introduced in symfony/event-dispatcher in Symfony 4.3 (believe it or not, there is a breaking change in the minor version). Note: PHP-VCR 1.x is probably impacted too by this issue
Fixed coding style because PHP-CS-Fixer new version fixes code a bit differently

Hey @moufmouf!
I think it's impossible for me to review this, I think we can create a 2.0 branch and do a pre-release tag, thus the people here can also help you on validating the changes!
Does that sound good?
Thanks again for all the hard work and interest!

Hey @renatomefi ,
Sounds good, definitely!
If you create a pre-release, please tag it "alpha" rather that "RC".
I refrained from introducing breaking changes in this PR, but I have a few ideas (particularly regarding refactoring request matchers) that might require some breaking changes. I'll propose those in a different PR.

Hey team, any updates on this? Looks awesome and i'd love to try it out.
Happy to help out if you need on the PR as well.

I've brought this up to speed with the current master. I've still got some work to do, but I'm planning on using this PR as the base for the 1.5 branch.


Codepoint 984245 not found in font, aborting.

introduction
I try to show the all of Icons elements, but has something bug.

I use https://github.com/yang-lile/flutter_assistant/blob/main/cli_tools/icons_gen.dart to generate icons.
show it by a IconList class at https://github.com/yang-lile/flutter_assistant/blob/main/lib/home_page.dart#L140

code in my repository: https://github.com/yang-lile/flutter_assistant
Steps to Reproduce

when run my code. It running.

flutter run

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Launching lib\main.dart on M2012K11AC in debug mode...
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Running Gradle task 'assembleDebug'...                             35.4s
✓  Built build\app\outputs\flutter-apk\app-debug.apk.
Syncing files to device M2012K11AC...                              191ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on M2012K11AC is available at: http://<IP_ADDRESS>:60692/Zud75tABAFU=/
The Flutter DevTools debugger and profiler on M2012K11AC is available at:
http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:60692/Zud75tABAFU=/
D/DecorView[](  923): getWindowModeFromSystem  windowmode is 1

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
v Open Flutter DevTools.
s Save a screenshot to flutter.png.
w Dump widget hierarchy to the console.                                               (debugDumpApp)
t Dump rendering tree to the console.                                          (debugDumpRenderTree)
L Dump layer tree to the console.                                               (debugDumpLayerTree)
S Dump accessibility tree in traversal order.                                   (debugDumpSemantics)
U Dump accessibility tree in inverse hit test order.                            (debugDumpSemantics)
i Toggle widget inspector.                                  (WidgetsApp.showWidgetInspectorOverride)
p Toggle the display of construction lines.                                  (debugPaintSizeEnabled)
I Toggle oversized image inversion.                                     (debugInvertOversizedImages)
o Simulate different operating systems.                                      (defaultTargetPlatform)
b Toggle platform brightness (dark and light mode).                        (debugBrightnessOverride)
P Toggle performance overlay.                                    (WidgetsApp.showPerformanceOverlay)
a Toggle timeline events for all widget build methods.                    (debugProfileWidgetBuilds)
M Write SkSL shaders to a unique file in the project directory.
g Run source code generators.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on M2012K11AC is available at: http://<IP_ADDRESS>:60692/Zud75tABAFU=/
The Flutter DevTools debugger and profiler on M2012K11AC is available at:
http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:60692/Zud75tABAFU=/

Taking screenshot for M2012K11AC...                              1,162ms
Screenshot written to flutter_01.png (110kB).

Application finished.

but some icons display exception. for example: Icons.onetwothree

when I build it, failed.

flutter build apk

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

💪 Building with sound null safety 💪

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Codepoint 984245 not found in font, aborting.

FAILURE: Build failed with an exception.

* Where:
Script 'D:\workspace\local\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'D:\workspace\local\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
Running Gradle task 'assembleRelease'...                            8.2s
Gradle task assembleRelease failed with exit code 1

flutter build apk -v

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!

💪 Building with sound null safety 💪

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Codepoint 984245 not found in font, aborting.

FAILURE: Build failed with an exception.

* Where:
Script 'D:\workspace\local\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'D:\workspace\local\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
Running Gradle task 'assembleRelease'...                            8.2s
Gradle task assembleRelease failed with exit code 1
PS D:\workspace\ProjuctFiles\flutter_assistant> flutter build apk -v
[  +86 ms] executing: [D:\workspace\local\flutter\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +102 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] db747aa1331bd95bc9b3874c842261ca2d302cd5
[   +1 ms] executing: [D:\workspace\local\flutter\flutter/] git tag --points-at db747aa1331bd95bc9b3874c842261ca2d302cd5
[  +83 ms] Exit code 0 from: git tag --points-at db747aa1331bd95bc9b3874c842261ca2d302cd5
[        ] 2.10.1
[  +12 ms] executing: [D:\workspace\local\flutter\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +62 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [D:\workspace\local\flutter\flutter/] git ls-remote --get-url origin
[  +51 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +157 ms] executing: [D:\workspace\local\flutter\flutter/] git rev-parse --abbrev-ref HEAD
[  +67 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +114 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +8 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[  +78 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +9 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +144 ms] Skipping pub get: version match.
[  +47 ms] Found plugin path_provider at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider-2.0.9\
[   +7 ms] Found plugin path_provider_android at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_android-2.0.11\
[   +3 ms] Found plugin path_provider_ios at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_ios-2.0.7\
[   +3 ms] Found plugin path_provider_linux at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.5\
[   +3 ms] Found plugin path_provider_macos at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_macos-2.0.5\
[   +5 ms] Found plugin path_provider_windows at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.5\
[  +77 ms] Found plugin path_provider at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider-2.0.9\
[   +3 ms] Found plugin path_provider_android at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_android-2.0.11\
[   +2 ms] Found plugin path_provider_ios at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_ios-2.0.7\
[   +2 ms] Found plugin path_provider_linux at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_linux-2.1.5\
[   +1 ms] Found plugin path_provider_macos at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_macos-2.0.5\
[   +4 ms] Found plugin path_provider_windows at
C:\Users\lilua\AppData\Roaming\Pub\Cache\hosted\pub.flutter-io.cn\path_provider_windows-2.0.5\
[  +28 ms] Generating
D:\workspace\ProjuctFiles\flutter_assistant\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +97 ms] 💪 Building with sound null safety 💪
[  +28 ms] Running Gradle task 'assembleRelease'...
[   +6 ms] Using gradle from D:\workspace\ProjuctFiles\flutter_assistant\android\gradlew.bat.
[  +18 ms] executing: D:\App\android studio\jre\bin\java -version
[ +166 ms] Exit code 0 from: D:\App\android studio\jre\bin\java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +2 ms] executing: D:\App\android studio\jre\bin\java -version
[ +150 ms] Exit code 0 from: D:\App\android studio\jre\bin\java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+9-b60-7590822, mixed mode)
[   +3 ms] executing: [D:\workspace\ProjuctFiles\flutter_assistant\android/]
D:\workspace\ProjuctFiles\flutter_assistant\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib\main.dart
-Pbase-application-name=android.app.Application -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=true assembleRelease
[+4485 ms] > Task :app:compileFlutterBuildRelease
[        ] Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[+2379 ms] Codepoint 984245 not found in font, aborting.
[ +396 ms] > Task :app:compileFlutterBuildRelease FAILED
[   +1 ms] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script 'D:\workspace\local\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildRelease'.
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from
your own scripts or plugins.
[   +1 ms] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 1 actionable task: 1 executed
[   +1 ms] > Process 'command 'D:\workspace\local\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[        ] * Try:
[        ] > Run with --stacktrace option to get the stack trace.
[        ] > Run with --info or --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 7s
[ +561 ms] Running Gradle task 'assembleRelease'... (completed in 8.2s)
[   +5 ms] "flutter apk" took 8,817ms.
[   +6 ms] Gradle task assembleRelease failed with exit code 1
[        ]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:400:9)
           <asynchronous suspension>
           #2      AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:179:5)
           <asynchronous suspension>
           #3      BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:112:5)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1161:27)
           <asynchronous suspension>
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #12     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[ +119 ms] ensureAnalyticsSent: 116ms
[   +3 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

Hi @yang-lile, please provide the output of flutter doctor -v.
Also, can you provide what exactly the steps to reproduce are? Do I just build the app or do I have to generate the icons first?

@danagbemava-nc thanks.

flutter doctor -v

╔════════════════════════════════════════════════════════════════════════════╗
║ A new version of Flutter is available!                                     ║
║                                                                            ║
║ To update to the latest version, run "flutter upgrade".                    ║
╚════════════════════════════════════════════════════════════════════════════╝

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[✓] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.22000.282], locale zh-CN)
    • Flutter version 2.10.1 at D:\workspace\local\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (12 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at D:\workspace\local\Android\android-sdk-windows
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = D:\workspace\local\Android\android-sdk-windows
    • Java binary at: D:\App\android studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.6)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31829.152
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2021.1)
    • Android Studio at D:\App\android studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.282]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 98.0.1108.56

[!] HTTP Host Availability
    ✗ HTTP host https://maven.google.com/ is not reachable. Reason: An error occurred while checking the HTTP host:
      信号灯超时时间已到

! Doctor found issues in 1 category.

the steps to reproduce:

clone from my repository: https://github.com/yang-lile/flutter_assistant
cd flutter_assistant
dart run cli_tools/icons_gen.dart
flutter pub get
flutter run

assets/source/icons.dart is copy from icons.dart, then generate lib/gen/icons.g.dart by cli_tools/icons_gen.dart.
that all @danagbemava-nc, thanks!

Hi @yang-lile, there was an issue with the icons in flutter 2.10.0 which has been fixed with flutter 2.10.2. Can you upgrade to that version and let me know whether or not you still experience this issue?
FWIW: for me, on flutter 2.10.2 all the icons are properly rendered and the apk built just fine.

Perfect solution! thanks sir! @danagbemava-nc


Remove top level  element

The top level akka element can be removed as well leaving us with:

As well our section name will be hocon?

          <hocon>
          ...
          </hocon>

     </configuration>

This needs to be decided in the core team as removing the name Akka from namespaces and other places would be a major breaking change for Akka users.


Doc WebSocket keep-alive requirement

100s is the default activity timeout to close idle requests. Without this timeout the proxy would be subject to resource leaks as it can be very difficult to detect disconnects without ongoing traffic.
WebSocket or application level keep-alives are required to keep an idle WebSocket from being closed by the proxy. These can be enabled on either the client or server (not the proxy).

How can one configure a different time-out value?

See ActivityTimeout: https://microsoft.github.io/reverse-proxy/articles/http-client-config.html#httprequest, https://microsoft.github.io/reverse-proxy/articles/config-files.html


Tab move from windows

Hi, I wonder if termius can move a tab from one windows to another window, I tried to move a tab to another window but failed. Is termuis has this function, if not will you add it in the future version ? thanks a lot !

Platform: windows 10

Duplicate of #581


Validate CSV header row

Validate that every CSV has a header row, adding a "critical" error for each file missing one.

Is there a Pivotal card for this? Otherwise LGTM

Pivotal card is coming. The validation stories are going to be redone this afternoon. I'll link it here when it's written.

Pivotal story added to the PR text.


Make use of copy constructors called statically but not dynamically an error

I thought that the addition of these copy constructors in #7772 was breaking the windows build, so added these comments and unreachable annotation in, based off identical comments/annotations in RemoteAST.cpp

@swift-ci please smoke test

@swift-ci please smoke test and merge


Added navbar

In this PR was made:

Added navbar using Material Design

Hey @elmar8287 everything seems to be working fine. Will merge this branch now


No Robux icon next to Premium subscription Robux buttons on "Buy Robux" page.

Released CSS bug report
Robux icon is missing on the premium subscription buttons to buy Robux on the "Buy Robux" page.
Steps to reproduce the behavior:

Go to the "Buy Robux" page.
Notice the odd looking green buttons, text uncentered as if there should be an icon to the left of it.

It should look like something like this quick mockup I made.

OS: Windows 10 21H2
Browser: Ungoogled Chromium, though I can reproduce this exact issue with Firefox as well.
Script Version: Release 1.2.0
Display resolution: 2560x1440

It should, hopefully, be fixed in the latest patch :)

It should, hopefully, be fixed in the latest patch :)

It is fixed on the non-premium page now, but if you have roblox premium it is still missing.

Sorry I don't have premium. I tried to get it to show by messing with javascript variables but that didn't do anything.
If you're using the unreleased style, edit it and comment out line 516
Should look like
.light-theme .icon-default-economy-28x28, .light-theme .icon-robux-28x28, .light-theme .icon-robux-gold-28x28, .light-theme .icon-robux-white {
/*     background-image: url(https://svgur.com/i/GuZ.svg); */
    background-size: 56px;
}

after commenting it out.


[WIP,DO NOT MERGE]add prom ratelimit and shard the request by time slice when time wind…

…ow is large

/lgtm


azure-static-sites-client: 1.0.026911 -> 19449a00c0269fefc8f29a6d01801c4b19308181

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for azure-static-sites-client is: Azure static sites client
meta.homepage for azure-static-sites-client is: https://github.com/Azure/static-web-apps-cli
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 19449a00c0269fefc8f29a6d01801c4b19308181 in filename of file in /nix/store/9byxfjy1jw7m0pka6dljq7az2wj0fmba-StaticSitesClient-stable-19449a00c0269fefc8f29a6d01801c4b19308181

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

azure-static-sites-client

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9byxfjy1jw7m0pka6dljq7az2wj0fmba-StaticSitesClient-stable-19449a00c0269fefc8f29a6d01801c4b19308181 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/cebbbf33c4a4bb90932f7f1fae0fa12ece9b95d2#azure-static-sites-client

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9byxfjy1jw7m0pka6dljq7az2wj0fmba-StaticSitesClient-stable-19449a00c0269fefc8f29a6d01801c4b19308181
ls -la /nix/store/9byxfjy1jw7m0pka6dljq7az2wj0fmba-StaticSitesClient-stable-19449a00c0269fefc8f29a6d01801c4b19308181/bin

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

1 package built:

azure-static-sites-client

Maintainer pings
cc @veehaitch for testing.

Add a :+1: reaction to pull requests you find important.

Is the suspiciously looking build number expected?

Is the suspiciously looking build number expected?

Looks so.


Issue/220 highlight null

Changes

Fixes #220, return original text if highlight text and hyperlinks are null
We still need to fix this issue in rumors-api
Update package-lock.json, lockfileVersion: 1 -> 2

Snapshot

Pull Request Test Coverage Report for Build 955765392

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 87.107%

Totals

Change from base Build 943499647:
0.09%

Covered Lines:
950

Relevant Lines:
1076

💛  - Coveralls

https://github.blog/2021-02-02-npm-7-is-now-generally-available/#changes-to-the-lockfile
npm changes its lockfile version after v7. If you use npm@7 to run npm install you'll get a version change in your lockfile unless you run npm install --no-save.

Thanks a million on the fix!
I wonder why package-lock.json would change in the PR, it seems that we did not change package.json. Suggest exclude that from the PR and we are good to go!

I just switched to master from a old branch and run npm i. I thought it will have dependency error if I don't commit the change. (seems not)

Seems that we are changing lockVersion to 2 in this PR. After its merge we should have a stable lockfile.

Sorry, my lockfileVersion was from 2 to 1. It seems that running npm install through npm@6 (my local version) will change lockfileVersion back to 1.


Assess work to convert iris-grib

Accept:

assessed and estimated required work to convert iris-grib

(evaluated, not coded,)

This work was completed as part of #2476


Redistribute ownership of cross-platform plugin components

Updates CODEOWNERS for the cross-platform/app-facing portions of plugins based to reflect changes in focus.

@tarrinneal @bparrishMines Do these changes look good?
(Tarrin, I gave you video_player just to distribute large plugins; it doesn't mean I'd expect you focus there in the near future.)


Stash/controller model for staking

Implements #1709.
Also:

Moves Fee payment traits into SRML support, where they belong (they're not core).
Refactors EnsureAccountLiquid by adding a finer grained querier.
Refactors the spec generation code, getting it a bit more ready for when authorities use different crypto to accounts.

Associated spec/docs are at https://github.com/paritytech/substrate/blob/1a2ec9eec1fe9b3cc2677bac629fd7e9b0f6cf8e/srml/staking/Staking.md
TODO:

[x] Refactor Intentions and Nominating over to Desired
[x] Remove NominatorsFor, rename CurrentNominatorsFor to Stakers and populate at new era naively from Desired.
[x] Avoid paying out per-session; pay out per-era to reduce trie churn.
[x] Full documentation/specification.
[x] Controller account can wield stash for governance stuff (democracy, council voting). Can probably be done easiest as a kind of sudo that checks to make sure the Call is to the governance module.
[x] Tests - @shawntabrizi & @Kianenigma
[ ] Introduce online Phragmén.
[ ] Introduce offline Phragmén, along with desire/unlock freeze for period at end of era.

As I think part of the code that we can refer to as the infrastructure is done (@gavofyork's latest commits), let's discuss:
Current tests and what I understand from them + checkpoint indicating if they are (Documented && Passing):

[x] basic_setup_works(): self-explanatory.
[x] note_null_offline_should_work(): but needs documenting.
[x] invulnerability_should_work(): but needs documenting.
[ ] note_offline_should_work():
[ ] note_offline_exponent_should_work():
[ ] note_offline_grace_should_work():
[ ] note_offline_force_unstake_session_change_should_work():
[ ] note_offline_auto_unstake_session_change_should_work():
[x] rewards_should_work(): has room for improvement. See comments in the code
[ ] slashing_should_work():
[x] staking_should_work(): will need an update after on-chain phragmen is added
[ ] nominating_and_rewards_should_work():
[ ] rewards_with_off_the_table_should_work():
[ ] double_staking_should_fail()
[x] staking_eras_work()
[ ] staking_balance_transfer_when_bonded_should_not_work()
[ ] deducting_balance_when_bonded_should_not_work()
[ ] slash_value_calculation_does_not_overflow()

New tests that came to mind while dealing with some of these:

staking_more_than_owning: simple but worth a test? should fail of course. also can include cases like a rich ctrl account and a poor stash account where most of the total staked value is coming from the ctrl.
should_properly_chill(): stay in the validator list as a candidate but never get elected I suppose?
and of course tests regarding phragmen but that's still further down the road.

We update the high level notes on this at https://github.com/w3f/research/blob/master/docs/polkadot/keys/2-staking.md
I suspect the only security related  difference is gavin's version emphasized the contoller's ability to change roles, while my version has the stash limit the controller's choices.
I also proposed a slightly more complex version of unstaking, which I did not explain in full, but can do so.

@gavofyork I think the tests are in a good enough spot to get merged in before we update to Phragmen. Would just want your comments on a few of the questions above to ensure that we are building some of the tests correctly.

I suspect the only security related difference is gavin's version emphasized the contoller's ability to change roles, while my version has the stash limit the controller's choices.

Yeah - this was on purpose since it's quite reasonable that a nominator would want to change their nominations (or a validator would want to pause their activity while they e.g. update their deployment) without needing to thaw their stash key.

@burdges ^^^

Yes, I'd think controller accounts could always pause or do less.  I'm only suggesting the certificate from stash account key also limit the controller account's options.  As an example, if I do not trust myself to run a validator then my stash account only permits nomination.
It sounds unimportant to limit a controller to nomination vs running a validator, but we had separate block producers previously, and may add them back, in which case a stash account would be unslashable if they only gave their controller account the ability to run a block producer.

I'd think withdraw_unbonded would be functions controlled by the stash account's key?   Or maybe the name just confused me and it leaves the funds under the control of the stash account, but now unbonded?


Adding support for setting permissions boundary on IAM-role

This is my first PR to Cloudposse projects. Thanks for all the good contributions and please let me know if there's any adjustments needed.
what

This will add support for setting a permission boundary for the IAM role
This is needed for master payer accounts through resellers that restricts access to the master payer accunt.
The value is optional

why

This is needed for master payer accounts through resellers that restricts access to the master payer account and require the permissions boundary to be set on all new IAM roles to restrict access to certain resources.

references

AWS documentation: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
https://registry.terraform.io/providers/hashicorp/aws  /latest/docs/resources/iam_role#permissions_boundary

/test all

/rebuild-readme

/test all


Use mongodb replset addressing.

This PR changes way of addressing replica set.
In current situation scripts connects to primary member of replset to access it. For this an IP address of primary has to be found.
Upstream suggests different way of addressing. "Use the following form: <replSetName>/<hostname1><:port>,<hostname2><:port>,<...> " (https://docs.mongodb.com/manual/reference/program/mongo/#cmdoption--host)
This method automatically selects where to connect (for example in case of some primary failure it automatically reconnects to the rest of replset). So we don't have to develop out methods (mongo_primary_member_addr function) to connect replset.
Also I hope code is also shorter and more clean.
@bparees @rhcarvalho @hhorak Please take a look and test. In my replication tests everything works fine.

Let's say we have 3 members: node1, node2, node3 and node2 is a current primary. Currently the code finds out that node2 is primary, connects to it and executes command like "add node4 to the replica set". Will it continue to work if code connects to rs0/node1:27017,node2:27017,node3:27017? In this case it will connect to node2 or node1?

@php-coder  Let's say we have 3 members: node1, node2, node3 and node2 is a current primary. Currently the code finds out that node2 is primary, connects to it and executes command like "add node4 to the replica set". Will it continue to work if code connects to rs0/node1:27017,node2:27017,node3:27017? In this case it will connect to node2 or node1?

rs0/node1,node2,node3... means that mongo client internally tries to connect to connect each node (I was playing with to try figure out what is the order and I don't know the rule - simply first node in address don't have to be first checked) and it connects and this node is in replset with adequate name, the client get members of this replset and in the future actions it tries to connect to these new members (no other nodes from original address are examined).
Client then keeps monitoring the replicaset and update own host variable.
So to answer your question: yes, it will work completely fine.

definitely would like @rhcarvalho to sign off on this one since he's doing a lot of mongo clustering work right now.

@bparees I'm doing a code review now, though @php-coder should have spotted it all already :)
In any case, can we delegate functional testing to AOS QE? I don't have bandwidth for that + they've got a list of scenarios to validate against.

@bparees @omron93, code review done.

[ ] simplify implementation of replset_addr
[ ] rename variable 2x
[ ] improve log message
[ ] apply all of the above to all copies/versions (2.4, ...)

Again, I haven't run the code, but I believe it should work. Will defer functional tests to AOS QE if possible.
Thanks!

In any case, can we delegate functional testing to AOS QE? I don't have bandwidth for that + they've got a list of scenarios to validate against.

yes.  @hhorak can you work with AOS QE to get some regression scenarios run on these changes?

@rhcarvalho Thanks  for review.
All should be fixed/changed.

@omron93 nice stuff! Please update based on latest comments, and you get a LGTM from me :)

@rhcarvalho @bparees Should be fixed.

LGTM, pending squash and QE testing.

Squashed.

I finished the testing today, no issues found, thanks

[test]

needs a rebase due to https://github.com/sclorg/mongodb-container/pull/177

@bparees Rebased.

[test]

tests are failing after rebase..

[test] again? The console output is so dirty I can't see what failed.

@bparees looks like it was a test flake!

Just for reference, this is the run that failed: https://ci.openshift.redhat.com/jenkins/job/mongodb/310/console


Cucumber Custom Plugin cause no feature read

Summary
I wrote a custom plugin to initialize chrome and firefox web driver causes no feature file been executed.
Expected Behavior
Feature File executed
Chrome open and close
Firefox open and close
Current Behavior
Feature File no executed
Chrome open but no close
Firefox open but no close
Possible Solution
No
Steps to Reproduce (for bugs)
Attach google drive code
Context & Motivation
Your Environment

Version used: Cucumber 4.2
Operating System and version: MS Windows 10
Link to your project: https://drive.google.com/open?id=1ycwBNZi9st-dkmdDfKaBxqU2mLchRWfM

Please use the support forums for questions and discussions. We use GitHub issues to track bugs and feature requests exclusively.

If you do think it's a bug please follow these guidelines and make sure to describe the problem beyond it doesn't work.
https://stackoverflow.com/help/minimal-reproducible-example

This is a strange issue where creating custom plugin cause no cucumber being read. Thus, it is consider a bug.


Further refactoring around dashboards

I was wondering what was left to do in order to remove Dashboard.jsx
and superset.js, and it looks like they can just be pulled out.
I am so happy to get rid of what used to be the messiest JS files in the
whole repo.
Thanks @graceguo-supercat

@mistercrunch Today we deployed new dashboard code to production. It looks pretty good after fixing a few bugs. Now I have confidence to remove these old files.

LGTM


How to parse PCR from TS packet.

Hi all,
I'm dealing with the problem of parsing program reference clock from ts packets. Till now I found only MTSPacket class which parse packet from ByteBuffer, assign values to payload and pid. Unfortunately I couldn't find any way how to parse PCR using any jcodec class. So is there any simple way how to that?
Thank you in advance.

can you submit media with PCR in TS? PCR in TS is located in adaptation field.
https://en.wikipedia.org/wiki/MPEG_transport_stream
usually you would have to demux payload and read PES header to extract pts if thats what you need.


Tickless mpf

WIP. changes for platforms to work without polling for better latency

Coverage decreased (-0.06%) to 88.837% when pulling 5549fcd246a86130c26f0270d8b876d5977f082e on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.2%) to 89.096% when pulling a2a0b516d88a9bb90831b6f90235785847faca67 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.4%) to 89.327% when pulling 02f5c571451e17fd6347d5d59a7b4e8de368f446 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.4%) to 89.322% when pulling 1754c0f58073175a394b8418f64d4e7277e65ee7 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.4%) to 89.323% when pulling 81972ebb78db9eefc2534c4a94e4d986835e13f0 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.3%) to 89.156% when pulling ea13b1d49e7aca4fd347bb2cfaf9c56b9aee01da on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.6%) to 89.464% when pulling c0003614a20f6595fe841f63d90c9f23744a85a5 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.6%) to 89.464% when pulling def0593a2b86e011c8d73f3c6d0ebd071a2d2a91 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.5%) to 89.415% when pulling 8f9d7242065bdc99d3dc8e992ea2be545e012ec8 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+0.6%) to 89.464% when pulling 59cc20e8ea45947a027ed20631b18382144a827d on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+1.1%) to 89.993% when pulling 98b188e21be87cb48b237ade48021abf3698e282 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+1.1%) to 90.024% when pulling 95eac4a8a17b3dcd6012445cafce005e68cc1880 on tickless_mpf into d9e4851c6bc0171258f3417755aa7a1de9d6ae78 on dev.

Coverage increased (+1.01%) to 90.182% when pulling 39cd78b4d9723d80f5156ef9ecc6ad283e6a8575 on tickless_mpf into 8c6eaf4f84aab0c3db51421512cf902b10dd8894 on dev.

Coverage increased (+0.9%) to 90.077% when pulling 1cd112978f064fc68ee34c35833184299866035e on tickless_mpf into 48625e73bdd9bc55bfad324c0536c3b8c9f01eef on dev.

Coverage increased (+0.6%) to 89.823% when pulling 6625c6a1158dd0097635014845048cfe6d9801ba on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.5%) to 89.81% when pulling c0a6c64918af51d954714e094079785d32104b0a on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.6%) to 89.822% when pulling 920675c1626c927e8eadd8058574bbcbaad8f8ad on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.6%) to 89.818% when pulling f47190690ba8b70bed9dcd85928626aaff793a01 on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.6%) to 89.841% when pulling 3f7bd475acd7d80642f321469dd59f9a46e9f16f on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.6%) to 89.873% when pulling b8962750621b315d1c6b192134fbe891a9faf093 on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.8%) to 90.106% when pulling 67f86916433a86ef3a78e7631764829eb54ae9b1 on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.8%) to 90.106% when pulling 072ee26f05e7cc6127c74f2f50fd1489b0bcfd1c on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

Coverage increased (+0.8%) to 90.106% when pulling 5fc2f4c0ab54f8db1e123fdc8bb09f2a4c5fdc79 on tickless_mpf into 1d073a21cfb41351a05e3c7b217c3a29d9c29e56 on dev.

fixed #221 and fixes #233

Coverage increased (+0.9%) to 90.147% when pulling 5d38865c0fc7f8b7818b05c670e0638bd4e520a7 on tickless_mpf into 6707bc218db2253378235d563f698c178b5f56fa on dev.

Coverage increased (+0.9%) to 90.151% when pulling f2cc31f7c2752f414c30ed52ed45d65aa5bea306 on tickless_mpf into 6707bc218db2253378235d563f698c178b5f56fa on dev.


Legacy SDKs is gone

Seems like the instructions need to be updated?

It is there. "Enterprise License Key (Development)".

Do you mean the first option?

Thanks bergerbse.... With your help,I found it.... It is in the "SAMSUNG EDU SKD"   Works like a charm!!!!!
THANK YOU!

This needs to get added to the documentation! It was the missing key (no pun intended) that I was looking for!

I know,  I've been beating my head against the wall for a few weeks trying to figure it out.  Ouch.
Seems to work great once you get it all together.

@bergerbse Comment is spot on. Keeping this open until the docs are updated. :+1:

For anyone else whose keys have expired: https://seap.samsung.com/license-keys/create#section-samsung-edu-sdk

Just a heads-up: These keys no longer work for Adhell, Adhell2, Adhell3, SABS and notSABS. You can't generate a key that will successfully activate any longer. Shame.

No? It probably just hast a different name.

Nope, they're actively blacklisting keys and unless your app uses an SKL key (which none of the blocking apps do), then you're out of luck. I just had my SABS blacklisted literally 10 minutes ago. I disabled it, tried to re-enable it and it no longer starts, because the key is no longer valid. It's been running on my device for the better part of 2 years, activated and working fine. Now I'm dead in the water.

I myself had the same issue with notSABS about a month ago..  I really liked notSABS but no matter what I couldn't get it to recognize my key from SEAP.   SABS and notSABS is GONE!  Won't activate.   So it is useless.  What I did do was download the apk for Adhell3 and get the KLM key from SEAP. BE SURE TO USE THE KLM KEY ONLY!   I installed Adhell3, the KLM key works and the app works great  Just load all the files with the "outlawwed" domains you used with SABS and Violla!
Load apk editor pro on your phone and then search and run this file on it.  ah3_v<IP_ADDRESS>_97c7d574.apk
I believe you can find both on Mediafire.com   Here's the link,  http://m.mediafire.com/folder/sb37c6gmhqgbn/AdHell_3
Good Luck.

My "ELM Development/EDU SDK" key still works (Issue date: Aug 29, 2018).

Sabs or notSabs wouldn't recognize mine so after about a week of frustration, I went with Adhell.  I like it better too.

Which adhell, cammybird? Can you link? There's several versions and I'm not sure what's trustworthy.

I like the adhell3.1.1
Follow the link.

I like the adhell3.1.1
Follow the link. I've  previously shown.


Add text reminder for login and register fails

for example:
"User already exists" for reigister
"User does not exist" for login


Use AWS profile from provider configuration

AWS_PROFILE should be set based on my provider.profile configuration

I have in my serverless.yml:
provider:
  profile: ${env:AWS_PROFILE, 'foo'}
  cdkModulePath: ./cdk
  cfnRole: "arn:aws:iam::#{AWS::AccountId}:role/CfnRole"
  stackName: "${self:provider.stage}-${self:service}"

And I created CfnRole.
But I get
Serverless: Excluding development dependencies...

  Error --------------------------------------------------

  Error: Please pass '--cloudformation-execution-policies' to specify deployment permissions. Try a managed policy of the form 'arn:aws:iam::aws:policy/<PolicyName>'.
      at Bootstrapper.modernBootstrap (/Users/cyber/dev/jb/mercury/packages/backend/node_modules/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts:101:13)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at AwsCdkDeploy.bootstrapToolkitStack (/Users/cyber/dev/jb/mercury/packages/backend/node_modules/serverless-aws-cdk/cdk/toolkitStack.ts:17:3)

I would prefer to not need to create a role at all and have it use my configured AWS profile to do the cloudformation operations, like normal sls deploy does.

Hey Mischa, what output do you get if you don't specify cfnRole? In theory that should be supported but if it's not working I'd like to try to work out why

I get the same output without cfnRole specified

Looks like an error on my part - I've just put together a fix in #10. Could you give it a go and let me know if it works for you? Thanks

@revmischa Going to close this issue for now since I think it's fixed by 0.7.0 - please feel free to reopen if not


Nitro badge.

How did you get the Nitro badge(s) ? I'm wondering about that.
Thanks.

The way how I detect if a user has Nitro or not is via their previously authorized accessToken with the scope "identify" to Gidget.
Once that's done I just make a request to Discord with Bearer type token about it.
Unlike a common request with the Bot token, this gives me more information about the user, such as in which language someone uses Discord every day.
And from there I also find out what type of Nitro the user has.
You can go to see the specific code here: https://github.com/AndreMor955/gidget/blob/e779f949ea64fcd43ddda16a8c79e511e78f5cdb/src/structures.js#L361
See my dashboard, this is where I ask them to log in if they want to know such information: https://github.com/AndreMor955/dashboard
Hope I helped :)


⚠ ClamAV has degraded performance

In 4e2a2f4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 216 ms

Resolved: ClamAV performance has improved in 6db0867.


test: Add unit tests to test multiple files in single dataset

Description of the change
1- Added unit test case for verifying handling of multiple data files of 1 DataSetConfig passed via data_config.
2- Added unit test case for verifying handling of multiple data files of 1 DataSetConfig with (different format) passed via data_config.
3- Added unit test case for verifying handling of multiple data files of 1 DataSetConfig with (different type) passed via data_config.
4- Added unit test case (by @willmj) for verifying handling of multiple data files of multiple DataSetConfig with (different format) passed via data_config.
5- Data files in the tests/artifacts/testdata directory have been organized by file format for better categorization.
6- Unit tests in test_sft_trainer.py for e2e testing:

Existing Full FT unit tests with Arrow and Parquet Datafile format
Add new Full FT unit test with Multiple Datasets with Multiple files

Related issue number
https://github.ibm.com/ai-foundation/watson-fm-stack-tracker/issues/1487
How to verify the PR
Verify unit test additions.
Was the PR tested

[x] I have added >=1 unit test(s) for every new method I have added.
[x] I have ensured all unit tests pass

Thank you @dushyantbehl for the review. Have addressed the changes. Feel free to have a look once again.


XHR error with http 0

This is pretty weird. When enabling Turbolinks, some of my XHR requests are failing.
I don't get an error event, but the HTTP response code is 0 and the responseText is empty.
My XHR code is pretty simple:
var postsRequest = new XMLHttpRequest();

postsRequest.onload = function () {
	// do stuff...
}

document.addEventListener("turbolinks:load", function() {
	postsRequest.open('GET', 'https://...');
	postsRequest.send();
});

The script tag is somewhere in the body.
On first load everything works fine, but when changing to a new a page the problem appears. If I disable Turbolinks everything goes back to normal. I've tried both Chrome and Firefox with the same result.
Console in Chrome:

Console in Firefox:

As you can see, the first request is fine, but the second exhibits the problem.
Am I missing something very obvious here?

I've not been able to reproduce this. Can you think of anything else you might be doing on turbolinks:load which might be affecting this? If you could post a minimal demonstration of the problem, that might help.

Hey @domchristie I'll try to create a repro in a couple of days.

Hey @PierBover, I'll close this issue for now, but feel free to reopen if you get a chance to create the demo.

I hope this is helpful.

Massively! 🎉 Hopefully I can clarify what's going on in each step.

When you get to Page 2 an XHR request should have been triggered on turbolinks:load but nothing happens.

This is because turbolinks:load has already been triggered—before test.js is evaluated…
When a page is loaded via Turbolinks, it does not wait for external scripts in the body to be evaluated before triggering turbolinks:load, so what you are seeing is:

HTML is loaded via XHR
<head> is merged and <body> is replaced
turbolinks:load is triggered
test.js is downloaded and evaluated

You will see the expected behaviour if you reload page 2 fully. This is because the following happens:

HTML is loaded and parsed (including test.js evaluation)
DOMContentLoaded is triggered
turbolinks:load is triggered

Click on the link to go back to Page 1. Now the XHR triggers, although the JavaScript file was included on Page 2, not on Page 1.

This happens because the XHR is sent in a turbolinks:load event handler which is then executed on every subsequent page load:

Page 2 is visited
XHR set up to be sent on turbolinks:load
Page 1 visited—turbolinks:load triggered
XHR sent

Unlike with "traditional" page loads, in Turbolinks apps, event listeners are not torn down when navigating between pages. So even though test.js is only included on page 2, because it sets up an event handler to run on turbolinks:load, this handler is called on every subsequent turbolinks:load event. What's more, if you revisit page 2, the XHR will be sent (on turbolinks:load) and it will set up another handler which does the same thing—so you get duplicate events 😬
Traditionally inline/page-specific scripts are often interpreted as "scripts that are only run on this page". However, if they include event listeners that are not removed, this won't be the case and can lead to some confusion. For these reasons, as a general rule, I'd avoid adding event listeners in inline body scripts.

Go back to Page 2, and now the XHR triggers with the HTTP status code 0 I was mentioning above.

I have a vague idea of what might be happening here, although I'm having a little trouble getting my head around it. I think this is what's happening:

Page 1 visited
Page 2 visited (turbolinks:load is triggered)
test.js is loaded and the XHR request is scheduled to be sent on turbolinks:load
Page 1 visited (turbolinks:load is triggered)
request is sent as was scheduled in step 3 (status 200)
Page 2 visited (turbolinks:load is triggered)
request is sent…
test.js is loaded and the XHR request is overwritten/cancelled (status 0) and then is scheduled (again) to be sent on turbolinks:load

Here is a runnable demonstration of that:
// Global variable
var request

function setup () {
  request = new XMLHttpRequest();

  request.onload = function () {
    console.log('XHR onload');
    try {
      console.log('HTTP code:', request.status);
    } catch (error) {
      console.log(error);
    }
  }
}

function send () {
  request.open('GET', 'https://jsonplaceholder.typicode.com/todos');
  request.send();
}

// Initial visit just sets up the XHR. It's not sent until next page load.
function initialVisit () {
  setup()
}

// The XHR is sent, but then immediately setup again, overwriting `request`
function subsequentVisit () {
  send()
  setup()
}

initialVisit()
subsequentVisit()

I think that because request is immediately overwritten after being sent, this effectively cancels the XHR, and therefore the status is 0.

With all of the above in mind, if you just want to fetch some data when a page loads, the simplest modification to your code would be to remove the turbolinks:load event listener, and just call request.open and request.send after the set up. You should also wrap the whole script in an IIFE, to prevent polluting the global scope, so something like:
;(function () {
  var request = new XMLHttpRequest();

  request.onload = function () {
    console.log('XHR onload');
    try {
      console.log('HTTP code:', request.status);
      var element = document.getElementById('status');
      element.textContent = 'XHR Loaded!'
    } catch (error) {
      console.log(error);
    }
  }

  request.ontimeout = function (event) {
    console.log('XHR ontimedout', event);
  };

  request.onerror = function (event) {
    console.log('XHR onerror', event);
  };

  request.open('GET', 'https://jsonplaceholder.typicode.com/todos');
  request.send();
})();

I hope that helps!

Oh wow, thanks for taking the time explain this with such detail!
It's safe to say this has been pretty well documented for posterity.

Glad to help, and hope it makes sense!


slang events step type

Currently there is no decent way to know the slang event type (exec or task) is by the ExecutionPath inner enum.
I think we should give a better way.
@avimora WDYT?

Agree. It's actually on LanguageEventData. Adding @meirwah

agree too

+1

How about having 2 fields on the event: step type and step name?

Fixed by #300


fix reversing coordinates

Linked to #886

Added support for mongoid-geospacial gem.

Thanks for this, and sorry for the very delayed response. This seems reasonable but we need a test or two showing that it works as expected.

Closing, because while I like the idea of this, I think in an effort to simplify it may actually do the opposite. Generally I'm leaning towards reducing Geocoder's interaction with Mongo queries and data (since Mongo has its own way of doing geospatial operations).


Commodity curve CCRV

I am not sure where to ask this question. Hence, I'm posting here although this is not an "issue". Apologies for the mess
I want plot WTI futures curve at a specified date. Within the Terminal I would hit .

I'm wondering if pdblp has a function that can help me do that (and that is not too costly in terms of API calls) ?

wrong github account. sorry.


Added documentation for more advanced configuration

- Summary
I’ve added configuration documentation for the following

Registering an Oauth application
Configuring an external github Oauth authentication server (Vencax’s)
Using Github Enterprise Repositories
Self-hosting Netlify CMS.

I finally got this stuff figured out on my install, and figured it would be nice to have it added to the documentation. As I continue getting others on-board I'll probably add more. It’s by no means comprehensive, but I think it’s a start. Looking
forward to hearing your thoughts.
- Description for the changelog
New documentation added.
- A picture of a cute animal (not mandatory but encouraged)

@tortilaman thanks for this!! Great improvement that will help a lot of folks! Just a couple of changes requested - looking forward to merging :)

@tortilaman thanks for this!! Great improvement that will help a lot of folks! Just a couple of changes requested - looking forward to merging :)

@erquhart I might recommend mentioning that netlify-cms v0.4.3 or higher is required for custom authentication. My cms.js file was from v0.4.2, and had I known that was my problem figuring this out would've taken me minutes instead of days.

@tortilaman very good point, thank you


migrate docs to sphinx

As announced, now a clean commit with all docs converted to sphinx.
Have a look at https://tetraframework.readthedocs.io/en/latest/ which is the compiled version, already online.
Just tell me if that's ok for you; and as you pull this branch I can switch the source on readthedocs to your repo/main branch and transfer the ownership to you.
Everywhere I knew that is not perfect or missing, I wrote a TODO into the docs files.
Waiting for your approval.
Cheers
Christian

AARGH, one should not do things in a hurry, I again needed 2 commits. But if you squash them it would be ok.

This is awesome! Thanks. I'm tied up with work right now but will take a proper look at some point in the next couple of days.

Sorry, I'm too much of a Monk. I've deleted this PR, and make a new, that has only one clean commit, where you can see the differences better.


Infinity scroll bit broken?

I need to hit bottom to start loading new batch of pictures on explorer items
Maybe it was broken here?

https://github.com/kodadot/nft-gallery/pull/4946

https://user-images.githubusercontent.com/5887929/218312469-a431f689-dcef-4ebd-baad-18b66c74e443.mov
Where on current https://kodadot.xyz/bsx/explore/items?page=43 I hardly hit bottom no matter how fast I'm scrolling
https://user-images.githubusercontent.com/5887929/218312545-97747a6f-b609-4f18-b608-5dc862e3cc6d.mov

👋

@Jarsen136 any progress on this? want to make release in 6 hours so and happy to include this one if it's close to done?

#4978

@Jarsen136 any progress on this? want to make release in 6 hours so and happy to include this one if it's close to done?

Mid February release  #4978

I'm looking into it and will raise a PR soon.


ESP-IDF v5.xx for matter enabled product development (CON-366)

Hi,
My company is planning to start development for matter-enabled IOT products. We want to start off our development with IDF v5.xx instead of v4.xx and our development will get completed in the next year i.e. 2024. Considering long-term support till 2025 by espressif for IDF v5.xx, we would like to start matter development with v5.xx instead of v4.xx
I would like to hear some suggestions from this team regarding IDF versions
EspressIf IDF Release Support

@aggaddam We have recently released the support of esp-matter branch on IDF v5.xx. Latest main branch of esp-matter supports IDF commit bb9200ace in branch release/v5.1 and main branch will continue to keep updating support for IDF v5.xx.
In a nutshell, you can start off your development with esp-matter main branch with IDF commit bb9200ace from release/v5.1 branch.

@shubhamdp  Thanks for the update.
When is the official release planned for IDF v5.1?
When is the official release planned for ESP-Matter SDK?

@aggaddam
ESP IDF v5.1 release is planned around end of May this year.
ESP Matter v1.0 release will soon be created from release/v1.0 branch which is based of upstream v<IP_ADDRESS>
ESP Matter v1.1 is now the main branch. This will be released after official release of Matter v1.1 from upstream, which isn't done yet.

Closing this as the original question is answered.


Styling Changes

Closes #148 Closes #149
Added some styling changes

Merged payment summary into rental show
Added print button to rental show ( added css for printing )
Removed spire ids throughout app
Added reservation/rental id to rental show
Changed border of tables on homepage
Spaced badges on homepage

Would you please also commit the .last_run.json file? Everything in here looks pretty straight forward, but it would be good to see the current code coverage.

The test coverage hasn't changed, it remains at 99.75% in this branch

#158 contains this branch as well
@owlee please close this


PERF: don't recompute flexbox when scrolling

Addressing this comment: https://github.com/a-b-street/abstreet/pull/647#discussion_r632879121
After doing some profiling and also experimenting with commenting out portions of code, I came to the conclusion that the performance degradation brought up in #647 was due to how widgetry recomputes the flexbox of a panel each time it processes a scroll event (which happens many times per second).
So the regression wasn't really due to any categorically new behavior, but rather just that scrolling panels gets more expensive the more complex the layout is.
The solution proposed here is to cache the flexbox, and use the cached flexbox when scrolling rather than recomputing anew.
Here's a snippet of the profiler while scrolling up and down in the "travel times" screen before vs after these changes:

Note that the traces from stretch (our flexbox crate) go away completely.
Note also that in the "after" screenshot some other widgetry methods (redraw, swap_buffers) appear slower, in that they take up more samples, but I contend that this is to an increased framerate, causing our UI code to get called more often, rather than to those methods getting actually "slower". I don't really have any evidence to back this up, just intuition...

Awesome, this fixes up the scrolling issue in the new "travel times" panel, even in debug mode! And the code is more clear than it was before; the reader isn't left wondering why different types of changes all recalculate the world from scratch.

Note also that in the "after" screenshot some other widgetry methods (redraw, swap_buffers) appear slower, in that they take up more samples

I agree with your intuition. There must be more total calls in about the same amount of time, because the old bottleneck is gone.


Completed torrent is not removed from Elementum library after being moved

Elementum plugin 0.1.23, Kodi 18.1 @ LibreELEC  9.0.1
Torrents are set to be moved after completion to dedicated folders.
When using a movie / torrent added to the Elementum library, after completion, the media files get moved, torrent files (.torrent, .parts, .fastresume) are properly cleaned up, but it is not removed from the library (.strm file and directory is kept).
Assuming from the log message from:
https://github.com/elgatito/elementum/blob/fdd50322c988a9cba3aafdf3c9dc92f2b06005fd/bittorrent/service.go#L1265
the item should be removed from the library as well (which IMO is a right thing to do).
Should the code in:
https://github.com/elgatito/elementum/blob/fdd50322c988a9cba3aafdf3c9dc92f2b06005fd/bittorrent/service.go#L1266
result in the removal from the Elementum library as well, or is it not doing that by design?
For reference a (redacted) log fragment:
2019-03-24 19:38:56.665 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ configure        Configuring client...
2019-03-24 19:38:56.665 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ configure        Applying session settings...
2019-03-24 19:38:56.666 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ configure        UserAgent: Elementum/0.1.23, PeerID: -GT0001-
2019-03-24 19:38:56.666 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ configure        Applying encryption settings...
2019-03-24 19:38:56.667 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ configure        DownloadStorage: File
2019-03-24 19:38:56.667 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ configure        Listening on: <IP_ADDRESS>:6891,<IP_ADDRESS>:6892
2019-03-24 19:38:56.667 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ startServices    Starting LSD...
2019-03-24 19:38:56.668 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ startServices    Starting DHT...
2019-03-24 19:38:56.668 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ startServices    Starting UPNP...
2019-03-24 19:38:56.685 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ startServices    Starting NATPMP...
2019-03-24 19:38:56.685 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ startServices    Adding port mapping 6891: 2
2019-03-24 19:38:56.685 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ startServices    Adding port mapping 6892: 3
2019-03-24 19:38:56.686 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ loadTorrentFiles  Loading torrent file xxxxx.torrent
2019-03-24 19:38:56.687 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ AddTorrent       Adding torrent from /storage/.kodi/temp/elementum_torrents/xxxxx.torrent
2019-03-24 19:38:56.689 T:1452270448  NOTICE: [plugin.video.elementum] DEBU  bittorrent   ▶ AddTorrent       Adding torrent: "/storage/.kodi/temp/elementum_torrents/xxxxx.torrent"
2019-03-24 19:38:56.690 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ AddTorrent       Setting save path to /storage/torrent_dls
2019-03-24 19:38:56.690 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ AddTorrent       Checking for fast resume data in xxxxx.fastresume
2019-03-24 19:38:56.691 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ AddTorrent       Found fast resume data
2019-03-24 19:38:56.691 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ AddTorrent       Setting sequential download to: true
2019-03-24 19:38:56.692 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ AddTorrent       Adding new torrent item with url: /storage/.kodi/temp/elementum_torrents/xxxxx.torrent
2019-03-24 19:38:56.692 T:1452270448  NOTICE: [plugin.video.elementum] DEBU  bittorrent   ▶ Watch            Starting watch events
2019-03-24 19:38:56.692 T:1452270448  NOTICE: [plugin.video.elementum] DEBU  bittorrent   ▶ DownloadFile     Choosing file for download: xxxxx.1080p.WEB-DL.DD5.1.H264-FGT/xxxxx.1080p.WEB-DL.DD5.1.H264-FGT.mkv
2019-03-24 19:38:56.693 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ cleanStaleFiles  Cleaning up stale .parts files at /storage/torrent_dls ...
2019-03-24 19:38:56.693 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ cleanStaleFiles  Cleaning up stale .fastresume files at /storage/.kodi/temp/elementum_torrents ...
2019-03-24 19:38:56.694 T:1452270448  NOTICE: [plugin.video.elementum] [GIN] 2019/03/24 - 19:38:56 | 200 |    7.040819ms |       <IP_ADDRESS> | GET      /cmd/clear_page_cache
2019-03-24 19:38:56.922 T:1452270448  NOTICE: [plugin.video.elementum] WARN  bittorrent   ▶ func1            xxxxx.1080p.WEB-DL.DD5.1.H264-FGT finished seeding, moving files...
2019-03-24 19:38:56.923 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ func1            Removing the torrent without deleting files after Completed move ...
2019-03-24 19:38:56.925 T:1452270448  NOTICE: [plugin.video.elementum] DEBU  bittorrent   ▶ RemoveTorrent    Removing torrent: xxxxx.1080p.WEB-DL.DD5.1.H264-FGT
2019-03-24 19:38:56.927 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ Drop             Dropping torrent: xxxxx.1080p.WEB-DL.DD5.1.H264-FGT
2019-03-24 19:38:56.932 T:1452270448  NOTICE: [plugin.video.elementum] DEBU  bittorrent   ▶ Watch            Stopping watch events
2019-03-24 19:38:56.933 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ func1            Deleting fast resume data at /storage/.kodi/temp/elementum_torrents/xxxxx.fastresume
2019-03-24 19:38:56.934 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ func1            Deleting torrent file at  /storage/.kodi/temp/elementum_torrents/xxxxx.torrent
2019-03-24 19:38:56.934 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ 1                Moving xxxxx.1080p.WEB-DL.DD5.1.H264-FGT.mkv to /storage/videos
2019-03-24 19:38:56.935 T:1452270448  NOTICE: [plugin.video.elementum] WARN  bittorrent   ▶ 1                xxxxx.1080p.WEB-DL.DD5.1.H264-FGT.mkv moved to /storage/videos/xxxxx.1080p.WEB-DL.DD5.1.H264-FGT.mkv
2019-03-24 19:38:56.935 T:1452270448  NOTICE: [plugin.video.elementum] INFO  bittorrent   ▶ 1                Marking xxxxx.1080p.WEB-DL.DD5.1.H264-FGT for removal from library and database...
2019-03-24 19:38:56.970 T:1374671728  NOTICE: [plugin.video.elementum] Python version: ['2.7.15 (default, Feb 21 2019, 05:49:14) ', '[GCC 8.2.0]']
                                                dist: ('', '', '')
                                                linux_distribution: ('', '', '')
                                                system: Linux
                                                machine: armv7l
                                                platform: Linux-4.19.23-armv7l-with-glibc2.4
                                                uname: ('Linux', 'LibreELEC', '4.19.23', '#1 SMP Thu Feb 21 04:04:42 CET 2019', 'armv7l', '')
                                                version: #1 SMP Thu Feb 21 04:04:42 CET 2019
                                                mac_ver: ('', ('', '', ''), '')
2019-03-24 19:38:57.191 T:1452270448  NOTICE: [plugin.video.elementum] [GIN] 2019/03/24 - 19:38:57 | 200 |     388.798µs |       <IP_ADDRESS> | GET      /?doresume=false
2019-03-24 19:38:57.408 T:1452270448  NOTICE: [plugin.video.elementum] NOTI  bittorrent   ▶ logAlerts        listen_succeeded_alert: successfully listening on [TCP] [::]:6891
2019-03-24 19:38:57.408 T:1452270448  NOTICE: [plugin.video.elementum] NOTI  bittorrent   ▶ logAlerts        listen_succeeded_alert: successfully listening on [TCP] <IP_ADDRESS>:6891
2019-03-24 19:38:57.409 T:1452270448  NOTICE: [plugin.video.elementum] NOTI  bittorrent   ▶ logAlerts        listen_succeeded_alert: successfully listening on [TCP] [::]:6893
2019-03-24 19:38:57.409 T:1452270448  NOTICE: [plugin.video.elementum] NOTI  bittorrent   ▶ logAlerts        listen_succeeded_alert: successfully listening on [TCP] <IP_ADDRESS>:6893
2019-03-24 19:38:57.410 T:1452270448  NOTICE: [plugin.video.elementum] NOTI  bittorrent   ▶ logAlerts        listen_succeeded_alert: successfully listening on [UDP] <IP_ADDRESS>:6893
2019-03-24 19:38:57.410 T:1452270448  NOTICE: [plugin.video.elementum] NOTI  bittorrent   ▶ logAlerts        add_torrent_alert: added torrent: xxxxx.1080p.WEB-DL.DD5.1.H264-FGT

What is your issue?
I can't understand, from what you write.

@tomaszni any more information?

OK, let me explain my setup and the whole use case (it might be that I'm just using Elementum in a wrong way).
The Setup
I have an external hard drive connected to the Pi. Two media folders from that drive are added as Video sources - Movies and TV Shows (let's say /media/data/Movies and /media/data/TV Shows).
I also added both Elementum libraries (~/.kodi/temp/elementum_library/Movies and ~/.kodi/temp/elementum_library/Shows) as Video sources (marked as Movies and TV Shows respectively).
Elementum is configured to download media from torrents to disk (/storage/torrent_dls). That folder is not added as media source (I expect it to behave as Elementum's cache).
It is also configured to move media to final destinations after torrent completion - those are the external drive's folders (for Movies and Shows respectively).
The Usecase
Let's stick with TV Shows for now.

I would like to have a setup where I browse for a TV Show through Elementum's add-on UI, add it the Elementum library (Context Menu -> Add to library) and have that Show show up in Kodi library (that works).
After watching an episode through Elementum (opened from Kodi library or directly through the add-on) I expect for the media file to be downloaded completely and on disk (that works).
After the torrent completes (finishes seeding), I expect the file to be moved to a proper subfolder in /media/data/TV Shows (that works).
At that point in time, I expect for the torrent metadata and files (like .torrent, .parts, .fastresume) to be removed, as they are no longer necessary (that works).
As the media has been moved to the new folder, I expect a Kodi library update to pick it up (that works).
As the torrent is no longer there, and the media file is available from the hard drive, I don't need the Elementum library files for the episode to be there (.strm) - I would expect Elementum to remove them (that doesn't work).

The effect is that I have duplicate episode entries in Kodi library - one for the on-disk media file (which is OK), and the other one is for Elementum library's .strm file (which is not OK).
The same effect is of course happening for Movies as well.
So the baseline of the usecase is - I would like to have access to an TV Show episode or a Movie from the Kodi library, initially through Elementum streaming, and after torrent completion, through direct access from the hard drive.

Moved to https://github.com/elgatito/plugin.video.elementum/issues/416 .