Failed assertion: line x pos y: '!_needsLayout': is not true.

I got an error message, which asks me to file a bug report. You can find the lib folder and pubspec.yaml in the zip.
════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during paint():

[39;49m
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 488 pos 12: '!_needsLayout': 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=BUG.md

The relevant error-causing widget was
Slider
When the exception was thrown, this was the stack
#2      TextPainter.width
#3      _PaddleSliderValueIndicatorPathPainter.paint
#4      PaddleSliderValueIndicatorShape.paint
#5      ThumbShape.paint
#6      _RenderSlider.paint
...
The following RenderObject was being processed when the exception was fired: _RenderSlider#dc1b6
RenderObject: _RenderSlider#dc1b6
    parentData: <none> (can use size)
    constraints: BoxConstraints(0.0<=w<=411.4, 0.0<=h<=Infinity)
    size: Size(411.4, 48.0)
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 488 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was
Slider
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 488 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was
Slider
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 488 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was
Slider
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 488 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was
Slider
════════════════════════════════════════════════════════════════════════════════

Short explanation of what you will find in the zip:
I built a widget, "MultiSlider", which uses the standard Flutter sliders. The widgets returns a master slider and a number of subsliders. The sum of the subsliders values can never exceed the value of the masterslider. The widget itself works fine without errors.
I also have a custom thumb button, which itself works fine and without errors on the example slider from the Flutter documentation. However, when I introduced SliderTheme() to use the custom thumb button with the sliders contained in my MultiSlider widget, I got those errors.
lib.zip

@Octofoxy
What version do you get this error on ? Can you provide flutter doctor -v ?

@darshankawar flutter doctor -v console output below:
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.867], locale de-DE)
• Flutter version 1.22.5 at C:\Users\Overfox\Code\flutter
• Framework revision<PHONE_NUMBER> (3 months ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Overfox\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 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.54.2)
• VS Code at C:\Users\Overfox\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.20.0
[√] Connected device (1 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)`

@Octofoxy
I see that you are on older version of Stable. Latest is 2.0.2. I suggest you to upgrade to latest and try again to see if issue persists or not.
Thanks.

@darshankawar
I have updated to 2.0.2 (see below). The problem still persists.
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version 10.0.19042.867], locale de-DE)

@darshankawar Are there any updates on this issue? It's stalling our project at the moment.

@darshankawar It has been almost two weeks since I last heard from you. Would you please give me a quick confirmation that this bug is being actively worked on?

@Octofoxy
Sorry for getting late to this. I was able to replicate this issue, which seems to be pointing to Slider widgt which somehow isn't getting the width it needs and hence throwing the render exception as below:

console error log
======== Exception caught by rendering library =====================================================
The following assertion was thrown during paint():
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': 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:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:141:20
When the exception was thrown, this was the stack:
#2      TextPainter.width (package:flutter/src/painting/text_painter.dart:497:12)
#3      _PaddleSliderValueIndicatorPathPainter.paint (package:flutter/src/material/slider_theme.dart:3094:48)
#4      PaddleSliderValueIndicatorShape.paint (package:flutter/src/material/slider_theme.dart:2853:18)
#5      ThumbShape.paint (package:int_test_demo/main.dart:220:21)
#6      _RenderSlider.paint (package:flutter/src/material/slider.dart:1446:30)
...
The following RenderObject was being processed when the exception was fired: _RenderSlider#73ee8
...  parentData: <none> (can use size)
...  constraints: BoxConstraints(0.0<=w<=428.0, 0.0<=h<=Infinity)
...  size: Size(428.0, 48.0)
RenderObject: _RenderSlider#73ee8
  parentData: <none> (can use size)
  constraints: BoxConstraints(0.0<=w<=428.0, 0.0<=h<=Infinity)
  size: Size(428.0, 48.0)
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
The following assertion was thrown during paint():
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': 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:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:141:20
When the exception was thrown, this was the stack:
#2      TextPainter.width (package:flutter/src/painting/text_painter.dart:497:12)
#3      _PaddleSliderValueIndicatorPathPainter.paint (package:flutter/src/material/slider_theme.dart:3094:48)
#4      PaddleSliderValueIndicatorShape.paint (package:flutter/src/material/slider_theme.dart:2853:18)
#5      ThumbShape.paint (package:int_test_demo/main.dart:220:21)
#6      _RenderSlider.paint (package:flutter/src/material/slider.dart:1446:30)
...
The following RenderObject was being processed when the exception was fired: _RenderSlider#73ee8
...  parentData: <none> (can use size)
...  constraints: BoxConstraints(0.0<=w<=428.0, 0.0<=h<=Infinity)
...  size: Size(428.0, 48.0)
RenderObject: _RenderSlider#73ee8
  parentData: <none> (can use size)
  constraints: BoxConstraints(0.0<=w<=428.0, 0.0<=h<=Infinity)
  size: Size(428.0, 48.0)
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

======== Exception caught by rendering library =====================================================
'package:flutter/src/painting/text_painter.dart': Failed assertion: line 497 pos 12: '!_needsLayout': is not true.
The relevant error-causing widget was:
  Slider file:///Users/dhs/Documents/NCFlutter/int_test_demo/lib/main.dart:169:26
====================================================================================================

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

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

/// This is the main application widget.
class MyApp extends StatelessWidget {
  const MyApp({Key key}) : super(key: key);

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const MyStatefulWidget(),
      ),
    );
  }
}

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

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

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
// Example settings for the multiSlider
  var masterSlider = {
    "showMasterSlider": true,
    "masterSliderText": "Dies ist der Master Slider Text",
    "sliderMin": 0.0,
    "sliderMax": 100.0,
    "sliderDivisions": 100,
    "currentMasterSliderValue": 100.0,
  };

  List subSlider = [
    {
      "sliderText": "Erster Subslider Text",
      "currentSliderValue": 0.0,
    },
    {
      "sliderText": "Zweiter Subslider Text",
      "currentSliderValue": 0.0,
    },
    {
      "sliderText": "Dritter Subslider Text",
      "currentSliderValue": 0.0,
    },
    {
      "sliderText": "Vierter Subslider Text",
      "currentSliderValue": 0.0,
    },
  ];

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        MultiSlider(masterSlider, subSlider),
      ],
    );
  }
}

class MultiSlider extends StatefulWidget {
  final Map masterSlider;
  final List subSlider;

  MultiSlider(this.masterSlider, this.subSlider);

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

class _MultiSliderState extends State<MultiSlider> {
  //sums all subSliders EXCEPT the one given as an argument.
  //sums ALL subSliders if given null as an argument
  double sumOfAllSubSlidersExcept(currentSubSlider) {
    if (currentSubSlider != null) {
      return ((widget.subSlider.map((m) => m['currentSliderValue']).toList())
          .reduce((value, element) => value + element)) -
          currentSubSlider["currentSliderValue"];
    } else {
      return ((widget.subSlider.map((m) => m['currentSliderValue']).toList())
          .reduce((value, element) => value + element));
    }
  }

// required for subSlider-generation
  dontBeZero(valueToCheck) {
    if (valueToCheck == 0) {
      return 1;
    } else {
      return valueToCheck;
    }
  }

// Used by the subSliders
  dontOverstep(valueToCheck, checkAgainst) {
    if (valueToCheck > checkAgainst) {
      return checkAgainst;
    } else {
      return valueToCheck;
    }
  }

// Used by the masterSlider
  dontUnderstep(valueToCheck, checkAgainst) {
    if (valueToCheck < checkAgainst) {
      return checkAgainst;
    } else {
      return valueToCheck;
    }
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      children: <Widget>[
        // Those Texts are for debug only.
        // Text("Value of masterSlider:" +
        //    widget.masterSlider["currentMasterSliderValue"].toString()),
        // Text("Sum of all subSliders:" +
        //    (sumOfAllSubSlidersExcept(null)).toString()),

        // This builds the Title of the masterSlider
        Text(widget.masterSlider["masterSliderText"]),
        // This builds the masterSlider, if "showMasterSlider = true"
        if (widget.masterSlider["showMasterSlider"])
          SliderTheme(
            data: SliderThemeData(
              showValueIndicator: ShowValueIndicator.never,
              thumbShape: ThumbShape(),
            ),
            child: Slider(
              min: widget.masterSlider["sliderMin"],
              max: widget.masterSlider["sliderMax"],
              divisions: widget.masterSlider["sliderDivisions"],
              value: widget.masterSlider["currentMasterSliderValue"],
              onChanged: (double value) {
                setState(() {
                  widget.masterSlider["currentMasterSliderValue"] =
                      dontUnderstep(value, sumOfAllSubSlidersExcept(null));
                });
              },
            ),
          )
        else
          Container(),

        // This builds one subSlider for each item in the subSlider-List.
        ...widget.subSlider.map((item) {
          return Padding(
            padding: EdgeInsets.all(10.0),
            child: Column(
              children: [
                Text(item["sliderText"]),
                SliderTheme(
                  data: SliderThemeData(
                    showValueIndicator: ShowValueIndicator.never,
                    thumbShape: ThumbShape(),
                  ),
                  child: Slider(
                    // Subsliders inherit their layout from the masterSlider
                    min: widget.masterSlider["sliderMin"],
                    max: widget.masterSlider["sliderMax"],
                    divisions: widget.masterSlider["sliderDivisions"],
                    value: item["currentSliderValue"],
                    onChanged: (double value) {
                      setState(() {
                        // This makes sure that any subSlider can't be increased beyond
                        // the value of the masterSlider minus the sum of all other subSliders.
                        item["currentSliderValue"] = dontOverstep(
                            value,
                            (widget.masterSlider["currentMasterSliderValue"] -
                                sumOfAllSubSlidersExcept(item)));
                      });
                    },
                  ),
                ),
              ],
            ),
          );
        })
      ],
    );
  }
}

class ThumbShape extends RoundSliderThumbShape {
  final _indicatorShape = const PaddleSliderValueIndicatorShape();

  const ThumbShape();

  @override
  void paint(PaintingContext context, Offset center,
      {Animation<double> activationAnimation,
        Animation<double> enableAnimation,
        bool isDiscrete,
        TextPainter labelPainter,
        RenderBox parentBox,
        SliderThemeData sliderTheme,
        TextDirection textDirection,
        double textScaleFactor,
        double value,
        Size sizeWithOverflow}) {
    super.paint(context, center,
        activationAnimation: activationAnimation,
        enableAnimation: enableAnimation,
        sliderTheme: sliderTheme,
        value: value,
        textScaleFactor: textScaleFactor,
        sizeWithOverflow: sizeWithOverflow);
    _indicatorShape.paint(
      context,
      center,
      activationAnimation: const AlwaysStoppedAnimation(1),
      enableAnimation: enableAnimation,
      labelPainter: labelPainter,
      parentBox: parentBox,
      sliderTheme: sliderTheme,
      value: value,
// der TextScaleFactor verändert die Größe der "Tooltip"-Blase
      textScaleFactor: 0.6,
      sizeWithOverflow: sizeWithOverflow,
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 2.1.0-13.0.pre.319, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.1.0-13.0.pre.319 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 430626d0f3 (48 minutes ago), 2021-03-29 21:44:03 -0700
    • Engine revision 4c6abc1e06
    • Dart version 2.13.0 (build 2.13.0-172.0.dev)

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

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

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

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.

Keeping this open for further analysis.

The error occurs if you have a BottomNavigationBar with showUnselectedLabels set to false and try to click on where the label should be if showUnselectedLabels were true.
To fix this, as a workaround, simply set unselectedFontSize: 0.0


Publish 11/23/2021, 3:30 PM

Docs Build status updates of commit 80ea6bc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

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


Should webnative have a tree-walking utility function?

NB: Feature requests will only be considered if they solve a pain
Summary
UNIX tree is useful, and can be run in ways that prevents performance problems with large filesystems by limiting the types of things listed and the depth of the listing. You can implement a naive version of this using existing methods but it might be a better developer experience to have one we create that has performance-preserving features and defaults? cc @bgins for the idea.

Related to https://github.com/fission-codes/webnative/issues/460 where we could potentially use a feature like this.


feat: support populating KongUpstreamPolicy status for ServiceFacade

What this PR does / why we need it:
As KongUpstreamPolicy can be attached to KongServiceFacade as well as to a Service, we should support populating status for it. This PR adds support for Accepted condition.
Programmed condition for KongServiceFacade will be added along with Service in https://github.com/Kong/kubernetes-ingress-controller/issues/5249.

Which issue this PR fixes:
Adding KongServiceFacade parity before https://github.com/Kong/kubernetes-ingress-controller/issues/5249.

PR Readiness Checklist:
Complete these before marking the PR as ready to review:

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

@pmalek Thanks for the comments. 🙇  I'm addressing them in the next PR that adds Programmed condition to the picture: https://github.com/Kong/kubernetes-ingress-controller/pull/5444.


ADDED: Javascript Course

Added Fresh Javascript Course playlist.

Hey @darshanr27 !
Congrats on submitting your pull request.
You PR has been merged and the changes will be reflected on the website in a few minutes,.
Do leave a star, if you liked the repo ;)
Happy hacking ! 🎊

Thank you @ishandeveloper


Placing Added Devices Into Rooms

Using homebridge  HA-NodeJS, is there any way to designate which room an added device is to be placed in?  I.e., is there some naming convention where the device gets place into a room, or some API call or data field designation you use to determine where the newly added device ends up?  Or is the only way to designate a room is to do it device-by-device  from the Home App. itself. Thanks.

Please take a moment and read the HomeKit accessory protocol document that Apple published.  You will see that this is not part of the api that homebridge/hap-nodejs uses?
Sent from my iPad

On Dec 9, 2019, at 10:53 PM, jvmahon<EMAIL_ADDRESS>wrote:

Using homebridge HA-NodeJS, is there any way to designate which room an added device is to be placed in? I.e., is there some naming convention where the device gets place into a room, or some API call or data field designation you use to determine where the newly added device ends up? Or is the only way to designate a room is to do it device-by-device from the Home App. itself. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Please take a moment and read the HomeKit accessory protocol document that Apple published. You will see that this is not part of the api that homebridge/hap-nodejs uses?
…
Sent from my iPad
On Dec 9, 2019, at 10:53 PM, jvmahon @.***> wrote:  Using homebridge HA-NodeJS, is there any way to designate which room an added device is to be placed in? I.e., is there some naming convention where the device gets place into a room, or some API call or data field designation you use to determine where the newly added device ends up? Or is the only way to designate a room is to do it device-by-device from the Home App. itself. Thanks. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks. Yes, that's my understanding too - i.e., that its not part of the HAP protocol.  Thanks for confirming. I should have phrased my question a bit broader and given more background. So here's a clarification . . .
(1) I think I read somewhere (some web forum that I don't recall) that if the HomeKit accessory starts with the name of a Room that exists in your Apple Home configuration, the accessory would, by default, get placed in that room. I have not been able to get this to happen -- so maybe it isn't true, or maybe there is a "special" way to format the name to get this to happen. Does anybody know whether this is, in fact, something that happens by design and how to get it to work?  and
(2) As placing accessories into rooms doesn't seem to be part of the HAP specification, is there another set of APIs that would be available from within Javascript that would do this - i.e., basically, an extension to nodejs-HAP that could be called from within a homebridge platform applicatino? I'm assuming not, but just wanted to check.
Thanks!

1 - No this does not exist, the home app trims the device name if it starts with the room name
2 - If you can find an API that does this it may be an interesting addition

On Dec 10, 2019, at 9:02 AM, jvmahon<EMAIL_ADDRESS>wrote:
Please take a moment and read the HomeKit accessory protocol document that Apple published. You will see that this is not part of the api that homebridge/hap-nodejs uses?
… x-msg://1/#
Sent from my iPad
On Dec 9, 2019, at 10:53 PM, jvmahon @.***> wrote:  Using homebridge HA-NodeJS, is there any way to designate which room an added device is to be placed in? I.e., is there some naming convention where the device gets place into a room, or some API call or data field designation you use to determine where the newly added device ends up? Or is the only way to designate a room is to do it device-by-device from the Home App. itself. Thanks. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks. Yes, that's my understanding too - i.e., that its not part of the HAP protocol. Thanks for confirming. I should have phrased my question a bit broader and given more background. So here's a clarification . . .
(1) I think I read somewhere (some web forum that I don't recall) that if the HomeKit accessory starts with the name of a Room that exists in your Apple Home configuration, the accessory would, by default, get placed in that room. I have not been able to get this to happen -- so maybe it isn't true, or maybe there is a "special" way to format the name to get this to happen. Does anybody know whether this is, in fact, something that happens by design and how to get it to work? and
(2) As placing accessories into rooms doesn't seem to be part of the HAP specification, is there another set of APIs that would be available from within Javascript that would do this - i.e., basically, an extension to nodejs-HAP that could be called from within a homebridge platform applicatino? I'm assuming not, but just wanted to check.
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/nfarina/homebridge/issues/2362?email_source=notifications&email_token=AEXEFGENS2OTURHU7XA2LN3QX6OQLA5CNFSM4JYX4W32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGPKRZQ#issuecomment-564046054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXEFGAAAY3XODLK2OCAZKLQX6OQLANCNFSM4JYX4W3Q.

1 - No this does not exist, the home app trims the device name if it starts with the room name 2 - If you can find an API that does this it may be an interesting addition
…
On Dec 10, 2019, at 9:02 AM, jvmahon @.> wrote: Please take a moment and read the HomeKit accessory protocol document that Apple published. You will see that this is not part of the api that homebridge/hap-nodejs uses? … x-msg://1/# Sent from my iPad On Dec 9, 2019, at 10:53 PM, jvmahon @.> wrote:  Using homebridge HA-NodeJS, is there any way to designate which room an added device is to be placed in? I.e., is there some naming convention where the device gets place into a room, or some API call or data field designation you use to determine where the newly added device ends up? Or is the only way to designate a room is to do it device-by-device from the Home App. itself. Thanks. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Thanks. Yes, that's my understanding too - i.e., that its not part of the HAP protocol. Thanks for confirming. I should have phrased my question a bit broader and given more background. So here's a clarification . . . (1) I think I read somewhere (some web forum that I don't recall) that if the HomeKit accessory starts with the name of a Room that exists in your Apple Home configuration, the accessory would, by default, get placed in that room. I have not been able to get this to happen -- so maybe it isn't true, or maybe there is a "special" way to format the name to get this to happen. Does anybody know whether this is, in fact, something that happens by design and how to get it to work? and (2) As placing accessories into rooms doesn't seem to be part of the HAP specification, is there another set of APIs that would be available from within Javascript that would do this - i.e., basically, an extension to nodejs-HAP that could be called from within a homebridge platform applicatino? I'm assuming not, but just wanted to check. Thanks! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2362?email_source=notifications&email_token=AEXEFGENS2OTURHU7XA2LN3QX6OQLA5CNFSM4JYX4W32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGPKRZQ#issuecomment-564046054>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXEFGAAAY3XODLK2OCAZKLQX6OQLANCNFSM4JYX4W3Q.

Thank you!


Change base image to e.g. distroless

I'm not sure if things have changed recently, but at least in the past, alpine builds were not consistently reproducible. Additionally, we should keep our attack surface to a minimum by using a base image with the least amount of extra stuff in it, so something like distroless is a better choice (and consistent with Kubernetes).

Sounds good. We chose alpine when getting starting so we could shell into the container and poke around to troubleshoot.

We should probably just use https://github.com/google/ko.  It used the distroless base image by default.

I played with ko a little bit, and there are a couple of issues:

ko only builds one binary per image.  We can accommodate this, but it will require some changes to our deployment manifest and build pipelines.
It wasn't obvious to me how to add the build options to get the version info baked into ko.  It very well may be possible, but I'll have to spend some more time tinkering with the options to get it working.  This also implies that we can't use the makefile, which means a bit of duplication in terms of build config.

I also ran into a couple of issues with the shared service that we'll have to resolve before we can switch to distroless:

We currently use cat to extract the admin.kubeconfig from the kcp container.  The proposed fix is to externally manage the admin token and configure kcp to use the provided admin token.
We currently use sh and sed to transform the admin.kubeconfig into a version usable by the virtual workspaces server.  There are a few ways we could work around this, but I'm not sure which way is best.

I played with ko a little bit, and there are a couple of issues:

ko only builds one binary per image.  We can accommodate this, but it will require some changes to our deployment manifest and build pipelines.

This is arguably a best practice anyway, over putting a bunch of executables in the same image, but I understand if it works now and isn't worth switching just for that.

It wasn't obvious to me how to add the build options to get the version info baked into ko.  It very well may be possible, but I'll have to spend some more time tinkering with the options to get it working.  This also implies that we can't use the makefile, which means a bit of duplication in terms of build config.

There's a couple ways, you can either set them in the .ko.yaml file or use the GOFLAGS env var when building
If you're just setting commit SHA, tag, etc., after 1.18 this info will automatically be embedded in the binary if git is available when you build (disable with -buildvcs=false), and available in debug.ReadBuildInfo, in .Settings, with the keys vcs.revision, vcs.modified, etc. -- you can see everything that's embedded with go version -m bin/kcp.


Create documentation for manually destroying resources in AWS

Document how to destroy resources after looking them up by tag in AWS

Somewhate related to #579

Basic steps:

delete EFS
delete nodegroups
delete eks cluster
delete security group

Yes, these basic steps worked for me!

@iameskild, You've been through this a couple of times recently, it would be good to add anything else that you think should be checked to this issue.

Converting to a discussion for future posterity


Create Donate Us Section.

I would like to work on this issue. Could you assign it to me. SWOC'21

I'd like to work on this issue.

i want to work

@2024-SANDHYA can give me some details on it?

@2024-SANDHYA can give me some details on it?

@kushagra487  You are free to work as per your creativity, take the design inspiration from Behance, or dribble. Just make sure you keep up with the theme of the website.

I can make this donate us section with integrating payment gateway in this section or direct scan to pay.


How could I use the stream sending By UnityCam?

I'm a new user of this plugins and I dont know how to get the URL of the the WebCam. Should I open the cpp Project to get the source stream?

Sorry for the late reply, but the camera stream will be as a virtual camera you can use in browser or any 3rd party application that supports webcameras

Im having trouble using OpenCV and UnityCam. What architecture is used -  MSMF, DSHOW?
I cant find the UnityCam under Device Manager in windows.  Also the UnityCam path is foo:bar.
I can do image processing on the stream in Matlab, so its probably the setup in OpenCV.


need better description about the amount field in search key

We came across a bug today due to a misunderstanding of the amount field in search key.
The situation description:

We use res.result.objects.length < length-in-search-key as a condition to stop the search.
We came across a case that it returns empty objects for an existing cell when we search with typescript as parameter and lockscript in filter. The amount is 0x64. When we set the amount to 0x6400, the result meets expect.

We guess that:

The amount in search key is the amount searched before filter.
So when we use filter in the search key, we can not use res.result.objects.length < length-in-search-key as stop condition.
The best practice for stop condition may be searching with last_cursor until it becomes 0x.

We want to confirm if our guess is right. And if so, it's better to document it more clearly.

There are no amount field in the search key, do you mean the output_capacity_range? could you give a rpc request parameter and return result example?

sorry, not amount, the limit in search key.

example:
echo '{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "get_cells",
  "params": [
      {
          "filter": {
            "script": {
              "code_hash": "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8",
              "hash_type": "type",
              "args": "0x838e79dcef9cbf819a32778c8cfcc81bb2555561"
            }
          },
          "script": {
            "code_hash": "0xc5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a4",
            "hash_type": "type",
            "args": "0x4580e3fd3a6623eb26f229239286cee63e18bcafb38bc6c5d0de5a8c587647c2"
          },
          "script_type": "type"
      },
      "asc",
      "0x64"
  ]
}' | tr -d '\n' | curl -H 'content-type: application/json' -d @- https://testnet.ckbapp.dev/indexer

It returns empty objects.
{"jsonrpc":"2.0","result":{"last_cursor":"0x60c5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a401200000004580e3fd3a6623eb26f229239286cee63e18bcafb
38bc6c5d0de5a8c587647c200000000001a67ac000000020000002e","objects":[]},"id":2}

When I changed the 0x64 to 0x640, there is a result.
{"jsonrpc":"2.0","result":{"last_cursor":"0x60c5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a401200000004580e3fd3a6623eb26f229239286cee63e18bcafb38bc6c5d0de5a8c587647c200000000001a6b970000000100000000","objects":[{"block_number":"0x1a6966","out_point":{"index":"0x0","tx_hash":"0x6cd8a1029222e9f4988306d852a33507350ed03b6e70c4b411e2268c0bdcec4e"},"output":{"capacity":"0x6fc23ac00","lock":{"args":"0x838e79dcef9cbf819a32778c8cfcc81bb2555561","code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type"},"type":{"args":"0x4580e3fd3a6623eb26f229239286cee63e18bcafb38bc6c5d0de5a8c587647c2","code_hash":"0xc5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a4","hash_type":"type"}},"output_data":"0x01000000000000000000000000000000","tx_index":"0x2"},{"block_number":"0x1a6997","out_point":{"index":"0x0","tx_hash":"0xd73c83b59f6a81dd9ef64ea56b97c0acb8d249c9e8e46a5dadf9ade1f620caed"},"output":{"capacity":"0x6fc23ac00","lock":{"args":"0x838e79dcef9cbf819a32778c8cfcc81bb2555561","code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type"},"type":{"args":"0x4580e3fd3a6623eb26f229239286cee63e18bcafb38bc6c5d0de5a8c587647c2","code_hash":"0xc5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a4","hash_type":"type"}},"output_data":"0x01000000000000000000000000000000","tx_index":"0x3"},{"block_number":"0x1a69d4","out_point":{"index":"0x0","tx_hash":"0x939d1fc87950bc818d9eee924bde48c61215a1391f03273b260fecb6086a616f"},"output":{"capacity":"0x6fc23ac00","lock":{"args":"0x838e79dcef9cbf819a32778c8cfcc81bb2555561","code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type"},"type":{"args":"0x4580e3fd3a6623eb26f229239286cee63e18bcafb38bc6c5d0de5a8c587647c2","code_hash":"0xc5e5dcf215925f7ef4dfaf5f4b4f105bc321c02776d6e7d52a1db3fcd9d011a4","hash_type":"type"}},"output_data":"0x01000000000000000000000000000000","tx_index":"0x1"}]},"id":2}

could you check the ckb-indexer service version? I think this bug has been fixed in 0.2.0

close stale issue


Schema Object / Items Object

I am a bit confused about the items in the Schema Object and Items Object. Unfortunately, the Schema Object is not layed out and must be inferred from a JSON Schema Draft specification.
In JSON Schema items is an array and it also needs additionalItems. However, in Items Object items is a singleton.
I am trying to map this to a type safe language with inheritance. It seems SchemaObject extends Items Object however, this clashes and is a huge pita therefore.
Is this difference in cardinality intentional?

I think the fact that in JSON schema items can also be an array of schemas (meaning that the elements of the matched array have to match the schemas in turn) was not really meant to be supported by Swagger's schema object, but this was forgotten to be clarified in the specification. In the Items object, which is a slimmed down version thereof for query/path/form/header parameters and response headers, it was done as intended.
(This is just my impression, I was not there when the spec was written.)
For the next version (3.0, currently in progress), this is already fixed by having all parameters use a schema, and #741 is trying to get some more compatibility with JSON schema in it.

Any idea when 3.0 will hit the streets? Are there already tools for it? I am having a greenfield situation and 3.0 looks a lot cleaner from a type perspective from what you're saying.

The Items Object has been removed in 3.0. items definition has been clarified, and additionalItems is still not supported by the spec.
We're pushing out an implementer draft next week, tooling will follow.


Expecto example

Is there any interest in examples of using TickSpec with Expecto?
I created a proof of concept to learn the framework.
I can expand it to be in line with the other examples in this repo and send a PR.

I think that in general we are interested to have examples with any reasonable unit test framework. Feel free to expand it and send a PR 😄


Conflicting definitions of "devel"/"release" between actual Bioconductor and bioconductor_docker

Unless I'm missing something, there appears to be a lag between when Bioconductor changes the previous devel to become the current release (3.14 as of today), and when the bioconductor/bioconductor_docker container is updated (it currently lists 3.14 as the devel and 3.13 as the release, which is no longer true).
https://hub.docker.com/layers/bioconductor/bioconductor_docker/devel/images/sha256-5edc02a68f1bbee9db21950b95c133aaab97e15781d3cc1690fed41b3689c2d2?context=explore
This causes (GitHub Action) workflows that depend on harmonized devel/release naming schemes across Bioconductor and bioconductor_docker to break.
How long of a delay is there between when a new version of Bioconductor is released and when this bioconductor_docker is updated? Is this something that is currently automated?
GHA workflow
Example GHA workflow output

Hi reading above, should a docker image for RELEASE_3_14 be available here now https://hub.docker.com/r/bioconductor/bioconductor_docker/tags ?
Can only see RELEASE_3_13 and devel which uses 3.15. Be great to get 3.14 for a workshop we have on Monday, actions currently failing due to having no 3.14 Docker available https://github.com/tidytranscriptomics-workshops/rpharma2021_tidytranscriptomics/actions

It's available now. Please check.

@mblue9 Let me know if it worked?

Trying it now & looks like it's working. Thanks a lot @nturaga !!

Hi Brian, @bschilder
Regarding your note here: https://github.com/marketplace/actions/rworkflows Acknowledgements > Details
"Often" is an overstatement. The devel container does take a day or two to get updated immediately after the release. Our updates are increasingly automated thanks to Alex @almahmoud
Throughout the rest of the six month period, the devel container corresponds to the devel version of Bioconductor.

Hi Brian, @bschilder Regarding your note here: https://github.com/marketplace/actions/rworkflows Acknowledgements > Details "Often" is an overstatement. The devel container does take a day or two to get updated immediately after the release. Our updates are increasingly automated thanks to Alex @almahmoud Throughout the rest of the six month period, the devel container corresponds to the devel version of Bioconductor.

I was referring to the lag after updates, but I can clarify in the description. Great to hear improvements in automation and checking are happening! Thanks for the continued efforts.

Thanks for the clarification.
The lag is due to the release events schedule and the actual time it takes to update them. The containers get updated post-release.

The lag is due to the release events schedule and the actual time it takes to update them. The containers get updated post-release.

The note now reads:

NOTE: Whenever a new version of Bioconductor is released,
the bioconductor/bioconductor_docker container will often lag behind the actual Bioconductor releases
for up to several days, due to the time it takes to update the container.
This means that sometimes "devel" in Bioconductor/bioconductor_docker is actually referring to the "release"
version of Bioconductor. See this Issue
for details.

Does that seem accurate to you?

Looks good. The second to last sentence might going into too much detail but you could say that during that period, devel still refers to the previous release's devel which is the current release version (if this info is necessary).


Test not working

I am going through the tutorial and the final version of the MainViewModelTest with the TestCoroutineDispatcher does not work.
By not work, what I mean is, it always passes. My assert text is clearly wrong but it passes anyway. I even added a breakpoint to the body of the test and it never triggers.
I did notice a typo in the setup - dispatcher should be testDispatcher. Apart from this, and the different assert text, the test is the same as the website.

Hi! Sorry but I don't understand what's the issue. Which tests do not pass? MainViewModelUnitTest or MainViewModelTest? I ran both locally and they both pass. Are you in the latest version of the repo?

MainViewModelTest with the TestDispatcher code. Break the test by changing the text to assert for - does it fail?

Cannot reproduce the issue. Closing for now.

Good point, I updated libraries. I'll try with the original ones.


Labels in card are not saved

Hi guys,
When i'm trying to create a new card, there is no problem with this. But, if I want to assign a label on this card with the addLabel method, it seems doesn't work.
For example :
$card = new Card();
$card->setName('Name');
$card->setDescription('Description');

$card->addLabel('green');//-> $this->data['labels'] doesn't exists, a error was thrown
// OR
$card->setLabels([['colors' => 'green']]); //->Array has been taken from addLabel function

$card->save();

If we debug the body of the request send on save, we have this (with the addLabel and the fix for $data['labels'] not exists) :
array (
  'idBoard' => 'xxxxxxxxxxxx',
  'idList' => 'xxxxxxxxx',
  'name' => 'Name',
  'desc' => 'Description',
  'due' => NULL,
  'urlSource' => NULL,
  'labels/0' => 'green',
)

I think the body is not good according to Trello API right ?
Thanks !

Same problem here.

what status about this issue, I see the PR's not merged yet.


StateMachinePlayer doesn't have a class_name, disallowing static typing

I like having static typing. Less error prone.
In godot, it also make autocomplete work deeper than 1 level.
With variant:

With static typing:

Static typing aside, I also would like to do as many thing from code as possible in general, without relying on the node tree / node tab. Having a class name would help with that.

i second this

You can use the class with preload like this to add the StateMachinePlayer type to a script:
const StateMachinePlayer = preload("res://addons/imjp94.yafsm/src/StateMachinePlayer.gd")

But doing this in every script is boilerplate code. I added PR #84 which adds class_name to StateMachinePlayer, because it is very useful in scripts. The counterpart is that in Create New Node window it appears as a child of StackPlayer script, but this can be easily ignored.
Also, in my project I needed to extend the StateMachinePlayer, and the StateMachine Debugger was broken. I also fixed it in this PR.
If you want, you can clone the forked repo from here
It is the same source code with these two changes.

brilliant, thanks!

@ianmckenna87 I agree. An assertion there would be good to warn the user that State Machine is required (or even show the warning icon at the Node tree on Editor, given that StateMachinePlayer is already a @tool script).
I'll make these changes and upload them to my fork. If everything works, I'll try to PR here.

@ianmckenna87 new PR #85 with the assertions and feedbacks proposed (fork is also updated, together with class_name addition)


Informative sources

Links to websites, papers that might be helpful

https://neuraldatascience.io/1-intro/why.html

A Review on Machine Learning for EEG Signal Processsing:
https://ieeexplore.ieee.org/document/8972542


Reinstate test coverage

It isn't feasible at the moment - we need https://github.com/OpenCover/opencover/issues/601 to be fixed first.

Now done for unit tests using codecov. (Further improvements in #1307.)
Just need to reinstate the ability to run coverage for integration tests (which should be straightforward) and we can close this.


make matTextareaAutosize bindable

Bug, feature request, or proposal: proposal
What is the expected behavior?
When using matTextareaAutosize, the auto size feature can be enabled/disabled based on bindings.
What is the current behavior?
matTextareaAutosize is not bindable.
What is the use-case or motivation for changing an existing behavior?
Controlling the auto-size feature can allow smart layouts based on media queries, or any other logic the user implements. It also allows dynamic forms to set it on/off based on schema selection.
Another thing is that the matTextareaAutosize directive is a bit misleading, one might easily think it is a property of matInput.
This should be fairly easy to implement, I think just adding an @Input() matTextareaAutosize: boolean will do the trick, using true as the initial value and coercion when set.
There is one issue with the duplicate selectors (textarea[mat-autosize], textarea[matTextareaAutosize]) which I have no clue how the end result is when someone will do [mat-autosize]="autoSize
Also related https://github.com/angular/material2/pull/9831
cc @jelbourn @mmalerba

That sounds reasonable to me, want to send a PR?


WIP Feature/institutions

The parser in api/base/parsers would probably need some changes.  Currently, the parser expects POST requests when creating relationships, like node links and node contributors.  Since the POST part won't won't be true, it will assume you aren't creating a relationship and thus expect attributes to be in the request body and raise an exception.
https://github.com/CenterForOpenScience/osf.io/blob/develop/api/base/parsers.py#L58

Regarding adding a primary_institution to a node, I think this is a good case for using relationship self links, similar to the proposed changes in https://openscience.atlassian.net/browse/OSF-5174 since the relationship between a node and its primary institution won't have other metadata (that I know of?).  This is how modifying node links will work in the future.
This would be a simpler request/response than creating a node contributor, for example, because the contributor relationship has additional attributes, permission & bibliographic, while you want to merely create a relationship between a node and an institution.
See Updating To-One Relationships http://jsonapi.org/format/#crud-updating-to-one-relationships
Self link: /nodes/{node_id}/relationships/institution/
Related link: /nodes/{node_id}/institution/
So to add an institution: PATCH /nodes/{node_id}/relationships/institution/
{
    "data":  {"type": institution", "id": "UVA"}
}

What do you think @brianjgeiger?

Sounds right. I'm all for having the self links put in.

Stopping my review: I've only looked at part of the InstitutionSerializer and class NodeInstitutionDetail.  Using relationship self links for adding an institution will require several changes.

Stopping my review: I've only looked at part of the InstitutionSerializer and class NodeInstitutionDetail. Using relationship self links for adding an institution will require several changes.

Excited about this PR - especially your work on the relationship self links.  This is great functionality for the API - laying groundwork for to-many relationships like node_links!
API pass finished :sunny:

Pass complete.
Almost there - most of the comments above relate to two points:

should institutions/institution_id/nodes/node_id/ and institutions/institution_id/users/user_id/ be endpoints? @brianjgeiger might have input.

If so, you need to provide these links in the InstitutionNodeDetail view and InstitutionUserDetail view.  If not, you can remove these URL's and their associated views.  I feel they are not necessary as they don't add any new information.  You can just give references to the respective NodeDetail view or UserDetail view (as you are currently doing).

change all institution types to "institutions" not "institution" to avoid confusion.

When you're done with your docs I think Fitz is a good person for review.

Follow Dawn's suggestions; they do not need their own endpoints.

Looks good Henrique.  Only a couple of changes to make the relationships/institution response look like this:

Since this is for QA (and reviewers) it would be good to detail how one would use these things in the PR description or the Jira ticket description. Give an example especially of how you'd use the relationship self link: what you start with, what you send, what gets changed when you send it). Also what information is serialized by the various endpoints and how they relate to other things.
It would be good to link back to the Jira ticket from here as well, especially if all that is documented there.

Okay, that's what I found through inspection. After merge conflicts are resolved, I'll check out the branch locally and try it out, and I will also look more closely at the tests. Pass done. :penguin:

Pass complete, will move on to functional testing when above comments have been addressed. :spaghetti:

@mfraezz back at ya. (Also check out that sweet commit message!)

LGTM. :battery:
Sending it on.

Looks good! Just a couple minor things to clean up. Otherwise good to merge. :octopus:

@sloria, just responded!


fix(dbmanager): use correct SQL to drop databases

Before this patch, ManagedClient.CreateDatabase could issue the following SQL:
DROP DATABASE mydb IF EXISTS WITH (FORCE)

which is not standard SQL and does not work with PostgreSQL. See https://www.postgresql.org/docs/current/sql-dropdatabase.html
This patch fixes to code to issue:
DROP DATABASE IF EXISTS mydb WITH (FORCE)

@kyleconroy , this patch fixes the DROP DATABASE syntax error introduced in https://github.com/sqlc-dev/sqlc/pull/3525 and https://github.com/sqlc-dev/sqlc/pull/3421

Thank you!


Add input field - media to design system

Ticket added to keep track of new design system components - unnecessary for dashboard, not part of initial set up to start using design system external to dashboard.

Work was done outside of this ticket by prometheus, closing as duplicate.


Add Hyperkin SQ Game Pad

Added support on Windows for Hyperkin's SQ gamepad.

Thank you ! Can you confirm the face button (BAYX) mapping matches the template ? https://github.com/gabomdq/SDL_GameControllerDB?tab=readme-ov-file#mapping-guide


[docs] Demo SearchIcons crashes

[ ] I have searched for similar issues in this repository and believe that this is not a duplicate.

Steps to Reproduce

Visit https://mui.com/components/material-icons/?query=play
Search for "play" icons
Select the "PlayCircle" icon
demo SearchIcons crashes

Your Environment

Tech
Version

MUI
v5.5.0

netlify deploy
https://622bf492b027b5000960dea3--material-ui-docs.netlify.app

Browser
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36

It worked after the third try.

same problem for me even after several tries and on several Icons

Duplicate of #31562


HBASE-27445 fix the result of DirectMemoryUtils#getDirectMemorySize

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  5s
Docker mode activated.

I mean if there is a standard on this? The code of a specific jvm implementation is not stable, maybe other implementations will have different orders...
If not, let's at least check the order for at least several commonly used jvm implementations, and also add comments in code to say that this is just our observation, not a standard.

I mean if there is a standard on this? The code of a specific jvm implementation is not stable, maybe other implementations will have different orders...
If not, let's at least check the order for at least several commonly used jvm implementations, and also add comments in code to say that this is just our observation, not a standard.

Really sorry for missing your reply here Duo.
I didn't find related information in the jvm specification in https://docs.oracle.com/javase/specs/jvms/se8/html/ , so I guess there isn't ? I'll do the check and add some comments.
Thanks for your reply Duo.

Hi Duo
I found that netty does some work about this.
https://github.com/netty/netty/blob/netty-4.1.1.Final/common/src/main/java/io/netty/util/internal/PlatformDependent.java#L84
I did a simple test, it works for jdk8, jdk11 and jdk17.
Maybe we can just reuse it ?

Hi Duo
I found that netty did some work about this. https://github.com/netty/netty/blob/netty-4.1.1.Final/common/src/main/java/io/netty/util/internal/PlatformDependent.java#L84
I did a simple test, it works for jdk8, jdk11 and jdk17. Maybe we can just reuse it ? What do you think ?

Hi, Duo, mind taking a look ? @Apache9

Hi Duo
I found that netty did some work about this. https://github.com/netty/netty/blob/netty-4.1.1.Final/common/src/main/java/io/netty/util/internal/PlatformDependent.java#L84
I did a simple test, it works for jdk8, jdk11 and jdk17. Maybe we can just reuse it ? What do you think ?

+1 since we have shaded netty.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 40s
Docker mode activated.


Find and use actual subnet cidr

Rather than guessing at what the subnet cidr is of the testenv's
internal network, we should just query for it.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

retest

Looks like you've got some merges on here, maybe you meant to do a rebase? These should all be squashed, should only be a single commit in this PR.


[STORM-745] fix storm.cmd to evaluate 'shift' correctly with 'storm jar'

Please refer https://issues.apache.org/jira/browse/STORM-745 to see more details.
The problem is, shift doesn't evaluated before calling goto.
I found the hint from http://ss64.com/nt/shift.html.
The SHIFT command will not work within parenthesis/brackets, so place all your command line arguments in variables before running any FOR commands or other bracketed expressions. Or use the CALL syntax as explained in this forum thread.
Just calling goto first resolves it.

Maybe storm.cmd would be something hard to maintain. Executing storm.py within storm.cmd would be better.

This is a regression that affects 0.9.4, and I've confirmed this patch fixes it.
I'm +1 for merging as well as applying it to the 0.9.x branch and releasing 0.9.5.
@HeartSaVioR, thanks for the fix.

Thanks for the patch @HeartSaVioR. I merged this to master, 0.9.x-branch, and 0.10.x-branch.


Definition of 'vesicle scission (GO:0099050)'

I have just discussed vesicle scission (GO:0099050) with @RLovering and we thought that the definition of vesicle scission needs to be updated.
Atm the definition is:
"The membrane scission process that is the final step in the formation of a vesicle: separation from its parent membrane."
However, the vesicle membranes need to fuse together after the scission, therefore,could we please modify the definition as follows:
"The membrane scission process that is the necessary step in the formation of a vesicle: leading to separation from its parent membrane."
This is related to #13907
Thanks,
Barbara

Do you have example annotations where this distinction is important?  IRRC from synapse examples, these happen simultaneously and involve the same gene products.

Good point. No, we do not have examples. This just occurred to us, as we were discussing 'vesicle assembly' #13907. If the vesicle scission and its closure/fusion happen simultaneously, then perhaps the definition of 'vesicle scission (GO:0099050)' needs to be updated to clarify this?
E.g. "The membrane scission process that is the necessary step in the formation of a vesicle: leading to separation from its parent membrane. Vesicle closure (vesicle membrane fusion) forms an inseparable part of vesicle scission."

We should try to find examples from GO-CAM to use as refs/examples.

I just had another chat with @RLovering about this, and if 'vesicle scission' does in fact always involve the vesicle membrane fusion step, then it should be linked to 'fusion' in the ontology, and it should include synonyms, such as 'vesicle fusion involved in vesicle assembly'? (This is a new term, which I requested in #13907 ).

Nope.
Fusion: two (connected) membranes ->  one
Fission (of which scission is the final step): One (connected) membrane  -> two.

First paper I found by googling has a nice figure:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2743992/figure/F6/
They do use the term 'fusion', but I still think it's useful to keep the two meanings distinct - not least because the have different mechanisms.

Ok, in this case 'fusion' is not the right word here. Presumably the membrane closes spontaneously due to physicochemical (or other) interactions. Whatever it is, there needs to be a sentence in the definition stating that this happens. Perhaps we should simply call it 'membrane vesicle closure'? Although the reason why we felt 'fusion' was more appropriate was that most 'closure' terms in the ontology seem to refer to development of anatomical structures.

Ok, in this case 'fusion' is not the right word here. Presumably the membrane closes spontaneously due to physicochemical (or other) interactions.

That's the impression I have.

Whatever it is, there needs to be a sentence in the definition stating that this happens.

Agree.   Not to bothered if we use the term 'fusion', closure or connection within the def.  Was objecting to adding relationship.

Don't the vesicles always from from preexisting membranes like this:
(i don't know of another way?).
If not I don't think there is any difference between "membrane vesicle closure" and "scission"

Don't the vesicles always from from preexisting membranes like this:

Yep.  That's what I'm saying.  We should only have one term.

Ok, so maybe the definition could be updated to include these details. E.g.:
"The membrane scission process that is the final step in the formation of a vesicle, leading to separation from its parent membrane. Vesicle scission involves the constriction of a neck-forming protein complex, consisting e.g. of dynamin, around the budded membrane, leading to vesicle closure during its separation from the parent membrane."
Or something along these lines?

"The membrane scission process that is the final step in the formation of a vesicle, leading to separation from its parent membrane. Vesicle scission involves the constriction of a neck-forming protein complex, consisting e.g. of dynamin, around the budded membrane, leading to vesicle closure during its separation from the parent membrane."

Perfect

Hi @BarbaraCzub
I updated the definition, I am sure we'll find plenty of similar tickets by October!
Cheers, Pascale

Thanks @pgaudet


Update release date of Wasmtime 1.0.0

This is an automated pull request from CI which is updating
the release date of Wasmtime 1.0.0 to today. This PR's base branch
is main and a second PR will be coming to perform the actual
release which will be targeted at release-1.0.0.

This is an empty commit so I'm going to close this.


Implement PolicyAnalizer, ReportService and Python Evaluator

To test add this to main after loading policies:
      PolicyAnalyzerService analyzerService = new PolicyAnalyzerServiceImpl();
      analyzerService.init(config);
      try {
        List<Violation> violations = analyzerService.analyze(policies);
        ReportService reportService = new ReportServiceImpl();
        reportService.generateReport(policies, violations);
      } catch (Exception e) {
        LOGGER.error("Analyze error: {}", e.getMessage());
      }

Code looks good. Let's merge this as well :)

Code looks good. Let's merge this as well :)

Needs rebasing. Will merge it first thing in the morning


Shooting improvement for visible objects.

Hello.
First of all i wanna say the bots are playing very well as a CPU players and they are really great, I appreciate author's work. Well done.
I've noticed an little issue. The problem is - they don't shoot non-visible or non transparent breakable walls, vents, boards etc. They just stuck and doin absolutely nothing. Map examples are de_suntower (wall right on T-Spawn) and de_rats (vents)
They break only transparent walls or vents on the maps like nuke or de_rats2001 if they can see if there a path to go they brake it. But if they don't see a path behind that objects... they stuck. In attachment's are some examples. This refers to all maps with that type of walls or other objects. Is there a way to "learn them" to break those object's? Cause there's a lot of maps with that type of objects i'd like to play but this issue bothers me a little. Thank you .I use the 4.5 version of YAPB.
Samples of that non-visible walls, vent's etc that they can't break
Sample1
Sample2
Sample3
Sample4
Working objects they can break with no issue.
Nuke vent
Originally posted by @irq433 in https://github.com/yapb/yapb/discussions/639

I noticed similar issues. For example, bots get stuck and do not break the wooden window at B site in de_mirage:

what version do you use?

@jeefo I am using the latest version 4.5.1128 on Linux with vanilla CS 1.6 build 8684.
The de_mirage map is from https://gamebanana.com/mods/84487, and the waypoint is from https://github.com/yapb/graph/blob/master/graph/de_mirage.graph


[BUG] dask-sql fails to import with dask-expr enabled

What happened:
dask-sql fails to import when trying to use it with dask-expr because dask-expr does not implement dd.Aggregation, which is subclassed in multiple places. We plan to use dask-expr as the default for the dask.dataframe API soon (see discussion issue here: https://github.com/dask/dask/issues/10934), so this will cause problems in the future.
Minimal Complete Verifiable Example:
$ export DASK_DATAFRAME__QUERY_PLANNING=True
$ python
>>> import dask_sql
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/__init__.py", line 8, in <module>
    from .cmd import cmd_loop
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/cmd.py", line 26, in <module>
    from dask_sql.context import Context
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/context.py", line 43, in <module>
    from dask_sql.physical.rel import RelConverter, custom, logical
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/physical/rel/logical/__init__.py", line 1, in <module>
    from .aggregate import DaskAggregatePlugin
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/physical/rel/logical/aggregate.py", line 24, in <module>
    class ReduceAggregation(dd.Aggregation):
TypeError: function() argument 'code' must be code, not str

Environment:

dask-sql version: main (https://github.com/dask-contrib/dask-sql/commit/93bb1e5bfc611a5987ed26af23cc80c5b0a23324)

Update: The problem mentioned above has been resolved via https://github.com/dask/dask/pull/10947 and https://github.com/dask-contrib/dask-expr/pull/893.
There is now a new error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/__init__.py", line 8, in <module>
    from .cmd import cmd_loop
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/cmd.py", line 26, in <module>
    from dask_sql.context import Context
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/context.py", line 43, in <module>
    from dask_sql.physical.rel import RelConverter, custom, logical
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/physical/rel/logical/__init__.py", line 5, in <module>
    from .filter import DaskFilterPlugin
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/physical/rel/logical/filter.py", line 11, in <module>
    from dask_sql.physical.utils.filter import attempt_predicate_pushdown
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/tpch/lib/python3.11/site-packages/dask_sql/physical/utils/filter.py", line 309, in <module>
    M.fillna: dd._Frame.fillna,
              ^^^^^^^^^^^^^^^^
AttributeError: 'function' object has no attribute 'fillna'

@charlesbluca , @rjzamora: Fixing the usage of dd._Frame shouldn't be much work. Are you aware of any other issues (e.g., other internals dask-sql relies upon) that will get in the way of dask-sql supporting dask-expr? I'm trying to scope the required effort here.

Thanks for scoping this out @hendrikmakait !
My understanding is that dask-sql uses a lot of custom HLG-optimization code to implement predicate pushdown. If dask-sql can use simpler dask-expr logic for this, then most of that code can probably go away (need to take a careful look soon to say for sure). I know @phofl found that the TPCh benchmarks were a bit faster without predicate pushdown, but it would be nice if users/dask-sql could still "opt in".

@charlesbluca @ayushdg - How high of a priority is it to migrate dask-sql's predicate-pushdown logic to dask-expr? It shouldn't be too much work, but it would also be good to know if simply disabling predicate pushdown is a reasonable temporary workaround?

FYI, we have now flipped the switch and dask-expr has become the default dataframe engine.

Closed with #1319


Error running fold_feat_gen.py (2nd)

I'm not sure whether
https://github.com/IBM/fold2seq/issues/1
is fixed.
With example data
WE46901:run_example kimd999$ cat domain_list.txt
/Users/kimd999/research/projects/Margaret/code/fold2seq/data/example/1aj4A00-2-161   1aj4  A  2   161
/Users/kimd999/research/projects/Margaret/code/fold2seq/data/example/1bzqK00-801-924 1bzq  K  801 924
/Users/kimd999/research/projects/Margaret/code/fold2seq/data/example/1ge0A00-1-130   1ge0  A  1   130

I see

total number of seqs: 470679
removed # seqs in ss.txt: 9337
Traceback (most recent call last):
  File "/Users/kimd999/research/projects/Margaret/code/fold2seq/data/fold_feat_gen.py", line 152, in <module>
    x1,x2 = selection(line[0] ,  line[2], int(line[3]), int(line[4]), seq_ss)
  File "/Users/kimd999/research/projects/Margaret/code/fold2seq/data/fold_feat_gen.py", line 42, in selection
    start = start.replace(')','')
AttributeError: 'int' object has no attribute 'replace'

Even after I commented out these replace lines, still I see
(fold2seq) [kimd999@tlogin3 data]$ ./run_this.sh
total number of seqs: 470679
removed # seqs in ss.txt: 9337
Traceback (most recent call last):
  File "fold_feat_gen.py", line 152, in <module>
    x1,x2 = selection(line[0] ,  line[2], int(line[3]), int(line[4]), seq_ss)
  File "fold_feat_gen.py", line 79, in selection
    raise ValueError("encounter inconsistent pdb structure:"+pdb_path+chain+" "+str(start)+','+str(end))
ValueError: encounter inconsistent pdb structure:example/1aj4A00-2-161A 2,161

both at my mac and linux


loop unroll expects MDNodes

cc: @lcw
this get's us to:
remark: /home/vchuravy/src/GPUifyLoops/debug.jl:5:0: Unable to fully unroll loop as directed by unroll(full) pragma because loop has a runtime trip count.
  partially unrolling with count: 8
  Can't unroll; loop not terminated by a conditional branch.
i = 1Loop Unroll: F[julia_print_12411] Loop %L3
  Loop Size = 6

for:
using GPUifyLoops

@noinline iteration(i) = @show i

f(i) = @unroll for i in 1:10
          for j in i
            if j == 2
              continue
            end
            iteration((i-1)*2 + j)
          end
       end

bors r+


[CARBONDATA-2777] Fixed: NonTransactional tables, Select count(*) is not giving latest results for incremental load with same segment ID (UUID)

problem:
[CARBONDATA-2777] NonTransactional tables, Select count(*) is not giving latest results for incremental load with same segment ID (UUID)
solution:
For NonTransactional tables, segments need to be refreshed if the segment latest timestamp got changed by the incremental load for count(*) flow also. This change is already present in select * flow and missed here.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed? NA

[ ] Any backward compatibility impacted? NA

[ ] Document update required? NA

[ ] Testing done
done. Updated UT.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7451/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6210/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5984/

@ravipesala : please review

LGTM


Review finalising serverless docker registry secret(s), runtime configs and service accounts

Description
Serverless configures a docker registry secret and replicates it across namespaces.
( also replicates runtime configurations and service accounts )
Those scattered objects are not cleaned up by the component that installs them ( function-controller ).
Currently we have code that cleans those up in the serverless operator, but it feels like the controller should clean those up using finalizers or owner-reference mechanisms.
Docker registry secrets do have finaliser mechanism but current deletion logic in the operator doesnt uninstall objects in the right order and the finalizer logic cleans up secrets only if function controller workload is clean up last.
Attachments
https://kubernetes.io/blog/2021/05/14/using-finalizers-to-control-deletion/

Deletion logic (order) should prevent deleting controller's service account so that it has necessary RBACs to remove objects ( CMs, secrets, SAs )

The fix would be expensive and therefore we believe its not justified since we have a working cleanup solution realised by operator.
Closing as wontfix


Update README.md with name vedavalli

Added my name vedavalli over here

@HimangshuSharma01 i added the labels so you can assign gssoc-ext, level2 to all merged an upcoming merges as well.

@HimangshuSharma01 i added the labels so you can assign gssoc-ext, level2 to all merged an upcoming merges as well.

okay sir


"RECS0154 Parameter '' is never used" is a bit annoying on "this" parameters in extension methods

This is more of a suggestion than anything else, given the the following code in an ASP.NET MVC project:
public static IHtmlString Div(this HtmlHelper htmlHelper)
{
    var tag = new TagBuilder("div");

    return MvcHtmlString.Create(tag.ToString(TagRenderMode.Normal));
}

In this case even though "htmlHelper" isn't used within the method it's still useful from elsewhere as a way to reference the code.
All though I use this pattern quite extensively in my own code base, I'm not 100% sure that I'm right here, but I think removing the check from "this" parameters could be worth considering if others are having htis issue too.

I wouldn't remove that warning generally, because actually the diagnostic is right here: This method doesn't need to be an extension method at all.
This could be a candidate in case we introduce a configuration mechanism, where you could disable the warning for extension methods especially in your project.

I agree, the diagnostic is right, and honestly after seeing the warning raised in my code I'm not sure that what I'm doing is all that clean.
That said, I think that having an unused "this" parameter does feel different from a regular unused parameter, since removing a regular unused parameter just means removing the extra value passed through, while removing the "this" parameter requires the way the method is referenced to be changed in a very different way (e.g. like my original Html.Div() would change to HtmlExtensions.Div())
Perhaps it'd be worth giving "unused 'this' parameter" its own error?


Go get error

Hi,
I am trying to get vaultfs by running go get command but I get the error as below.
github.com/asteris-llc/vaultfs/cmd
/root/.gvm/pkgsets/go1.7/global/src/github.com/asteris-llc/vaultfs/cmd/docker.go:63: cannot use driver (type docker.Driver) as type volume.Driver in argument to volume.NewHandler:
docker.Driver does not implement volume.Driver (missing Capabilities method)
I am using go1.7 as it is advised.
Thanks in advance.

I'm getting the following error:


Add support for routerOptions and useHref

Closes #5395, closes #5335, relates to #5476
This improves integration with client side routers by introducing two new APIs:

A routerOptions prop on each component that supports links. This is an opaque object that React Aria simply passes through to the router. It can be used for options like controlling scroll behavior, using replaceState instead of pushState, or any other features offered by a router. It is passed to the navigate function provided to RouterProvider as a second argument in addition to the href.
A useHref prop for RouterProvider which is used to convert an href provided to a link component to a native href. For example, a router might accept hrefs relative to a base path, or offer additional custom ways of specifying link destinations. The original href specified on the link is passed to the navigate function of the RouterProvider, and useHref is used to generate the full native href to put on the actual DOM element.

Both of these APIs work with TypeScript to enable autocomplete and type checking for the router options and also the href. To configure it, you can use TypeScript module augmentation to specify the RouterOptions type:
declare module "react-aria-components" {
  interface RouterOptions {
    href: MyRouterHref,
    routerOptions: MyRouterOptions
  }
}

Do that once in your app (maybe where you setup RouterProvider), and all link components in React Aria/RSP will use those options.
To do

[x] Docs

Any timeline on these changes? I just started a new project with React Aria Components and wanted to use TanStack Router but one of its main features (link autocompletion) simply does not work atm.


Ayom Ruei Ayom.md

Ayom Ruei Ayom
I'm living in Bor town in an area called Block 3.
Place of birth: Maar in Twic East County, Jonglei State.
Hobbies:
Reading newspapers.
Watching news and movies on TV.
Reading Bible.
Listening music and entertainments on radio.
Reading business tips and political affairs.
Family status:
I'm the first born son in the family, followed by my sister. We are two children only in our family. Both dad and mum died when we were very young and we were brought up by my maternal uncles up to now.
Education background:
I started my primary school in my village. The primary name is Maar primary school and finished my primary school in Bor B" primary school in 2009. I joined secondary school in Yei. At Nile High school Yei and completed it in 2013. I enrolled at Dr John Garang university of science and technology here in Bor one of the five public universities in the country where am pursuing a bachelor degree in business administration for four years in which I finished three years and Left with one year and will complete it this year if lockdown is lifted later this year.
Experience:
I worked for Radio Jonglei 95.9 FMone of the leading radios in Jonglei state for three years where I was a reporter and presenter as well.
I also worked for Voice of Reconciliation 98.4 FM as a reporter for seven months and quit for studies.
And to ATAKA HUB. where am still working now.
Then I recently attended ASKNET training online where I learned a lot of things including using Github application, how to write stories on Github, how to used tools for repairing phones, computers, radios, touches, lit lights and many more. The #ASKnet training helps me boost my knowledge in learning new things I never learned before.
I'm interesting in doing new things to help my community through ASKnet funded project if possible. I'm interesting in helping my community through the request made when we did community repair cafe that they need another three days for phones repairs and also to training them on business skills and empower them to start their own businesses.

Pretty good.

content taken over: https://asknet-open-training.github.io/ASKnet-Track-II-participants-stories-Community-Empowerment-2020-2021/Ayom/


Dependency tooltips with term signature

When hovering over the usage of a dependency in source code, the name and signature of that term should show.

This has been done 🎉


IA64: "illegal limits" error on user defined variable

Reported by Remik Ziemlinski on 12 Oct 2006 15:33 UTC
A script that did work pre-ferret v6.00 now fails on a user defined variable.
The error only occurs when invoked as part of a longer nested script, but not
when invoked standalone (see examples below, which must be run at GFDL).  The
error occurs with both DODS and CDF2 builds of ferret-6.00.
=========================
Examples that show when the variable "TPRIME2O" is okay and when it fails:
ssh ic1
cd /net/rsz/users/fjz/ferretia64bug-kd
module load ferret-6.00
This works.
ferret -script a1gtaylor2.jnl
This also works.
ferret
go a1gtaylor4a.jnl
go a1gtaylor4.jnl
This fails, which internally invokes a1gtaylor4.jnl from above.
ferret -script omdt_dixon.jnl
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1456

Comment by<EMAIL_ADDRESS>on 12 Oct 2006 15:35 UTC
The error message:
**ERROR: illegal limits: TPRIME2O is not in the range T=16-JAN-1900 12:00
Axis extremes are T=16-JAN-1900 12:00

Comment by<EMAIL_ADDRESS>on 18 Oct 2006 02:08 UTC
The troublesome script was refactored to a few lines and three netcdf files to
aid debugging.  The script is below and also attached.  The tiny netcdf files
will be attached.
! ferret -script error2.jnl
!! Comment next two lines and error goes away.
use "salt_obs3.nc"
cancel data/all
use "salt3.nc"
use "temp_obs3.nc"
let temp_o= temp[temp_m= temp[d=1,l=@ave](d=2,l=1]
let)
let corr = temp_o + temp_m
list corr

Comment by<EMAIL_ADDRESS>on 20 Nov 2006 19:25 UTC
Fixed along with the fixes to bug 1455; small example works fine as does the
larger example in this directory at GFDL
/home/sch/v600/ia64/ferretiabug1456/error.jnl

Attachment from<EMAIL_ADDRESS>on 18 Oct 2006 02:09 UTC
salt_obs3.nc
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1456_GIT_731/salt_obs3.nc

Attachment from<EMAIL_ADDRESS>on 18 Oct 2006 02:09 UTC
salt3.nc
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1456_GIT_731/salt3.nc

Attachment from<EMAIL_ADDRESS>on 18 Oct 2006 02:10 UTC
temp_obs3.nc
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1456_GIT_731/temp_obs3.nc

Attachment from<EMAIL_ADDRESS>on 18 Oct 2006 02:10 UTC
error2.jnl
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1456_GIT_731/error2.jnl


[Cognitive Services - QnA Maker] Package page description

@AlexGhiondea - anything else I need to do?
#sign-off

@diberry this looks good! Have you checked the generated package to make sure the links show up as you want it on Nuget.org?

@AlexGhiondea How do I see the generated package? There isn't a link in this PR.

@diberry can you try running dotnet pack from the project? That should generate the .nupkg file which you can then inspect with NuGet Package Explorer.

@AlexGhiondea verified in package page build. #sign-off

/check-enforcer reset


Feat: Copy feature to Docs

What feature?
We can add a feature of copying code to every code snippet on the docs page.
Add screenshots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

yeah, we need to add a copy button.
assigned to you

Completed. Thanks for your contributions 🎉 ❤


feat: auto-increment for entity id

Hello.
Implementation done. Auto increment annotation can be added only once on entity definition. Only Int, BigInt and ID (for nested object) are managed.
Eg :
`scalar Text
type Post {
id: Int! @autoIncrement
author: String!
content: Text!
tag: String
tx_hash: String!
created_at: Int!
created_at_block: Int!
poster: Poster
}
type Poster {
id: ID! @autoIncrement
name: String!
}`
Unfortunately i'm struggling with knex implementation and the primaryKey definition. There is normally the possiblity to define if an autoIncrement field should be defined as primaryKey, this is not working when i'm setting it false. Due to that i can only managed one autoIncrement field per table. Maybe enought for now.
Eg :
Knex increment
knex.schema.createTable('users', function (table) {   table.increments('id');   table.increments('other_id', { primaryKey: false }); });
I added two more tests :

should work with autoincrement
should work with autoincrement and nested objects

I put the constant needed under type.ts. Let me know if it's suitable.
The result under myssql for the schema above :

Ok thx, will check that.

Update done. New directive @autoIncrement added.

@0xTitan thank you for your contribution so far. Are you still expecting to work on this issue? If not I could push it across finish line.

Hi @Sekhmet, i pushed changes to remove regex and use directive. Huge thanks for your help and your patience !

Thanks for your comments. Update done.


Error with parsing under VS2017

I noticed this bug recently when trying out the latest master of CppSharp
with the demo Parser project that comes with it
https://github.com/mono/CppSharp/pull/888/files
I think this was supposed to be fixed by the passing in of a resourcedir
https://github.com/mono/CppSharp/issues/885
So I figured it must be searching under (CurrentDir)/lib/clang/6.0.0
(CurrentDir) being where the exe is running
To I tried copying / pasting the C:\Program Files\LLVM\lib directory across to (CurrentDir)
(I also have 6.0.0 stable installed)
but that didn't seem to fix it
I'm wondering if there's supposed to be a way of specifying the ResourceDir from the C# end
or if it's finding it but not handling things properly
considering the original bug was closed
I can't help but wonder if I've got something setup wrong on my end

nope sorry


ERR Cannot read properties of undefined (reading 'lastTask')

Saw this in insiders after a window reload:
ERR Cannot read properties of undefined (reading 'lastTask'): TypeError: Cannot read properties of undefined (reading 'lastTask')
    at P.Bb (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1516:17006)
    at P.Cb (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1516:17101)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1516:20463
    at async P.Fb (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1516:20483)
    at async P.xb (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1516:8701)

Seems to be from:

Seeing this a lot more since the last insiders update.
Version: 1.79.0-insider (user setup)
Commit: 9233de805c8fb05fad4d9d1c15f22fbca85430ad
Date: 2023-05-16T10:44:42.423Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

To verify, do a code review - here is where the undefined was throwing before https://github.com/microsoft/vscode/pull/182896/files#diff-5d6d50fef79440567acc5f9a977c908f45f59342bb4d5e19ef5b9ee25e02920cL1281


Distributed notebook is failing in Ci

Example link: https://dev.azure.com/Lightning-AI/Tutorials/_build/results?buildId=215298&view=logs&j=a979dc62-3272-5c6a-e237-f4ca2611251c&t=7f7494f0-3c11-5ab5-a590-4f12feb12df0
Relevant snippet:
Traceback (most recent call last):
  File "/usr/local/bin/jupyter-execute", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/jupyter_core/application.py", line 283, in launch_instance
    super().launch_instance(argv=argv, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/traitlets/config/application.py", line 1074, in launch_instance
    app.initialize(argv)
  File "/usr/local/lib/python3.10/dist-packages/traitlets/config/application.py", line 118, in inner
    return method(app, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/nbclient/cli.py", line 161, in initialize
    self.run_notebook(path)
  File "/usr/local/lib/python3.10/dist-packages/nbclient/cli.py", line 215, in run_notebook
    client.execute()
  File "/usr/local/lib/python3.10/dist-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
    return loop.run_until_complete(inner)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()

cc @apaz-cli @borda @carmocca @crcrpar

fixed in #1161


🚀 Release  1.3.2

:robot: I have created a release beep boop
1.3.2 (2022-10-13)
🚨 Bug Fixes

only add dist folder to released tag (f20a137)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carlosdevpereira/test-publish-to-cloudflare/releases/tag/v1.3.2 :sunflower:


Float the file name of examples to the right

I like to follow code samples that are provided.  After reading them, I will copy them to my own test project and run them.
This process of course includes naming the file.  In many cases, the file name is irrelevant.  However, in many case, it is relevant when other code samples depend on a particular naming.
I have been reading the Blazor Documents and find that in some cases, the file name is explicitly given at the top.  In other cases, it is buried in the text above.  This frustrates me as it is sometimes unclear just what exactly the name is supposed to be.
I saw this example on a site, and think it is the perfect answer to where to put the file name consistently - float it to the top right of the code sample, like this:

Live example here
I brought this up to the documentation team, and he suggested I post an Enhancement request here.  See #20499
Is your feature request related to a problem? Please describe.
Not being able to determine what the file name should be.
Describe the solution you'd like
Make it easy for the documentor to include the name of the file sample in a consistent way throughout all documentation.
Additional context
Here is how I would do it:

Recommend using the alt/comment text for this as @gregoryagu's example repo uses ...
[!code-cshtml[HelloWorld.razor](../../../samples/components/HelloWorld.razor)]

... and don't activate it if the alt/comment is empty ...
[!code-cshtml[](../../../samples/components/HelloWorld.razor)]


basic wasm STF executor for worker

As a minimal variant for M2, we could build a basic wasm interpreter based on
https://github.com/brenzi/substraTEE/tree/master/wasm-test
The example needs to be extended by custom signature functions (arbitrary arguments and return values).
For javascript hosts, wasm-bindgen solves this: https://rustwasm.github.io/wasm-bindgen/reference/types/string.html
But for us, with a Rust host, we'll need to either do #15 (the nice variant), or write our own memory mappings:
Hints can be found here:
https://github.com/paritytech/wasmi/issues/134#issuecomment-433604938
which is actually what parity did for substrate wasm-executor /wasm_executor.rs#L829
With parity_codec we could realize any Type ser-/desialization

The basic STF is executed in WASM in M2, although only standard type arguments can be passed to the code.


rpcd segfaults

ping @jow-
Segfaults and hangs. Sometimes.
ucode ddns.uc thinks the code is fine.
hang code
segfault code
But when put the file in /usr/share/rpcd/ucode and I do:
service rpcd restart
ubus call ddns get_env # runs OK
ubus call ddns get_services_log '{"service_name": "myddns_ipv4"}' # runs OK
ubus call ddns get_ddns_state # problem - hangs on ARM, segfaults on X86_64
ubus call ddns get_services_status # problem - hangs on ARM, segfaults on x86_64

for the problem cases, rpcd comes back with Command failed: Request timed out, and maybe after repeated attempts on ARM, the problem cases complete. No hang.
Segfault examples from x86_64
[   36.502180] rpcd[1228]: segfault at 0 ip<PHONE_NUMBER>000000 sp 00007ffd2a0291b8 error 14 in rpcd[56470ffc7000+4000]
[   36.545021] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[  281.204779] rpcd[4762]: segfault at 0 ip<PHONE_NUMBER>000000 sp 00007fff36752fd8 error 14 in rpcd[5565ddc07000+4000]
[  281.247614] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[  546.931074] rpcd[5453]: segfault at 7f00d7117c80 ip 00007ff6d7177213 sp 00007ffea93640e8 error 4 in libucode.so.20230711[7ff6d7164000+18000]
[  547.004116] Code: 8b 05 01 ed 00 00 48 8d 3d 0a 4e 00 00 48 8b 30 ff 15 b1 ed 00 00 ff 15 0b eb 00 00 5a c3 89 f8 83 e0 03 75 0a 48 85 ff 74 05 <8a> 07 83 e0 0f c3 55 48 89 f5 53 48 89 fb 51 67 e8 df ff ff ff 83
[ 1073.937643] rpcd[6715]: segfault at 7f6acd585068 ip 00007f6acd6a58e8 sp 00007ffe46e82390 error 4 in libjson-c.so.5.2.0[7f6acd69f000+8000]
[ 1073.996056] Code: 85 c0 75 46 41 8b 0c 24 48 83 c3 01 39 d9 49 0f 44 de 83 c5 01 39 e9 7e 1b 49 8b 54 24 18 48 8d 04 9b 4c 8d 2c c5 00 00 00 00 <48> 8b 3c c2 48 83 ff ff 75 be 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d

Seems like resource exhaustion issues. Problems seem to centre around the popen call to date.
Weird thing? If I start with
ubus call ddns get_services_log '{"service_name": "myddns_ipv4"}'

Then subsequent calls don't seem to lock or hang so soon. But ARM does this if it doesn't hang:
ubus call ddns get_ddns_state
{
	"_version": "2.8.2-43",
	"_enabled": true,
	"_curr_dateformat": null, # this field differs
	"_services_list": "NO_LIST"
}

While x86_64 does this:
ubus call ddns get_ddns_state
{
	"_version": "2.8.2-43",
	"_enabled": true,
	"_curr_dateformat": "2024-10-19 01:00\n",
	"_services_list": "NO_LIST"
}

ARM:
NAME="OpenWrt"
VERSION="23.05.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.5"
VERSION_ID="23.05.5"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r24106-10cc5fcd00"
OPENWRT_BOARD="mediatek/filogic"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.5 r24106-10cc5fcd00"

x86_64
NAME="OpenWrt"
VERSION="23.05.5"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.5"
VERSION_ID="23.05.5"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r24106-10cc5fcd00"
OPENWRT_BOARD="x86/64"
OPENWRT_ARCH="x86_64"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.5 r24106-10cc5fcd00"

Addendum: Copying the files to my devices using:
scp -O applications/luci-app-ddns/root/usr/share/rpcd/ucode/ddns.uc root@<IP_ADDRESS>:/usr/share/rpcd/ucode
reliably triggered the problem. I've noticed somewhere else that scp -O causes problems with large transfers.
But once I installed openssh-sftp-server the problems abated on x86_64.

BTW, is this relevant and up to date? https://ucode.mein.io/module-core.html
Some things here seem to be missing.

Couldn't reproduce this during some cursory testing with a qemu x86/64 vm

Try running the it multiple times. Sometimes things worked out or me. But after a few repeats, it eventually happens.

Did a root@OpenWrt:~# while true; do ubus call ddns get_ddns_state ; done  running fine for ~3 minutes

Madness. Do you run it on 23.05 or master?

same issue 23.05 x86_64

same issue 23.05 x86_64

after 1 day, rpcd report RPCError -32000
fixed
chmod 0644 /usr/share/rpcd/ucode/luci service rpcd restart
Weird.


Vercel deploy button can include required environment variables

The link for the Vercel deploy button in the readme can contain required environment variables, see https://vercel.com/docs/more/deploy-button#required-environment-variables
This should make it a bit more clear which environment variables the starter is expecting to function properly when deployed.

I believe that query parm won't work if you're not passing in a repo_url (which we won't have in the readme, as the user will have already had to set up a fork)

@jamespohalloran yep, good catch!


Added more crumb logging

Added more logging around crumb requests. The crumb response content will also be saved to YahooFinanceCrumbContent.log for failed case when Info level logging is enabled.

Hello @swiergot , would you mind running this at your end. This pull just includes more logging and unit tests.

Works fine, also when crumb has a slash.

Works fine, also when crumb has a slash.

Thanks