BoxConstraints forces an infinite height.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I added a bar chart widget to my code by using the fl_chart but it has produced lots of errors coming from running the gradle,
I have a listview.builder that returns list of installed apps from the application I am trying to build. This list view is below the bar chart. Previously before adding the bar chart widget the list was getting fetched even though the usage time wasn't fetched correctly and the logos or icon of each apps but at least then the list view displays but since I added the bar chart none displays anymore.
Expected results
To have both the bar chart and the list of the data I fetch to be returned and display with the accurate time and the icons of each app list
Actual results
The screen shows an empty list and sometimes show this error on the screen
"RangeError (index): Invalid Value: Not in Inclusive Range 0..50:72" on the logs it displays these errors "BoxConstraints forces an infinite height."
These invalid constraints were provided to AxisSideTitlesRenderFlex's layout() function by the following function, which probably computed the invalid constraints in question:
  RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
The offending constraints were: BoxConstraints(w=22.0, h=Infinity)
The relevant error-causing widget was:
  BarChart BarChart:file:///C:/Users/marve/StudioProjects/app_monitor/lib/home.dart:53:22
When the exception was thrown, this was the stack:
#0      BoxConstraints.debugAssertIsValid.<anonymous closure>.throwError (package:flutter/src/rendering/box.dart:519:9)
#1      BoxConstraints.debugAssertIsValid.<anonymous closure> (package:flutter/src/rendering/box.dart:572:11)
#2      BoxConstraints.debugAssertIsValid (package:flutter/src/rendering/box.dart:577:6)
#3      RenderObject.layout (package:flutter/src/rendering/object.dart:2439:24)
#4      RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#5      RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
#6      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#7      RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#8      RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:238:12)
#9      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#10     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#11     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#12     RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:808:43)
#13     RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:903:32)
#14     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#15     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#16     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:434:14)
#17     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#18     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#19     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#20     RenderStack._computeSize (package:flutter/src/rendering/stack.dart:581:43)
#21     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:608:12)
#22     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#23     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#24     _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:310:14)
#25     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#26     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#27     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#28     RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:808:43)
#29     RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:903:32)
#30     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#31     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#32     RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
#33     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#34     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#35     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:173:12)
#36     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1062:7)
#37     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:237:7)
#38     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:403:14)
#39     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#40     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#41     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#42     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#43     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#44     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#45     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1434:11)
#46     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#47     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#48     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#49     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#50     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#51     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#52     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#53     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#54     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#55     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#56     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#57     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#58     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#59     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#60     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#61     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#62     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#63     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#64     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#65     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#66     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#67     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#68     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#69     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#70     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#71     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#72     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#73     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#74     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#75     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3712:14)
#76     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#77     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#78     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#79     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#80     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#81     _RenderTheaterMixin.performLayout (package:flutter/src/widgets/overlay.dart:884:15)
#82     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2385:7)
#83     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1025:18)
#84     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1038:15)
#85     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:591:23)
#86     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:986:13)
#87     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
#88     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#89     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
#90     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
#91     _invoke (dart:ui/hooks.dart:312:13)
#92     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383:5)
#93     _drawFrame (dart:ui/hooks.dart:283:31)

Code sample
Code sample
[Paste your code here]
```import 'package:app_monitor/services/app_usage.dart';
import 'package:flutter/material.dart';
import 'package:fl_chart/fl_chart.dart';

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

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  List<AppModel> apps = [];

  @override
  void initState() {
    super.initState();
    fetchInstalledApps();
  }

  Future<void> fetchInstalledApps() async {
    try {
      List<AppModel> updatedApps = await AppStorage.getApps();
      setState(() {
        apps = updatedApps;
      });
    } catch (e) {
      print('Error fetching installed apps: $e');
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.indigo[900],
        leading: const Icon(Icons.menu),
        actions: const [
          Padding(
            padding: EdgeInsets.all(16.0),
            child: Icon(Icons.settings),
          ),
        ],
        title: const Text('Activity Tracker'),
        centerTitle: true,
        elevation: 0,
      ),
      body: SizedBox(
        height: 40.0,
        child: Column(
          children: [
            Container(
              child: BarChart(
                BarChartData(
                  backgroundColor: Colors.white,
                  barGroups: _chartGroups(apps),
                  borderData: FlBorderData(
                      border: const Border(bottom: BorderSide(), left: BorderSide())),
                  gridData: FlGridData(show: false),
                  titlesData: FlTitlesData(
                    bottomTitles: AxisTitles(sideTitles: _bottomTitles),
                    leftTitles: AxisTitles(
                      sideTitles: SideTitles(
                        showTitles: true,
                        interval: 1,
                        getTitlesWidget: (value, meta) {
                          return Text(
                            value.toString(),
                            style: const TextStyle(fontSize: 10),
                          );
                        },
                      ),
                    ),
                    topTitles: AxisTitles(sideTitles: SideTitles(showTitles: false)),
                    rightTitles: AxisTitles(sideTitles: SideTitles(showTitles: false)),
                  ),
                ),
              ),
            ),
            SizedBox(
              height: 40.0,
              child: Column(
                crossAxisAlignment: CrossAxisAlignment.stretch,
                children: [
                  Padding(padding: const EdgeInsets.all(8.0),
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    children: [
                      Text('Frequently Used Apps Today',
                      style: TextStyle(
                        fontSize: 16,
                        fontWeight: FontWeight.bold,
                      ),
                      ),
                      GestureDetector(
                        onTap: () {},
                        child: Text('See All Apps',
                        style: TextStyle(
                          fontSize: 16,
                          color: Colors.blue,
                        ),
                        ),
                      )
                    ],
                  ),
                  ),
                  Container(
                    child: RefreshIndicator(
                      onRefresh: () async {
                        await fetchInstalledApps();
                      },
                      child: ListView.builder(
                        itemCount: apps.length > 5 ? 5 : apps.length,
                        itemBuilder: (context, index) {
                          final app = apps[index];
                          return Card(
                            child: Column(
                              children: [
                                ListTile(
                                  leading: CircleAvatar(
                                    backgroundImage: app.logo ?? AssetImage('assets/icons/default_icon.png'),
                                  ),
                                  title: Text(app.name),
                                  subtitle: Text('${app.usageInMinutes} minutes'),
                                ),
                              ],
                            ),
                          );
                        },
                      ),
                    ),
                  ),
                ],
              ),
            ),
          ],
        ),
      ),
      bottomNavigationBar: BottomNavigationBar(
        backgroundColor: Colors.white,
        selectedItemColor: Colors.indigo[900],
        items: const [
          BottomNavigationBarItem(
            icon: Icon(Icons.home),
            label: 'Home',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.phone_android_outlined),
            label: 'Frequent Apps',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.calendar_month_outlined),
            label: 'Scheduled Events',
          ),
        ],
      ),
    );
  }

  List<BarChartGroupData> _chartGroups(List<AppModel> apps) {
    List<BarChartGroupData> chartGroups = [];
    // Use the lesser of 5 and the actual number of apps
    int count = apps.length > 5 ? 5 : apps.length;
    for (int i = 0; i < count; i++) {
      double barWidth = 16.0;
      double spacing = 8.0;
      double x = i * (barWidth + spacing);

      chartGroups.add(BarChartGroupData(x: x.toInt(), barRods: [
        BarChartRodData(
          toY: apps[i].usageInMinutes.toDouble(),
          width: barWidth,
          borderRadius: const BorderRadius.only(
            topLeft: Radius.circular(4),
            topRight: Radius.circular(4),
        ),
          color: getColorForIndex(i),
      )
    ],
    ));
    }
    return chartGroups;
  }
  Color getColorForIndex(int index) {
    // Add logic to return a different color based on the index
    List<Color> colors = [Colors.blue, Colors.green, Colors.orange, Colors.red, Colors.purple];
    return colors[index % colors.length];
  }

  SideTitles get _bottomTitles => SideTitles(
    showTitles: true,
    getTitlesWidget: (value, meta) {
      return Text(
        apps[value.toInt()].name,
        style: TextStyle(fontSize: 10),
      );
    },
  );
}

</details>

### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>
![flutter error](https://github.com/flutter/flutter/assets/81172056/a2274148-f12c-4333-bc7b-590ae725f335)

### Logs

<details><summary>Logs</summary>

```console
[Paste your logs here]
```The following assertion was thrown during performLayout():
BoxConstraints forces an infinite height.

These invalid constraints were provided to AxisSideTitlesRenderFlex's layout() function by the following function, which probably computed the invalid constraints in question:
  RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
The offending constraints were: BoxConstraints(w=22.0, h=Infinity)
The relevant error-causing widget was:
  BarChart BarChart:file:///C:/Users/marve/StudioProjects/app_monitor/lib/home.dart:53:22
When the exception was thrown, this was the stack:
#0      BoxConstraints.debugAssertIsValid.<anonymous closure>.throwError (package:flutter/src/rendering/box.dart:519:9)
#1      BoxConstraints.debugAssertIsValid.<anonymous closure> (package:flutter/src/rendering/box.dart:572:11)
#2      BoxConstraints.debugAssertIsValid (package:flutter/src/rendering/box.dart:577:6)
#3      RenderObject.layout (package:flutter/src/rendering/object.dart:2439:24)
#4      RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#5      RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
#6      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#7      RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#8      RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:238:12)
#9      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#10     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#11     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#12     RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:808:43)
#13     RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:903:32)
#14     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#15     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#16     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:434:14)
#17     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#18     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#19     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#20     RenderStack._computeSize (package:flutter/src/rendering/stack.dart:581:43)
#21     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:608:12)
#22     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#23     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#24     _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:310:14)
#25     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#26     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#27     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#28     RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:808:43)
#29     RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:903:32)
#30     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#31     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#32     RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
#33     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#34     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#35     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:173:12)
#36     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1062:7)
#37     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:237:7)
#38     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:403:14)
#39     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#40     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#41     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#42     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#43     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#44     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#45     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1434:11)
#46     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#47     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#48     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#49     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#50     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#51     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#52     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#53     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#54     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#55     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#56     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#57     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#58     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#59     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#60     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#61     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#62     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#63     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#64     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#65     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#66     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#67     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#68     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#69     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#70     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#71     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#72     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#73     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#74     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#75     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3712:14)
#76     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#77     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#78     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#79     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#80     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#81     _RenderTheaterMixin.performLayout (package:flutter/src/widgets/overlay.dart:884:15)
#82     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2385:7)
#83     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1025:18)
#84     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1038:15)
#85     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:591:23)
#86     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:986:13)
#87     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
#88     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#89     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
#90     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
#91     _invoke (dart:ui/hooks.dart:312:13)
#92     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383:5)
#93     _drawFrame (dart:ui/hooks.dart:283:31)
The following RenderObject was being processed when the exception was fired: RenderConstrainedBox#e35c0 relayoutBoundary=up8 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...  parentData: offset=Offset(0.0, 0.0) (can use size)
...  constraints: BoxConstraints(unconstrained)
...  size: MISSING
...  additionalConstraints: BoxConstraints(w=22.0, h=Infinity)
RenderObject: RenderConstrainedBox#e35c0 relayoutBoundary=up8 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  parentData: offset=Offset(0.0, 0.0) (can use size)
  constraints: BoxConstraints(unconstrained)
  size: MISSING
  additionalConstraints: BoxConstraints(w=22.0, h=Infinity)
...  child: AxisSideTitlesRenderFlex#2b847 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...    parentData: <none>
...    constraints: MISSING
...    size: MISSING
...    direction: vertical
...    child 1: RenderParagraph#62686 NEEDS-LAYOUT NEEDS-PAINT
...      parentData: offset=Offset(0.0, 0.0); flex=null; fit=null
...      constraints: MISSING
...      size: MISSING
...      textAlign: start
...      textDirection: ltr
...      softWrap: wrapping at box width
...      overflow: clip
...      locale: en_US
...      maxLines: unlimited
...      text: TextSpan
...        debugLabel: ((englishLike bodyMedium 2021).merge((blackMountainView bodyMedium).apply)).merge(unknown)
...        inherit: false
...        color: Color(0xff1c1b1f)
...        family: Roboto
...        size: 10.0
...        weight: 400
...        letterSpacing: 0.3
...        baseline: alphabetic
...        height: 1.4x
...        leadingDistribution: even
...        decoration: Color(0xff1c1b1f) TextDecoration.none
...        "0.0"
====================================================================================================

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
RenderBox was not laid out: RenderConstrainedBox#e35c0 relayoutBoundary=up8 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1972 pos 12: 'hasSize'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.yml

The relevant error-causing widget was:
  BarChart BarChart:file:///C:/Users/marve/StudioProjects/app_monitor/lib/home.dart:53:22
When the exception was thrown, this was the stack:
#2      RenderBox.size (package:flutter/src/rendering/box.dart:1972:12)
#3      RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:242:39)
#4      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#5      RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#6      ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#7      RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:808:43)
#8      RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:903:32)
#9      RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#10     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#11     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:434:14)
#12     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#13     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#14     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#15     RenderStack._computeSize (package:flutter/src/rendering/stack.dart:581:43)
#16     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:608:12)
#17     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#18     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#19     _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:310:14)
#20     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#21     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#22     ChildLayoutHelper.layoutChild (package:flutter/src/rendering/layout_helper.dart:52:11)
#23     RenderFlex._computeSizes (package:flutter/src/rendering/flex.dart:808:43)
#24     RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:903:32)
#25     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#26     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#27     RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
#28     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#29     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#30     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:173:12)
#31     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1062:7)
#32     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:237:7)
#33     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:403:14)
#34     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#35     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#36     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#37     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#38     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#39     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#40     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1434:11)
#41     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#42     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#43     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#44     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#45     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#46     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#47     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#48     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#49     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#50     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#51     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#52     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#53     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#54     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#55     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#56     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#57     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#58     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#59     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#60     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#61     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#62     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#63     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#64     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#65     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#66     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#67     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#68     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#69     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#70     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3712:14)
#71     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#72     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#73     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:21)
#74     RenderObject.layout (package:flutter/src/rendering/object.dart:2546:7)
#75     RenderBox.layout (package:flutter/src/rendering/box.dart:2389:11)
#76     _RenderTheaterMixin.performLayout (package:flutter/src/widgets/overlay.dart:884:15)
#77     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2385:7)
#78     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1025:18)
#79     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1038:15)
#80     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:591:23)
#81     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:986:13)
#82     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:457:5)
#83     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1325:15)
#84     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1255:9)
#85     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1113:5)
#86     _invoke (dart:ui/hooks.dart:312:13)
#87     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:383:5)
#88     _drawFrame (dart:ui/hooks.dart:283:31)
(elided 2 frames from class _AssertionError)
The following RenderObject was being processed when the exception was fired: RenderPadding#6bad9 relayoutBoundary=up7 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...  parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
...  constraints: BoxConstraints(unconstrained)
...  size: MISSING
...  padding: EdgeInsets(0.0, 0.0, 0.0, 23.0)
...  textDirection: ltr
RenderObject: RenderPadding#6bad9 relayoutBoundary=up7 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
  constraints: BoxConstraints(unconstrained)
  size: MISSING
  padding: EdgeInsets(0.0, 0.0, 0.0, 23.0)
  textDirection: ltr
...  child: RenderConstrainedBox#e35c0 relayoutBoundary=up8 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...    parentData: offset=Offset(0.0, 0.0) (can use size)
...    constraints: BoxConstraints(unconstrained)
...    size: MISSING
...    additionalConstraints: BoxConstraints(w=22.0, h=Infinity)
...    child: AxisSideTitlesRenderFlex#2b847 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...      parentData: <none>
...      constraints: MISSING
...      size: MISSING
...      direction: vertical
...      child 1: RenderParagraph#62686 NEEDS-LAYOUT NEEDS-PAINT
...        parentData: offset=Offset(0.0, 0.0); flex=null; fit=null
...        constraints: MISSING
...        size: MISSING
...        textAlign: start
...        textDirection: ltr
...        softWrap: wrapping at box width
...        overflow: clip
...        locale: en_US
...        maxLines: unlimited
...        text: TextSpan
...          debugLabel: ((englishLike bodyMedium 2021).merge((blackMountainView bodyMedium).apply)).merge(unknown)
...          inherit: false
...          color: Color(0xff1c1b1f)
...          family: Roboto
...          size: 10.0
...          weight: 400
...          letterSpacing: 0.3
...          baseline: alphabetic
...          height: 1.4x
...          leadingDistribution: even
...          decoration: Color(0xff1c1b1f) TextDecoration.none
...          "0.0"
====================================================================================================

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
RenderBox was not laid out: RenderPadding#6bad9 relayoutBoundary=up7 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1972 pos 12: 'hasSize'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.

</details>

### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[Paste your output here]
```Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.16.0, on Microsoft Windows [Version 10.0.19045.3693], locale en-GB)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.84.0)
[√] Connected device (4 available)
[√] Network resources

! Doctor found issues in 1 category.

</details>

"RangeError (index): Invalid Value: Not in Inclusive Range 0..50:72" on the logs it displays these errors "BoxConstraints forces an infinite height."
These invalid constraints were provided to AxisSideTitlesRenderFlex's layout() function by the following function, which probably computed the invalid constraints in question:
RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:279:14)
The offending constraints were: BoxConstraints(w=22.0, h=Infinity)

From the logs, this seems to be an issue with your layout, please see https://flutter.dev/community for resources and ask questions like this, you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Error importing Scipy module

I've installed Python modules according to the README instructions, but when I run the Run.py script getting the following error:
ubuntu@jetson:~/People-Counting-in-Real-Time$ python Run.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel
Traceback (most recent call last):
  File "Run.py", line 1, in <module>
    from mylib.centroidtracker import CentroidTracker
  File "/home/ubuntu/People-Counting-in-Real-Time/mylib/centroidtracker.py", line 2, in <module>
    from scipy.spatial import distance as dist
ImportError: No module named scipy.spatial

Try pip install scipy==1.4.1

@saimj7 Thank you, that issue is solved. Now I'm getting the following error Illegal instruction (core dumped).
Can you tell me more about it and what can be the problem?

Maybe something to do with Ubuntu? Note that this is intended for Windows at the moment.

@saimj7 Can you please send me the versions of scipy and numpy you are using? The result of your python - m pip freeze would be helpful. I figured it out that scipy is still a problem on Ubuntu.

Sure, python 3.7.4, numpy 1.19.2 and, scipy 1.4.1


Apply Packet Experimental repository standards

Thanks, @enkelprifti98 and @dsieczko for your contributions thus far in starting this awesome project!
Now that this is in the Packet Labs org, we want to ensure that the project meets our (new!) standards for such projects.
The Experimental Tier Minimum Requirements are as follows:

[x] The Experimental badge
[x] The Experimental Statement in the README.md
[x] LICENSE
[x] README.md
[x] OWNERS.md
[x] Developer Certificate of Origin https://github.com/apps/dco
[x] At least one maintainer
[x] CI/CD

We may update these standards along the way as @DailyAlice, @rainleander, and others iron out the process.

Done!


Add NullableTypeReaders for ValueTypeReaders

From #480
Someone can say that this "doesn't have any utility" but for me that's wrong. It probably doesn't have any utility for you but it has for someone else (like me). And we should let people choose what they want to use.
And the library idea is to make everything easier to who's using it. The default CommandBuilder now does an awesome job, can't deny! But I think it could be better and this is a simple and small way of doing it.

After talking with Khionu, I think this won't be useful. So I'm closing it.


Fix Vera climate component to use correct states

Description:
Changed the Vera climate component so it uses the STATE_* states from the base climate component. This will allow it to work with Google Assistant.
Related issue (if applicable): fixes #17302
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass

@awarecan: I'm not sure if you have approval authority, but can you look this over for me? I'm testing it locally, and the thermostat works fine and Google Assistant is able to control it/query it, set modes, and set temperatures.


Alexa Media Player Problem -TTS

Hi Guys i am not sure if anyone can assist me with this Integration. I have managed to add the integration is home assistant but the Entity keeps jumping between standby and unavailable state. Also when i try the TTS Functionality i get no response from Alexa Media Player. I don't see any Logs being generated to identify a place to start looking for the issue.
Home Assistant Core 2020.12.2
Operating System 5.9

Please fill out the template.

Please fill out the template.

Hi Alan can you send me the location for this template

Hi Alan can you send me the location for this template

System details
Home-assistant (version): 2020.12.2
Hassio (Yes/No): yes
alexa_media (version from const.py or HA startup): 3.4.7
alexapy (version from pip show alexapy or HA startup):
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: yes

System details
Home-assistant (version): 2020.12.2
Hassio (Yes/No): yes
alexa_media (version from const.py or HA startup): 3.4.7
alexapy (version from pip show alexapy or HA startup):
Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: yes

That is not the complete template. The template also shows how to enable logging.

That is not the complete template. The template also shows how to enable logging.

I have enabled logging and received the logs. Do you want me to paste the entire output here

I have enabled logging and received the logs.  It's reporting a domain mismatch which can break functionality. You need to log into the same domain as your account and devices are set up in.

Where is your Amazon account registered. It's reporting a domain mismatch which can break functionality. You need to log into the same domain as your account and devices are set up in.

Hi Alan , My echo device is registered in amazon.com.au

Hi Alan , My echo device is registered in amazon.com.au

Does any functionality work? Your logs indicate a total lack of functionality. If you try to login to amazon.com does anything change?

Does any functionality work? Your logs indicate a total lack of functionality. If you try to login to amazon.com does anything change?

Hi Alan after re-registering the echo device and re-installing the integration the echo entity has cme online and tts is working fine now

Hi Alan after re-registering the echo device and re-installing the integration the echo entity has cme online and tts is working fine now


Option for setting SSL Validation False Flag

What is the ideal scenario for using this feature?
Performance testing for non-prod data
Is your feature request related to a problem? Please describe.
For Cassandra deployment with 40+ clusters with self-signed certificates, it would be impractical, if not impossible, to create trust store certificates for each node for establishing connections to run NoSqlBench.  This option is already provided by the Cassandra Java driver.
Propose to add “sslvalidation=false” to bypass SSL validation to relieve the burden of creating trust store certificate for every node.
Would you like to help implementing or testing it?
We would be happy to implement it if there’s no takers as it is needed sooner.
Additional context
Current supported options for SSL
nb help SSL
help ssl
SSL
Supported options:

ssl - specifies the type of the SSL implementation.
Disabled by default, possible values are jdk, and openssl.

tlsversion - specify the TLS version to use for SSL.
Examples:

tlsversion=TLSv1.2 (the default)

For jdk type, the following options are available:

truststore - specify the path to the SSL truststore.
Examples:

truststore=file.truststore

tspass - specify the password for the SSL truststore.
Examples:

tspass=truststore_pass

keystore - specify the path to the SSL keystore.
Examples:

keystore=file.keystore

kspass - specify the password for the SSL keystore.
Examples:

kspass=keystore_pass

keyPassword - specify the password for the key.
Examples:

keyPassword=password

For openssl type, the following options are available:

caCertFilePath - path to the X509 CA certificate file.
Examples:

caCertFilePath=cacert.crt

certFilePath - path to the X509 certificate file.
Examples:

certFilePath=ca.pem

keyFilePath - path to the OpenSSL key file.
Examples:

keyFilePath=file.key

Hi @ksmaung, after looking at this in more detail, can you provide some more information about how you want to bypass the validation in our current set of supported options for jdk and openssl as they apply to keystore and truststore settings?
When applying the sslvalidation=false, are you expecting that any truststore settings would be completely ignored, but the keystore settings would still be verified?
Example
  "ssl=openssl",
  "sslValidation=false",
  "certFilePath=src/test/resources/ssl/client_cert.pem",
  "keyFilePath=src/test/resources/ssl/client.key",
  "truststore=src/test/resources/ssl/non_existing.p12",
  "tspass=nosqlbench_server",
  "keystore=src/test/resources/ssl/client.p12",
  "kspass=nosqlbench_client"

And in this case, what would be the expected level of validation?
"sslValidation=false",
"ssl=openssl",
"caCertFilePath=src/test/resources/ssl/cacert.crt",
"certFilePath=src/test/resources/ssl/client_cert.pem",
"keyFilePath=src/test/resources/ssl/client.key"

Since we have many combinations for the security configuration in NB5, we want to ensure that we address how this would impact the other options.

@jeffbanks disable SSL hostname validation happens on the client side, it allows a client (nosqlbench) to connect to a database node with a SSL certificate without validating the hostname against a Certificate Authority.  The most common situation is in dev and uat environments when the server has a self-signed certificate.
A common example in Java is with HttpClient where you can set the NoopHostnameVerifier:
var httpClient = HttpClients
.custom()
.setSSLContext(new SSLContextBuilder().loadTrustMaterial(null, TrustAllStrategy.INSTANCE).build())
.setSSLHostnameVerifier(NoopHostnameVerifier.INSTANCE)
.build();

Thanks @bschoening for the additional information regarding the hostname validation!
@ksmaung can you confirm what adapter you are using for your testing?
I see where this is currently applied in NB5 with the adapter-jdbc using an sslmode option.  The default is prefer and allows for: disable , allow , prefer , require , verify-ca and verify-full.
adapter-cqld4 or adapter-jdbc?

adapter-jdbc

@jeffbanks
adapter-cqld4 is the DataStax v4 driver and well-suited to work with Cassandra DB.
Thanks.

SSL validation bypass option added in PR#1289.


Upgrade theme

In #137 I made a mistake which leads to the indentation of the nav as well, this commit fixes that.

OOC why does "serve" and "squarecrypto-vuepress-devkit-theme" differ between LDK and BDK websites?
https://github.com/bitcoindevkit/bitcoindevkit.org/blob/master/package.json

With bitcoindevkit/bitcoindevkit.org#108 I've made the same changes for BDK as well.

I see. Is there any reason this isn't shared code?

The theme is already extracted and shared between the repos. The package.json lists the dependencies of each project - that part cannot be shared and needs to exist for each project separately.
I think it's OK like that, because the projects might have different dependencies – e.g. if BDK would have the playground code extracted and included as a dependency, there wouldn't be a reason to also have it as part of LDK too.


D3D12 descriptor creation functions (eg CreateRenderTargetView) should have optional first parameters

Functions such as ID3D12Device::CreateRenderTargetView can accept null as the first parameter.  The current signature is presource: impl ::windows::IntoParam<'a, ID3D12Resource>, .

You should be able to use None - does that work?

Ah! So it does.  Thanks!


Adding missing libs to installation README

On Ubuntu 12 this change is unnecessary. This PR seems obsolete?

If it's in there on Ubuntu 12 and 14, then yeah, the PR is outdated. Feel free to can it.

I can't, but you can - please could you click "Close"?

Closing.


ADM-unknown [stub]  add restart=always for stubs

Summary
Remove Infra tag from commit

https://docs.docker.com/config/containers/start-containers-automatically/
You code maybe is not workable

Don't care,ignore it


Requirements. txt needs version information

This is very interesting work but I am not able to get this running with Tensor flow 2.5 and Kera 2.5.0.dev2021032900. Is their a combination of TF and Keras that works with nncg? I have installed python 3.7 and clang 6.
Thanks,
-gits

As I expected some things have changed. I fixed that so TF 2.5 can (and must) be used. Probably a bit older or newer versions will also work but I set the tf version in the requirements.txt to 2.5. Please test if that works for you.

Tried the new "requirements.txt". It went well till "compile.py" step this time.
python3 applications/daimler/compile.py
Adding CNN nodes to graph |----------------------------------------| 0.0% Unknown layer
Not sure if this message of "Unknown layer" was expected.
Don't see the "cnn_gen.cpp" file created either. But I see a new file - "./examples/daimler.c"
compiling daimler.c using clang (clang version 6.0.0-1ubuntu2) lead to below compilation errors -
./examples/daimler.c:23:18: error: expected ';' at end of declaration
static float x_2 alignas(16) [36][18][4] = { 0 };
^
;
./examples/daimler.c:26:18: error: expected ';' at end of declaration
static float x_5 alignas(16) [18][9][8] = { 0 };
^
;
./examples/daimler.c:29:18: error: expected ';' at end of declaration
static float x_8 alignas(16) [9][4][16] = { 0 };
^
;
./examples/daimler.c:55:8: error: subscripted value is not an array, pointer, or vector
x_2[i_3 + 0][i_4 + 0][i_5 + 0] = b_0[i_5 + 0];
~^~~~~~
./examples/daimler.c:69:39: error: subscripted value is not an array, pointer, or vector
x = _mm_load_ps((float*)&x_2[i_6 / 1 + 0][i_7 / 1 + 0][(i_59 * 1) % 4 + 0]);
~^~~~~~~~~~
./examples/daimler.c:71:36: error: subscripted value is not an array, pointer, or vector
_mm_store_ps((float*)&x_2[i_6 / 1 + 0][i_7 / 1 + 0][(i_59 * 1) % 4 + 0], x);
~^~~~~~~~~~
./examples/daimler.c:81:44: error: subscripted value is not an array, pointer, or vector
x_3[i_12 + 0][i_13 + 0][i_14 + 0] = x_2[i_12 + 0][i_13 + 0][i_14 + 0] < 0 ? 0 : x_2[i_12 + 0][i_13 + 0][i_14 + 0];
~^~~~~~~
./examples/daimler.c:81:88: error: subscripted value is not an array, pointer, or vector
x_3[i_12 + 0][i_13 + 0][i_14 + 0] = x_2[i_12 + 0][i_13 + 0][i_14 + 0] < 0 ? 0 : x_2[i_12 + 0][i_13 + 0][i_14 + 0];
~^~~~~~~
./examples/daimler.c:116:8: error: subscripted value is not an array, pointer, or vector
x_5[i_20 + 0][i_21 + 0][i_22 + 0] = b_1[i_22 + 0];
~^~~~~~~
./examples/daimler.c:131:40: error: subscripted value is not an array, pointer, or vector
x = _mm_load_ps((float*)&x_5[i_23 / 1 + 0][i_24 / 1 + 0][i_28 + 0]);
~^~~~~~~~~~~
./examples/daimler.c:133:37: error: subscripted value is not an array, pointer, or vector
_mm_store_ps((float*)&x_5[i_23 / 1 + 0][i_24 / 1 + 0][i_28 + 0], x);
~^~~~~~~~~~~
./examples/daimler.c:144:44: error: subscripted value is not an array, pointer, or vector
x_6[i_29 + 0][i_30 + 0][i_31 + 0] = x_5[i_29 + 0][i_30 + 0][i_31 + 0] < 0 ? 0 : x_5[i_29 + 0][i_30 + 0][i_31 + 0];
~^~~~~~~
./examples/daimler.c:144:88: error: subscripted value is not an array, pointer, or vector
x_6[i_29 + 0][i_30 + 0][i_31 + 0] = x_5[i_29 + 0][i_30 + 0][i_31 + 0] < 0 ? 0 : x_5[i_29 + 0][i_30 + 0][i_31 + 0];
~^~~~~~~
./examples/daimler.c:179:8: error: subscripted value is not an array, pointer, or vector
x_8[i_37 + 0][i_38 + 0][i_39 + 0] = b_2[i_39 + 0];
~^~~~~~~
./examples/daimler.c:194:40: error: subscripted value is not an array, pointer, or vector
x = _mm_load_ps((float*)&x_8[i_40 / 1 + 0][i_41 / 1 + 0][i_45 + 0]);
~^~~~~~~~~~~
./examples/daimler.c:196:37: error: subscripted value is not an array, pointer, or vector
_mm_store_ps((float*)&x_8[i_40 / 1 + 0][i_41 / 1 + 0][i_45 + 0], x);
~^~~~~~~~~~~
./examples/daimler.c:207:44: error: subscripted value is not an array, pointer, or vector
x_9[i_46 + 0][i_47 + 0][i_48 + 0] = x_8[i_46 + 0][i_47 + 0][i_48 + 0] < 0 ? 0 : x_8[i_46 + 0][i_47 + 0][i_48 + 0];
~^~~~~~~
./examples/daimler.c:207:88: error: subscripted value is not an array, pointer, or vector
x_9[i_46 + 0][i_47 + 0][i_48 + 0] = x_8[i_46 + 0][i_47 + 0][i_48 + 0] < 0 ? 0 : x_8[i_46 + 0][i_47 + 0][i_48 + 0];
~^~~~~~~
18 errors generated.

Thanks for reporting! No, "Unknown layer" should not happen here, the list of layers does not contain a layer that is not suppert. I will have a look at it.

Should be fixed now.

Thanks. It works now for SSE
General generator is failing
Code change in applications/daimler/compile.py
general_generator = NNCG()
general_generator.keras_compile(images["images"], model, code_path, "qsse3", arch="sse3", testing=1000,
quatization=True, test_mode='classification')
#sse_generator = NNCG()
#sse_generator.keras_compile(images["images"], model, code_path, "sse3", arch="sse3", testing=1000)
Output
$ python3 applications/daimler/compile.py
Compiling |██████████████████████████████████------| 85.7% ./cnn_qsse3.cpp: In function ‘void cnnqsse3(float ()[18][1], float)’:
./cnn_qsse3.cpp:195:57: error: cannot convert ‘__m128 {aka __vector(4) float}’ to ‘__m128i {aka __vector(2) long long int}’ in assignment
cx_0[i_89 + 0][i_90 + 0][i_91 + 0] = _mm_setzero_ps();
^
Error compiling file with command:  g++ -mssse3 -std=c++11 -g -march=bonnell -DCNN_TEST ./cnn_qsse3.cpp -o ./cnn_qsse3

SSE generator is passing
Code change in applications/daimler/compile.py
#general_generator = NNCG()
#general_generator.keras_compile(images["images"], model, code_path, "qsse3", arch="sse3", testing=1000,
quatization=True, test_mode='classification')
sse_generator = NNCG()
sse_generator.keras_compile(images["images"], model, code_path, "sse3", arch="sse3", testing=1000)
python3 applications/daimler/compile.py
Finished |████████████████████████████████████████| 100.0% 7.1% ---| 0.0%
Evaluating |████████████████████████████████████████| 100.0% , 100.0% ok, errors: ['0.000', '0.000', '0.000', '0.000', '0.000', '0.000', '0.000', '0.000']
Evaluating |████████████████████████████████████████| 100.1% , 100.0% ok, errors: ['0.000', '0.000', '0.000', '0.000', '0.000', '0.000', '0.000', '0.000']
Test finished.

Both cpp are generated -
ls *.cpp
cnn_qsse3.cpp  cnn_sse3.cpp
Only cnn_sse3.cpp is compiling via python code and creating the cnn_sse3 binary.

Tried compiling cnn_qsse3.cpp using clang
clang -DCNN_TEST cnn_qsse3.cpp -o cnn_qsse3 -lm
cnn_qsse3.cpp:214:16: error: always_inline function '_mm_lddqu_si128' requires target feature 'sse3', but would be inlined into function 'cnnqsse3' that is compiled without support for 'sse3'
x = _mm_lddqu_si128((__m128i*)&x_14[i_37 + i_39][i_38 + i_40][i_41]);
^
cnn_qsse3.cpp:215:16: error: always_inline function '_mm_lddqu_si128' requires target feature 'sse3', but would be inlined into function 'cnnqsse3' that is compiled without support for 'sse3'
w = _mm_lddqu_si128((__m128i*)&w_3[i_39][i_40][i_42][i_41]);
^
cnn_qsse3.cpp:216:16: error: always_inline function '_mm_maddubs_epi16' requires target feature 'ssse3', but would be inlined into function 'cnnqsse3' that is compiled without support for 'ssse3'
x = _mm_maddubs_epi16(x, w);
^
cnn_qsse3.cpp:230:14: error: always_inline function '_mm_hadd_epi32' requires target feature 'ssse3', but would be inlined into function 'cnnqsse3' that is compiled without support for 'ssse3'
sum1_0 = _mm_hadd_epi32(hi_0, lo_0);;
^
cnn_qsse3.cpp:231:14: error: always_inline function '_mm_hadd_epi32' requires target feature 'ssse3', but would be inlined into function 'cnnqsse3' that is compiled without support for 'ssse3'
sum2_0 = _mm_hadd_epi32(sum1_0, sum1_0);;
^
5 errors generated.

Tried compiling cnn_sse3.cpp using g++ and clang individually -
g++ -mssse3 -std=c++11 -g -march=bonnell -DCNN_TEST ./cnn_sse3.cpp -o ./cnn_sse3_with_gcc
clang -DCNN_TEST cnn_sse3.cpp -o cnn_sse3_with_clang -lm
this works and runs
Probabaly "general" generator/compiler is not finding it's dependencies but my Linux installation doesn't have them??

To sum up: cnn_qsse3.cpp cannot be compiled on you system at all (you tried g++ via python script and manually clang), cnn_sse3.cpp can be compile with g++ and clang?

OK, I see my mistake in compilation now. Here are the new results which you already confirmed. Just putting it out for reference.
$ g++ -mssse3 -std=c++11 -g -march=bonnell -DCNN_TEST ./cnn_qsse3.cpp -o ./cnn_qsse3 (FAILS)
./cnn_qsse3.cpp: In function ‘void cnnqsse3(float ()[18][1], float)’:
./cnn_qsse3.cpp:195:57: error: cannot convert ‘__m128 {aka __vector(4) float}’ to ‘__m128i {aka __vector(2) long long int}’ in assignment
cx_0[i_89 + 0][i_90 + 0][i_91 + 0] = _mm_setzero_ps();
$ clang -mssse3 -std=c++11 -g -march=bonnell -DCNN_TEST ./cnn_qsse3.cpp -lm (COMPILES)
$ g++ -mssse3 -std=c++11 -g -march=bonnell -DCNN_TEST ./cnn_sse3.cpp -o ./cnn_sse3_with_gcc (COMPILES)
$ clang -DCNN_TEST cnn_sse3.cpp -o cnn_sse3_with_clang -lm (COMPILES)
Thanks again for fixing this. Up to 11.81 performance improvement due to this is quite impressive!


feat: add  OpenAPI specs, API structure, controller for all endpoints

Description

Add OpenAPI specs.
Created foca directory structure.
Controllers for endpoint with mongodb :

GET /repositories
POST /repositories
DELETE /repositories/{id}
GET /repositories/{id}
PUT /repositories
GET /repositories/{id}/builds
POST /repositories/{id}/builds
GET /repositories/{id}/builds/{build_id}
PUT /repositories/{id}/builds/{build_id}  (Internal use to update build complete info)
GET /subscriptions
POST /subscriptions
DELETE /subscriptions/{subscriptions_id}
GET /subscriptions/{subscriptions_id}

Image build using kaniko
Helm chart
Add Exceptions and linting

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] Documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have not reduced the existing code coverage
[ ] I have added docstrings following the Python style guidelines of this project to all new modules, classes, methods and functions are documented with docstrings following; I have updated any previously existing docstrings, if applicable
[ ] I have updated any sections of the app's documentation that are affected by the proposed changes, if applicable

Thanks, @lvarin all the changes are justified. I'll change them as soon as possible.

@akash2237778: could you please give a short summary of the latest changes? Did you address my comments, or perhaps more importantly: were there any important comments/issues that you did/could not address? Is this ready for a final review/merge from your side? :)

@uniqueg Yes, I've changed most of the parts according to the comments. But still working on readme, probably I'll be able to complete it today.

@uniqueg  Could you please repo name to Pubgrade instead of pubgrade because it is failing imports in tests.


.Net: Removed Azure and OpenAI text generation services

Motivation and Context

Resolves: https://github.com/microsoft/semantic-kernel/issues/3154
Removed Azure and OpenAI text generation services in favor of chat completion services.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

Closing this PR as text generation services can work with gpt-3.5-turbo-instruct model which is not going to be deprecated.

Closing this PR as text generation services can work with gpt-3.5-turbo-instruct model which is not going to be deprecated.

The ITextGenerationService implementation in OpenAIChatCompletionService doesn't work with it? Isn't it identical to the implementation used by OpenAITextGenerationService?

The ITextGenerationService implementation in OpenAIChatCompletionService doesn't work with it? Isn't it identical to the implementation used by OpenAITextGenerationService?

When you use kernel with AddOpenAIChatCompletion extention method and use gpt-3.5-turbo-instruct model - it will throw following exception:
Microsoft.SemanticKernel.Http.HttpOperationException: 'This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?
Status: 404 (Not Found)

That's because OpenAIChatCompletionService implements both IChatCompletionService and ITextGenerationService and we check for chat interface first in our logic:
https://github.com/microsoft/semantic-kernel/blob/d3773b21a9a9d221f910444b17313c38f628e425/dotnet/src/SemanticKernel.Core/Functions/KernelFunctionFromPrompt.cs#L145-L157
So, in order to use gpt-3.5-turbo-instruct, the service should implement just ITextGenerationService, as it is in case of OpenAITextGenerationService and usage of AddOpenAITextGeneration extension method.
But I think ideally OpenAIChatCompletionService should implement just IChatCompletionService and OpenAITextGenerationService should implement just ITextGenerationService for clear differentiation. Users shouldn't pass text generation AI model to chat completion service class or extension method.

The reason why OpenAIChatCompletionService implements both IChatCompletionService and ITextGenerationService interfaces is because previously kernel and functions worked only with ITextGenerationService interface and it was a limitation. Now, since we have this differentiation between interfaces inside a core logic, I don't think that OpenAIChatCompletionService still needs to implement ITextGenerationService.


Utilize conllu python library

This PR addresses #12  and uses the upstream conllu library to retrieve conllu annotations.
In a post-processing step, the token ids of multi-word tokens and elided tokens are set to None so that these annotations won't be used for prediction. The multiword token forms and multiword token ids are stored as normal so that behaviour is the same in the predictor.

Hi Dan, just to update you a bit on this. I've made two newer commits which are unrelated to this specific PR. Unfortunately, I didn't have the foresight to create a new branch when focusing just on the conllu library commits so this PR will track my newer commits.
What 84cc77b and b49f618 do is basically load the provided config file for en_ewt and updates train_data_path, validation_data_path, and test_data_path based on the provided name. It also updates the vocabulary path.
I also added a small utility which counts the number of sentences in the training CoNLL-U file for name and divides this number by the batch size which gives you the same number of steps for warmup_steps and start_step as the progress bar as suggested in the README.
These changes make it a bit easier to run UDify on individual treebanks (i.e. avoids having to copy and change these values manually).
In any case, I will add a new branch so that this PR won't get unrelated commits or I could restructure this PR, i.e. close it and only submit the conllu updates from a freshly created branch


[QUILT/FABRIC] [1.19.2] [Bug] Loading directly into a server breaks collision

When opening minecraft and loading directly into a server, the collision boxes of blocks will break and become a random hitbox like a staircase. This will then carry over to singleplayer worlds as well. If the first world opened is not a server, the hitboxes work fine and loading into a server afterwards will continue loading the hitboxes normally without issue.

I have no idea to fix this bug. LOL

Is there any way for it to work then on forge 1.20.1?
Without optifine


ERROR - 'ok' is not a valid severity

I'm getting below error on the zabbix_alerta.log.
 MainThread ERROR - 'ok' is not a valid severity
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/zabbix_alerta.py", line 222, in main
    api.send_alert(**alert)
  File "/usr/local/lib/python2.7/dist-packages/alertaclient/api.py", line 68, in send_alert
    r = self.http.post('/alert', data)
  File "/usr/local/lib/python2.7/dist-packages/alertaclient/api.py", line 378, in post
    return self._handle_error(response)
  File "/usr/local/lib/python2.7/dist-packages/alertaclient/api.py", line 406, in _handle_error
    raise UnknownError(resp['message'])
UnknownError: 'ok' is not a valid severity

Is it possible to for anyone to help me on this?

I have resolved the issue could see issue is due to the deceleration on the alerta server on alerta.conf


Enhance ResolveLicenseInfos to contain original SPDX expressions

See commit messages for detailed information.
FYI: @KorSin, @neubs-bsi
Related to: https://github.com/oss-review-toolkit/ort/issues/3396

licenseInfo: LicenseInfo within ResolvedLicenseInfo is no longer used.
But this information may be used in the rules.kts scripts. Removing it will result in a Breaking Change.
Once we introduce choices to the ResolvedLicenseInfo, not all licenses will remain in licenses: List<ResolvedLicense> of ResolvedLicenseInfo. Hence not all LicenseInfo would be available.
Should it be removed from ResolvedLicenseInfo?
https://github.com/oss-review-toolkit/ort/blob/bb28903bb62959b1a53e1ee1028a89c3674dd60f/model/src/main/kotlin/licenses/ResolvedLicenseInfo.kt#L43-L46


Can't constraint the bias for Zero?

there are three constraint:
maxnorm(m=2): maximum-norm constraint
nonneg(): non-negativity constraint
unitnorm(): unit-norm constraint, enforces the matrix to have unit norm along the last axis
No zero?
by the way? How can I use no bias?
thank!

by the way? How can I use no bias?

Create your own layers with no bias, it's really easy...

oh, I see.
but which argument can be used to create layer with no bias?
such as Dense layer:
output_dim
init
activation
weights
W_regularizer
b_regularizer
activity_regularizer
W_constraint
b_constraint
input_dim

seemingly none of them.
thanks!

Alternatively you could write your own constraint function, which is also really easy.

Any.
Just go into the codebase and copy a class definition and give it a new name.
Then remove any self.b from self.params (and maybe also from the compute stage in the step function to speed shit up)
Then just reinstall keras and you're all set to use your new layer

hum, still need to do it myself anyway.
Thanks a lot!


Fix tests to use v4 Core Tools

Remove the preview labels, some other misc. fixes. Also removed the local binding tests, issue being tracked here #3266

note: Windows test failed only due a timeout


Allow EOF IO passed to JSON::PullParser.new

EOF is a valid pull parser token type.  Because of this, it makes sense to set the initial kind to EOF if that's the initial state of the input versus raising an exception.
Discovered via https://github.com/Blacksmoke16/oq/issues/82

This is good for another review @asterite.

@asterite The use case is for oq in the case where the jq filter doesn't output anything.  E.g. jq '.[] | select(.name != "foo")' <<<$'[{"name":"foo"}]'.  When using a filter like this with oq, and with the output format specified to something other than JSON, the pull parser is failing because the IO is already essentially empty, which is this line: https://github.com/Blacksmoke16/oq/blob/master/src/converters/yaml.cr#L11
oq -i yaml -o yaml '.[] | select(.name != "foo")' <<<$'- name: foo'
oq error: Unexpected token: <EOF> at line 1, column 1

The solution in oq land is of course to just return early if there is no data to process.  However I don't think there's a way to know that the related IO has no data, so this seemed like the most logical solution.  I suppose I could just rescue this exception but :shrug:.

@asterite This change does not parse an empty document as valid. It just makes sure to properly forward the information that it has reached EOF on the input stream.

Thanks! Feel free to merge.

I'm actually unsure if this qualifies as a bug-fix or should wait for the end of the feature freeze.
(Thumbs up for bug fix)

I need an emoji for a horizontal thumb :-D really, both interpretations are valid here. I vote for merging it. BTW @Blacksmoke16 thanks for refactoring the case, that's also a nice improvement.

I think I'd rather postpone this to 1.2. We're about to release 1.1 and there's an off chance that this might have any unforeseeable effect. It's not an urgent bug fix.


represent hashes and accounts in json as base58 with prefixes

change hex representation of hashes to base58check with prefix
e.g. tx hash: tx$base58check

wait with this for confirmation if we actually want to use base58check or maybe bech32

Why would we want to use bech32, what would we gain from it ?

It is considered more modern and if we make the effort in changing out serialization, we can just use this.
general motivation: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#motivation

I updated the issue to convert to bech32, but we should wait to after the elixir-wallet integration.
I have not found a way yet to convert the 5-bit array [0-31] from bech32 decoding to binary yet

https://www.youtube.com/watch?v=NqiN9VFE4CU

closed by https://github.com/aeternity/elixir-research/pull/225


rewrite freeze_versions in Python

adding last feature was painful -- time to make it a proper Python3 helper. Should be ok, since most likely to be used on the system with datalad-container installed, thus having some Python3 available (on rolando - might need some dance).

@yarikoptic How will the Python version be installed?  If not via pip, what third-party libraries can I use?

no - perl script will remain perl script for now.


slock: add updateScript

Description of changes
Add updateScript to check for newly tagged upstream release
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

Hi @astsmtl
please help review this change. no idea why you are not assigned automatically.
Thanks!

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3771


Middle Ear Activity Report

[x] inter-subject loop for MEMA
[x] add MEMA-specific parameters in episodes
[ ] validate with pytest (@RobinGuillard could you help ?)
[ ] make it fully works in the Middle_ear_inter_subject NB

@RobinGuillard I need you help in the
test_scoring
https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/562d335617d0f47c49c11104a7d6c5bab1db9d09/tests/test_scoring.py#L100-L104
I don't understand why
    npt.assert_equal(report["Total burst duration"], 15)
should actual be valid. 15 is the length of the vector but not all are actual bursts (e.g. FALSE at the begginning)
Also, I need your help to do the pytest for the MEMA report,
https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/562d335617d0f47c49c11104a7d6c5bab1db9d09/tests/test_scoring.py#L107-L123

@RobinGuillard I need you help in the
test_scoring
https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/562d335617d0f47c49c11104a7d6c5bab1db9d09/tests/test_scoring.py#L100-L104
I don't understand why
 npt.assert_equal(report["Total burst duration"], 15)
should actual be valid. 15 is the length of the vector but not all are actual bursts (e.g. FALSE at the begginning)
Also, I need your help to do the pytest for the MEMA report,
https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/562d335617d0f47c49c11104a7d6c5bab1db9d09/tests/test_scoring.py#L107-L123

Very weird for the first problem with
npt.assert_equal(report["Total burst duration"], 15)
On my side there is no problem, the test works!

@RobinGuillard I need you help in the
test_scoring
https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/562d335617d0f47c49c11104a7d6c5bab1db9d09/tests/test_scoring.py#L100-L104
I don't understand why
 npt.assert_equal(report["Total burst duration"], 15)
should actual be valid. 15 is the length of the vector but not all are actual bursts (e.g. FALSE at the begginning)
Also, I need your help to do the pytest for the MEMA report,
https://github.com/lkorczowski/Tinnitus-n-Sleep/blob/562d335617d0f47c49c11104a7d6c5bab1db9d09/tests/test_scoring.py#L107-L123

Very weird for the first problem with
npt.assert_equal(report["Total burst duration"], 15)
On my side there is no problem, the test works!

Sorry for closing the PR, it wasn't intentional!


Web container should mount the full project directory, not just docroot

What happened (or feature request):
Our initial solution to support sites containing site files to serve within a folder like docroot was to change the mount point on the container to the docroot folder. This works fine if all code and assets necessary for the site to run exist within docroot, but if the site relies on code or assets above the docroot, they are unavailable to the web container, which is likely to cause the site to fail to function as expected.
What you expected to happen:
Sites need their full code base available in order to serve successfully. We should change the mount point to satisfy this need, and consider a different solution for changing the path the web container serves the site from.
How to reproduce it (as minimally and precisely as possible):
This is easiest demonstrated by attempting to spin up a project that uses composer with a vendor directory outside the docroot. For a d8 example, see https://github.com/drupal-composer/drupal-project. Attempting to start this project in ddev will cause drupal to fatal error, unable to find the vendor directory.
Anything else do we need to know:
Related source links or issues:

This will absolutely need to happen by the time we're handling provider plugins.

I think we should consider prioritizing this issue, as it can affect users today. If their site depends on assets above docroot, it is very likely their site will not function with ddev. In my experience its a common pattern, so I expect it's not a small number of cases either.

And what about the case where public files and private files aren't even on the same partition/mount?

Changing the mount point back to the project root should be trivial, but we'll need a way to update the nginx configuration to reflect the docroot path. This is defined in the server block of the nginx config, which doesn't handle environment variables unfortunately. We could add docker-gen to allow dynamic updating of the configuration similar to how the nginx-proxy works. While we currently only need to change a single line of configuration, I wouldn't be surprised if we needed to account for more configuration scenarios for the web nginx config in the future.

I'm assuming we're going to need the ability to tailor/tweak additional values, so that makes sense to pursue. I imagine we should split that out into a separate issue versus tracking both here even though that would be a dependency for this to proceed.
Also, a separate issue for the private directory question from @rfay would also be handy.

Rather than introducing a moving piece like Dockergen, I'd probably prefer to symlink the docroot to /var/www/html on container start (unless I'm missing some reason that won't work). Dockergen is something we have to deal with in the nginx-proxy, but honestly the template are fairly unwieldy and I'm not eager to introduce it elsewhere.

IMO we have already done a workaround for updating the nginx configuration, and shouldn't pursue another one, since we can reasonably expect additional future configuration requirements such as handling private files. A symlink may work just fine, but may also cause unexpected behavior and/or confusion for users. I don't have specific examples, but vaguely recall seeing issues on a couple specific projects.
I certainly understand hesitation to introduce docker-gen elsewhere based on the complexity of the nginx-proxy templating, but its worth noting that nginx-proxy is dealing with quite a bit more complexity than I think we'd be dealing with in this situation. I can't say introducing it is the most exciting prospect, but I feel like we should be able to address our needs more simplistically than what nginx-proxy is doing.

I kind of wonder if we need some kind of yaml that just describes mounts to be done and where they end up on nginx. More config and possibly complexity than I would prefer, but something like that is going to end up happening at some point. There's no reason to assume that one mount will do the job, or even 2.

I think if we change the mount back to project root, it will address most people's needs. If users needed to provide an additional mount, they can now do so by providing a compose override file that defines an additional mount for the web container (or others as they see fit)


[BUG]: Upgrade Azure.Identity Microsoft.Identity.Client to latest version to resolve security vulnerability

Library name and version
Microsoft.Azure.WebJobs.Extensions.Storage 5.3.0
Describe the bug
Merlin bot is reporting security incident in azure devops pipeline during PR build run.
Pls upgrade the following packages for immediate resolution
Azure.Identity
Microsoft.Identity.Client
Expected behavior
Upgrade Azure.Identity Microsoft.Identity.Client to latest version to resolve security vulnerability
Actual behavior
Azure.Identity Microsoft.Identity.Client is not latest
Reproduction Steps
Check the dependent package versions
Environment
No response

@srini3793, this issue has been resolved with the release of Microsoft.Azure.WebJobs.Extensions.Storage 5.3.1


New package: GPUPolynomials v1.0.0

Registering package: GPUPolynomials
Repository: https://github.com/alexp616/GPUPolynomials.jl
Created by: @alexp616
Version: v1.0.0
Commit: f88daf001c0a48b827a02e3225fdd8606bbd035b
Git reference: main

Thank you for submitting your package! However, please make sure to add some documentation before registering. At the very least, that would be a description of the package's purpose and a small usage example in the README
Note that for a version 1.0, the documentation needs to meet a higher standard. A stable release implies a well-defined API, which requires a full an complete documentation. Thus, this package should probably not be registered with 1.0 as its initial version.


Update to Keycloak 20.0.0

Updated to Keycloak client 20.0.0
Adjusted generate-export-realm script
Removed support for Keycloak 16.1.1

Fixes #806 #805
Signed-off-by: Thomas Darimont<EMAIL_ADDRESS>What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): Fixes #806 #805
Special notes for your reviewer:
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[x] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@st3v0rr this is the initial work for Keycloak 20 support.

I just gave this a spin with a local docker builld. I could successfully apply a complex multi-realm configuration against keycloak 20.0.0 with the changes from this PR.

@st3v0rr I just rebased this PR on the latest master.
I think this PR is ready :)

I'm going to update the keycloak version in this pr to 20.0.1


[BUG] Incidents displayed never show status 'Update'

Update is not showed on either. Previous incidents also do not show the 'Update' status
Image from cloudflarestatus.com for the 2 most recent incidents

Image from discord showing Investigating twice

After actually checking the API output from statuspage, it does not distinguish between Investigating and update,
If yall see a value in reflecting this in the discord output, im happy do do it, else this can be closed.
curl --silent https://www.cloudflarestatus.com/api/v2/incidents/unresolved.json | jq '.incidents[0].incident_updates[].status'
"monitoring"
"identified"
"investigating"
"investigating"


de: Make flattened structs and aliases interact correctly.

The issue is that FlatStructAccess has no access to the aliases of the struct
it's deserializing.
Ideally we'd try to serialize the key rather than checking whether we're going
to use it before-hand, then actually take the value out, but that happens to be
tricky with the current seed API.
So we need to somehow get the aliased names back to FlatStructAccess. Introduce
a serialize_struct-like API that takes them in a backwards-compatible way. For
parallelism, and since we also support aliases on enum variants, also extend the
struct_variant API in a similar way. I'm open to better ways to fix it, but I
can't think of any other that isn't a breaking change...
Fixes #1504.

r? @dtolnay

That's sort-of a breaking change, plus other serialize_struct implementations that use the fields use it as a hint to pre-allocate storage, which in the case of aliases may vastly over-allocate.

Ah, I haven't heard of Deserializer impls pre-allocating storage based on deserialize_struct. Do you have an example of a format like that? Ordinarily it would be the other way around; the Deserializer impl is aware how much data is in the input, and the Deserialize impl needs to pre-allocate based on MapAccess::size_hint.

Blerg, I was misreading code (was reading Serializer impls indeed).
But searched for a bit and found bits that would look at best fishy with that change. For example bincode serializes structs as tuples, and takes fields.len():

https://searchfox.org/mozilla-central/rev/06578bfadb5bdc5faee81f7e9b3c3fed21e616e0/third_party/rust/bincode/src/de/mod.rs#361

I haven't dug about whether this would break bincode for sure. I'm happy to dig out a bit. If it's just lying about a too large size hint it may be ok I guess....

Is there any change to the status of this PR? I just ran into this issue in one of my projects, and it would be nice to have it fixed assuming this implementation covers all bases

Same here. It's August and no movement. @dtolnay @emilio can this conversation be resuscitated or should we take up the mantle?

Ping @dtolnay

Ran into this while trying to make field name changes in a backward-compatible way.


Build(deps-dev): Bump @types/styled-components from 5.1.15 to 5.1.16 (#2048)

Pull request opened by the merge tool on behalf of #2048

Merged in 8b15fda3250a44d514b7a0bef8e7dd56dd9b7f26


When giving a cell focus to edit, the edit cursor is disappears.

Hi @TonyGermaneri,
When double clicking on a cell to edit, I expect to see a blinking edit cursor in the cell.
I no longer see the edit cursor, but I can type and delete and not see any changes, but when I deactivate the cell my changes are then displayed. I've tried reverting any latest changes to no avail.
Expected behavior:

Actual behavior: (arrow points to a cell that is actively being edited)

I'm loading up the library via script tag cdn.jsdelivr, Initializing in an AnglarJS 1.x.
Any suggestions?

Update: Changed CDN source to unpkg and all is well with the cursor.

How peculiar that the source effects the cursor.  I'm glad you got it working.  Ideally you use a build system to compile the lib into your app so you don't have to rely on a CDN.  But CDN is still a totally valid way to do it.  Just realize you expose yourself to the risk the CDN will go down, taking down your app with it.

Good point, I'll pull the unpkg.com version and serve it locally.


flutter build aar with androidSourceJar

how to add  androidSourceJar  to local maven

@duzechao
Your question is better suited for support channels like StackOverflow, so please ask the same there.
Closing from here.


What is PROXYED_SET in GlobalTransactionScanner used for?

PROXYED_SET appears in the GlobalTransactionScanner#wrapIfNecessary，what is it used for? The if branch in the following figure never seems to be accessed @slievrly

Record the proxyed beans, which will be used later when check the bean's scope.
The override strategy for beans with the same name was considered in the early stages.

Based on the modifications made later in the logic, it appears that this branch can indeed no longer be executed.

Based on the modifications made later in the logic, it appears that this branch can indeed no longer be executed.

Thanks for the answer. Is it considered to remove PROXYED_SET related logic? Including the synchronized sync block


pkg_resources.RequirementParseError: Invalid requirement, parse error at "'+https:/'"

I'm using a git+https:// url in my requirements.txt to load a module which i wrote, but which isn't published to PyPI (yet). pip install -r requirements.txt works fine installing that module, however pyparsing fails, throwing the exception shown in the title.
requirements.txt
bundlewrap>=4.4.2
PyNaCl
git+https://git.kunsmann.eu/kunsi/bundlewrap-pass.git#egg=bundlewrap-pass

Full Traceback:
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 90, in __init__
    req = REQUIREMENT.parseString(requirement_string)
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1654, in parseString
    raise exc
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1644, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1402, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 3417, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 1406, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py", line 3205, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pkg_resources._vendor.pyparsing.ParseException: Expected stringEnd (at char 3), (line:1, col:4)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3042, in __init__
    super(Requirement, self).__init__(requirement_string)
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 94, in __init__
    requirement_string[e.loc:e.loc + 8]))
pkg_resources.extern.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'+https:/'"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/bundlewrap/cmdline/__init__.py", line 124, in main
    repo = Repository(path)
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/bundlewrap/repo.py", line 200, in __init__
    self.populate_from_path(self.path)
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/bundlewrap/repo.py", line 484, in populate_from_path
    require(lines)
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 742, in resolve
    requirements = list(requirements)[::-1]
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3035, in parse_requirements
    yield Requirement(line)
  File "/var/lib/jenkins/workspace/bundlewrap_kunsi-bwpass/venv/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3044, in __init__
    raise RequirementParseError(str(e))
pkg_resources.RequirementParseError: Invalid requirement, parse error at "'+https:/'"

The actual application causing this error can be found on github, too: https://github.com/bundlewrap/bundlewrap/blob/master/bundlewrap/repo.py#L484
Remarks:

This was originally filed as pyparsing/pyparsing#268, but they pointed out this issue belongs to this repository.
May be related to #1581
Jenkins Server is running debian buster (setuptools 40.8.0), but I also get this error on my local dev machine (Arch Linux, setuptools 53.0.0)

Hi, I solved this problem by replacing git+https://git.kunsmann.eu/kunsi/bundlewrap-pass.git#egg=bundlewrap-pass with
with bundlewrap-pass @ git+https://git.kunsmann.eu/kunsi/bundlewrap-pass.git#egg=bundlewrap-pass and writing the list of requirements directly to the install_requires parameter of the setup function in the setuptools package as follow for your example.
install_requires=[
"PyNaCl",
"bundlewrap>=4.4.2",
"bundlewrap-pass @ git+https://git.kunsmann.eu/kunsi/bundlewrap-pass.git#egg=bundlewrap-pass"
]

@RemyNtshaykolo any idea how I can bypass install such a package from pypi? I want to install from git, but it goes to pypi even if I give git address as mentioned here. Many thanks in advance.


⚠ AGEG website (redirect) has degraded performance

In 92b8ab4, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2116 ms

Resolved: AGEG website (redirect) performance has improved in 9d31225.


Option to set the position.

Need an option to pull it to the bottom right of the window.

+1

+1

Will add this to the new version 👍

+1 thanks!

@timneutkens Is this coming to the new version? :)

That's the idea @piotryordanov 👍

@NickTikhonov , so how can I align to the right?

I changed the dist file
in C:\Users\myUserName\AppData\Roaming\Hyper.hyper_plugins\node_modules\hyperline\dist\hyperline.js
line: 213
css: ['.line.jsx-1196914242{ justify-content: center;display:flex;align-items:center;position:absolute;overflow:hidden;bottom:0;width:100%;height:18px;font:bold 10px Monospace;pointer-events:none;background:rgba(0,0,0,0.08);margin:5px 0;padding:0 10px;}', '.jsx-1196914242,.wrapper.jsx-1196914242{display:flex;flex-shrink:0;align-items:center;padding-left:10px;padding-right:10px;}']
add justify-content: center


Bug: Replaces new lines with "A" character and makes CSS selector invalid

In utilities.js line 39, .replace(/\n/g, '\A') replaces new line characters with A character. Replacement part should be \\A. This bug causes CSS selectors to be invalid. For example, if an element has many classes separated by new lines, this adds .A selector for each new line. For instance, if class attribute of an element is class1\n class2\n class3, produced CSS selector is .class1A.class2A.class3, where it should be .class1.class2.class3

Thanks for bringing up the issue. It will be tackled along with some other improvements in an upcoming release!

@turgutsaricam hey, just encountered this also.
But, changing this to \A didn't work for me - I am getting the selector of the element using this lib, but after then, trying to find it with document.querySelector(). And when adding \A, it is not workig properly.
Should the fix be replace \n with nothing?


parser: section getKey handle sections with same name

Previously, the section getKey would return keys for the first section
found. If there is more than one section with the same name, the first
section was always used when searching for keys in those sections. This
is because it loops through all the file lines looking for a section
with the same name, and the first one declared was always foudn first.
Use the section position, rather than name, to determine the section we
are looking for keys for.

Coverage remained the same at 80.899% when pulling 0e4d8f27e48ea505e990df4c6b84bc4f21bf9542 on vishen:getkey_sections_with_same_name into 0accc5354f511cef1538b6099fbdebd6e365f49c on knq:master.

Coverage remained the same at 80.899% when pulling 0e4d8f27e48ea505e990df4c6b84bc4f21bf9542 on vishen:getkey_sections_with_same_name into 0accc5354f511cef1538b6099fbdebd6e365f49c on knq:master.

Coverage remained the same at 80.899% when pulling 0e4d8f27e48ea505e990df4c6b84bc4f21bf9542 on vishen:getkey_sections_with_same_name into 0accc5354f511cef1538b6099fbdebd6e365f49c on knq:master.

@vishen note that you seem to have broken some tests, though.

Opps, let me fix them!

Fixed.


Mirror image zoomed even when Mirror zoom is at 0

When we display a website or PDF file and use the "mirror" function, (The TVs are a long way away), the image in the mirror window on the KH computer screen is zoomed in, even the control bar from ONLY M is zoomed, so we can only work with about a quarter of the webpage that is visible on the TVs at the front of the hall.

I solved it by changing the resolution of the TVs at the front of the hall.


Why are unused styles not cleared?

nuxt.config

tailwind.config.js

You need not do any of this configuration by yourself as this module adds the paths properly resolved.
You should share a reproduction to provide context of what styles you're talking about that is unused.

You need not do any of this configuration by yourself as this module adds the paths properly resolved.
You should share a reproduction to provide context of what styles you're talking about that is unused.

I need tailwind to generate only those styles that I use in the project, but it rolls out absolutely all the styles for me

Again, please provide a reproduction on this - it may be due to your CSS directives, content detections, or autoimports, etc.

Nuxt 3

I think what you're willing to do is - https://github.com/nuxt/ui/issues/877#issuecomment-1825437924


Handle messages if a you are already enrolled in a course

Handled incorrect popup error message which appears for already enrolled courses.
cc - @rohan-dhamal-clarice @hanningni
JIRA: https://openedx.atlassian.net/browse/MOB-1521

Looks good!