Significant perf regression in throughput as measured by cluster test.

@ankushagarwal found out that the regression happens after PR #1948.
My current theory is as follows: PR #1948 changes the mapping of the last version of an epoch n from n+1 (which was bad for a number of reasons) to n.
That implies that version 0 now belongs to epoch 0.
My current theory is that there is something wrong with the client requests that causes the server to send the epoch change proofs for every update_to_latest_ledger request. For example, if a client version is not set and defaults to 0, every update_latest_ledger request would now cause a response to carry the epoch proofs.
I updated the client version on tx emitter to be 1 all the time (PR #1983) but @ankushagarwal verified that it didn't help. Gonna look further.

@ankushagarwal deployed some logging to the server: we see that while some client requests are sending the known version of 1 (probably related to the fix in tx_emitter), most of the requests are still sent with client_known_version of 0.

Oh, the majority of the update to latest ledger request is coming from the vm validator: the submit_transaction_to_mempool function is calling the validate_transaction function of a vm validator, which just puts the client_known_version to 0 when updating to the latest ledger.
This approach worked fine prior to reconfiguration, but doesn't work in the multi-epoch world.
Generally the validate_transaction function looks suspicious: it's invoking an update_to_latest_ledger request for every incoming txn, but doesn't do anything with the returned proofs (and doesn't maintain trusted validator set to verify LedgerInfo anyway).

@wqfish implemented lightweight storage API for the specific requests currently required by mempool in #2016 and #2024 (currently closed). Fingers crossed it's going to solve the perf regression.

Perf is back! Closing the task.


rails metadata:scan

When do $ rails metadata:scan
It scans only for movie files not for images what do I wrong
Have the stashserver running on : Windows, Ubuntu, Mac
Please help

As of now it will not scan individual images, they must be zipped together in a zip archive.


Question: Unpublish old version automatically?

When running a deployment into a production environment, the new apps are published and installed and the old versions of the apps are still published, but uninstalled.
Question: Is it possible to automatically unpublish the old versions of those apps when deploying the new versions?

Would love to see this as a feature or at least an option.

Have the same issue. It's not only for PROD environment, but for QA as well (using S2S token, thus Publish-PerTenantExtensionApps is used)
Installed extensions windows looks crazy :)

Currently, there is no functionality in the API to unpublish an app that we can use.
There is an idea on msideas and if anybody has the time, it is possible to create this functionality themselves.
See more here: https://github.com/microsoft/navcontainerhelper/issues/2808
If you are an app-developer, it is probably a fairly small exercise to contribute with this.


Show stack trace of uncaught exceptions.

See this comment: https://github.com/sindresorhus/ava/issues/245#issuecomment-158339191
@sindresorhus - Can you start assigning me tasks you want me to own so I don't forget about them? I read some of this stuff on mobile, and it can be a pain trying to remember everything I'm supposed to follow up on when I get back to a keyboard. It would be really nice if Github allowed some sort of "Pinning" / "Todo".

Duplicate of #255, Closed by #257

Can you start assigning me tasks you want me to own so I don't forget about them?

Will do from now on. You can also self-assign yourself tasks, on the right-hand side (Assignee).

Yep - I asked that before you added me.


Import FloatTensorType from datatypes

FloatTensorType is imported in test_SVMConverters.py in onnxmltools nightly build.

Let onnxmltools fix it by itself. It doesn't make sense to import tensortype from this file.


Invalid column name in unique constrain causes to generate drop all tables while adding migration

this line  => entityBuilder.Entity<IEntity>().HasIndex(new [] { "Field1" , "Field2" }).IsUnique(true);
Field 2 is invalid and is not available in the table but added to the above Fluent API line by human mistake !!!!
when adding migration it will generate a migration file that contains Drop All Tables !!!!!!
screenshot of the generated migration file
Further technical details
EntityFrameworkCore version: 2.2.4
Database Provider: (Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (Visual Studio 2019 community 16.2)
please need help !

@oOAhmedKingOo Please post a small, runnable project/solution or complete code listing that demonstrates the behavior you are seeing.

sorry for late replay,
here is a runnable project attached
click here to download the project from google drive

just add migration on TestDbContext and see what will happen

BTW im using Reflection to do migrations  !!

@oOAhmedKingOo The model building code is throwing this:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: The specified type 'WebApplication1.IEntity'must be a non-interface reference type to be used as an entity type .

but the exception is being swallowed in your OnModelCreating method. This leaves the model in an invalid state.

ohh didn't notice that, thanks for your help, and sorry for late replay  :)


README example "{ seq 1 5; seq 1 4 | tac } | plot -d5" doesn't work

~/Downloads/plot-master/src> { seq 1 5; seq 1 4 | tac } | plot -d5
>

~/Downloads/plot-master/src>  seq 1 5; seq 1 4 | tac  | ./plot -d5
1
2
3
4
5
       4.00 ┼╮
       3.25 ┤╰╮
       2.50 ┤ │
       1.75 ┤ ╰╮
       1.00 ┤  ╰─

This is what I see:

My shell is zsh.  I found a problem when testing bash and ash, I needed to add a semicolon after tac.  I updated the reamde example to be:
{ seq 1 5; seq 1 4 | tac; } | plot -d5

Can you tell me if that fixes the problem?  If it does not, can you let me know your shell, and if possible the version of coreutils you have installed?

Thanks - that works.  I am using bash.
{ seq 1 5; seq 1 4 | tac; } | plot -d5
       5.00 ┤   ╭╮
       4.00 ┤  ╭╯╰╮
       3.00 ┤ ╭╯  ╰╮
       2.00 ┤╭╯    ╰╮
       1.00 ┼╯      ╰─

Great!


Indexing tests

Adds a handful of tests to indexing code and delete some code that was meaningless.

Looks like type inference failures on Julia 1.2 and 1.5.

Looks like type inference failures on Julia 1.2 and 1.5.

All fixed now.

All fixed now.

Awesome!

Awesome!


pull request for e2e test at 01/26/2017 16:15:13

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


Checkin with new wildcard

Docs Build status updates of commit 0b0a02e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference-unified.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

ci-configs/packages-latest.json
:white_check_mark:Succeeded

ci-configs/packages-preview.json
:white_check_mark:Succeeded

docs-ref-mapping/reference-unified.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


⚠ Minecraft has degraded performance

In 2b874e0, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1024 ms

Resolved: Minecraft performance has improved in eee971e.


Input dialog does not move upwards when soft keyboard shows in landscape

Steps to Reproduce
SOURCE CODE:
  static Future<String> showInputDialog(BuildContext context, String title, [String defaultInput, String message]) {
    var textController = new TextEditingController(text: defaultInput ?? "");
    var content = Column(
      mainAxisSize: MainAxisSize.min,
      children: <Widget>[
        StringUtil.isNotNullOrEmpty(message) ? Text(message) : Container(),
        TextField(controller: textController)
      ],
    );

    return showDialog<String>(
      context: context,
      builder: (BuildContext context) {
        var mediaQuery = MediaQuery.of(context);

        return AnimatedContainer(
          padding: mediaQuery.padding,
          duration: const Duration(milliseconds: 300),
          child: AlertDialog(
            title: Text(title),
            content: content,
            actions: <Widget>[
              FlatButton(
                child: Text(CANCEL),
                onPressed: () => Navigator.pop(context),
              ),
              FlatButton(
                child: Text(OK),
                onPressed: () => Navigator.pop(context, textController.text),
              ),
            ],
          ),
        );
      },
    );
  }

I already have resizeToAvoidBottomPadding: false in my Scaffold.
The issue is easy to reproduce in landscape mode.
Screenshots:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-NZ)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.30.2)
[✓] Connected device (1 available)

@MilkBiscuit
A minimal demo project which can reproduce this issue would be helpful.

https://github.com/flutter/flutter/issues/7032#issuecomment-435360504 says this is an issue with CupertinoAlertDialog but it seems you are seeing this also with AlertDialog.

@MilkBiscuit
A minimal demo project which can reproduce this issue would be helpful.

Hi KangWang,
I've created a minimal project here:
https://github.com/MilkBiscuit/input_dialog_overflow_issue
Reproducible on both iOS & Android devices.
Hopefully it will be fixed or I could get a workaround soon :)

Is this getting a fiX?

I tried the workaround mentioned in https://github.com/flutter/flutter/issues/7032 but it unfortunately does not seem to work anymore (scrolls the dialog up way too high). Did anyone find any other workaround?

For me, it happens only on iOS simulators but not on real device.
I'm on Flutter 1.10.16 and iPad 9.7 with iOS 12.2.

Wrapping the dialog in a SingleChildScrollView seems can solve this.
Example:
SingleChildScrollView(
    child: Dialog(
    //.....
    ),
)

Hi @MilkBiscuit
did the proposed solution solved the issue?
thank you

Same issue here.
If i wrap Alertdialog with SingleChildScrollView, it will make AlertDialog Top of screen.
Source Code
//? Testing Alert Dialog
class TestingPage extends StatelessWidget {
  static const routeNamed = "/testing-page";
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomPadding: false,
      body: Center(
        child: RaisedButton(
          onPressed: () => showDialog(
            child: CustomAlertDialog(
              //  controller: _txtUserController,
              title: "Description About You",
              labelText: "Fill Your Name",
              errorTextEmpty: "Provided Name",
              //  boxName: "user_box",
              //  userModelHive: UserModelHive()
              //    ..id = DateTime.now()
              //    ..giverName = _txtUserController.text
              //    ..pinCodeNumber = "",
              //  routeName: HomeScreen.routeNamed,
            ),
            context: context,
            barrierDismissible: false,
          ),
          child: Text('Open Dialog'),
        ),
      ),
    );
  }
}

class CustomAlertDialog extends StatefulWidget {
  final TextEditingController controller;
  final String title;
  final String labelText;
  final String errorTextEmpty;
  final String boxName;

//  final UserModelHive userModelHive;
  final String routeName;

  CustomAlertDialog({
    this.controller,
    this.title,
    this.labelText,
    this.errorTextEmpty,
    this.boxName,
    //  this.userModelHive,
    this.routeName,
  });

  @override
  _CustomAlertDialogState createState() => _CustomAlertDialogState();
}

class _CustomAlertDialogState extends State<CustomAlertDialog> {
//  final Repository _repository = Repository();
  final formKeys = GlobalKey<FormState>();

  @override
  Widget build(BuildContext context) {
    return _SystemPadding(
      child: AlertDialog(
        title: Text(widget.title),
        content: TextFormField(
          controller: widget.controller,
          decoration: InputDecoration(
            labelText: widget.labelText,
            border: OutlineInputBorder(borderRadius: BorderRadius.circular(30)),
          ),
          validator: (value) {
            if (value.isEmpty) {
              return widget.errorTextEmpty;
            }
            return null;
          },
        ),
        actions: <Widget>[
          FlatButton.icon(
              icon: Icon(Icons.verified_user),
              label: const Text("Let's go"),
              color: Theme.of(context).primaryColor,
              textTheme: ButtonTextTheme.primary,
              onPressed: () {})
        ],
      ),
    );
  }
}

class _SystemPadding extends StatelessWidget {
  final Widget child;

  _SystemPadding({this.child});

  @override
  Widget build(BuildContext context) {
    var mediaQuery = MediaQuery.of(context);
    print(mediaQuery.viewInsets.bottom);
    return AnimatedContainer(
      padding: mediaQuery.padding,
      color: Colors.black.withOpacity(.5),
      duration: const Duration(milliseconds: 300),
      child: child,
    );
  }
}

Hi @MilkBiscuit
did the proposed solution solved the issue?
thank you

Hi @iapicca ,
It did fix this issue, but as @zgramming  mentioned, it pushes the AlertDialog onto the top, but it should be placed in the screen centre.

Any solution to this issue?

Any solution to this issue?

margin: MediaQuery.of(context).viewInsets  this fixed it for me
don't use padding as it's mentioned below use margin

Not getting overflow and it does move up but textfield is gone

flutter doctor -v
[✓] Flutter (Channel dev, 1.19.0-3.0.pre, on Mac OS X 10.15.5 19F96, locale
    en-GB)
    • Flutter version 1.19.0-3.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 6135091de9 (31 hours ago), 2020-06-01 17:17:03 -0700
    • Engine revision e39301f23f
    • Dart version 2.9.0 (build 2.9.0-11.0.dev 6489a0c68d)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.45.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • iPhone 11  • 0EC80516-8F99-4A0C-89ED-2273579862F9 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • macOS      • macOS                                • darwin-x64     • Mac
      OS X 10.15.5 19F96
    • Web Server • web-server                           • web-javascript •
      Flutter Tools
    • Chrome     • chrome                               • web-javascript •
      Google Chrome 83.0.4103.61

• No issues found!

Not having any luck implementing any of the solutions posted here. @lukepighetti 's solution https://github.com/flutter/flutter/issues/7032#issuecomment-459136584 is elegant, but cannot get it to move my custom Dialog at all.
MediaQuery.of(context) always returns EdgeInsets.zero for both padding and viewInsets , whether the keyboard is visible or not, therefore the dialog is never moved.
(Flutter version 1.17.1 and Dart 2.8.2, testing devices = Android 5, Android 7 ... haven't tried iOS yet)

@2x2xplz Is your app set to full screen? i.e. android:windowFullscreen set to true either in a style or by using a .Fullscreen theme? If so, that's standard Android behavior and it's incredibly annoying.

@kentcb Thank you so much, that is exactly the issue. The fact you knew exactly where to look, for something so obscure... I'm amazed.
The flutter_native_splash package updates Android's styles.xml with
<item name="android:windowFullscreen">true</item>  If I comment out that line, then viewInsets does in fact change and Dialog gets repositioned.

Hi is it possible to solve this issue https://stackoverflow.com/questions/58668369/textformfield-landscape-view-fill-the-screen-with-keyboard-in-flutter ?
How can I create a fullscreen textfield form when the keyboard pop ?
Thanks :)

@zgramming   used Center widget, I solved this problem.

@glaciuspgm have you found a solution to the fullscreen Textfeild form, I have been searching for how to implement that.

Hi is it possible to solve this issue https://stackoverflow.com/questions/58668369/textformfield-landscape-view-fill-the-screen-with-keyboard-in-flutter and https://stackoverflow.com/questions/58308754/flutter-how-to-open-full-screen-keyboard-in-landscape-mode?
How can I create a fullscreen textfield form when the keyboard pop ?
Thanks :)

That's not possible for now, unfortunately.

I just made a package for this. It works by manually calculate dialog padding based on screen size and dialog size.
Note: barrierDismissible will have no effect, you can't dismiss dialog by clicking the outside of the dialog.
pub.dev Github
Screenshots:

I was able to reproduce the issue based on https://github.com/flutter/flutter/issues/27629#issuecomment-638215029

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.402, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.402 at /Users/pedromassango/Code/flutter_master
    • Framework revision 2a188eeca3 (35 hours ago), 2021-01-17 19:27:00 -0800
    • Engine revision 609036f2bf
    • Dart version 2.12.0 (build 2.12.0-236.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-arm    • Android null (API null)
    • macOS (desktop)            • macos         • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.22.5 at /Users/pedromassango/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

I was able to reproduce the issue based on https://github.com/flutter/flutter/issues/27629#issuecomment-638215029

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.402, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.402 at /Users/pedromassango/Code/flutter_master
    • Framework revision 2a188eeca3 (35 hours ago), 2021-01-17 19:27:00 -0800
    • Engine revision 609036f2bf
    • Dart version 2.12.0 (build 2.12.0-236.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-arm    • Android null (API null)
    • macOS (desktop)            • macos         • darwin-x64     • Mac OS X 10.15.7 19H114 darwin-x64
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H114 darwin-x64, locale en)
    • Flutter version 1.22.5 at /Users/pedromassango/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (6 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Note that wrapping the dialog in a Center breaks the barrier dismissability. An alternative solution is to use a Row, e.g.
Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        SingleChildScrollView(
          child: AlertDialog(

Hi everyone
Overflow could be solved by dialog scrollable, add scrollable: true, to your AlertDialog.  This will make content scrollable thus avoiding an overflow error.
iOS
https://user-images.githubusercontent.com/48603081/141813172-5cd9ce4b-84e7-4cb1-b76b-48c86a9063e0.mov
Android
https://user-images.githubusercontent.com/48603081/141813270-de7e71f1-4b48-44f6-8aa4-4810c7fe3e07.mov

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: const Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Material App Bar'),
      ),
      body: const Center(
        child: Text('Hello World'),
      ),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.add),
        onPressed: () {
          showInputDialog(context, 'title', 'default inpit', 'message');
        },
      ),
    );
  }

  static Future<String?> showInputDialog(
      BuildContext context, String title, String defaultInput, String message) {
    var textController = TextEditingController(text: defaultInput);
    var content = Column(
      mainAxisSize: MainAxisSize.min,
      children: <Widget>[Text(message), TextField(controller: textController)],
    );

    return showDialog<String>(
      context: context,
      builder: (BuildContext context) {
        var mediaQuery = MediaQuery.of(context);

        return AnimatedContainer(
          padding: mediaQuery.padding,
          duration: const Duration(milliseconds: 300),
          child: AlertDialog(
            title: Text(title),
            content: content,
            scrollable: true,
            actions: <Widget>[
              TextButton(
                child: const Text('Cancel'),
                onPressed: () => Navigator.pop(context),
              ),
              TextButton(
                child: const Text('Okay'),
                onPressed: () => Navigator.pop(context, textController.text),
              ),
            ],
          ),
        );
      },
    );
  }
}


Default OKD image in CRC has expired cert, causing undue grief. Does not refresh/renew properly

Describe the bug
When using the okd preset in crc, it currently uses 4.12.0-0.okd-2023-02-18-033438 by default.
If you run crc start you'll get the following message:
INFO Kubelet client certificate has expired, renewing it... [will take up to 8 minutes]
Failed to renew TLS certificates: please check if a newer CRC release is available: Temporary error: certificate /var/lib/kubelet/pki/kubelet-client-current.pem still expired (x60)

Without diving into the pedantics of why the cert has such a short expiry in a dev environment, even if the refresh did work properly it adds an additional "up to 8 minutes" to a fresh startup. Can we just get a newer crc image with a newer cert since it's a bad onboarding experience?
It would probably be best to just make a CI hook that runs on a schedule < the expiry so this doesn't keep happening. It seems this is a perennial problem judging by https://github.com/okd-project/okd/issues/1124 and while it would be nice if crc startup worked properly, refreshing the cert on the pinned preset version for crc is a lower effort solution that gives users back 8 minutes of waiting around.
Version
4.12.0-0.okd-2023-02-18-033438
How reproducible
100% of the time after the cert expired.

Appologies. It seems this is a red herring: https://github.com/crc-org/crc/issues/3635
Will follow up w/ crc to find out how to get the real error to be logged, since having such a misleading error in the logs is a time sink.


Change user_id to user_uuid

As per @tijmenb's comment which was just slightly too late to make it onto the release train. 🚂

Superseded by https://github.com/alphagov/content-tagger/pull/362


Docs: Update OCP Prerequisites

Type of change

Documentation

Description

Docs: Update OCP Prerequisites
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[x] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

Can one of the admins verify this patch?


cal-online.co.il

@AdamWr commented on Fri Dec 14 2018
@adguard-bot commented on Thu Dec 13 2018
Issue URL (Incorrect Blocking)
https://www.cal-online.co.il/self-service/prepaid/
Comment
Username: @ORI123456

see that video
https://youtu.be/U-s8SnLBly4
The information below is automatically generated. Do not delete it.
Custom userscripts:
https://cdn.adguard.com/public/Userscripts/AdguardPopupBlocker/2.5/popupblocker.user.js
https://cdn.adguard.com/public/Userscripts/AdguardAssistant/4.2/assistant.user.js

Screenshots

Screenshot 1

Screenshot 2

System configuration

Information
value

Platform:
Win

AdGuard version:
6.4.1814.4903

Browser:
Chrome

AdGuard driver:
WFP

Filters:
EasyList Hebrew,AdGuard Base

Other extensions used:
Ext as default. Antivirus Eset internet security. No other as blockers

@ORI123456 commented on Thu Dec 13 2018
Same problem on another page on the site:
https://services.cal-online.co.il/Card-Holders/SCREENS/AccountManagement/Login.aspx?csrt=3560633927386473251&ReturnUrl=%2Fcard-holders%2FScreens%2FAccountManagement%2FHomePage.aspx
Notice:
After you will disable Adguard and refresh the page, even if you will enable adguard again, the problem won't occur. but if you will restart the browser the problem will be back

@Alex-302 commented on Thu Dec 13 2018
I can't reproduce. Is Stealth Mode enabled?

@ORI123456 commented on Thu Dec 13 2018
No, stealth mode disabled.

@Alex-302 commented on Fri Dec 14 2018
Which filter causes it?

@AdamWr commented on Fri Dec 14 2018
Could you please check these rules:
@@||services.cal-online.co.il/PrePaidCard/HomePage.aspx$extension
@@||services.cal-online.co.il/Card-Holders/SCREENS/AccountManagement/Login.aspx$extension

or try to disable AdGuard Popup Blokcer and check if it works.

@ORI123456 commented on Fri Dec 14 2018
The two options you propose, worked

@AdamWr commented on Fri Dec 14 2018
Ok, thank you for checking it.
So it seems that it's caused by AdGuard Popup Blokcer.
Added to AdGuard Base filter as a temporary solution:
@@||services.cal-online.co.il/PrePaidCard/HomePage.aspx$extension
@@||services.cal-online.co.il/Card-Holders/SCREENS/AccountManagement/Login.aspx$extension

@ORI123456 commented on Tue Dec 18 2018
Happen to me again. and after a bit of a time stopped to happen.
when i tried it enter into my card deteils, the site stopped working
for the record i disabled the rules from the user filter because you said you added them to your filter.

@northis commented on Sat Dec 29 2018
The problem has nothing to do with Pop Up Blocker.
With these rules works fine, without - not. Suppose it is a filtering issue.

Now it's not happening, but if it will occur again i'll report

It happened to me again just now with Firefox on first time trying. on second time it didn't occur


#1715 Add tcp traffic shifting for blue green

This potentially fixes #1715, by adding a check for tcp traffic shifting in the virtualservice.
Needs to be cherry-picked for 0.6.2.

Codecov Report

Merging #1720 into master will increase coverage by 14.96%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master    #1720       +/-   ##
===========================================
+ Coverage   11.07%   26.03%   +14.96%
===========================================
  Files          21      114       +93
  Lines        1635     8631     +6996
===========================================
+ Hits          181     2247     +2066
- Misses       1434     6112     +4678
- Partials       20      272      +252

Impacted Files
Coverage Δ

helm-service/controller/mesh/istio.go
34.00% <0.00%> (ø)

.../keptn/keptn/helm-service/controller/mesh/istio.go
34.00% <0.00%> (-10.74%)
:arrow_down:

cli/cmd/generate_docs.go
100.00% <0.00%> (ø)

cli/pkg/config/cli_config.go
58.33% <0.00%> (ø)

eventbroker/main.go
61.36% <0.00%> (ø)

cli/cmd/version.go
76.92% <0.00%> (ø)

...ouse-service/event_handler/evaluate_sli_handler.go
63.53% <0.00%> (ø)

cli/cmd/delete_project.go
53.12% <0.00%> (ø)

cli/cmd/get.go
100.00% <0.00%> (ø)

configuration-service/common/git.go
0.00% <0.00%> (ø)

... and 85 more

Continue to review full report at Codecov.

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

closing this, as the underlying issue #1715 can not be fixed with this.


Recommended use with a global loading spinner

In my application I have a top-level global spinner component using the ActivityIndicator in an absolutely positioned View controlled by a visible prop. It displays fine when a modal is not open.
I have a number of modals in various places in my app, and the modals always show on top of the spinner even though the spinner is hierarchically at the end of the application.
What is the recommended solution for this problem?

Hey!
A modal, by definition, will always be positioned above all the other Views of the app, regardless the View hierarchy.
If you need to show the activity indicator even above the modal I guess you can integrate it in a Modal wrapper which will:

show the modal content when not loading
show the spinner when loading

After doing some testing, it appears that when I build my spinner using the 'react-native' Modal component it displays over the top of the 'react-native-modal' Modal when I run the app on Android, but not on iOS.

React-native-modal uses 'react-native' modal under the hood and you can have two of them displayed at the same time unfortunately.

Okay, thanks. I've decided to go with the modal wrapper method that wraps the content with a spinner. It's interesting that the behaviour of multiple modals is different on Android and iOS.

It's interesting that the behaviour of multiple modals is different on Android and iOS.
Yeah, I know :/

Thanks for the discussion.


[5.1] Arr/Collection Only and Except for "columned" arrays

Adds the ability to use the only and except methods on "columned" arrays and collections.
Example:
$products = [
   ['name' => 'Chair', 'price' => 50],
   ['name' => 'Desk', 'price' => 100],
];

$product_names = Arr::only($products, 'name');
// $product_names == [
//    ['name' => 'Chair'],
//    ['name' => 'Desk'],
// ];

An example use case is filtering an array of this type read from a json file / api call.
I'm not 100% sure if this should be 5.1 or 5.2, since this is technically a breaking change. It's just very unlikely that someone uses the only/except methods for indexed arrays.

Try using Arr::pluck for this.

@taylorotwell Arr::pluck does not preserve keys though.

Also, it results in a one-dimentional array: ['item', 'item2'] while the only and except would result in `[['item' => 'value'], ['item' => 'value']];

@taylorotwell or @GrahamCampbell any chance of reconsidering this? Because there is definitely a difference between this and Arr::pluck


A11y_Azure Data Studio_Nov2023_Database Properties Preview_Files_Keyboard: Unable to change column size with keyboard for "database files" table.

"Please do not close this bug. This bug should only be closed by Trusted Tester after verification"
Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
Git hub Tags:
#A11yTCS; #A11yMAS; #A11ySev1; #DesktopApp; #WCAG2.1.1; #FTP; #SH_Azure Data Studio_Nov2023_Win32_Dec2023; #SQL Azure Data Studio; #Win32; #Keyboard; #NonBenchmark;
Environment Details:
Application Name: Azure Data Studio
Operating System: Win11
Azure data studio 1.47.0
Repro Steps:

Tourn on Narrator screen reader
Install Azure data studio application and open it
Make sure to enable "Preview" feature in settings.
Tab till "Database" and press enter to expand the tree.
Tab till any database and pressF10 to open context menu.
Tab till "Properties Preview" and press enter.
Tab till "Files" tab and press enter.
Tab till "Database files" table and try to change column size.
You will observe that unable to change column size with keyboard.

Actual Result:
Unable to change column size with keyboard for "database files" table.
Note: Issue seen throughout the application for similar type control.
Expected Result:
User should be able to change column size with keyboard keys.
User Impact:
Keyboard only user will unable change column size and see complete data.
Attachment:
https://github.com/microsoft/azuredatastudio/assets/124254981/567b9e18-e7a5-4180-b497-0f8bd4b3c047

@kapilvaishna resizing columns is provided via the keyboard shortcut Shift+Alt+S. Is that sufficient to resolve this issue?

@corivera yeah, that is fine to close the bug just make sure this shortcut key is there in your document.
We can change the column size with Shift +Alt + S key. so, closing the bug.
https://github.com/microsoft/azuredatastudio/assets/124254981/63251e28-84d5-436e-ab21-aa401ea73c6d


Extension not working in AWS ECS environment

Hi, @br41nslug !
Your extension is awesome and it's working perfectly fine for me locally (before and after dockerization). However, right after I deploy it to an AWS fargate-managed ECS cluster, the task is launched but after some minutes, the container goes to a CPU max usage and it basically gets stuck:
Here's the environment configuration:
ACCESS_TOKEN_TTL=60m
<EMAIL_ADDRESS>ADMIN_PASSWORD=password123
ASSETS_CACHE_TTL=30m
CACHE_ENABLED=false
CACHE_STORE=memory
CORS_ALLOWED_HEADERS=Content-Type,Authorization
CORS_CREDENTIALS=true
CORS_ENABLED=true
CORS_EXPOSED_HEADERS=Content-Range
CORS_MAX_AGE=18000
CORS_METHODS=GET,POST,PATCH,DELETE
CORS_ORIGIN=true
DB_CLIENT=pg
DB_DATABASE=MY-DB
DB_HOST=MY-DB-HOST
DB_PASSWORD=MY-PASSWORD!
DB_PORT=5432
DB_USER=MY=DB=USER
<EMAIL_ADDRESS>EMAIL_SENDMAIL_NEW_LINE=unix
EMAIL_SENDMAIL_PATH=/usr/sbin/sendmail
EMAIL_TRANSPORT=sendmail
EXTENSIONS_AUTO_RELOAD=false
EXTENSIONS_PATH=./extensions
HOST=<IP_ADDRESS>
KEY=SOME-RANDOM-KEY
PORT=8056
PUBLIC_URL=MY-URL
REFRESH_TOKEN_COOKIE_DOMAIN=MY-URL
REFRESH_TOKEN_COOKIE_NAME=directus_refresh_token
REFRESH_TOKEN_COOKIE_SAME_SITE=none
REFRESH_TOKEN_COOKIE_SECURE=true
REFRESH_TOKEN_TTL=7d
SECRET=SOME-SECRET
STORAGE_AMAZON_BUCKET=MY-BUCKET
STORAGE_AMAZON_DRIVER=s3
STORAGE_AMAZON_KEY=SOME-KEY
STORAGE_AMAZON_REGION=eu-west-2
STORAGE_AMAZON_ROOT=
STORAGE_AMAZON_SECRET=SOME-SECRET
STORAGE_LOCATIONS=amazon

And here's the Dockerfile
# NOTE: Testing Only. DO NOT use this in production

ARG NODE_VERSION=16-alpine

FROM node:${NODE_VERSION}

WORKDIR /directus

COPY . .

RUN rm -rf node_modules

RUN apk add --update python3 make g++\
   && rm -rf /var/cache/apk/*

RUN npm install

WORKDIR /directus/api

CMD ["sh", "-c", "npm run start"]
EXPOSE 8055/tcp
EXPOSE 8056/tcp

I tried increasing the task memory to 2 vCPU and 8 GBs of memory. Still unresponsive.
Removing the package with the same configuration previously shown worked, even reducing memory and vCPUs to its minimal.
Do you have any idea why is it failing? Is there any specific configuration that's necessary in order to run this extension inside a serverless environment like AWS ECS Fargate? Thanks in advance, pal

I do not personally use AWS but in any hosting setup you need to configure/allow for websocket proxying similar to http/https. In a regular NGINX or Apache setup those proxy configurations are straight forward but for AWS you'll have to consult their docs https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api.html

Hi, man!  No worries :smile: . AWS Cloudwatch didn't show me too much in the logs, just that my container was dropped:
 GET /admin/login 200 4ms
 GET /admin/login 200 4ms
 GET /admin/login 200 4ms
 GET /admin/login 200 4ms
 GET /admin/login 200 4ms

# No more health-checks during 6 minutes, then the container is dropped

npm ERR! path /directus
npm ERR! command failed
npm ERR! signal SIGINT
npm ERR! command sh -c -- npx directus start

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-02-01T21_04_18_424Z-debug-0.log

Reviewing the target groups, it seems to be working ok during a couple minutes, then it basically drops everything. After I checked the CloudWatch dashboard, I found CPU and memory peaks.

Could you try setting LOG_LEVEL=trace for the container? perhaps that will log a bit more in depth


abstract and poster is missing

For more information about TWPCA, you had provided "Abstract" and "poster". But the link does not work.
Please., correct these links.
Thank you

As stated in the README, this is no longer maintained. See: https://github.com/ahwillia/affinewarp


fixing version specs for downstream dependencies

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

so it is all good !? I guess I will need to check nodepTrue one some time later on WTF is so special about it ;)

@yarikoptic actually, for some reason, latest datalad could not be installed with latest git-annex for testing, so the downstream testing got skipped:  https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/_apis/build/builds/225307/logs/15
If you have any ideas as to the cause, that'd be great (but I'm not crazy to think the current conda error messages on this are unusable right :) )

@yarikoptic tried re-rendering datalad with current conda-smithy, if doesn''t help will ping conda-forge admins.
re: nodepTrue, if want to use it, maybe check with @joeyh if he can automate the build or adapt it to CentOS so conda-forge can build it.
Could also try to reduce the chance of package conflicts by prodding git-annex/datalad dependencies to rerender their feedstocks.
One other recent change is turning on compiler optimizations for gcc/ghc, should not break anything but just in case, watch for any odd changes.

didn't check what is the latest annex but overall install seems to be ok
$> conda create -c conda-forge -n datalad-test-install datalad=0.13.4
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.8.4
  latest version: 4.8.5

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: /home/yoh/anaconda-5.2.0-2.7/envs/datalad-test-install

  added / updated specs:
    - datalad=0.13.4

The following NEW packages will be INSTALLED:

...
  git                conda-forge/linux-64::git-2.28.0-pl526h5e3e691_1
  git-annex          conda-forge/linux-64::git-annex-8.20201007-alldep_h75db294_101
...

not sure if anything to fix on datalad end

for a test install you also need to install the test dependencies of datalad

"not sure if anything to fix on datalad end" -- the only thing I can think of is re-rendering with the latest conda-smithy; if that doesn't help, next stop is to ask conda-forge/core .


Add CI with unit testing and code coverage

Fixes #24

This change is

I'm not a big fan of the noise from codecov, thoughts on if we need it?

It's not essential, Wendi and I just found the stats useful for Topside. If you like the coverage stats but not the bot comments, you can just disable the bot. Otherwise you can remove it entirely.


Support new architectures and Fabric render system RN 0.68

Would love to see support for the new react 0.68 architecture and the new Fabric rendering system

Hey, any updates on this?
I'm getting 'Unimplemented component' on my WebView because of the Fabric support...

cc #2686

Check this I have managed to work web view with new architecture https://www.youtube.com/watch?v=Rq-mAjkG2ME&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=1


FinalizingFieldAccessPostAggregator cannot be deserialized once it gets decorated

FinalizingFieldAccessPostAggregator.decorate() a different class from FinalizingFieldAccessPostAggregator which causes the below error in historicals.
{
  "error" : "Unknown exception",
  "errorMessage" : "Could not resolve type id 'FinalizingFieldAccessPostAggregator$1' into a subtype of [simple type, class io.druid.query.aggregation.PostAggregator]: known type ids = [PostAggregator, arithmetic, arrayOfDoublesSketchSetOp, arrayOfDoublesSketchTTest, arrayOfDoublesSketchToEstimate, arrayOfDoublesSketchToEstimateAndBounds, arrayOfDoublesSketchToMeans, arrayOfDoublesSketchToNumEntries, arrayOfDoublesSketchToQuantilesSketch, arrayOfDoublesSketchToString, arrayOfDoublesSketchToVariances, buckets, constant, customBuckets, doubleGreatest, doubleLeast, equalBuckets, expression, fieldAccess, finalizingFieldAccess, hyperUniqueCardinality, javascript, longGreatest, longLeast, max, min, quantile, quantiles, quantilesDoublesSketchToHistogram, quantilesDoublesSketchToQuantile, quantilesDoublesSketchToQuantiles, quantilesDoublesSketchToString, sketchEstimate, sketchSetOper, thetaSketchConstant, thetaSketchEstimate, thetaSketchSetOp]\n at [Source: HttpInputOverHTTP@3187587e[c=9269,q=0,[0]=null,s=STREAM]; line: -1, column: 8935] (through reference chain: io.druid.query.groupby.GroupByQuery[\"postAggregations\"]->java.util.ArrayList[0])",
  "errorClass" : "com.fasterxml.jackson.databind.JsonMappingException",
  "host" : "x.x.x.x"
* Connection #0 to host localhost left intact
}

We might fix this bug, but I wonder we can just remove FinalizingFieldAccessPostAggregator and use ExpressionPostAggregator instead.

FinalizingFieldAccessPostAggregator is documented, so I think we should fix it. I'll do a patch.


Icon Request:

DURATIUON
We need an icon to indicate duration, primarily used for short videos and on demand video
https://www.dropbox.com/s/yldhv3q0waxh2w7/nrk-duration.svg?dl=0
DURATIUON
We need an icon to indicate a hyperlink, primarily used in the context of sharing to SoMe, to let the user decide how to share the link for them self
https://www.dropbox.com/s/8z906anhcqbkzvm/nrk-link.svg?dl=0

Resolved by #47


Multivariate Gaussian likelihood

Currently, there is only support for univariate likelihoods. I'm interested in having an observation Y that depends on D latent GPs through some emission matrix. This could be implemented as a likelihood class as well.

Would this be something you'd want to include in GPflow?
Do you have any ideas of how to test variational_expectations()? It doesn't look like the quadrature would work for multiple dimensions. Have you thought about this?

It sounds similar to what I am preparing outside GPflow (not yet uploaded to GitHub).
I guess your likelihood is something like p(Y| A F, var) with a certain matrix A.
If your likelihood is independent (it is not my case though)
p(Y| A F, var) = \Prod_i p(yi | [A F]_i, var)
the use of a new kernel A K A^T and with a normal Gaussian likelihood may be an option.
Otherwise (in my case), I guess vgp,  svgp, sgpmc  do not work because the current implementation assumes independent likelihoods.
And as far as I know, the multivariate quadrature is practically impossible calculation cost increases exponentially with dimension.
We have to rely on the stochastic integration? I am also interesting to any idea.

I'm interested in this because I'm implementing a variational dynamical system. In this case, because of noise in the latent state, it's not possible to just change the kernel, and a real multivariate likelihood is needed.
Currently, my tests rely on Monte Carlo estimation of the integrals to test for correctness. The issue here is that some estimates can have quite high variance, especially when the integral is like a covariance.
My feeling is that multivariate quadrature should be feasible for low dimensions. While it may be possible to get a good MC estimator, it would require some tricks in cases where the variance is high. While I think (or expect) that an easy to implement quadrature would perform better than a naive monte carlo estimate in low dimensions. And the easy to implement, understand and verify properties are important in tests.

I guess some large modification is also necessary for vgp, svgp, sgpmc for using this likelihood,
but I am interesting in this.


Allow definition of constants to pass into zig translate-c

When calling translate-c, allow defining c constants. For example:
$> zig translate-c windows.h --c-define WIN32_LEAN_AND_MEAN
In addition, it would be nice to be able to emit the result of a cImport for inspection and manual editing. The generated import could be placed in the zig-cache directory, or a user specified location.

You can do this by creating myfile.h with the #define and then the #include, and then using the translate-c command on myfile.h.
We also have --verbose-cimport which you could pipe to a file when building.

--verbose-cimport will also pipe stuff other than the translate-c output which is less than ideal, but creating the intermediate file is already a great solution for me.
Thanks


Completer.complete() pass Future type, immediately isCompleted = true.

i expected that Completer#isCompleted is changed when Future will solve.
for example,
final future = Future.delayed(const Duration(seconds: 3));
final completer = Completer()..complete(future);
print(completer.isCompleted);    // actual: true / expected: false
completer.future.then((_) {
  print(completer.isCompleted);  // actual: true / expected: true
});

and i want to know, future status is resolved at synchronous.
but there is no way.
async way like this.
final future = Future.value();
final completer = Completer();
future.then((_) {
 completer.complete();
 print(completer.isCompleted);  // true
});

// i want to asynchronous like this.

// something to know future state.
if (completer.isCompleted) {
  // something process
}

is there a way, solve my problem.
thank you.

The Completer.isCompleted getter exists to tell you whether it's safe to call Completer.complete etc.
If isCompleted is true, calling complete will throw a StateError. That's why it's set immediately when you call complete the first time.
There is currently no way to check whether the future is actually completed, if you complete the completer with another future. That's consistent with there being no way to ask a future whether it's completed. The future doesn't tell, all you can do is to wait for its result.
If you really need to know when the future is completed, you have to wait for it, as @Michael35699 says.
@rrousselGit The add function you describe is precisely what complete does, except it accepts FutureOr<T>?.
There are no plans to change the current behavior, or add a way for the completer to know when the future has completed.

@lrhn

@rrousselGit The add function you describe is precisely what complete does, except it accepts FutureOr?.

Yes. But that means it'd accepts a Future.error
Kind of like StreamController.add vs addError vs addStream but for Completer.
I've had to do the following a few times:
Completer<T> completer;

void fn() {
  Future<T> someFuture;
  someFuture.then(completer.complete, onError: completer.completeError);
}

An extension works fine though

@rrousselGit
There should be no difference between someFuture.then(completer.complete, onError: completer.completeError) and just completer.complete(someFuture). Both will let an error future pass its error into the completer's future.
(The internals of _Completer._completeWithForeignFuture, which _Completer.complet ends up calling for some future arguments, does something very close to that expansion, because that's all it can do to a Future it doesn't know.)
So, Completer.complete does pipe the result of its future argument into the completers future, and it sets the isCompleted immediately, which is what you wanted add to do.

The difference is in how error-prone it is. It's easy to forget to pass onError. Nothing major, but it counts :)

Also technically there is a race condition.
If we do the future.then(completer.complete) twice on two different future, there's a possible problem
A completeFuture could assert that a future was already "added".


Issue with k8s.io/docs/contribute/style/style-guide/

Problem:
The style guide says: "Kubernetes documentation uses US English." Clearly we use more than that!
Proposed Solution:
We need to clarify that Kubernetes docs are available in multiple languages, and that we consider US English to be the authoritative source.
Page to Update:
https://kubernetes.io/docs/contribute/style/style-guide/#language

/language en
:thinking:

@zacharysarah I would like to take this up. Do we need to provide a list of languages as well?

@avni-sharma Great! No list needed, just the clarifying text about English, please.


Do not encrypt salt

Salts are not meant to be encrypted, there's no point in doing that http://security.stackexchange.com/questions/66801/is-encrypting-salt-with-given-users-password-more-secure

Actually, never mind. You're just encoding it in base64

The reason for encoding it was because otherwise it tended to produce characters the JSON parser didn't like. Will document that though :)

@0x27 cool, thanks!


Reenable SIMD.js support after the M40 rebase.

Commit 8c5d886 ("DEPS.xwalk: Roll v8-crosswalk (3bfc597 -> 11bb7b4)")
correctly rolled v8-crosswalk, but forgot to uncomment out the piece of
code that enables SIMD.js support by default.
BUG=XWALK-3210

@rakuco , LGTM. Thanks for this patch!


Add textField.resignFirstResponder to Authenticator Client example

I was not able to dismiss the keyboard while pressing the return key at register and login view and I could not register (See images below). So I added dismiss keyboard function at textFieldShouldReturn method.

 You should sign our Contributor License Agreement in order to get your pull request merged.tatsuya-yokoyama seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).


Create new release

I think we should also create a new release. Especially, the Chrome and Firefox version are currently not the same.

I created a new tag and published a new release @SebastianZimmeck. I have also pushed our new version to the Firefox AMO store and just received email confirmation that everything is all set. I think you should be all set to update the Chrome Web Store version the same way when you have the chance!

Great! Thank you, @kalicki1. I just submitted v1.1.4 on the Chrome Web Store as well. I will close this issue once it passes review there.

OK, we have v1.1.4 on Chrome Web Store and the AOM store.


Fix minor issues

This closes #12 , #13 , #15 , and #16. These are small changes, plus you'll see some changes to the yaml file for github actions.

@ldko @somexpert This is ready for review.


v-for in vue 2.6.x with options-based definition does not infer iterated type

Issue description
In VS Code, the type if any item in a list is not being properly inferred by the Volar extension, always showing "any".
This happens for both explicitly and implictly typed arrays, as is demonstrated by the attached images.
Environment

VSCode: `1.77.3´
Volar extension: 1.4.3 (reproducible in any 1.4.x version, but not on 1.3.x)
Typescript version (takeover mode): 5.0.4

Attachments

@ludwig801 Hi, maybe you should wrap defineComponent() or Vue.extends at the component


Fix comments, formatting, exports in Accounting

Added missing comments, fixed existing documentation comments, format fixes

@janos agreed, renamed PR.


New SOAR App: Proofpoint Threat Protection Splunk SOAR Connector

Name of the app
proofpoint-threat-protection-splunk-soar-connector
Integration
Proofpoint Threat Protection
About
Splunk SOAR Connector to interact with the Proofpoint Threat Protection API. Threat Protection APIs are REST APIs that allow our Proofpoint On Demand customers to retrieve, add, update or delete certain PoD configurations.

Hey @pdros-splunk would proofpoint-threat-protection work? How is this connector going to be different from the proofpoint connector already available? Thanks

If you are asking about this one https://github.com/splunk-soar-connectors/proofpoint?tab=readme-ov-file, this is a different branch of proofpoint data, the same thing is with another repository requested by me for ITM, I think it will be better to keep it in another repository for customers, about work part, yes it was tested by customer under this ticket https://splunk.atlassian.net/browse/FDSE-2187

Thanks! Here is the new repo: https://github.com/splunk-soar-connectors/proofpoint-threat-protection

Please close this if we're all good to go

Thanks @alexa-phantom! Closing.


Old keepldr files in /tmp not automatically deleted

From enarx created by MikeCamel: enarx/enarx#980
Unclear if this lives here or in enarx-keepmgr

If you mean /tmp/unix_echo.*, then there is not much we can do.
If you mean /tmp/enarx-keep-<UUID>, then yes, this should live in /var/run/enarx rather than /tmp and cleaned up properly.


GCS: Fix logic for allowing Google default logic in gcs provider

This PR adds back logic that allows GKE workload identity to work. Fixes #104

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Fix logic for allowing Google default logic in gcs provider (GKE workload identity was broken due to setting anonymous auth in GCS provider if not explicitly provider service account credential https://github.com/thanos-io/objstore/pull/86/files#diff-6f1f01a82332f5074843c222ea2e28118de43aa1a516848fe5b7ef3ac18f8470R97-R98)

Verification

I leverage this library in one of my applications to operate on objects in GCS, and when using my branch this works on my local machine when authing to GCS.

Sorry didn't realize you already raised this, but I opened one with passing tests here: https://github.com/thanos-io/objstore/pull/106.

Oh thanks I mentioned in the issue I wasn't sure why the original test was failing. All good, happy to see this fixed!


Cron triggers fire continuously for hours for some time zones every few milliseconds

Created a Redisson Cron tigger for the Australia/Sydney time zone that will fire at 6PM every day, every week.
Cron Expression - 0 0 18 ? * 2,3,4,5,6,7,1
Timezone - Australia/Sydney
Expected behavior
Expected that the trigger will fire at 18 every day for sydney only once
Actual behavior
With redisson version - 3.17.5 the trigger fires at 18 sydney as expected.
But it doesnt stop firing. It fires every few millis for hours together and this drains all our server resources.
Are cron expressions evaluated differently now?
This was working as expected with redisson version - 3.16.4. We recently upgraded to 3.17.5 and started seeing this issue
Steps to reproduce or test case
Create a simple cron trigger for sydney that fires every day at 6Pm with the below call -
RScheduledExecutorService.schedule(Runnable task, CronSchedule cronSchedule);
Code snippet -
final String cronExpr = "0 0 18 ? * 2,3,4,5,6,7,1"; CronSchedule cronSchedule = CronSchedule.of(cronExpr, ZoneId.of("Australia/Sydney")); RScheduledExecutorService executor = redisson.getExecutorService(name(), config.codec(), config.executorOptions()); executor.schedule(task, cronSchedule);
With 3.16.4 the code was -
final String cronExpr = "0 0 18 ? * 2,3,4,5,6,7,1"; CronSchedule cronSchedule = CronSchedule.of(cronExpr); cronSchedule.getExpression().setTimeZone(TimeZone.getTimeZone(ZoneId.of("Australia/Sydney"))); RScheduledExecutorService executor = redisson.getExecutorService(name(), config.codec(), config.executorOptions()); executor.schedule(task, cronSchedule);
Redis version
redis-server -v
Redis server v=7.0.0 sha=00000000:0 malloc=libc bits=64 build=fa9ffba7836907da
Redisson version
3.17.5
Redisson configuration
int workers = 10;
int executorThreads = 10;
long taskRetryIntervalSeconds = TimeUnit.MINUTES.toSeconds(10);
long defaultTaskTimeoutSeconds = TimeUnit.HOURS.toSeconds(8);
private int redissonTimeout = 6000;
private int redissonRetryAttempts = 6;
private int redissonRetryInterval = 3000;
private int redissonPingConnectionInterval = 50000;
private long redissonDnsMonitorInterval = 60000;
private int redissonSubscriptionPoolSize = 100;

This issue leads to a severe scheduler leak, please help.

Is it reproducible with 3.16.5 version?

Hi @mrniko
Couldnt specify a timezone in 3.16.5. It was removed from -
https://github.com/redisson/redisson/blob/redisson-3.16.5/redisson/src/main/java/org/redisson/executor/CronExpression.java
It was added back only in 3.17.1 inside CronSchedule.java
https://github.com/redisson/redisson/blob/redisson-3.17.1/redisson/src/main/java/org/redisson/api/CronSchedule.java
It is reprodusbile in 3.17.1
Thanks for taking a look.

Can you try attached version?
redisson-3.17.8-SNAPSHOT.jar.zip

Hi @mrniko Tried this out. Initial testing is positive. The trigger fires just once for the given time zone for the specified hh:mm. Thanks

Fixed in https://github.com/redisson/redisson/commit/2e874b085a207d3977b7abdaea88020bf3932f47. Thanks for report


Implement Currencies Endpoint

Description:

Using the currencies API endpoint you will be able to look up all currencies supported by the marketstack API.

HTTP Get Request Parameters:

Object
Description

access_key
[Required] Specify your API access key, available in your account dashboard.

limit
[Optional] Specify a pagination limit (number of results per page) for your API request. Default limit value is 100, maximum allowed limit value is 1000.

offset
[Optional] Specify a pagination offset value for your API request. Example: An offset value of 100 combined with a limit value of 10 would show results 100-110. Default value is 0, starting with the first available result.

API Response:
{
    "pagination": {
        "limit": 100,
        "offset": 0,
        "count": 40,
        "total": 40
    },
    "data": [
        {
            "code": "USD",
            "name": "US Dollar",
            "symbol": "$",
            "symbol_native": "$",
        },
        [...]
    ]
}

API Response Objects

Response Object
Description

pagination > limit
Returns your pagination limit value.

pagination > offset
Returns your pagination offset value.

pagination > count
Returns the results count on the current page.

pagination > total
Returns the total count of results available.

code
Returns the 3-letter code of the given currency.

name
Returns the name of the given currency.

symbol
Returns the text symbol of the given currency.

symbol_native
Returns the native text symbol of the given currency.

Note that symbol_native seemed to have been dropped from the API response.


[WIP][Community][Review] Refactor BlockchainNodeContextServiceBlockchainNodeContextService

issues#1859
Refactor BlockchainNodeContextServiceBlockchainNodeContextService

parameters by grouping,IBlockchainService ,IChainCreationService,ISmartContractAddressUpdateService ,IConsensusService

Packaged into a BlockchainNodeContextProxyService

Inject BlockchainNodeContextProxyService in BlockchainNodeContextService

Before refactoring
-- Application
---- IBlockchainNodeContextService.cs

After refactoring
-- Application
---- IBlockchainNodeContextService.cs
---- IBlockchainNodeContextProxyService.cs

:white_check_mark: Build AElf <IP_ADDRESS>74 completed (commit https://github.com/AElfProject/AElf/commit/b9b8cb8fe1 by @tomatopunk)

Not updated for a long time, so temporarily close this PR. If have new updates, you can new PR for this.


Mouse gets out of screen in relative mode

Hi, I am using the DirectX Mouse component and it's working fine.
However I do have some annoying behavior. I am locking the mouse with mode RELATIVE when right-clicking my window to have 3D 'mouse-look' mode - and going back to ABSOLUTE mode when releasing the right-mouse button (the app is in windowed non-fullscreen mode). Only thing : when I move the mouse too far out of the window borders, the right-mouse button release event is not fired which means I am locked into mouse-look mode with no button pressed. At this point the mouse cursor is still invisible. So I can only 'guess' where my cusor is and try to right click my window again to try to relase it. It happens that I randomly click outside the window and pop-up front another window which is very annoying.
My tracker basically works like this :
// Absolute / relative modes
if (getTrackerPressed(g_ActionButtons[LOCK_VIEW])) {
	g_mouse_state.x = 0;
	g_mouse_state.y = 0;
	g_mouse->SetMode(Mouse::MODE_RELATIVE);
}
else if (getTrackerReleased(g_ActionButtons[LOCK_VIEW])) {
	g_mouse_state.x = 0;
	g_mouse_state.y = 0;
	g_mouse->SetMode(Mouse::MODE_ABSOLUTE);
}

Any help appreciated.

I solved my problem with :
// Absolute / relative modes
if (getTrackerPressed(g_ActionButtons[LOCK_VIEW])) {
	g_mouse_state.x = 0;
	g_mouse_state.y = 0;
	POINT p;
	if (GetCursorPos(&p)) {
		g_mouse_abs_x = p.x;
		g_mouse_abs_y = p.y;
	}
	g_mouse->SetMode(Mouse::MODE_RELATIVE);
}
else if (getTrackerReleased(g_ActionButtons[LOCK_VIEW])) {
	g_mouse_state.x = 0;
	g_mouse_state.y = 0;
	g_mouse->SetMode(Mouse::MODE_ABSOLUTE);
}

And then inside the STATE handler :
// View rotation
if (getStatePressed(g_ActionButtons[LOCK_VIEW])) {
	g_ViewingContext->yaw(-(float)g_mouse_state.x * deltaTime * g_MouseSensitivity);
	g_ViewingContext->pitch((g_MouseInvertY ? 1 : -1) * (float)g_mouse_state.y * deltaTime * g_MouseSensitivity);
	SetCursorPos(g_mouse_abs_x, g_mouse_abs_y); // <- reset mouse position @ r-clicked position each frame
	g_mouse_state.x = 0;
	g_mouse_state.y = 0;
}


Can OpenUPF run on Ubuntu？

Can openupf be compiled and run directly on Ubuntu system besides CentOS system? Will it be considered later?

Hi
Temporarily not supported, may consider later

I have compiled the code on RHEL-8.8. However, when I am trying to run using start_upf.sh script, It is pulling the docker image for air5005/upu instead of taking the compiled code and creating redhat image from it. Please let me know how can I run UPF on Redhat-8


Surface the releaseNotes field in registration to allow the release notes to be displayed in VS PM UI

Related issue: https://github.com/NuGet/Home/issues/1823
cc @joelverhagen @anangaur

Is there anything in particular preventing this from moving forward? I found this issue while searching for ways to show a package's release notes inside Visual Studio. This has always been a major missing feature for me.
From the outside, this seems like something simple to add, however the last update here was from May.
Could somebody elaborate what's the current status here?


Proofreading pass

@rotycenh

OPS Build status updates of commit 88cb483:
:warning: Validation status: warnings

File
Status
Preview URL
Details

toc.json
:warning:Warning

Details

building-blocks/extending-templates/toc.json
:warning:Warning

Details

bread/toc.json
:warning:Warning

Details

docs/cloud-adoption/governance/resource-management/governance-single-team.md
:white_check_mark:Succeeded
View

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\or4u\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\or4u\building-blocks\extending-templates\toc.json'.

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\or4u\bread\toc.json'.

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


Support Meta Quest platform

Can Meta Quest platform be supported?

Meta Quest is android based, the current builds only have chromium built for windows. There is in theory support for chromium builds for android platforms, but those can get fairly involved. See related issue: https://github.com/getnamo/BLUI-Unreal/issues/24


Comments Stream

Heya,
The python 'praw' library has a 'stream comments' method, which allows you to stream comments as they are made. This is used for things like the 'RemindMe' bot which responds to any comments starting with 'RemindMe' on any subreddit.
Any thoughts on how something similar could be added for JReddit?
https://github.com/SIlver--/remindmebot-reddit/blob/master/remindmebot_search.py#L223
https://github.com/praw-dev/praw/blob/master/praw/helpers.py#L35

hey @aliakhtar, I'll look into it and come back with a response to see how can we add this in jReddit. thanks for the idea


Include .Chart.Name in resource names

Hello!
Currently the resource names in the chart are hard-coded: for example the name of the docservice deployment will always be docservice, no matter the chart release name.
This raises an issue when deploying multiple instances of ONLYOFFICE Docs on the same namespace, as both deployments will have the same name.
Is it possible to update the resource names to include the .Chart.Name variable, as many other Helm charts do?
Thanks.

Hello @keliansb,

Is it possible to update the resource names to include the .Chart.Name variable, as many other Helm charts do?

It is not possible at the moment, but we are going to assess the possibility to allow changing the resource names in the future versions.


Chatterino doesn't unlisten from any topics that were once listened to

This creates a very large amount of topics we listen to, which isn't very convinient and we don't need to listen to e.g. moderation actions once we close a channel
Example - I got timed out receiving a moderator action, closed channel, got timed out after closing the channel in my Chatterino, but received the message, meaning we still listen to the topic, while we shouldn't:

This was fixed with pajlada's pubsub refactor


#826 Fix missing Nodejs or net-tools packages.

ifconfig may not be installed by default on the latest Linux distributions.
The ip command is used as the standard network management tool on modern Linux systems.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


vendor: replace 2 unmaintained dependencies with their blessed forks

Mitchell Hashimoto has announced that he'll be archiving his Go repositories in early 2024.
This PR updates 2 of these dependencies with their blessed forks.

/test

Replaced by #32739


Disable row entry animation?

When a row first appears it bounces left and then returns to its start position. I can't find any option to disable this though? Am I overlooking something obvious?
Thanks for this great project!

Hey @Slapbox, I think I found the issue here. By default it should not do a preview animation but I think there's a bug if you do not provide a key for each object in your data array or a keyExtractor. Could you confirm that adding one of those fixes the issue? And I'll release a fix shortly after that
Thanks!

@jemise111 Brilliant! Thanks so much! Adding a keyExtractor definitely fixes the issue.
Do you need to add a code fix somewhere or is it at simple as updating the ReadMe? My items did not have a key property, but rather a uuid property.

@Slapbox Excellent, I wouldn't worry about the readme - I'll release a fix for those who don't pass a key. Going to close this, thanks!


Protractor dependencies not installed when using grunt-protractor-runner

I'm using grunt with protractor and it seems like all of the dependencies are not being installed.
package.json
"devDependencies": {
    "protractor": "0.23.0",
    "grunt-protractor-runner": "~1.0.0"
 }

Gruntfile.js
protractor: {
    options: {
	    ....
    },
    admin {
	    ...
	}
}

git clone PROJECT_DIR; cd PROJECT_DIR
npm install
grunt protractor

Running "protractor:admin" (protractor) task
PROJECT_DIR/node_modules/protractor/lib/driverProviders/local.dp.js:42
        throw new Error('Could not find chromedriver at ' +
              ^
Error: Could not find chromedriver at PROJECT_DIR/node_modules/protractor/selenium/chromedriver.exe
    at LocalDriverProvider.addDefaultBinaryLocs_ (PROJECT_DIR/node_modules/protractor/lib/driverProviders/local.dp.js:42:15)
    at LocalDriverProvider.setupEnv (PROJECT_DIR/node_modules/protractor/lib/driverProviders/local.dp.js:59:8)
    at Runner.run (PROJECT_DIR/node_modules/protractor/lib/runner.js:375:31)
    at Object.init (PROJECT_DIR/node_modules/protractor/lib/launcher.js:243:12)
    at Object.<anonymous> (PROJECT_DIR/node_modules/protractor/lib/cli.js:129:23)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Fatal error: protractor exited with code: 8

From the grunt-protractor-runner tutorial, I had to update the webdriver-manager ...
./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update

... but none of the node modules were there.
bash: ./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager: No such file or directory

ls ./node_modules/grunt-protractor-runner/
Gruntfile.js	LICENSE-MIT	README.md	package.json	tasks		test

So, I ran npm install, then updated the webdriver manager and that seemed to fix the problem.
cd ./node_modules/grunt-protractor-runner/

npm install; cd ../../

./node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update

grunt protractor

add
"scripts": {
"install": "node node_modules/protractor/bin/webdriver-manager update"
}
to the end of package.json file.
after adding this you donot need to update webdriver-manager manually

I have no idea why the file was not available initially. This seems like an npm install problem or something wrong with grunt-protractor-runner - that is definitely the file location under the protractor directory.
Could you bring this up with grunt-protractor-runner?

@hasanyousuf that solution worked great!  thank you :)


EFO

Is the EFO very important?  Currently, we are creating studies just passing 1 as the EFO id, since we don't have the EFO ontology.  Also, it is a required parameter on Study.create.  However, loading all the old studies into qiita is going to be very time consuming if we have to, for all 600+ studies, manually identify what set of terms from the ontology pertain to that study.  For now, we are going to load things with EFO id 1, so that we can proceed with study loading and EBI submission for urgent studies, but we should either remove this requirement (I'm in favor of this), or put the structures in place to support it.

@rob-knight should we remove Experimental Factor Ontology (EFO)?
BTW this is required in the study creation but as far as I can tell it's not actually sent or used by EBI.

If it is not used then yes: I suspect it's in the category of nice idea but
too hard to actually enter or use...
On Oct 10, 2015, at 10:53 AM, Antonio Gonzalez<EMAIL_ADDRESS>wrote:
@rob-knight https://github.com/rob-knight should we remove Experimental
Factor Ontology (EFO)?
BTW this is required in the study creation but as far as I can tell it's
not actually sent or used by EBI.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/494#issuecomment-147112631.

As a group we decided to remove it from the code!


Finalize blocks with a roll-up based strategy

A while ago, we identified an issue that the parentchain finalizes a superset of sidechain blocks that the validateers deem valid, see https://github.com/integritee-network/pallets/issues/58. Initially we thought this is easily solvable by extracting the verification logic of the validateer and simply use it in the pallet too. However, it turns out that this introduces technical complexity, which we tried to avoid in the parentchain. Hence, we should think about roll-ups rather sooner than later. This is further motivated because our trust model will simplify roll-ups greatly.
Remember: Trust Model & Finalization
Our trust model assumes that there are no invalid/forged blocks. It only allows network-based attacks, i.e., blocks might arrive too late at certain validateers so that they have already started proposal for the block of slot n+x without having imported the block for slot n, where x >=1. This will introduce a fork. The parentchain's job is to resolve that fork by picking one of the branches. There are several strategies for picking a branch. It should be emphasized that there is no correct branch usually, but there are different strategies that might choose different branches. The most common strategies are first-comes-first-serves (i.e., the parentchain picks the first block with number n that it sees), or the longest-chain strategy.
As we produce many sidechain blocks per parentchain block (with 300ms ~ 50 blocks), we can think of patterns that do not send every block to the parentchain. Instead, we send a proof that entails the info that a subset of all validateers have agreed on certain sidechain blocks, aka a roll-up. Based upon the no-malicious-block-assumption (aka our workers are not byzantine), I theorize that we don't even need a classical roll-up in our trust model. It suffices that we prove that a fraction of validateers have agreed on a certain block.
Potential Solution
The most naive way to do this might simply be to sign every nth block with all validateers, and send it to the chain. The chain will finalize a block if it is signed by a threshold of validateers (majority, or supermajority?). However, can we prove in case of a partitioned network that the finalization, will ever return? We might achieve this by a threshold which decays exponentially the longer we are missing finalization until, ultimately, a single validateer is enough to finalize. This will guarantee liveness and eventual finalization of the chain. Hence, the expected latency of finalization is proportional to the fraction of validateers agreeing on a block. This intuition seems right for the problem we try to solve, and might hint that this is a sound approach.
Implementation
This would change the paradigm: Currently, we send a sidechain block to the parentchain after it was proposed, instead of after being successfully imported. This was the root cause of https://github.com/integritee-network/pallets/issues/58. So effectively, we would implement that every nth block, will be sent to the parentchain after a successful import by every validateer. The parentchain imports them and only verifies the signature, that the signer is part of the authority set, and puts the block into the storage:
NMap PendingFinalization<key1: shard: key2: SidechainBlockNumber, key3: SidechainBlockHash, value: SignatureCount>

As soon as SignatureCount > ValidateerCount*(1-some_fn(SidechainBlockNumber, LastFinalizedBlockNumber)), it will mark that block as finalized, finalizing all previous blocks too.
To-Do: work out some more implementation details.
Consequences
I argue that the computational complexity will only be marginally bigger than the current implementation of confirm_sidechain_block, yet we only need a fraction of the currently needed dispatches. Let's assume we have 5 validateers and 300 ms block time. We only need to trigger finalization once per parentchain block, more will have no benefit as finalization of block n, will finalize of blocks before n. Also, in the happy case, we have the same average expected finalization latency of 0.5 parentchain block production time, which is the lowest-possible value as long as we rely on the parentchain for finality.
Comparison:
Number of tx's per parentchain block per sidechain:
Before:  1 for every produced sidechain block -> 50
After: 1 for every registered validateer -> 5
With my assumption that the complexity of the dispatchable is comparable, this would lead to an increase in throughput of a factor of 10.
Summary

10x TPS increase because many more sidechains can be processed
does not increase parentchain verification complexity
changes in worker are very straight-forward, and might even simplify the code. The new approach does not need more worker<>worker communication.

To-Do:

How to handle different sidechain block production times
There might be a more effective storage model for the pallet
High-level pseudocode of the pallet logic.
Verify soundness of the algorithm for some scenarios.

Tasks

[x] #922
[x] #1003

Nice argumentation. I think your suggestion would be easy to implement and effective. However, it might not be optimal in terms of finalization latency because finalizing strictly every n-th block introduces a jitter of one entire parentchain block if n is equal to pc blocktime/sc blocktime. It could frequently happen that one pc block delivers no finalization because not all confirmations were included.
This could be solved by a different approach: Whenever a pc block is imported, the next sc block will be marked as a finality candidate and every validateer confirms its import with a pc xt. This way, there should be strictly one scb finalized for every pcb...unless blocks are full

If we do not need to assume byzantine validateers, a simple majority of validateers should be sufficient AFAIK

@brenzi We have discussed that we might only need one worker to submit a sidechain_block_finality candidate. However, I now think this is attackable. If a worker sends its block to the chain, but the malicious operator blocks the gossiping to fellow validateers, and goes offline afterwards, the sidechain will stall. So either:

We store enough information onchain to be able to recreate the sidechain state (seems very unlikely to me that we find such a solution)
We indeed need to have multiple validateers signing the same block, such that enough validateers have access to the state.

"premature optimization is the root of all evil" (Knuth)
before we care about latency and maximal throughput, we should implement the minimal solution that is functional and safe and guarantees lifeness.
I therefore suggest https://github.com/integritee-network/worker/issues/1565


The mod currently causes a faulty save start.

I started the game with this mod and the game only launches the hud and not the map, with a continuous stream of errors in the cmd.
I don't know what the reason was but disabling the mod fixed it.
This is the thunderstore code for the other active mods
018cfea0-9b33-bc3f-8064-8c4e8f0eb3fa

If you make a bug report please include your log file because i cannot do anything with this.

I'm sorry, at the time when the error occurred I did not know where the logs were stored, and the bug was fixed after that so


Run a local Samba Server

Add a simple script which starts a Samba Server to simplifies the testing of CIAB and other node images.
This helps to build images on the local workstation and to install them on a system in the local networking using BMC virtual media deployments.

Add a osism.services.samba role for this.

Add a osism.services.samba role for this.

I added some documentation.
The aim of this script is simply to simplify the testing of customizations (you only start the server temporarily). In the hardware landscape there is a role for the Samba server, I can beautify it a bit so that it can be included in the ansible-collection-services.

Tested multiple times, seems to work properly :-)


Streamlined README examples

Running the README examples, I had to make a few code changes:
Defining the $fen string:
use FEN::Grammar;
my $fen = 'r1bk3r/p2pBpNp/n4n2/1p1NP2P/6P1/3P4/P1P1K3/q5b1';
my $match = FEN::Grammar.parse($fen);

Using the $fen string:
use FEN::Actions;

my $actions = FEN::Actions.new;
my $match = FEN::Grammar.parse($fen, actions => $actions);
my @ranks = $match.made; # Array of ranks

Using sink to avoid redundant map result:
use FEN::Utils;
# @ranks generated by FEN::Actions
my @matrix = FEN::Utils::to-matrix(@ranks);

# display
sink @matrix.map: *.say;

my @matrix = FEN::Utils::to-unicoded-matrix(@ranks);

# display
sink @matrix.map: *.say;

@antononcube I have added your fix and suggestions thanks for the pointing those out!


jsii-pacmak failing to build .Net assembly in CDK v2

:bug: Bug Report
Affected Languages

[ ] TypeScript or Javascript
[ ] Python
[ ] Java
[x] .NET (C#, F#, ...)
[ ] Go

General Information

JSII Version: 1.39.0
Platform: Linux docker-desktop

What is the problem?

Repo: https://github.com/hnishar/jsii-pacmak-bug/tree/main
Reproduction steps:

git clone git@github.com:hnishar/jsii-pacmak-bug.git
docker run -u root --rm --net=host -it -v $PWD:$PWD -w $PWD jsii/superchain:1-buster-slim-node14
npm install
npm run jsii
npm run jsii-pacmak

Verbose Log

root@docker-desktop:/tmp/jsii-pacmak-bug# npm run jsii-pacmak

><EMAIL_ADDRESS>jsii-pacmak /tmp/jsii-pacmak-bug
> jsii-pacmak

[jsii-pacmak] [WARN] Exception occurred, not cleaning up /tmp/npm-packtPwn6V
[jsii-pacmak] [WARN] dotnet failed
Error: All attempts failed. Last error: Command (dotnet build --force --configuration Release) failed with status 1:
#STDERR>
#STDOUT> Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET
#STDOUT> Copyright (C) Microsoft Corporation. All rights reserved.
#STDOUT>
#STDOUT>   Determining projects to restore...
#STDOUT>   Restored /tmp/npm-packtPwn6V/Amazon.Constructs.AWS.Test/Amazon.Constructs.AWS.Test.csproj (in 281 ms).
#STDOUT> Amazon/Constructs/AWS/Test/CdkWorkshopStack.cs(8,48): error CS0234: The type or namespace name 'Construct' does not exist in the namespace 'Amazon.Constructs' (are you missing an assembly reference?) [/tmp/npm-packtPwn6V/Amazon.Constructs.AWS.Test/Amazon.Constructs.AWS.Test.csproj]
#STDOUT> Amazon/Constructs/AWS/Test/CdkWorkshopStack.cs(24,36): error CS0246: The type or namespace name 'DeputyProps' could not be found (are you missing a using directive or an assembly reference?) [/tmp/npm-packtPwn6V/Amazon.Constructs.AWS.Test/Amazon.Constructs.AWS.Test.csproj]
#STDOUT>
#STDOUT> Build FAILED.
#STDOUT>
#STDOUT> Amazon/Constructs/AWS/Test/CdkWorkshopStack.cs(8,48): error CS0234: The type or namespace name 'Construct' does not exist in the namespace 'Amazon.Constructs' (are you missing an assembly reference?) [/tmp/npm-packtPwn6V/Amazon.Constructs.AWS.Test/Amazon.Constructs.AWS.Test.csproj]
#STDOUT> Amazon/Constructs/AWS/Test/CdkWorkshopStack.cs(24,36): error CS0246: The type or namespace name 'DeputyProps' could not be found (are you missing a using directive or an assembly reference?) [/tmp/npm-packtPwn6V/Amazon.Constructs.AWS.Test/Amazon.Constructs.AWS.Test.csproj]
#STDOUT>     0 Warning(s)
#STDOUT>     2 Error(s)
#STDOUT>
#STDOUT> Time Elapsed 00:00:01.43
#STDOUT>
    at retry (/tmp/jsii-pacmak-bug/node_modules/jsii-pacmak/lib/util.js:69:27)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async DotnetBuilder.buildModules (/tmp/jsii-pacmak-bug/node_modules/jsii-pacmak/lib/targets/dotnet.js:39:13)
    at async Promise.all (index 0)
    at async Object.pacmak (/tmp/jsii-pacmak-bug/node_modules/jsii-pacmak/lib/index.js:56:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>jsii-pacmak: `jsii-pacmak`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>jsii-pacmak script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  I believe this may be what is causing the conflict. Is this something you were potentially missing?
If I am misunderstanding the issue, please let me know.


Error when HA calls pyscript after pyscript has already been terminated during shutdown?

Hi, I have a time pattern triggered automation running in HA that calls a pyscript service every 10 secs. When I restart HA, I get the following error message after HA started again but the error is triggered at shutdown time, not when HA started!
Automation A uses an unknown service \
The automation "Automation A" (automation.automation_a) has an action that calls an unknown service: pyscript.my_pyscript.

This error prevents the automation from running correctly. Maybe this service is no longer available, or perhaps a typo caused it.

To fix this error, [edit the automation](http://192.168.x.x:8123/config/automation/edit/xxxxxxxxxxx) and remove the action that calls this service.

Click on SUBMIT below to confirm you have fixed this automation.

So it looks like the HA time trigger triggers the automation at least one more time after  pyscript was already terminated?
Is there a way to prevent those errors?
Thanks!

FYI: I solved this with a workaround. I.e. I am not using a time pattern triggered automation running in HA to start the pyscript, but I use @time_trigger('period(now, 10s)') in pyscript to trigger the script every 10s. It works just as well, but I had a few other things besides calling the pyscript in the automation, but I can of course do them separately without calling the pyscript. I leave this open though, since it would be good to know if one can test from HA if a pyscript is actually available.  E.g. something like a template condition {{ pyscript is defined }} or {{ pyscript is not none }}.

To confirm, you were originally trigger the service call from HA, not pyscript?  It sounds like the problem is outside pyscript. pyscript shutsdown in an orderly manner (including unregistering services etc) when HA is shutting down, and it appears the automation trigger happens after shutdown.
Moving the periodic trigger to pyscript sounds like a good solution.  It will get shutdown at the same time as the rest of pyscript.

@craigbarratt yes, exactly, it looks like HA still calls the pyscript service after pyscript shut down and unregistered its services and therefore gives the error. Moving the trigger to pyscript is perfectly fine. I was just wondering if there is a way from within HA to check if pyscript services are available?


Adding Submission Error entity and endpoints

I'll provide some details in line, but in general you've done a nice job here @aaclan-ebi, thanks.
I'd suggest tweaking your SubmissionErrors object a little bit. There's actually a new IETF RFC covering this ('Problem Details for HTTP APIs'), see https://tools.ietf.org/html/rfc7807.
There's also a library that implements this RFC we could use, https://github.com/zalando/problem.  And possibly the spring integration library https://github.com/zalando/problem-spring-web, although I had a quick read of the docs for this and couldn't figure out how problem details are actually communicated.
I also don't think you need the SubmissionErrorsRepository.  We won't want to provide global access to SubmissionErrors, they should be scoped to a particular SubmissionEnvelope which makes them a value object. It's fine to just drop this repo and have the errors embedded from submission envelopes.
There's also two general requirements as far as I can see - 1) is to store the errors on a submission envelope so you can see all the errors that have happened for a submission envelope, and 2) is to communicate the details of that error when it occurs via the correct HTTP error code (and wrapping the details). I think you have 1) done with this PR but it looks like 2) is currently not handled and needs a little bit of thinking about.
In terms of priorities, you don't need to do all this now, we can evolve over several iterations.  The minimum though is to not add a new repository and a new set of API endpoints and instead embed the problem details on the SubmissionEnvelope, this gives us more freedom to modify the format of this object going forward.

@tburdett , the reason I didn't embed it to the submission envelope is that I want to avoid locking error with submission state updates. Thoughts?

OK, that's a reasonable concern. My initial reaction is that this will be much less of a problem here because errors should be infrequent, whereas state transitions (which caused many problems) were frequent and horrible! I think the cost of an extra repository and of the reverse lookups on that repository probably outweighs the gains from the locking on submission state updates. If we do find locks occur more frequently with embedded errors we might have to more carefully revisit the mechanisms for submission envelope updates... which I am pretty sure we need to do already!

Either or is good with me.
I'd just keep the .save() methods in the SubmissionEnvelopeService so we can handle optimistic locks there instead of in the controller.

Implemented the embedded submission error, merged the branch now to master for testing in dev


Could not find Generic instance if object has explicit "unapply" method since Scala 2.13.4

A.scala
package example

case class A(x: Int, y: String)

object A {
  def unapply(a: A): Option[(Int, String, String)] = ???
}

object Main {
  shapeless.Generic[A]
}

build.sbt
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.3"

scalaVersion := "2.13.4"

log
A.scala:10:20: could not find implicit value for parameter gen: shapeless.Generic[example.A]
[error]   shapeless.Generic[A]
[error]                    ^
[error] one error found
[error] (Compile / compileIncremental) Compilation failed

Does it work with 2.13.3? 🤔
I would not expect it to work because the unapply signature does not match the apply:
object A {
  def apply(x: Int, y: String): A = ??? // generated
  def unapply(a: A): Option[(Int, String, String)] = ???
}

There has been a change in Scala - I don't know if intentional or not:
This compiles fine on 2.13.3
object Test {
  case class A(x: Int, y: String)
  object A {
    def unapply(a: A): Option[(Int, String, String)] = ???
  }

  def foo(a: A) = a match {
    case A(x, y) => (x, y)
  }
}

And fails since 2.13.4:
not enough patterns for object A offering (Int, String, String): expected 3, found 2
[error]     case A(x, y) => (x, y)
[error]          ^
[error] one error found

We could probably work around this change but it's harder than it looks


Authored permalinks feature

Since Ghost is now supporting multiple authors, it would be nice to have an option in the admin to support "Authored permalinks" which would make permalinks based on the author of the blog entry (e.g. my-ghost-blog.com/authorname/getting-started )

Reopening this as I realise that the permalink validation in default-settings.json hasn't been updated yet.