I/flutter (25517): 'package:flutter/src/material/input_decorator.dart': Failed assertion: line 895 pos 12: 'false'

It seems having a TextField as the title and of a ListTile and having a subtitle of anything for the ListTile is throwing this error.  Here's the offensive code and output from Android Studio.  If I remove the subtitle from the ListTile in _HomeState -> Scaffold -> body(Container) -> child(ListTile), or make the title a simple Text widget, the error does not occur.
import 'dart:async';
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';

void main() {
  runApp(MaterialApp(title: 'IO', home: Home()));
}

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  var _enterDataField = TextEditingController();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Read / Write'),
        centerTitle: true,
        backgroundColor: Colors.greenAccent,
      ),
      body: Container(
        padding: const EdgeInsets.all(13.4),
        alignment: Alignment.topCenter,
        child: ListTile(
            // title: Text('hello'),
            // subtitle: Text('world'),
            title: TextField(
              controller: _enterDataField,
              decoration: InputDecoration(
                labelText: 'Write Something',
              ),
            ),
            subtitle: Column(
              children: <Widget>[
                FlatButton(
                  onPressed: () {
                    return null;
                  },
                  child: Column(
                    children: <Widget>[
                      Text('Save Data'),
                      Padding(
                        padding: EdgeInsets.all(14.5),
                      ),
                      Text('Saved data goes here')
                    ],
                  ),
                ),
              ],
            ),
          ),
      ),
    );
  }

  Future<String> get _localPath async {
    final directory = await getApplicationDocumentsDirectory();
    return directory.path;
  }

  Future<File> get _localFile async {
    final path = await _localPath;
    return File('$path/data.txt');
  }

  // Write and Read from file

  Future<File> writeData(String message) async {
    final file = await _localFile;
    return file.writeAsString('$message');
  }

  Future<String> readData() async {
    try {
      final file = await _localFile;
      String data = await file.readAsString();
      return data;
    } catch (e) {
      return "Nothing saved yet.";
    }
  }
}

Performing hot restart...
Restarted app in 1,073ms.
I/flutter (25517): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (25517): The following assertion was thrown during performLayout():
I/flutter (25517): not implemented
I/flutter (25517): 'package:flutter/src/material/input_decorator.dart': Failed assertion: line 895 pos 12: 'false'
I/flutter (25517):
I/flutter (25517): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (25517): more information in this error message to help you determine and fix the underlying cause.
I/flutter (25517): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (25517):   https://github.com/flutter/flutter/issues/new
I/flutter (25517):
I/flutter (25517): When the exception was thrown, this was the stack:
I/flutter (25517): #2      _RenderDecoration.computeDistanceToActualBaseline (package:flutter/src/material/input_decorator.dart)
I/flutter (25517): #3      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (25517): #4      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (25517): #5      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (25517): #6      _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:102:20)
I/flutter (25517): #7      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (25517): #8      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (25517): #9      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (25517): #10     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:102:20)
I/flutter (25517): #11     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (25517): #12     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (25517): #13     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (25517): #14     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:102:20)
I/flutter (25517): #15     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1633:50)
I/flutter (25517): #16     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection/runtime/libcompact_hash.dart:277:23)
I/flutter (25517): #17     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1633:22)
I/flutter (25517): #18     RenderBox.getDistanceToBaseline (package:flutter/src/rendering/box.dart:1616:27)
I/flutter (25517): #19     _RenderListTile._boxBaseline (package:flutter/src/material/list_tile.dart:720:16)
I/flutter (25517): #20     _RenderListTile.performLayout (package:flutter/src/material/list_tile.dart:778:32)
I/flutter (25517): #21     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #22     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter (25517): #23     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #24     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #25     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #26     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #27     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #28     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #29     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #30     RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:381:13)
I/flutter (25517): #31     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #32     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11)
I/flutter (25517): #33     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #34     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:141:11)
I/flutter (25517): #35     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:399:7)
I/flutter (25517): #36     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:211:7)
I/flutter (25517): #37     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:355:14)
I/flutter (25517): #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #39     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #40     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #41     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #42     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1143:11)
I/flutter (25517): #43     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #44     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #45     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #46     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #47     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #48     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #49     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #50     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #51     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #52     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #53     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #54     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #55     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #56     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #57     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #58     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #59     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2831:13)
I/flutter (25517): #60     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #61     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:520:15)
I/flutter (25517): #62     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #63     __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #64     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #65     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #66     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #67     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #68     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #69     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #70     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #71     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #72     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #73     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:109:13)
I/flutter (25517): #74     RenderObject.layout (package:flutter/src/rendering/object.dart:1570:7)
I/flutter (25517): #75     RenderView.performLayout (package:flutter/src/rendering/view.dart:125:13)
I/flutter (25517): #76     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1445:7)
I/flutter (25517): #77     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:709:18)
I/flutter (25517): #78     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:270:19)
I/flutter (25517): #79     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:627:13)
I/flutter (25517): #80     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (25517): #81     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (25517): #82     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (25517): #83     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
I/flutter (25517): #85     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
I/flutter (25517): #86     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter (25517): #87     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter (25517): (elided 3 frames from class _AssertionError and package dart:async)
I/flutter (25517):
I/flutter (25517): The following RenderObject was being processed when the exception was fired:
I/flutter (25517):   _RenderListTile#57b83 relayoutBoundary=up7 NEEDS-LAYOUT NEEDS-PAINT
I/flutter (25517):   creator: _ListTile ← MediaQuery ← Padding ← SafeArea ← Semantics ← Listener ← _GestureSemantics ←
I/flutter (25517):   RawGestureDetector ← GestureDetector ← InkWell ← ListTile ← Align ← ⋯
I/flutter (25517):   parentData: offset=Offset(0.0, 0.0) (can use size)
I/flutter (25517):   constraints: BoxConstraints(0.0<=w<=301.2, 0.0<=h<=485.2)
I/flutter (25517):   size: MISSING
I/flutter (25517): This RenderObject had the following descendants (showing up to depth 5):
I/flutter (25517):   RenderSemanticsAnnotations#7d1d3 relayoutBoundary=up8 NEEDS-PAINT
I/flutter (25517):     RenderIgnorePointer#be0b9 relayoutBoundary=up9 NEEDS-PAINT
I/flutter (25517):       RenderPointerListener#89f26 relayoutBoundary=up10 NEEDS-PAINT
I/flutter (25517):         _RenderDecoration#2b3d6 relayoutBoundary=up11 NEEDS-PAINT
I/flutter (25517):           RenderRepaintBoundary#fe3dd relayoutBoundary=up12 NEEDS-PAINT
I/flutter (25517):           RenderTransform#43037 relayoutBoundary=up12 NEEDS-PAINT
I/flutter (25517):           RenderConstrainedBox#98017 relayoutBoundary=up12 NEEDS-PAINT
I/flutter (25517):           RenderCustomPaint#1a1be NEEDS-PAINT
I/flutter (25517):   RenderFlex#dcb7e relayoutBoundary=up8 NEEDS-PAINT
I/flutter (25517):     RenderSemanticsAnnotations#5ad98 relayoutBoundary=up9 NEEDS-PAINT
I/flutter (25517):       RenderConstrainedBox#74adf relayoutBoundary=up10 NEEDS-PAINT
I/flutter (25517):         RenderClipPath#9341d relayoutBoundary=up11 NEEDS-PAINT
I/flutter (25517):           RenderCustomPaint#8ce22 relayoutBoundary=up12 NEEDS-PAINT
I/flutter (25517): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (25517): Another exception was thrown: RenderBox was not laid out: _RenderListTile#57b83 relayoutBoundary=up7 NEEDS-PAINT
I/flutter (25517): Another exception was thrown: RenderBox was not laid out: RenderPadding#94e0a relayoutBoundary=up6 NEEDS-PAINT
I/flutter (25517): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#1449c relayoutBoundary=up5 NEEDS-PAINT
I/flutter (25517): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#20a39 relayoutBoundary=up4 NEEDS-PAINT
I/flutter (25517): Another exception was thrown: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 310 pos 12: 'child.hasSize': is not true.

Please add the output of flutter doctor -v
Have you tried in dev channel?
flutter channel dev
flutter doctor

Haven't tried dev channel.  Will try switching to that tonight.  Here's the output you requested:
 $ flutter doctor -v
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
    • Flutter version 0.5.1 at /home/jason/project/dev_tools/flutter
    • Framework revision c7ea3ca377 (7 weeks ago), 2018-05-29 21:07:33 +0200
    • Engine revision 1ed25ca7b7
    • Dart version 2.0.0-dev.58.0.flutter-f981f09760

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /home/jason/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /usr/local/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at /usr/local/android-studio
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at /opt/idea-IC-181.5087.20
    • Flutter plugin version 25.0.2
    • Dart plugin version 181.4892.1

[!] Connected devices
    ! No devices available

! Doctor found issues in 1 category.

@zoechi Same problem after switching to dev channel.
/home/jason/project/dev_tools/flutter/bin/flutter --no-color doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v0.5.6, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
[✓] Connected devices (1 available)

• No issues found!
Process finished with exit code 0

Looks the error doesn't occur in Flutter v0.4.4, but does as of v0.5.0.


Document the expected behaviour of import-sort-style-renke

I'm trying the renke style, and I find it more readable than eslint style, due to the separation between local imports and node_modules imports.
However, it's not clear to me how it's sorting, exactly. For example, it's not sorting alphabetically by the library name:
import React from 'react';
import _ from 'lodash';
import {connect} from 'react-redux';

It's not obviously sorting alphabetically by the variable before from, at least in the presence of {}:
import qs from 'querystring';
import {connect} from 'react-redux';

When there aren't {} brackets, it seems to be case insensitive sort alphabetically:
import ReactDataGrid from 'react-data-grid';
import qs from 'querystring';
import {Filters} from 'react-data-grid/addons';
import {connect} from 'react-redux';

I don't mind the behaviour, but I would like to understand the methodology. Looking at the source: https://github.com/renke/import-sort/blob/master/packages/import-sort-style-renke/src/index.ts#L22 it seems to be using some default behaviour somewhere.

In this case it first groups the imports by their "type". First come imports with only a default member and then imports that have only named members. Each group is then sorted using the unicode (ASCII) comparator  (see here).
import React from 'react';
import _ from 'lodash';
import {connect} from 'react-redux';

Again, imports are grouped first: Imports with only default member, followed by imports with only named members. The sorting within this groups is again dictated by the aforementioned unicode comparator.
import ReactDataGrid from 'react-data-grid';
import qs from 'querystring';
import {Filters} from 'react-data-grid/addons';
import {connect} from 'react-redux';

We can of course create a new style that is a little less confusing and add it to the import-sort repository. Perhaps an import-sort-style-wilfred? :smile:
But in general you are right, a README and a real example for each style would be nice to have.


Added contributors section

Fixes Issue🛠
Closes #37
Description👨💻
Contributors section added on readme

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

Merged!! Congrats on getting your PR merged to this repo under GSSoC'23 🎉 @Soumya-Kushwaha

Thank you @Rakesh9100


DRILL-7085: Fix table-path check in AnalyzeTableHandler

@HanumathRao can you please review the PR? Thanks!

@gparai code changes look good to me. +1


Github Bot_Added

Successfully added Github Bot that will automatically respond to the newly created issues and PR.
Resolved Issue: #367

@Abhi9shinde i will be removing this labels, make sure to update the code and create new Pull Request.


Changes logout on the account-widget to POST

#1870 changed the logout route to no longer support a GET request. This updates account_widget.blade.php to send a POST request to the logout route.

Thank you


Bump version number to 0.0.11

Issue link

n/a
Types of changes

Other (please describe below if you select "Other")
New version
Notes

Mostly testing the Android build with the new icon

@marcelomorgado FYI I rolled this version out to internal testers on Android and began an upload of the .ipa for iOS

And when I say this version I mean new builds for 0.0.11


Need Help

Hello, please help me with this scenario
Pair Matic/USD
wallet balance of user1 is 10 USD
wallet balance of user2 is 5 USD
User1 want to sell 10 Matic at price of 1 USD
User2 place a MARKET order to buy 10 Matic but he use has balance of 5 USD.
How to stop this order and process according to wallet balance

Hi, before sending an order to the orderbook your application have to check if the user can send an order, next decrease the balance as per the order size, execute the order and if something goes wrong or the order is not fully executed increase again the balance (pseudo code):
function userCanTrade(user, order) {
  return user.isActive && user.availableBalance >= order.size
}

function setAvailableBalance(user, newBalance) {
  return this.userService.updateById(user.id, {availableBalance: newBalance})
}

function async createOrder(user, order) {
  try {
    let orderExecuted;
    let updatedUser;
    if (userCanTrade(user)) {
      // Decrease available balance
      updatedUser = await setAvailableBalance(user, user.availableBalance - order.size);
      orderExecuted = lob.market(order.side, order.size)
      if (orderExecuted.quantityLeft > 0) {
        // Increase available balance for the quantity not executed
        await setAvailableBalance(updatedUser, updatedUser.availableBalance + response.quantityLeft);
      }
    } else {
     throw new Error('Something wrong')
    }
  } catch((e) => {
    console.error(e.message)
    if (!orderExecuted && updatedUser) {
      // User balance has been updated but the order has not been executed
      // so we restore the original balance
       await setAvailableBalance(user, user.availableBalance);
    }
  }
}

When user 2 add order of buy 10 matic according my given situation, and according your code it's lock user matic how it's possible.
In real scenario user 2 usd lock but without price how i do this (in buy order every time amount multiply by size), and also my situation user have nor enough balance soo if your order matching engine match this with 2-3 buy orders then how i rollback this because user don't have enough balance in his account

Yes of course was a pseudo code for the sake of example. The responsibility of the orderbook is to matching orders. Every other aspect of (user can trade?? user has enough money?? current price?? persist order on DB??) must be managed by the application by reading every response of the order book and updating the state accordingly
So in a real exchange you keep track of the market price for several reasons, say to show data in a graph or execute some cron job at specific price etc. and in order to not degrading the orderbook performance you can't call it every time to known the current price, so you have to keep track of the current price in a separate service (like redis and persist as a timeseries on DB every minute for the OHLC chart) by updating it at every order that move the price.

Closed for inactivity. Reopen if you need more help.


Make Liveness and Readiness Checks for Solrcloud Statefulset Configurable

Is your feature request related to a problem? Please describe.
Right now the liveness and readiness checks are hardcoded. I need some flexibility here when running backups to EFS on AWS. It generates high CPU IO Wait and I need more forgiving thresholds.
Describe the solution you'd like
Add to the solrcloud spec interface the different parameters that are currently hardcoded, set defaults to what they are now

I can work on this one if you want to assign to me.
I think the best spec interface for these settings will be in https://github.com/bloomberg/solr-operator/blob/master/api/v1beta1/solrcloud_types.go#L66 @HoustonPutman sound good to you?

Hey @sepulworld, I think this would be a great change! My only suggestion would be that you make a section in the top level SolrCloudSpec that you put these options under. I think that's what you meant, just wanted to make sure :)
Also @bsankara is the only one who can assign now, since I'm no longer at Bloomberg. He's a great replacement for me though!

@sepulworld Anything else to do here, or is it ok to close?

Yep! All working fine now 👍


Picture in the code

Why do you have a picture in the code https://github.com/qinchunyuan/DLEAMSE/blob/master/src/DLEAMSE/picture/500_rf_compare.png
Please remove it. Also, take the time to review the code.

removed


Any chance this code compiles on Mono/OSX ?

i just found out that this project supports the 09-2019 a.k.a 'Draft-8'-Version and seems to be the only alternative to AJV, at the moment.
just curious if it might compile on Mono/OSX ?

It's a netstandard2.0 library, so it should just work there.

great, i'll try it out.

@Asc2011 Just confirmed that you can download the nuget package and use it as is on Mac.


Add stylesheets path to TailwindCSS' content list

Hi,
While using Rails 7.0.0 with Tailwind I noticed that if I changed my application.tailwind.css file, such as adding these lines at the bottom:
body {
  background-color: #00ff00;
}

The tailwindcss watcher wasn't picking up the change and it did not produce a new build.
After applying this PR's patch it picks up the changes and it does produce a new build.

Tailwind docs say to not do this.
https://tailwindcss.com/docs/content-configuration#:~:text=Never include CSS files in your content configuration

Tailwind docs say to not do this.

It mentions not to include the individual CSS file(s) that "Tailwind is generating". That would be the output directory.
It's also written in a way that tries to push you into creating template partials and components instead of creating CSS classes inside of CSS files with its "configure Tailwind to scan your templates where your class names are being used" line.
You also can't only include application.tailwind.css because it won't pick up any files that you import. You have to include all of your source CSS files. Without doing it, then you won't be able to add any custom CSS.

I do not have my source application.tailwind.css in my content list and the watch process does pick up file changes and rebuilds.
content list
content: [
  './app/components/**/*.html.erb',
  './app/components/**/*.rb',
  './app/views/**/*.html.erb',
  './app/helpers/**/*.rb',
  './app/javascript/**/*.js'
]

application.tailwind.css
@import "tailwindcss/base";
@import "./custom_base_styles.css";

@import "tailwindcss/components";
@import "./custom_components.css";

@import "tailwindcss/utilities";
@import "./custom_utilities.css";

Mine does not.
Do you have any of your CSS imported in your JS (I don't)? Also are you running tailwindcss with the --postcss flag (I am)?

I am not importing css in JS. I am using the --postcss flag with the following config
module.exports = {
  plugins: {
    'postcss-import': {},
    tailwindcss: {},
    autoprefixer: {},
    ...(process.env.MINIFY_CSS === 'true' ? { cssnano: {} } : {})
  }
}

Do things change if you use:
module.exports = {
  plugins: [
    require('postcss-import'),
    require('tailwindcss'),
    require('autoprefixer'),
  ]
}

With: tailwindcss --postcss -i ./app/assets/stylesheets/application.tailwind.css  -o ./app/assets/builds/application.css --watch


textarea values not saved

I set up a few textarea fields with the intention to take a list of items. It doesn't seem to keep the value when I want to modify a committed post. When I modify a field and save it again, all the textarea values are set back to null.
In my yml I have:
      - name: "performers"
        field:
          element: "textarea"
          label: "Performers"
          value: ""

The actual post has:
performers:
  - Bridget Garwood
  - Paul Horan
  - Jasmin Johnson
  - Chris Keener

This still happens, so I assume it is not fixed by #686.

Still textarea fields are set to null, forcing the user to re-enter all textarea entries on any change

This still appears to be an issue. I'm surprised that this has been open so long, as it seems like a pretty major bug. Is there a workaround for this that I'm not aware of?

I work around it by using text fields instead of text areas. Not nearly as nice for the editor, but avoids the bug.

Thanks Greg. That's exactly the approach I just finished implementing and
it appears to be working. I can live with UI hit as long as it functions.
On Fri, Aug 7, 2015 at 3:23 PM, Greg Boggs<EMAIL_ADDRESS>wrote:

I work around it by using text fields instead of text areas. Not nearly as
nice for the editor, but avoids the bug.
—
Reply to this email directly or view it on GitHub
https://github.com/prose/prose/issues/582#issuecomment-128825615.

Hi @gijimmyj and @Greg-Boggs -
I just submitted a pull request that I believe addresses this problem. Please see #862 and, if you have time, feel free to pull down the metadata-fixes branch to test this for yourself locally, as I'd love to get some more user-testing on this before deploying it.
Directions for building and running the site locally you can find here.

@gijimmyj & @Greg-Boggs
https://github.com/prose/prose/pull/862 fixes the textarea issue for me.
See: https://github.com/phillipadsmith/starter/commits/gh-pages/_posts/2015-08-08-test-metadata-save.md


[Form Block] - All errors sent by server triggers a bug

Context
Any form thatv on save, can recieve errors from server
Current behaviour
Each time we press a 'Save' button on a form that contains errors that is catched and resent by the server, the Block component freezes with the grey "loading" style behaviour. Here some screenshot :

As you can see, the bug is produced both with errors on field and global errors.
Expected behaviour
No freez when the server send some errors.
Versions
"focus-components": "^0.8.5",
"focus-core": "^0.12.3",
"focus-file": "^0.1.2",

This has been solved in KleeGroup/focus-core#293 and #896 by @gideruette
Please update your project

:+1:


NOT AN ISSUE

hi guys how is it going? any success stories? i am part of a few coins dev community and also run a feeless pool looking to get this set up to make a feeless buy in/out option for some coins. whats the legality of this as it deals fiat-crypto or can it also exchange crypto to crypto only?
also do we need to register at Crypto Capital Corporation for fiat gateway or can we forget this step if not doing fiat exchanging

Hi dude. trading crypto to crypto does not need any legal stuff.
Only if it is fiat/crypto, then it is needed.

great. thanks for the reply. hopefully wlox will do for what i want and i get it up and running easy enough. had one go but it wouldnt let me in backstage2 just database erring lol

Hey guys i'm seen that this project has a lot of forks much more active than this man. Is there any channel to community support? maybe slack?

Created a new slack channel for the project:
Last master branch: www.github.com/wlox-project
Slack channel:
https://join.slack.com/t/wlox/shared_invite/enQtMjgzMjY2NzI3NzM1LWM2ODZlYmYzZmRjZTZmYjBjMjNlYWJjOGY5MDE5NmZiOGRlYTZkMmQzYWFlYTA2YjhiNzE3OTY0MmZjYTQ0NTY

@Ghost,you are offering a paid service or are willing to help, let me understand your purpose in the above comment.


Build issue

react-app-rewired build
has these warning while building the code
./node_modules/log-utils/node_modules/ansi-colors/index.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
./node_modules/create-frame/utils.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
./node_modules/handlebars-helpers/lib/utils/utils.js
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
in the browser getting this error
cannot find module falsey, create-frame,is-number
<EMAIL_ADDRESS>config-overides.js
const {
override,
addDecoratorsLegacy
} = require("customize-cra");
const enableRequireEnsure = () => config => {
config.output.globalObject = 'this'
config.module.rules[0].parser.requireEnsure = true
return config
}
module.exports = override(
addDecoratorsLegacy(),
enableRequireEnsure(),
);

@UmaMuthu were you ever able to fix this? If so, can you please share your solution?
Thanks!

I found a solution.
import { DefinePlugin } from "webpack";

config.plugins = [
  // Stop build hanging https://github.com/node-formidable/formidable/issues/337#issuecomment-153408479
  new DefinePlugin({ "global.GENTLY": false }),
]


add gitee support to [JitpackVersion]

add gitee

Warnings

:warning:
This PR modified service code for jitpack but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @okou19900722!

  Generated by :no_entry_sign: dangerJS against 5acb0d750956e0fc232966e96215f25aa1d03cf7

jitpack has already supported gitee. https://jitpack.io/docs/#other-git-hosts

Thanks @okou19900722 - do you have a gitee repo/project that we can use to test?

Review app @ https://shields-staging-pr-3531.herokuapp.com/

It might be a good idea to add tests for the different Git hosts: we'll be alerted if support for one of them is removed or if there's an issue with the API for that particular host. Probably not a blocker for this PR though. 👍

I wasn't proposing adding an automated test. I'm not familiar with gitee, so I was just hoping to get a project name that we could use to test with in the review app


Selecting Schema from GitHub broken

When selecting a data schema from github the whole dialog is broken.

wrong version


Missing EXTENDED_ACCESS permission for com.google.android.vr.home

This is for the Google Daydream app. If I understand correctly, the signature would need to be added here: https://github.com/microg/android_packages_apps_GmsCore/blob/master/play-services-core/src/main/java/org/microg/gms/common/PackageUtils.java#L48

I believe the signature is fc1edc68f7e3e4963c998e95fc38f3de8d1bfc96

Hmm, I think I either retrieved the signature incorrectly, missed something when adding it, or didn't replace the version I had installed correctly because it's still giving me the EXTENDED_ACCESS permission. I can provide the APK from the play store if that helps,

I just realized I had updates installed-- uninstalled those, rebooted, re-configured microg and daydream loaded up. Let me create a PR for this...


"autoreload" module not found using magic % command

Environment data

VS Code Insiders version: 1.53.2
Jupyter Extension version (available under the Extensions sidebar): 2021.2.603412351
Python Extension version (available under the Extensions sidebar): 2021.2.633441544
OS (Windows | Mac | Linux distro) and version: Windows 10
Python and/or Anaconda version: 3.6.12
Type of virtual environment used: conda
Jupyter server running: Local

Expected behaviour
Load extension autoreload when running %load_ext autoreload.
Actual behaviour
ModuleNotFoundError: No module named 'autoreload\r'
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-60c900c3607f> in <module>
      1 get_ipython().run_line_magic('matplotlib', 'inline\r')
      2 get_ipython().run_line_magic('matplotlib', 'notebook\r')
----> 3 get_ipython().run_line_magic('load_ext', 'autoreload\r')
      4 get_ipython().run_line_magic('autoreload', '2\r')

Steps to reproduce:
Open a notebook file in VSCode Insiders, put the following at the top of a cell in a notebook file and run.
%matplotlib inline
%matplotlib notebook
%load_ext autoreload
%autoreload 2

Opening it in VSCode Insiders with those settings above and the new notebooks view, I get the error.
On VSCode (not Insiders), this works for me and I get no errors on that same cell.

Let me know if you need anything more, or if this is the wrong repo to file this issue on.
Thanks!

Thanks for the bug.
Is this the same notebook with the same python environment (kernel) in both versions of VS?
Your issue sounds similar to this one:
https://stackoverflow.com/questions/47577596/modulenotfounderror-no-module-named-autoreload
What happens if you just do an import autoreload?
I'd also be curious in the version that's working, what you get if you print the autoreload file.
import autoreload
print(autoreload.__file__)

For me that file is here:
d:\Source\Testing_5\testenv\lib\site-packages\IPython\extensions\autoreload.py

Yeah, same notebook with the same environment.
I did take a look at that error you linked before I filed this bug, and I had deleted any trailing whitespace.
That didn't resolve the issue for me.
This is what is printed for the autoreload file:
Non-working VS Insiders:
c:\users\candr\miniconda3\envs\proj3\lib\site-packages\IPython\extensions\autoreload.py
Working VS:
C:\Users\candr\miniconda3\envs\proj3\lib\site-packages\IPython\extensions\autoreload.py

Are you saying you can import autoreload but %load_ext autoreload fails?

Yep, I just commented out the original %load_ext autoreload line, added the import autoreload line, and there was no error.

I'm wondering if there's an extra character being added in by our own stuff that's causing this problem.

Can you try the python insiders version and updating to our latest jupyter version?
Mine look like this:

Insiders python version can be set here:

Reloaded and ran again. Same error...

Your insiders version is also out of date. At least it might be if it still matches what your original entry described. This is the latest:
Version: 1.55.0-insider (user setup)
Commit: 5d80c30e5b6ce8b2f5336ed55ad043490b0b818f
Date: 2021-03-08T05:13:14.184Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19041

Do you have other extensions installed? They might be interfering with the text.
Additionally can you try this with the interactive window?
https://code.visualstudio.com/docs/python/jupyter-support-py#_python-interactive-window
That doesn't load any extensions so it should be just the text you type in.

Closing as this issue has been inactive for >1 month. Please feel free to comment/reopen if you'd like to follow up. Thanks for reporting a bug!


Discord login concerns

Hello I have the following problem when I want to login with discord thank you in advance for your help
invalid oauth2 redirect_uri

This is the working redirect URI of our group site.
Just change to your domain and try as the rest of the URL is:

This is the working redirect URI of our group site.
Just change to your domain and try as the rest of the URL is:

Thank you

Thank you

Considering its resolved.
You can further use our group site thread for seeking support instead of using Github issues:
https://mybb.group/Thread-Isango

Considering its resolved.
You can further use our group site thread for seeking support instead of using Github issues:
https://mybb.group/Thread-Isango


progression sharing?

is there a way to share your progress with another player?

Not currently, but teams are a planned feature.

closing this as teams are in the 1.8+ version, although i do need to finish the editor


Right side "sidebar handle" button is not noticeable

Describe the bug
The right side sidebar handle, people had issues and didn't know how to open and close it. What's worse (for new Volto editors), once you close the sidebar, it stays closed and the whole thing is lacking contrast and you won't know how to open it. It's a major UX problem.
To Reproduce
Steps to reproduce the behavior:

Open Volto Editor, and click on any block.
On the right side, the sidebar handle button is not visible clearly.
If you click on it and close the sidebar, it will remain closed.

Expected behavior
The sidebar handle button should be more opaque so it can be easily noticeable. And also it should open again when you click on any block.
Screenshots
https://user-images.githubusercontent.com/99530996/207945357-aff82593-48cd-47de-9087-52e2d92de1b0.mp4
Software (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Volto Version [e.g. 8.5.0]
Plone Version [e.g. 5.2.2]
Plone REST API Version [e.g. 7.0.1]

Related issue #3910 with a WIP PR to resolve it #3912 . More than happy for somebody to finish the PR off if they wanted :)

hey! @MAX-786 can I work on this issue?

@prithvi009 in the Plone organization, you may pick up any open issue or PR, assign yourself to it (Assignees in the upper right corner of GitHub), and work on it. There is no need to ask, unless someone else is actively working on it.
See https://6.docs.plone.org/volto/developer-guidelines/index.html for details.
And welcome to Plone! We're a friendly bunch.

@prithvi009 Sure! as Steve already said, but u may have noticed this that we already have this related issue #3910 and WIP PR #3912. Feel free to look into it and work on it if u like :) .


Client Description  isn't available at IdentityServer4.Models.Client

Issue / Steps to reproduce the problem
I'm trying to get/set Client Description at IdentityServer4.Models.Client to Store it at Db through ToEntity().
The property isn't available, but it exists at IdentityServer4.EntityFramework.Entities.Client

I made an workaround, just for you guys know about it!

It is in 2.2: https://github.com/IdentityServer/IdentityServer4.Storage/blob/dev/src/Models/Client.cs#L60

Great!
But I think that we need to wait the next version of IdentityServer4.EntityFramework. Because it depends of version IdentityServer4 2.1.1 ?
Or there is a way, that I cannot see, to update version 2.2 with this version of EF?

Correct -- it won't be there until 2.2. If you want to update it now, then you will have to use the EF entities directly.

Thx!


fix temp/development namespace reference

yeah tests fire with this new PR @coreydaley but no approved label .... @adambkaplan FYI

/approve

going to close this out and go with the original PR #3
@coreydaley is investigating the lack of approval label item ... if need be I'll open up another test PR once he gets some findings


feature: #67 temporary rest service to send emails

Added temporary e-mail service since the actual service will be yet decided on.
This feature is for testing purposes only and  should be removed once the actual service has been implemented.
(https://github.com/buerokratt/Buerokratt-Chatbot/issues/67)


Remote Edit doesn't follow symlinks

I have tried to user remote Edit on Widows and connected it successfully to a proftpd server. I've entered my home path just because I am lazy as every good coder should be and tried to follow a symlink to my public_html folder. remote edit has told me that this is not a regular file
Now we could start a discussion about how to handle a symlink file. Open the file to edit or follow the symlink as evry good editor will do. In my person I prefer the second option. But I'd like to mention that remote edit currently doesn't handle symlinks either the one way nor the other.
Take you time. Have a look in to it and of coures a nice day.

I've added initial support for symlinks. Haven't gotton around to figuring out how to determine if the symlink points to a file or directory. Would be great if you could try it out and give me some feedback before I publish an updated version :)


Unable to fire several HTTPRequest simultaneously

Godot version:
3.0 RC3
OS/device including version:
macOS 10.13.1 Beta (17B35a)
Issue description:
I'm unable fire several HTTPRequests  at once. Am I doing something wrong? Should I use several instances manually? Is it a bad practice reusing HTTPRequests? Do I need to turn use_threads on? Is it off by default? (I'm a Godot noob so I may be doing several things wrong).
Steps to reproduce:
Fire several HTTPRequests using the same HTTPRequest instance, not all will go through.

You can take a look at my current implementation using client pools and request queues here. Does that make sense? Is this the best way to handle several requests simultaneously?

Only one request per node is allowed.
You don't need a pool, though. Just create the node when making a connection and erase it when done.

As reduz said, you can't make more than one request per node at the same time (and you have to call cancel_request() before making a new one after the first completed).
If you do make very frequent requests to the same server which supports keep-alive and you want to squash some more performance you can use HTTPClient (which again, only do one request at a time, but keep the connection open if the server supports it).
But unless you actually find a bottleneck there I would simply create a new HTTPRequest node every time (or keep a pool of them as workers and queue requests).
The performance difference should be negligible in most use cases.
Closing.

erase it when done.

Hi, It seems it's not possible anymore in Godot 4.  I did not find a way to get the "source" http_request when I am in the _on_request_completed handler. With Godot 3 I used to add an extra parameter to the connect function like this http_request.connect("request_completed", self, "_on_request_completed", [http_request]) but this does not work anymore.


[trivial] Remove unusued var and tidy-up.

Remove unused qSchema from DecryptResponseRunnable.
Tidy-up local declarations, marking fields as final.
Introduce try-with-resources for streams.

+1 will merge this


Errors while moving through the readme

Hi there... I encountered the following errors when trying to follow the readme:
$ make setup
pip install pytest pytest-cov flake8 twine freezegun
make: pip: Command not found
make: *** [Makefile:2: setup] Error 127

I tried to continue and used python3 -m pocket_stats fetch-data --overwrite_cache which looked like it worked, but:
$ python -m pocket_stats webapp
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 114, in _get_module_details
return _get_module_details(pkg_main_name)
File "/usr/lib/python2.7/runpy.py", line 119, in _get_module_details
code = loader.get_code(mod_name)
File "/usr/lib/python2.7/pkgutil.py", line 281, in get_code
self.code = compile(source, self.filename, 'exec')
File "/home/jason/pocket_stats/pocket_stats/main.py", line 10
def fetch_data(offset: int, limit: int, overwrite_cache: bool) -> None:
^
SyntaxError: invalid syntax
Not sure what I'm doing wrong. Is the makefile not working? I'm looking at the errors there and wondering if it's leading to the problem in the webapp.

Note! I just checked my Ubuntu system for pip and couldn't find it, but did find pip3.
I changed the makefile to indicate pip3 instead of pip and it seemed to install correctly!
But I'm still having the same problem trying to run the webapp.

Note! I just checked my Ubuntu system for pip and couldn't find it, but did find pip3.
I changed the makefile to indicate pip3 instead of pip and it seemed to install correctly!
But I'm still having the same problem trying to run the webapp.

Also, I tried running python3 as the command instead of just python (not sure of the difference) and got this:
python3 -m pocket_stats webapp
2021-01-11 19:02:40,915 - [INFO] - filelock - Lock<PHONE_NUMBER>99632 acquired on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock
2021-01-11 19:02:40,915 - [INFO] - filelock - Lock<PHONE_NUMBER>16880 acquired on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock
2021-01-11 19:02:41,121 - [INFO] - filelock - Lock<PHONE_NUMBER>16880 released on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock
2021-01-11 19:02:41,135 - [INFO] - filelock - Lock<PHONE_NUMBER>99632 released on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/jason/pocket_stats/pocket_stats/main.py", line 35, in
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/jason/pocket_stats/pocket_stats/main.py", line 21, in webapp
app = create_app()
File "/home/jason/pocket_stats/pocket_stats/visualization.py", line 219, in create_app
domain_counts_plot(data),
File "/home/jason/pocket_stats/pocket_stats/visualization.py", line 154, in domain_counts_plot
top_pairs = list(get_domain_counts(data).items())  # both unread + archived
File "/home/jason/pocket_stats/pocket_stats/data.py", line 162, in get_domain_counts
return Counter(get_domain_from_url(record['resolved_url'])
File "/usr/lib/python3.8/collections/init.py", line 552, in init
self.update(iterable, **kwds)
File "/usr/lib/python3.8/collections/init.py", line 637, in update
_count_elements(self, iterable)
File "/home/jason/pocket_stats/pocket_stats/data.py", line 162, in
return Counter(get_domain_from_url(record['resolved_url'])
KeyError: 'resolved_url'

Also, I tried running python3 as the command instead of just python (not sure of the difference) and got this:
python3 -m pocket_stats webapp
2021-01-11 19:02:40,915 - [INFO] - filelock - Lock<PHONE_NUMBER>99632 acquired on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock
2021-01-11 19:02:40,915 - [INFO] - filelock - Lock<PHONE_NUMBER>16880 acquired on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock
2021-01-11 19:02:41,121 - [INFO] - filelock - Lock<PHONE_NUMBER>16880 released on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock
2021-01-11 19:02:41,135 - [INFO] - filelock - Lock<PHONE_NUMBER>99632 released on /home/jason/.cache/python-tldextract/3.8.5.final__usr__7d8fdf__tldextract-3.1.0/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json.lock
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/jason/pocket_stats/pocket_stats/main.py", line 35, in
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/jason/pocket_stats/pocket_stats/main.py", line 21, in webapp
app = create_app()
File "/home/jason/pocket_stats/pocket_stats/visualization.py", line 219, in create_app
domain_counts_plot(data),
File "/home/jason/pocket_stats/pocket_stats/visualization.py", line 154, in domain_counts_plot
top_pairs = list(get_domain_counts(data).items())  # both unread + archived
File "/home/jason/pocket_stats/pocket_stats/data.py", line 162, in get_domain_counts
return Counter(get_domain_from_url(record['resolved_url'])
File "/usr/lib/python3.8/collections/init.py", line 552, in init
self.update(iterable, **kwds)
File "/usr/lib/python3.8/collections/init.py", line 637, in update
_count_elements(self, iterable)
File "/home/jason/pocket_stats/pocket_stats/data.py", line 162, in
return Counter(get_domain_from_url(record['resolved_url'])
KeyError: 'resolved_url'

Hi @jason-mehmel, that command (python3 ...) has been replaced by another command in the latest version (0.3.0). Could you try to:

Uninstall the old package: pip3 uninstall pocket-stats
Reinstall it.
Run gunicorn --workers 1 'pocket_stats.app:server' -b :8077

Btw, I have deployed a simple web interface at https://pocket-stats.nlbao.page , in case you don't want to run the app yourself.

Hi @jason-mehmel, that command (python3 ...) has been replaced by another command in the latest version (0.3.0). Could you try to:

Uninstall the old package: pip3 uninstall pocket-stats
Reinstall it.
Run gunicorn --workers 1 'pocket_stats.app:server' -b :8077

Btw, I have deployed a simple web interface at https://pocket-stats.nlbao.page , in case you don't want to run the app yourself.


Continuous audio reading feature for successive chapters

Describe your suggested feature
We hope to add the successive audio reading feature to the successive chapters. We hope that there will be reading divisions for the chapter. I mean, I can move to the other lines when reading.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.12.
[X] I will fill out all of the requested information in this form.

Duplicate of #90


Github Asset preview in the extension itself 🧑🚀

Added Support for Viewing Issue / PR / Branch Previews in the extension itself, providing more convenience to our users.

Closes #20

There's a weird flickering bug with issue/pr id's of greater than 2 digits...see the behaviour in the Pull Request part in the GIF🙃

@loujaybee how does this awesome PR by @henit-chobisa look 👀....hopefully you won't have to switch back and forth to GitHub just to preview the issues and PRs atleast ✨


Use TravisCI for testing master/pull requests

It's pretty easy to do, and free for open source projects. Provides GitHub integration.
https://travis-ci.org/

Thanks! Added this in #8.


Possible to just use defaultProps as input for knobs?

 Issue by kevinSuttle
Thursday Sep 15, 2016 at 17:20 GMT
Originally opened as https://github.com/storybooks/storybook-addon-knobs/issues/30

See also:
https://github.com/kadirahq/storybook-addon-knobs/commit/2f12de4a94bee358c6676072292e1356965ad4b3
https://github.com/kadirahq/react-storybook-addon-info/issues/35
Seems a bit error-prone to write them out each time.
Example:
theme={select('Theme', ['Light', 'Dark'], 'Light')}
when this is defined as:
theme: React.PropTypes.oneOf(['Light, Dark'])
...

Button.defaultProps = {
  theme: "Light"
}

 Comment by arunoda
Friday Sep 16, 2016 at 00:34 GMT

I think we can do it, but the detecting types would be a problem.
But, in the above case, if we write it like this, I hope we can fix our code to use the default props somehow.
theme={select('Theme', ['Light', 'Dark'])}

Is that what you are referring to?

 Comment by kevinSuttle
Friday Sep 16, 2016 at 03:31 GMT

@arunoda You hit on it here. react-docgen does a lot of this and supports Flow. https://github.com/kadirahq/react-storybook-addon-info/issues/67#issuecomment-247491057

 Comment by lucasconstantino
Wednesday Oct 19, 2016 at 20:20 GMT

Some related work in progress: https://github.com/lucasconstantino/storybook-addon-smart-knobs

I think it's possible to get the defaultProps from the component and add them to your knob?

Seems a bit error-prone to write them out each time.
A story is just-javascript™.. You can use variables?

I'd like to integrate the smart-knobs into the main repo at some point, maybe even add it as some sort of option to knobs. Proposals welcome!


docs: update custom extractor tutorial

I have ported over and merged content from:
https://meltano.com/blog/how-to-build-a-custom-extractor-with-meltano/
with the existing custom extractor tutorial in an attempt to making it a one stop shop for people wanting to get started with a creating a custom extractor.
Open questions

Terminology: I've used "custom extractor" throughout and changed references from tap, plugin, project, source. What are your thoughts on this?
SEO: As a lot of the content is a literal copy and paste from the blog it might have implications of duplicate content. Would you prefer a more thorough rewrite?

@afolson you know more about SEO than me - what's our preference on this? cc @lauraperezco

@afolson you know more about SEO than me - what's our preference on this? cc @lauraperezco

@tayloramurphy same as the ELT page applies here, the main website has preference over subpages for SEO, so Jared's assesment is correct! I think ideally we should replace the current content in docs with a short introduction that takes you to the blog link for the full tutorial (and maybe reference some other blog-tutorials in the future to make this section in docs more complete while giving more authority to our website)

@lauraperezco happy to update with your suggestions 👍
From the Slack thread there was an aim to make the docs the place where users can find all this type of information. Linking out to blogs still achieves this

Hey @jared-rimmer, no the PR can stay as it is, everything in once place.
But FWIW we're aware that we need to figure out a guide for what goes where, that's still WIP ;)


Feature request: Hide removable drives that are empty/non-populated/not mounted

Is your feature request related to a problem? Please describe.
I have a card reader connected via USB to my computer, which has multiple slots for SD, micro SD, CF, etc. memory cards. In Disk Management all these removable drive memory card slots have drive letters associated with them but when they are empty (non-populated) they do not appear in File Explorer's This PC section unless a memory card is plugged in. In Files both Home and the sidebar displays all empty/removable drives with no way to hide them.
Describe the solution you'd like
I'd like an option to automatically hide (non-populated) empty/removable drives that do have drive letters assigned to them in both Home and in the sidebar. This would allow Files to match File Explorer's behaviour in Windows 10.
Describe alternatives you've considered
I've tried to eject the drives in a vain effort to 'hide' them, which doesn't work of course.
Additional context
This should apply to all layouts and views.

Merging with #9170

I don't think that issue was the same as this one. This one was asking for an option that exactly mirrors an existing File Explorer option that is named "Hide empty drives". It is enabled by default but can be disabled, which I think would be the best case for Files as well. The issue you merged with was only asking for a specific behavior with the sidebar, but this feature would also apply to the Home screen. The feature does not hide empty optical or floppy disk drives; I believe it only applies to USB-like media. The use case for the feature is the situation OP described, where a card reader presents many empty devices to the system at all times while it is connected. I can elaborate further on File Explorer's implementation if needed, because I feel every previous request for this feature has just been misunderstood or people just did not understand what the original File Explorer option does.

They are the same request as the home page would have been included anyway and it was decided not to include this feature.


Remove Address class and all references

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c36220c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   71.57%
  Complexity        ?      386
=========================================
  Files             ?       69
  Lines             ?     1196
  Branches          ?      118
=========================================
  Hits              ?      856
  Misses            ?      309
  Partials          ?       31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c36220c...3875e00. Read the comment docs.

Not for merging. For Task Grading Only


LoginService

Summary
The application should allow a user to login by providing a valid combination or email and password.
Invalid combination of email/username and password should fail with an appropriate error.
A user should have an active internet connection to be able to login.

Solved by #11


Updated for HF20

Witness init and update now ask for account_subsidy_budget and account_subsidy_decay, kill-switch now requires environment unlock because of KEK upgrade of steempy, unlock wallet unused because of updates as well.

testing

tested and working as expected.
PS: adding Pipfile will make things better IMHO


Initialize month view with calendar view's presented date, if availab…

…le, falling back to the current date.

Looks good, thanks for your contribution 👍


Adding array flattening

Row-wise flattens a set of arrays to a single Binary array.
ex:
a1 = [a, b, c, d], a2 = [e, f, g, h] --> [ae, bf, cg, dh]

If there are nulls in either of arrays, each element of the output array would be arranged as
follows.
|  1byte  | each index 1 byte         |    row size in bytes^^   |
|num_nulls|<...sparse null indices...>|<...flattened row data...>|

^^ While flattening null values, for fixed sized data (int, float, etc) an empty element (i.e. 0)
will be appended. For variable sized data (str, binary), null values would have empty slots.
ex:
a1 = [200, null, 300, null], a2 = [eee, fff, null, null] -->
[
|#nulls  |idx    |flattened data|
|    0   |       |200.eee|
|    1   |0      |0.fff|
|    1   |1      |300.|
|    2   |0.1    |0.|
]
NOTE: characters '|' and '.' are just for clarity.

Flattening is only supported for a maximum of 255 arrays at a time.
Test cases are done by emulating this behavior in python
https://colab.research.google.com/drive/15laPovDw6R_JwW_vYihR7Z-298X06nyo?usp=sharing

[Flattening is only supported for a maximum of 255 arrays at a time.]
In modin paper, they say that they would like to support dataframes with billions of columns. "In many settings, e.g., when dealing with graph adjacency matrices in neuroscience or genomics, the number of rows and number of columns can both be very large."
maybe we can increase 255.


feat: adds support for findN.

This PR adds support for findN function which would improve the user experience when the matching has a limit.
One example is this snippet where we match all but only want to deal with at most 10 matches.
No significant performance impact:
Before
goos: darwin
goarch: arm64
pkg: github.com/petar-dambovaliev/aho-corasick
BenchmarkAhoCorasick_LeftmostInsensitiveWholeWord-8   	   11784	     99401 ns/op	   71360 B/op	    1661 allocs/op
PASS

After
goos: darwin
goarch: arm64
pkg: github.com/petar-dambovaliev/aho-corasick
BenchmarkAhoCorasick_LeftmostInsensitiveWholeWord-8   	   11911	    101753 ns/op	   71360 B/op	    1661 allocs/op
PASS

Ping @anuraaga @jptosso

Thanks @anuraaga I would go for the FindFunc version instead.


Refactor standard compile tasks to remove Gulp

What
Update tasks/gulp/compile-assets.js to replace the non-IE8 compile Gulp tasks with our own compile scripts. Updating the IE8 tasks depends on us removing that browser support, so has been separated into its own issue (#2713).
Currently, the scss:compile and js:compile tasks are building both app and dist files, depending on a flag. The pipelines for these files are similar, but not identical, and completely different files are built depending on the flag. We should split this work out and simplify this pipeline.
Why
We have made the decision to move away from Gulp and write our own build scripts.
Who needs to work on this
Developers
Who needs to review this
Developers
Done when

[x] IE8 tasks have been separated and run as is
[x] App and dist compilations have been split into separate tasks
[x] Non-IE8 compilation tasks no longer depend on Gulp
[ ] Non-IE8 compilation tasks no longer depend on taskArguments.destination
[x] docs/contributing/tasks.md has been updated
[x] Dependencies are as up to date as is feasible (oldie is a blocker on a lot of these)
[x] The tasks have been moved from tasks/gulp to tasks

I'm going to close this in favour of https://github.com/alphagov/govuk-frontend/issues/2717 and I'll add some notes there about taskArguments.destination.


Text-only in MessageInput

When I copy and paste into MessageInput, it picks up formatting and injects HTML tags into the strings. I prefer to keep the input field as text-only.
How can I inject the contenteditable="plaintext-only" attribute into the underlying contenteditable element?

@titocosta You need to get a reference to the contenteditable, and set the attribute manually.
I answered how to get the reference in your previous question: https://github.com/chatscope/chat-ui-kit-react/issues/93#issuecomment-1504801333
If you already have the reference, you can set the attribute:
editorRef.current?.setAttribute("contenteditable", "plaintext-only");

However, I'm not sure if using contenteditable="plaintext-only" is a good idea because it's not supported in Firefox.
Maybe it would be better to handle the "paste" event and clean pasted text by yourself?
Here is how to do it: https://github.com/chatscope/chat-ui-kit-react/issues/82#issuecomment-1416852042
Also check this thread: https://github.com/chatscope/chat-ui-kit-react/issues/22#issuecomment-815653617


Issue with Startup

Hello developers.
I was having the same issue with all the alphas released up today: When I launch OutFox, loads all songs, and when the main window appear, get a crash.
 - Exiting
Loading window: win32
Windows 7
Memory: 958mb total, 2388mb swap (609mb swap avail)
Video driver: ATI Radeon Xpress 1100 [ATI Technologies Inc.]
8.332.0.0, 1-8-2007 [pci\ven_1002&dev_5975&subsys_010f1025]
WARNING: RegOpenKeyEx(80000002,HARDWARE\DEVICEMAP\Scsi) error (El sistema no puede encontrar el archivo especificado.)
Sound device 0: Altavoces (Dispositivo de High , 0.0, MID 1, PID 65535
Sound device 1: Audio digital (S/PDIF) (Disposi, 0.0, MID 1, PID 65535
WARNING: Selected theme '_fallback' not found.  Trying Theme preference default value '_fallback'.
WARNING: Theme preference defaults to '_fallback', which cannot be used.  Trying DefaultTheme preference 'default'.
WaveOut software mixing at 44100 hz
Sound driver: WaveOut
Lights driver: SystemMessage
Lights driver: Export
Video renderers: 'glad,opengl,gles2'
GL_UNSIGNED_SHORT_1_5_5_5_REV failed (GL_INVALID_ENUM), disabled
Language: English
Current renderer: OpenGL
Theme: default
Partial log:
00:01.047: Renderer Found By SDL: software
00:01.126: Outfox SDL Reported Variables:
00:01.126: Outfox Engine: SDL compiled version: 2.0.12
00:01.126: Outfox Engine: SDL linked version: 2.0.12
00:01.126: Outfox Engine: GL_VENDOR   : Microsoft Corporation
00:01.126: Outfox Engine: GL_RENDERER : GDI Generic
00:01.126: Outfox Engine: GL_VERSION  : 1.1.0
00:01.126: Outfox Engine: GLSL version: (null)
00:01.138: GL_UNSIGNED_SHORT_1_5_5_5_REV failed (GL_INVALID_ENUM), disabled
00:01.139: Compiling shader Data/Shaders/GLSL/Texture matrix scaling.vert
-- End of report
Thanks!!!

Go to Preferences.ini
What is ImageCache set to?

Update your video drivers and hope for the god it works because jesus that card is almost older than me.

ListenerJubatus, by default was Off and didn't work, change to On, and equally don't work.
moruzerinho6, did that, and nothing.
The same issue happens when try in another PC, with Core i3, 2Gb of RAM and Intel HD Graphics...

Can you give more details about that other pc with a Intel HD Graphics? And what driver you installed? (in both machines)

1- Sure. Is a laptop with Core i3, 2 Gb of RAM, Intel HD Graphics. Brand: VIT (Venezolana de Industria Tecnológica), Model: M2400, Year: 2011, Screen: 1366x768 60Hz.
2- I don't have the driver of that VIT laptop at hand (it died again), and this laptop use an ATI Radeon Express 1100, driver v. 8.332 (as read in the contents of the crash info. I don't own a desktop).

Does older versions of stepmania work in that PC?

Perfectly. The two laptops are currently running StepMania 5.1 Beta 2, and that version is too stable to be a Beta.

Okay, I was talking with the devs. That issue is fixed for the next alpha and you should be able to play when it comes, on the intel pc atleast.

This is fixed and will be released on Sunday 14th June. Your renderer HAS to be set to opengl or it will not work. GLAD is not an openGL 1.1 compatible renderer on Stepmania 5.3


Error configuring zlib internal

When using the zlib internal option, we set an alias in the cmake files, ZLIB:ZLIB. In order for that to work, the imports need to be declared as GLOBAL.
Currently we have
add_library(zlib_static/shared STATIC/SHARED IMPORT)

to successfully build this option, we need
add_library(zlib_static/shared STATIC/SHARED IMPORT GLOBAL)

Could someone with a working CLA patch this for me please?

@cary-ilm Could you patch this one in for us? This will resolve the various Windows zlib issues that have been posted.

https://github.com/AcademySoftwareFoundation/openexr/issues/871

Check out #953.

Closed by #953


Give and explanation in case of ServerAlreadyBootingException

This should help debugging the situation when there might be issues with creating sockets, like here https://github.com/sbt/sbt/issues/6101

Thank you very much for taking the time to prepare a PR. Unfortunately, I don't think I would accept this as is. The goal here should be to determine what specific IOException is causing the issue in #6101. What would be much more helpful would be for you to produce a stack trace showing what the actual cause of the issue is. Then we could fix the underlying issue so that users are not prompted at all about a running server if there isn't one.
It should be straightforward to test the change. You just need to run sbt publishLocal in a clone of the sbt project on the machine where you see the issue. Then you can use the locally published sbt by running sbt -Dsbt.version=1.4.3-SNAPSHOT in the project directory where you observe the issue. If you do not see that your changes were applied, you may need to run reboot full in the sbt prompt.

Closing this for now.


CDPS-857: Enabling publishing of domain events

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

Project coverage is 83.72%. Comparing base (643a24e) to head (019cad1).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #44   +/-   ##
=========================================
  Coverage     83.72%   83.72%
  Complexity      285      285
=========================================
  Files            54       54
  Lines           903      903
  Branches         63       63
=========================================
  Hits            756      756
  Misses          110      110
  Partials         37       37

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


design(ftux): remove prev and next buttons for production

I also added progress text that we can continue to design
https://user-images.githubusercontent.com/1940365/230656339-e4761fdc-7062-4e03-85eb-d56a0bb5e4f6.mov

Rest of PR looks good, let me know if you need a reapproval after adding a disabledInProduction property or changing the component name


Upgrade dependencies and downgrade @babel/core (fix CI)

Coverage remained the same at 29.084% when pulling 018ed76379adbd0ac77fa946368bf146d8a7c727 on fix-ci into 7ed86cc06b90582477080d68a95f0cfe5d609fc4 on master.


Allow 3 Legged OAuth (3LO) authentication oE <> Bb

Need to allow Push-2-LMS with the current oE user - log into Blackboard via REST 3LO.

Reopening, still needed

Dup of #821.  Closing.


[Designer] Issue with adaptivecards

Problem Description
I am facing issue with latest version of adaptivecards-template.
Error Message:
$ is not a function
TypeError: $ is not a function
at 668.../internals/export (http://localhost:3000/static/js/bundle.js:87745:7)
at o (http://localhost:3000/static/js/bundle.js:567:19)
at http://localhost:3000/static/js/bundle.js:569:20
at 781.../modules/es.global-this (http://localhost:3000/static/js/bundle.js:92439:7)
at o (http://localhost:3000/static/js/bundle.js:567:19)
at http://localhost:3000/static/js/bundle.js:569:20
at Object. (http://localhost:3000/static/js/bundle.js:82817:11)
at Object. (http://localhost:3000/static/js/bundle.js:82833:12)
at 522.@babel/runtime/helpers/interopRequireDefault (http://localhost:3000/static/js/bundle.js:82834:10)
at o (http://localhost:3000/static/js/bundle.js:567:19)
Package.json
{
  "name": "adaptive-card-app",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.17.0",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "adaptive-expressions": "^4.23.1",
    "adaptivecards": "1.3.1",
    "adaptivecards-templating": "2.3.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-scripts": "5.0.1",
    "web-vitals": "^2.1.4"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

App.js:
import React, { useEffect, useRef } from "react";
import * as AdaptiveCards from "adaptivecards";
import * as ACData from "adaptivecards-templating";
require("adaptive-expressions/package.json");

const App = () => {
  const cardRef = useRef(null);

  const cardTemplate = {
    type: "AdaptiveCard",
    version: "1.0",
    body: [
      {
        type: "TextBlock",
        text: "Hello ${name}!",
      },
    ],
  };

  const sampleData = {
    name: "John Doe",
  };

  useEffect(() => {
    const adaptiveCard = new AdaptiveCards.AdaptiveCard();

    // Host Config (Optional)
    adaptiveCard.hostConfig = new AdaptiveCards.HostConfig({
      fontFamily: "Segoe UI, Helvetica Neue, sans-serif",
    });

    // Handle action execution
    adaptiveCard.onExecuteAction = (action) => {
      alert(`Action executed: ${action.title}`);
    };

    // Create the template and expand it with sample data
    const template = new ACData.Template(cardTemplate);
    const cardPayload = template.expand({ $root: sampleData });

    // Parse and render the expanded card
    adaptiveCard.parse(cardPayload);
    if (cardRef.current) {
      cardRef.current.innerHTML = ""; // Clear previous content
      const renderedCard = adaptiveCard.render();
      cardRef.current.appendChild(renderedCard);
    }
  }, []);

  return (

Adaptive Card Preview

  );
};

export default App;

Steps to replicate:

npx create-react-app adaptive-card-app
cd adaptive-card-app
npm install adaptivecards adaptivecards-templating
Replace the contents of the src/App.js file with the above App.js code
npm start

Card JSON
{
    type: "AdaptiveCard",
    version: "1.0",
    body: [
      {
        type: "TextBlock",
        text: "Hello ${name}!",
      },
    ],
  }

Screenshot
No response

I'm having a similar issue :
ERROR TypeError: $ is not a function
at 668.../internals/export (browser.js:87213:7)
at o (browser.js:35:19)
at browser.js:37:20
at 781.../modules/es.global-this (browser.js:91907:7)
at o (browser.js:35:19)
at browser.js:37:20
at Object. (browser.js:82285:11)
at Object. (browser.js:82301:12)
at 522.@babel/runtime/helpers/interopRequireDefault (browser.js:82302:10)
at o (browser.js:35:19)
error happens when executing this line of code:
const template = new Template(CardPayload);
Packages:
"adaptive-expressions": "^4.17.0",
"adaptivecards": "^2.10.0",
"adaptivecards-designer": "^2.3.0",

I submitted the issue ref'd by @hund030 in OfficeDev/teams-toolkit/issues/12506 ... I think the issue is rooted in the bundling of the adaptivecards-templating package, at least the error is showing up when the Create React App's build/bundling process kicks in.

I'm having the exact same issue while using it with react. Are there any workarounds or ways to solve this issue?

So, the issue seems to be that adaptivecard-templating hasn't been maintained for 2 years, while adaptive-expressions has been.
You need adaptive-expressions since version 2.0 of adaptivecard-templating, which is not in the dependencies, but in the description of the npm package.
At some point in the last 2 years the updates to adaptive-expressions have broken support for adaptive-templating.
After some testing it seems like version 4.22.3 of adaptive-expressions is the last version that works with adaptive-templating, which is 5 months old.


[discuss] TIFF output for raster tables

This adds GeoTIFF as an output format.
This also makes sense as a Windshaft output format, but seems fairly sensible here.

for me this is ok except for the_raster thing explained in the comment.
Other thing that changes is that other columns from the query are discarded, but that could be explained in the documentation.
Did you tried it?

No, that's the other thing ;-)  I still need to set up a working dev environment.

If necessary it should be implemented in Windshaft


Warning triggered for component using forwardRef

v0.41
I get this error when calling React.forwardRef on my component.
function CardContainer(props,ref) {
	return
Hello world!
;
}

export default forwardRef(CardContainer);

Yep that's normal because you export an anonymous component which is not recommended because this will not be available in devtools and stack traces.
function InnerCardContainer(props,ref) {
	return
Hello world!
;
}

export const CardContainer = forwardRef(InnerCardContainer);

Understandable, thanks for the clarification.

One more thing @ArnaudBarre , you said the component will not be available in devtools and stack traces yet the component appears normally in the devtools and in the profiler.
examples below:

Interesting, I never really tested this fact from the React team because for me there is a good reason to name you component and ban default export: https://jamie-wong.com/2013/07/12/grep-test/

Thanks for the article, that was a good read.
I ended up using this syntax to avoid renaming the function.
const CardContainer = forwardRef(function CardContainer(props,ref) {
	return
Hello world!
;
})

export default CardContainer;

That could be a challenging refactor, but I advice you to move to export const CardContainer. On top of being simpler to write, it's more align with what I do in other files where I can export a bunch of functions, contants and so on.
The default export add a barrier to export multiple React component in the same file, which I used often when there are 2-3 small components related to each other

Named exports is definitely more convenient and easier to follow.
I'm currently slowly refactoring default exports to named exports and I'm def noticing improvements.
Thanks for the tips, I'm slowly incorporating them into my current project.


Cannot build gRPC on Manjaro - PROTOBUF_NAMESPACE not defined

What version of gRPC and what language are you using?
v1.20.0
What operating system (Linux, Windows,...) and version?
Linux 4.19.49-1-MANJARO
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.7.3, gcc/g++ (GCC) 8.3.0
What did you do?
git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc
cd grpc
git submodule update --init
make

Failed because of
   strncpy(req->initial_request.name, lb_service_name,
   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           GRPC_GRPCLB_SERVICE_NAME_MAX_LENGTH);
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

So I removed the -Werror flags form the Makefile and continued with
make clean; make

I started getting
grpc/gens/src/proto/grpc/reflection/v1alpha/reflection.pb.h:95:1: error: ‘PROTOBUF_NAMESPACE_CLOSE’ does not name a type; did you mean ‘PROTOBUF_USE_EXCEPTIONS’?
 PROTOBUF_NAMESPACE_CLOSE
 ^~~~~~~~~~~~~~~~~~~~~~~~
 PROTOBUF_USE_EXCEPTIONS

grpc/gens/src/proto/grpc/core/stats.pb.h:72:1: error: ‘PROTOBUF_NAMESPACE_OPEN’ does not name a type; did you mean ‘PROTOBUF_USE_EXCEPTIONS’?
 PROTOBUF_NAMESPACE_OPEN
 ^~~~~~~~~~~~~~~~~~~~~~~
 PROTOBUF_USE_EXCEPTIONS

I installed gRPC in the past, I remember getting that same error and I think I had to manually add the definition of those macros somewhere
What did you expect to see?
A success fulcompilation
What did you see instead?
grpc/gens/src/proto/grpc/reflection/v1alpha/reflection.pb.h:95:1: error: ‘PROTOBUF_NAMESPACE_CLOSE’ does not name a type; did you mean ‘PROTOBUF_USE_EXCEPTIONS’?
 PROTOBUF_NAMESPACE_CLOSE
 ^~~~~~~~~~~~~~~~~~~~~~~~
 PROTOBUF_USE_EXCEPTIONS

grpc/gens/src/proto/grpc/core/stats.pb.h:72:1: error: ‘PROTOBUF_NAMESPACE_OPEN’ does not name a type; did you mean ‘PROTOBUF_USE_EXCEPTIONS’?
 PROTOBUF_NAMESPACE_OPEN
 ^~~~~~~~~~~~~~~~~~~~~~~
 PROTOBUF_USE_EXCEPTIONS

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
I'm building gRPC and protobuf static libraries without actually installing them globally on my machine

I guess the problem arose because I had an older version of grpc installed on my system. Solved by uninstalling/removing grpc and protobuf and going trough the installation process again
locate protobuf | grep -e "^/usr" | xargs sudo rm -rf
locate grpc | grep -e "^/usr" | xargs sudo rm -rf
make clean
make -j8 && make install


Update image_plus_points to demostrate variable point sizes

In doing this I also noticed a bug in the shader where as you zoom in (alot) the points start to "shake".
I tried to screen capture.
Play the example, then zoom into an edge of the point.
Screencast from 2024-03-28 09-28-11.webm
setup info

################ system:

             platform:  Linux-6.5.0-26-generic-x86_64-with-glibc2.38
python_implementation:  CPython
               python:  3.10.13

################ versions:

    wgpu:  0.15.0
    cffi:  1.16.0
 PySide6:  6.6.2
   numpy:  1.26.4
   pygfx:  0.1.18
pylinalg:  0.4.1

################ wgpu_native_info:

expected_version:  <IP_ADDRESS>
     lib_version:  <IP_ADDRESS>
        lib_path:  libwgpu_native.so

################ object_counts:

                      count  resource_mem

            Adapter:      1
          BindGroup:      0
    BindGroupLayout:      0
             Buffer:      2            40
      CanvasContext:      1
      CommandBuffer:      0
     CommandEncoder:      0
 ComputePassEncoder:      0
    ComputePipeline:      0
             Device:      1
     PipelineLayout:      0
           QuerySet:      0
              Queue:      1
       RenderBundle:      0
RenderBundleEncoder:      0
  RenderPassEncoder:      0
     RenderPipeline:      0
            Sampler:      0
       ShaderModule:      0
            Texture:      0
        TextureView:      0

              total:      6            40

################ wgpu_native_counts:

                  count    mem  backend   a  k  r  e  el_size

        Adapter:      1  1.98K   vulkan:  1  1  0  0    1.98K
      BindGroup:      0      0   vulkan:  0  0  0  0      368
BindGroupLayout:      0      0   vulkan:  0  0  0  0      320
         Buffer:      2    592   vulkan:  2  2  0  0      296
  CanvasContext:      1    160            1  1  0  0      160
  CommandBuffer:      0      0   vulkan:  0  0  0  0    1.28K
ComputePipeline:      0      0   vulkan:  0  0  0  0      288
         Device:      1  11.9K   vulkan:  1  1  0  0    11.9K
 PipelineLayout:      0      0   vulkan:  0  0  0  0      200
       QuerySet:      0      0   vulkan:  0  0  0  0       80
          Queue:      1    184   vulkan:  1  1  0  0      184
   RenderBundle:      0      0   vulkan:  0  0  0  0      848
 RenderPipeline:      0      0   vulkan:  0  0  0  0      560
        Sampler:      0      0   vulkan:  0  0  0  0       80
   ShaderModule:      0      0   vulkan:  0  0  0  0      800
        Texture:      0      0   vulkan:  0  0  0  0      824
    TextureView:      0      0   vulkan:  0  0  0  0      248

          total:      6  14.8K

    * The a, k, r, e are allocated, kept, released, and error, respectively.
    * Reported memory does not include buffer/texture data.

################ pygfx_adapter_info:

      vendor:  Intel open-source Mesa driver
architecture:
      device:  Intel(R) Xe Graphics (TGL GT2)
 description:  Mesa 23.2.1-1ubuntu3.1
adapter_type:  IntegratedGPU
backend_type:  Vulkan

################ pygfx_features:

                                       adapter  device

                  bgra8unorm-storage:        ✓       -
               depth32float-stencil8:        ✓       -
                  depth-clip-control:        ✓       -
                  float32-filterable:        ✓       ✓
             indirect-first-instance:        ✓       -
            rg11b10ufloat-renderable:        ✓       -
                          shader-f16:        ✓       -
            texture-compression-astc:        ✓       -
              texture-compression-bc:        ✓       -
            texture-compression-etc2:        ✓       -
                     timestamp-query:        ✓       -
                   MultiDrawIndirect:        ✓       -
              MultiDrawIndirectCount:        ✓       -
                       PushConstants:        ✓       -
TextureAdapterSpecificFormatFeatures:        ✓       -
               VertexWritableStorage:        ✓       -

################ pygfx_limits:

                                                  adapter  device

                                max_bind_groups:        8       8
            max_bind_groups_plus_vertex_buffers:        0       0
                    max_bindings_per_bind_group:    1.00K   1.00K
                                max_buffer_size:    2.14G   2.14G
          max_color_attachment_bytes_per_sample:        0       0
                          max_color_attachments:        0       0
          max_compute_invocations_per_workgroup:    1.02K   1.02K
                   max_compute_workgroup_size_x:    1.02K   1.02K
                   max_compute_workgroup_size_y:    1.02K   1.02K
                   max_compute_workgroup_size_z:    1.02K   1.02K
             max_compute_workgroup_storage_size:    65.5K   65.5K
           max_compute_workgroups_per_dimension:    65.5K   65.5K
max_dynamic_storage_buffers_per_pipeline_layout:        8       8
max_dynamic_uniform_buffers_per_pipeline_layout:        8       8
              max_inter_stage_shader_components:      116     116
               max_inter_stage_shader_variables:        0       0
          max_sampled_textures_per_shader_stage:    65.5K   65.5K
                  max_samplers_per_shader_stage:    65.5K   65.5K
                max_storage_buffer_binding_size:    2.14G   2.14G
           max_storage_buffers_per_shader_stage:    65.5K   65.5K
          max_storage_textures_per_shader_stage:    65.5K   65.5K
                       max_texture_array_layers:    2.04K   2.04K
                        max_texture_dimension1d:    16.3K   16.3K
                        max_texture_dimension2d:    16.3K   16.3K
                        max_texture_dimension3d:    2.04K   2.04K
                max_uniform_buffer_binding_size:    1.07G   1.07G
           max_uniform_buffers_per_shader_stage:       64      64
                          max_vertex_attributes:       29      29
                 max_vertex_buffer_array_stride:    4.09K   4.09K
                             max_vertex_buffers:       16      16
            min_storage_buffer_offset_alignment:       32      32
            min_uniform_buffer_offset_alignment:       64      64

################ pygfx_caches:

                    count  hits  misses

full_quad_objects:      0     0       0
 mipmap_pipelines:      0     0       0
          layouts:      0     0       0
         bindings:      0     0       0
   shader_modules:      0     0       0
        pipelines:      0     0       0
 shadow_pipelines:      0     0       0

################ pygfx_resources:

Texture:  6
 Buffer:  39

In doing this I also noticed a bug in the shader where as you zoom in (alot) the points start to "shake".

I think I've seen this too in some cases 🤔


libsodium-sys causes Doc's Build to fail

We released v0.5.12 of our crate serenity and the documentation on docs.rs failed building, here is the build-log: https://docs.rs/crate/serenity/0.5.12/builds/143002
It tries to

Running `/home/cratesfyi/cratesfyi/debug/build/libsodium-sys-7ca54fcbf5c3a0bd/build-script-build

fails with:

failed to run custom build command for libsodium-sys v0.1.0\nprocess didn't exit successfully: /home/cratesfyi/cratesfyi/debug/build/libsodium-sys-7ca54fcbf5c3a0bd/build-script-build (exit code: 101)

caused by this panic:

panicked at 'called Result::unwrap() on an Err value: "\\\"pkg-config\\\" \\\"--libs\\\" \\\"--cflags\\\" \\\"libsodium\\\" did not exit successfully: exit code: 1\n--- stderr\nPackage libsodium was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libsodium.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libsodium\' found\n"'

Is there a way to fix this failed build for our v0.5.12? The build built fine on our CI: https://travis-ci.org/serenity-rs/serenity/builds/493369909
Thanks for your time : )

We didn't have the libsodium development headers installed in the docs.rs build container. I've installed them and rebuilt the docs.

For future reference, we request that any documentation build failures be reported in its dedicated issue.


bug: [Bug] Ionic build android broken, ionic serve ok

From @Luchillo on October 25, 2016 16:35
Type: bug
Ionic Version: 2.x
Platform: all
I'm using ionic build android to see the actual output of the compilation process, however it shows errors without any file line number, not very explicit, while the ionic serve command works ok:

Copied from original issue: driftyco/ionic#8904

The build is not broken. It is saying that you have a type error.
When you build for the native platform, it does a production build, so it goes through stricter type checking. We don't do that for serve. So you need to fix the type error.

Ok, it says type error but doesn't say where, it only says that cannot find 'map' property.
Where am i supposed to look? also this project was working in beta.11, i would expect that if I've been developing with serve command it would work the same when i hit build command.

this project was working in beta.11

Beta 11 vs RC is a big difference. Considering the build changes were quite different and ngc/AoT were not a thing then.
Anyways, back to the main point....
Can you provide the app-scripts version in the package.json?

Its 0.0.37 for webpack support.

can you run npm install @ionic/app-scripts@beta again to get the latest.

Yes it's very big difference, the thing that took me by surprise was the fact that AoT makes stricter type checking.
Also i think 0.0.37 is the actual beta version, right?

Same result, ionic build outputs error, while ionic serve works ok, here's the new info after updating app-scripts:
Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.37
OS: Distributor ID:	Ubuntu Description:	Ubuntu 16.10
Node Version: v6.6.0

All ionic parts (cli, framework and app-scripts) are at most recent version or beta and the error still says the same thing, no clue where that type error is pointing.

Yes, as I said, thats to be expected, since serve does not run ngc.
In your app, are you using array.map anywhere in your app?
Also, in the build entry of your package.json, can your add --debug
so it should read.
  "scripts": {
    "build": "ionic-app-scripts build --debug",
    "watch": "ionic-app-scripts watch",
    "serve:before": "watch",

I'm mostly using lodash-es map, i tried earlier with ionic build android --debug and only saw a few memory sizes, now it shows this:

I've searched for '.map' and some come from the service-worker.js that the new project brings by default, the only other one i'm using is the .map from an observable after a .delay, however i don't think it is because i'm using this on top of that file:
import 'rxjs/add/operator/retry';
import 'rxjs/add/operator/timeout';
import 'rxjs/add/operator/delay';
import 'rxjs/add/operator/map';

When it says Cannot read propery 'map' of undefined most likely it's a call like someVar.map(...) and in some point that someVar is undefined according to typecheck, right?
I've commented all .map(...) function calls in my source code, so i think it's not my code that generates this issue.

@Luchillo,
Sorry, the error messages from the Angular compiler are not great. There isn't a whole lot we can do about that beyond lobby the team to improve them (which we are doing). If you don't want to use ngc, through a --dev at the end of npm script for build.
Thanks,
Dan

Will still compile for an apk?


Current working directory during copier {copy,recopy,update} should be destination path

Describe the problem
While reimplementing jinja-ansible-filters (see #1398) – specifically testing the fileglob filter –, I noticed that the current working directory while rendering template files through copier {copy,recopy,update} is the directory from which the command is executed, but I think it should be the destination path; otherwise, the fileglob filter (and other custom filesystem-based Jinja filters) wouldn't be particularly useful. WDYT?
Template
example.zip
The filesystem layout is as follows:
.
├── cwd.txt
├── dst
│   ├── a.txt
│   └── b.txt
└── src
    └── fileglob.txt.jinja

The example assumes that src/ contains a template from which a subproject will be generated into dst/, which already contains files (e.g., from another Copier template).
To Reproduce

Extract the content of the reproducible example in the ZIP archive above.

Change your current working directory to the root directory where you extracted the archive (i.e. where the file cwd.txt is located).

Run copier copy src/ dst/.

Note the content of the generated file dst/fileglob.txt:
$ cat dst/fileglob.txt
['cwd.txt']

As you can see, the file cwd.txt is listed as a result of {{ '*.txt' | fileglob }}.

Logs
No response
Expected behavior
I'd expect the following behavior:
$ copier copy src/ dst/
$ cat dst/fileglob.txt
['a.txt', 'b.txt']

I.e., filesystem-related Jinja filters should operate relative to the destination path.
That said, filesystem-related Jinja filters operating on the destination path may lead to unexpected behavior because Copier will generate files in arbitrary order, so the output of the fileglob filter may not be consistent across multiple runs.
Screenshots/screencasts/logs
No response
Operating system
Linux
Operating system distribution and version
Ubuntu 22.04
Copier version
9.3.1
Python version
CPython 3.12
Installation method
pipx+pypi
Additional context
No response

Something similar happen when you use copier copy ../src/ dst/. After running cd dst ; copier update , ValueError("Local template must be a directory.") is raised because the answers file contains the relative reference, instead of an absolute path.

That's another subject: https://github.com/copier-org/copier/issues/335