Landscape Orientation is Wrong Way on iOS

DeviceOrientation.landscapeLeft

The orientation that is 90 degrees clockwise from portraitUp.

Steps to Reproduce

Run SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft]) anywhere in your Flutter app.
Repeat this on Android and iOS.

Expected results: the screen should rotate 90º clockwise on iOS.
Actual results: the screen rotates 90º counter-clockwise on iOS. On Android, however, it does rotate 90º clockwise.
Doctor
Flutter 1.22.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision<PHONE_NUMBER> (4 weeks ago) • 2020-12-10 11:54:40 -0800
Engine • revision ae90085a84
Tools • Dart 2.10.4

This is super weird behavior. One has to do a platform check on iOS to rotate it to the right and on other platforms to the left.

This is super weird behavior. One has to do a platform check on iOS to rotate it to the right and on other platforms to the left.

Hi @creativecreatorormaybenot
Thanks for filing the issue, the issue is reproducible on iOS

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

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

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

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft]);
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 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.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] 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)

[✓] 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)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios           • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios           • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.2.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision b0a2299859 (6 days ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] 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)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 63062a6443 (4 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] 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)

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

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)      • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.275, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.275 at /Users/tahatesser/Code/flutter_master
    • Framework revision d9044a8a61 (2 days ago), 2021-01-09 04:04:04 -0500
    • Engine revision caf6a8191f
    • Dart version 2.12.0 (build 2.12.0-204.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] 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)

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

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)      • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

Thank you

Hi @creativecreatorormaybenot
Thanks for filing the issue, the issue is reproducible on iOS

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

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

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

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft]);
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 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.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] 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)

[✓] 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)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios           • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios           • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.2.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision b0a2299859 (6 days ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] 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)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 63062a6443 (4 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] 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)

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

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)      • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

[✓] Flutter (Channel master, 1.26.0-2.0.pre.275, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.275 at /Users/tahatesser/Code/flutter_master
    • Framework revision d9044a8a61 (2 days ago), 2021-01-09 04:04:04 -0500
    • Engine revision caf6a8191f
    • Dart version 2.12.0 (build 2.12.0-204.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/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-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] 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)

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

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D                     • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E            • ios            • iOS 14.3
    • iPhone 12 (mobile)   • 2FC46D8B-2A58-4ABB-B3FF-76F1AEC857FF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)      • macos                                • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                               • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

Thank you

This is super weird behavior. One has to do a platform check on iOS to rotate it to the right and on other platforms to the left.

@IchordeDionysos Can you show some code how to do that in start of app based on platform ?
Thanks.

Verified this issue using latest versions and observed that the behavior persists. On iOS, running below code sample, the app rotates the screen counter-clockwise, ie, to left side, instead to the right side.

 runnable code sample

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

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

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

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft]);
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: Container(
          child: Text('Hello World'),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.9 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (12 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.7.0-8.0.pre.5, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.7.0-8.0.pre.5 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f07db4018a (3 hours ago), 2022-12-14 03:25:49 +0200
    • Engine revision 14194c40ec
    • Dart version 3.0.0 (build 3.0.0-19.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

setLandscapeOrientations() async {   await SystemChrome.setPreferredOrientations([     DeviceOrientation.landscapeRight,     DeviceOrientation.landscapeLeft,   ]); }
I set page to landscape this way. But on different iPhone, the rotation direction is different

does this issue have any solutions? my app user give feedback that on iOS device also rotate 90º clockwise when run SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft]), but most iOS device rotates 90º counter-clockwise , so check the platform type is not work, it's confused.


Rewrite for set membership of the powerset of a record where the record has infinite co-domains.

Simplified real-world scenario:
EXTENDS Integers

VARIABLE
  \* @type: Set({ p: (Int) });
  v

TypeOK ==
  v \in SUBSET [ p: Int ]

Init ==
  v = { [p |-> 42] }

Next ==
  UNCHANGED v

Apalache Error:
$ apalache-mc check --inv=TypeOK APARecSub.tla
[...]
Input error (see the manual): Found a set map over an infinite set of CellTFrom(Int). Not supported.

Rewrite:
S \in SUBSET [a : T] ~~> \A r \in S: DOMAIN r = { "a" } /\ r.a \in T

Related commits, issues, PRs:

625a1645e75a910d43759c36ad8a06291ebc55b3

785e26925a45b077e14cf79f31f834e0c0919639

https://github.com/apalache-mc/apalache/issues/723

https://github.com/apalache-mc/apalache/issues/1627

https://github.com/apalache-mc/apalache/issues/2762

https://github.com/apalache-mc/apalache/pull/1453

https://github.com/apalache-mc/apalache/pull/1629

PR hygiene

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)

Looks good to me. Thanks you for the contribution! Could you add a release note like this one, so your contribution would be visible in the next release.

Done

May I assume that you won't be releasing a new minor release with this change because of the move to the independent github org anytime soon?

May I assume that you won't be releasing a new minor release with this change because of the move to the independent github org anytime soon?

I have started a job on cutting 0.45.0. It should be fairly easy to do.

The last step of the release did not work.

The rewrite works correctly and Apalache successfully handles a finite domain as in https://github.com/heidihoward/pbft-tlaplus/issues/5.  I presume another rewrite is able to handle the simpler v["p"] ∈ SUBSET ({["t" ↦ t_5$1] : t_5$1 ∈ Int}) but fails to handle ∀t_9 ∈ v["p"]: ((DOMAIN t_9 = {"t"}) ∧ t_9["t"] ∈ Int).

We have the release 0.45.1 cut, which includes your PR: https://github.com/apalache-mc/apalache/actions/runs/10452011929


InAppWebView loading delay of exactly 5 minutes

[x] I have read the Get Started - Installation section
[x] I have read and done the Get Started - Setup Android section
[x] I have read and done the Get Started - Setup iOS section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
2.5.3

Plugin version
5.3.2

Android version
12

iOS version
untested

Xcode version
untested

Device information: Emulated (Google APIs) Android 12 (x86_64), API 31
Description
Expected behavior:
Creating an InAppWebView Widget in the Widget tree with either an initialUrlRequest or a loadUrl call after onWebViewCreated is called should result in the web view loading the specified URL immediately.
Current behavior:
onWebViewCreated is called and a blank screen is left behind on the emulator. After exactly 5 minutes, onLoadStart is being called and the web page is being loaded and properly displayed.
Steps to reproduce
Not sure how to provide steps to reproduce because this is most likely a very narrow issue.
I couldn't test this on a real device yet.
The fact that the web view starts loading after exactly 5 minutes could be a hint towards the cause of this issue.
Maybe some timeout on the platform?
Some additional information:

HTTPS, no matter what URL
Subsequent requests (clicking on links on the webpage) suffer from the same delay
ChromeSafariBrowser loads immediately
InAppBrowser loads immediately
Happens with and without useHybridComposition

This issue does not appear on a real device.


Fcitx5 input box misaligned in xwayland

Bug or Regression?
Bug
System Info and Version
 System/Version info
                  -`                     Rav4n@Bullet
                 .o+`                    ------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: B650M AORUS ELITE AX (-CF)
              `+oooooo:                  Kernel: Linux 6.9.4-arch1-1
              -+oooooo+:                 Uptime: 1 hour, 6 mins
            `/:-:++oooo+:                Packages: 835 (pacman)
           `/++++/+++++++:               Shell: fish 3.7.1
          `/++++++++++++++:              Display (GM271U): 2160x3840 @ 60Hz
         `/+++ooooooooooooo/`            Display (GM271U): 3840x2160 @ 60Hz [External]
        ./ooosssso++osssssso+`           WM: Hyprland (Wayland)
       .oossssso-````/ossssss+`          Theme: Colloid-Grey-Dark-Compact-Dracula [GTK2/3]
      -osssssso.      :ssssssso.         Icons: Colloid-grey-dark [GTK2/3]
     :osssssss/        osssso+++.        Font: CodeNewRoman Nerd Font (12pt) [GTK2/3]
    /ossssssss/        +ssssooo/-        Cursor: Colloid-dark (24px)
  `/ossssso+/:-        -:/+osssso+-      Terminal: foot 1.17.2
 `+sso+:-`                 `.-/+oso:     Terminal Font: CodeNewRoman Nerd Font (8pt)
`++:.                           `-/+/    CPU: AMD Ryzen 9 7900X (24) @ 5.73 GHz
.`                                 `/    GPU: AMD Raphael @ 2.20 GHz [Integrated]
                                         Memory: 3.11 GiB / 29.02 GiB (11%)
                                         Swap: Disabled
                                         Disk (/): 81.62 GiB / 936.84 GiB (9%) - ext4
                                         Local IP (enp11s0): <IP_ADDRESS>/24 *
                                         Locale: zh_CN.UTF-8

Description
if i only open a xwayland app, when i change the input language to chinese the candidate box will displays on the top left corner of the screen, and then i open a foot terminal,fcitx5 become is normal.
How to reproduce
using hyprland-git with aur, open a xwayland app like firfox or wezterm, change input mode to chinese(i using the hotkey is left-shift), and then you can see the candidate box will display on the top left corner of the screen, and then open a footclient and focuse firfox or wezterm, the fcitx5 is become normal, input chinese is ok
Crash reports, logs, images, videos

can't repro, please post output of hyprctl version and a hyprland log

can't repro, please post output of hyprctl version and a hyprland log

~ ❯❯❯ cat $XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr/ | head -n 2 | tail -n 1)/hyprland.log
[LOG] Instance Signature: 1f5fd7e64a1c0e8d1815bdd6d168193bf9c28d6d_1718596496_835728243
[LOG] Runtime directory: /run/user/1000/hypr/1f5fd7e64a1c0e8d1815bdd6d168193bf9c28d6d_1718596496_835728243
[LOG] Hyprland PID: 777
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: Bullet
[LOG] Release: 6.9.4-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Wed, 12 Jun 2024 20:17:17 +0000
[LOG] GPU information:
0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c2) (prog-if 00 [VGA controller])
[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: Wir sind schon sehr lang zusammen...
[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 335.17µs. Estimated average calc time: 0.04µs.
[LOG] Creating the ConfigManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 4.61µs. Estimated average calc time: 0.03µs.
[LOG] Using config: /home/Rav4n/.config/hypr/hyprland.conf
[INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug

and this is my config files
thanks for your help!

I rollback to v0.39.1, this version not have this bug

I can reproduce it.

Start chromium(xwl) and kitty in the same workspace order.
In kitty use ctrl+space to switch to Chinese input method, then close kitty.
In chromium press ctrl+space to switch input mode, ime popup appears in the upper left corner of the screen.

https://github.com/hyprwm/Hyprland/assets/39702328/8b1375fd-f487-4a22-9829-ef0d8d11e561

I can reproduce it.

Start chromium(xwl) and kitty in the same workspace order.
In kitty use ctrl+space to switch to Chinese input method, then close kitty.
In chromium press ctrl+space to switch input mode, ime popup appears in the upper left corner of the screen.

ime-popup.mp4

@vaxerski

I do realize, but am busy. Feel free to work on a fix yourself.

this bug maybe fixed with new version, so i close this issue.
thanks for your job!

appears to be a dup of https://github.com/hyprwm/Hyprland/issues/5288


Make Rancher logo go to Global / main view

If you quickly want to return to the Global view, you can use the logo.

No.

Why is this closed, it is still not working in v2.4.5? Has @loganhz commit been merged at all?


[Question] I have seen russian names in data, but how can i use it in generator?

When i generate persona names, plugin generates latin names. I have seen russian, cyrillic-written names in names arrays in data, but how can i activate them for using in generating proces?

You can extend the plugin by creating (or modifying existing) new data sets in the Data folder. Simply explore what is under the hood of sketch plugins. It is a good idea to use a code editor though (default textEdit can brake things).

Also you might want to look into this plugin http://www.invisionapp.com/craft Which allows to extend the datasets easily. In the future I plan to retire this plugin, since I expect majority of users would migrate to Craft.


Recurring matplotlib warning

/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')

This warning occurs when using wrappers to spawn multiple processes pbsdsh/slurm (presumably). Reloading objects that import obspy causes this warning to trigger on each import. At the very least it creates spam in the output.log; it's unclear if there is additional overhead.
https://github.com/matplotlib/matplotlib/issues/5836 - relevant matplotlib discussion.
Would be nice to suppress this or perhaps limit importing Obspy to where necessary.

These kinds of issues led me to avoid obspy in writing an early prototype of SeisFlows.  I remember  a very similar warning then.  Through system wide settings, I believe our system administrator was able to something to fix it.

Currently, obspy is imported at module level only once, in seisflows.preprocess.base. A module level import seems appropriate in this case because the main work of the module (i/o and signal processing) rests entirely on obspy calls.
As a workaround, perhaps you could suppress warnings by adding some code at the end of seisflows.tools.config (but don't commit these changes to the master branch). This page I think provides a recipe:
http://stackoverflow.com/questions/14463277/how-to-disable-python-warnings
Since seisflows.tools.config is always imported prior to any other SeisFlows modules, add coding here should reliably suppress warnings.
If you decide to try this approach and it proves successful, could you post an update to this thread?
Thanks,
Ryan

This warning seems to have disappeared without any effort on my part so I'll close this for now.

glad to hear
On Sat, Mar 5, 2016 at 9:03 PM, gianmatharu<EMAIL_ADDRESS>wrote:

This warning seems to have disappeared without any effort on my part so
I'll close this for now.
—
Reply to this email directly or view it on GitHub
https://github.com/PrincetonUniversity/seisflows/issues/23#issuecomment-192780522
.


[BUG] Memory leak when uploading large file (~500mb) to blob storage from Blazor WASM

Describe the bug
Following the advice on the ASP.NET Core Blazor file uploads, passing a stream from IBrowserFile.OpenReadStream to BlobClient.UploadAsync results in the file being loaded into memory and remains even after upload process was completed.
Expected behavior
Memory usage on page should return to pre-upload levels.
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)

Check memory heap using browser's memory profiler tool
Upload a large file on Blazor WASM that uses Azure.Storage.Blobs SDK to upload to Blob Storage
Check memory heap again. The heap usage remains at a high level, relative to the size of the file uploaded.

Environment:

Azure.Storage.Blobs 12.9.1
Blazor WASM .NET 5

@kasobol-msft Kamil, could you kindly look at this?

@jonganej I've tried to reproduce the issue with the following code:
@page "/"
@using Azure.Storage.Blobs

<InputFile OnChange="@LoadFiles" multiple />

@message

@code {
    private string message = "";

    private async Task LoadFiles(InputFileChangeEventArgs e)
    {
        try
        {
            message = "Upload in progress";
            var sasUri = "REDACTED";
            var blobServiceClient = new BlobServiceClient(new Uri(sasUri));
            var containerClient = blobServiceClient.GetBlobContainerClient("foo");
            await containerClient.CreateIfNotExistsAsync();
            var blob = containerClient.GetBlobClient("blazor.txt");
            await blob.UploadAsync(e.File.OpenReadStream(1024*1024*1024), overwrite: true);

            message = "Upload complete";
        } catch (Exception err)
        {
            message = err.Message + "
" + err.StackTrace;
        }
    }
}

I tried uploading 508MB file. The memory in browser remained slightly elevated but the level was around 3MB, i.e. nowhere close to the file size.

To triage this further. Could you please share the code that reproduces the issue on your end? Please also share screenshots from your debugging session in the browser. Also information about the tools, i.e. browser, profiler used would be great.

@kasobol-msft Thanks for your prompt response! My code is similar to yours (see code snippet), except for the fact that I've also included additional options to monitor progress and handle cancellations of the upload for UX purposes.
@implements IDisposable
@using Azure.Storage.Blobs;

<InputFile id="zip-file" OnChange="@OnFileChanged" accept=".zip" />

@code {
  CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();

  private void OnFileChanged(InputFileChangeEventArgs e)
  {
    var blobClient = new BlobClient(new Uri("mybloburl"));
    var progressHandler = new Progress<long>();
    progressHandler.ProgressChanged += OnProgressChanged;
    fileSizeInBytes = e.File.Size;
    uploadStatus = UploadStatus.InProgress;
    var fileStream = e.File.OpenReadStream(1048576000, cancellationTokenSource.Token);
    var blobContentInfo = await blobClient.UploadAsync(fileStream,
	    progressHandler: progressHandler, cancellationToken: cancellationTokenSource.Token);
    fileStream.Dispose();
  }
}

I managed to reproduce the results with your code too. The JS Heap numbers on the performance profiler seem to be in the sane range. My observation is based on the memory snapshot part of the developer tools on MS Edge (see screenshots below). Before uploading, the heap is around 60mb and after upload, it remains at ~900mb.
Looking at the Browser Task Manager on Edge also shows how the 'Memory' (not the 'Javscript memory' column) rises from around 1000K at page load to 1000000K after uploading is complete.
Maybe I'm looking at wrong numbers here, but 1GB of memory after uploading a file on the heap doesn't seem to be too good. I implemented the same. I also implemented blob upload logic using XHR (as multiple PUT Block and a final PUT Block list ) with some JSInterop calls and a before / after snapshot of memory seems to be around the same levels.
Screenshot: Before large file (500MB) upload

Screenshot: After large file upload:

@jonganej
I have reduced the repro to :
@page "/"

<InputFile OnChange="@LoadFiles" multiple />

@message

@code {
    private string message = "";

    private async Task LoadFiles(InputFileChangeEventArgs e)
    {
        try
        {
            message = "Upload in progress";

            using var fileStream = e.File.OpenReadStream(1024 * 1024 * 1024);

            byte[] array = new byte[1024 * 8];
            while (await fileStream.ReadAsync(array) > 0) ;

            message = "Upload complete";
        }
        catch (Exception err)
        {
            message = err.Message + "
" + err.StackTrace;
        }
    }
}

I.e. I got rid of Storage SDK.
It seems that you're running into https://github.com/dotnet/aspnetcore/issues/35540


Need to have separate listener containers to start/stop message consumption from different queues when using the @MessageMapping annotation

Opening this feature request as suggested by Gary in the stackoverflow thread here:
http://stackoverflow.com/questions/29712212/how-to-programatically-start-stop-message-consumption-when-using-messagemapping
Looks like when using the @MessageMapping annotation, there is only one listener container to create listeners. So currently there is no way start/stop listening to the queues independently. Seems to be an all or none paradigm. It will be good to have the ability to be able to start/stop the consumptions on individual queues

This also prevents you from being able to read from sqs queues in different regions in one deployment

Commit ccf3636042a8cfaafbc241b3690ae28566d19d3b adds new start("queueName") and stop("queueName") methods on the SimpleMessageListenerContainer to start/stop individual queues.
I close this issue and I created a new one for queues in different regions (#117).


merge attempt

Refer to this link for build results (access rights to CI server needed):
/job/libnd4j_PR/39/


Websocket "Webhook" not working

Hi all,
from the code in server.py I found that websockets are a way to receive push notifications. I very much like this idea! After playing around with it a little, I could only receive the very first message after I connected to the /ws endpoint. 1 message on the "settings" topic. Right after this message, the connection got closed.
After debugging aca-py a bit, I can locate the issue now.
I used version 0.4.1, but no change in server.py since then.
send = loop.create_task(queue.dequeue(timeout=5.0))
https://github.com/hyperledger/aries-cloudagent-python/blob/master/aries_cloudagent/admin/server.py#L364
The timeout can cause an asyncio.TimeoutError exception.
(raised in basic.py)
If that happens, it's not detected until this call:
msg = send.result()
https://github.com/hyperledger/aries-cloudagent-python/blob/master/aries_cloudagent/admin/server.py#L380
This call re-raises the exception from inside the task and causes the whole loop to stop and jump to the finally block and cleans up the websocket queue.
Websocket closed now and it can't be used in send_webhook any more.
https://github.com/hyperledger/aries-cloudagent-python/blob/master/aries_cloudagent/admin/server.py#L427
I see a few options:

catch the asyncio.TimeoutError near the send.result() call (or somewhere later, still inside the loop) or
test for send.exception() before the result() call

Any thoughts on this?
Thanks and have a nice evening,
Matthias

@andrewwhitehead - can you please take a look at this?  Thanks!


Certificat is invalid on iOS 13

Certificat is not verified correctly / valid to catch https requests.
Which platform are you running AnyProxy
Server running on MacOS and trying to connect through proxy with iPhone iOS 13
The version of the AnyProxy
4.1.0, node v8
Your expected behavior of AnyProxy
Able to read HTTPS requests
The actual behavior of AnyProxy
Not being to able to read HTTPS requests
The log of the error
iOS log:
Task <EBD811CA-AA6F-42B9-8905-5E9C567D5B3D>.<8> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “ads.matjaz.vungle.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
    "<cert(0x7fb412012200) s: ads.matjaz.vungle.com i: AnyProxy>"

IOS 13 no longer trust CAs using RSA keys smaller than 2048 bits, while anyproxy using 1024 bits.
anyproxy use node-easy-cert to generate root CAs.
The dirty way is to fix bits length in node_modules/_node-easy-cert<EMAIL_ADDRESS>-  const keys = forge.pki.rsa.generateKeyPair(1024);
+   const keys = forge.pki.rsa.generateKeyPair(2048);

ref
Requirements for trusted certificates in iOS 13 and macOS 10.15

released in<EMAIL_ADDRESS>please reinstall AnyProxy.


Added .clang-format + script for consistent coding style

This is to make the coding style across the project consistent when multiple people work on it. I have already used the script on the project to format source files. If you dislike some styles you can make changes to the .clang-format file as you see fit .Hope this helps!

requests fulfilled. Only 1 request that has some look into(about each argument being in a separate line) you can check out my comment on your request for more info about that. Hope this helps! Cheers !

@Mehdibenhadjkhelifa I think you'll have to reset the changes to all the files except the clang config stuff and then re-run the formatter to fix all the cases where the single-line if statements were changed to multiline. But once you do that and the max col width change I'll go ahead and merge this in

Changed as request.For the if's i thought you just wanted the ifs only to be single line. not all ifs else-ifs and elses. So i adjust the option to do that accordingly and reset the maxcolumnlength to be 120( this unmade a lot of what i changed since some parametres i didn't know how to change or they don't have it for the specific request ) even though changing it to 100 made better changes overall but i changed as per requested.


Refactor #434

@Alan-Cha I think something went wrong with the release, there's a new version on yarn and npm quite alright but it doesn't contain the changeset from this PR


[app] Change Toolbar Handling

We decided to replace the Patternfly "Toolbar" and "ToolbarItem"
component with a custom "Toolbar" and "ToolbarItem" component, which is
based on the "Flex" and "FlexItem" components of Patternfly. This allows
us to have a better toolbar handling on smaller screen size, where we
can wrap the toolbar items to a new line or display them in a column
layout.

[x] I added a CHANGELOG entry for this change.
[ ] I adjusted the corresponding documentation for this change.
[ ] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #371 (1f26f7c) into main (42e5a71) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #371   +/-   ##
=======================================
  Coverage   45.40%   45.40%
=======================================
  Files         132      132
  Lines       10284    10284
=======================================
  Hits         4669     4669
  Misses       5538     5538
  Partials       77       77

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 42e5a71...1f26f7c. Read the comment docs.


[HYP-78] Create Modal to allow clinic to add appointment

Description
Jira: HYP-78
Add create appointment form modal

[x] Artifacts Added

good for me


Link check command feature

Currently there is no method to check if a node is really still joined to TTN or if the gateway/s in range, is/are still up and running.
The "join bit" of "mac get status" response is not reliable... indeed if the only gateway in range is stopped this bit continues to return 1 (joined). Nothing strange since the rule is fire-and-forget.
A work around could then use "mac set linkchk nnn".
This function sets the time interval for the link check process to be triggered periodically. A  of ‘0’ will disable the link check process. When the time interval expires, the next application packet that will be sent to the server will include a link check MAC command. Refer to the LoRaWAN Specification V1.0 document for more information on the link check configuration.
Thanks to this command is it possible then get the number of gateways in range and the demodulation margin in dB returned on the last check.
NB: to not disobey at the TTN Fair Access Policy is in charge of those who use it to make the number of downlink stay within the limits allowed. The max value for "nnn" is 65.535 which corresponds to an interval of 18 hours about.

Seems like a useful feature to me. Can someone in range of multiple gateways perhaps test this feature?

Hi Johan, all done...

Released in https://github.com/TheThingsNetwork/arduino-device-lib/releases/tag/v2.5.6


Feature: Open ports on k8s-cluster after LB deletion

Motivation:

After detaching Load-Balancers from a k8s-cluster the only ports that are accessible from outside the k8s-cluster are [22, 5180, icmp, 6443 (if no LB ApiServer exists)]
Description:

As originally part of issue #307, Come up with a workflow that would expose the target_port from the destroyed Load-Balancers on the nodes directly, as detaching the LB would prevent any communication from outside the k8s-cluster
(This could potentionally include extending the manifest to support ports that should be opened)
Exit criteria:

[ ] Come up with a workflow to open up ports on the Nodes directly after detaching the Load-Balancers
[ ] Validate the workflow for correctness.

We've agreed that If someone wants to expose a Nodeport, they will need to make an LB for it.
We'll probably ignore this gap for the time being, until motivated otherwise.


How to increase the plugin "Tree View" font size?

Currently, the Notepad++ plugin appears in a really tiny font in my environment:

How can I increase the font size to make it easier to read the JSON details in the “Json Tree View” on the left-hand side?

@PeterCodar
That seems like a reasonable request. I'm going to try to work on it today.
Do you think the font for any other forms (or fields of forms) in JsonTools should be configurable, or just the font size for the tree view?

Hi,
I would also really love to see a config for the font, and while you're working on that part:

When Notepad++ is in dark mode, your icons in the treeview still have a bright white background which is quite an eye-killer. can you make the {} icons of the tree transparent please?

@molsonkiko
Sorry for my late reply. For some unknown reason, I did not receive a notification for your comment.
Where can I find your "probably fixed version" to test it?
The font size for the tree view would be my most important wish, but If you can adjust the forms too, it would be of course appreciated too.

@PeterCodar

Where can I find your "probably fixed version" to test it?
I made a commit about three weeks ago, but I never got around to making an official release that incorporated the change. I'm going to try to make a new release within the next week that incorporates the change. Sorry for the delay!

@Grisgram

can you make the {} icons of the tree transparent please?

I can't make the icons "transparent", because the background of the icons is part of the image files that the icons are derived from.
What I can do is create dark mode icons, use dark mode icons when the Notepad++ background is "very dark" and the old "light mode" icons the rest of the time.
Below is an image of the new dark mode icons in the "Vim Dark Blue" Notepad++ theme. You will notice that the icon background is not exactly the same as the tree background (because, again, this is impossible), but it is dark and so the icons look less out of place.

I have also tested the dark mode icons on the normal background for Notepad++ dark mode; the background blends in seamlessly.

This feature is added in JsonTools v8, the most recent release.

Thank you!
When will it be available through the regular Plugins-Admin channel?

JsonTools v8 is in the most recent version of the plugin list, which will ship with Notepad++ 8.6.9, which should be download-able in a week or so.


iframe setAttribute behavior

I am loving lustre! I ran into one small issue with html.iframe where a new HTTP request is made even if none of the attributes on the node change.
I think this is just a side effect of the browser's behavior:
<iframe src="./example.html"></iframe>
<script src="./example.js"></script>
<button>reset src attributes</button>
<script>
  document.querySelector("button").addEventListener("click", (e) => {
    // initiates a new HTTP request
    document.querySelector("iframe").setAttribute("src", "./example.html");

    // does not initiate a new HTTP request
    document.querySelector("script").setAttribute("src", "./example.js");
  });
</script>

but I'm wondering if this can be a feature implemented in lustre's virtual dom?
I was reading through the source and it looks like here is where the setAttribute is called - https://github.com/lustre-labs/lustre/blob/578c85bb3db98a88d8ab3533be101469c4eac7a8/src/vdom.ffi.mjs#L282
It would be awesome if iframes only called setAttribute if the next src value is different from the previous one.
Thank you!

full app example
import lustre
import lustre/attribute
import lustre/element.{type Element}
import lustre/element/html
import lustre/event

// MAIN ------------------------------------------------------------------------

pub fn main() {
  let app = lustre.simple(init, update, view)
  let assert Ok(_) = lustre.start(app, "#app", Nil)
}

// MODEL -----------------------------------------------------------------------

type Model {
  Model(message: String)
}

fn init(_flags) -> Model {
  Model(message: "")
}

// UPDATE ----------------------------------------------------------------------

pub opaque type Msg {
  UserUpdatedMessage
}

fn update(model: Model, _msg: Msg) -> Model {
  model
}

// VIEW ------------------------------------------------------------------------

fn view(_model: Model) -> Element(Msg) {
  html.div([], [
    html.button([event.on_click(UserUpdatedMessage)], [
      element.text("trigger a Msg update"),
    ]),
    // only appears on page load
    html.script([], "console.log('the script was reevaluated')"),
    html.iframe([
      attribute.attribute(
        "src",
        // appears on every button click
        "data:text/html,%3Cscript%3Econsole.log('the%20iframe%20rendered')%3C%2Fscript%3E",
      ),
    ]),
  ])
}

Ooo yep this sounds like a bug to me, I’ll make sure its fixed!

Fixed in v4.2.5!

It works perfectly, thank you!!


Runtime error while running sim.solve()

Hi, thanks for creating this python wrapper! I tried installing via pip and also via the current git repo directly but am unable to replicate the notebook demo codes. I'm using a linux subsystem within windows to install your package. The error is as such:

How can this be resolved? Thanks!

Hi,
Thanks for reaching out. I need few things to better understand the issue.
Are you using one of the notebooks with in the repo? If yes, which one?
If not, can you post how you set up exp for the simulation?
From the error files it appears that you do not have a float or int value for one of the parameters used in exp

Hi, thanks for your reply! The notebook I was trying to replicate is: Basic Usage.ipynb.
After the package is installed, are there additional files I need to add to the directory?

Hi,
I just tried to run the example with my local installation and it seems to work.
There are no need to add any additional files. It should work out of the box.
Can you may be send me the log.txt file that should be located within the pymecsim folder?

There is no log.txt generated as well, causing FileNotFoundError when sim.solve() is attempted

That's surprising. If you are getting a RuntimeError, there should be a log.txt file.
Can you try uninstalling the pip version and use the git clone version and install from the folder?
For example something like the following:
git clone https://github.com/kiranvad/pyMECSim.git
cd pyMECSim
pip install -e .


Upgrade to latest device-sdk and core-contract

Upgrade the lib to use the latest device-sdk and core-contract
Fix #57

recheck


Cross icon should appear only on hover

I want the cross icon to appear only on hover. Is there any way I can customize this?

Yes, you can customize your Sonner CSS to override the default styles.
https://github.com/xiaoluoboding/vue-sonner/blob/main/packages/styles.css


add Facade for CepService

Adding facade to CepService::class. With this RP, the package will provide a new access for the features offered:
use LSNepomuceno\LaravelBrazilianCeps\Facades\CEP;

CEP::get('00000-000');

Great job @tombenevides.
The inclusion of access to CepService via Facade was an implementation that was pending, thank you for your contribution.


warning: mongodb not accessible. some features (such as backfilling/simulation) may be disabled.

Hi,
I'm having this error whatever command I run. I have followed every step in readme me file.
Thanks

when you run the mongo command, can you connect to the CLI? if not, mongod is down. or else, try adding console.error(err) to line 37 of boot.js at see what it spits out.

also I recently changed c.mongo_host etc in to c.mongo.host. could that be it?

I had to use the name of the container instead of localhost to get it working.

Me too have this error, with default settings for docker.

Had the same "problem", the conf.js sample might want to add a comment to use mongodb (the name of the mongo docker link) instead of localhost?

Hi,
I added a console log on line you said and it tells me that:
{ MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED <IP_ADDRESS>:27017]     at Pool.<anonymous> (/Volumes/Macintosh HD/Users/albertolive/Documents/Webs/zenbot/node_modules/mongodb-core/lib/topologies/server.js:328:35)     at emitOne (events.js:96:13)     at Pool.emit (events.js:188:7)     at Connection.<anonymous> (/Volumes/Macintosh HD/Users/albertolive/Documents/Webs/zenbot/node_modules/mongodb-core/lib/connection/pool.js:274:12)     at Object.onceWrapper (events.js:290:19)     at emitTwo (events.js:106:13)     at Connection.emit (events.js:191:7)     at Socket.<anonymous> (/Volumes/Macintosh HD/Users/albertolive/Documents/Webs/zenbot/node_modules/mongodb-core/lib/connection/connection.js:177:49)     at Object.onceWrapper (events.js:290:19)     at emitOne (events.js:96:13)   name: 'MongoError',   message: 'failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED <IP_ADDRESS>:27017]' }

Never mind, I ended up using docker. My mac OSX is old and have a lot of issues.

Ok, the real error was that I couldn't use mongod because I needed sudo rights. If I want to use zenbot, first I have to run in another terminal sudo mongod.

Docker to the rescue.

I had the same problem, I went and installed monogdb again then ran mongodb in a separate terminal and it worked.


devops: bump python client version for e2e image

Hoping to test the dApp's end-to-end tests. :crossed_fingers:
@taleldayekh will know.

I fixed the issue of @taleldayekh which was preventing the e2e tests to run if the user does not already has the image locally.
Furthermore I added bunch of improvements to harden the whole image version usage, for building and running in combination. This should help us to never run tests wrongly and be confused by the result or overwrite an image unexpected or forget to update the version number.

I promise one day I'll find a way to finally improve this Docker image and make the build fast and deterministic (!!).

Ok, I found the culprit: https://github.com/raiden-network/raiden/issues/6767
So, this commit sets the PC's deviceId to RAIDEN (from raiden), and went on after 1.2.0 release, and is required for the current LC implementation which sends toDevice messages specifically to that device_id.
The fix is to either bump the PC version in the image to some commit after that, or to go back to sending toDevice messages to '*' in the SDK (which got set to the stricter deviceId on a5c4194dc2d69f1d89b0edecb31b0bedfa84ce76 as part of #2579)

@andrevmatos Could you do me a quick favor and amend the last commit with a better commit message. Basically just a short version of what you told us in the meeting. And if you quickly mention the verification by the Matrix team this would be superb. Afterwards I would continue to just merge this PR.

As this is moly devops only plus a minor SDK part, I would argue we don't need to extend the CHANGELOGS and can ignore this failing hook.


sol005-lifecycle-driver code improvements

Sol005-lifecycle-driver:
Remove unused files in /src/main/java/com/ibm/nfvodriver//
Optimize the construction of HttpRequest entity & Response entity from Http headers and exchange in a function in NSDManagementDriver.java(Low priority)
Optimize the constction of Httpentity from Http headers and exchange in a function in NSLifecycleManagementDriver.java (Analyse it and make sure it does not impact on other functions)
Add switch case and reusable functions to src/main/java/com/ibm/nfvodriver/service/LifecycleManagementService.java
----To be added more after more detailed review--

This is issue is not related the sol003-lyfecycle-driver , So closing this issue .


Regression - Python tests no longer discovered if using new setuptools.

Description
My tests for an ament_python package are no longer being recognized. I went through a basic package creation, then followed
the python testing tutorial.
When you run colcon test, the tests no longer run. The test file for 2+2=5 is no longer run and  colcon test passes.
Details

OS: Ubuntu 22
ROS Distribution: humble
My environment had python packages installed the user environment, including setuptools 73.0.1

Logs
ros2 pkg create --build-type ament_python my_test_python
colcon build --packages-up-to my_test_python

Starting >>> my_test_python
/home/ryan/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'tests_require'
 warnings.warn(msg)
--- stderr: my_test_python
/home/ryan/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'tests_require'
 warnings.warn(msg)
---
Finished <<< my_test_python [1.01s]

Summary: 1 package finished [1.53s]

Implications
CI for ArduPIlot is no longer running our tests. This has allowed regressions to crop in our DDS interface. This is a huge issue for us.
This linked issue is here: https://github.com/ArduPilot/ardupilot/issues/27925
Should we have a more clear warning that if you don't use the OS supplied setuptools, your tests won't be detected?
I'd ideally want something to throw an error if you use the new setuptools with colcon.

Should we have a more clear warning that if you don't use the OS supplied setuptools, your tests won't be detected?

The problem is that that advice is not true in general, just sometimes.  For instance, you were using the non-OS-supplied setuptools for quite a while before it broke.  Further, colcon is a generic tool, not just for ROS, and thus whether things work or not depends on both the environment and the package.
That said, I could imagine adding an option to colcon to tell it to "fail" the tests if it found zero tests.  We couldn't make this the default, since it is perfectly legitimate for a package to have no tests, but it might be a useful option for CI pipelines.  That's just one thought, there might be others.  Pinging @cottsay for additional thoughts.

Hi, thanks for the report. I have a couple of thoughts.

We are overdue to update the referenced documentation. The tests_require option was never official, and the modern practice (which is also not official) is to use an extras_require named test, tests, or testing. The change in setuptools that caused the change in behavior is that tests_require was pretty much dropped, and the mechanism we're using to read the python metadata no longer reports that field.
In regard to how to behave when there are no tests, we're at the mercy of the underlying testing tool here. In fact, colcon doesn't have any idea how many tests there are, it just invokes the tool and checks the return code. There isn't any difference between a test run that actually ran no tests and a test run which didn't produce any JUnit/XUnit/etc result files for colcon test-result to find.

In this case, colcon no longer knew what Python test tool to use for this package because tests_require stopped working, so it defaulted to unittest instead of pytest. It's possible to write tests which can be invoked by either of those testing tools, but evidently these tests aren't able to be run by unttest.
Try adding this in place of tests_require:
    'extras_require': {
        'test': [
            'pytest',
        ],
    },

If that works as expected, we should update the documentation.


feat: Implement the Storage interface for Arrays

Feature Request
Describe the Feature Request
Currently you can not include arrays in Storage because arrays do not implement the StorageAccess trait. This feature would allow arrays to be used in storage.
Describe Preferred Solution
I don't have a preferred solution yet, but after looking at the compiler pipeline I created a proof of concept showing how arrays can be expanded using the Starknet storage plugin. I pushed this design here to help guide the discussion: https://github.com/starkware-libs/cairo/pull/2412.
Describe Alternatives
It'd great to discuss other solutions, so far I've only considered a solution which repurposes the pattern used to include Maps in storage.
Related Code
This closed PR includes a diff which successfully compiles contracts that use arrays in storage: https://github.com/starkware-libs/cairo/pull/2412
Additional Context
I'm looking to get involved in the compiler development so please be liberal in sharing all feedback and context.
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[X] Yes
[ ] No

Starknet bounds the size of a stored object to 256 felts - so storing a general array may be somewhat weird.
Do you mean you want to abstract this away by storing a set of elements instead - so in the same way we store a mapping - where the index is the hash of the storage-var name and the key - we'd store:
storage[hash(name, "length")] = length;
storage[hash(name, 0)] = arr[0];
storage[hash(name, 1)] = arr[1];
...
storage[hash(name, length - 1)] = arr[length - 1];

Starknet bounds the size of a stored object to 256 felts - so storing a general array may be somewhat weird.

That's good to know, I wasn't aware. In practice does this limit get enforced when calling StorageAccess::write?
In the initial design can not store to store anything that does not already have a StorageAccesss implementation, so I should be clear of this limit, no?

Do you mean you want to abstract this away by storing a set of elements instead - so in the same way we store a mapping - where the index is the hash of the storage-var name and the key - we'd store:
storage[hash(name, "length")] = length;
storage[hash(name, 0)] = arr[0];
storage[hash(name, 1)] = arr[1];
...
storage[hash(name, length - 1)] = arr[length - 1];

This is the approach I took except that I used a slightly different length key.
In general, my motivation is to use an array-like interface for storing data in a contract. So, something that supports looping, order, and indexing. Ultimately, it would be useful to have a Storage struct with the form:
#[contract]
mod Deposit {
    struct Storage {
        branch: Array::<felt>,
        zero_hashes: Array::<felt>,
        deposit_count: u256,
        deposit_count_limit: felt,
    }
}

I'm fairly new to the Cairo machine architecture and the compiler so I'd appreciate any suggestions for this feature which are in line with the roadmap and the team's design sensibilities.

In practice does this limit get enforced when calling StorageAccess::write?

The type for StorageAddress is only valid in the range [0, 2**251) and the type StorageBaseAddress is only valid in the range [0, 2**251 - 256) - for successive writes we use StorageBaseAddress + u8 which results in StorageAddress.

I'm fairly new to the Cairo machine architecture and the compiler so I'd appreciate any suggestions for this feature which are in line with the roadmap and the team's design sensibilities.

Currently we wish to make some more major improvements in the way contracts look, so i'm not sure when we will have time to look at this.
but the main interesting issues to consider here is what exactly would be the expected interface here:

would we want to have an append and updates options for this array?
for update - we will specifically check that we are not out of bounds for the array?
is there any specific use case that the existing mapping is not quite enough for?

The type for StorageAddress is only valid in the range [0, 2**251) and the type StorageBaseAddress is only valid in the range [0, 2**251 - 256) - for successive writes we use StorageBaseAddress + u8 which results in StorageAddress.

Okay, I think I understand. Basically, a single call to write is limited to a value with a size of 256 felts, so the solution I proposed isn't affected by this because I am not writing the actual array to storage in whole. Instead, each key is being stored and organized individually.

Currently we wish to make some more major improvements in the way contracts look, so i'm not sure when we will have time to look at this. but the main interesting issues to consider here is what exactly would be the expected interface here:

I see why that overlaps with what I'm proposing since it will require a refactor to the Starknet plugin. It's unclear to me how the current expansions for a LegacyMap and primitive types will look when the contract format is changed in the proposed way.

would we want to have an append and updates options for this array?

It's a good question.

for update - we will specifically check that we are not out of bounds for the array?

Also a good question. It seems reasonable to me to enforce the boundaries of the array until made bigger through a push operation. For example, you should not be able to update an index greater than the current length.

is there any specific use case that the existing mapping is not quite enough for?

You can refactor your data and algorithms to represent arrays in maps, but without the array interface it's not natural. Of course you could wrap your storage map with the interface you need, but having an array interface to storage memory out of the box is a feature I suspect many will expect.
I'll let this feat simmer for now, it seems obviously useful. In the mean time I'll see how I can contribute to the contract syntax discussion.

I think we can add an ArrayMapping type based on Dict

starknet::storage::Vec is now added.


RuneLite not launching and when it does cannot world hop and very laggy

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
I try and launch RuneLite and it takes almost 3 launches to get the application to boot up. Once it does world hopping from the login screen does not work, and i get a error connecting to server error. Runelite has been working perfectly since about 8 hours ago.
To Reproduce
Steps to reproduce the behavior:

Double Click on Runelite launcher icon
keep double clicking till the launcher loads
See error connecting to server and extremely slow login along with lag in game that no one else is experiencing.

Expected behavior
RuneLite should launch on first double click. World hopping from login should be smooth as well as in game. Lagg should be minimal.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 10
RuneLite version: <IP_ADDRESS>
Launcher version: 1.6.0
application.log
launcher.log

Additional context
Add any other context about the problem here, e.g. logs. Your client logs can usually be found in
C:\Users\<your_user_name>\.runelite\logs on Windows and ~/.runelite/logs on Linux and macOS.

Does this happen in other clients such as vanilla/OSBuddy?

Yea just checked it seems to be happening on all three whats causing this?

Are you able to access http://oldschool.runescape.com/jav_config.ws? It seems to be timing out whilst making the request. I imagine the issue will resolve itself.

So you want me to go the website in browser?

Sure.

Yup it loads forever on both chrome and edge.

Try running a traceroute and see if there's a hop hanging you up. I imagine this issue will be closed as it's not a RuneLite specific issue.

I ran the traceroute this is the result i got.

FIOS_Quantum_Gateway.fios-router.home

Verizon has been having issues all day (28 July). I expect this bug is from something on their side.

OK so basically wait this out?

Well that looks like you cant access OSRS so this is not related to RuneLite.


FR: ability to edit timestamps of existing audio note

I'm not sure how possible this is with the new workflow, but I just had an instance where I created the audio note, but then wanted to extend it by a minute. I edited the time stamp, but then there isn't a command to regenerate the audio note (like there was in the previous version). Are these mutually exclusive ways for the plugin to work? If the cursor is in an admonition block when a "generate" command is run, could it know to just regenerate the transcript for that block?

 It's so awesome. Hope you add a donation link to the readme.

That's a good point, and I ran into this as well last night. It's fixed now in the newest version, 0.1.4.
There are two commands: Regenerate Current Audio Note and Regenerate All Audio Notes that you can use to recreate the quotes after changing the timestamps. In both cases, the quotes have to be empty/deleted before a new quote will be created - I kept overwriting quotes on accident, so requiring the note to be empty makes it obvious which note(s) will be recreated.
P.S. Thank you!


couchdb-snapshot docker image is missing subjects and whisks DBs

Steps to reproduce:
docker run -p 5984:5984 openwhisk/couchdb-snapshot
$ curl "http://localhost:5984/local_subjects/_all_docs?include_docs=true"
{"error":"not_found","reason":"no_db_file"}

$ curl "http://localhost:5984/local_whisks/_all_docs?include_docs=true"
{"error":"not_found","reason":"no_db_file"}

Where local represents the couchdbPrefix.

The issue with couchdb-snapshot image still remains. I've seen related discussions in https://github.com/apache/incubator-openwhisk/pull/1928 and https://github.com/apache/incubator-openwhisk-devtools/pull/20. @csantanapr , @ddragosd how should we make progress on this?

I think that we've settled on the design - might you be interested in taking this forward?

yes I will look into it and create PR.

@csantanapr I would need to run and test my build script on a similar environment as https://builds.apache.org/view/OpenWhisk/job/OpenWhisk-DockerHub/.
Can I have access to the above, or is there an image to run the same jenkins server locally?

I think you need to be a committer to get access to jenkins maybe Dragos can help out.
What image are you referring ? The job runs on Ubuntu 16 on an user jenkins with no root or sido access
I think the first problem to tackle would be to be able to deploy OpenWhisk and populate the db with everything including catalog l, right now we can't since ansible brakes trying to use the docker rest API using http instead of using unix socket located in /var/...

ok, thanks for giving the details.
I will try with the environment above.
Currently I'm using the approach by Dragos in https://github.com/apache/incubator-openwhisk/pull/1928. It works manually, now we would just automate it in jenkins.

I've got the jenkins job working on my local setup.
Before a PR can be opened for it, we need to know where the dependency files are located: Dockerfile, init.sh and import.sh from #1928.
@ddragosd wdyt? would you proceed with #1928 with those 3 files only?

@dgrove-oss is this fixed now (since it's needed for kube)?

Travis (for the deploy-kube project) is building an openwhisk/kube-couchdb image and publishing on docker hub.


add text in the paper about v1 pipeline, the results.

design of the pipeline,
input and output of each stage
experiment section: describe and analyze the results Table 1 and 2 ,etc.

update figure 1 for the v1 pipeline
for each step, add input and output.


Remove Executor and update jni-rs [ECR-3326]

Overview
Uses Executor from jni-rs. Tests were removed as they now exist in jni-rs

See: https://jira.bf.local/browse/ECR-3326
Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 85.465% when pulling 96022caa4d9ce680a144c076a0145c75174824ca on vitvakatu:jni-executor into e2ce7ec27d5c6a995d27e8a7c8e7914dac6327d1 on exonum:master.


Minor typo in the auth0Domain for tenant1 in README

The RegEx in getTenantFromDomain() and suggested changes to the hosts file refers to *-yourcompany.com domains but the README refers to a slightly different one in the example tenant mapping.

Oops, I pushed changes to demonstrate a possible resolution to issue #6 and forgot I had a PR open already. I've renamed the PR to match that issue. If it's not a suitable resolution it can be rejected and I'll resubmit one for the typo :)


NTR- copper phthalocyanine

Curators at the Environmental Conditions, Treatments, and Exposures Ontology (ECTO) are interested in this term for use in our exposure patterns.
Term: copper phthalocyanine
Parent: metallophthalocyanines (CHEBI:51584)
Definition: A bright, crystalline, synthetic glue pigment from the group of phthalocyanine dyes. It is a brilliant blue that is often used in paints and dye.
Synonyms: phthalocyanine blue BN, phthalo blue, thalo blue, monastral blue
XRefs: https://en.wikipedia.org/wiki/Phthalocyanine_Blue_BN

An entry has now been created (CHEBI:155903). It should be searchable on the ChEBI website by tomorrow.


Remove support for arguments not supported in transifex-cli

As the original executable transifex-client has been deprecated and support upstream is removed in favor of a new client called transifex-cli, we need to remove any of the arguments that was only available for transifex-client that is no longer present in transifex-cli.
This will include adding arguments and behavior that is in the new cli client as well.

To note, it is unnecessary to backport this to older versions as the majority of usages I have seen will continue to work as expected.

Moved back to v4.0.0 instead, as we haven't deprecated the properties no longer supported in Transifex CLI.


Store history of quick adds

Currently all the quick adds sum up and show as a single number which makes it harder to go back and edit in case of a typo.
May be, storing each of the additions as part of a list would be a good enhancement.

So that I will not do because it will add a lot of lines to the interface.
If you were at (500, 100) and accidentally added 50 you add -50. Not ideal, but it’s worth keeping the interface not very cluttered.


added support for newer jackson version in client

https://github.com/FasterXML/jackson-databind/issues/2683

Pull Request Test Coverage Report for Build 5043

3 of 4 (75.0%)  changed or added relevant lines in 1 file are covered.
16 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.09%) to 70.254%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/src/main/java/com/netflix/conductor/client/http/ClientBase.java
3
4
75.0%

Files with Coverage Reduction
New Missed Lines
%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraEventHandlerDAO.java
8
68.42%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
8
55.44%

Totals

Change from base Build 5027:
-0.09%

Covered Lines:
13068

Relevant Lines:
18601

💛  - Coveralls


[Docs] Nighthawk setup steps

Signed-off-by: Gaurav Chadha<EMAIL_ADDRESS>Description
Added the nighthawk setup procedure to run a performance test using load generator as Nighthawk
Notes for Reviewers
All commands verified and tested
Signed commits

[x] Yes, I signed my commits.

@DelusionalOptimist these deployment steps seem complete, but how will Meshery know to use this externally deployed load generator?

I think this might be a better place to include this documentation seeing that the "Functionality" page describes the overall functionality of that particular feature and the "Guide" pages describe how to actually use that.

Thanks for pointing it out, @navendu-pottekkat I have shifted the information to the desired page and added a link to it under Nighthawk.

Okay. Thank you for clarifying @Chadha93

All, sorry for creating such confusion.
These docs are about how to get and use nighthawk in a development environment, with the current deployment method. So I think, these fit good in the contributing guide.
Basically, right now, if you're running meshery server locally, it expects the binaries to be present in cmd directory so that it can run the service and connect to it.
Though, this is temporary and would be changed later such that the server doesn't have any direct interaction with those, I thought it would be worth mentioning this for other contributors, for the meantime :sweat_smile:.

ohk, I have added the docs and link to it using the *  symbol so maybe it will give the developer easiness for using this for time being


fix archive error on Xcode12

I faced archive error on building Xcode12 beta 4.
Error log.

Undefined symbols for architecture armv7:
"type metadata for Swift._StringObject.Variant", referenced from:
outlined init with take of Swift._StringObject.Variant in URL++.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Steps to reproduce

Install Xcode12 beta 4
open project
run archive for iOS

I think the error is Xcode12's bug.
This PR is a workaround solution.

replace string method .split with .components

Fixed close issue #311

This archive error is Fixed on Xcode12 beta 6.
So close this PR.
Thank you.


Some question about version

Hi, I'm trying to add this lib to https://github.com/cdnjs/cdnjs.
But I need the stable version of this lib.
Can you tell me which version I can add to cdnjs ?
Thank you.  https://github.com/cdnjs/cdnjs/issues/6113#event-604348085

There are lots of changes going on at present.
I'd suggest adding 0.6-beta9. Adding 0.5 would mean a big change for you in
the future.
Hoping to have a little time on 0.6 is the near future to get the release
out.
On Mon, 28 Mar 2016 at 08:37, x09326<EMAIL_ADDRESS>wrote:

Hi, I'm trying to add this lib to https://github.com/cdnjs/cdnjs.
But I need the stable version of this lib.
Can you tell me which version I can add to cdnjs ?
Thank you. cdnjs/cdnjs#6113 (comment)
https://github.com/cdnjs/cdnjs/issues/6113#event-604348085
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/madebymany/sir-trevor-js/issues/452

Ok, I will try to add 0.6-beta9 recently.
Thank you for your help!

@raffij Hi, I see the package.json, and it said the main is sir-trevor.js.
But I git clone the master then there is no sir-trevor.js.

Master doesn't include the built files.
You'll want to switch to the v0.6.0-beta9 branch to get the files you want
On Mon, 28 Mar 2016 at 14:07, Guan Ru Wang<EMAIL_ADDRESS>wrote:

@raffij https://github.com/raffij Hi, I see the package.json, and it
said the main is sir-trevor.js.
But I git clone the master then there is no sir-trevor.js.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/madebymany/sir-trevor-js/issues/452#issuecomment-202384299


sift1m has 10^6 vectors ,how do you use the first 2^12 vectors from (64*8)^6 bins,

what's your configuration to p ,k1,k2,w and pline to get 0.51 recall in 0.02ms.
and what's the type of your gpu

and my w=8

The 4096 is simply a constraint (of sorting) and we used the old NVIDIA GTX Titan X for the experiments (like we wrote in the paper).