Ruby version installation and Chef dependency problem

chef-sugar depends on Ruby 2.2.2+:
Gem::InstallError: chef-sugar requires Ruby version >= 2.2.2.

In metadata.rb it depends on chef_version '>= 12.10.48' if respond_to?(:chef_version), but this version of Chef comes with embedded Ruby < 2.2.2 (2.1.9 I think). Chef's embedded Ruby is used to install chef-sugar, I believe it's a case when there is no system Ruby available?
I got it working with Chef version being at least 12.14.60 (which ships with Ruby 2.3.1)

Getting this problem too even though I have a case of chef-sugar 3.3.0 already installed in a machine with chef 12.11.18.  No idea how that was installed given this new error.  New installation (in kitchen with same version of chef) is failing with ruby dependency error.

Chef 12 is EOL now, so I think we just need to upgrade the Chef requirement.


BioStructures.jl compat

Changes for the recent BioStructures v4.0.0 release.

Hi there and thanks for your contribution! As per our contribution guidelines we require all commits to include a Signed-off-by line as shown on the linked page. If this is okay with you, please add the missing line to your previous commit and we'll be happy to merge your PR. :)

I have added the line.

Great, thanks again!


fix no license warning

licenses, plural,  is deprecated and support has been removed.
https://docs.npmjs.com/files/package.json#license

Thank you.


added random default block.timestamp to .dapprc

hey,
really nice dapp.tools template. 💯
I think it would be good to add a random default block.timestamp for testing.
Otherwise, it is zero by default which might introduce potential bugs during development. (edge case which will never occur on mainnet)

DAPP_TIMESTAMP is not an environment variable DappTools accepts.

Otherwise, it is zero by default which might introduce potential bugs during development. (edge case which will never occur on mainnet)

This is false.

@transmissions11
Ah, sorry.  You are right. Fixed it.
I also added HEVM_ADDRESS for the init in the test.
I would recommend using a realistic block.timestamp for tests.  Obviously you could just do it in the setUp method like Maker.
https://github.com/makerdao/dss/commit/f332ad467b431e4ee3110326fa12cc460b641d96
However, if you are new to the Solidity you might be not aware about that fact.

Hey @manuelpolzhofer thanks for the PR!
I don't think we should merge the timestamp setting in the dapprc as it's something that I wouldn't expect as a user.
Personally, I'd prefer having it as 0 and opting in, rather than having a random one as the default.
I'll merge the HEVM constant change if you want to remove the timestamp commit or if you want to close this and do it in a new PR!

Okay. I opened a second one.  Maybe explicitly defining it in the tests is cleaner.


please update wiredep dependency

see https://github.com/stephenplusplus/grunt-wiredep/issues/90
now that https://github.com/taptapship/wiredep/issues/107 is fixed it would be great to get those fixes in.
thank you.

grunt-wiredep's dependency is on ^2.1.0, so it will pull in the latest in the 2.x.x series. This is almost 2 months old now (sorry :(), so this probably isn't useful anymore, but un- and re-installing should pull down the new one.


Customize list view for individual entries in nested collections

Is your feature request related to a problem? Please describe.
I have a nested folder collection for a directory tree that also includes a news section. For this section (that works like a blog), I want to use a different format for the list view because here the post date is a vital criteria that should appear in the entry summary and in the sort dropdown. But Netlify currently only lets me configure the whole collection.
Describe the solution you'd like
In the nested section, I'd like the ability to define a summary that only applies to specific entries/paths:
config.yml
    sortable_fields: ["weight", "title", "commit_date"]
    [...]
    nested:
      depth: 10
      summary: '{{title}}'
      entries:
       - match: 'news'
         summary: '{{date}} - {{title}}'
         sortable_fields: ["date", "title", "commit_date"]

Describe alternatives you've considered
An (inferior) alternative would be to provide exclusion filters to be able to exclude entries from the collection. This way, one could achieve the desired presentation for specific entries with a different collection without duplicating the entry. But this breaks the hierarchical structure.

Hi, is this issue still unaddressed? I would like to give it a go

@philcaz sure, I assigned you the issue


Adding MPI python sdk

MPI python sdk is added with e2e test.
This PR has extra changes

job-role for MPIReplicaTypeLauncher pod  is set to master in MPI controller so that  logs are fetched from launcher pod by default.  This is consistent with other frameworks.
In sdk, training.kubeflow.org prefix is added to job-role, job-name and replica-index labels which are used for getting pod names.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
9
77.8%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
2313

Relevant Lines:
6251

💛  - Coveralls


Chart in artifacthub.io

hey @zakkg3
as helm-chart already merged into master, would be nice to add chart to https://artifacthub.io/
Could you, please?

https://artifacthub.io/packages/helm/clutersecret/cluster-secret


When popping a route, controls should reacquire focus without opening the keyboard or scrolling to make visible.

I have number of pages and all of them are kind of forms with some TextFields.
In each page, I am entering some data in TextField and then  moving to the next page either by clicking next button directly (Key Board is Visible) or by clicking back button to dismiss keyboard then clicking next button. After the next page, When I trying to go to previous page by back button or Navigator.pop that TextField getting auto focused. This behaviour is really annoying lot.
I verified that in my older version app (Which uses older Flutter SDK) works fine.
Sample code to reproduce:
import 'package:flutter/material.dart';

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

class MainPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: FirstPage(),
    );
  }
}

class FirstPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    double height = MediaQuery.of(context).size.height;
    return Scaffold(
      appBar: AppBar(
        title: Text("First Page"),
      ),
      body: SingleChildScrollView(
        child: Column(
          children: <Widget>[
            TextField(),
            Text("Use back button to dismiss keyboar"),
            Text("Scroll down to see next button"),
            SizedBox(
              height: height + 100,
              child: Center(child: Text("Some widgets")),
            ),
            RaisedButton(
              child: Text("Click Here"),
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => SecondPage(),
                  ),
                );
              },
            )
          ],
        ),
      ),
    );
  }
}

class SecondPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Second Page"),
      ),
      body: Column(
        children: <Widget>[
          TextField(),
          RaisedButton(
            child: Text("Go Back"),
            onPressed: () {
              Navigator.pop(context);
            },
          )
        ],
      ),
    );
  }
}

Flutter Doctor:
[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.18362.535], locale en-IN)
    • Flutter version 1.12.13+hotfix.5 at D:\Installed\FlutterSDK
    • Framework revision 27321ebbad (4 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\Flower\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] Connected device (1 available)
    • KOB L09 • VAF4T18531000189 • android-arm64 • Android 7.0 (API 24)

• No issues found!

CC @gspencergoog

This is "as designed", since otherwise we would be losing the previously focused when we return to a route.
If you want it to lose the focus so that this doesn't happen, then just unfocus the currently focused widget before you push the route:
class FirstPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    double height = MediaQuery.of(context).size.height;
    return Scaffold(
      appBar: AppBar(
        title: Text("First Page"),
      ),
      body: SingleChildScrollView(
        child: Column(
          children: <Widget>[
            TextField(),
            Text("Use back button to dismiss keyboard"),
            Text("Scroll down to see next button"),
            SizedBox(
              height: height + 100,
              child: Center(child: Text("Some widgets")),
            ),
            RaisedButton(
              child: Text("Click Here"),
              onPressed: () {

                // Tells any currently focused widget to unfocus, so that it won't scroll when
                // returning to this page.
                FocusManager.instance.primaryFocus.unfocus();

                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => SecondPage(),
                  ),
                );
              },
            )
          ],
        ),
      ),
    );
  }
}

@gspencergoog Please run the code on device or emulator where the in-build keyboard(virtual keyboard) is enabled. By default keyboard  is disable in IOS Simulator.. I am getting this issue in Android Device and Emulator.  I am not sure about IOS.
And yes we need to get previously focused widget when we return to a route. Showing cursor in the previously focused TextField is good. But the main problem is keyboard is popping up.
On going to next page, I am dismissing keyboard by pressing back button(the cursor is still blinking on TextField). So why when we return to a route the keyboard state is not persisted. And in my example I am scrolling down to get to the next button. Why the scroll state is not persisted.
If it is still "as designed",
In Native Android this is not the case(not sure about swift). Then why flutter is different.

The scroll state is persisted, but when you go back, it restores the focus to the text field, which causes it to scroll into view.  Notice that if you unfocus the text field before pushing (as in my example), then when you go back, the scroll state is unchanged.
If I understand you correctly, what you want is (only when popping a route) focus the text field without bringing up a keyboard, and without scrolling it into view.
Can you give a concrete example of an Android app doing this?  I mean, it's probably possible to find, but I've tried a few apps now, and none of the do what you describe: they all either bring up the keyboard again when I go back to the page that had a text field focused, even if I manually put away the keyboard, or the control is unfocused when I go back to them. See the gif below:

Thank you.

Gmail - Compose
Calendar - New Event
WhatApp - Change Number

I am unable to screen record in Netflix android app. You can go to sign in page, then enter username and then password and then navigate to Help page and then navigate back. you can see password field still has focus, but the keyboard not popping.
I am not requesting new feature. It worked fine on older app that build with older Flutter SDK but in latest Flutter SDK(Flutter version 1.12.13+hotfix.5) looks kind of buggy.

Demo Native Project. This is a simple native android project with two page with EditText.

OK, we'll see what we can do to figure out a way to do this.
This may be architecturally difficult with Flutter, so it may take a while, but we'll get to it. Thanks for your examples.

FYI the cause of the regression is enabling focus upon popping a route.  Before that change, popping a route didn't automatically cause controls to re-acquire the focus at all.

I have also started experiencing this issue after using v1.9.1 for a long time and now update to 1.12.
I have found a workaround that works fine for my use case, I don't know there could be unwanted behaviors with this though: @vijayaragavangkf
MaterialApp(
    ...
    navigatorObservers: [ClearFocusOnPush()],
    ...
)

class ClearFocusOnPush extends NavigatorObserver {
  @override
  void didPush(Route route, Route previousRoute) {
    super.didPush(route, previousRoute);
    final focus = FocusManager.instance.primaryFocus;
    focus?.unfocus();
  }
}

I would also like to see a fix for this issue implemented at some point

@davidmartos96 Your solution is good to solve the annoying keyboard popup when popping a route. But the previous focus will be lost. This is also an unexpected behavior.

class ClearFocusOnPush extends NavigatorObserver {
  @override
  void didPop(Route route, Route previousRoute) {
    super.didPop(route, previousRoute);
    WidgetsBinding.instance.addPostFrameCallback((_) async{
      await Future.delayed(Duration.zero);
      SystemChannels.textInput.invokeMethod('TextInput.hide');
    });
  }
}

This will solve the problem. But not sure this an efficient way to do so.

faced with the same problem. waiting for fix

I facing a problem with the screen that scroll when focus node change to another input, anyone here already face the problem or something similar?

when the first input is submitted, the focus goes to the field named "Quantidade", and the screen scrolls down ... thank guys

This doesn't to bedesktop related
Looks like this is debatable if this is working as intended or a bug, nevertheless I can reproduce

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

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

class MainPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: FirstPage(),
    );
  }
}

class FirstPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    double height = MediaQuery.of(context).size.height;
    return Scaffold(
      appBar: AppBar(
        title: Text("First Page"),
      ),
      body: SingleChildScrollView(
        child: Column(
          children: <Widget>[
            TextField(),
            Text("Use back button to dismiss keyboar"),
            Text("Scroll down to see next button"),
            SizedBox(
              height: height + 100,
              child: Center(child: Text("Some widgets")),
            ),
            RaisedButton(
              child: Text("Click Here"),
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => SecondPage(),
                  ),
                );
              },
            )
          ],
        ),
      ),
    );
  }
}

class SecondPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Second Page"),
      ),
      body: Column(
        children: <Widget>[
          TextField(),
          RaisedButton(
            child: Text("Go Back"),
            onPressed: () {
              Navigator.pop(context);
            },
          )
        ],
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.358, on Mac OS X 10.15.6 19G2021
    x86_64, locale en-GB)
    • Flutter version 1.22.0-10.0.pre.358 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision 4898a42b0a (2 hours ago), 2020-09-25 05:42:04 -0400
    • Engine revision 62b5a53b10
    • Dart version 2.11.0 (build 2.11.0-161.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • 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 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • 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 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • macOS (desktop)  • macos            • darwin-x64     • Mac OS X 10.15.6
      19G2021 x86_64
    • Web Server (web) • web-server       • web-javascript • Flutter Tools
    • Chrome (web)     • chrome           • web-javascript • Google Chrome
      85.0.4183.121

• No issues found!

Hi, same issue on version 1.22.5. also waiting for fix

navigatorObservers: [ClearFocusOnPush()],

Thanks, worked perfectly.

Hi
Please is there any solution to this problem yet

My page has a lot of operations to jump to the next page, and I expect that if the input field is focused when the jump to a new page comes back when the keyboard won't be focused
How to deal with it better

@gspencergoog Thank you.

Gmail - Compose (you can try it on Subject or Compose email Fields too)
Calendar - New Event
WhatApp - Change Number

I am unable to screen record in Netflix android app. You can go to sign in page, then enter username and then password and then navigate to Help page and then navigate back. you can see password field still has focus, but the keyboard not popping.
I am not requesting new feature. It worked fine on older app that build with older Flutter SDK but in latest Flutter SDK(Flutter version 1.12.13+hotfix.5) looks kind of buggy.

Same question

+1 on this issue.

I am also facing the same issue.

Same issue, auto focus cannot working for this case :(((

This is so annoying :((

@davidmartos96 great solution, thank you

+1 for this issue

Reproducible on the latest master and stable channels.
Code Sample

import 'package:flutter/material.dart';

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

class MainPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: FirstPage(),
    );
  }
}

class FirstPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    double height = MediaQuery.of(context).size.height;
    return Scaffold(
      appBar: AppBar(
        title: Text("First Page"),
      ),
      body: SingleChildScrollView(
        child: Column(
          children: <Widget>[
            TextField(),
            Text("Use back button to dismiss keyboar"),
            Text("Scroll down to see next button"),
            SizedBox(
              height: height + 100,
              child: Center(child: Text("Some widgets")),
            ),
            TextButton(
              child: Text("Click Here"),
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => SecondPage(),
                  ),
                );
              },
            )
          ],
        ),
      ),
    );
  }
}

class SecondPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Second Page"),
      ),
      body: Column(
        children: <Widget>[
          TextField(),
          TextButton(
            child: Text("Go Back"),
            onPressed: () {
              Navigator.pop(context);
            },
          )
        ],
      ),
    );
  }
}

Screen Record

3.webm

stable, master flutter doctor -v

[!] Flutter (Channel stable, 3.19.0, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-NG)
    • Flutter version 3.19.0 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (2 days ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios
      • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • DBCC5388-DA57-470E-8F0E-477EA0AA3C3A • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.20.0-7.0.pre.83, on macOS 14.2.1 23C71 darwin-arm64, locale en-NG)
    • Flutter version 3.20.0-7.0.pre.83 on channel master at /Users/damilolaalimi/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/damilolaalimi/fvm/versions/master. Consider adding /Users/damilolaalimi/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6ee7e24bfe (3 hours ago), 2024-02-16 00:51:06 -0500
    • Engine revision dd530f1556
    • Dart version 3.4.0 (build 3.4.0-148.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.2)
    • 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 17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (6 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)      • 00008110-001964480AE1801E            • ios            • iOS 17.1.1 21B91
    • iPhone 15 (mobile)              • DBCC5388-DA57-470E-8F0E-477EA0AA3C3A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 121.0.6167.184

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Same issue in Flutter (Channel stable, 3.19.6, on Ubuntu 22.04.4 LTS 6.5.0-35-generic, locale en_US.UTF-8) and Dart version 3.3.4
1.webm

any Updates??

TextField(
onTapOutside: (event) {
FocusManager.instance.primaryFocus?.unfocus();
},
)
This is my solution everyone can try it.


Question: how to set the default DatePicker format and mode?

hello!, how to set the default DatePicker format and mode?

@damsorian do not apply "format" and "mode" to the datepicker for the default value.
Ex.<md2-datepicker [(ngModel)]="date">
For more information check Doc

@krupa310 I mean if there is some way to configure the format and mode for all  maybe like this


ABW-2931 resolve general assets in stake transactions

Description

issue here is that we have assets transfer combined with staking, while RET returns first classification for the manifest as Staking. I've done similar thing as in pool contribution, if asset does not have 'validatorAddress` I resolve it as normal resource.
update layout of guarantees for LSUs, noticed that they changed at some point to be vertical (same as pool contributions)

How to test

Use this manifest provided to trigger transaction that led to bug on 1.4.0 on mainnet
test staking transaction to verify guarantees are rendered properly.
you can use 1password apple reviewer profile to have some accounts with funds on mainnet

Video
https://github.com/radixdlt/babylon-wallet-android/assets/118203440/8a31b6bd-ea1c-4756-9702-74ee480440ed
PR submission checklist

[x] I have tested specific manifest that led to the bug
[x] I have tested "regular" staking tx preview

I have not seen in detail how the manifest summary looks like in TXs that involve stakes or pool units, but I think the following should be done:
We can make no assumptions that for each processor we are going to receive certain resources from manifest to analyse. We have to converge how we resolve assets in all processors as we do in GeneralTransferProcessor & TransferProcessor. For example the following code in ValidatorStakeProcessor assumes that all withdrawals are XRD:
private suspend fun extractWithdrawals(
        executionSummary: ExecutionSummary,
        getProfileUseCase: GetProfileUseCase,
        resources: List<Asset>
    ) = executionSummary.accountWithdraws.map { entry ->
        val ownedAccount = getProfileUseCase.accountOnCurrentNetwork(entry.key) ?: error("No account found")
        val xrdResource = resources.find {
            it.resource.resourceAddress == XrdResource.address(NetworkId.from(ownedAccount.networkID))
        }?.resource as? Resource.FungibleResource ?: error("No resource found")
        val amount = entry.value.sumOf { it.amount }
        AccountWithTransferableResources.Owned(
            account = ownedAccount,
            resources = listOf(
                element = Transferable.Withdrawing(
                    transferable = TransferableAsset.Fungible.Token(
                        amount = amount,
                        resource = xrdResource.copy(ownedAmount = amount),
                        isNewlyCreated = false
                    )
                )
            )
        )
    }

I haven't looked in detail about the rest of the processors but I would follow the same mechanism that we have to resolve assets as we do in the basic processors. I would like to make no assumptions in any processor. The manifests can be wild and different.

This change will come in asap after this fix go live


P2P: handle StateDiffsResponse_DeclaredClass

We don't handle *spec.StateDiffsResponse_DeclaredClass messages right now. See p2p/sync.go:514

The StateDiffsResponse_DeclaredClass message is necessary because it provides a more secure and reliable way to retrieve class hashes, especially for Cairo 0 classes, where verification without state diffs is impossible. After the spec update it's possible to validate the class hash before downloading large amounts of information. It's still unclear how to use declaredClass in stateDiffResponse.


Flutter engine binaries not available on apple silicon

Hi, I want to express my appreciation for your excellent work on Flutter Pi. whenever i try to use flutterpi_tool in a new hello world flutter project i got an error message:
flutterpi_tool build --release
"Flutter engine binaries with version 3f3e560236539b7e2702f5ac790b2a4691b32d49 and target gen-snapshot-macOS-X64-armv7-generic-release.tar.xz are not available."
here is my flutter doctor output
`flutter doctor -v
[✓] Flutter (Channel stable, 3.16.5, on macOS 14.0 23A344 darwin-arm64, locale en-DE)
    • Flutter version 3.16.5 on channel stable at /Users/daniel/Development/flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (5 days ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/daniel/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2021.3)
    • 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 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2023.1.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 74.0.4
    • Dart plugin version 231.9161.14

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.129

[✓] Network resources
    • All expected network resources are available.

• No issues found!"

any ideas what i'm doing wrong?

Hey, thanks I appreciate it!
That's my mistake, https://github.com/ardera/flutter-ci/commit/e8c2944e0e41999f8e7969d05c6964229f8ee77f was broken, so 3.16.5 doesn't work while 3.16.4 worked. Pushed a fix now, it should work once https://github.com/ardera/flutter-ci/actions/runs/7315339779 runs through

hi, thanks for your help. i got rid of the original error but got a new one, i'm not sure if this problem is related to the original one.
flutterpi_tool build --arch=arm64 --cpu=pi4 --release
gives me
Target aot_elf_release failed: ProcessException: Failed to find "/Users/daniel/Development/flutter/flutter/bin/cache/artifacts/engine/flutterpi-gen-snapshot-darwin-x64-pi4-64-release/gen_snapshot" in the search path.   Command: /Users/daniel/Development/flutter/flutter/bin/cache/artifacts/engine/flutterpi-gen-snapshot-darwin-x64-pi4-64-release/gen_snapshot
i checked the engine folder and got this:
android-arm-profile/
android-arm-release/
android-arm/
android-arm64-profile/
android-arm64-release/
android-arm64/
android-x64-profile/
android-x64-release/
android-x64/
android-x86-jit-release/
android-x86/
common/
darwin-x64-profile/
darwin-x64-release/
darwin-x64/
flutterpi-engine-aarch64-generic-debug/
flutterpi-engine-aarch64-generic-debug_unopt/
flutterpi-engine-aarch64-generic-profile/
flutterpi-engine-aarch64-generic-release/
flutterpi-engine-armv7-generic-debug/
flutterpi-engine-armv7-generic-debug_unopt/
flutterpi-engine-armv7-generic-profile/
flutterpi-engine-armv7-generic-release/
flutterpi-engine-dbgsyms-aarch64-generic-debug/
flutterpi-engine-dbgsyms-aarch64-generic-debug_unopt/
flutterpi-engine-dbgsyms-aarch64-generic-profile/
flutterpi-engine-dbgsyms-aarch64-generic-release/
flutterpi-engine-dbgsyms-armv7-generic-debug/
flutterpi-engine-dbgsyms-armv7-generic-debug_unopt/
flutterpi-engine-dbgsyms-armv7-generic-profile/
flutterpi-engine-dbgsyms-armv7-generic-release/
flutterpi-engine-dbgsyms-pi3-64-profile/
flutterpi-engine-dbgsyms-pi3-64-release/
flutterpi-engine-dbgsyms-pi3-profile/
flutterpi-engine-dbgsyms-pi3-release/
flutterpi-engine-dbgsyms-pi4-64-profile/
flutterpi-engine-dbgsyms-pi4-64-release/
flutterpi-engine-dbgsyms-pi4-profile/
flutterpi-engine-dbgsyms-pi4-release/
flutterpi-engine-dbgsyms-x64-generic-debug/
flutterpi-engine-dbgsyms-x64-generic-debug_unopt/
flutterpi-engine-dbgsyms-x64-generic-profile/
flutterpi-engine-dbgsyms-x64-generic-release/
flutterpi-engine-pi3-64-profile/
flutterpi-engine-pi3-64-release/
flutterpi-engine-pi3-profile/
flutterpi-engine-pi3-release/
flutterpi-engine-pi4-64-profile/
flutterpi-engine-pi4-64-release/
flutterpi-engine-pi4-profile/
flutterpi-engine-pi4-release/
flutterpi-engine-x64-generic-debug/
flutterpi-engine-x64-generic-debug_unopt/
flutterpi-engine-x64-generic-profile/
flutterpi-engine-x64-generic-release/
flutterpi-gen-snapshot-darwin-x64-aarch64-generic-profile/
flutterpi-gen-snapshot-darwin-x64-aarch64-generic-release/
flutterpi-gen-snapshot-darwin-x64-armv7-generic-profile/
flutterpi-gen-snapshot-darwin-x64-armv7-generic-release/
flutterpi-gen-snapshot-darwin-x64-x64-generic-profile/
flutterpi-gen-snapshot-darwin-x64-x64-generic-release/
flutterpi-universal/
ios-profile/
ios-release/
ios/
what path could i use for arm64, pi4 settings?
Merry Christmas! Warm regards, Daniel

Thanks for reporting, there was a bug with selecting the correct gen_snapshot file. The gen_snapshots are only built for the generic targets (aarch64, armv7, x64), but flutterpi_tool still attempted to use a tuned gen_snapshot (for pi4-64), which wasn't there of course. Just fixed it and pushed, can you try again?
Merry christmas to you too!

works like a charm, thanks

works like a charm, thanks


Wrong Password no way to recover

Hello,
So i tried to connect cnft.io to my nami wallet, to  this day it was good, then now it says my password is not good while its written down on paper and on a secret file on my computer, 100% sure it is the good password , there is no way for me to do anything, i can not reset the acccount , I have my seed phrase, i dont understand. PLease help me

yep this is happenin often that and importing wallets onto new devices


[BugFix] Fix validation failure of aggregation analyzer analyzing subfields

Why I'm doing:
Select a.b, a.c, count(1) from tbl group by 1
Missing one subfield grouping expression may cause be crash when it comes to struct-type SlotRef.
What I'm doing:
Fix the check of this very case in AggregationAnalyzer to prevent incorrect plan being generated.
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

Test case will be added later

Is this bug still being worked on?

Is this bug still being worked on?

No, a little bit busy these days.


Feature request: Support for additional attributes

Hello and thanks for a great plugin!
It would be nice if it were possible to set our own attributes to the picture- and/or img-tag.
For example we have a case where an image would use micro format schema and having an "itemprop" on the img tag.
But also some more advanced scenarios where a data attribute was applied.
Have you looked in to custom taghelpers? They are pretty useful for these type of helpers, I really like https://github.com/Jeavon/Slimsy
and i think something similar would work nice with PictureRenderer and PictureRenderer.Optimizely.

Thanks! I will look into this after my summer vacation.

Hi @seanhakbb , take a look at v3.12. It's now possible to add any attribute to the img element.
Note that this version introduces the PictureAttributes object which is sent in as a parameter to Picture.Render. From now on you use the PictureAttributes object for several settings. Some settings have been moved from the PictureProfile to the PictureAttributes object.
I have not created a taghelper or HTML-helper, because this library is also used in Blazor applications. I recommend creating your own HTML helper as a wrapper around PictureRenderer.


Crash report

Okay, so i know what's causing the crash, I'm on a lan server hosted by myself,
I7 6700k
GTX960 4gb
MSI Z170apcmate motherboard
And every time we pick up a Weed, it kicks either her or i (Relative to whomever picked it up) and basically will not let us rejoin, so long as we do not equip said "Weed" we are usually fine.

And what is the actual crash?

crash-2016-11-18_01.50.11-client.txt
crash-2016-11-18_01.52.10-client.txt
crash-2016-11-18_01.54.57-client.txt
crash-2016-11-18_02.42.21-client.txt
crash-2016-11-18_02.44.43-client.txt

Those are the crashes i have, this should help with repeating the issues. if you'd like I can screen cap the culprit in game as well

crash-2016-11-18_05.17.41-client.txt

Can you confirm this happens with hf on its own pls.  Also what is ren,
it's crashing with that. Googling makes me believe it's the real first
person render mod. Try removing that.

Absolutely happy to do that, I have A few errands to run and I will do that
when I return
On Nov 18, 2016 5:42 AM, "joshie"<EMAIL_ADDRESS>wrote:

Can you confirm this happens with hf on its own pls. Also what is ren,
it's crashing with that. Googling makes me believe it's the real first
person render mod. Try removing that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PenguinSquad/Harvest-Festival/issues/106#issuecomment-261501922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWdWgbA-qVc1fFKT_JUS_owvSD4oF9yeks5q_YEDgaJpZM4K2NWB
.

Okay, so I had my gf do as you asked, and it fixed the problem.  No crash
On Nov 18, 2016 5:48 AM, wrote:

Absolutely happy to do that, I have A few errands to run and I will do
that when I return
On Nov 18, 2016 5:42 AM, "joshie"<EMAIL_ADDRESS>wrote:

Can you confirm this happens with hf on its own pls. Also what is ren,
it's crashing with that. Googling makes me believe it's the real first
person render mod. Try removing that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PenguinSquad/Harvest-Festival/issues/106#issuecomment-261501922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWdWgbA-qVc1fFKT_JUS_owvSD4oF9yeks5q_YEDgaJpZM4K2NWB
.


error: package com.it_nomads.fluttersecurestorage does not exist

Hi, I met a problem where when I build the application, it shows there is error where the package is not exists. I am using the example code that provided at pub dev of the dependency flutter_secure_storage. I have already change the minSdkVersion to 18.
Can I know is there any ways to fix this problem?
android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:16: error: package com.it_nomads.fluttersecurestorage does not exist
    flutterEngine.getPlugins().add(new com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin());
                                                                         ^
1 error

It is likely not an issue with this plug, but with how flutter registers plugins
https://github.com/flutter/flutter/issues/66833#issuecomment-786646405

This doesn't seem like an issue with the plugin so i'm closing it for now.


Sync docs-staging branch with master

⚠ Do not squash this PR when merging
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Now that Zowe 2.9 has been released, merging this PR will add the ~69~ 76 commits missing from docs-staging branch:

Closing this PR - since docs-staging has gotten ahead of master, will need to create a new branch based off of master.


Invalid credentials

Describe the bug
When I use attached kubeconfig file (private key removed)
kubeconfig.txt, Lens raises an error

Using kubeconfig file with kubectl, it works fine.
It worked with a previous version of Lens (19 April).
Could I access to a previous version of Lens for Windows please?
Environment (please complete the following information):

Lens Version: <IP_ADDRESS>20602.2
OS: Windows 10 Enterprise 21H1 19043.1706
Installation method: Lens Setup 5.5.3-latest.20220602.2.exe

I am having the exact same problem.  Using the same kubeconfigs that I've always used with Lens, anything past 5.4.6 will not connect to my cluster.  Here is a screenshot of the two running side-by-side using the exact same set of kubeconfig documents:

I see this message in the OpenLens 5.53. Developer Console that I do not see on the fully functional Lens 5.4.6:
system-ca.ts:99 [WIN-CA]: Error injecting root CAs from Windows. Invalid package C:\Program Files\OpenLens\resources\electron.asar
injectSystemCAs @ system-ca.ts:99

https://github.com/lensapp/lens/issues/5455 https://github.com/lensapp/lens/issues/5578 https://github.com/lensapp/lens/issues/5579
PR: https://github.com/lensapp/lens/pull/5550
Fixed in next version (I'm also waiting for this to land hopefully together with a FINALLY skipable login page...)

5.5.4 has landed.


Newsletters: add 246 (2023-04-12)

[x] Lede, releases/RCs, topic links @harding
[x] Bitcoin Core PR Review Club @LarryRuane
[x] CLN 6124 @adamjonas

Force-pushed my commit to adopt @glozow's suggestion -- thanks!

Made edits for all suggested feedback (thanks @bitschmidty @Xekyo @LarryRuane @glozow !).  Reviewed contributions (nice work @LarryRuane @adamjonas !).  Added lede, release notes, and topic entries.  Note that the libsecp256k1 release is security critical (although hopefully it affects very few people), so we use the same callout in the lede and bolding that we used for LND in https://bitcoinops.org/en/newsletters/2022/11/02/
Thanks everyone!

ACK https://github.com/bitcoinops/bitcoinops.github.io/pull/1072/commits/c530dc68f2a8d3f26ba5ceb1337e1ec1dbf512d5 and resolved all comments.

Squashed and merged, thanks @harding @LarryRuane @adamjonas @Xekyo @glozow for the contributions and reviews this week!


Abandoned?

Is this project abandoned?

If so, I'll continue to push changes here: https://github.com/jakeNiemiec/react-floorplanner

Hi @jakeNiemiec,
We are very busy with other projects at the moment, but I hope we'll soon release new patches and functionalities for react-planner :smile:

Thanks, I am working on a private fork of this and would love to contribute
back where welcome.
On Wed, Feb 7, 2018 at 10:23 AM Danilo Salvati<EMAIL_ADDRESS>wrote:

Hi @jakeNiemiec https://github.com/jakeniemiec,
We are very busy with other projects at the moment, but I hope we'll soon
release new patches and functionalities for react-planner 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cvdlab/react-planner/issues/102#issuecomment-363824133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQAS75lJVfRJNELfxgyJHDrWLqqPO57xks5tSc4IgaJpZM4R897x
.


i try serialize ResponseInterface,Deserialize again and you get an error

Slim 4 Release
I want to implement a cache, but not through HTTP cache.I declare a global middleware, and on the outermost layer, when the first request, the response object serialization to redis.After that visit, I can take out this value from the redis reverse sequence directly returned directly, without the need for other middleware.
But I did get a ResponseInterface object, but I got an error on the output:
Uncaught TypeError: fseek() expects parameter 1 to be resource, integer given innyholm\\psr7\\src\\Stream.php:185

From the manual, I learned that serialize was not able to serialize a stream, and the stream read in Responseitter ::emit caused the error, so instead of serializing the whole ResponseInterface, I stored Response::getBoday()->getContents(), I started trying, but the result was always an empty string.

What you should do is create your own serializable Response and Stream object. Implement the __sleep and __wakeup methods yourself so you can control serialization and then recreate the default Nyholm/psr7 objects on wake.

thx, i from here get answer.
https://discourse.slimframework.com/t/caching-with-slim/1107/5


fipsinstall self-test fails on NonStop x86

This is for OpenSSL 3.0.0 on HPE NonStop x86 variant. I'm not sure what is going on here, but the test looks like the install failed:
make test
<snip>
...
INSTALL FAILED
../../util/wrap.pl ../../apps/openssl fipsinstall -out fips.cnf -module ../../providers/fips.so -provider_name fips -mac_name HMAC -macopt 'digest:SHA256' -macopt 'hexkey:f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813' -section_name fips_sect => 139
not ok 3 - fipsinstall
03-test_fipsinstall.t .............. 3/? ---------------------------------------
#   Failed test 'fipsinstall'
#   at test/recipes/03-test_fipsinstall.t line 98.
Can't open fips.cnf for reading, No such file or directory
00000000:error::system library:BIO_new_file:No such file or directory:/home/ituglib/randall/openssl-3.0/crypto/bio/bss_file.c:69:calling fopen(fips.cnf, r)
00000000:error::BIO routines:BIO_new_file:no such file:/home/ituglib/randall/openssl-3.0/crypto/bio/bss_file.c:77:
VERIFY FAILED
../../util/wrap.pl ../../apps/openssl fipsinstall -in fips.cnf -module ../../providers/fips.so -provider_name fips -mac_name HMAC -macopt 'digest:SHA256' -macopt 'hexkey:f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813' -section_name fips_sect -verify => 1
not ok 4 - fipsinstall verify
# ------------------------------------------------------------------------------
#   Failed test 'fipsinstall verify'
#   at test/recipes/03-test_fipsinstall.t line 105.
not ok 5 - fipsinstall verify fail no module mac
# ------------------------------------------------------------------------------
#   Failed test 'fipsinstall verify fail no module mac'
#   at test/recipes/03-test_fipsinstall.t line 111.
not ok 6 - fipsinstall verify fail no install indicator mac
# ------------------------------------------------------------------------------
#   Failed test 'fipsinstall verify fail no install indicator mac'
#   at test/recipes/03-test_fipsinstall.t line 120.
not ok 7 - fipsinstall verify fail if invalid module integrity value
# ------------------------------------------------------------------------------
#   Failed test 'fipsinstall verify fail if invalid module integrity value'
#   at test/recipes/03-test_fipsinstall.t line 129.
not ok 8 - fipsinstall verify fail if invalid install indicator integrity value
# ------------------------------------------------------------------------------
#   Failed test 'fipsinstall verify fail if invalid install indicator integrity value'
#   at test/recipes/03-test_fipsinstall.t line 139.
not ok 9 - fipsinstall verify fail if invalid install indicator status
03-test_fipsinstall.t .............. 18/? --------------------------------------
INSTALL FAILED
00000000:error::system library:process_include:No such file or directory:/home/ituglib/randall/openssl-3.0/crypto/conf/conf_def.c:751:calling stat(./fips.cnf)
00000000:error::common libcrypto routines:provider_conf_load:provider section error:/home/ituglib/randall/openssl-3.0/crypto/provider_conf.c:90:section=fips_sect not found
00000000:error::configuration file routines:module_run:module initialization error:/home/ituglib/randall/openssl-3.0/crypto/conf/conf_mod.c:237:module=providers, value=provider_sect, retcode=-1
../../util/wrap.pl ../../apps/openssl fipsinstall -config fips_parent.cnf => 1
not ok 19 - verify fips provider loads from a configuration file

A possibly related failure here:
15-test_genrsa.t ................... 12/?
INSTALL FAILED
../../util/wrap.pl ../../apps/openssl fipsinstall -out ../../providers/fipsmodule.cnf -module ../../providers/fips.so -provider_name fips -mac_name HMAC -section_name fips_sect => 139
not ok 13 - fipsinstall
# ------------------------------------------------------------------------------
#   Failed test 'fipsinstall'
#   at test/recipes/15-test_genrsa.t line 126.
Using configuration from ../../test/fips-and-base.cnf
Error configuring OpenSSL modules
00000000:error::system library:process_include:No such file or directory:/home/ituglib/randall/openssl-3.0/crypto/conf/conf_def.c:751:calling stat(/home/ituglib/randall/openssl-3.0/providers/fipsmodule.cnf)
00000000:error::common libcrypto routines:provider_conf_load:provider section error:/home/ituglib/randall/openssl-3.0/crypto/provider_conf.c:90:section=fips_sect not found
00000000:error::configuration file routines:module_run:module initialization error:/home/ituglib/randall/openssl-3.0/crypto/conf/conf_mod.c:237:module=providers, value=provider_sect, retcode=-1
../../util/wrap.pl ../../apps/openssl genpkey -provider-path ../../providers -config ../../test/fips-and-base.cnf -algorithm RSA -pkeyopt 'bits:2080' -out genrsatest2080.pem => 1
not ok 14 - Generating RSA key with > 2048 bits and < 3072 bits
15-test_genrsa.t ................... 14/? --------------------------------------
#   Failed test 'Generating RSA key with > 2048 bits and < 3072 bits'
#   at test/recipes/15-test_genrsa.t line 134.

=> 139

This suggests that the executable crashed.
You may want to run that command directly on the command line and see what happens.

=> 139

This suggests that the executable crashed.
You may want to run that command directly on the command line and see what happens.

Interesting stack trace (#1 buf=0x0?):
#0  0x7fc527f3 in OPENSSL_strnlen (str=0x7f9f1f80 <error: Cannot access memory at address 0x7f9f1f80>,maxlen=4096)
    at /home/ituglib/randall/openssl-3.0/crypto/o_str.c:67
#1  0x7fb1b8bf in fmtstr (sbuffer=0x6fffe944, buffer=0x0, currlen=0x6fffe8c4,maxlen=0x6fffe94c, value=<value optimized out>, flags=<value optimized out>, min=0, max=4096)
    at /home/ituglib/randall/openssl-3.0/crypto/bio/b_print.c:376
#2  0x7fb1990c in _dopr (sbuffer=<value optimized out>, buffer=0x0, maxlen=0x6fffe94c, retlen=<value optimized out>,
    truncated=<value optimized out>, format=<value optimized out>, args=<error reading variable>)
    at /home/ituglib/randall/openssl-3.0/crypto/bio/b_print.c:308
#3  0x7fb1c22e in BIO_vsnprintf (buf=0x6fffec30 "00000000:error::Provider routines:", n=4096, format=<value optimized out>, args=<error reading variable>)
    at /home/ituglib/randall/openssl-3.0/crypto/bio/b_print.c:921
#4  0x7fb1c1ac in BIO_snprintf (buf=0x6fffec30 "00000000:error::Provider routines:", n=<value optimized out>, format=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/bio/b_print.c:910
#5  0x7fbfaaab in ERR_print_errors_cb (cb=<value optimized out>, u=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/err/err_prn.c:60
#6  0x7fbfb21c in ERR_print_errors (bp=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/err/err_prn.c:193
#7  0x7003f25d in fipsinstall_main (argc=<value optimized out>, argv=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/apps/fipsinstall.c:510
#8  0x7004c5e6 in do_cmd (prog=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/apps/openssl.c:406
#9  0x7004c259 in main (argc=<value optimized out>, argv=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/apps/openssl.c:287
#10 0x7000ec4d in _MAIN () at \BLPROD.$RTAL.T8432ACK.CPLMAINC:52

I'm recompiling with -O0 to get the variable contents for the next trace.

generate_config_and_load() returned NULL and set ret=1 and verify=0. The actual problem is that the module does not appear to load at line 231: ret = module_init(md, name, value, cnf); where ret=-1.
#0  module_run (cnf=<value optimized out>, name=<value optimized out>,
    value=<value optimized out>, flags=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/conf/conf_mod.c:237
#1  0x7fb711ca in CONF_modules_load (cnf=0x80946c0,
    appname=<value optimized out>, flags=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/conf/conf_mod.c:136
#2  0x70045b30 in generate_config_and_load (prov_name=0x8050076 "fips",
    section=0x8050098 "fips_sect", module_mac=0x6ffffd60 "\221SGg]ZMPWe",
    module_mac_len=32, conditional_errors=1, security_checks=1)

Down in module_init(), the code ret = pmod->init(imod, cnf); returns 0. The code executes provider_conf_init(). Eventually, I'm in ossl_provider_find(), which returns NULL at line 233. Drilling down:
#0  internal_find (st=0x8066a80, data=0x6ffff940, ret_val_options=2)
    at /home/ituglib/randall/openssl-3.0/crypto/stack/stack.c:292
#1  0x7fccba7a in OPENSSL_sk_find (st=<value optimized out>,
    data=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/stack/stack.c:317
#2  0x7fc4b820 in ossl_provider_find (libctx=<value optimized out>,
    name=<value optimized out>, noconfig=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/provider_core.c:230
#3  0x7fc4a8c2 in provider_conf_load (libctx=<value optimized out>,
    name=<value optimized out>, value=<value optimized out>,
    cnf=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/provider_conf.c:118

And ossl_bsearch() returns NULL, so it's not finding something here:
#0  0x7fc3bfb0 in ossl_bsearch (key=<value optimized out>, base=0x8066b00,
    num=<value optimized out>, size=4, cmp=<value optimized out>,
    flags=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/bsearch.c:43
#1  0x7fccb969 in internal_find (st=0x8066a80, data=0x6ffff940,
    ret_val_options=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/stack/stack.c:309
#2  0x7fccba7a in OPENSSL_sk_find (st=<value optimized out>,
    data=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/stack/stack.c:317
#3  0x7fc4b820 in ossl_provider_find (libctx=<value optimized out>,
    name=<value optimized out>, noconfig=<value optimized out>)
    at /home/ituglib/randall/openssl-3.0/crypto/provider_core.c:230

That's all I have.

The code executes provider_conf_init(). Eventually, I'm in ossl_provider_find(), which returns NULL at line 233.

The call to ossl_provider_find() (line 118 of provider_conf.c) in provider_conf_init() is expected to fail in this case. Its purpose is to check whether this provider is one of the "built-in" providers that are already available to the application without having to load an external module. The fips provider is an external module, which is why this call fails. It should then go on to attempt to activate the external module on line 133 of  provider_conf.c. This eventually calls provider_activate() in provider_core.c. That function has the job of actually loading the module and, once loaded, calling its "OSSL_provider_init" function on line 534 of provider_core.c
My guess is that the OSSL_provider_init function fails.
Wild guess: I wonder if the Default Entry Point (DEP) code in self_test.c does not execute? This is architecture specific and it might need some adjustment for NonStop. If the DEP code does not run, then the self tests will fail, and  that would cause the fipsinstall application to fail.

The code executes provider_conf_init(). Eventually, I'm in ossl_provider_find(), which returns NULL at line 233.
Wild guess: I wonder if the Default Entry Point (DEP) code in self_test.c does not execute? This is architecture specific and it might need some adjustment for NonStop. If the DEP code does not run, then the self tests will fail, and that would cause the fipsinstall application to fail.

This might be a good wild guess. I think I need to create procs __INIT__init() that calls init() and __TERM__cleanup() that calls cleanup(). The name prefixes appear to be important and init() will not be automatically called. Will this change the FIPS signature?

I wonder if the issues found in #12919 are related.  After all, OSSL_PARAM is quite central for fipsinstall's transfer of data to the FIPS module, and the values that are transfered using that structure somehow become different than we expect, I can't say that any failure when trying to load the module surprises me.

That is to say, I suggest we try solving #12919 first, as that tests a building block that fipsinstall relies on.  If we solve that, we may solve this at the same time.

I can confirm that when the DLL is actually loaded correctly, the error message goes away (pull request coming), but that still does not resolve the problem of the segmentation fault when the DLL does not load.

Note that the pull request #12928  does not fix #12918 relating to the segmentation fault when the FIPS DLL does not load.


Update release workflow

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e97a476) 100.00% compared to head (6fd9e8f) 100.00%.
Report is 2 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           52        52
  Lines         1195      1195
  Branches        86        86
=========================================
  Hits          1195      1195

Flag
Coverage Δ

scala
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Problems in Creating a new application

If I want to create a ne application at the Daikin developer portal, I am getting the following error:
unable to create DCR from HTTP Invalid response:Error: invalid dcr http response
And I can't create an api key and the secret.
Can anyone help?

There seem to be problem with the Daikin portal: https://github.com/JeroenVdb/homebridge-daikin-cloud/issues/79#issuecomment-2290829413

Also reported here: https://github.com/Apollon77/ioBroker.daikin-cloud/issues/234
Looks like Daikin is informed of the problem.

Daikin has implemented a fix and yesterday I was able to get the plugin configured after a new app registration. This morning it stopped working, and I can't really tell if this is on the homebridge side or on the Diakin side. Any other experiences?

Do you still have a problem @halteren? Everything should be working on plugin side.

No issues found so far.

Daikin fixed it on there side. Issue is closed.


[WIP/Exploration] Hooks

Some early exploration of react hooks
Related #2342

Ah I finally figured out how to fix the sandbox error! I think there are some issues when symlinking the react dependency (like with lerna), but in this case it was possible to solve with a webpack alias.

@mxstbr I was able to get some screenshots now 😏
Before (the entire Hero component won't even fit on my screen 😅 )

After 😍

Amazing 😍😍😍

If the StyledComponent class is itself ported to being a forwardRef body component, this could become even shallower :fire:

@alexandernanberg excellent work! have you had a chance to look at the test failures?

@probablyup Thanks! Yeah but I've been unable to come up with a solution... there seems to be an issue with jest.resetModules() that causes react to throw the Hooks can only be called inside the body of a function component. error.
I tried with Jest's moduleNameMapper as suggested in this comment but that didn't work either 🤔

I did solve it in my PR (#2390) but it's not very pretty. It's something to do with how react communicates with its reconciler.

Ah nice, copied that fix here as well!

I'm going to close this since #2390 supersedes it and has a better implementation 🎉


Getting Crash

Report

Please add images.

Report a bug

Please describe what you want to add to the component.
Getting crash.

Step 1 - Working fine pull to refresh
Step 2 - popup
Step 3 - tap Humberger menu and getting Crash
on
deinit {
tableView.removeAllPullToRefresh()
}
I deceleader on ViewDidLoad

hey, @sourov2008!
looks like your tableView being deinitialized before the controller itself
it has nothing to do with the lib, so I suggest you try to figure out why table deinitializes


runtime: decide if we should mention cl 17164 change in go1.6.html

From the change:
runtime: do not call timeBeginPeriod on windows
Calling timeBeginPeriod changes Windows global timer resolution
from 15ms to 1ms. This used to improve Go runtime scheduler
performance, but not anymore. Thanks to @aclements, scheduler now
behaves the same way if we call timeBeginPeriod or not.

Remove call to timeBeginPeriod, since it is machine global
resource, and there are downsides of using low timer resolution.
See issue #8687 for details.

Fixes #8687

Some users might be affected - whoever prefer time.Sleep(time.Nanosecond) to sleep for 1ms, instead of 15ms. I would rather our users use Windows system as is, but, I suspect, sometimes it is important.
Leaving for others to decide what to do / say here. Thank you.
Alex

I suggest we err on the safe side and document this caveat.

On Windows 10 is it still the case that without this call time.Sleep(time.Nanosecond) sleeps for 15 ms?
Operating systems have been moving to so-called high-precision timers that can sleep for smaller amounts of time even if the system clock is set to a relatively high period. Obviously it's not going to do 1ns, but I wouldn't be surprised if it were well under 1ms.

On Windows 10 is it still the case that without this call time.Sleep(time.Nanosecond) sleeps for 15 ms?

This https://play.golang.org/p/wLOU7Ah_g7 program prints:
C:\>u:\test
[15.6252ms 15.6252ms 15.6252ms 15.6252ms 15.6252ms 15.6252ms 15.6252ms 15.6252ms 15.6252ms 15.6252ms]

C:\>

on both my Windows XP 32-bit and Windows 7 64-bit. I don't have Windows 10. But, I believe, @mattn has. @mattn, would you be kind to run program above on your Windows 10? Thank you.
Alex

@alexbrainman I can try this tonight. I'll look into it.
FYI, below is a result on windows7 64bit.
C:\dev>go run tim.go
[1.0001ms 1.0001ms 1.0001ms 1.0001ms 1.0001ms 1.0001ms 1.0001ms 1.0001ms 1.0001m
s 1.0001ms]

below is a result on windows7 64bit.

This is strange. I would expect you to display many 15.6252ms (just like my computer). But it is possible that other program (not built by go1.6) is called timeBeginPeriod and is still runinng. This will make your PC timer run at 1ms. Until last program that called timeBeginPeriod exits. See https://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/ for details.
Alex

Ah, sorry. I must pull the commits in 2 hours ago.

hmm, still 1ms.

here is a result on windows10 64bit.


Japanese value in variables

Japanese value in variables is not properly encoded and cannot be read.
How can I solve this?

There are some issues around how xdebug encodes UTF8 characters and our ability to parse xml inside atom. At the moment I do not have a fix for this.

If a servrer encoding is utf8, these changes can fix it.
https://github.com/gwomacks/php-debug/compare/master...tiibun:multibyte-variables

@tibun I believe that change may have caused the XML parser to break when attempting to parse certain characters. I'd have to recheck though.


run zig fmt (change c_void to anyopaque)

lgtm, I think this PR should be merged :)

I see, you did it yourself :)


NFC: silence a few warnings

@swift-ci please smoke test and merge

@swift-ci please smoke test

@swift-ci please clean test linux

Build failed
Swift Test Linux Platform
Git Sha - 5b8e3e957c9c94e465e20fbdc401658116e62d27

@swift-ci please smoke test linux

@swift-ci please smoke test linux

What's going on with the unrelated Foundation test failures?
@swift-ci please smoke test

Weird - the entire URLSession test suite was disabled yesterday so this failures shouldn't exist.


Exploiting large memory management

Hi @xairy,
vulnerability Stack Clash is not new vulnerability, After the article 2005 and 2010 exploiting large memory, Linux introduced a protection against such exploit the so-called stack guard-page.

This isn't exactly related to the kernel exploitation, but I think it's still worth keeping. I'll put it into it's own section though. Thanks!

Thanks so please look https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt,

Just added it.


Responding Vendors

Emily Blattmachr, Sr. Proposal Writer at Resource Data
N/A
Will you please publish who responded to the RFI, or will you make that list of vendors public?

Yes. All suggestions/questions as well as the answers will be publicly visible on the draft RFP. Additionally the proposals submitted for the final RFP are public knowledge and will be posted along with the Notice of Intent to Award.


npm should not attempt to look into the registry for packages not originating from it

$ npm outdated -g
npm http GET https://registry.npmjs.org/node-inspector
npm http GET https://registry.npmjs.org/optimist
npm http 404 https://registry.npmjs.org/gdc-syslog
The gdc-syslog is a module that was installed locally with no intentions to make it public. The fact that npm is trying to lookup such packages anywhere on the internet while processing any of its commands could be seen as a privacy problem.
I guess the same issue applies with dependencies. npm goes directly to the registry instead trying to find a dependency locally first. Therefore installing B dependent on A fails even if A is present (if not published in the registry).

If leaking the name of your module is a problem, then don't use the outdated or update commands without passing an argument, or just name it something that you don't mind leaking.
There are many cases where you might install from git or http, and still decide later to check if there's a newer version published.  I don't think this is a good idea for most users.

ok, any time the module has been installed locally it is not a good idea to go out and scramble for it on the net.
So yes, the usecase is valid for the repository and github or any other non file:// source. But it should not touch network in case the source is file://

Please have a look at https://github.com/isaacs/npm/issues/497#issuecomment-3559767 . npm goes to the network even for dependency check even when the package is present.


GQ signature support

Currently, an OpenPubkey token contains the original signature from the OIDC provider. This arguably means that it isn't safe to share the OpenPubkey token, as the token could be used to impersonate the subject to a service that doesn't check the audience claim, or to trick an OpenPubkey client to issue a token for the subject.
We can create a GQ signature to prove that we have the original OIDC provider's signature. This can be verified using the original OIDC signing payload (header || '.' || payload) and the OIDC provider's public key. This works because GQ signature private keys are equivalent to RSA signatures.
The GQ signature can be published in place of the OIDC provider's signature in an OpenPubkey token.

[x] #8
[x] #10
[x] #9

@jonnystoten considering using OpenPubKey in a project and want to make sure I understand the security implications here. Providing the original ID token to potentially untrusted parties is only dangerous if there exists a vulnerability in some other system, right?
For example, if there's an app out there where the frontend does a Google OIDC flow, then hands the ID token to the backend in order to create a session, a leaked OpenPubKey ID token could be used to log in to that app?
So assuming apps properly check aud, this shouldn't be an issue?

@anderspitman that's right, and that wouldn't be without precedent (e.g. https://github.com/dgrijalva/jwt-go/issues/422). Even if they're just bugs in the app though, this protects against them.

Awesome, thanks!

Yep, what @kipz said. For completeness, also note that this issue is resolved with the support for GQ signatures, see

#3
#14

Yeah I hadn't heard of GQ signatures but they look very interesting. Unfortunately I don't think OpenPubKey will work for my use case. I was hoping to build a generic authn system where you could sign in to an app once with any OIDC provider, using OPK, then send that ID token (maybe with a GQ sig) along with requests to other servers, with the requests signed with DPoP. The other servers know that you have a key pair certified to be controlled by the OIDC user.
The problem is that you're essentially giving such an app permissions to be you on any backend that supports the protocol. With a generic OIDC provider, there's not really any way to explain to users what they're consenting too. I don't think many devs would or should build backends to respect such a system.
Basically it boils down to I think I need to design an OIDC profile special built for this purpose. Something along the lines of Solid-OIDC I think.


[Windows] Update libwebp

Updates vcpkg to include libwebp-1.3.2 which includes the OOB write fix.

@louwers Can we do a new Node release? The last release was back in March for v5.2.0

The problem is if we make it, it will not work on macOS.

@etnav I am not a Node.js maintainer. Maybe @acalcutt wants to look into it, but it would be a (breaking) pre-release first I think.

@etnav I am not a Node.js maintainer. Maybe @acalcutt wants to look into it, but it would be a (breaking) pre-release first I think (without macOS support, unless we can get Metal to work already).

Understood, wasn't aware about the macOS part being "broken"!


[SPARK-28384][SQL][TEST] Port select_distinct.sql

What changes were proposed in this pull request?
This PR is to port select.sql from PostgreSQL regression tests. https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/sql/select_distinct.sql
The expected results can be found in the link: https://github.com/postgres/postgres/blob/REL_12_BETA2/src/test/regress/expected/select_distinct.out
When porting the test cases, found one PostgreSQL specific features that do not exist in Spark SQL:
SPARK-28010: Support ORDER BY ... USING syntax
How was this patch tested?
N/A

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12775/
Test PASSed.

Test build #107646 has started for PR 25150 at commit e137785.

Test build #107646 has finished for PR 25150 at commit e137785.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107646/
Test PASSed.

Test build #107662 has started for PR 25150 at commit e06f467.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12790/
Test PASSed.

Test build #107662 has finished for PR 25150 at commit e06f467.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107662/
Test FAILed.


PK uuid and auth_permission

Taking into account the UUID type PK support. How is it resolved in auth_permission record_id (integer) field?
Sample of docs:
maintenance = db.Preference(name='maintenance').first()
auth.add_permission(admins, 'write', 'Preference', maintenance.id)
auth.has_permission('write', 'Preference', maintenance.id)

If Preference.id is uuid, this would not work.
Jose

@josejachuf you right, I didn't take into account permissions.
This sounds a bit complex, I need to spend some time on this in order to find a backward compatible way of supporting this. Ideally will be in 2.5


Tag always appears twice when assigned to product

Lunar version: 1.0.0-beta.4
Laravel Version: 10.48.22
PHP Version: 8.2
Database Driver & Version: MySQL

Expected Behaviour:
Should add one tag per Input Field
Actual Behaviour:
The input field adds it twice, possibly not initially, but at least when the product changes are saved.
Steps To Reproduce:
If a tag has manually been created under Settings > Tags then assigning it in the product adds it twice. Removing one of it afterwards is imposisble because it will remove both.

BTW deleting a tag in Settings > Tags throws:
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (lunar.lunar_taggables, CONSTRAINT lunar_taggables_tag_id_foreign FOREIGN KEY (tag_id) REFERENCES lunar_tags (id))


enhancement support update from syntax

Proposed changes
support update from syntax
note: enable_concurrent_update is not supported now
UPDATE <target_table>
  SET <col_name> = <value> [ , <col_name> = <value> , ... ]
  [ FROM <additional_tables> ]
  [ WHERE <condition> ]

for example:
t1
+----+----+----+-----+------------+
| id | c1 | c2 | c3  | c4         |
+----+----+----+-----+------------+
| 3  | 3  | 3  | 3.0 | 2000-01-03 |
| 2  | 2  | 2  | 2.0 | 2000-01-02 |
| 1  | 1  | 1  | 1.0 | 2000-01-01 |
+----+----+----+-----+------------+

t2
+----+----+----+------+------------+
| id | c1 | c2 | c3   | c4         |
+----+----+----+------+------------+
| 4  | 4  | 4  |  4.0 | 2000-01-04 |
| 2  | 20 | 20 | 20.0 | 2000-01-20 |
| 5  | 5  | 5  |  5.0 | 2000-01-05 |
| 1  | 10 | 10 | 10.0 | 2000-01-10 |
| 3  | 30 | 30 | 30.0 | 2000-01-30 |
+----+----+----+------+------------+

t3
+----+
| id |
+----+
| 1  |
| 5  |
| 4  |
+----+

do update
 update t1 set t1.c1 = t2.c1, t1.c3 = t2.c3 * 100 from t2 inner join t3 on t2.id = t3.id where t1.id = t2.id;

the result
+----+----+----+--------+------------+
| id | c1 | c2 | c3     | c4         |
+----+----+----+--------+------------+
| 3  | 3  | 3  |    3.0 | 2000-01-03 |
| 2  | 2  | 2  |    2.0 | 2000-01-02 |
| 1  | 10 | 1  | 1000.0 | 2000-01-01 |
+----+----+----+--------+------------+

Problem summary
Describe your changes.
Checklist(Required)

[x] Does it affect the original behavior
[x] Has unit tests been added
[x] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run clickbench

run buildall

run buildall


Include external_url in tweets

See https://matrix.org/docs/spec/application_service/unstable.html#event-fields

c815811113d60bb982490eb7f7cef42cf09b726a


PEAR-2116 - Cohort Comparison, P-value is on the border of the graph

Description
Switch facet card layout to use flex instead of float so it doesn't pop out of layout, prevent requests that will fail
Checklist

[x] Added proper unit tests
[x] Left proper TODO messages for any remaining tasks
[x] Scanned for web accessibility with aXe, and mitigated or documented
flagged issues

Screenshots/Screen Recordings (if Appropriate)

looks good! 👍


fix: Services.yaml // New Identifier

Currently need some testing as I'm changing the identifier:
Instead of:
"identifiers": {(DOMAIN, self._instrument.vehicle_name)},
We now use:
"identifiers": {(DOMAIN, self._instrument.vehicle_vin)},
This makes the Services.yaml working smooth and a name can't be a unique id.
But side-effects has to be tested. I had two vehicles after the change but might be my settings related.
I thought maybe if we update the identifier but I couldn't find an easy solution for it.
But we now have the possibility to delete devices / vehicles from UI.

I will test this out when I get a chance.  We may be able to also do a config migration on this. https://developers.home-assistant.io/docs/config_entries_config_flow_handler/#config-entry-migration

I haven't had a chance to look at this yet been a busy week.

I reviewed, tested, and merged into my fork. Absolutely wonderful having the Device drop down in the service calls. Thanks for doing this!

I reviewed, tested, and merged into my fork. Absolutely wonderful having the Device drop down in the service calls. Thanks for doing this!
Note: As you mentioned, i also had a blank, duplicate device, where the "Room" was still attached. Seems its creating a new device and removing the details from the previous, other than the room. The new device did not have a room assigned.
I deleted the integration > restarted HA > readded the AudiConnect integration, and then only had 1 vehicle.
Otherwise this worked like a charm.

I was trying to write an migration definition: https://github.com/Kolbi/audi_connect_ha/blob/b075dbd16cce736be4272f9487eeda99b9b27012/custom_components/audiconnect/init.py
but it doesn't work.... I even don't see in any entries from it in the logs....

I hope to test this soon.  Sorry crazy busy with the toddler and baby!
For migration here is what I did on another project when had the same issue. https://github.com/Hyundai-Kia-Connect/kia_uvo/blob/894299ab58774c08f3a6f7b66fa24229f06799ef/custom_components/kia_uvo/init.py#L75-L123
Probably could be cleaner but it worked.
I assume this would be a breaking change? If so we can rename it so the release engine will make this a 2.x release and label is breaking.

I know this PR is not needed anymore but want to let it open until we finished the "async_migrate_entry" topic and implemented it in @coreywillwhat PR.
I still have no clue why it is not working, but currently i don't have any testing enviroment which makes testing a little bit more difficult. :)

I tried your code block @Kolbi . Having the same issue where it never initiates the change/no logs.
A little more digging shows the version is never set for the entry in the config flow upon initial integration setup, so when you're looking for if config_entry.version == 1: maybe it isn't meeting the criteria?
In the AudiConfigFlow I think we need to define the version similar to how @cdnninja did in his referenced hyundai/kia integration.
A good starting place might be to figure out what version it's been assigning, if anything, then account for that, and assign the new VERSION = 2 in the config_flow.py so we dont run into this in the future.

I'm stuck at the point with migration what I don't know how to access the already (?) saved VIN from the vehicle....

Edit: FWIW -- This time around I tried deleting the duplicate device and I haven't encountered any issues. the "new" device maintains the correct entity id's so existing references aren't impacted.

So worst case no migrate but explaination how to delete the old device.

I'm stuck at the point with migration what I don't know how to access the already (?) saved VIN from the vehicle....

Could you use a listener to wait for Home Assistant to finish starting (EVENT_HOMEASSISTANT_STARTED) and then callback to finish the migration using the vin from AudiConnectAccount?

What I did in kia_uvo is the config migration just deleted the entities.   That also removed historical data though.   It did mean if nothing tied to it everything come up clean.  Not perfect but may work. Would make this PR a breaking change so it would be 2.x.

@cdnninja If you want to test use repo: https://github.com/Kolbi/audi_connect_ha/ and install version: https://github.com/Kolbi/audi_connect_ha/releases/tag/v2.0.0a1
yeah maybe breaking-change but maybe even without automatic migration or deleting of anything as the data remains only a second empty device appears.

Yes I plan to test.

https://github.com/audiconnect/audi_connect_ha/issues/331 as mentioned here maybe we should change the "unique_id"s

Reviewing this in more depth and testing it out I think two things should happen:

Unique ID should be fully unique, including both VIN and Username.   This covers car and account: https://github.com/audiconnect/audi_connect_ha/issues/186
We will need to get migration sorted out as it should clean up behind the changes to atleast ensure no duplicate devices.

Let me know thoughts?

Do we have limitation of length for the unique id? Need to check the documentation.
About the migration maybe someone else can take over that part?

Sounds good.  I'll see if I can get this working.   I don't have a ton of time but will give it a go.  May take me a bit.


Webapp Generator Component 1: Create a Web Page with Form Elements to upload.

The first version of this page can be very simple without css etc. Please include:

[ ] Email
[ ] Apps Name
[ ] JSON for speakers, sessions, tracks, locations etc.
[ ] Generate and Download Button

(Compare to Android App Generator: https://github.com/fossasia/open-event-android/issues/382)

Solved here https://github.com/fossasia/open-event-webapp/pull/241

@mariobehling  It is done  Closing it :)


walkthrough step 27, missing "status" property in documentation

OpenUI5 version: up to 1.81.1
Steps to reproduce the problem:

open the documentation on step 27
check the contents of metadata.xml
compare them with the instructions beginning with "For simplicity"

What is the expected result?
the property Status is present
What happens instead?
it is missing
Any other information? (attach screenshot if possible)
the issue concerns the documentation only, the downloaded copy of the app is fine

Hi @AndreaBorgia-Abo, I've reported this issue to the people who write the Walkthrough

Hey @AndreaBorgia-Abo, this issue is now fixed by https://github.com/SAP/openui5-docs/commit/fe8212a6abcae2e95cda1aa1d0884635e0621169
Thanks for reporting it!


No license

Your github work has no license. I do not know how to work with it. Thanks.

Hi, @besiwims I have added a LICENSE.


fix(ipfs-coord): got working with ipfs-coord v6 and ipfs-bch-wallet-service

:tada: This PR is included in version 2.4.1 :tada:
Your semantic-release bot :package::rocket:


Check dep tree has deps key

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c580c6b) 85.16% compared to head (d91ed79) 85.16%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   85.16%   85.16%
=======================================
  Files          11       11
  Lines         728      728
  Branches      186      186
=======================================
  Hits          620      620
  Misses        108      108

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Make Skeleton3D::add_bone return the new bone index

This is a small quality-of-life change which makes Skeleton3D::add_bone return the newly assigned bone index as part of the same call, instead of requiring an additional function call.
This PR should be backwards-compatible and not break any existing use of the function.
Additionally, the original documentation was also confusing and misleading because it said that get_bone_count would become the new index. However, it fails to mention that this value must be retrieved before adding the bone. It's pretty unintuitive to get the index of a bone before you add it. If you fetch the index afterwards, you'd actually have to use get_bone_count() - 1. As part of this PR, the documentation was updated to avoid this confusion.
New usage:
idx = skel.add_bone("Thumb")

Old usage (correct):
idx = skel.get_bone_count()
skel.add_bone("Thumb")

OR

skel.add_bone("Thumb")
idx = skel.get_bone_count() - 1

Old usage (incorrect):
skel.add_bone("Thumb")
idx = skel.get_bone_count()

I do recall other things in the engine that do this, as well. It's also good to know when the bone cannot be added.

I thought that would be an advantage as well, but unfortunately, the function still throws an error, which doesn't really make this a usefulcheck. It just allows graceful continuance if you've written bad code you'd want to remove from your code anyway.

Okay apparently I have no idea how compatibility works lol. Is there something explicit I have to do? Sorry I'm kinda new at this.

I thought making a void function return something wouldn't break anything ...

It breaks the function sig for a lot of extension and language API hence why those small innocent looking function changes are often not done.

I thought making a void function return something wouldn't break anything ...

It breaks the function sig for a lot of extension and language API hence why those small innocent looking function changes are often not done.

I understand. I'm not concerned about when or how likely this is to be merged. What I'd like to know is when a change like this is made, what steps need to be taken to prevent those failed tests? What additional things would one have to edit? Obviously API changes do happen at some point.

what steps need to be taken to prevent those failed tests

For GDExtension there are the validation files that need compatibility methods found in misc/extension_api_validation/. You can look at prs that mod those folders and files to see how it is done. Not sure about C#.

I'm at a loss. :(
I've done the compatibility method bindings, and added entries into the 4.2-stable.expected file.
But for some reason, I can't get the build to link, because the project doesn't seem to ever include the .compat.inc file I made so it says my compatibility methods are undefined. What am I doing wrong here? Is there some good documentation for this process?

You need to include the skeleton_3d.compat.inc file in skeleton_3d.cpp, see https://github.com/godotengine/godot/blob/master/scene/2d/tile_map.cpp for an example.

Thanks!


Label classes are not sorted in dropdown

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour
User expect label classes to be sorted. But they are "nearly sorted" or "some time not sorted".

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)
Create a task with several dozens of label classes. Try to label data.

 But I believe it's related, but different issue.

Hi @valeriyvan

User expect label classes to be sorted

It is not exactly true. There are open issues in the list where people expect to see labels in order of adding, without any sorting. I suppose it is a right approach to sutisfly also your request. You can sort the list on your own and push them in any order you need.

Hi @valeriyvan

User expect label classes to be sorted

It is not exactly true. There are open issues in the list where people expect to see labels in order of adding, without any sorting. I suppose it is a right approach to sutisfly also your request. You can sort the list on your own and push them in any order you need.

Sounds like we need a setting how to show labels: in order how they appear or sorted.

Sounds like we need a setting how to show labels: in order how they appear or sorted.

There are different kinds of sorting (alphabetical, numeric, others custom). Support of them is not an option for CVAT. As I mentioned keeping ordering as labels appears (related #2636) would cover all the cases.
I will close this issue.

There are different kinds of sorting (alphabetical, numeric, others custom). Support of them is not an option for CVAT. As I mentioned keeping ordering as labels appears (related #2636) would cover all the cases.
I will close this issue.

There are different kinds of sorting (alphabetical, numeric, others custom). Support of them is not an option for CVAT. As I mentioned keeping ordering as labels appears (related #2636) would cover all the cases.
I will close this issue.

Because different kinds of sorting options exist, it was decided not to sort at all. Bad(

There are different kinds of sorting (alphabetical, numeric, others custom). Support of them is not an option for CVAT. As I mentioned keeping ordering as labels appears (related #2636) would cover all the cases.
I will close this issue.

Because different kinds of sorting options exist, it was decided not to sort at all. Bad(

@valeriyvan , if you have a good proposal how to implement it in UI, please do that. We are happy to accept any PRs with great features which are necessary for our community. Here you report a bug. It is not a bug, it was made intentionally by requests.

@valeriyvan , if you have a good proposal how to implement it in UI, please do that. We are happy to accept any PRs with great features which are necessary for our community. Here you report a bug. It is not a bug, it was made intentionally by requests.


Bugfix compiling C++

I came across this issue whilst creating a router for an API in my most recent project.
For me it was easily fixed by adding types.
Fixed issue compiling cxx14
Example: error: non-constant-expression cannot be narrowed from type
'off_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer
list [-Wc++11-narrowing]

Codecov Report

Merging #76 into master will increase coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
+ Coverage   50.69%   50.76%   +0.06%
==========================================
  Files          34       34
  Lines       13541    13541
==========================================
+ Hits         6865     6874       +9
+ Misses       6676     6667       -9

Impacted Files
Coverage Δ

lib/facil/fiobj/fiobj4fio.h
0% <ø> (ø)
:arrow_up:

lib/facil/fio.h
83.94% <0%> (ø)
:arrow_up:

lib/facil/fio.c
58.66% <0%> (+0.19%)
:arrow_up:

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 0e43956...e6f017f. Read the comment docs.

Hi @joeyhoek ,
Thank you for the PR 🙏🏻👍🏻
I don't often use C++, so I'm very thankful for the input.
However, I can't help wondering if the types you chose aren't system specific...
The offset type in fio_write2 (uintptr_t) might not map to unsigned long on every system.
Also, according to the specifications, tv_sec is typed as time_t, whereas you casted it to long. I assume it would be better to switch that to time_t, so it's more portable.
(Note: tv_nsec should be typed as long by the specification, so no worries about that one)
Anyway, could you fix those before I merge?
Thanks!
Bo

Hi @boazsegev,
I think you meant this?
Love the work btw. I'm not very comfortable with C per se, so unfortunately don't think I can be a big help there. If you need any help in the webdevelopment part etc, I'd be happy to help out.

Hi @joeyhoek ,
Yes, perfect 👍🏻 Thanks🙏🏻
Thank you for helping improve C++ compatibility ☺
B.


CREATE TABLE AS (...) UNION (...) fails

This test query is failing so far:
CREATE TABLE temp.abc AS (SELECT c FROM t1) UNION (SELECT c FROM t2)

Thank you so much, I have incorporated your suggestions into PR #1329 -- but attributed all credits to you.
I chose this path when the Travis CI Test kept failing.


Not using "target-dev-hub" and "target-org"!

Describe the bug
"sf dependency install" command don't uses config values set for "target-dev-hub" and "target-org".
It will throw the error if these values i not set using the flags "targetdevhubusername" and "targetusername" on the command.
This is behaviour new in the lates version July23(v23.4.2), and not desirable.
To Reproduce

Set config values for "target-dev-hub" and "target-org" to desired values.
Run the "sf dependency install" command  without the flags "targetdevhubusername" and "targetusername".
You get the error:
›   Error: The following errors occurred:
›     Missing required flag targetdevhubusername
›     Missing required flag targetusername
›   See more help with --help

Expected behavior
You shoulfd be able to omit the flags "targetdevhubusername" and "targetusername" on the command and it should use the values given in the config keys: "target-dev-hub" and "target-org"
Platform Details (please complete the following information):

OS: macOs - Ventura 13.5
Version [e.g. CLI Version  eg: 1.6.6]
Salesforce CLI(sfdx cli) Version: @salesforce/cli/2.2.7 darwin-arm64 node-v18.15.0
CI Platform:

I observed the same for pool:fetch and orchestrator:validate commands. It forced me to add --targetdevhubusername parameter to both of them, to be able to use with v23.4.2.