using "DropdownButton's selectedItemBuilder" throws assertion exception (copy-paste reproducible code provided)

Run this:
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData.dark(),
      home: Scaffold(
        body: DropdownButtonHideUnderline(
          child: DropdownButtonFormField<Color>(
            selectedItemBuilder: (context) {
              return [
                DropdownMenuItem<Color>(
                  value: Colors.green,
                  child: RichText(
                    text: TextSpan(
                      children: [
                        WidgetSpan(
                          child: Padding(
                            padding: const EdgeInsets.only(
                              right: 10,
                            ),
                            child: Icon(Icons.ac_unit),
                          ),
                          baseline: TextBaseline.alphabetic,
                          alignment: PlaceholderAlignment.aboveBaseline,
                        ),
                        const TextSpan(text: 'By '),
                        TextSpan(
                          text: 'test',
                          style: const TextStyle(
                            fontWeight: FontWeight.w700,
                          ),
                        ),
                      ],
                    ),
                  ),
                )
              ];
            },
            icon: SizedBox(),
            value: Colors.accents[1],
            decoration: const InputDecoration(
              enabledBorder: UnderlineInputBorder(
                borderSide: BorderSide(
                  color: Colors.transparent,
                ),
              ),
              focusedBorder: UnderlineInputBorder(
                borderSide: BorderSide(
                  color: Colors.transparent,
                ),
              ),
              labelStyle: TextStyle(
                color: Colors.black,
                fontWeight: FontWeight.w500,
                fontSize: 14,
              ),
            ),
            items: Colors.accents.map((value) {
              return DropdownMenuItem<Color>(
                value: value,
                child: RichText(
                  text: TextSpan(
                    children: [
                      TextSpan(
                        text: value.toString(),
                        style: const TextStyle(
                          fontWeight: FontWeight.w700,
                        ),
                      ),
                    ],
                  ),
                ),
              );
            }).toList(),
            onChanged: (value) {},
          ),
        ),
      ),
    ),
  );
}

Doctor:
[✓] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.22000.282], locale en-US)
    • Flutter version 2.5.3 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (2 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Agone\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.2
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.61.2)
    • VS Code at C:\Users\Agone\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.27.0

[✓] VS Code (version 1.62.0-insider)
    • VS Code at C:\Users\Agone\AppData\Local\Programs\Microsoft VS Code Insiders
    • Flutter extension version 3.27.0

[✓] Connected device (1 available)
    • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.282]

• No issues found!

Selected item disappears as a result.

Your problem is that the function assigned to "selectedItemBuilder" should return a list containing customized widgets corresponding to your items attribute under "DropdownButtonFormField",
meaning that they should both equal in size,
so when you pick a "DropdownMenuItem" the "DropdownButton" widget should display the corresponding widget residing at the same index as the selected item in items.
so the selectedItemBuilder property should look somewhat like this:
selectedItemBuilder: (context) => Colors.accents.map((value) =>
      RichText(
        text: TextSpan(
          children: [
            WidgetSpan(
              child: Padding(
                padding: const EdgeInsets.only(
                  right: 10,
                ),
                child: Icon(Icons.ac_unit),
              ),
              baseline: TextBaseline.alphabetic,
              alignment: PlaceholderAlignment.aboveBaseline,
            ),
            const TextSpan(text: 'By '),
            TextSpan(
              text: 'test',
              style: const TextStyle(
                fontWeight: FontWeight.w700,
              ),
            ),
          ],
        ),
      )).toList()

Your problem is that the function assigned to "selectedItemBuilder" should return a list containing customized widgets corresponding to your items attribute under "DropdownButtonFormField", meaning that they should both equal in size, so when you pick a "DropdownMenuItem" the "DropdownButton" widget should display the corresponding widget residing at the same index as the selected item in items.
so the selectedItemBuilder property should look somewhat like this:
selectedItemBuilder: (context) => Colors.accents.map((value) =>
      RichText(
        text: TextSpan(
          children: [
            WidgetSpan(
              child: Padding(
                padding: const EdgeInsets.only(
                  right: 10,
                ),
                child: Icon(Icons.ac_unit),
              ),
              baseline: TextBaseline.alphabetic,
              alignment: PlaceholderAlignment.aboveBaseline,
            ),
            const TextSpan(text: 'By '),
            TextSpan(
              text: 'test',
              style: const TextStyle(
                fontWeight: FontWeight.w700,
              ),
            ),
          ],
        ),
      )).toList()

Nice catch. This fixed the issue.
In retrospect the 'index' keyword should have tipped me off. Nonetheless, imo the error could be improved as I didn't care about the actual value selected or its siblings and only wanted to show a specific widget in the 'selectedItemBuilder.'
I'll leave this open for now to suggest a better way to modify the error message as I feel it's ambiguous enough to warrant a change in wording. Any team member is welcome to close this issue once my feedback has been acknowledged.

@Agondev, can you share the assertion message that you got initially?

@Agondev, can you share the assertion message that you got initially?

Minimal reproduction error
Launching lib\main.dart on Windows in debug mode...
Connecting to VM Service at ws://<IP_ADDRESS>:61443/nvjaBpEWius=/ws

════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during paint():
'package:flutter/src/rendering/stack.dart': Failed assertion: line 717 pos 12: 'child != null': is not true.

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.md

The relevant error-causing widget was
DropdownButtonFormField<Color>
When the exception was thrown, this was the stack
#2      RenderIndexedStack._childAtIndex
#3      RenderIndexedStack.paintStack
#4      RenderStack.paint
#5      RenderObject._paintWithContext
#6      PaintingContext.paintChild
#7      RenderBoxContainerDefaultsMixin.defaultPaint
#8      RenderFlex.paint
#9      RenderObject._paintWithContext
#10     PaintingContext.paintChild
#11     RenderShiftedBox.paint
#12     RenderObject._paintWithContext
#13     PaintingContext.paintChild
#14     RenderProxyBoxMixin.paint
#15     RenderObject._paintWithContext
#16     PaintingContext.paintChild
#17     RenderProxyBoxMixin.paint
#18     RenderObject._paintWithContext
#19     PaintingContext.paintChild
#20     RenderProxyBoxMixin.paint
#21     RenderObject._paintWithContext
#22     PaintingContext.paintChild
#23     RenderProxyBoxMixin.paint
#24     RenderObject._paintWithContext
#25     PaintingContext.paintChild
#26     RenderProxyBoxMixin.paint
#27     RenderObject._paintWithContext
#28     PaintingContext.paintChild
#29     RenderProxyBoxMixin.paint
#30     RenderObject._paintWithContext
#31     PaintingContext.paintChild
#32     _RenderDecoration.paint.doPaint
#33     _RenderDecoration.paint
#34     RenderObject._paintWithContext
#35     PaintingContext.paintChild
#36     RenderProxyBoxMixin.paint
#37     RenderObject._paintWithContext
#38     PaintingContext.paintChild
#39     RenderBoxContainerDefaultsMixin.defaultPaint
#40     RenderCustomMultiChildLayoutBox.paint
#41     RenderObject._paintWithContext
#42     PaintingContext.paintChild
#43     RenderProxyBoxMixin.paint
#44     _RenderInkFeatures.paint
#45     RenderObject._paintWithContext
#46     PaintingContext.paintChild
#47     RenderProxyBoxMixin.paint
#48     PaintingContext.pushLayer
#49     RenderPhysicalModel.paint
#50     RenderObject._paintWithContext
#51     PaintingContext.paintChild
#52     RenderProxyBoxMixin.paint
#53     RenderObject._paintWithContext
#54     PaintingContext.paintChild
#55     RenderProxyBoxMixin.paint
#56     RenderObject._paintWithContext
#57     PaintingContext._repaintCompositedChild
#58     PaintingContext.repaintCompositedChild
#59     PaintingContext._compositeChild
#60     PaintingContext.paintChild
#61     RenderProxyBoxMixin.paint
#62     RenderObject._paintWithContext
#63     PaintingContext.paintChild
#64     RenderAnimatedOpacityMixin.paint
#65     RenderObject._paintWithContext
#66     PaintingContext.paintChild
#67     RenderProxyBoxMixin.paint
#68     RenderFractionalTranslation.paint
#69     RenderObject._paintWithContext
#70     PaintingContext.paintChild
#71     RenderProxyBoxMixin.paint
#72     RenderObject._paintWithContext
#73     PaintingContext._repaintCompositedChild
#74     PaintingContext.repaintCompositedChild
#75     PaintingContext._compositeChild
#76     PaintingContext.paintChild
#77     RenderProxyBoxMixin.paint
#78     RenderObject._paintWithContext
#79     PaintingContext.paintChild
#80     RenderProxyBoxMixin.paint
#81     RenderObject._paintWithContext
#82     PaintingContext.paintChild
#83     RenderProxyBoxMixin.paint
#84     RenderOffstage.paint
#85     RenderObject._paintWithContext
#86     PaintingContext.paintChild
#87     RenderProxyBoxMixin.paint
#88     RenderObject._paintWithContext
#89     PaintingContext.paintChild
#90     _RenderTheatre.paintStack
#91     _RenderTheatre.paint
#92     RenderObject._paintWithContext
#93     PaintingContext.paintChild
#94     RenderProxyBoxMixin.paint
#95     RenderObject._paintWithContext
#96     PaintingContext.paintChild
#97     RenderProxyBoxMixin.paint
#98     RenderObject._paintWithContext
#99     PaintingContext.paintChild
#100    RenderProxyBoxMixin.paint
#101    RenderObject._paintWithContext
#102    PaintingContext.paintChild
#103    RenderProxyBoxMixin.paint
#104    RenderObject._paintWithContext
#105    PaintingContext.paintChild
#106    RenderProxyBoxMixin.paint
#107    RenderObject._paintWithContext
#108    PaintingContext.paintChild
#109    RenderProxyBoxMixin.paint
#110    RenderObject._paintWithContext
#111    PaintingContext.paintChild
#112    RenderProxyBoxMixin.paint
#113    RenderObject._paintWithContext
#114    PaintingContext.paintChild
#115    RenderView.paint
#116    RenderObject._paintWithContext
#117    PaintingContext._repaintCompositedChild
#118    PaintingContext.repaintCompositedChild
#119    PipelineOwner.flushPaint
#120    RendererBinding.drawFrame
#121    WidgetsBinding.drawFrame
#122    RendererBinding._handlePersistentFrameCallback
#123    SchedulerBinding._invokeFrameCallback
#124    SchedulerBinding.handleDrawFrame
#125    SchedulerBinding.scheduleWarmUpFrame.<anonymous closure>
(elided 13 frames from class _AssertionError, class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
The following RenderObject was being processed when the exception was fired: RenderIndexedStack#509ba relayoutBoundary=up1
RenderObject: RenderIndexedStack#509ba relayoutBoundary=up1
    parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
    constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=24.0)
    size: Size(78.0, 24.0)
    alignment: AlignmentDirectional.centerStart
    textDirection: ltr
    fit: loose
    index: 1
    child 1: RenderConstrainedBox#d0ec4 relayoutBoundary=up2 NEEDS-PAINT
        parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
        constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=24.0)
        size: Size(78.0, 24.0)
        additionalConstraints: BoxConstraints(0.0<=w<=Infinity, 48.0<=h<=Infinity)
        child: RenderPositionedBox#a27fa relayoutBoundary=up3 NEEDS-PAINT
            parentData: <none> (can use size)
            constraints: BoxConstraints(0.0<=w<=Infinity, h=24.0)
            size: Size(78.0, 24.0)
            alignment: AlignmentDirectional.centerStart
            textDirection: ltr
            widthFactor: expand
            heightFactor: expand
            child: RenderParagraph#06a57 relayoutBoundary=up4 NEEDS-PAINT
                parentData: offset=Offset(0.0, 0.0) (can use size)
                constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=24.0)
                size: Size(78.0, 24.0)
                textAlign: start
                textDirection: ltr
                softWrap: wrapping at box width
                overflow: clip
                locale: en_US
                maxLines: unlimited
                text: TextSpan
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<Color>
════════════════════════════════════════════════════════════════════════════════

@danagbemava-nc in this minimual reproduction there's an error that's missing when hovering over the dropdown.
Here it is with the onHover error (using Win11):

Non minimal reproduction error
Restarted application in 1,196ms.
[sentry] [debug] release<EMAIL_ADDRESS>Reloaded 1 of 1908 libraries in 365ms.
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during paint():
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.

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.md

The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
When the exception was thrown, this was the stack
#2      RenderIndexedStack._childAtIndex
#3      RenderIndexedStack.paintStack
#4      RenderStack.paint
#5      RenderObject._paintWithContext
#6      PaintingContext.paintChild
#7      RenderBoxContainerDefaultsMixin.defaultPaint
#8      RenderFlex.paint
#9      RenderObject._paintWithContext
#10     PaintingContext.paintChild
#11     RenderShiftedBox.paint
#12     RenderObject._paintWithContext
#13     PaintingContext.paintChild
#14     RenderProxyBoxMixin.paint
#15     RenderObject._paintWithContext
#16     PaintingContext.paintChild
#17     RenderProxyBoxMixin.paint
#18     RenderObject._paintWithContext
#19     PaintingContext.paintChild
#20     RenderProxyBoxMixin.paint
#21     RenderObject._paintWithContext
#22     PaintingContext.paintChild
#23     RenderProxyBoxMixin.paint
#24     RenderObject._paintWithContext
#25     PaintingContext.paintChild
#26     RenderProxyBoxMixin.paint
#27     RenderObject._paintWithContext
#28     PaintingContext.paintChild
#29     RenderProxyBoxMixin.paint
#30     RenderObject._paintWithContext
#31     PaintingContext.paintChild
#32     _RenderDecoration.paint.doPaint
#33     _RenderDecoration.paint
#34     RenderObject._paintWithContext
#35     PaintingContext.paintChild
#36     RenderProxyBoxMixin.paint
#37     RenderObject._paintWithContext
#38     PaintingContext.paintChild
#39     RenderBoxContainerDefaultsMixin.defaultPaint
#40     RenderFlex.paint
#41     RenderObject._paintWithContext
#42     PaintingContext.paintChild
#43     RenderProxyBoxMixin.paint
#44     RenderObject._paintWithContext
#45     PaintingContext.paintChild
#46     RenderBoxContainerDefaultsMixin.defaultPaint
#47     RenderFlex.paint
#48     RenderObject._paintWithContext
#49     PaintingContext.paintChild
#50     RenderProxyBoxMixin.paint
#51     RenderObject._paintWithContext
#52     PaintingContext.paintChild
#53     RenderProxyBoxMixin.paint
#54     RenderObject._paintWithContext
#55     PaintingContext.paintChild
#56     RenderProxyBoxMixin.paint
#57     RenderObject._paintWithContext
#58     PaintingContext.paintChild
#59     RenderProxyBoxMixin.paint
#60     RenderObject._paintWithContext
#61     PaintingContext.paintChild
#62     RenderProxyBoxMixin.paint
#63     _RenderInkFeatures.paint
#64     RenderObject._paintWithContext
#65     PaintingContext.paintChild
#66     RenderProxyBoxMixin.paint
#67     PaintingContext.pushLayer
#68     RenderPhysicalModel.paint
#69     RenderObject._paintWithContext
#70     PaintingContext.paintChild
#71     RenderBoxContainerDefaultsMixin.defaultPaint
#72     RenderFlex.paint
#73     RenderObject._paintWithContext
#74     PaintingContext.paintChild
#75     RenderShiftedBox.paint
#76     RenderObject._paintWithContext
#77     PaintingContext.paintChild
#78     RenderProxyBoxMixin.paint
#79     RenderDecoratedBox.paint
#80     RenderObject._paintWithContext
#81     PaintingContext.paintChild
#82     RenderProxyBoxMixin.paint
#83     RenderObject._paintWithContext
#84     PaintingContext.paintChild
#85     RenderProxyBoxMixin.paint
#86     RenderObject._paintWithContext
#87     PaintingContext._repaintCompositedChild
#88     PaintingContext.repaintCompositedChild
#89     PipelineOwner.flushPaint
#90     RendererBinding.drawFrame
#91     WidgetsBinding.drawFrame
#92     RendererBinding._handlePersistentFrameCallback
#93     SchedulerBinding._invokeFrameCallback
#94     SchedulerBinding.handleDrawFrame
#95     SchedulerBinding._handleDrawFrame
#99     _invoke (dart:ui/hooks.dart:166:10)
#100    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270:5)
#101    _drawFrame (dart:ui/hooks.dart:129:31)
(elided 5 frames from class _AssertionError and dart:async)
The following RenderObject was being processed when the exception was fired: RenderIndexedStack#6fabd relayoutBoundary=up1
RenderObject: RenderIndexedStack#6fabd relayoutBoundary=up1
    parentData: offset=Offset(0.0, 1.0); flex=null; fit=null (can use size)
    constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=24.0)
    size: Size(126.0, 22.0)
    alignment: AlignmentDirectional.centerStart
    textDirection: ltr
    fit: loose
    index: 2
    child 1: RenderParagraph#3d20f relayoutBoundary=up2 NEEDS-PAINT
        parentData: not positioned; offset=Offset(0.0, 0.0) (can use size)
        constraints: BoxConstraints(0.0<=w<=Infinity, 0.0<=h<=24.0)
        size: Size(126.0, 22.0)
        textAlign: start
        textDirection: ltr
        softWrap: wrapping at box width
        overflow: clip
        locale: en_US
        maxLines: unlimited
        text: TextSpan
            debugLabel: ((((blackRedmond bodyText1).apply).merge(unknown)).copyWith).copyWith
            inherit: true
            color: Color(0xff000000)
            family: Hind
            size: 14.0
            decoration: TextDecoration.none
            WidgetSpan#6c924
                alignment: aboveBaseline
                baseline: alphabetic
            TextSpan
                "By "
            TextSpan
                inherit: true
                weight: 700
                "Popularity"
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true.
The relevant error-causing widget was
DropdownButtonFormField<SeriesSorting_Sorting>
════════════════════════════════════════════════════════════════════════════════
[sentry] "[debug] Capture from onError 'package:flutter/src/rendering/stack.dart': Failed assertion: line 716 pos 12: 'i == index': is not true."

Hi @Agondev, how do you propose the error/assertion message be improved?

[✔]
"SelectedItemBuilder's index out of range (items.length != builder's children.length)"
[✔]
"Index out of range (are you sure items and selectedItemBuilder return the same list length"
[❌]
"The following assertion was thrown during paint():
'package:flutter/src/rendering/stack.dart': Failed assertion: line 717 pos 12: 'child != null': is not true.

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:"

Assertion should have been caught within the dropdown widget class.

Thanks for the suggestions

Hi @Agondev, how do you propose the error/assertion message be improved?

[✔] "SelectedItemBuilder's index out of range (items.length != builder's children.length)"
[✔] "Index out of range (are you sure items and selectedItemBuilder return the same list length"
[❌]
"The following assertion was thrown during paint():
'package:flutter/src/rendering/stack.dart': Failed assertion: line 717 pos 12: 'child != null': is not true.

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:"

Assertion should have been caught within the dropdown widget class.

The assertion improvement sounds about right.
Just notice that catching an assertion error is weird, since assertions in dart are used in development and ignored during production, so it is weird to catch an error that doesn't always exist.
Also, the specific error that you've experienced was thrown by the IndexedStack widget (built in flutter), which is used by the DropdownButton widget.
So the improvement should be one of the two:

The function "_childAtIndex()" at "RenderIndexedStack" should include a proper messages for the following assertions:

    assert(i == index);
    assert(child != null);

should turn to this
    assert(i == index, "index $index is out of range (0, ${childCount - 1})");
    assert(child != null, "The Displayed child is null. Make sure that the childrens of your widget doesn't contain any nulls and that the given index is in the bounds of the widget's children.");

Add an assertion in DropdownButton that would pretty much imitate the assetion done on "RenderIndexedStack" with the exception that the error message could be now more specific to DropdownButton.


⚠ Samsung has degraded performance

In 84ae88d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1937 ms

Resolved: Samsung performance has improved in 2e9f1db.


All Async File Api Tests

Description
Tests not converted:
uploadTimeout() - cant set timeout
uploadIncorrectSize() - cant set size
readError() - cant pass in null
uploadInputStreamSingleUpload() - cant set length
Helper method uploadInputStreamSingleUploadSupplier() - only used in uploadInputStreamSingleUpload()
Helper method readFromInputStream() - only used when handling openQueryInputStream, which is not included in async
Tests Removed from FileApiTest.java :
downloadFileAsyncBufferCopy()
downloadFileEtagLock()
uploadFromFile()
uploadFromFileDefaultNoOverwrite()
uploadFromFileOverwrite()
uploadFromFileReporter()
uploadFromFileListener()
asyncBufferedUploadEmpty()
asyncBufferedUploadEmptyBuffers()
asyncBufferedUpload()
bufferedUploadWithReporter()
bufferedUploadWithListener()
bufferedUploadChunkedSource()
bufferedUploadHandlePathing()
bufferedUploadHandlePathingHotFlux()
bufferedUploadHandlePathingHotFluxWithTransientFailure()
bufferedUploadIllegalArgumentsNull()
bufferedUploadHeaders()
bufferedUploadMetadata()
bufferedUploadOptions()
bufferedUploadPermissionsAndUmask()
bufferedUploadAC()
bufferedUploadACFail()
uploadBufferPoolLockThreeOrMoreBuffers()
bufferedUploadDefaultNoOverwrite()
bufferedUploadOverwrite()
uploadNumAppends()
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/azp run java - storage - tests

/azp run java - storage - tests


make check error

I run make check on macOS 10.12.6 :
➜  build make check
Scanning dependencies of target peloton-test-common
[  1%] Building CXX object test/CMakeFiles/peloton-test-common.dir/__/third_party/gmock/gmock-gtest-all.cc.o
[  1%] Building CXX object test/CMakeFiles/peloton-test-common.dir/__/third_party/gmock/gmock_main.cc.o
In file included from /Users/tao/Cpp/peloton-master/third_party/gmock/gmock_main.cc:33:
/Users/tao/Cpp/peloton-master/third_party/gmock/gmock/gmock.h:893:27: error: use of undeclared identifier 'kReference'
    return type(array, N, kReference);
                          ^
/Users/tao/Cpp/peloton-master/third_party/gmock/gmock/gmock.h:900:27: error: use of undeclared identifier 'kCopy'; did you mean
      'Copy'?
    return type(array, N, kCopy);
                          ^~~~~
                          Copy
/Users/tao/Cpp/peloton-master/third_party/gmock/gmock/gmock.h:896:15: note: 'Copy' declared here
  static type Copy(const Element (&array)[N]) {
              ^
/Users/tao/Cpp/peloton-master/third_party/gmock/gmock/gmock.h:918:47: error: use of undeclared identifier 'kReference'
    return type(get<0>(array), get<1>(array), kReference);
                                              ^
/Users/tao/Cpp/peloton-master/third_party/gmock/gmock/gmock.h:922:47: error: use of undeclared identifier 'kCopy'; did you mean
      'Copy'?
    return type(get<0>(array), get<1>(array), kCopy);
                                              ^~~~~
                                              Copy
/Users/tao/Cpp/peloton-master/third_party/gmock/gmock/gmock.h:920:15: note: 'Copy' declared here
  static type Copy(const ::std::tr1::tuple<ElementPointer, Size>& array) {
              ^
4 errors generated.
make[3]: *** [test/CMakeFiles/peloton-test-common.dir/__/third_party/gmock/gmock_main.cc.o] Error 1
make[2]: *** [test/CMakeFiles/peloton-test-common.dir/all] Error 2
make[1]: *** [test/CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2

I found the definition of kReference and kCopy is in `gtest/gtest.h.

Please list up what you have done before make check, and their results.  This seems to be some compilation configuration issue from my quick web search.  My OSX 10.12.5 works fine, and yours should work if you followed the typical build instructions.

I'd like to add that if you could list your compiler/version it helps a lot.
Em 26 de set de 2017 00:00, "Jungmin Seo"<EMAIL_ADDRESS>escreveu:

Please list up what you have done before make check, and their results.
This seems to be some compilation configuration issue from my quick web
search. My OSX 10.12.5 works fine, and yours should work if you followed
the typical build instructions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cmu-db/peloton/issues/812#issuecomment-332079976, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACMgfeVPS9NrBlfs9AERsHCDUppp3Y9Bks5smHbGgaJpZM4Pjmz7
.

Before I run make check, I run cmake .. and make -j 4 in directory named build. The two commands all run successfully.
cmake -DCMAKE_BUILD_TYPE=Debug ..
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00042
-- The C compiler identification is AppleClang <IP_ADDRESS>00042
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
INFO Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

-- Unknown compiler. Version info:
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Selected compiler
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   chrono
--   date_time
--   atomic
-- Found GFlags: /usr/local/include
-- Found gflags  (include: /usr/local/include, library: /usr/local/lib/libgflags.dylib)
-- Found Protobuf: /usr/local/lib/libprotobuf.dylib (found version "3.4.0")
-- Found PROTOBUF Compiler: /Users/tao/anaconda3/bin/protoc
-- Found libevent (include: /usr/local/include, library: /usr/local/lib/libevent.dylib)
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.13") found components:  doxygen dot
-- Found JeMalloc: /usr/local/lib/libjemalloc.dylib
-- Found jemalloc (include: , library: /usr/local/lib/libjemalloc.dylib)
-- Found LLVM 3.7.1
-- Found PythonInterp: /Users/tao/anaconda3/bin/python (found version "3.6.1")
-- Performing Test COMPILER_SUPPORTS_CXX1Y
-- Performing Test COMPILER_SUPPORTS_CXX1Y - Success
-- Found Git: /usr/local/bin/git (found version "2.14.1")
--
-- ******************* Peloton Configuration Summary *******************
-- General:
--   Version           :   0.0.5
--   Git               :   unknown
--   System            :   Darwin
--   Compiler          :   /Library/Developer/CommandLineTools/usr/bin/c++ ( )
--   Release CXX flags :   -O3 -DNDEBUG -std=c++1y -D__PELOTONFILE__='"$(subst /Users/tao/Cpp/peloton-master/,,$(abspath $<))"' -fcolor-diagnostics -fPIC -Wall -Wextra -Werror -mcx16 -Wno-invalid-offsetof -march=native -Wno-tautological-undefined-compare -Wno-unused-private-field -Wno-braced-scalar-init -Wno-constant-conversion -Wno-potentially-evaluated-expression -Wno-infinite-recursion -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/local/opt/openssl/include -Wno-strict-aliasing
--   Debug CXX flags   :   -g -O0 -ggdb -fno-omit-frame-pointer -fno-optimize-sibling-calls -std=c++1y -D__PELOTONFILE__='"$(subst /Users/tao/Cpp/peloton-master/,,$(abspath $<))"' -fcolor-diagnostics -fPIC -Wall -Wextra -Werror -mcx16 -Wno-invalid-offsetof -march=native -Wno-tautological-undefined-compare -Wno-unused-private-field -Wno-braced-scalar-init -Wno-constant-conversion -Wno-potentially-evaluated-expression -Wno-infinite-recursion -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/local/opt/openssl/include -Wno-strict-aliasing
--   Build type        :   Debug
--
--   BUILD_docs        :   ON
--
-- Dependencies:
--   Linker flags      :
--   Boost             :   Yes (ver. 1.55)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 3.4.0)
--   LLVM              :   Yes (ver. 3.7.1)
--
-- Documentaion:
--   Doxygen           :   /usr/local/bin/doxygen (1.8.13)
--   config_file       :
--
-- Install:
--   Install path      :   /Users/tao/Cpp/peloton-master/build/install
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/tao/Cpp/peloton-master/build

➜  build make -j 4
[  0%] Running C++/Python protocol buffer compiler on /Users/tao/Cpp/peloton-master/src/proto/abstract_service.proto
[  0%] Running C++/Python protocol buffer compiler on /Users/tao/Cpp/peloton-master/src/proto/logging_service.proto
Scanning dependencies of target libpg_query
[  0%] Original libpg makefile target

.......

[ 95%] Building CXX object src/CMakeFiles/peloton.dir/type/value.cpp.o
[ 95%] Building CXX object src/CMakeFiles/peloton.dir/type/varlen_type.cpp.o
[ 95%] Building CXX object src/CMakeFiles/peloton.dir/util/string_util.cpp.o
[ 95%] Building CXX object src/CMakeFiles/peloton.dir/util/stringbox_util.cpp.o
[ 97%] Building CXX object src/CMakeFiles/peloton.dir/__/third_party/murmur3/MurmurHash3.cpp.o
[ 97%] Building CXX object src/CMakeFiles/peloton.dir/__/third_party/libcount/empirical_data.cc.o
[ 97%] Building CXX object src/CMakeFiles/peloton.dir/__/third_party/libcount/hll.cc.o
[ 97%] Building CXX object src/CMakeFiles/peloton.dir/__/third_party/libcount/hll_data.cc.o
[ 97%] Building CXX object src/CMakeFiles/peloton.dir/__/third_party/libcount/utility.cc.o
[ 97%] Linking CXX shared library ../lib/libpeloton-d.dylib
[ 97%] Built target peloton
Scanning dependencies of target peloton-bin
[ 97%] Building CXX object src/CMakeFiles/peloton-bin.dir/main/peloton/peloton.cpp.o
[100%] Linking CXX executable ../bin/peloton
[100%] Built target peloton-bin

Try cmake -DCMAKE_PREFIX_PATH=llvm-config-3.7 --prefix -DCMAKE_BUILD_TYPE=release ...  This may not solve the problem, but in OSX, this PREFIX cmake option is required.

Duplicate of #824

@PauloAmora @seojungmin @apavlo
I have found the reason and test it:
add -Wno-sign-compare after -Werror at: https://github.com/cmu-db/peloton/blob/master/CMakeLists.txt#L76
remove SYSTEM at: https://github.com/cmu-db/peloton/blob/master/test/CMakeLists.txt#L36

Can you send a PR with the fix so that you get credit for it?

@apavlo
Hi, Professor, I have created a pull request: https://github.com/cmu-db/peloton/pull/853
I have test the modification on Mac(10.12.6, clang-8<IP_ADDRESS>) and Ubuntu(16.04, gcc 5.4) successfully.

We are not going to be merging this as discussed in #853


ENH Remove the OneHotEncoder inheritance SimilarityEncoder

Problem Description
Follows up on https://github.com/skrub-data/skrub/pull/801
The SimilarityEncoder inherits from scikit-learn's OneHotEncoder, whose implementation might be heavy since we don't benefit from this parent class as we merely call check_X during fit.
Feature Description
Replace the inheritance with (TransformerMixin, BaseEstimator) and make the relevant small updates. This would also be the opportunity to perform some refactoring if needed.
Alternative Solutions
No response
Additional Context
No response

also following other discussions, should this encoder be made to work on dataframes and manipulate columns by name rather than index?

also following other discussions, should this encoder be made to work on dataframes and manipulate columns by name rather than index?

Ideally, it would work on dataframes and arrays, don't you think?


Added pop method on collection, collection-proxy, and test

Closes #37
Added Tests

@skbro Thank you! Merged!

Thank you for your time :)


Support restricting ItemsAdder repairs in anvil & player inv

ItemsAdder items are able to be repaired in anvils even if the player is not the appropriate backstory. Expected behavior is that they have to be either Mechanic (to repair weapons) or Farmer (to repair armor)

Not using ItemsAdder any longer


Allow on fire in workflow expressions

When calling attributeWhenReady using workflow syntax we should not abort when the entity is on fire.  This is different from what we do using DSL expressions.
This gives us more control in pure workflow based entities where we can choose how to respond to the entities status

Good idea and good impl.  I extended this in b4fd8d634b44981f28d3c323b55acfdf3930478f so that it only applies to workflow, not e.g. to template files being resolved, and merged.


Can't Pause

First of all thanks for an amazing work, this really has enormous potential.
I just did a test over LAN. The sync of speed works as it should (Really impressive) but it can't handle Pause.

Yeah, I got stuck on that when I was last working on the mod. Could not figure out how to change it.
I cannot remember the reason why, but I think the network loop also stopped when the simulation was paused (so no data was sent), but I may be wrong. I'll have to take another look sometime.

It took 2,5 month i had to learn to code C# and use 10's of hours reviewing your code, but i solved the problem.
The problem is that when you use the same command to send both the pause and the speed message, it will first pause and then instantly start again, by splitting the commands in a speed and a pause message, it works (i will try to upload my solution but i'm totally new at this so we will see how it goes)

Thanks, It seems to look good (I'll take a look later this week and merge the pull request), I've got a test on Tuesday and Thursday that I have to focus on at the moment.


fix: modify status codes in api response

This PR...
Changes

the error handler (so that it returns appropriate responses as introduced in #0a536fe and  #aec61a1

Fixes #48
Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test
[x] linter passes
[x] format check passes

@all-contributors please add @AnthoniaNwanya for code and @Boye95 for code


JSON output should be documented as part of ref

Since information in JSON output is custom-formatted and does not necessary align with either REST API or Python SDK, and users should not be directed to that documentation anyway when using the CLI, there needs to be a way in reference to give information on output for CLI commands. This should probably not be displayed as part of inline help (even detailed help), but rather as part of the online web help.
(x-ref azure/azure-docs-cli-python#604)

This is a dupe of #5711.  I'll keep this one open for tracking.

cc @tlycken

add to S165.

add an similar request that help to understand https://github.com/MicrosoftDocs/azure-docs-cli/issues/604


Improve HttpHeaders intenral container implementation to contain various types

Currently, HttpHeaders internally holds headers as string values.
It stringifies an object into a string before adding the value to the internal container.
https://github.com/line/armeria/blob/e66c339c75de9884ecca734f74bc4420b663dccd/core/src/main/java/com/linecorp/armeria/common/StringMultimap.java#L699-L718
This implementation has a weakness when a non-string value is set to HttpHeaders and getting later.
It deserializes the stringified value again.
For example:
var headers = ResponseHeaders.of(HttpStatus.OK); // Convert 200 into "200" and;
headers.status();                                // Parse "200" into 200 again.

I saw this conversion from the flame chart.

For the specific case of header.status(), we could make sure ResponseHeaders.builder(HttpStatus) cache the HttpStatus. We currently use .add(HttpHeaderNames.STATUS, ...) which can't cache the status.

Nice idea. Let me apply the idea. :-)

We could do the same for some other fields that are already being cached via certain setters.


Add %id check prior to reference-based reorganisations

Reference-based scaffolding and finishing methods can be detrimental to the  assembly if the reference sequence is too divergent from the assembled contigs. Adding a check for %id and %age of contigs aligned to reference prior to these stages should prevent such situations arising

Done in commit 582bb9b


Fix/data embs only for nlp

Fix the issue when running an OD model dqyolo with dataquality[cuda].
The issue comes from the fact that

data embeddings are turned on by default whenever a GPU is available
data embeddings looks for a column text that is not existing in OD

Only 1 fix would work but we

don't turn on data embeddings for other tasks than NLP (since we don't have a model to do so)
rename the OD column image -> text to follow the convention used in IC

Issue:

Codecov Report

Merging #679 (697f96b) into main (c1d2cf9) will decrease coverage by 0.51%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #679      +/-   ##
==========================================
- Coverage   84.08%   83.58%   -0.51%
==========================================
  Files         167      167
  Lines       13384    13383       -1
==========================================
- Hits        11254    11186      -68
- Misses       2130     2197      +67

Impacted Files
Coverage Δ

dataquality/core/finish.py
100.00% <100.00%> (ø)

...ataquality/loggers/data_logger/object_detection.py
83.87% <100.00%> (ø)

... and 17 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

👋 Hey @bogdan-galileo :)
There's a cleaner way to do this. The BaseGalileoDataLogger has a support_data_embs property: https://github.com/rungalileo/dataquality/blob/main/dataquality/loggers/data_logger/base_data_logger.py#L219
You can either:

Default this to false, and set it to true for the ones that support it (text classification, Multi-label)
Keep it as is, and set it to False (like what we do for ner) for OD, IC, SemSeg etc

Thanks for sharing @Ben-Epstein ❤ !! Will be doing just that


Add largest and smallest to the WhereOperatorSelectionMode Enum

Summary of the new feature / enhancement
There are currently several ways to Query PSCustomObject Array for row with largest value.
But they are either pretty verbose or expensive
$array = @(
    [PSCustomObject]@{Name='test1';Value=105}
    [PSCustomObject]@{Name='test2';Value=101}
    [PSCustomObject]@{Name='test3';Value=512}
)

Proposed technical implementation details (optional)
Adding a largest - and smallest to the WhereOperatorSelectionMode Enum might be more effective:
Wishful thinking:
$array.where({ $_.Value }, 'Largest')

Implementation directions
If accepted, there are a few implementation directions to consider:

StringComparison
if the expression result in a string, it should be:

Case sensitive
according the PowerShell default behavior
Case insensitive
which leaves the choose to the author: $array.where({ $_.Name.ToLower() }, 'Largest')

Multiple results
if the expression results in (multiple) equal largest or smallest, it should:

Return the first object containing the largest or smallest result (not my preference)
Return all equal occurrences so that the author has the choose (to select just the first object)

In this case I would expect the the where method always to return a PSObject collection even for a single item (just like   $array.Where({ $true }, 'first').GetType()), so that no further parenthesis are required when selecting the first occurrence: $array.Where({ $_.Value}, 'largest')[0].

Honestly, I don't think this fits in well with how the .Where() method currently works: It does per-object filtering, and the script block's output is invariably treated as a Boolean.
Given that Sort-Object now has -Top and -Bottom parameters, the following seems succinct enough for me:
$array = @(
    [PSCustomObject]@{Name='test1';Value=105}
    [PSCustomObject]@{Name='test2';Value=101}
    [PSCustomObject]@{Name='test3';Value=512}
)

# Get minimum
$array | Sort-Object -Top 1 -Property Value
# Get maximum
$array | Sort-Object -Bottom 1 -Property Value

That said, what Sort-Object currently doesn't support is:

Getting all minima and maxima (should there be multiple). (Conceivably, -AllTop and -AllBottom switches could be introduced).

Allowing you to find both the minimum and maximum in a single operation, because -Top and -Bottom are in different parameter sets. (By contrast, Measure-Object allows specifying both -Minimum and -Maximum; granted, retrieving multiple top and bottom values can make it harder to separate the maxima from the minima; this could either be left to the user or solved with an ETS property).

In other words: Perhaps it's worth creating Sort-Object feature requests to overcome these limitations.

@mklement0,
Thank you for the response.

Given that Sort-Object now has -Top and -Bottom parameters, the following seems succinct enough for me:

I need to admit that I was not aware of these -Top and -Bottom parameters which makes this proposal less interesting from a syntactical point of view.
Yet, I still think that sorting a list of objects and than select the top/bottom (or minimum/maximum) is presumably not effective (in memory usage and performance) as for the sorting part you will need to hold each item against multiple other items (for any of the existing sorting algorithm) where for a where method you only need to hold each item against one item (the -currently- largest/smallest item) and update it if required.
Not sure what is a fair comparison using Foreach-Object the optimized Foreach-ObjectFast (#10982). Anyways the foreach statement is about twice as fast for last lists and I presume a comparable result for a where largest/smallest method.
$Size = 100000
$List = 1..$Size | Foreach-Object { [pscustomobject]@{ Name = "Name$_"; Value = [Math]::Abs($_ / 2 - $Size) } }

@{ 'Sort-Object' = Measure-command {
    $List | Sort-Object -Top 1 -Property Value
}}

@{ 'Foreach' = Measure-command {
    $Top = $Null
    foreach ($Item in $List) {
        if ($Null -eq $Top -or $Item.Value -lt $Top.Value) { $Top = $Item }
    }
    $Top
}}

@{ 'ForEach-Object' = Measure-command {
    $List | ForEach-Object { $Top = $Null } {
        if ($Null -eq $Top -or $_.Value -lt $Top.Value) { $Top = $_ }
    } { $Top }
}}

@{ 'ForEach-ObjectFast' = Measure-command {
    $List | ForEach-ObjectFast -Begin { $Top = $Null } -Process {
        if ($Null -eq $Top -or $_.Value -lt $Top.Value) { $Top = $_ }
    } -end { $Top }
}}

Name                           Value
----                           -----
Sort-Object                    00:00:00.9188725
Foreach                        00:00:00.4545986
ForEach-Object                 00:00:01.0624101
ForEach-ObjectFast             00:00:00.5842748

Good point about Sort-Object of necessity collecting all input.
(-Top/-Bottom 1 and possibly -AllTop / -AllBottom at least technically could be special-cased, but that would increase implementation complexity quite a bit).
I do think that having an efficient way to find minima and maxima would be helpful, but, as noted, I think .Where() is an awkward place to put it - but perhaps others disagree; at the very least, for symmetry with Measure-Object, the enumeration values should be Minimum and Maximum
Note that a .Where() solution - while generally better-performing than a cmdlet solution - precludes streaming, both on input and output: the input collection must be collected in full before .Where() can be called, and the output is a collection instance.
Another possibility that would support streaming (not necessarily mutually exclusive with  your suggestion, though it wouldn't make for an obvious correspondence between the expression and the cmdlet option) would be to enhance Measure-Object with a -PassThru option that passes the minimum / maximum input object through; what makes this slightly awkward is that -PassThru only makes sense with -Minimum and -Maximum, not any of Measure-Object's other switches.

@mklement0, again, thanks for the comments.

for symmetry with Measure-Object, the enumeration values should be Minimum and Maximum

Agree, I have changed this in title and the initial proposal.

I think .Where() is an awkward place to put it

Maybe the enumeration values should be even isMinimum and isMaximum which betters shows some linguistic elegance of the statement $array.where({ $_.Value }, 'isMaximum' → where-array-value-is-maximum.


Update sql strings with sea_query sql statements

Description
This PR is a draft version to kickstart #3758. I used sea_query to update one sql query and I want to get the initial comments from @guilload on whether this is fine. If the sea_query implementation seems good, then I will continue with converting the remaining sql strings into the sea query orm syntax. Otherwise, I will try to reach other options.
How was this PR tested?
This PR was tested using cargo test --features=postgres.

Thanks for working on this. Starting small with an example was the way to go. Good call!
It looks good, but I wonder if it's more readable at the end of the day. Can you try to use sea_query in the write_sql_filter and build_query_filter functions where the ugliness lives and SQL injections can happen? We could migrate those exclusively, WDYT?

Yup that sounds good to me. I will start working on updating them.

@guilload I have completed about 95% of the updates for the write_sql_filter and build_query_filter. I need to add one more expression and fix the code in the unit tests. Can you give me a review of the current state and let me know if you are fine with proceeding further?

Looking very good so far. You can keep going. Thank you!

@guilload I have completed the migration for the two functions. Please do check the unit tests because I had to modify the strings due to some quirks in seaquery.

We can merge this once the conflict is solved.


Solution provider request: Not able to propose a council motion

When requesting approval for a solution provider, I was not able to propose a council motion.
Requesting a solution provider ID worked fine (got ID: 2) but got stuck here: https://github.com/threefoldtech/tfchain/blob/development/substrate-node/pallets/pallet-smart-contract/solution_provider.md#council-needs-to-approve-a-provider-before-it-can-be-used
Polka tool -> Governance > Motions:

Not able to press 'Propose motion' or 'Propose external'. Am I missing something?

This is by design. A user requesting a solution provider ID approval has to go trough the forum or contact a council member.


Modify MapReduceOperation to be able to take multiple Input Paths

Currently you can only supply one input path directory to any operation implementing MapReduceOperation,
This should be changed so that the MapReduce Operation can take multiple input directory paths.

Pull request approved and merged into develop


Make it easy to freeze individual parameters during automl search

Example
Suppose I want to run automl, but because of my knowledge about the dataset and the domain in question, I know I want to use the "most_frequent" imputation strategy for filling missing values, rather than letting automl gradually try to find the best imputation strategy. In that case, it would be convenient if automl allowed me to input that parameter setting before the search begins.
Problem
This is supported today, but via the following ugly path:

Run make_pipelines by hand to get the pipelines which automl would generate for your problem
Subclass those pipelines, and for any parameter you'd like to fix to one value, set it to that single value in the custom_hyperparameter_ranges for each pipeline
Run automl with a list of the pipeline classes you created

We can improve on that.
This has come up a few times in the past few months; thanks @bchen1116 for finally pushing me to file it 😆

@dsherry Wrote a quick design doc for this issue. I think the value-add of this, in comparison to the already-existing custom_hyperparameters arg in make_pipelines, is that it would allow the user to both easily set the params as well as set params to values that aren't equal to the component defaults. More info in the doc.

@dsherry Wrote a quick design doc for this issue. I think the value-add of this, in comparison to the already-existing custom_hyperparameters arg in make_pipelines, is that it would allow the user to both easily set the params as well as set params to values that aren't equal to the component defaults. More info in the doc.

Results from discussion with @dsherry

Alter the tuner class to not include singular variables in the search space. For instance, if I pass inparameters = {"Imputer": {"categorical_impute_strategy": "constant"}}

then the categorical_impute_strategy won't be included in the tuner search space. Make sure that single variables work
with AutoMLSearch
Add support for lists/skopt.space objects in the parameters dictionary for AutoMLSearch. Ensure that this works even if  the default values for parameters aren't in the ranges provided, ieparameters = {"Imputer": {"numeric_impute_strategy": ["constant", "mode"]}}

since the default param is mean.

These would be 2 separate PRs

Results from discussion with @dsherry

Alter the tuner class to not include singular variables in the search space. For instance, if I pass inparameters = {"Imputer": {"categorical_impute_strategy": "constant"}}

then the categorical_impute_strategy won't be included in the tuner search space. Make sure that single variables work
with AutoMLSearch
Add support for lists/skopt.space objects in the parameters dictionary for AutoMLSearch. Ensure that this works even if  the default values for parameters aren't in the ranges provided, ieparameters = {"Imputer": {"numeric_impute_strategy": ["constant", "mode"]}}

since the default param is mean.

These would be 2 separate PRs


Storage permission

In a clean installation (API 33 and API 34), not all permissions are requested.
As a result, when the file manager opens, only folders are visible
Maybe it come from this line:
https://github.com/MaidFoundation/maid/blob/a03e9bacd54db76a0472566b13bc49332ae23edc/lib/static/file_manager.dart#L13

Ok i've fixed this now.

This keeps happening to me, I can't find a way to upload a gguf model, I just don't see files, only folders.

Sounds like an issue I thought we fixed. Open a issue explaining what platform you're using and how to reproduce it and I'll have a look at it for you.
With regards,
Dane Madsen

From: ElmorenohWTF @.>
Sent: Tuesday, December 19, 2023 8:31:59 AM
To: Mobile-Artificial-Intelligence/maid @.>
Cc: Dane Madsen @.>; State change @.>
Subject: Re: [Mobile-Artificial-Intelligence/maid] Storage permission (Issue #140)
This keeps happening to me, I can't find a way to upload a gguf model, I just don't see files, only folders.
—
Reply to this email directly, view it on GitHubhttps://github.com/Mobile-Artificial-Intelligence/maid/issues/140#issuecomment-1861795691, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYA2I6LTR4TPWXUME3BG2TYKC757AVCNFSM6AAAAAA7X2VU6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRG44TKNRZGE.
You are receiving this because you modified the open/close state.Message ID: @.***>


Question: Loading app config connection string from Keyvault instead of hard coding

Currently in our application, we have hard coded the connection string in bootstrap.yaml. Instead of doing that can we configure it in the key vault and reference it in the bootstrap.yaml?

Thanks for reaching out. Is it the connection string for App Configuration you're referring to?

Yeah. App configuration connection string to be referred from keyvault.

@Karthickramk Are you hardcoding it or have a placeholder value? I would suggest moving to another form of authentication. Depending on your setup you could use, Managed Identity or a Service Principal to authenticate, or any other form supported by the Azure SDK for Java.


add support for the Tochnog file format

Dear Nico,
The standard mesh used by tochnog is very simple and in a way, similar to gmsh. I am including an example of a small file so that you can see how it looks. I am also including the awk scripts (old) that were developed to assist in the conversion hoping that they may help you in seeing how the data was processed.
Basically, the input file fro tochnog just have the node numbers and coordinates, element numbers and connectivities, group numbers for one or different materials, and the boundary conditions. The way tochnog operates, even when using GiD you still have to edit the input file to add the header files and the footers that will contain the time intervals and all the material properties.
Let me know if this helps!
I had to add .txt to all the files, which are text files in order to send them this way.
Bunge-bi.dat.txt
Bunge-bi.dbs.txt
gmsh2tn.awk.txt
mkgmsh.awk.txt

Okay, so there has been almost no interest in this over the years. Closing, but comments and PRs are still welcome of course.


Add missing maxBytesInMemory in tuningConfig for auto compaction

Description
Add missing configurations in tuningConfig for auto compaction.

This PR has:

[x] been self-reviewed.
[x] been tested in a test Druid cluster.

Added a unit test for UserCompactionTuningConfig.


Please review SystVnvPlan

@smiths
Please review SystVnvPlan when you have time

Thank you @Ao99.  I will get to this as soon as I can.

I've completed my review by embedding comments in the tex file, as given in c935b3f.


ProgressBar for CorpusParser

I love the ProgressBar. I'd love it more if I had one for when I'm parsing the corpus, too.

It's slightly less trivial here since everything is a generator as currently implemented; we could materialize the docs and then count progress by docs parsed

Implemented in commit e07243b to master.


metric: add read scan duration panel

What is changed and how it works?

Issue Number: ref https://github.com/tikv/tikv/issues/15066

What's Changed:
After https://github.com/tikv/tikv/pull/16180, the in-memory pessimstic locks would be scanned in the resolve lock phase.
Monitoring it is helpful for analyzing performance impact and deciding whether further optimization of scan lock is necessary, as the in-memory pessimistic lock is a critical component that impacts performance.
Add scan lock read duration panel to check read lock holding time.

Related changes
Check List
Tests
Side effects
Release note

None

/merge


Cannot Customize Icon

Description
I can't seem to get nativefier to produce any other icon besides the default Electron icon. I've tried on different websites, using PNG or hqx files. I've even trying letting the app produce the icon and it always seems to use the default Electron icon.
Steps to Reproduce Issue

nativefier -n "Wave" -i "wave-logo.png" "https://my.waveapps.com/login_external/"
nativefier -n "Wave" -i "wave-logo.hqx" "https://my.waveapps.com/login_external/"
nativefier -n "Wave" "https://my.waveapps.com/login_external/"

Always same result: http://3cd.co/0Y1x0u431I2R
Specifications

Version of Nativefier: v7.0.1
Version of Node.js: v7.4.0
OS: OSX 10.12.2
Architecture: OSX

It's odd. The --icon flag worked for me the first few times, but now on the 6th or 7th time, it's stopped working. I've tried it quoted, not quoted, single, double etc. etc.

+1
I have the same issue.

I had a similar issue and found myself having to open the app package and manually replace the electron.icns file with my own custom one for the app.
That said, if I do not specify an icon, it usually seems to find one just fine on its own.

Hi @solepixel @rcherny @idf @AdrianTP, and thanks for the feedback. I couldn't reproduce the issue, though; could you all try the newly released nativefier 7.2.0 and report back if the problem persists? If it does, please include as much debug information as possible, like @solepixel did: version of Node, OS, potential error log, website nativefied, anything :)

Closing as  non-reproducible, feel free to chime in with more info and reproduction steps

Same issue for me on Ubuntu 16.04
$ nativefier --version
7.6.11
$ nativefier --icon ~/Downloads/quip_icon.png "https://quip.com/" --internal-urls "accounts.google.com|quip.com"
  packaging [==============================                    ] 60%
Packaging app for platform linux x64 using electron v3.1.3

strace shows it did ask find the icon png:
$ sudo strace -o quip.log ./quip-linux-x64/quip
$ grep 'icon.png' quip.log
open("/home/zellux/local/quip-linux-x64/resources/app/icon.png", O_RDONLY|O_CLOEXEC) = 64

I am having the same issue, even when  I use the "--icon" parameter.
`C:\Users\jeb>nativefier --icon "C:\Users\jeb\Waze.ico" --name "Waze Livemap" "http://waze.com/livemap"
packaging [===============================                   ] 61%Packaging app for platform win32 x64 using electron v3.1.7
C:\Users\jeb>`

Me too, it creates the icon in resources/app but when I open the executable it not shows the correct icon.

Having the same issue :(

So the icons for Mac are working but for Windows I get the default icons!
I setup everything correctly with the format that is needed for Windows!

Hmm... I have some png's working on Mac, and some not working.

--icon not working... It just show the default app icon. Any solution??

Or any way to add the icon manually after installing the app?

Found a solution:

Go to the app directory and navigate to resources/app
delete icon.png
add the icon you want the app to display and name it icon.png

It works for me!

To anyone else with this issue; I was able to replace the icon using a freeware program called resource hacker, using the instructions here: https://www.howtogeek.com/75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/
In the Resource Hacker window, select the “Icon” folder in the left pane. Click the “Action” menu and then select “Replace Icon.”
In the Replace Icon window, click the “Open file with new icon” button and browse to the location of the icon you want to use. The source can be an EXE, DLL, RES, or ICO file.
Then save the new EXE and replace the original.


bzip2 not included as prerequisite but required for backups

Compressing Backup tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
[   OK   ]

The documentation has been updated to add bzip2 as a prerequisite for CentOS / RHEL.

Please add for Debian based as well. Minimal Server setup does not include bzip2 package IIRC.

Sorry for not adding my OS in the thread, an oversight on my part. Just as Sibul2k says the Minimal Server setup for Debian doesn't include bzip2.


k4a_device_start_cameras should use const k4a_device_configuration_t

Fixes #272
Description of the changes:

k4a_device_start_cameras should use const k4a_device_configuration_t

Before submitting a Pull Request:

[x] I reviewed CONTRIBUTING.md
[x] I built my changes locally
[x] I ran the unit tests
[x] I ran the functional tests with a device
[ ] I ran the performance tests with a device

I tested changes on:

[x] Windows
[x] Linux

Azure Kinetic Viewer Sanity check

This is a compilation time breaking change. @wes-b @Brent-A how do we want to handle this?

How so?

Chatted offline

In reply to: 498448899 [](ancestors = 498448899)

Chatted offline, this should be fine, the current non-const structure pointer can implicitly cast to const pointer without issue (already have many examples having this).

In reply to: 498449547 [](ancestors = 498449547)