how can i solve this error '_drawAreaBoundsOutdated == false': is not true.

Steps to Reproduce

  @override
  Widget build(BuildContext context) {
    var judul = _judul;
    return Scaffold(
        body: Stack(
      children: <Widget>[
        Text(judul),
        Padding(
          padding: EdgeInsets.only(top: 15.0),
          child: Container(
            child: new charts.OrdinalComboChart(
              seriesList,
              animate: animate,
              behaviors: [
                new charts.SeriesLegend(),
                new charts.PanAndZoomBehavior(),
                new charts.InitialSelection(),
                new charts.LinePointHighlighter(),
              ],
              defaultRenderer: new charts.BarRendererConfig(
                symbolRenderer: new IconRender(Icons.cloud),
                // stackHorizontalSeparator: 10.0,
                groupingType: charts.BarGroupingType.grouped,
              ),
              customSeriesRenderers: [
                new charts.LineRendererConfig(customRendererId: 'customLine')
              ],
              // rtlSpec: charts.RTLSpec(axisDirection: charts.AxisDirection.reversed),

            ),
          ),
        )
      ],
    ));
  }```

## Logs

```(11562): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (11562): The following assertion was thrown during paint():
I/flutter (11562): 'package:charts_common/src/chart/layout/layout_manager_impl.dart': Failed assertion: line 115 pos
I/flutter (11562): 12: '_drawAreaBoundsOutdated == false': is not true.
I/flutter (11562): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (11562): more information in this error message to help you determine and fix the underlying cause.
I/flutter (11562): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (11562):   https://github.com/flutter/flutter/issues/new?template=BUG.md
I/flutter (11562): When the exception was thrown, this was the stack:
I/flutter (11562): #2      LayoutManagerImpl.drawableLayoutAreaBounds (package:charts_common/src/chart/layout/layout_manager_impl.dart:115:12)
I/flutter (11562): #3      BaseChart.drawableLayoutAreaBounds (package:charts_common/src/chart/common/base_chart.dart:414:22)
I/flutter (11562): #4      _LinePointLayoutView.paint (package:charts_common/src/chart/common/behavior/line_point_highlighter.dart:418:30)
I/flutter (11562): #5      BaseChart.paint.<anonymous closure> (package:charts_common/src/chart/common/base_chart.dart:579:12)
I/flutter (11562): #6      List.forEach (dart:core/runtime/libgrowable_array.dart:278:8)
I/flutter (11562): #7      BaseChart.paint (package:charts_common/src/chart/common/base_chart.dart:577:38)
I/flutter (11562): #8      ChartContainerCustomPaint.paint (package:charts_flutter/src/chart_container.dart:381:11)
I/flutter (11562): #9      RenderCustomPaint._paintWithPainter (package:flutter/src/rendering/custom_paint.dart:521:13)
I/flutter (11562): #10     RenderCustomPaint.paint (package:flutter/src/rendering/custom_paint.dart:559:7)
I/flutter (11562): #11     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #12     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #13     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #14     RenderPointerListener.paint (package:flutter/src/rendering/proxy_box.dart:2629:11)
I/flutter (11562): #15     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #16     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #17     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #18     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #19     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #20     _RenderCustomMultiChildLayoutBox&RenderBox&ContainerRenderObjectMixin&RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2273:15)
I/flutter (11562): #21     RenderCustomMultiChildLayoutBox.paint (package:flutter/src/rendering/custom_layout.dart:361:5)
I/flutter (11562): #22     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #23     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #24     RenderShiftedBox.paint (package:flutter/src/rendering/shifted_box.dart:70:15)
I/flutter (11562): #25     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #26     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #27     _RenderStack&RenderBox&ContainerRenderObjectMixin&RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2273:15)
I/flutter (11562): #28     RenderStack.paintStack (package:flutter/src/rendering/stack.dart:594:5)
I/flutter (11562): #29     RenderStack.paint (package:flutter/src/rendering/stack.dart:602:7)
I/flutter (11562): #30     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #31     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #32     _RenderCustomMultiChildLayoutBox&RenderBox&ContainerRenderObjectMixin&RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2273:15)
I/flutter (11562): #33     RenderCustomMultiChildLayoutBox.paint (package:flutter/src/rendering/custom_layout.dart:361:5)
I/flutter (11562): #34     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #35     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #36     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #37     _RenderInkFeatures.paint (package:flutter/src/material/material.dart:504:11)
I/flutter (11562): #38     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #39     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #40     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #41     RenderPhysicalModel.paint.<anonymous closure> (package:flutter/src/rendering/proxy_box.dart:1737:88)
I/flutter (11562): #42     ClipContext._clipAndPaint (package:flutter/src/painting/clip.dart:29:12)
I/flutter (11562): #43     ClipContext.clipRRectAndPaint (package:flutter/src/painting/clip.dart:49:5)
I/flutter (11562): #44     RenderPhysicalModel.paint (package:flutter/src/rendering/proxy_box.dart:1737:17)
I/flutter (11562): #45     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #46     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #47     _RenderCustomMultiChildLayoutBox&RenderBox&ContainerRenderObjectMixin&RenderBoxContainerDefaultsMixin.defaultPaint (package:flutter/src/rendering/box.dart:2273:15)
I/flutter (11562): #48     RenderCustomMultiChildLayoutBox.paint (package:flutter/src/rendering/custom_layout.dart:361:5)
I/flutter (11562): #49     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #50     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #51     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #52     _RenderInkFeatures.paint (package:flutter/src/material/material.dart:504:11)
I/flutter (11562): #53     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #54     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #55     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #56     PaintingContext.pushLayer (package:flutter/src/rendering/object.dart:370:12)
I/flutter (11562): #57     RenderPhysicalModel.paint (package:flutter/src/rendering/proxy_box.dart:1717:17)
I/flutter (11562): #58     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #59     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #60     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #61     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #62     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:173:13)
I/flutter (11562): #63     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123:15)
I/flutter (11562): #64     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2092:7)
I/flutter (11562): #65     PaintingContext._repaintCompositedChild (package:flutter/src/rendering/object.dart:128:11)
I/flutter (11562): #66     PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96:5)
I/flutter (11562): #67     PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:853:29)
I/flutter (11562): #68     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:331:19)
I/flutter (11562): #69     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:701:13)
I/flutter (11562): #70     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:268:5)
I/flutter (11562): #71     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:988:15)
I/flutter (11562): #72     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:928:9)
I/flutter (11562): #73     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:840:5)
I/flutter (11562): #77     _invoke (dart:ui/hooks.dart:209:10)
I/flutter (11562): #78     _drawFrame (dart:ui/hooks.dart:168:3)
I/flutter (11562): (elided 5 frames from class _AssertionError and package dart:async)
I/flutter (11562): The following RenderObject was being processed when the exception was fired:
I/flutter (11562):   ChartContainerRenderObject<String>#79818
I/flutter (11562):   creator: ChartContainer<String> ← Listener ← _GestureSemantics ← RawGestureDetector ←
I/flutter (11562):   GestureDetector ← LayoutId-[<chartContainer>] ← CustomMultiChildLayout ← OrdinalComboChart ←
I/flutter (11562):   Container ← Padding ← Stack ← MediaQuery ← ⋯
I/flutter (11562):   parentData: <none> (can use size)
I/flutter (11562):   constraints: BoxConstraints(w=320.0, h=405.0)
I/flutter (11562):   semantic boundary
I/flutter (11562):   size: Size(320.0, 405.0)
I/flutter (11562): This RenderObject has no descendants.
I/flutter (11562): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (11562): Another exception was thrown: 'package:charts_common/src/chart/layout/layout_manager_impl.dart': Failed assertion: line 115 pos 12: '_drawAreaBoundsOutdated == false': is not true.
I/flutter (11562): Another exception was thrown: 'package:charts_common/src/chart/layout/layout_manager_impl.dart': Failed assertion: line 115 pos 12: '_drawAreaBoundsOutdated == false': is not true.
I/flutter (11562): Another exception was thrown: 'package:charts_common/src/chart/layout/layout_manager_impl.dart': Failed assertion: line 115 pos 12: '_drawAreaBoundsOutdated == false': is not true.```

```flutter doctor -v
[✓] Flutter (Channel stable, v1.2.1, on Linux, locale en_US.UTF-8)
    • Flutter version 1.2.1 at /home/boot/flutter
    • Framework revision 8661d8aecd (2 months ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/boot/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /home/boot/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
    • All Android licenses accepted.

[✓] Android Studio (version 3.4)
    • Android Studio at /home/boot/android-studio
    • Flutter plugin version 34.0.2
    • Dart plugin version 183.5901
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3)
    • IntelliJ at /home/boot/idea-IU-183.5429.30
    • Flutter plugin version 34.0.2
    • Dart plugin version 183.6156.10

[✓] VS Code (version 1.31.1)
    • VS Code at /usr/share/code
    • Flutter extension version 2.25.1

[✓] Connected device (1 available)
    • SM J111F • 42005cdca14d6300 • android-arm • Android 5.1.1 (API 22)

This happens to me when I update the chart series with a point that is out of the bounds of the x-axis. If I reload the page, it draws fine again. Maybe it is missing a reload method to redefine the bounds and redraw the chart.

This happens to me when I update the chart series with a point that is out of the bounds of the x-axis. If I reload the page, it draws fine again. Maybe it is missing a reload method to redefine the bounds and redraw the chart.

and now, do you have solved in your apps?

In my case i use delay like follow  and my issue is solved
Future.delayed(const Duration(milliseconds: 500), () {
// Here you can write your code
setState(() {
// render your chart here
});
});

This happens to me when I update the chart series with a point that is out of the bounds of the x-axis. If I reload the page, it draws fine again. Maybe it is missing a reload method to redefine the bounds and redraw the chart.

and now, do you have solved in your apps?

Future.delayed(const Duration(milliseconds: 500), () {
// Here you can write your code
setState(() {
// Here you can write your code for open new view
});
});
use this

excuse me ! so is there a better solution to this problem ?

@anwar907  excuse me ! so is there a better solution to this problem ?

@anwar907 excuse me ! so is there a better solution to this problem ?

Yes!
instead of: using a fixed delay, where you don't know how much time your asynchronous call will take (for instance load chart data from json on the web - you can't guess it will take 500 milliseconds), i.e Future.delayed(const Duration(milliseconds: 500)...
Do this:

you'r widget should be a StatefulWidget
at the build(BuildContext context) method instead of you'r chart put a variable that you set as a (state) class var of the type Widget lets call it 'lineChart'
at the beginning of the (state) class set the 'lineChart' var to be a default widget (for instance Text() with the word "Loading...")
now you can asynchronously load you'r data, and at the 'then' section - call setState and set render you'r chart, and set it to the 'lineChart' var

sorry for the long example, but i wanted it to work so you can test it,
take a look at this working example code:

import 'package:charts_flutter/flutter.dart' as charts;
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

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

class PointModel {
  final String name;
  final int pointX;
  final int pointY;

  PointModel({this.name, this.pointX, this.pointY});
}

class Config {
  static List<PointModel> _chartDataList = [];
  static bool _loaded = false;

  static isLoaded() {
    return _loaded;
  }

  static loadChartDataList() async
  {
    // fetch data from web ...
    await loadFromWeb();
    _loaded = true;
  }

  static loadFromWeb()
  {
    // but here i will add test data
    _chartDataList.add(PointModel(pointX: 0, pointY: 24));
    _chartDataList.add(PointModel(pointX: 12, pointY: 40));
    _chartDataList.add(PointModel(pointX: 20, pointY: 18));
    _chartDataList.add(PointModel(pointX: 23, pointY: 30));
    _chartDataList.add(PointModel(pointX: 40, pointY: 12));
    _chartDataList.add(PointModel(pointX: 60, pointY: 15));
  }

  static getChartDataList() {
    if (!_loaded) loadChartDataList();
    return _chartDataList;
  }
}

class HomePage extends StatefulWidget {
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  List<charts.Series<PointModel, int>> _chartDataSeries = [];
  List<PointModel> chartDataList = [];
  Widget lineChart = Text("Loading ...");

  @override
  Widget build(BuildContext context) {
    // this is where i use Config class to perform my asynchronous load data
    // and check if it's loaded so this section will occur only once
    if (!Config.isLoaded()) Config.loadChartDataList().then((value) =>

    // call the setState() to tell flutter that it should re-evaluate the widget tree based
    // on this code changing the state of the class (the vars i.e. lineChart) and decide if
    // it wants to redraw, this is the reason to put lineChart as a var of the class
    // so when it changes - it changes the class state
    setState(() {
      print("Finished loading Json config from web!");
      chartDataList = Config.getChartDataList();

      // construct you'r chart data series
      _chartDataSeries.add(
        charts.Series(
          colorFn: (__, _) => charts.ColorUtil.fromDartColor(Colors.blue),
          id: 'My test Chart',
          data: chartDataList,
          domainFn: (PointModel pointModel, _) => pointModel.pointX,
          measureFn: (PointModel pointModel, _) => pointModel.pointY,
        ),
      );

      // now change the 'Loading...' widget with the real chart widget
      lineChart = charts.LineChart(_chartDataSeries,
          defaultRenderer: new charts.LineRendererConfig(
              includeArea: true, stacked: true),
          animate: true,
          animationDuration: Duration(seconds: 2),
          behaviors: [
            new charts.ChartTitle('Y axis name',
                behaviorPosition:
                charts.BehaviorPosition.bottom,
                titleOutsideJustification: charts
                    .OutsideJustification.middleDrawArea),
            new charts.ChartTitle('X axis name',
                behaviorPosition:
                charts.BehaviorPosition.start,
                titleOutsideJustification: charts
                    .OutsideJustification.middleDrawArea),
          ]);
    }));

    // here return your widget where the chart is drawn
    return MaterialApp(
      home: Padding(
        padding: EdgeInsets.all(8.0),
        child: Container(
          child: Center(
            child: Column(
              children: <Widget>[
                Text(
                  'Hello world line chart',
                  style: TextStyle(fontSize: 20.0,
                      fontWeight: FontWeight.bold,
                      color: Color(0xff747A80)),
                ),
                Expanded(
                  child: lineChart,
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Can add this code before rendering the chart.
sleep(const Duration(seconds:1));
https://stackoverflow.com/a/28776365/7870443

@anwar907 excuse me ! so is there a better solution to this problem ?

Yes!
instead of: using a fixed delay, where you don't know how much time your asynchronous call will take (for instance load chart data from json on the web - you can't guess it will take 500 milliseconds), i.e Future.delayed(const Duration(milliseconds: 500)...
Do this:

you'r widget should be a StatefulWidget
at the build(BuildContext context) method instead of you'r chart put a variable that you set as a (state) class var of the type Widget lets call it 'lineChart'
at the beginning of the (state) class set the 'lineChart' var to be a default widget (for instance Text() with the word "Loading...")
now you can asynchronously load you'r data, and at the 'then' section - call setState and set render you'r chart, and set it to the 'lineChart' var

Thank you that really worked for me, I was using a variable to change only the TimeSeriesChart data, but using a variable for the whole widget is the solution!!!


⚠ SkyfallMC Minecraft Server has degraded performance

In a534511, SkyfallMC Minecraft Server (play.skyfallmc.ga) experienced degraded performance:

HTTP code: 200
Response time: 1113 ms

Resolved: SkyfallMC Minecraft Server performance has improved in eac7529.


Ability to download via URL instead of searching

Is there any way where I can just pass the Plex media URL to this and it downloads the file?

No, that's not what this tool is for. This tool is for searching for download URLs, which can then be used by other tools to do the actual downloading. Downloading is the easy part. Producing a downloadable URL from plex search parameters is the hard part part that this tool aims to solve.
One reason downloading is not supported in this tool is because it's possible the search would produce hundreds of results, comprising terabytes of media. You would not want to yolo download all of that. It would not be efficient, and it would be abusive to the people hosting the libraries that are being searched.


IPv4Address clase hashValue crash on 32bit cpu under iOS9

IPAddress.swift
public var hashValue: Int {
return Int(_in_addr.s_addr)
}
stop reason = EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xe7ffdefe)
change to return Int(_in_addr.s_addr.byteSwapped)

test code
for i in 1 ...  100{
        let addr = IPv4Address.init(fromUInt32InHostOrder:(UInt32.max - UInt32(i)))
        print(addr.hashValue)
    }

Fixed


'Failed to complete chroot setup' at almost last possible moment

Please paste the output of the following command here: sudo edit-chroot -all
bash: edit-chroot: command not found

Please describe your issue:
Trying to create a Linux Mint-like Ubuntu chroot. All attempts at creating a chroot fail at the "Please specify a username for the primary user:" input. Tried rebooting, using VT2 and crosh shells, and fresh installer. All failed at the same step. Runnung below command with -u flag does the same thing.
Output: Normal until this line:
Please specify a username for the primary user: Failed to complete chroot setup.
Unmounting /media/removable/LinuxMint/chroots/mint...
Sending SIGTERM to processes under /media/removable/LinuxMint/chroots/mint...
chronos@localhost / $

If known, describe the steps to reproduce the issue:

Run this command: cd /home/chronos/user/Downloads | sudo sh -e /home/chronos/user/Downloads/crouton -r xenial -t xiwi,xfce,keyboard,extension -n mint -p '/media/removable/LinuxMint'

@EternalFlameIV,
Wow, that's a bummer.
In the interim, until the issue is determined and a fix is merged maybe first install it on the internal storage device first and then copy or move it with edit-chroot.
Hope this helps,
-DennisLfromGA

i am having the same issue. waiting for a fix


dotnet commad not working in cmd

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Have you tried opening a new terminal window after the installation? What error are you getting?


Upload Error Gives ("Unhandled Rejection") even when "catched"

Hello community
I am using the upload function in my code with the function to handle errors, like in the example above
        self._Upload.upload({
            method: 'POST',
            url: url
            data: {file: this.image, _method: 'PATCH'}
        }).success(function success() {
            console.log("sucesso");
        }).error(function error() {
            console.log("error");
        }).catch(function (error) {
            console.log("catcher");
        });

When the response from server is 400 the error should be catched and no unhandled rejection should be triggered, however in my console i am obtaining this
### CONSOLE
CONSOLE.LOG
error  ->  console.log
EXCEPTION
Possibly unhandled rejection: {"data":{"code":400,"message":"Validation Failed","errors":{"children":{"file":{"errors":["The document uploaded cannot be bigger than 2 MB"],"error_codes":[2000]}}}},"status":400,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"api/processes/232/tasks/1387/documents/4670","data":{"file":{},"_method":"PATCH"},"_isDigested":true,"chunkSize":null,"headers":{"Accept":"application/json, text/plain, /","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE1NTYxMjQzODIsImV4cCI6MTU1ODcxNjM4Miwicm9sZXMiOlsiUk9MRV9DVVNUT01FUiIsIlJPTEVfVVNFUiJdLCJ1c2VybmFtZSI6ImN1c3RvbWVyMUB0ZXN0LmNvbSJ9.LZGAId_W_Gpb7uMNzr2LcsJZHdlt3oge-IsP5f_UlbClGNd68fOsZuk-2YkswpModyFMFYbujYQo_eWGmdtVfH5EMkPhXgaRazUZ9O8PO2v1X-y4bs8jTsdMv0hwS6AcBqJ8BN2NL5IZTMsI3_2aMtlMn_GIYk2wI2ujx8BKHKY5clunNNcfVHJiHOtz6LBiK6wvj6OPe1UbqpPPuuE20kVIyRhLBX9srzCddvSuDhRdi8SqFkCQ_d-iu7lH58-D7Asv6ayVn3IPtAABogGGwuHyFwm2OY6iIh5nKnaMDu12nNd0hLw3LxTNH1ljEm_nlzoOsdGbX0MfU3UGLvyluVLdutkRJ6IoyLdkgj0ea0JWl_VDpDAZf9wS5jDfPOp_CjzlCSLlZ08KDDA_eTG6OH7MW8GSAUukcUCh0cKY3GwtVCpmLVfR6i2T2M6DDh_T_6mZOCYS0cKV4HjXSdPIPEMNad1UacqXaLL9xBxUiy_UTyjVcIpd1i8gFrlH4IyELth3zWC5-roImpEc2sW_sD9MrwQEbwsh2U3uOlyEGWhgmEqvZjGvLU18DzkzgJA8rVwj9Xw2qdP4nG05F6XqCvbUpnej739UDHyOK6UiTLJaHXj8EXePTTsgO0m1KGixJmIu0aGwaSTEYA7KwJsR5Xc2EH6_JkhTddSWaVm5ek"},"_deferred":{"promise":{}}},"statusText":"Bad Request","xhrStatus":"complete"}
Can you help me , i am doing something wrong ?
Thank you in advance

I have the same problem.
I have noticed that if you remove the following code, it will work.
https://github.com/danialfarid/ng-file-upload/blob/a4c4187c11bcc1a7eb81cf73171ad0110ac2e2f6/src/upload.js#L193-L197
But I don't understand why this piece of code is a problem.

@SirKlaus This call to finally creates a promise chain with the unhandled rejection. It needs to have a catch chained to it (either before or after).
 So for @filipe-carvalho 's example:
       const _deferred = $q.defer();
       _deferred.promise
           .catch(angular.noop)
           .finally(() => self._Upload.promisesCount--);
       _deferred.promise['finally'] = false;

       self._Upload.upload({
            method: 'POST',
            url: url
            data: {file: this.image, _method: 'PATCH'},
            _deferred
        }).success(function success() {
            console.log("sucesso");
        }).error(function error() {
            console.log("error");
        }).catch(function (error) {
            console.log("catcher");
        });


Allow per pixel transparency in javascript platform

fixes #35951

Thanks!

Cherry-picked for 3.2.1.


403: KDE.Kate version 21.08.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Resolves #26945

Resolves #26945

The bot has died like before.

Worth a shot

Permanently died, till winget team fix it.

On my PR #26960, the old label of unattended failed did not get removed and new labels got added.

@denelon please introduce a badge for @wingetbot and @msftbot like https://github.com/microsoft/winget-pkgs/pull/26961#issuecomment-912924176

I guess they must be changing something in the bot. We should wait for them.

Has anyone noticed that @msftbot does not add the "Microsoft Reviewers" tag in the PR comments as it did before? Both bots have died.

@vedantmgoyal2009 feel free to create an issue to add badges for the bots. I'm not sure how we'll verify they are behaving, but I think it's a good one for us to look at.


How to train on pytorch_block_nerf_dataset or convert it to mega-nerf format

Hello, many thanks for your great work!
I found that the pytorch_block_nerf_dataset is not in a format similar to mega-nerf. I don't know whether this dataset could be directly used for training by your codes. Could you provide several hands-on commands for that? If it could not be directly trained, could you give some hints on how to convert it to mega-nerf format? Thank you very much!

I'm still working on the data formatting issues. Ideally, in one week or two, we would benchmark these two algorithms into one uniform platforms.

Got it!


stuck on export

Debug log ID
S2AS7NC2-apse/6.7.219-6
What happened?
I'm trying to export my library but its stuck on exporting items and also shows: better BibTeX: preparing better biblatex

Can you start with logging enabled from the help menu and send a new log?

like this 4XY6ZWK3-apse/6.7.219-6

Please install 6739, restart with logging enabled, and send a new log.

That seems to have fixed it thank you ! C6ZY26P3-apse/<IP_ADDRESS>40.6739-6

It's not really a fix, it's just a bodge to allow BBT to start, despite the presence of the problem.
You have a "webpage" item titled "Commands And Arguments" that has not been assigned a citation key (I don't know why yet), but which is also not listed as missing at start. Can you tell me what you see in the "citation key" section of that item? And if you right-click the item and select BBT-Refresh, does it get assigned one?

There isn't a section for citation key and refreshing doesn't do anything.

Ah sorry you're on Zotero 6. Do any of the other items show the citation key at the top? Is it just this item that doesn't show it?
Can you send a log and check the "include item cache" checkbox?

Yeah it is.
QWCAAYPY-apse/<IP_ADDRESS>40.6739-6

If you go into Tools, Developer, Run Javascript, and past this into the left pane, verbatim
return await Zotero.DB.columnQueryAsync("WITH _items AS ( SELECT items.itemID, items.key as itemKey, items.libraryID, extra.value AS extra FROM items LEFT JOIN itemData extraField ON extraField.itemID = items.itemID AND extraField.fieldID IN (SELECT fieldID FROM fields WHERE fieldName = 'extra') LEFT JOIN itemDataValues extra ON extra.valueID = extraField.valueID WHERE items.itemID NOT IN (SELECT itemID FROM deletedItems) AND items.itemTypeID NOT IN (SELECT itemTypeID FROM itemTypes WHERE typeName IN ('attachment', 'note', 'annotation')) AND items.itemID NOT IN (SELECT itemID from feedItems) ) SELECT itemID FROM _items WHERE itemID NOT IN (SELECT itemID from betterbibtex.citationkey)")

and click "Run", what do you get in the right pane?

[
"0": 1306
]

That checks out, I just don't know why it's not getting a key assigned. I need to get some shuteye, but a new build will drop in 10 mins or so, please install it, do not let it restart, go to Help -> Debug output logging -> Start with logging enabled, let Zotero restart, and then send a new log. I'll look at it when I get up.

thank u ! 7ZC8EPP2-apse/<IP_ADDRESS>40.6741-6

I think I have it. New build will drop in 10, same procedure please.

Here is the debug log: KUV7DTWB-apse/<IP_ADDRESS>40.6742-6

I'm looking into it but my response times are slower than usual, the zotero 7 release is bringing in a spike of requests, and I'm currently away to a competition with limited to to get behind a computer. I'm doing my best to address the issues and will be back to normal response times on Tuesday.

Hi,
Thanks for all this, I think it might be all fixed now, I updated to Zotero 7 and that seemed to fix all the errors I was having !


Compatible with OffMeshLink

Is there plan to Compatible OffMeshLink?
Or I pull requests

No plan. OffMeshLink is the old way of creating nav links. Unity's
NavMeshComponents provides NavMeshLink which is the new way. This package expects you to have NavMeshComponents and is only for the new method.


Automatic Differential Privacy

Part of #223 Project
Description: In this epic, we want to add functionality to Grid and PySyft which allows for the automatic tracking of a privacy budget for entities in a dataset over time such that we can make formal guarantees around the amount of information leaked whenever a private asset is published (such as an AI model). It is preferred for this infrastructure to be as automated as possible, but applications (UIs) which allow for the vetting of digital assets for private information by humans are also allowed (and are likely essential for earlier adopters).

Part of #223 Project
Description: In this epic, we want to add functionality to Grid and PySyft which allows for the automatic tracking of a privacy budget for entities in a dataset over time such that we can make formal guarantees around the amount of information leaked whenever a private asset is published (such as an AI model). It is preferred for this infrastructure to be as automated as possible, but applications (UIs) which allow for the vetting of digital assets for private information by humans are also allowed (and are likely essential for earlier adopters).

Hi, has this been implemented?


Retain run-main.js/run-post.js

This is a fix-up to #210 which was overly aggressive in cleaning up the contents for the release

/test


Automation not working

Hello all!
First I would like to thanks KhaosT for the awesome work!! I recently discovered this and like it a lot.
My programming skills are bad, but im learning fast.
I got the HAP-NodeJS running and added some accessories and they work fine!
I have my iPad setup for remote access and automation.
My problem: when I make an automation (for example: switch on all lights every day @ 19:15) this simply doesn't work.. The time passes and nothing happens.
Can someone please tell me if they encounter this problem and most important, how to fix it.
I have searched this issues and googled a lot, but i can't find someone with the similar problem.

Can you try to create a automation based on accessory state and see if changing state triggers the automation?

Thanks for your quick reply.
I created an automation based on the following:
if outlet test is switch ON -> all lights go on.
(it took about 20 sec) but this works.
The automation based on time still doesn't work.

Interesting, have you tried delete existing time based automation and create a new one?
Best Wishes,
Tian Zhang

On Dec 5, 2016, at 11:01 AM, Shifter147<EMAIL_ADDRESS>wrote:
Thanks for your quick reply.
I created an automation based on the following:
if outlet test is switch ON -> all lights go on.
(it took about 20 sec) but this works.
The automation based on time still doesn't work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/KhaosT/HAP-NodeJS/issues/357#issuecomment-264943969, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpU4Pegfc1q0lmZ_bk1yCPzQ9-F5aJ5ks5rFF-YgaJpZM4LEjTh.

I removed the time based automation and added a new one. The newly added now works based on time.
Weird...

^^ good to know


Error compiling a file that uses doctest

I have a long module that ends with the following code, which is used for testing:
if __name__ == "__main__":
    import doctest
    (failures,tests) = doctest.testmod(report=True)
    print ("{} failures, {} tests".format(failures,tests))

When I try to compile it with transcrypt, I get the following error:
    Import error, can't find any of:
            D:/Dropbox/papers/GTR-SBB/auctions/doctest.py
            D:/Dropbox/papers/GTR-SBB/auctions/doctest.js
            c:/users/user/appdata/local/programs/python/python37/lib/site-packages/transcrypt/modules/doctest.py
            c:/users/user/appdata/local/programs/python/python37/lib/site-packages/transcrypt/modules/doctest.js
            C:/Users/user/AppData/Local/Programs/Python/Python37/Scripts/doctest.py
            C:/Users/user/AppData/Local/Programs/Python/Python37/Scripts/doctest.js
            C:/Users/user/AppData/Roaming/Python/Python37/site-packages/doctest.py
            C:/Users/user/AppData/Roaming/Python/Python37/site-packages/doctest.js
            c:/users/user/appdata/local/programs/python/python37/lib/site-packages/doctest.py
            c:/users/user/appdata/local/programs/python/python37/lib/site-packages/doctest.js

You can see my answer here #657 Import error with w3lib.encoding (from requests-html). In short, only a subset of python's std libraries is available for use with transcrypt, and doctest is not one of them.


Feat/added the possibility to add functions to match the route path

Hi, I need the possibility to create a custom match of the path, so I created this new feature.
This feature allows passing custom functions to match the path. I have also implemented the remove algorithm.
Feature
The createRouter now takes as input a new parameter called funcs, of this type:
Record<string, (str: string) => boolean>

and I added a new pattern in the routes: ::functionName.
An example of the new createRouter:
createRouter({
     routes: {
         '::len/hello/two': { hello: 'world' },
         'st/hello/two': { word: 'hello'}
     },
     funcs: {
        len: (str) => str.length === 2,
     }
});

All routes having two characters as the first path match the first route, excluding the path st.
The matching priority is changed in:

static routes
function routes
placeholder
wildcard

WDYT about this feature?

Hi @antoniomuso thanks for your work on this PR.
I like to keep radix3 purposefully minimal as a radix-only matcher. Adding support of Regex and  Function matching might be the implementation of a router but a probably a different one.
If you use either Nuxt, Nitro or H3, i would recommend you to try h3 custom `match for this purpose.
Would be happy to continue discussion if you like to make an issue and explain better of your usecase scenario.

I am using radix3 directly; I am not using frameworks that use it. In my scenario, I am using radix3 to select the routes that have to be cached. And in my use case scenario, this feature it is needed to reduce the number of routes to write.


fix: set ARCHIVE default value to true to disable smoke-test

Disable smoke-test temporary for breaking change recently

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-compose/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[X] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

Trigger Jenkins job and set archive to true manually.


Expose AppVeyor Build Artifacts

Expose build output of appveyor. This allows developers to validate their changes manually after CI.
closes #983

Not sure why AppVeyor was confused by some of the commits and considered them non mergable. Latest change seems to work though. Here's the output: https://ci.appveyor.com/project/mousetraps/nodejstools/build/1.0.494/job/xhjqt72h1jxvcv1b/artifacts
This resulting artifact is not in a very user friendly format just yet, but does allow developers to validate their changes. As mentioned in #983, we probably also want to support deploying master builds (not PRs) to GitHub from AppVeyor in the future: https://www.appveyor.com/docs/deployment/github (Or we can look at updating our internal build machine to do this automatically)


Argument list too long: recursive header expansion failed

Hello,
I'm getting this error in Xcode
Argument list too long: recursive header expansion failed at /Users/abdulaziznoor/Developminties/ShopNow/Frontend/React Native/node_modules/react-native-google-signin/ios/../../../ios/build/Index/DataStore/v5/records/Q4.
any idea how to solve it?

same issue :(

+1

Me too. Duplicate of https://github.com/devfd/react-native-google-signin/pull/333?

Same here

Same issue, I get it when adding React to my pods. Fresh new project works, but fresh new project with React included in the pods does not work and gives me this error

+1

Same issue.
But new application which created react-native init AwesomeProject is working.
Why?

I got fixed after applying this patch.
https://github.com/njt1982/react-native-google-signin/tree/fix-search-paths
( Change the package.json as "react-native-google-signin": "njt1982/react-native-google-signin#fix-search-paths" )
but, I got this error.
https://github.com/devfd/react-native-google-signin/issues/307
So I read each issues and I found solution that change the Podfile from pod 'Google/SignIn' to pod 'GoogleSignIn'. The solution found here.
https://github.com/devfd/react-native-google-signin/issues/316#issuecomment-369564585
but, I don't know why this error occurred and whether my solution is the best.
but, It's probably easy to change the package.json and Podfile when this problem is fixed.
So I dont' think there is a serious problem.

Thank you, @Takkiii , I fixed this issue 😁 But after that I have new problem
Installing build/Build/Products/Debug-iphonesimulator/demo.app
An error was encountered processing the command (domain=IXErrorDomain, code=13):
Failed to get bundle ID from /Users/username/Documents/DevProjects/project/ios/build/Build/Products/Debug-iphonesimulator/demo.app
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/demo.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

I checked Info.plist, it have right CFBundleIdentifier

We seriously need this or such PR resolving this issue to be merged asap.

We’re working on it. :)

Just got it to compile as RC-1 is now available:
yarn add react-native-google-signin@next
Thank you!

I deleted the "ios/build" folder and executed "react-native run-ios" and it worked!

I’ll lock conversation. If you’re still experiencing this please create a new issue.


Update web testing readme instructions

Updated web testing instructions in example/README.md for web plugins. Latest web-test instructions point to https://github.com/flutter/flutter/wiki/Plugin-Tests#web-tests.
#76817
cc @ditman
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [relevant style guides] and ran [the auto-formatter]. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the [CLA].
[ ] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[ ] I updated CHANGELOG.md to add a description of the change.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on [Discord].

Looking great, I'll have this merged ASAP!

Thank You! @ditman

Shh


Implementing Media App in Android Auto using .NET MAUI

I have developed a media app using MediaElement, and it works great. However, I was not able to find any information on how to add Android Auto and CarPlay functionality to my app.
Could anyone point me in the right direction or provide some insights on how to approach developing a media app for Android Auto using .NET MAUI? I would greatly appreciate any code samples, tutorials, or documentation references that can help me get started.

Maybe this tutorial will help
https://youtu.be/nNkVxegb2oU

I watched that video, it's very helpful for layout and navigation. Unfortunately, it does not show how to integrate the media player.

There might be better places to ask for resources for further development. Maybe try Microsoft Q&A, Stack Overflow or the Discussions tab on the .NET MAUI repository.
Thanks!


Transaction does not work in terminal ?

BEGIN does not seem to create a separate transaction? Or the isolation level does not guarantee repeatable reads?
We tested by:
CREATE TABLE test (a INT PRIMARY KEY)
Transaction 1:
BEGIN;
INSERT INTO test VALUES (1);
And then transaction 2:
BEGIN
SELECT * FROM test;
Then value 1 is actually shown in the result set.

Maybe that's because you are missing a semicolon after the second transaction(txn 2)??
I tried those sql on my terminal, it worked.

I have reproduced the bug reported by @vittvolt. The major problem is that, using psql terminal, Peloton treats every single statement, even the BEGIN statement, as a transaction. When the user types in INSERT INTO test VALUES(1), Peloton will directly begin a new transaction, insert the tuple into the table, and then commit the transaction. I am not sure whether the networking team @hanli32 @CHUYilei has solved this problem.

@hanli32 @CHUYilei sorry but I cannot find your PR... Has your PR been merged?

@yingjunwu I think I have already fixed the single statement txn problem and the PR #647 has been merged.

@hanli32 I see. But I reproduced the bug on the master branch, which means that the single-statement transaction problem may still exist even with your PR merged. Could you test code provided by @vittvolt?

@hanli32 An easy way to confirm the existance of single-statement transaction: print out something every time the BeginTransaction and EndTransaction functions in timestamp_ordering_transaction_manager.cpp (https://github.com/cmu-db/peloton/blob/master/src/concurrency/timestamp_ordering_transaction_manager.cpp) are invoked. You will see this pair of functions are invoked every time a new statement is issued.

@yingjunwu I tested the code and I found that one or more transactions may begin and end when the peloton is processing a statement, but these transactions are not invoked by tcop. I guess some other components in the Peloton may begin a new transaction when it is processing certain kind of queries and I think this is not the single-statement transaction problem. The transaction in the tcop's stack will not end until it receives a commit or rollback command from the terminal.
I added a semicolon after the second BEGIN and result is correct (no value in the result set).

After discussing with @hanli32, we found there's no transaction-related bug at all. The "bug" reported in this issue is due to the missing of a semicolon. The "single-statement transaction bug" I mentioned in my previous post also did not exist. However, Peloton falsely treats statements like begin and end (rather than BEGIN and END) as a single-statement transaction. This bug is reported in #688.


Changing Visible does not effect Subviews's Visible

I was today years old when I noticed that superView.Visible = x does not set Visible on the subviews to x.
We have a hacky internal API, View.CanBeVisible(view), apparently, because of this.
Enabled propogates.
Shouldn't Visible too?
I'd really like to be able to use overllapped.Visible = false to "close" an overlapped that might be "reopened".
Note, I think this means that there's tons of places where stuff is currently happening that shouldn't because a View's superview is hidden, but the View isn't.

A reasonable workaround that will work for toggling the visibility of an overlapped view (or any view) is to:
overlapped.Visible = !overlapped.Visible;
overlapped.Enable = overlapped.Visible;

I don't think cascading setting the Visible property explicitly would be a good idea. That would wreck whatever state someone has set up.
It all goes back to the drawing logic.
Whether or not something is visible is typically expected to be a recursive lookup from this to whatever contains this, all the way to root. Anything being not visible causes any descendants of that object in the tree to also be not visible.
You can do it with one property, but it's better (and common) to do it with two:
Visible/Visibility: The desired visibility of an item. Basically a direct get/set on the backing field of this, only. No recursion involved here.
IsVisible: A non-nullable boolean, get-only, computed property which takes the logical AND of (whether the backing field for Visible would be visible) && (IsVisible property of the parent of this in the tree).
The problem with the one-bool approach we have now is that it does not distinguish between intent and reality, and it can result in getting a different value back from Visible.get than you just fed to Visible.set, which is something that should generally be avoided outside of error conditions (in which case you're supposed to preserve the previous value anyway).
CanBeVisible is, indeed, a hack, and the above suggestion fixes the problem in fewer lines of code.

An IsVisible recursive property is a one-liner and it goes in the base View class:
public bool IsVisible => _visible && SuperView is not { IsVisible: false };

Now... If you want to extend that concept to communicate to descendants in the tree of a visibility change, that's a separate matter and should be handled by an event subscription, either internally (like during View.Add) or by the consumer, IF they want that behavior. I kinda lean toward the latter, but there's a perfectly reasonable argument to be made in favor of the former, too, so long as it can be disabled/canceled by a consumer.

I also think Visible should not cascade as a property. It leads to weirdness e.g.
Add child to parent
Set parent visible false (if cascade child would now be visible false)
Remove child
Set parent visible true (cascade misses because child was removed)
Add child

Exactly.
Or consider any situation where the consumer has explicitly set various sibling Views in the same SuperView to different Visible states and expects that to be respected when the SuperView is hidden or shown.
Heck, we could even potentially have things in TG itself which want to take advantage of that, for sake of simplicity, such as showing and hiding borders or context menus without having to rebuild them, yet still be able to just skip doing anything related to them while drawing by checking that one simple property.

IIRC when I created the CanBeVisible method was due the fact the unneeded propagation to the sub-views properties because when Visible is false then any drawn, except to cleaning if NeedsDisplay is true, is done on it nor on the sub-views, even any of them have Visible as true. The same behavior to keystrokes or mouse events. When I implemented the Enable property were the needed to propagate it because they are always drawn and receive keyboard and mouse events if the CanFocus is true. So if a sub-view that has Enable as true is added to a super-view that has Enable as false, then the sub-view will set Enable as false but backing in the field _oldEnabled as true. So, the View.Add method controls this things there as well. Thus I also have to same opinion as @tznind that the Visible mustn't cascade as a property.
Also I'm not very fan of left object created but not used always in the memory, if they may never been used during the execution app. For example, the MenuBar is always visible during the app execution and need to have the shortcuts in the object to run any action. But doesn't have various Menu loaded in the memory. Only open and close as needed. I think this is more preferable than having a bunch of invisible objects in the memory that can consume much more recurses than loading and unloading objects.

Closing by design.


Make sure the default-scheduler is present even when bin-packing is enabled

How to categorize this PR?

/area quality
/kind bug
What this PR does / why we need it:
Currently for bin-packing enabled Shoots we observe the following issue. There are some Pods that fail to be scheduled and stay in Pending.
$ k -n kube-system get po blackbox-exporter-78dff9b57f-bntc2
NAME                                                 READY   STATUS    RESTARTS   AGE
blackbox-exporter-78dff9b57f-bntc2                   0/1     Pending   0          100m

The reason for this is that the schedulerName of the Pod is default-scheduler:
$ k -n kube-system get po blackbox-exporter-78dff9b57f-bntc2 -o yaml | grep schedulerName
  schedulerName: default-scheduler

(When bin-packing is enabled we don't specify explicitly in the default-scheduler - it is no longer known to the kube-scheduler)
Hence, the Pod was not mutated by the pod-scheduler-name.resources.gardener.cloud webhook.
The reason for this is that the kube-apiserver failed to call the  webhook (or the webhook failed to respond):
W0901 06:04:12.551320       1 dispatcher.go:176] Failed calling webhook, failing open pod-scheduler-name.resources.gardener.cloud: failed calling webhook "pod-scheduler-name.resources.gardener.cloud": failed to call webhook: Post "https://gardener-resource-manager.shoot--foo--bar:443/webhooks/default-pod-scheduler-name?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: connection refused
E0901 06:04:12.551354       1 dispatcher.go:180] failed calling webhook "pod-scheduler-name.resources.gardener.cloud": failed to call webhook: Post "https://gardener-resource-manager.shoot--foo--bar:443/webhooks/default-pod-scheduler-name?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: connection refused
W0901 06:04:12.583348       1 dispatcher.go:176] Failed calling webhook, failing open pod-scheduler-name.resources.gardener.cloud: failed calling webhook "pod-scheduler-name.resources.gardener.cloud": failed to call webhook: Post "https://gardener-resource-manager.shoot--foo--bar:443/webhooks/default-pod-scheduler-name?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: connection refused
E0901 06:04:12.583380       1 dispatcher.go:180] failed calling webhook "pod-scheduler-name.resources.gardener.cloud": failed to call webhook: Post "https://gardener-resource-manager.shoot--foo--bar:443/webhooks/default-pod-scheduler-name?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: connection refused

The pod-scheduler-name.resources.gardener.cloud webhook runs with failurePolicy: Ignore and that's why in such cases a Pod can "by-pass" the webhook and request the default-scheduler (defaulted by kube-apiserver).
There are 2 possible ways to tackle the issue:

Add the default-scheduler to the kube-scheduler explicitly when the bin-packing is enabled. This would mean if there is something wrong with the webhook and request to it fail, the Pods will be scheduled by the default scheduler.
Change the webhook's failurePolicy to Fail and do not allow Pods to be scheduled when the requests to the webhook fail.

I picked approach 1. as it seems more reasonable to do not block the scheduling. Anyways failed requests to the webhook should be rather a rare case. This is also how I think GKE handle the webhook and kube-scheduler for their optimize-utilization autoscaling profile - they run the webhook with failurePolicy: Ignore and the default-scheduler seems to be present in the kube-scheduler component config.
Which issue(s) this PR fixes:
See above.
Release note:

An issue that could potentially cause Pod to fail to be scheduled when the `bin-packing` scheduling profile is used is now fixed. When the kube-apiserver fails to call the `pod-scheduler-name.resources.gardener.cloud` webhook the corresponding Pod will be scheduled according to the `default-scheduler`.

/retest


defect(config): use dotenv-extended instead of dotenv

1. User story: summary of expected behavior
As a consumer,
I want an .env.schema to declare required variables initialized with default values (where possible)
In order to avoid errors.
2. Acceptance criteria

[x] 1. A .env.schema exists with env variable declarations.
[x] 2. Optional vars load by default from env.defaults.
[x] 3. Required vars do not unless they're part of the session.

ℹ Pull request submitted for dotenv-extended
Submitted PR keithmorris/node-dotenv-extended#21 🤞 .

:tada: This issue has been resolved in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve the logo brand header in print view

This includes the logo and h1/h2 title & taglines.

Closed in #261 for now (may do more later)


Automatic export

Add some .xml files to make it easier to export the Jar files for the glue code

I like the idea, just a couple of issues:

the xml files reference the particular versions of the jars that you happened to have in your eclipse instance at the time you committed them (they’re all named with the build num and timestamp)
some of these may not be present (on my machine for example) but the ant build proceeds even if its can’t find all of the specified jars

When I do this:

Load this branch in my local eclipse instance
Right click alpha.glue.v2/export.xml > Run As > Ant Build
Observe that the artifacts/bin/alpha.glue.v2.jar file gets created successfully

Buildfile: /Users/lw/eclipse-cgo-artifact/alpha-codegen/bundles/alpha.glue.v2/export.xml
create_run_jar:
      [jar] Building jar: /Users/lw/eclipse-cgo-artifact/alpha-codegen/artifact/bin/alpha.glue.v2.jar
BUILD SUCCESSFUL
Total time: 2 seconds

Try to run it (via acc or however else), and see some NoClassDefFoundErrors:

acc -o out test.alpha
[acc]: reading 'test.alpha' file
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
	at org.eclipse.xtext.service.AbstractGenericModule.<clinit>(AbstractGenericModule.java:29)
	at org.eclipse.xtext.common.TerminalsStandaloneSetupGenerated.createInjector(TerminalsStandaloneSetupGenerated.java:45)
	at org.eclipse.xtext.common.TerminalsStandaloneSetupGenerated.createInjectorAndDoEMFRegistration(TerminalsStandaloneSetupGenerated.java:39)
	at org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(TerminalsStandaloneSetup.java:18)
	at alpha.model.AlphaStandaloneSetupGenerated.createInjectorAndDoEMFRegistration(AlphaStandaloneSetupGenerated.java:19)
	at alpha.model.AlphaStandaloneSetup.doSetup(AlphaStandaloneSetup.java:13)
	at alpha.targetmapping.TargetMappingStandaloneSetupGenerated.createInjectorAndDoEMFRegistration(TargetMappingStandaloneSetupGenerated.java:19)
	at alpha.loader.AlphaLoader.initialize(AlphaLoader.java:61)
	at alpha.loader.AlphaLoader.<clinit>(AlphaLoader.java:57)
	at alpha.glue.v2.GenerateNewWriteC.main(GenerateNewWriteC.java:40)
	... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 15 more

The problem here is that the v2 export file references org.apache.log4j_1.2.25.jar but I happen to have a different version installed in my Eclipse instance:
$ ls Eclipse.app/Contents/Eclipse/plugins | grep apache.log4j
org.apache.log4j_1.2.19.v20220208-1728.jar

And apparently ant just skips this, I can see that there is no log4j jar in the exported alpha.glue.v2.jar file:
$ jar -tf artifact/bin/alpha.glue.v2.jar | grep log4j
$

Can we wildcard the build timestamps and/or make ant fail if it can’t find everything?

Very nice, the alpha.glue.v1 project exports. Ant will still run (and appear successful) if one or more of the jars does not exist though. It looks like ant can fail conditionally, but it has to be told:
https://ant.apache.org/manual/Tasks/fail.html
I got it to work by adding a new target with a fail task per jar that fails if the jar doesn’t exist. Then I made the create_run_jar target depend on this. I pushed it to the automatic-export-conditional-fail branch. See commit https://github.com/CSU-CS-Melange/alpha-codegen/commit/1573e5566254c93493cffb2748fd74d139c19ea5 for a diff.
Here’s a bash script/function that you could use to generate the fail task
function make_fail_task {
JAR_STR=$1
cat <<-EOF
<fail message="$JAR_STR is missing">
  <condition>
    <not>
      <resourcecount count="1">
        <fileset dir="\${ant.home}/../" includes="$JAR_STR"/>
      </resourcecount>
    </not>
  </condition>
</fail>
EOF
}


Add correct environment variables to allow deploy of gallery app.

The Gallery deployment was missing some secrets in order to correctly deploy.  This adds those missing secrets as encrypted env vars.

LGTM


Fails to Autocorrect Words as You Type

Very confused by this addon. Why doesnt it autocorrect words as you type?

That's not what this extension offers. This extension only changes the dictionary Firefox uses to spell check what you type.


SSL Labs API v1.19.x Updated Info fields

See https://github.com/ssllabs/ssllabs-scan/blob/master/ssllabs-api-docs.md#119x-not-released.
"New Info field: newAssessmentCoolOff. There is now a mandatory cool-off period after each new assessment."

Thanks


Prepare release 2.3.7

@graingert Anything else needed that you can think of? Can you think of any good upstream projects or high profile users which need this package that might be interested to help testing this?

Is this good to merge (conditional on #69 being merged)? I'm still waiting for a response on your py.typed related comment @graingert

A heads up that I'll be merging this shortly (unless someone still wants to raise an issue).

Will be tagging in a moment, we'll find out if the release script does it's job as intended... 🤞

The release script failed:
https://github.com/jazzband/pathlib2/runs/5109176234
Not sure why. Anyway, I've done a quick manual release so it's on pypi.

Just to note I've had to yank the release (and, the post release that tried to fix the problem), due to a dependency issue and python2's pip being too old to properly resolve dependencies (who knew...). I think for future pure python 3 releases we best bump the major version number for upstream projects still on python 2. I have some cleanup PR coming up which will take care of this.


Anthony 1542 issue pinned report

Details
Skipping filtering of reports which have no messages but also are pinned
Fixed Issues
Fixes https://github.com/Expensify/Expensify.cash/issues/1542
Tests - Unit
npm run test
I updated the test file OptionsListUtilsTest.js to count the number of pinned reports. One of the pinned reports doesn't have any messages.
Tests - Functional

Press the + button to start a new chat with an individual who you have never messaged before.
Before sending any message, pin the chat.
The chat should be pinned in the chat list on the left.
Click on another chat.
The chat should still pinned in the chat list on the left.
Click back on the chat and unpin the chat.
The chat should still be in the list but no longer be pinned.
Click on another chat
Chat should disappear from the chat list on the left.

Tested On

[X] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

As this is only logic in the data layer I didn't test this on other platforms. I'm relying on the unit tests and

Looks like you've got a merge conflict to deal with. It looks like you just need to move your test down to the bottom of the page--nothing too complicated.

That’s a conflict  my other PR that just merged. It was a race to the finish on both ^^
Get Outlook for iOShttps://aka.ms/o0ukef

From: Scott Deeter<EMAIL_ADDRESS>Sent: Tuesday, March 2, 2021 9:59:42 PM
To: Expensify/Expensify.cash<EMAIL_ADDRESS>Cc: Anthony Hull<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Expensify/Expensify.cash] Anthony 1542 issue pinned report (#1584)
Looks like you've got a merge conflict to deal with. It looks like you just need to move your test down to the bottom of the page--nothing too complicated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FExpensify%2FExpensify.cash%2Fpull%2F1584%23issuecomment-789249880&data=04|01||43ab75904bf24daaaa5b08d8ddc67ca9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637503191841393795|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=GQu0NLs7cmWx3hkEKtAzxtR9WOPouUvQYj5ORtJxY0A%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALH7R5SCVEOCB3GJAQDSUCTTBVNU5ANCNFSM4YKCUWCQ&data=04|01||43ab75904bf24daaaa5b08d8ddc67ca9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637503191841393795|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7%2B1DxS6a6aApgWX2ZcdRkkO9WaR21KvnTvIgB%2FBi5qw%3D&reserved=0.


Understand active connections with upstream

Title: How many connections can be opened from envoy to upstream per worker for http1.1 requests
Description:  We have deployed envoy proxy in pod that is forwarding requests to upstream cluster which has 60 hosts. Below are the configurations at our end -

Number of pods of envoy -  25
Number of hosts in upstream -60
Envoy concurrency -  30
Circuit breaker.max_connections - 2400

When we are running performance tests for our service that hits envoy proxy, we are seeing upstream_cx_active value as 1800 per pod, which I think is coming from concurrency * number of hosts in upstream. Connections are not going beyond 1800 even at higher rate. Will worker create max one connection per each upstream host?

When does envoy worker thread creates new connection with upstream over http1.1 ?

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Envoy doesn't default to 1 connection per host unless you've capped the connections artificially low somehow (e..g https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/circuit_breaker.proto)

So, one worker can create multiple connections with the same host in upstream cluster based on the load, right?

yes, one worker can create multiple connections with the same upstream host.

Thanks for the information.


library: add ceph_crush_rule module

This adds ceph_crush_rule ansible module for replacing the command
module usage with the ceph osd crush rule commands.
This module can manage both erasure and replicated crush rules.
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons

jenkins test centos-non_container-update


Fire action with selected item.

I'm trying to do a multi-select where I reduce the possible options on selection. To do this I could do it via observers but I'm trying to avoid the use of observers in my apps, this is a good way to do so. Actions Up, Data Down :)!

This looks great @abuiles ! Thanks for taking the time to give back (most people will want a hook like this now that you bring it up).

Just did an npm publish for 0.0.10 with these changes :)

:+1:


Apply search day header design

Idea Description
The title says all.
Reference images and links
https://www.figma.com/file/NcSMs6dMsD88d4wOY0g3rK/DroidKaigi-2022-Conference-App?node-id=0%3A1

I will try this issue. 🙋♂

Thanks! Assigned 👍


CFP

ty

Hey @zkriszti  added you as a collaborator, so you can open PR-s from project branches - which will enable netlify to generate previews


Update nav_bar.dart

On ios devices which ios version is later than , when pop from page to previus page largeTitle showing us bad behavior about its size.
And now, below issues are fixed by this PR:
flutter#67269
flutter#67269
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hi @sohrabonline. Thank you for the contribution. As the bot says above, all changes need to have tests attached, in order to defend against regressions. Would you be able to add one? The pre-submit checks seem to be failing as well for some style checks. You should be able to see the failures under the details for the Linux analyze test.

Hi @sohrabonline. Thank you for the contribution. As the bot says above, all changes need to have tests attached, in order to defend against regressions. Would you be able to add one? The pre-submit checks seem to be failing as well for some style checks. You should be able to see the failures under the details for the Linux analyze test.

can you help me do it?

@sohrabonline you updated the underscore variables but you still calling them in their previous declaration.

@sohrabonline actually, if you go to the checks section in this pr and clicked on (details) link, you see logs for that failure.

@sohrabonline Thanks for your contribution; if you would still like help with writing tests, can you check out the #hackers-new channel on our Discord (link in the contributing guidelines, see below)? Someone there might be able to help. Thanks!

@sohrabonline Thank you for putting this together. I'm going to close this PR in order to clear up our review queue. However if you ever want to come back to this, please feel free to reopen at any time.


⚠ ClamAV has degraded performance

In de6a249, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 451 ms

Resolved: ClamAV performance has improved in bd91011.


Enhance ideas

Hi Sam, I have a few people using the GUI, I will listen their comments and post them here.

What do you think about adding checkbox similar to metric but for the properties of each unit?  It should be easy to do but, I will appreciate some guide about how to code it.

All the ones in sorting.get_property_keys() will be the best idea.

We saw more issues with the line  titlebar.setMaximumHeight(13) [in manwindow.py] all using QT5..., do you think we could add an if to increase the value to 20 when this version of QT is used?

OK. This can be easy.
About the title bar size, it is also cool to keep little for laptop maybe we could make something adaptative depending the screen size/resolution
We could also think about some global property that could be saved in hidden config file.
Did you try using Pyside6 ?

In some systems we couldn't install QT6, for that reason we are using QT5 and PyQT5.
We tried in laptops, and the text in titlebars are completely unreadable.
Does the method adjustSize adjust the widget size to show the text in it? Maybe this will be an alternative solution.

OK
lets go for 20.
If no convinient on my side (linux+pyside6) I will do something adaptative later.

At least for my system 20 is a god number, but on a mac system it looks a bit smaller (maybe a different  screen resolution?). In my case (see the figure) you could get extra space reducing the separation between elements of each QDockWidget (red rectangles)... but I couldn't make it work

Hi Fernando.
Yes you are right. there must be also some kind of margin. I will have a look soon.


Do not use GaudiAlg

These are the changes needed not to use GaudiAlg, which will be removed (maybe soon) in Gaudi.
BEGINRELEASENOTES

Change headers and add EventContext in algorithms not to use GaudiAlg
Replace GaudiTool with AlgTool

ENDRELEASENOTES

Thanks!


Removal of non deprecated method SourceFile fromInputStream

I wanted to update our (pretty) old version of the closure-compiler to a newer one. I was able to fix all issues except for the following. We are using the following method:
SourceFile.fromInputStream(name, inpustream, StandardCharsets.UTF_8);
The method still exists in version v20210601 but was removed in version v20210808
Removal of deprecated method is not uncommon however there are two methods: one deprecated and one without deprecations - and both were removed. The commit can be found here.
@Deprecated
  @GwtIncompatible("java.io.InputStream")
  public static SourceFile fromInputStream(String fileName, InputStream s)
      throws IOException {
    return builder().withPath(fileName).withContent(s).build();
  }

  @GwtIncompatible("java.io.InputStream")
  public static SourceFile fromInputStream(String fileName, InputStream s, Charset charset)
      throws IOException {
    return builder().withPath(fileName).withCharset(charset).withContent(s).build();
  }

The removal of an non deprecated method is not a good idea. Was this intentional? Could the method be added again?

Does switching SourceFile.fromInputStream(fileName, s, charset); => SourceFile.builder().withPath(fileName).withCharset(charset).withContent(s).build(); work?
I agree it's best practice to deprecate methods before removing them, but as the SourceFile builder API still supports this pattern and it's been gone for a few years, I don't think it's reasonable to add back at this point.

Yes that is what I did - I replaced it with the code you mentioned... Some migration guide would have been helpful - took quite some research to figure that out :-)

Added something to the 20210808 release notes at https://github.com/google/closure-compiler/wiki/Releases#august-8-2021-v20210808.


Support arithmetic operators before ? placeholders

Support arithmetic operators before ? placeholders by adding extra operators when looking for keywords in stmt.bind()

Thank you!


[FEATURE REQ] Add Identifier for GenerateSas and SasBuilder

Sync with Java for GenerateSas and *SasBuilder where

Add constructor for *SasBuilder to take in Signed Identifier
Add overload to Uri GenerateSas(string identifier) to clients.

be gone bot


Vertical margins around lists in jsdoc comments are too large

VSCode Version: 1.3.1
OS Version: Windows 10

Steps to Reproduce:

Open vscode.
Paste this into a new buffer:

interface TypeChecker {
        /**
         * Two types are considered identical when
         *  - they are both the `any` type,
         *  - they are the same primitive type,
         *  - they are the same type parameter,
         *  - they are union types with identical sets of constituent types, or
         *  - they are intersection types with identical sets of constituent types, or
         *  - they are object types with identical sets of members.
         *
         * This relationship is bidirectional.
         * See [here](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#3.11.2) for more information.
         */
        isIdenticalTo(a: any, b: any): boolean;
}

Save the file as example.ts.
Mouse over isIdenticalTo and see the documentation popup.
Observe large vertical margins around and within the list.

Ran into this as well when I started a JSDoc comment with a hyphen and got way too much padding around the text.

I know @joaomoreno wanted to or did make that fix already

Duplicate of #2330


[admin] Remove org owner from organization add form #149

Closes #149

Coverage decreased (-0.1%) to 97.063% when pulling 90e8756551e967aa102df4a5b262404b3f09c230 on atb00ker:issues/149-remove-orgowner-from-from-addform into 7024383f746a23589c070b59cf85dc632c2a55be on openwisp:master.


[$250] iOS  - Profile - Display name is not updated on the secondary device

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.76-0
Reproducible in staging?: Y
Reproducible in production?: Y
**If this was caught during regression testing, add the test name, ID and link from TestRail:**https://expensify.testrail.io/index.php?/tests/view/4576324
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

In the main testing device (Desktop App), Navigate to Settings > Profile
Modify first name, last name
Verify that the data you updated also updates on the secondary device (iOS App) logged in to the same account (without the need to refresh)

Expected Result:
Display name changed on the main testing device (Desktop app) to be reflected on the secondary device (iOS App)
Actual Result:
Display name is not reflected on the secondary device (iOS app), although the fields were correctly populated when going to the edit screen of First and Last name fields in preferences. Display name will be only shown if the user from the secondary device clicks on Save button in the edit screen.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/36d54744-e2e8-4abd-9679-c59111ba58db

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f9e2d7604521d191
Upwork Job ID:<PHONE_NUMBER>204987392
Last Price Increase: 2024-05-31

Issue OwnerCurrent Issue Owner: @shubham1206agra

@anmurali  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
Display name is not reflected on the secondary device (iOS app), although the fields were correctly populated when going to the edit screen of First and Last name fields in preferences. Display name will be only shown if the user from the secondary device clicks on Save button in the edit screen.
What is the root cause of that problem?
When we update the first name as last name on another device, the data from Pusher only has new firstName and lastName

So the display name in Profile page isn't updated because we're using displayName here and many places of the App
https://github.com/Expensify/App/blob/2514f2988eb26858d30fa501c0040b1f8fc2e239/src/pages/settings/Profile/ProfilePage.tsx#L78
What changes do you think we should make in order to solve the problem?
By the same way we handle for report change, we should update the displayName in Onyx whenever displayName is different with firstName lastName.
https://github.com/Expensify/App/blob/2514f2988eb26858d30fa501c0040b1f8fc2e239/src/libs/actions/Report.ts#L207
To do that, we can check the details of each user if the displayName is outdated, we update it in Onyx with the new displayName by using PersonalDetailsUtils.createDisplayName function as we do when we update the displayName here. With this solution, all places that we're using displayName can be updated correctly.
callback: (val) => {
    Object.keys(val ?? {}).map((accountID) => {
        const details = val?.[accountID];
        const createDisplayName = PersonalDetailsUtils.createDisplayName(details?.login ?? '', details);
        if (createDisplayName !== details?.displayName) {
            Onyx.merge(ONYXKEYS.PERSONAL_DETAILS_LIST, {
                [accountID]: {
                    displayName: createDisplayName
                }
            })
        }
    })
    allPersonalDetails = val
},

https://github.com/Expensify/App/blob/2514f2988eb26858d30fa501c0040b1f8fc2e239/src/libs/actions/PersonalDetails.ts#L43
What alternative solutions did you explore? (Optional)
NA

@shubham1206agra there are proposals above for you to review!

Updated to internal

This is internal, and the issue itself doesn't feel critical to fix, so I have set it to medium. Given we have a ton of critical roadmap projects, bugs and polish, we'll get to this but probably at a weekly cadence.

@shubham1206agra What do you think about my proposal https://github.com/Expensify/App/issues/42674#issuecomment-2134556120. It can make sure that the displayName will be updated correctly if we still have the similar bug in the feature.


Need to use separate stanzas for each repo because the

args are different.  Sigh.

thank you Greg


master->live: remove activity events cmdlet

Docs Build status updates of commit caaf818:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-ps/MicrosoftPowerBIMgmt.Admin/Get-PowerBIActivityEvents.md
:white_check_mark:Succeeded

powerbi-ps/MicrosoftPowerBIMgmt.Admin/MicrosoftPowerBIMgmt.Admin.md
:white_check_mark:Succeeded
View (powerbi-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add build cache with built-in option

@ulrikstrid master now has a version that works and is green, with the old cache.
It might be easier to base this PR on master.

Created #270 instead


Add privateRegistry field to PBC

Currently, we use the registry of the bundle as sourceRegistry for our helm charts, but this makes it so our bundles cannot source multiple registries. If we add a privateRegistry field to the PBC, we know the customer wants to use a private registry and we should use that everywhere. Otherwise, we should use whatever is specified in the bundle.

Done


angular/components should use github labels

Please describe the feature you would like to request.
Add github labels for the components.
What is the use-case or motivation for this proposal?

Find related issues/fixes quicker for a component.

Speeding up resolution of issues/better issue/PR handling
when making a PR for a component, check if there exists similar issues, and maybe one which can be fixed in the same PR. Close resolved (related) issues, instead that they stay open unnoticed.

Is there anything else we should know?
As an example see: https://github.com/ng-bootstrap/ng-bootstrap/labels

We've been talking about doing this and agree that this could help, especially for us to get a better sense on the priorities at a per-component level. Thanks for the suggestion, it helps to signal to us that it would help not only us, but also the community.
Closing this out since its not directly an issue/feature request but thanks again for the feedback

@andrewseguin
Still after 5 months I sent you my proposal no component labels exist.
Exactly a year ago I looked into the stepper component . Till now they it is missing some simple functionality to do a "beforeSelectionChange" (https://github.com/angular/components/issues/9733). The issue itself exists since 1.5 year. During my observations several other fixes for the stepper component were made, but this issue has never been looked at.
With component labels, developers can search much easier. Fixing can be done on a component level and not on single issues.
In the last 2 days, 4 new issues drag-and-drop issues where opened, from which 2 have already reported many months ago.
The number of issues are continuously growing and are getting out of control. A year ago it were some 1200. Pull requests were some 200.
I don't want to bash here, I appreciate all work done. But hope some more control over issues can speed up development.


Missing compress42 and tinfl libraries - OSX Mountain Lion

This issue pertains to the latest release, version 2.0.1.
 I've tried to run the setup.py, but it doesn't seem to function on OSX. This also seems to be the same as issue #21, which was resolved a while ago.
Any ideas what I can do?  Thanks!

find / -name libcompress42.dylib yields no results.
Yosemite 10.10.2, installed binwalk through Homebrew.

@kirkelifson, @CyrilPeponne: As @runasand mentioned, the homebrew formula is borked and you need to manually build binwalk and use the libs from it. I hope to find some time to figure out brew packaging and fix it, but in the meantime you can use the libs that I built... if you trust me: https://gist.github.com/jonbrenner/d731d18e82c203dd1d81

Thanks for the head up, I will rebuild it from sources :P my mum always asks me to do not trust strangers :)

Binwalk is now pure Python and no longer uses any C libraries, so this should be a non-issue for current builds. You should be able to just grab the latest code from the master branch and run setup.py.

Cool, thanks!

@devttys0 can you push a release including the changes that fix this issue?

Mac OS x 10.10
@runasand :+1: thanks for your help
To fix "Exception: Failed to locate libraries '['magic']' "

sudo port install libmagic

The python installer failed to compile the lib, so just do:

./configure
make
sudo make install
sudo cp src/C/miniz/libtinfl.dylib /usr/local/lib/
sudo cp src/C/compress/libcompress42.dylib /usr/local/lib/

Then voilà !

@runasand's solution worked for me too using binwalk 2.0.1 on Mac OS 10.10.5

Macports' binwalk, version "binwalk @2.0.1 (cross)", still exhibits the error, sudo port install libmagic only helps against the exception.

Or: brew install libmagic xz for OS X Homebrew environment.

I still get this error on cygwin using binwalk 2.0.1 how can I install this libmagic you are talking about so I can fix this issue? I can't find it on cygwin


In Time/Date Pickers, use the Button to step through the columns before it becomes a 'commit'

I think it would be good for the Button on the multi-picker screens to step through the pickers. For example, start on Day and offer '>', and clicking takes you to the Month (stays as a '>'), then when you click onto the Year, it changes to the Check icon and commits the choice.

Hi @yschimke is this something to be picked up?
It would look something like this, when user clicks it moves forward and if user turns back by clicking on date or any other control it again changes to >, let me know if this is something to be done.
Thanks

I'll check if we have an existing figma for this, but essentially yes.

I'll check if we have an existing figma for this, but essentially yes.

Sure please check and let me know I'll raise a PR if its okay.

@MohitMandalia I checked, we do have Figma, but internally we also have an implementation of this, so we will likely just refresh the implementation here from the internal one.  So no sense, tackling again.

Hmm so I guess no input is needed here from my end @yschimke

Out of data given recent changes


Automator: update common-files@master in istio/istio@master

Generated by Automator - 2024-02-23T19:16:32+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
3c40b29581cb6725b7a02a9f26b3cd8f9cd17166
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-multicluster


Finish JSX support

We now support JSX using the jsx option. However we do not yet support JSXSpreadAttribute.
JSXSpreadAttribute :
  { ... AssignmentExpression }

I can't find any document to how to use this feature, and the online demo looks not support JSX yet, do I miss sth?

The option jsx is not on by default.
http://google.github.io/traceur-compiler/demo/repl.html#%2F%2F Options%3A --jsx

<a b%3D"c" d%3D{42}%2F>
and with a custom React.createElement function:
http://google.github.io/traceur-compiler/demo/repl.html#%2F%2F Options%3A --jsx%3Ddummy

function dummy() {}

<a b%3D"c" d%3D{42}%2F>

This bug has been fixed:
http://google.github.io/traceur-compiler/demo/repl.html#%2F%2F Options%3A --jsx

const o %3D {
  a%3A 'c'%2C
  d%3A 42%2C
}%3B

<a {...o}%2F>


OT: Not a bug, a question about Wayland?

Hey @coddingtonbear
Thanks for this! This is not a bug. Sorry to use github issues for such tomfoolery.
As a person who's used all manner of software KVM for twenty years and now finds himself in trouble given the combination of linux, mac, and windows on my desk, I was excited to find that my two decade habit of screen edging from one to the next was not finished, particularly since I run sway/wayland on linux.
My question is simple: I've used solaar. I saw this bullet on their repo:

Solaar will try to use uinput to simulate input from rules under Wayland or if Xtest is not available but this needs write permission on /dev/uinput. For more information see the rules page.

Will logitech-flow-kvm work on wayland? If so, I'm headed to best buy to give it a run tonight.
Any advice you can provide is seriously appreciated. My muscle memory is solid given the time, but I'm struggling given some neuropathy after years of falls while biking and running.
If you have a patreon or some such, just tell me where it is and I'm happy to comply for the favor!
Cheers,
David

It does in fact work on Wayland, yes -- my needing to have a KVM solution on Wayland is in fact what drove me onto this path when I wrote this project.
That being said, I have some bad news for you: I'm not using this software at this point, so I can't make any solid guarantees about its performance, and I remember there being a handful of buggy edge cases I was never able to completely iron out.  These days, I've instead switched to just using https://github.com/htrefil/rkvm for my KVM needs.
Good luck!

Thank you so much!
That's pretty cool that logitech-flow-kvm works on wayland. I'm always happy to try and fix things, but given my need to purchase new devices, I think I'll give your suggestion of rkvm a try tonight, particularly since half my toolstack is already rust anyhow!
Thanks again!


History between datetimes

Description:
Added end date to the history REST API, to enable a timeframe longer than 1 day to be sent from the API to a REST client. Completely backwards compatible with the old version of the history API
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2068
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ X ] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[ tests ran & passed for history.py ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ not sure where to do this one, couldn't find the history REST API test ] Tests have been added to verify that the new code works.

Also, I'm new to all this (my github experience is me working on my own projects with no other coders, and submitting bug/feature requests) - Looks like someone modified this in dev, will my changes modify theirs? Do I need to do something to get the new file (with the Logger functionality) and modify it with my content? Or will github take care of that? Just want to make sure I don't tread on others' work :+1:

Hello @jdevelvis,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

85749e01f822485488821808f465a07994e22f32 - This commit has something that looks like an email address (jdevelvis@jasons-macbook-pro.local). Maybe try linking that to GitHub?.
be7f8097893478aaba8c5757ef1b1d6d078359a4 - This commit has something that looks like an email address (jdevelvis@jasons-macbook-pro.local). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Hello @jdevelvis,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

be7f8097893478aaba8c5757ef1b1d6d078359a4 - This commit has something that looks like an email address (jdevelvis@jasons-macbook-pro.local). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

Bleh, I'll start over and see if I can fix the issue with my original commit


Add ZINTER command.

https://redis.io/docs/latest/commands/zinter/
copy-paste from https://github.com/aws/glide-for-redis/pull/1338/files

Please, ignore node CI failures - fixed in https://github.com/aws/glide-for-redis/pull/1424


Incorporate the schema information when SPARK-27237 is introduced

This will be available in Spark 3.1.0, though the schema information is supposed to be the initial one (if the schema has been changed over time, the schema information won't be the recent one, especially the "name" of the field.)