[BUG]

Expected behavior

After rotating the widget, the coordinates are not correct
Actual behavior

When the widget is not rotated, the coordinates are correctly read, as soon as the widget is rotated the coordinates are not correct
Video/Screenshot

only the bottom widgets is not rotated, and the coordinates look 99 percent correct on second image, but if we rotate it, we get this view on other widgets(

After saving each widget coordinates i get this

Steps to reproduce

Details
Flutter version: 3.3.7 channel stable
Dart version: 2.18.4
Platform: web
Errors
No errors
What did you try to solve
I think that after the rotation of the widget, the coordinate grid receives coordinates from the renderobject in the wrong format (the rotation is to blame)

@NKoroloff
Hi, I guess that you didn’t use data receipt method correctly. To update widget coordinates correctly you need to use listener. Code sample is attached.
If you will provide your code to me, I can resolve a problem faster. Thanks!

// Copyright (c) 2019-present,  SurfStudio LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

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

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Render Metrics Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Auto reload Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({
    required this.title,
    Key? key,
  }) : super(key: key);

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

class _MyHomePageState extends State<MyHomePage> with SingleTickerProviderStateMixin {
  final renderManager = RenderParametersManager<dynamic>();
  final String _yellowId = '_yellowId';

  late final AnimationController _animationController;
  String _text = '';
  String _buttonTitle = 'Старт';
  bool _isPowered = false;

  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addPostFrameCallback((_) {
      setState(() {
        _text = _getRenderDataText(_yellowId, renderManager);
      });
    });

    _animationController = AnimationController(
      vsync: this,
      duration: const Duration(seconds: 10),
    )..addListener(() {
        setState(() {
          _text = _getRenderDataText(_yellowId, renderManager);
        });
      });
  }

  @override
  void dispose() {
    _animationController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.red,
      body: Column(
        mainAxisSize: MainAxisSize.min,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          const SizedBox(height: 50, width: double.infinity),
          AnimatedBuilder(
            animation: _animationController,
            child: RenderMetricsObject(
              id: _yellowId,
              manager: renderManager,
              child: ColoredBox(
                color: Colors.yellow,
                child: SizedBox(
                  height: 200.0,
                  width: 200.0,
                  child: Column(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    children: [
                      Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        children: const [
                          Text('topL'),
                          Text('topC'),
                          Text('topR'),
                        ],
                      ),
                      Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        children: const [
                          Text('centerL'),
                          Text('center'),
                          Text('centerR'),
                        ],
                      ),
                      Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        children: const [
                          Text('bottomL'),
                          Text('bottomC'),
                          Text('bottomR'),
                        ],
                      ),
                    ],
                  ),
                ),
              ),
            ),
            builder: (_, widget) {
              return Transform.rotate(
                angle: _animationController.value * 6.3,
                child: widget,
              );
            },
          ),
          const SizedBox(height: 60),
          ElevatedButton(
            onPressed: _handleTapButton,
            child: Text(_buttonTitle),
          ),
          const SizedBox(height: 20),
          Text(
            _text,
            style: const TextStyle(color: Colors.white),
          ),
        ],
      ),
    );
  }

  void _handleTapButton() {
    setState(() {
      if (_isPowered) {
        _animationController.stop();
        _isPowered = false;
        _buttonTitle = 'Старт';
      } else {
        _animationController.repeat();
        _isPowered = true;
        _buttonTitle = 'Стоп';
      }
    });
  }

  String _getRenderDataText<T>(
    T id,
    RenderParametersManager renderManager,
  ) {
    final data = renderManager.getRenderData(id);

    if (data == null) return '';

    return data.toString();
  }
}

in your example, the same problem, look carefully for xCenter and yCenter, the coordinates of the center points should not change. The rotation takes place around xCenter, yCenter and they should be unchanged, is it logical?
`class RenderMetricsBox extends RenderProxyBox {
RenderData get data {
final size = this.size;
final width = size.width;
final height = size.height;
final globalOffset = localToGlobal(Offset(width / 2, height / 2));
final dy = globalOffset.dy;
final dx = globalOffset.dx;
return RenderData(
  yCenter: dy,
  xCenter: dx,
  width: width,
  height: height,
);

}
RenderMetricsBox({
RenderBox? child,
}) : super(child);
}`
here I made changes, after which the center does not change

@NKoroloff Hi! I've changed the example a bit to make it clearer which coordinates are being changed.

Your solution doesn't work quite correctly.  In this case, yTop should be equal to 100 🤗


fix(#343): Replace the templatePath to /api/autoextractors/test

Addresses #343
The makeIsValidAutoExtractorSyntax function was using the wrong API endpoint. This PR corrects this mistaken endpoint.

Closed in favor of #347


Fix formatting of function docstrings in view

Newlines are ignored by html, and so do not show up when docstrings are printed.  Added some minimal css so that they are visible, but there will still be line-wrapping if necessary.

Coverage remained the same at 84.96% when pulling 3d2a172c4f11eb5965d37cd9abde7349ba6d9319 on ColCarroll:master into 08774c152dd1d5ad25746a1967553c363f612b8c on cenobites:master.


Canvas BlendMode not working in Production build (web mode)

BlendMode not working on canvas in saveLayer.
Code is working perfectly in debug mode. But not working in production build 'flutter build web'.
Steps to Reproduce

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class RectPainter extends CustomPainter {
  @override
  void paint(Canvas canvas, Size size) {
    Paint paint = Paint();
    paint.color = Colors.red.shade400;
    canvas.drawRect(Rect.fromLTWH(50, 50, 200, 200), paint);
    Paint op = Paint();
    op.color = Color(0x88000000);
    op.blendMode = BlendMode.srcOver;
    canvas.saveLayer(Rect.fromLTWH(0, 0, size.width, size.height), op);
    paint.color = Colors.green.shade400;
    canvas.drawRect(Rect.fromLTWH(100, 100, 200, 200), paint);
    canvas.restore();
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return false;
  }
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: CustomPaint(
        painter: RectPainter(),
        child: Container(),
      ),
    );
  }
}

Expected results:
Expected Green Rect to be painted in transparent mode over Red Rect.
Actual results:
Geed Rect is drawn opaque.

Logs
[√] Flutter (Channel beta, 1.25.0-8.3.pre, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
    • Flutter version 1.25.0-8.3.pre at C:\Users\Rajesh\apps\flutter
    • Framework revision 5d36f2e7f5 (3 weeks ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Rajesh\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\Rajesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.1

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.104
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 87.0.664.66

! Doctor found issues in 1 category.

Left one is production build, right one is in debug build.

Hi @akkinenirajesh
This also reproduces for me in debug mode and release mode in HTML backend, no issue in canvaskit
Duplicate of https://github.com/flutter/flutter/issues/48417
The fix is available in the dev and master channels, you can upgrade to dev in the meanwhile.

flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
    • Flutter version 1.25.0-8.3.pre at C:\Users\Taha\Code\flutter_beta
    • Framework revision 5d36f2e7f5 (3 weeks ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.104
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.53

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-17.1.pre, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
    • Flutter version 1.26.0-17.1.pre at C:\Users\Taha\Code\flutter_dev
    • Framework revision c40e5294dd (6 days ago), 2021-01-29 08:44:18 -0800
    • Engine revision 5d3477eab4
    • Dart version 2.12.0 (build 2.12.0-259.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

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

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.746]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 88.0.4324.104
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 88.0.705.53

• No issues found!

[✓] Flutter (Channel master, 1.26.0-18.0.pre.187, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
    • Flutter version 1.26.0-18.0.pre.187 at C:\Users\Taha\Code\flutter_master
    • Framework revision e96ce0ecb4 (8 hours ago), 2021-02-04 02:46:03 -0500
    • Engine revision 5e50f4bad3
    • Dart version 2.12.0 (build 2.12.0-285.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

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

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.746]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 88.0.4324.104
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 88.0.705.53

• No issues found!

Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


question: get an earlier version of a key

Is there a way to read an earlier version of a key without checking out an earlier version of the database? If you can point me to the relevant sections of the code I can try to read a bit more.
I spent most of last night in lib/get and the Writer prototype in index.js, couldn't figure it out...
Thanks!

Hey @utanapishtim. There's not a clear API really yet for getting a node by a specific version. You can do it right now by using hyperdb#version to get a time snapshot after you write a node, and then use hyperdb#checkout to get that old db state and do a hyperdb#get on that key.
Check out https://github.com/mafintosh/hyperdb/issues/15

Ok, thanks!


what is the different between @bind and @inject?

@Bind is what this library uses to bind resources and views to fields. @Inject is used by something else, probably a dependency injection library.


What if - notebook , Facing an issue while running the notebook

In which step did you encounter the bug?
FarmVibes.AI setup
Are you using a local or a remote (AKS) FarmVibes.AI cluster?
Local cluster
Bug description
I encountered a 500 Internal Server Error while running the Carbon Sequestration notebook. The error occurs during the API call to https://comet-farm.com/ApiMain/AddToQueue.
For your reference , I am sharing the screenshot of the error.

Steps to reproduce the problem
No response

I have gone through a COMET-Farm documentation , where I found a note where regarding api changes .
I have shared a screenshot of it with attachment.
thank you.


Support half-open duplex streams

React PHP has support for both bidirectional duplex streams and unidirectional half-duplex streams.

A unidirectional readable stream should close once it can no longer be read.
A unidirectional writable stream should close once it can no longer be written to.
A bidirectional duplex stream currently closes once if can either no longer be read or no longer be written to.

We should add an option to allow bidirectional duplex streams to be half-open. In this mode the readable and writable state would be checked independently.
This is particularly useful for some TCP/IP-based protocols where the client sends a FIN message to the server indicating that it will no longer write any data but is still willing to accept incoming data.

For the reference, Node.js also has a allowHalfOpen flag which happens to default to true.
It's net module also offers the same options which appears to default to false.

Just trapped into a nasty bug with old PHP version (PHP 5.5.10)
If we have write-only stream (new Stream(fopen($file, 'wb), $loop)) then stream_get_contents blocks execution even in non-blocking mode.

@nick4fake This sounds like a separate issue (which could possibly be related to #46). Can you file a separate ticket and provide some details / a gist so I can look into this? Thanks!

I still think that this feature makes perfect sense :+1: However, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I suppose we would be really happy to accept PRs :+1:


added basic support for epel7

include shared lib in package, added RPath to find it
small refactoring, remove all the environs
clean unused environs
c7: fix make test
init rpm c7

@NickJH
i haven't tested this properly, but it should work.
# yum install stellar-core-18.5.0-8.el7.x86_64.rpm stellar-system-0.0.6-2.el7.x86_64.rpm -y
# ldd /usr/bin/stellar-core | head -n3
	linux-vdso.so.1 =>  (0x00007ffd4a132000)
	libpq.so.rh-postgresql12-5 => /usr/share/stellar/lib/libpq.so.rh-postgresql12-5 (0x00007f2b3dd81000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f2b3da79000)
# /usr/bin/stellar-core version
18.5.0-8.el7
#

I have a question about EPEL policy. Are you allowed to put into EPEL packages depending on SCL packages? I didn't think your were. For that reason Nextcloud couldn't be updated because it required an SCL version of PHP.

I have a question about EPEL policy. Are you allowed to put into EPEL packages depending on SCL packages? I didn't think you were. For that reason Nextcloud couldn't be updated because it required an SCL version of PHP.

I understand that you are talking about some legal things.
But I don't understand what exactly you mean.
rpm package has not  dependencies on SCL at all.
I "stole" the .so file from the SCL and put it in my package, in a separate folder that only the built application knows about.
i build rpm packages with COPR (1).
and, I do not know the legal restrictions on these actions.
I already have repo for builddependencies (2),
and i think i can rebuild rh-postgresql12-postgresql if it will be required.
(1) https://copr.fedorainfracloud.org/coprs/vorona/stellar-packages/monitor/
(2) https://copr.fedorainfracloud.org/coprs/vorona/stellar-packages-build-dependencies/

It is not a legal thing I am questioning, more an EPEL policy thing. For Stellar Core to work, you will need a Requires: rh-postgresql12 (or 10 or 13 depending on what you build against) in the spec file as a dependency. This is a Requires of an SCL package and I don't think EPEL allow that. You will need to ask on the EPEL mailing list.

In my case there is no "Requires" in spec, I am only using "BuildRequires".
as result i dont need any of the sclo/rh repos to install and run stellar-core.
See proof bellow.
But if you are speaking about EPEL Package Request, it make sense to think about and i have not answer.
$ podman run -it --rm centos:7
[root@1a75417ed537 /]# yum repolist -q
repo id                                      repo name                                      status
base/7/x86_64                                CentOS-7 - Base                                10072
extras/7/x86_64                              CentOS-7 - Extras                                509
updates/7/x86_64                             CentOS-7 - Updates                              3730
[root@1a75417ed537 /]# curl -s https://copr.fedorainfracloud.org/coprs/vorona/stellar-packages/repo/epel-7/vorona-stellar-packages-epel-7.repo -o /etc/yum.repos.d/stellar.repo
[root@1a75417ed537 /]# yum install stellar-core stellar-system -y
==================================================================================================
 Package        Arch   Version       Repository                                              Size
==================================================================================================
Installing:
 stellar-core   x86_64 19.0.1-1.el7  copr:copr.fedorainfracloud.org:vorona:stellar-packages 6.6 M
 stellar-system x86_64 0.0.6-3.el7   copr:copr.fedorainfracloud.org:vorona:stellar-packages 3.7 k

Transaction Summary
==================================================================================================
Install  2 Packages
Running transaction
  Installing : stellar-system-0.0.6-3.el7.x86_64                                              1/2
  Installing : stellar-core-19.0.1-1.el7.x86_64                                               2/2
  Verifying  : stellar-core-19.0.1-1.el7.x86_64                                               1/2
  Verifying  : stellar-system-0.0.6-3.el7.x86_64                                              2/2

Installed:
  stellar-core.x86_64 0:19.0.1-1.el7              stellar-system.x86_64 0:0.0.6-3.el7

Complete!
[root@1a75417ed537 /]# stellar-core version
19.0.1-1.el7
[root@1a75417ed537 /]# ldd /usr/bin/stellar-core
	linux-vdso.so.1 =>  (0x00007ffe5f1e1000)
	libpq.so.rh-postgresql12-5 => /usr/share/stellar/lib/libpq.so.rh-postgresql12-5 (0x00007f68df911000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f68df609000)
...

And then, if you want to use postgres it is a manual decision? I see.
BTW, when I built it, I excluded the static build of libsodium and added Requires: libsodium and BuildRequires: libsodium-devel.


Proof-request is satisfied by revoked credentials

When authenticating using a credential that has been revoked, it appears that vc-authn-oidc will consider the proof-request satisfied also when presenting a revoked credential.
Based on this code in aries-cloudagent-python it appears that when a proof is presented without specifying the validity interval for a credential, the default behaviour is to consider the credential valid up until the moment the proof-request is processed.
This would imply that a revoked credential should immediately stop being considered as valid source of proof to satisfy the presentation, however the current behaviour of vc-authn indicates this may not be true.

This is the revocation registry entry sored on the ledger for the credential I am using for testing.

Code pushed to feature/failed-proof-notification, waiting to merge until interaction with mobile wallets is sorted out.

Will be resolved when #76 is merged.


Create CODE_OF_CONDUCT.md

Coverage remained the same at 100.0% when pulling 09b4ea6eb2a6421d2b948639f0c367300bbad511 on add-code-of-conduct-1 into daacb18cb696e68af9c4159977b7e1fc868fa574 on master.


Guard-ArgumentIsPSClass needs more information in the message

In order to find out what method actually failed, one needs to look at the exception/errorrecord objects and get the call stack. The caller needs to be added to the exception message.
Possible also apply the DebuggerHidden or DebuggerStepthrough attributes?
This actually applies to all Guard-* functions (in GravityPS module too)

Rolling up under #27.


CocoaPods support

Added a starting pod spec, would be great if you could check it and also tag a version for it to work. See line 3 and 18.

Hey, thank you for opening a PR, I really appreciate it! Unfortunately, I can't merge it in as it was a deliberate decision to not support CocoaPods. I don't foresee it being a problem for people using the library, as CocoaPods can interoperate with Swift Package Manager in the same project, and Xcode's integration with SPM is, IMO, what we should all migrate to.


Cannot allocate memory when writing a fits file

When I attempt to write a fits file after convolving the cube to a consistent beam size, I run into Errno 12, with the traceback:
Traceback (most recent call last):
  File "beam_fix.py", line 34, in <module>
    convolved_lsb_cube.write(sourcename+'_CASA/'+sourcename+'.asic.lsb.multiscale.deep..convolved.pbcor.fits', format='fits', overwrite=True)
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/spectral_cube.py", line 2177, in write
    write(filename, self, overwrite=overwrite, format=format)
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/io/core.py", line 66, in write
    write_fits_cube(filename, cube, overwrite=overwrite)
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/io/fits.py", line 210, in write_fits_cube
    hdulist = cube.hdulist
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/spectral_cube.py", line 2378, in hdulist
    return HDUList(self.hdu)
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/spectral_cube.py", line 2373, in hdu
    hdu = PrimaryHDU(self.filled_data[:].value, header=self.header)
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/cube_utils.py", line 222, in __getitem__
    return self._func(self._other, view)
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/base_class.py", line 335, in filled_data
    return u.Quantity(self._get_filled_data(view, fill=self._fill_value),
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/base_class.py", line 321, in _get_filled_data
    use_memmap=use_memmap
  File "/home/dcallana/.local/lib/python2.7/site-packages/spectral_cube-0.4.4.dev1982-py2.7.egg/spectral_cube/masks.py", line 220, in _filled
    dtype=dt)
  File "/home/dcallana/.local/lib/python2.7/site-packages/numpy/core/memmap.py", line 264, in __new__
    mm = mmap.mmap(fid.fileno(), bytes, access=acc, offset=start)
mmap.error: [Errno 12] Cannot allocate memory

I'm fairly certain I am not running into an issue with storage quota, and I've run hpy to determine the amount of memory I'm using before the troublesome line of code, with gives me:
Partition of a set of 501421 objects. Total size = 85150120 bytes.
 Index  Count   %     Size   % Cumulative  % Kind (class / dict of class)
     0 169981  34 19606024  23  19606024  23 str
     1  47707  10 17784040  21  37390064  44 unicode
     2 121698  24 10851080  13  48241144  57 tuple
     3   1434   0  4742256   6  52983400  62 dict of module
     4   4721   1  4348952   5  57332352  67 dict (no owner)
     5  28842   6  3691776   4  61024128  72 types.CodeType
     6  28141   6  3376920   4  64401048  76 function
     7   2936   1  2654104   3  67055152  79 type
     8  17975   4  2576952   3  69632104  82 list
     9   2936   1  2459072   3  72091176  85 dict of type
<1026 more rows. Type e.g. '_.more' to view.>

The code that runs into this issue is:
if os.path.isfile(sourcename+'_CASA/'+sourcename+'.asic.lsb.multiscale.deep.pbcor.fits'):
	lsb_cube =VaryingResolutionSpectralCube.read(sourcename+'_CASA/'+sourcename+'.asic.lsb.multiscale.deep.pbcor.fits')
	lsb_freq = lsb_cube.spectral_axis
	lsb_beam = lsb_cube.beams.sr
	lsb_cube.allow_huge_operations=True
	use_memmap = True
	masked_lsb_cube = lsb_cube.mask_out_bad_beams(0.3, criteria=['sr','major','minor'])
	del lsb_cube
	lsb_common_beam = masked_lsb_cube.beams[masked_lsb_cube._goodbeams_mask].common_beam(tolerance=1e-5)
	masked_lsb_cube.allow_huge_operations = True
	convolved_lsb_cube = masked_lsb_cube.convolve_to(lsb_common_beam)
	del masked_lsb_cube
	lsb_convolve = convolved_lsb_cube.beam.sr.value
	convolved_lsb_cube.allow_huge_operations=True
	print h.heap()
convolved_lsb_cube.write(sourcename+'_CASA/'+sourcename+'.asic.lsb.multiscale.deep.convolved.pbcor.fits', format='fits', overwrite=True)

The file is 13GB in size.

@D-Callanan can we close this now that the sysadmins found the issue?

@keflavich Yes, I believe so. Thank you for the help with this.


can we use it in east Asia language like Chinese, japanese etc without word segmentation?

I haven't tried this, my guess would be you could if you have an MLM trained on this language (and you will probably need some code modifications)

MLM
---do you means some pre-trained language model like BERT. XNET, right?

yep, Masked Language Model.


Updating gradle from 3.0.1 to 3.2.0, ''failed to run Gradle Findbugs Worker'' when building gradle.

I justed updated Gradle to 3.2.0 from 3.0.1. When I tried to build the project again, I got the exception:
''Execution failed for task ':app:findbugs'.

Failed to run Gradle FindBugs Worker
Process 'Gradle FindBugs Worker 10' finished with non-zero exit value 1''

When I degrade the gradle to 3.0.1, I can successfully build the gradle.

Expected Behavior

I think that might be something with my Findbugs plugin? The classed file location might changed after upgrading gradle.
Current Behavior

Context

Steps to Reproduce (for bugs)

Your Environment

Build scan URL:
Android Studio: 3.1.4
Gradle:3.0.1 to 3.2.0

I assume you mean "Android Gradle plugin" 3.2. Please open Android issues on the Android issue tracker.


remove ref to qra from multiple model eval session

in doing so also figure out why qra is installed in the github action which is a bit of a mystery


anoncoin{d,-qt} and p2pool

Anonoin{d,-qt} does ignore p2p connections if run in onlynet=i2p. The TCP connection can be established but everything send to the p2p port is ignored. The TCP p2p port is only open if you run with listen=1.
P2Pool needs a connection to the RCP and P2P Port of *coind and therefore you have to run anoncoin in clearnet mode (or combined) which is bad.
Solution: allow connections from <IP_ADDRESS> (or if other address, add another switch) if listen=1 is set. As listen=1 isnt default while on I2P only, this wont impact others.

Will be keeping this in mind for tests we need to conduct on v9 core, after some additional work gets done to correct many other issues relating to our i2p and p2p code.   However, both anoncoin{d,-qt} should even now, not be ignoring p2p connections when in onlynet=i2p mode.
Have been testing with that configuration as my preferred choice for >3 weeks and we operate with both inbound and outbound connections.  The code is being improved on though, still could have it working much better.
No IP port should be required or used in onlynet=i2p mode other than what i2psam requires to connect to the router and it's tunnel.  Can confirm this is happening correctly from looking at miles of debug.log ouput.  Even when I use the config option to bind to a port in my anoncoin.conf file, it does the bind step, softsets listen=1, but never tries any connection to another clearnet node, only i2p nodes.  Will need to confirm though that it never accepts an inbound connection from clearnet, if one is attempted by another peer.
As to the listen=1 setting, that is the most overriden option we have.
Right now there is code which forces listen=1, under certain 'other' settings selections.  Then yet more layers of code to insure if the user enters the value on the command line that it overrides whatever is found in the configuration file or assumed by default....  I think both bind and onlynet=i2p force the listen=1 setting, and their maybe another somewhere else in the code.
The logic is badly in need of documentation, which is hard to write, when the code is still changing, but that was my intention from the beginning, as to how this was suppose to work.
Perhaps we can get Cryptoslave to test for us, that no inbound clearnet connection is accepted, in onlynet=i2p mode, even when bind has been set in the anoncoin.conf for that machine.
GR

onlynet=i2p && listen=1 == people can connect over IPv{4,6} to you, hence onlynet is useless.
if onlynet==i2p && listen=1 then bindToAddress(127.1)
or a new switch, tough it needs to be some standard way.


Mistitles parameter

Hey,
Super nit-picky, but in the section ExportToPackagePreview there is a "C#" code snippet that states ""count":""" that should be "count":"" or something similar. Just thought I'd let you know. Cheers!

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 9d963d4c-de1f-7730-bee2-016dcde40907
Version Independent ID: 21b95d43-5ad9-0ffc-21b9-6a4ba9086a56
Content: Data management package REST API - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/data-entities/data-management-api.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @Peakerbl
Microsoft Alias: peakerbl

Bug 812393 has been logged to address this issue.

@twheeloc can you please look into fixing this?


[SPARK-33371][PYTHON][3.0] Update setup.py and tests for Python 3.9

What changes were proposed in this pull request?
This PR is a backport of https://github.com/apache/spark/pull/30277
This PR proposes to fix PySpark to officially support Python 3.9. The main codes already work. We should just note that we support Python 3.9.
Also, this PR fixes some minor fixes into the test codes.

Thread.isAlive is removed in Python 3.9, and Thread.is_alive exists in Python 3.6+, see https://docs.python.org/3/whatsnew/3.9.html#removed
Fixed TaskContextTestsWithWorkerReuse.test_barrier_with_python_worker_reuse and TaskContextTests.test_barrier to be less flaky. This becomes more flaky in Python 3.9 for some reasons.

NOTE that PyArrow does not support Python 3.9 yet.
Why are the changes needed?
To officially support Python 3.9.
Does this PR introduce any user-facing change?
Yes, it officially supports Python 3.9.
How was this patch tested?
Manually ran the tests:
$  ./run-tests --python-executable=python
Running PySpark tests.

I don't think the test failures are related. The master builds also fail for the same reason during the downloads (from server side issue ?). I will retrigger the tests later.

Test build #130754 has finished for PR 30288 at commit 6825900.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35363/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130754/
Test PASSed.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35363/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35363/
Test FAILed.

cc @dongjoon-hyun this is the backport :-).

Yep. I saw this.


Make everything multilanguage - All changes at once.

Maybe overloading you with PR's is not nice.
So this are all the changes bundled.

allows for payment with wiretransfer or pay on delivery
Added Romanian translation.
save the currency used in the order.
bumped stripe, as the current version didn't seem to work
bumped docker node image, as 8 is deprecated
added a fuzzy search with 1 edit as range for the search.
added missing I18N
make product data multilanguage
make menu multilanguage
productfeed will be made for every language
revised hook system & add product onCreate hook

If you have any feedback regarding features you like to see or don't like in the PR, I'd be glad to adapt them.

Hello.

As for this version (V1.2.3 on my branch), I deployed a demo: https://expresscart.ab-it.io/
(same login as your demo).
Could you have a look, see if these are changes you would like to incorporate in expressCart?
If you think these changes are out of scope, I'll close the PR.
If you have some remarks, I'll be glad to solve them.
Thank you.


[android_intent] Clean-up iOS subproject

We must rename channel name in our plus plugins
private static final String CHANNEL_NAME = "plugins.flutter.io/android_intent";

Why?
They are currently named "dev.fluttercommunity.plus/android_intent" so it doesn't conflict with the original plugin.

ops, sorry it seems I search and I found this https://github.com/fluttercommunity/plus_plugins/blob/92798cfbd217d45933fd9d8d3d5735d86a5ea379/packages/android_intent_plus/ios/Classes/AndroidIntentPlugin.m
this is probably a mistake by me, you can ignore it then. It funny because on my local machine I also can find this channel name!

Oh I see, but also this is weird because that's the iOS code for the android-only plugin. Let me rename this ticket and keep it open.

this might also be helpful https://github.com/fluttercommunity/plus_plugins/blob/92798cfbd217d45933fd9d8d3d5735d86a5ea379/packages/android_intent_plus/android/src/test/java/io/flutter/plugins/androidintent/MethodCallHandlerImplTest.java

We still have [FlutterMethodChannel<EMAIL_ADDRESS>https://github.com/fluttercommunity/plus_plugins/blob/main/packages/android_intent_plus/ios/Classes/AndroidIntentPlugin.m#L18-L19
should we consider removing/renaming this?

sending a PR here https://github.com/fluttercommunity/plus_plugins/pull/410

Is this still an issue after #410  got merged ?

thanks for noticing @fabiancrx


Update youtube-thumbnail.ts

Hi @David SiegelBecause, can't generate images from some Youtube URLs, for example, https://youtu.be/Uz7LpDR-Gew. Maybe you can consider it.Thank you. Best RegardHimaladinFrom: David SiegelSent: Friday, October 29, 2021 8:58 PMTo: glideapps/glide-code-columnsCc: Hma; MentionSubject: Re: [glideapps/glide-code-columns] Update youtube-thumbnail.ts (PR #56) Hello, @hmarchitects! And thank you!Can you please explain this change?—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

Hi @dvdsgl
Because, can't generate images from some Youtube URLs, for example, https://youtu.be/Uz7LpDR-Gew. Maybe you can consider it.
Thank you.


create conda recipe

since jupysql-plugin is now a hard dependency for jupysql, we need to create a conda recipe for jupysql-plugin.
since jupysql-plugin is not available on conda, the PR for the new jupysql is broken: https://github.com/conda-forge/jupysql-feedstock/pull/21#issuecomment-1731748251
there is some information on how to upload packages to conda here: https://github.com/search?q=repo%3Aploomber%2Fcontributing conda&type=code

@neelasha23 lgtm. once this is in conda, please install it from there in a new environment to ensure it works correctly

Sure!
Please add a comment in the PR so that I can tick GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
@edublancas

@neelasha23 the recipe has been merged: https://github.com/conda-forge/staged-recipes/pull/24656
please do a quick test by installing jupysql-plugin from conda and checking that things work (the connection manager, the share notebook button, sql formatting, autocompletion, etc).
if all works, we can close this

Getting error for all the features:

@edublancas

Only the ConnectorWidget seems to be working:

@edublancas

I think the errors you're getting are because you're using JupyterLab 4, please try again with JupyterLab 4

Features are working, but I don't see the Share Notebook button

@edublancas

Features are working fine:
Connector Widget:

New connection:

SQL Formatting:

Autocomplete:

notebook share:

However I see that it is asking for creating an account? Is it expected? I didn't get any prompt for API key:

@edublancas

that's fine. it won't prompt you for an API key if you set one already. we can close this then


Add a Domain List import overwrite warning (UI)

This is fairly self explanatory. The only work here will be finding an elegant way of displaying this warning to the user. This will be mostly UI work, since a regular alert will most likely work fine.

since a regular alert will most likely work fine

Agreed. Let's have as little text as possible in the popup and other pages.

@asalia-1, please finish this by our meeting next week.


⚠ Horarius (prod) has degraded performance

In b90c7d6, Horarius (prod) (https://www.gegi.usherbrooke.ca/horarius/) experienced degraded performance:

HTTP code: 400
Response time: 3376 ms

Resolved: Horarius (prod) performance has improved in b7d1df2.


Request for feature

$http is great service (provider), and very useful, could you add it there? So directives can easily fetch data from outside
controller for directive

    alight.directives.al.test = {
	    restrict: 'E',
	    template: '<b>asd{{test.val}}</b>',
	    link: function(){
	    	console.log(arguments);
	    },
	    controller: function($http){
	    	console.log(arguments);
	    	var vm = this;
                $http.get('url').then(function(){
                      vm.val = "qwe";
                });
	    },
	    controllerAs: 'test'
	};

Indeed that's all for complete self contained directive.

$http is default for Angular, but aLight is cool, because you can make this service as you and you project needed.
But I think it would be cool if other developers would develop and publish a variety of modules and extensions for the library. Thus you will be able to collect only the necessary parts.

totally agree, but it's a coffeescript :cry:

But no one forces you to write your controllers/directives on coffescrept.

You can append controller for self, example: http://plnkr.co/edit/txA6N8H7pjUNtIqduzLa?p=preview
Instead of $http, you can use jQuery.get/post

Awesome, that's it, for  15kb. But could you name it more readable
alight.directives.al.test why al? why not alight.directives.test

It's like a namespace, al-click, ui-datetime.
If you attach library "ui", it can make namespace "ui" (alight.directives.ui = {}).
After that, if you write , and there is no ui.datetime, then AL will throw error "no ui-datetime".

it's now 48,2 KB, 320% increase
15kb gzipped ~= 48kb raw, it means server transfers 15kb to your browser.

Oh God, http://angularlight.org/bin/alight_0.8.4.min.js this file is 48kb and yes, it's really minified

this file is 48kb and yes, it's really minified

Look at network panel, what size was is real transferred.

Instead of $http, you can use jQuery.get/post

If you don't want attach jQuery, you can use this code
or you can use built-in alight.f$.ajax

Oh, thanks, didn't know that minified file can also be gziped, great.

This project deserves MORE STARS!

Thanks.


Feature request: vertical slider?

Is there any plan for this? This slider is awesome. :)

Thanks for the kind words!
I think to get a vertical slider working well would require a significant amount of work, so it's not something which is currently planned. In a vertical configuration the popup view would probably need to pop from the either the left or right of the slider track and the shape would need to adapt to this new layout.
There's a hacky suggestion to get it basically working (the popup will overlay the slider track, which may or may not be ideal for your needs?): https://github.com/alskipp/ASValueTrackingSlider/issues/43


Iubenda/Analytics

To be GDPR compliant, a cookie banner should be set up. Look for open source and free alternatives to iubenda.

Google analytics and Cookiebot setup done. The tutorials used as resources can be found in the wiki.

The previous configuration works well for server side rendered applications.
In order for GTM to work with SPAs, additional configuration is required.

Proper configuration applied thanks to this guide.
Solved with #28


How to connect two Victron devices

Great work!
I managed to monitor my MPPT (SmartSolar 75/15) with an ESP32 on UART2.
Now I'd like to add my inverter (Victron Phoenix, also a ve.direct device).
Readme says "The uart_id and victron_id is optional if you use a single UART / victron device."
But how can I configure a second device on a second UART?

uart:
  - id: uart0
    baud_rate: 9600
    tx_pin: GPIO1
    rx_pin: GPIO3
  - id: uart1
    baud_rate: 9600
    tx_pin: GPIO14
    rx_pin: GPIO4
  - id: uart2
    baud_rate: 9600
    tx_pin: GPIO32
    rx_pin: GPIO33

victron:
  - id: victron0
    uart_id: uart0
  - id: victron1
    uart_id: uart1
  - id: victron2
    uart_id: uart2

sensor:
  - platform: victron
    victron_id: victron0
    panel_voltage:
      name: "victron0 panel voltage"
  - platform: victron
    victron_id: victron1
    panel_voltage:
      name: "victron1 panel voltage"
  - platform: victron
    victron_id: victron2
    panel_voltage:
      name: "victron2 panel voltage"

It's untested. Please give it a try!

Works perfectly, thanks!

Works perfectly, thanks!


Multi language

Hi,
can you please make the plugin multi language?
that would be very nice.
if you need help on the translation let me know
ocean

I'll work on it

You got it with 1.2.0 release. Hope you would add translation in your native language. :-)

Will do that, off course


The implementation of a Testimonial card feature. (Issue #129)

Here I have added 3 testimonal card from an indiviual ,  a doctor and an organization  covering all the user target by the website .
after merge result:
https://github.com/user-attachments/assets/fac6d773-4e68-400d-a584-31edd5f254e5

Busy in some work will review it Tomorrow

Can you try to use the existing card available because on dark mode it should change color

yes

hey @ratnesh-maurya  i did  use the card componenet  present in the code and  this is the result
https://github.com/user-attachments/assets/e14da471-8018-4cc7-99d1-e119eb11d70e
let me know what you think  and after that i will raise the PR

Looks good to me,  see if you can adjust photo's in someway  currently not looking that much good but we can have PR I can review and merge it

I tried resizing the image, but it's not looking good because of the overall card structure.  and I raised the PR review it and let me know.


Use pascal case for TA error and error code

TA Swagger is using camralCase for error code values, but it should use PascalCase instead.
As SDK, we should explore PascalCase value for error and error code values.

The more appropriate way to resolve capitalizing the first letter of error code value, is to update the swagger context.
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.1/TextAnalytics.json#L536


[PWK][hint] using tmate inside PWK

This is not an issue but rather a hint: to be able to reach PWK from a terminal (thru an encrypted ssh session fwiw ;), after creating a new session I usually do:
wget https://github.com/tmate-io/tmate/releases/download/2.2.1/tmate-2.2.1-static-linux-amd64.tar.gz && tar zxf tmate-*.tar.gz && ln -sf $PWD/tmate-*/tmate /usr/local/bin
script -qfc tmate |egrep -o ssh.session:.*

Then connect to the displayed tmate.io ssh session parameters from a comfy
local terminal, and kick the browser attached tmate from inside it with:
pkill -1 tmate.
Just in case it helps other (and/or we can haz tmate installed by default ;).
Thanks for the awesome stuff! --jjo

Thx!.

@jjo BTW, there's no need to install tmate, you can actually ssh into the PWK instances automatically. Check https://medium.com/@marcosnils/pwd-ssh-c12080ea11d1 and https://github.com/kelseyhightower/kubeadm-single-node-cluster/pull/1

Hello,
I tried to SSH into my instance following that medium.com advice and it failed for me.
My instance dashboard is at: http://ip10-0-11-3-30618.host2.labs.play-with-k8s.com
So I did:
ssh -p 1022<EMAIL_ADDRESS>But it closes the connection.
Am I doing anything wrong? Thanks!

hey @arapulido!. Take into account that the 30618 is the service port and not the short session id. You should replace that with the short session identifier that you see here:

You need to use the characters up to the underscore


how to retry login if auth failed.

I am using cf cli in team city. Even though credentials are correct sometime authentication fails for cf login and team city build fails. In such cases I re trigger team city build and it works after 2-3 times.
I am using cmd.exe to run cf login. Is there any way to force cf cli to retry at least 3-4 times if authentication fail.
I tried to use power shell script. In that I was trying to use try catch block to check for authentication error to retry login but if authentication fails cf throws error but it doesn't reach catch block.

Hey @aniltomar10! Thanks for reporting an issue to us - we're sorry to hear you're having issues with the CF CLI and would love to help. To help us help you, we'd like to know more information about this specific issue. Could you please fill out the following template to provide context of the issue to our team?
**Please fill out the issue checklist below and provide ALL the requested information.**

- [ ] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
- [ ] I attempted to run the command with `CF_TRACE=1` to help debug the issue.
- [ ] I am reporting a bug that others will be able to reproduce.

**Describe the bug and the command you saw an issue with**
Provide details on what you were trying to do (and why).

**What happened**
A clear and concise description of what happen.

**Expected behavior**
A clear and concise description of what you expected to happen.

**To Reproduce**
Steps to reproduce the behavior; include the exact CLI commands and verbose output:
1. Run `cf ...`
2. Bind a service `cf bind-service`
3. See error

**Provide more context**
- platform and shell details ( e.g. Mac OS X 10.11 iTerm)
- version of the CLI you are running
- version of the CC API Release you are on

Note: As of January 2019, we no longer support API versions older than CF Release v284/CF Deployment v1.7.0 (CAPI Release: 1.46.0 (APIs 2.100.0 and 3.35.0).

Regarding the power shell loop, I am not too familiar with how Windows scripting works, but in UNIX, every command will return a return code. For our CLI, a "0" return code would indicate success, and a non-zero return code would indicate a failure for cf auth. This might help for your retry logic.

Closing due to inactivity.
Please reopen and fill the template if you would like to continue this chat.
Thank you!


Cannot add an Agency - /api/editor/secure/agency has not been mapped in Spark

 Issue by heshamghandour
Thursday Dec 14, 2017 at 19:44 GMT
Originally opened as https://github.com/catalogueglobal/datatools-server/issues/63

Hi!
Just set up the service but when trying to add an agency, it stops working, and this message appears on the server console:
Dec 14 19:40:19.190 [qtp2073480674-39] INFO  spark.http.matching.MatcherFilter - The requested route [/api/editor/secure/agency] has not been mapped in Spark
Same happens with other functions like:
Dec 14 19:39:55.922 [qtp2073480674-16] INFO  spark.http.matching.MatcherFilter - The requested route [/api/editor/secure/agency/new/uploadbranding] has not been mapped in Spark
Any known issues there?
Thanks!

 Comment by landonreed
Friday Dec 15, 2017 at 14:58 GMT

It's likely that your server.yml config does not have the editor module enabled.  However, v3.0.0 does not have full support for the editor at the moment, so I would recommend using 2.x if you're looking to use the GTFS editor.

 Comment by heshamghandour
Saturday Dec 16, 2017 at 12:19 GMT

True! Using v2.0.0 fixed the issue thanks.


Some metrics could not be accessed...

https://crfm.stanford.edu/helm/latest/#/groups/cleva_paraphrase_generation_metrics

The results are not accessible because CLEVA results have not yet been published.
Closing as duplicate of #2008.


Rewrite for 2.0

This is a full rewrite for a 2.0 release. Removed legacy code, added new features, fixed bugs, keep up with Home Assistant changes, and make it easier to work with in the future. Requires Home Assistant 2022.2.0 or higher.
Breaking changes:

Follow the Home Assistant Unique ID Requirements. This will unfortunately cause loss of entity history, but the old code was unacceptable. Previously mentioned in #21
Meter entity names will have the parent device ID as part of the entity name due to new auto-detection feature.
Remove separate sensors for status_text and status_vendor_text. The information they provided is available as attributes in status and status_vendor.

New features:

Auto detection for meters (default enabled) and batteries (default disabled). Up to 32 inverters with 3 meters per inverter and 2 batteries per inverter are supported. Battery detection is disabled by default because the registers used are not officially supported by SolarEdge. #7
Stale data awareness. If an update cycle fails, entities will show "unavailable". (#23)
Add battery registers for LG batteries. #22
New "device" entity with device information attributes. These attributes are static information about the device. information that may change after installation, such as the firmware version, is provided in separate sensors.

Bugs fixed:

#33

Limitations:

Extremely limited battery support since it hasn't been tested at all.
@Doonga tested the pre-release branch and confirmed that the new SolarEdge Energy Bank does not use the LG battery registers (#22) as previously speculated in #7. The battery registers in general are not from a supported SolarEdge source, so batteries as a whole are considered unsupported. It is unknown at this time if any registers exist for the new battery system.

Old meter entity format: sensor.solaredge_m1_*
New entity format where meter 1 was detected on inverter ID 1: sensor.solaredge_m1_1_*
New entity format where meter 2 was detected on inverter ID 5: sensor.solaredge_m2_5_*

Recommended update procedure is to delete integration from Settings -> Devices & Services, upgrade, then add the integration back. Fixing the entity unique_id causes HA to recreate all entities.
Upgrading in place won't break anything, but all entities with the corrected unique_id will be seen a duplicates and HA will suffix them with _2.


Disable registration for users who are already registered

Add an email exists check in the AuthProvicer.register method. Throw an error if email exists and gracefully fail with a redirect request (301) to the login.
Any more ideas are welcome.

I'll take this one if still needed!

Yeah, it is! Go ahead.


Modules jcodec and jcodec.javase export package org.jcodec.scale to module xxx

Hi,
I just started using jcodec and ran into the following error, when building my project
Modules jcodec and jcodec.javase export package org.jcodec.scale to module org.eclipse.fx.drift
The target module is actually not important.
I have to use both modules as I am working with java buffered images.
I get the error as soon as I add
requires jcodec.javase;
requires jcodec;
to modue-info.java file.
I would be most grateful if you could provide some assistance.
Best regards,
Nikos

I believe in the older versions of java this was fine, so you would get classes from both modules mixed up, which was the idea.
It seems that this is not fine anymore. So, unless you find a better solution, I would manually move classes to org.jcodec.se.scale package in the javase module. There should only be a couple of classes anyway.

Thank you for the response. I will try that.
Nikos


adding a space in a docstring

Thanks for the request - this was fixed in a more recent version of pyGSTi.


IE LocalStorage.setItem bug with compression

Using store.everything.min.js 2.0.12, Edge (IE11 also) throw an exception "SCRIPT87: Invalid argument" with the following code:
var x = [
  {"id":"10","keys":"dev"}
];
store.set('test', x);

crash happens line 22 of localStorage.js
It seems that there's a char in the compressed string that IE doesn't like too much. No problem with Chrome or Firefox.
jsfiddle

I'm having the same issue on Edge. Since I had to fix it ASAP (it was blocking my checkout page for some users) I added the following patch right after including store.js:
try
{
    store.set("__test_store_", [{"id":"10","keys":"dev"}])
}
catch (e)
{
    console.warn("Store fallback!");
    store = {
        get: function(key)
        {
            return JSON.parse(localStorage.getItem(key));
        },
        set: function(key, val)
        {
            localStorage.setItem(key, JSON.stringify(val));
        },
    }
}

Its not a good solution but its better than nothing for now..
Hope this problem will have a solution soon.

Excellent, thank you for the patch!

This is probably a little old but just found out from LZString you can do the following (code from http://pieroxy.net/blog/pages/lz-string/guide.html):
var string = "This is my compression test.";
alert("Size of sample is: " + string.length);
var compressed = LZString.compressToUTF16(string);
alert("Size of compressed sample is: " + compressed.length);
localStorage.setItem("myData",compressed);
(...)
string = LZString.decompressFromUTF16(localStorage.getItem("myData"));
alert("Sample is: " + string);


Typings error with Typescript 2.4.1

Not sure this is a right repository to post this issue, but there is an error in Typings when Typescript 2.4.1 is used:
ERROR in [at-loader] ./node_modules/@types/react-virtualized-select/index.d.ts:25:18
    TS2430: Interface 'VirtualizedSelectProps' incorrectly extends interface 'ReactSelectProps'.
  Types of property 'optionRenderer' are incompatible.
    Type '(options: VirtualizedOptionRenderOptions<any>) => Element' is not assignable to type '(option: Option) => Element'.
      Types of parameters 'options' and 'option' are incompatible.
        Type 'Option' is not assignable to type 'VirtualizedOptionRenderOptions<any>'.
          Property 'focusedOption' is missing in type 'Option'.

Versions:
@types/react-virtualized-select-3.0.1
react-virtualized-select-3.0.1
react-virtualized-9.8.0
node_modules/.bin/tsc --version
Version 2.4.1

I think you should file this against DefinitelyTyped since VirtualizedSelectProps  comes from there. 😄  I don't have anything to do with that effort.


Can't enter Quests for some reason on CN server on Chaldea quest/ Free Quests Interface.

Before opening an issue:

[x ] I tested the latest release
[x ] I looked at other issues (even the closed ones)
[x ] I read the Troubleshooting Guide
[ x] I'll fill this template properly

Your issue will get closed/locked by the bot in case proper info isn't provided
If you open unnecessary/dumb issues, you'll be rewarded with appropriate tags.

Describe the bug
I can loop free quests with no problem, but only if i already had entered the quest but the quest needs to have "loop" activated... quests like Chaldea Gate for the first time i won't enter automatically on the quest, and if i don't reset FGA, it won't use any skills.
Screenshots

Video
If relevant, include a video of the script running on your device with Debug mode ON
Recording functionality is available within the app in More options.
Device Info (please fill at-least 'Device model'):

Device model: LG K10 2017
Screen size: [e.g. 1280x720]
Android Version: [e.g. Android 7.1]
RAM: [e.g. 3GB]

Menu was previously another image, that's why the menu button detection doesn't work anymore.
Check the apk at https://github.com/Fate-Grand-Automata/FGA/suites/3014534889/artifacts/68254369 for a potential fix. Please report whether it works or not.

it did work, thank you!


Volume command is doing nothing in esp_hid_device on esp-idf V4.4 (IDFGH-11233)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v4.4.5-249-gcc71308e2f (also tried on v4.4.6-35-gcdd72ac1d4)
Espressif SoC revision.
ESP32-PICO-V3-02 (revision v3.0)
Operating System used.
macOS
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom PCB
Power Supply used.
External 3.3V
What is the expected behavior?
When the code sends the volume up and down commands this would be reflected on the connected device.
What is the actual behavior?
Nothing... The volume was not being adjusted by the esp32.
Steps to reproduce.

Flash the ESP_HID_DEVICE example from the IDF to an ESP32 board
Connect to iPhone*
Code should connect fine
Console will show "HID_DEV_DEMO: Send the volume"
No volume adjustment happens on the phone

If using a Pixel7 it will connect using BT Classic which has a different demo code (which worked). However when I modified the code to send the volume commands it did not work. Also connected to a MacBook Pro and that also did not change the volume

Debug Logs.
No response
More Information.
No response

Update:
Sorry if this is not the best way to document but I made some major changes to the code so the volume up/down was from user input and not the timed xTask. This now works on the iPhone13 (on ble) but still nothing else.
Also, I am getting an error on the esp_hidd_dev_input_set command when connected as a BT Classic device (Pixel 7).
Code:
if(hid_connection_status == HID_IS_BLE)
{
	esp_hidd_dev_input_set(s_ble_hid_param.hid_dev, 1, HID_RPT_ID_CC_IN, buffer, HID_CC_IN_RPT_LEN);
}
else if(hid_connection_status == HID_IS_BT)
{
	esp_hidd_dev_input_set(s_bt_hid_param.hid_dev, 1, HID_RPT_ID_CC_IN, buffer, HID_CC_IN_RPT_LEN);
}
else
{
	ESP_LOGE(TAG, "HID not connected!");
}

Error:
I (0) cpu_start: Starting scheduler on APP CPU.
I (566) app_main: app_main
I (606) esp_hid_gap_init: esp_hid_gap_init
I (606) init_low_level: init_low_level
I (606) BTDM_INIT: BT controller compile version [946b762]
I (606) system_api: Base MAC address is not set
I (616) system_api: read default base MAC address from EFUSE
I (616) BTDM_INIT: Bluetooth MAC: 4c:75:25:f1:94:4a
I (626) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (1346) init_bt_gap: init_bt_gap
I (1356) init_ble_gap: init_ble_gap
I (1356) esp_hid_ble_gap_adv_init: esp_hid_ble_gap_adv_init
W (1366) BT_BTM: BTM_BleWriteAdvData, Partial data write into ADV
I (1386) ble_hidd_event_callback: Setting to connectable, discoverable
I (2396) bt_hidd_event_callback: Setting to connectable, discoverable
I (2396) esp_hid_device_main: run_example
##############################
ESP HID DEVICE DEMO COMMANDS:
You can input these values
s -- Start pairing
e -- End pairing/disconnect
u -- Send volume up
d -- Send volume down
##############################

I (68116) esp_hid_device_main: send_volume_up
E (68116) esp_hid_device_main: HID not connected!
I (72296) esp_hid_device_main: send_volume_down
E (72296) esp_hid_device_main: HID not connected!
W (524716) BT_HCI: hcif conn complete: hdl 0x81, st 0x0
W (524766) BT_HCI: hcif link supv_to changed: hdl 0x81, supv_to 8000
W (524766) BT_HCI: hcif link supv_to changed: hdl 0x81, supv_to 8000
W (526536) BT_APPL: new conn_srvc id:20, app_id:1
W (526546) BT_APPL: bta_dm_pm_ssr conn_srvc id:20, app_id:1
W (526546) BT_APPL: bta_dm_pm_ssr:3, lat:360
I (526546) BT_HIDD: Connected to c8:2a:dd:82:0f:0d
I (526556) bt_hidd_event_callback: CONNECTED
W (531746) BT_HCI: hci cmd send: sniff: hdl 0x81, intv(10 18)
W (531756) BT_HCI: hcif mode change: hdl 0x81, mode 2, intv 18, status 0x0
I (531756) ESP_HID_GAP: BT GAP MODE_CHG_EVT mode:2
W (531816) BT_HCI: hcif ssr evt: st 0x0, hdl 0x81, tx_lat 360 rx_lat 720
I (580116) esp_hid_device_main: send_volume_up
E (580116) BT_HIDD: index out of range[0-0]
E (580116) BT_HIDD: HID device not connected!
E (580216) BT_HIDD: index out of range[0-0]
E (580216) BT_HIDD: HID device not connected!

I made a repo for the full code here: https://github.com/josh-gc/esp_selfie
Any help would be greatly appreciated!

Update again:
The iPhone works on the first connection after reboot but not if the device is disconnected and then reconnected...

@josh-gc
Hello, please apply the following patch and test with iPhone 13 again.
(esp-idf/examples/bluetooth/esp_hid_device)
0003-fix-bt-bluedroid-Fix-bugs-in-ble-service-change-char.patch
If you continue to encounter issues, please let me know.
thanks.

@josh-gc
I tested it using an iPhone 13（IOS 17.0.3）, and it appears to be working correctly. Therefore, I need your help in reproducing the issue. Here is a summary of the my testing results:
After connecting to the esp32 (esp_hid_device), the volume on the iPhone 13 starts updating. When I disconnect the connection and open Bluetooth again, it automatically reconnects, and the volume continues to update.
https://github.com/espressif/esp-idf/assets/131946088/874c8b1d-97d9-48c4-9555-8ef555d46b82

@zhp0406 Thank you for responding. Sorry my bug was not clear, here is the process to reproduce:

"Forget" the connection and reset the ESP32
Connect to phone -> Volume works
"Forget" the device
Reconnect the device -> Volume does not work
Reset the ESP32
Reconnect the device -> Volume works again

I had the same experience with my code (esp_selfie) and the esp_hid_device example. The .patch file did not make a difference. I made another thread in the espressif forum to track the issue with bt/Android commands in my code.

Other thread here: https://www.esp32.com/viewtopic.php?f=13&t=36330

@josh-gc
I was able to reproduce the issue without applying any patches. Here is the environment I used:
iPhone 13
esp-idf/examples/bluetooth/esp_hid_device
IDF commit: cc71308e2fdce1d6d27fc52d39943f5d0fb83f35
I observed a phenomenon: when the iOS pairing window pops up, if I quickly click on pairing, the subsequent operations work fine. However, if I don't click quickly (e.g., waiting for 5 seconds before clicking on pairing), an issue occurs.
Is this observation similar to what you've experienced?

@zhp0406 I don't think that the timing is the issue. Here is a screen capture from the iPhone where I:

Open BLE
Connect to device
Volume commands fails
Reset the ESP32
Reconnect
Volume commands work
Turn off / on bluetooth
Reconnects
Volume commands work
Forget device
Reconnect device
Volume commands fails
Reset device
Reconnect
Volume commands work

Also, when I tried to do the screen capture over a cable from my computer I could not get it to work at all.
Also, after about a minute I started getting these error messages:
E (56718) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (56718) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (58328) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (58328) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (63398) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (63398) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (74978) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (74978) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (120128) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (120128) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (209268) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (209268) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (218378) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (218378) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
(This is on my code, not the esp_hid_device but I saw the same issues on both)

@josh-gc
Based on the current analysis, this should be a compatibility issue. If encryption is not successful, Apple devices will not recognize the ESP32 as an HID device. To verify my theory, please kindly test with the following patch. Thank you.
0001-fix-bt-bluedroid-Fixed-BLE-hid-example-bugs.patch

E (63398) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
The above log indicates a failed pairing. Please make sure you have successfully paired it.If pairing is not successful,the HID example cannot be used.

@zhp0406
 add_db_record(_last_db, index++, (uint8_t *)&s_character_client_config_uuid, ESP_GATT_PERM_READ | ESP_GATT_PERM_WRITE_ENCRYPTED, 2, 0, NULL);
The above change you made looks to have solved the re-connection after "forget"!
I am still getting the 'E (94802) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT' error though. It only happens when the iPhone goes to sleep so I had to modify the code to pause long enough to let it sleep. Here is my modified ble_hid_demo_task:
void ble_hid_demo_task(void *pvParameters)
{
	static bool send_volum_up = false;
	static int	count = 0;
	while (1) {
		ESP_LOGI(TAG, "Send the volume");
		if (send_volum_up) {
			esp_hidd_send_consumer_value(HID_CONSUMER_VOLUME_UP, true);
			vTaskDelay(100 / portTICK_PERIOD_MS);
			esp_hidd_send_consumer_value(HID_CONSUMER_VOLUME_UP, false);
		} else {
			esp_hidd_send_consumer_value(HID_CONSUMER_VOLUME_DOWN, true);
			vTaskDelay(100 / portTICK_PERIOD_MS);
			esp_hidd_send_consumer_value(HID_CONSUMER_VOLUME_DOWN, false);
		}
		send_volum_up = !send_volum_up;
		vTaskDelay(2000 / portTICK_PERIOD_MS);

		count ++;	// Increment count

		// Delay for 10 seconds to let the phone sleep
		if(count > 4)
		{
			printf("pause \n");
			vTaskDelay(60000 / portTICK_PERIOD_MS);
			count = 0;
		}
	}
}

and here is the error logs:
I (2402) HID_DEV_BT: Setting to connectable, discoverable
I (5522) HID_DEV_BLE: CONNECT
E (6072) BT_BTM: btm_ble_remove_resolving_list_entry_complete remove resolving list error 0x2
E (6332) BT_SMP: Value for numeric comparison = 995800
I (6332) ESP_HID_GAP: BLE GAP NC_REQ passkey:995800
E (7592) BT_GATT: gatts_write_attr_perm_check - GATT_INSUF_ENCRYPTION
W (10292) BT_SMP: FOR LE SC LTK IS USED INSTEAD OF STK
I (10412) ESP_HID_GAP: BLE GAP KEY type = ESP_LE_KEY_LENC
I (10412) ESP_HID_GAP: BLE GAP KEY type = ESP_LE_KEY_PENC
I (10412) ESP_HID_GAP: BLE GAP KEY type = ESP_LE_KEY_LID
I (10542) ESP_HID_GAP: BLE GAP KEY type = ESP_LE_KEY_PID
I (10692) ESP_HID_GAP: BLE GAP AUTH SUCCESS
I (10692) HID_DEV_DEMO: Send the volume
I (12792) HID_DEV_DEMO: Send the volume
I (14892) HID_DEV_DEMO: Send the volume
I (16992) HID_DEV_DEMO: Send the volume
I (19092) HID_DEV_DEMO: Send the volume
pause
E (59612) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (59612) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (61392) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (61402) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (69632) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (69632) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
I (81192) HID_DEV_DEMO: Send the volume
E (81592) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
E (81592) BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT
I (83292) HID_DEV_DEMO: Send the volume
I (85392) HID_DEV_DEMO: Send the volume

When I wake up the phone it works fine but the volume command does not wake it up on it's own.

@josh-gc
I've fixed the issue in the latest patch. Please test it, and thank you.
If there are any problems, please report it to me.
0001-fix-bt-bluedroid-Fixed-BLE-hid-example-bugs_2.patch

@josh-gc
The first occurrence of "BT_GATT: gatts_write_attr_perm_check - GATT_WRITE_NOT_PERMIT" is normal because the connection is not yet encrypted at this point. However, there were several subsequent occurrences, which indicate a bug. I have fixed it in the patch provided below.You can directly apply this patch.
0001-fix-bt-bluedroid-Fixed-BLE-hid-example-bugs_2.patch
Furthermore, I have also addressed another compatibility issue with newer Android devices. If your product is intended for use on higher versions of Android devices, it is recommended to apply this patch as well.
0002-fix-bt-bluedroid-Optimize-compatibility-with-Android.patch
If you encounter any other issues during usage, I will promptly resolve them for you.

@josh-gc
Please test it with the patch, and I look forward to your response. Thank you!

@zhp0406 I was having issues recreating the GATT_WRITE_NOT_PERMIT issue so I reset everything and went through all the steps. Here are my results:
Update the IDF/submodules to: v4.4.6-98-g5f257494c5

Tried to apply patch 0003-fix-bt-bluedroid-Fix-bugs-in-ble-service-change-char but this was already there.
Confirmed the volume commands do not work on iPhone after "Forget Device"
Applied 0001-fix-bt-bluedroid-Fixed-BLE-hid-example-bugs
Confirmed that this patch solved the above (#2) issue
I added the delay to test if the phone sleeping caused an issue and was not able to recreate this bug. Sorry for the false report. I skipped 0001-fix-bt-bluedroid-Fixed-BLE-hid-example-bugs_2 since this was no longer needed.
I updated the config to be BLE only:
a. Component config → Bluetooth → Controller Options → Bluetooth controller mode (BR/EDR/BLE/DUALMODE) (BLE Only)
b. Component config → Bluetooth → Bluedroid Options → Classic Bluetooth(Disabled)
Tested on Android (Pixel 7) and the volume buttons did not work
Applied patch 0002-fix-bt-bluedroid-Optimize-compatibility-with-Android
This now works great on my phone!

All of my issues are solved. Thank you for your help!
Will this task stay open until these two patches are in the main branch or is there another way I can keep up with this?

@josh-gc
All are okay. I suggest closing the current issue for now. If you encounter other issues, then create a new issue.
At the same time, I will merge the patch I gave you into the master branch(and release branch) after testing it.
Thank you very much for reporting the issue.

@josh-gc
I will report back to you after merging into the master branch. However, this might take some time as there are many tests to run. In the meantime, please go ahead and use the patch I gave you.

Closing issue (still waiting on merge to main branch)

@josh-gc
We have fixed the issue with the BLE HID device. Please use the latest branch.
Alternatively, you can also use the following commits:
Commit c73d7c0b600517221e11b5fe54fe9e3c160a0963 improves the compatibility of the HID device on the Windows platform.
Commit<PHONE_NUMBER>b0504167216932af6d08a392845c6e enhances compatibility with iOS and macOS.
Commit b90dc6a515f69d9b9a2a9401f873186167f5562f adds support for the HID device control point feature.
Commit f7e174e9487cc218b92cffee9dc5953e962e0ff4 improves compatibility with Android versions after 10.


KDE5: keyboard layout switcher broken

Issue description
For some time I have no keyboard layout switcher anymore in the system tray, even though I have configured multiple layouts.
Steps to reproduce
Configure multiple layouts in System Settings / Input Devices / Keyboard / Layouts and set 'Show layout indicator'. If I am correct a keyboard layout switcher should appear in the System Tray.
In the log I noticed
Jun 07 13:22:47 fr-laptop xsession[999]: org.kde.kurifilter-ikws: "Jun 07 13:21:15 fr-laptop xsession[999]: org.kde.kcm_keyboard: Can't open the xml file \"/usr/share/xml/iso-codes/iso_639_3.xml\""

It seems the following path is needed
/nix/store/nabhg70f4fyg3xhcm47mmcnrymjck410-iso-codes-3.56/share/xml/iso-codes/iso_639_3.xml

Technical details

System: NixOS: 16.09.git.5474d37 (Flounder)

cc @ttuegel

I will try adding iso-codes to plasma-workspace

Thanks for tracking this down!
You can quickly unpack the source with
$ nix-shell -A kde5.plasma-workspace --run unpackPhase

and grep through it for iso-codes. It's possible it needs to be patched in more than one place.

I added the iso-codes dependency. Please let me know if there are further problems!

Thanks! I will test it as soon as Hydra has rebuilt it.

It's all working now, thanks!
On Wed, Jun 8, 2016 at 5:28 PM, Thomas Tuegel<EMAIL_ADDRESS>wrote:

I added the iso-codes dependency. Please let me know if there are further
problems!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/16040#issuecomment-224626217,
or mute the thread
https://github.com/notifications/unsubscribe/ACB875kATU0TpRxmWOjpMfnEUNmgb8ntks5qJt-dgaJpZM4Iv0z1
.


你好，请问一下，可以在1050上编译成功吗

如题，我在1080Ti上编译总是失败，请问您在1050上是编译成功过吗，能编译出libnvinfer_plugin*.so文件吗。
但看NVIDA TensoRT官网github，显卡要求是NVIDIA [Volta][Turing]or [Ampere]based GPU，是不是1050和1080Ti都不能编译成功

可以的，但是Triton需要指定--min-supported-compute-capability x.x 使triton支持

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @tshal0, @suhailgme, @rmdes, @kadnan, @legkvla, @yagobski, @icole, @totlsota, @pajamaw, @dut3062796s, @gerasimoska, @mhchia, @OsamaAliAli, @skiral, @RajeshRk18, @ManuelArcieri, @0xicingdeath, @Consistent1, @FranciscoBuru, @victortv7, @adammanter, @nobiit, @pswu11, @notsag-dev, @Florian-kun, @epappas, @fullstackadam, @yuriko627, @dockimbel, @wphan, @alexdreptu, @SinaKhalili, @andreslopezferro, @RISHIKESHAVAN, @bvshyam, @0xshandy, @freekarma-dev, @Om4ar, @amazingandyyy, @mangitick, @NoGeneral, @easyforgood, @wshino, @samwerner, @BigDeepBlue, @jeronimoalbi, @mounibec, @njgrisafi, @zz040206655, @georgepadayatti

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @tshal0, @suhailgme, @rmdes, @kadnan, @legkvla, @yagobski, @icole, @totlsota, @pajamaw, @dut3062796s, @gerasimoska, @mhchia, @OsamaAliAli, @skiral, @RajeshRk18, @ManuelArcieri, @0xicingdeath, @Consistent1, @FranciscoBuru, @victortv7, @adammanter, @nobiit, @pswu11, @notsag-dev, @Florian-kun, @epappas, @fullstackadam, @yuriko627, @dockimbel, @wphan, @alexdreptu, @SinaKhalili, @andreslopezferro, @RISHIKESHAVAN, @bvshyam, @0xshandy, @freekarma-dev, @Om4ar, @amazingandyyy, @mangitick, @NoGeneral, @easyforgood, @wshino, @samwerner, @BigDeepBlue, @jeronimoalbi, @mounibec, @njgrisafi, @zz040206655, @georgepadayatti

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
mylukin, @YessineAmor, @denizsurmeli, @i01001, @f13end, @hebochang, @Ultraman95, @p00pcvm, @andremargarin, @xsrh, @Syedmoizulhassanshah, @pkpio, @sukima-time, @guilhermelenz, @cavanmflynn, @WTNO, @arobbins, @kwoktung, @AurimarL, @alexpotv


Firefox driver doesn't work on Linux

[  INFO  ] Initializing firefox-driver for Linux
[ FAILED ] Traceback (most recent call last):
  File "/home/runner/work/ESET-KeyGen/ESET-KeyGen/ESET-KeyGen/main.py", line 71, in <module>
    driver = shared_tools.initSeleniumWebDriver('firefox')
  File "/home/runner/work/ESET-KeyGen/ESET-KeyGen/ESET-KeyGen/modules/shared_tools.py", line 93, in initSeleniumWebDriver
    driver = Firefox(options=driver_options, service=driver_service)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/firefox/webdriver.py", line 67, in __init__
    super().__init__(command_executor=executor, options=options)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 208, in __init__
    self.start_session(capabilities)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 292, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1

This is the error

Fixed by running as non root user

I added this to README.md

I'm not aware whether it works as a non root user in Windows. Can you tell me whether your scripts works on Powershell admin and without admin.

one second

works.

I guess they don't work with admin


operations: io: Fixup example

https://github.com/intel/dffml/blob/c0946b2d212239cfe4e470e63ab3da22c9cd97c4/dffml/operation/io.py#L116
copy the code here into a Python file and format it with black, then copy it back.
We also want to change
    ...         definition=dataflow.definitions["DataToPrint"],
    ...         parents=None,)]

to
    ...         definition=print_output.inputs["data"],
    ...     )
    ... ]

@pdxjohnny, the problem in this issue also seems to be-
on line 17, we define an operation by name of AcceptUserInput and again on line 37, we define a class by the same name of AcceptUserInput.


stream.onAbort is never called for streamSSE (Bun)

What version of Hono are you using?
3.12.6
What runtime/platform is your app running on?
Bun
What steps can reproduce the bug?
A simple modification of the provided example in the docs:
let id = 0;

app.get("/sse", async (c) => {
  return streamSSE(c, async (stream) => {
    let running = true;

    stream.onAbort(async () => {
      // This is never called.
      console.log("Client closed connection");
      running = false;
    });

    while (running) {
      const message = `It is ${new Date().toISOString()}`;
      await stream.writeSSE({
        data: message,
        event: "time-update",
        id: String(id++),
      });
      console.log("Server:", message); // This gets called over and over, even if the client disconnected
      await stream.sleep(1000);
    }
  });
});

What is the expected behavior?
The variable running should be set to false when the browser is closed, and the message "Client closed connection" should be displayed in stdout.
What do you see instead?
The server keeps writing to the stream, the variable running is never set to false and console.log("Server:", message); is called over and over.
Additional information
No response

I did some further testing with Node and it worked fine. The problem seems to be with the Bun HTTP server never closing the stream on request cancellation.
In closing this issue since this is a problem with Bun, not Hono.


rubocops/lines: audit std_npm_args usage

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Wanted to add an audit to help migrate existing std_npm_install_args usage to std_npm_args. This is my first time looking at our rubocops so help is greatly appreciated :)
My plan was to test this out and merge https://github.com/Homebrew/homebrew-core/pull/178538 without bottles, but that triggers our existing audit: Use Language::Node for npm install args. So not sure how we want to sequence this, maybe I should first remove the older audit in a separate PR

So not sure how we want to sequence this, maybe I should first remove the older audit in a separate PR

This seems sensible.

I'm going to start from Z and work backwards on getting existing stuff updated in core.

This should probably check for require "language/node" and flag if it's in formulae with *std_npm_args.

thanks! we just need to wait for std_npm_args to land in a stable release. also after a couple no-bottle PRs, I wonder if we are ok updating the rest of core in a syntax-only PR since this should just be a cosmetic change

This should probably check for require "language/node"

Yea agreed, that might be harder since it's still needed/used for detected_node_shebang (although #17773 should cover our existing usage). Maybe we could move it to formula.rb like we do for python/java: https://github.com/Homebrew/brew/blob/04621bab957b60a517034ac7d34feec6418105cf/Library/Homebrew/formula.rb#L30-L31

core's updated, this is now ready for review


Lockfile consistency

Some packages have a Gemfile.lock checked in, other have it ignored. Is this intentional? It seems that we are lacking consistency here.

@benlangfeld they shouldn't have the Gemfile.lock checked in so we can test them against multiple versions of some gems (bundler or rails).

@xjunior The argument in the community has switched toward checking in Gemfile.lock more recently, arguing that the dependencies used in CI and by a fresh checkout of the project should be known good, and that upgrades should be explicit (by Renovate in our case) so that we can identify clearly the source of breakage (CI failing on Renovate PRs).
I'm actually in favour of checking in all Gemfile.lock files and explicitly working around them where you want to vary versions of bundler/rails/etc. Thoughts?

@benlangfeld I'm not that convinced of the benefits, as the gemspec still references the known supported versions. Having multiple Gemfile.lock files makes maintenance a lot harder, specially in a matrix with bundler and rails variations.


Series endpoint with tag filters

We need to have a series endpoint that can filter series based on lists of tags to include & exclude.

https://github.com/gokhanmeteerturk/chatficdb/pull/27


Add Support for CrayPat

Original issue: https://charm.cs.illinois.edu/redmine/issues/861

Currently, CrayPat doesn't support Charm++.  As of now, they detect 'charm_beginComputation' and abort if the binary matches.  They theorize that this is because there are issues at termination involving Charm++ shutting down threads as CrayPat attempts to get performance data.  We've started a dialogue with the CrayPat team to add the support they need for the tool to work correctly.  It seems that adding a callback to inform CrayPat that Charm++ is closing may solve the problem, but we're waiting on the CrayPat team to get back to us.

Original date: 2016-02-15 16:15:23

Blocked on getting information from Cray.


Filter out --status process when running in Integrated Terminal

Re #39376
code --status process is "fire and forget" so maybe we can filter out it and its children when running the command in Integrated Terminal.
Feel free to close it as I'm simply expecting the same result when running in external/internal terminal.

It's a good idea but I see no straight forward way how to exclude that process from the list. I also see no harm in showing it actually.


Docx supported or not?

When you drag and drop a file onto the  main screen, at the bottom it says "formats like DOCX, CSV, GPX, XLS and many more are supported".
However:

The clickable link "many more" is not clickable, because as soon as you release the mouse, it goes away.
In the list of supported formats, .docx isn't mentioned
When you try to drop a .docx, Unfortunately this file extension is not allowed

(Not that I want to import a .docx, I was just curious.)

Hi, @stevage. The documentation and the error message are right, we don't currently support .docx. We'll fix the UI. Thanks for reporting this!


feat: header menu selections

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TODO for graphql-client 1.0

This library has been around a long time, and it's a hard dependency for a lot of projects. I'd like to release a 1.0.0 version, and before that, I have at least a few things in mind:

[ ] Performance audit, especially for view helpers and runtime code
[ ] Find a way to support subscriptions

If anyone has other suggestions for 1.0, please share them in a comment below.

First off: thanks for taking the project over and reviving it!
There's one thing that would help us a bit: it would be great to have access to response headers from GraphQL HTTP call. I believe those were either discarded or just not returned by the client. Do you think that's doable?

Hey, yes, I think it is. Here's where the request details are dropped:
https://github.com/github-community-projects/graphql-client/blob/925e3c7deab395f417d49a6c156d25d8e2d5c48e/lib/graphql/client/http.rb#L73-L80
I bet we can modify the returned object there to make it include the HTTP response and retain compatibility. I'll take a look!

@rmosolgo Given that the response is either the body or the errors returned object, there is to make it include the HTTP response and retain compatibility.
There are a few ways we could achieve this

Extend the hash to include a meta key. I'm curious to know how many people are integrating unthinkingly over the root keys. It also makes it seem the caller returned that meta.

would be to create an object that proxies to the hash but has extra functions to return metadata about the results.

one option would be to have a method on the client called "last_request_metadata".

One is a breaking change, and I would instead create a breaking change for 1.0 that is clearer. 2 I am not sure exactly how to code this in ruby, so I would not be able to help immediately. 3. This could cause issues in a multi-threaded environment.
If we do create a breaking change we can include an option pre 1.0 that gives 1.0 behaviour to allow early usage and migration. This feature is quite important to me to handle rate limits so happy to make contributions.
let me know your thoughts.

@rmosolgo Given that the response is either the body or the errors returned object, there is to make it include the HTTP response and retain compatibility.
There are a few ways we could achieve this

Extend the hash to include a meta key. I'm curious to know how many people are integrating unthinkingly over the root keys. It also makes it seem the caller returned that meta.
would be to create an object that proxies to the hash but has extra functions to return metadata about the results.
one option would be to have a method on the client called "last_request_metadata".

One is a breaking change, and I would instead create a breaking change for 1.0 that is clearer. 2 I am not sure exactly how to code this in ruby, so I would not be able to help immediately. 3. This could cause issues in a multi-threaded environment.
If we do create a breaking change we can include an option pre 1.0 that gives 1.0 behaviour to allow early usage and migration. This feature is quite important to me to handle rate limits so happy to make contributions.
let me know your thoughts.

Number 3 seems quite hacky, out of these 3 options I'm partial to number 2. Another potentail solution would be to be able to opt into the old API that returns JSON.parse, otherwise the new API can return a new object that can contain the original response.

@Samsinite i created this pr eventually https://github.com/github-community-projects/graphql-client/pull/43, the client API followed number 2, but used number 3 to move the data around in the lib in order to produce the output.
The reason is described in the pr.

Thanks for the reminder on that, @billybonks. I also did the perf audit a long time ago and found that we'd already got all the major hotspots. I checked those both off.


Photographs UC05.01.01 -  AttachPhotographs

[Link to use case] (https://github.com/CMPUT301F15T02/Xperts/wiki/Use-Case:-Photographs-of-Items)

As an owner, I want to optionally attach photographs of items to the item. Photos are optional for items.

need to write UI tests for this. We can add unlimited photos, only the first photo is displayed. New photos are added to index 0.


chore: various package upgrades

Impacted files:

pubspec.lock: wtf
pubspec.yaml: various package upgrades

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

Project coverage is 9.53%. Comparing base (4d9c7fc) to head (95b6e3a).
Report is 52 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5130      +/-   ##
==========================================
- Coverage     9.54%   9.53%   -0.02%
==========================================
  Files          325     327       +2
  Lines        16411   16529     +118
==========================================
+ Hits          1567    1576       +9
- Misses       14844   14953     +109

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

Thanks @teolemon!


Small fix suggestion for ili9XXX.py, as "invert=False" is being ignored

I have a display with a ST7789Vi controller. The colors were inverted and I noticed that the parameter "invert" was ignored by the driver ili9XXX.py. So I added the following two lines:
if invert:
    self.init_cmds.append({'cmd': 0x21})
else: # <--
    self.init_cmds.append({'cmd': 0x20}) # <--

in:
https://github.com/lvgl/lv_binding_micropython/blob/6369315bb7bc3dc47f0b2cc33f7e7f8d830a5749/driver/esp32/ili9XXX.py#L146-L147
Now everything works as expected! I hope it helps others ;)

Thanks for this suggestion.
This should probably be added as another ili9XXX subclass that sets this specific option for this display.
Feel free to open a PR.