Flutter web showing 2 cursors when I run my application in mobile

Steps to Reproduce

Run flutter run -d chrome or flutter build web in docker.
Access the application from your phone using any browser.
Tap on the text box and try typing.
Tap on any part of the text.  (optional)

Expected results:

Actual results:

Logs

[  +26 ms] executing: [/Users/artemboiko/Documents/flutter/] git -c
log.showSignature=false log -n 1 --pretty=format:%H
[  +57 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] executing: [/Users/artemboiko/Documents/flutter/] git describe
--match v*.*.* --first-parent --long --tags
[  +76 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long
--tags
[        ] v1.14.6-0-gfabeb2a16
[   +9 ms] executing: [/Users/artemboiko/Documents/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/artemboiko/Documents/flutter/] git ls-remote
--get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] executing: [/Users/artemboiko/Documents/flutter/] git rev-parse
--abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[   +4 ms] executing: sw_vers -productName
[  +13 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +12 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.3
[        ] executing: sw_vers -buildVersion
[  +12 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19D76
[  +28 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +35 ms] executing: /Users/artemboiko/Library/Android/sdk/platform-tools/adb
devices -l
[   +7 ms] Exit code 0 from:
/Users/artemboiko/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           emulator-5554          device product:sdk_gphone_x86
           model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[  +14 ms] executing:
/Users/artemboiko/Documents/flutter/bin/cache/artifacts/libimobiledevice/idevice
_id -h
[  +48 ms] executing: /usr/bin/xcode-select --print-path
[  +10 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Volumes/HDD/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +722 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +1 ms] Xcode 11.3
           Build version 11C29
[   +2 ms] /usr/bin/xcrun simctl list --json devices
[ +129 ms] /Users/artemboiko/Library/Android/sdk/platform-tools/adb -s
emulator-5554 shell getprop
[  +37 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required,
skipping update.
[   +7 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +51 ms] More than one device connected; please specify a device with the '-d
<deviceId>'
           flag, or use '-d all' to act on all devices.
[   +2 ms] ro.hardware = ranchu
[  +39 ms] Android SDK built for x86 вЂў emulator-5554 вЂў android-x86    вЂў Android
10 (API 29)
           (emulator)
[   +1 ms] Chrome                    вЂў chrome        вЂў web-javascript вЂў Google
Chrome
           80.0.3987.149
[        ] Web Server                вЂў web-server    вЂў web-javascript вЂў Flutter
Tools
[  +10 ms] "flutter run" took 1В 217ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:27:3)
#1      RunCommand.validateCommand
(package:flutter_tools/src/commands/run.dart:325:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:619:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:537:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#10     FlutterCommand.run
(package:flutter_tools/src/runner/flutter_command.dart:527:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:338:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#19     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:19)
#20     CommandRunner.run.<anonymous closure>
(package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run
(package:flutter_tools/src/runner/flutter_command_runner.dart:231:18)
#24     run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:64:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:62:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:51:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main
(file:///Users/artemboiko/Documents/flutter/packages/flutter_tools/bin/flutter_t
ools.dart:8:3)
#40     _startIsolate.<anonymous closure>
(dart:isolate-patch/isolate_patch.dart:299:32)
#41     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:168:12)

   info вЂў The declaration '_adding' isn't referenced вЂў
          lib/bloc/admin_house.dart:53:19 вЂў unused_element
   info вЂў The declaration '_editing' isn't referenced вЂў
          lib/bloc/admin_house.dart:59:19 вЂў unused_element
   info вЂў Unused import: 'dart:convert' вЂў
          lib/infrastructure/firebase_repository.dart:1:8 вЂў unused_import
   info вЂў Unused import: 'dart:io' вЂў
          lib/infrastructure/firebase_repository.dart:2:8 вЂў unused_import
   info вЂў Unused import: 'package:firebase_auth/firebase_auth.dart' вЂў
          lib/infrastructure/firebase_repository.dart:7:8 вЂў unused_import
   info вЂў Unused import: 'package:osmd_admin/pages/home.dart' вЂў
          lib/main.dart:11:8 вЂў unused_import
   info вЂў 'title' is deprecated and shouldn't be used. This is the term used in
          the 2014 version of material design. The modern term is headline6.
          This feature was deprecated after v1.13.8. вЂў
          lib/style/theme/theme.dart:35:13 вЂў deprecated_member_use
   info вЂў 'headline' is deprecated and shouldn't be used. This is the term used
          in the 2014 version of material design. The modern term is headline5.
          This feature was deprecated after v1.13.8. вЂў
          lib/style/theme/theme.dart:41:9 вЂў deprecated_member_use
   info вЂў 'title' is deprecated and shouldn't be used. This is the term used in
          the 2014 version of material design. The modern term is headline6.
          This feature was deprecated after v1.13.8. вЂў
          lib/style/theme/theme.dart:42:9 вЂў deprecated_member_use
   info вЂў Unused import: 'package:osmd_admin/widgets/news_state_cards.dart' вЂў
          lib/widgets/flat_section.dart:7:8 вЂў unused_import
   info вЂў Unused import: 'package:domain/news.dart' вЂў lib/widgets/house.dart:1:8
          вЂў unused_import
   info вЂў Don't import implementation files from another package вЂў
          lib/widgets/house.dart:4:8 вЂў implementation_imports
   info вЂў Unused import: 'package:flutter/src/scheduler/ticker.dart' вЂў
          lib/widgets/house.dart:4:8 вЂў unused_import
   info вЂў Unused import: 'package:osmd_admin/widgets/news_state_cards.dart' вЂў
          lib/widgets/house.dart:13:8 вЂў unused_import
   info вЂў The value of the field '_maxHeight' isn't used вЂў
          lib/widgets/house.dart:32:10 вЂў unused_field
   info вЂў Unused import: 'package:flutter/material.dart' вЂў
          test/widget_test.dart:8:8 вЂў unused_import
   info вЂў Unused import: 'package:flutter_test/flutter_test.dart' вЂў
          test/widget_test.dart:9:8 вЂў unused_import
   info вЂў Unused import: 'package:osmd_admin/main.dart' вЂў
          test/widget_test.dart:11:8 вЂў unused_import

[✓] Flutter (Channel beta, v1.14.6, on Mac OS X 10.15.3 19D76, locale ru-UA)
    • Flutter version 1.14.6 at /Users/artemboiko/Documents/flutter
    • Framework revision fabeb2a16f (8 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/artemboiko/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Volumes/HDD/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.0.beta.2

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (3 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 10
      (API 29) (emulator)
    • Chrome                    • chrome        • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server                • web-server    • web-javascript • Flutter Tools

Hi @PavlyukovYegor
Could you share a minimal code sample to reproduce it?
Does it happen when using the last version beta v1.15.17?

Yes, this happens on the latest version beta v1.15.17
Code sample:
`import 'dart:async';
import 'package:flutter/material.dart';
import 'package:osmd_admin/generated/i18n.dart';
import 'package:osmd_admin/pages/home.dart';
import 'package:osmd_admin/resource/asset.dart';
import 'package:osmd_admin/style/indent/indent.dart';
import 'package:osmd_admin/style/theme/theme.dart';
import 'package:osmd_admin/widgets/text_field.dart';
import 'package:provider/provider.dart';
import 'package:bloc/session.dart';
class SignInPage extends StatefulWidget {
static const String pageKey = "/sign_in";
static Widget builder(BuildContext context) => SignInPage();
@override
_SignInPageState createState() => _SignInPageState();
}
class _SignInPageState extends State {
final GlobalKey _scaffoldKey = GlobalKey();
final TextEditingController _emailController = TextEditingController();
final TextEditingController _passwordController = TextEditingController();
StreamSubscription _errorSubscription;
StreamSubscription _navigationSubscription;
@override
void initState() {
super.initState();
final SessionBloc sessionBloc =
Provider.of(context, listen: false);
_errorSubscription = sessionBloc.stateStream
.where((SessionState state) => state.hasError)
.map((SessionState state) => state.error)
.listen((Object error) {
_scaffoldKey.currentState.showSnackBar(SnackBar(
content: Text("Error occurred: $error"),
));
sessionBloc.onErrorHandled();
});
navigationSubscription = sessionBloc.stateStream
.where((SessionState state) => state.isAuthenticated)
.take(1)
.listen(() {
Navigator.of(context)
.pushReplacement(MaterialPageRoute(builder: AdminPage.builder));
});
}
@override
void dispose() {
_errorSubscription.cancel();
_navigationSubscription.cancel();
super.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
key: scaffoldKey,
body: Consumer(
builder: (, SessionBloc bloc, __) => StreamBuilder(
initialData: bloc.currentState,
stream: bloc.stateStream,
builder: (BuildContext ctx, AsyncSnapshot state) {
if (state.data.isUnauthenticated) {
return _buildSignInFormPage(ctx);
} else {
return const Center(child: CircularProgressIndicator());
}
},
),
),
);
}
Widget _buildSignInFormPage(BuildContext context) {
return Center(
child: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(20),
child: Card(
child: Container(
width: 500,
padding: const EdgeInsets.symmetric(vertical: 20),
child:  Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
_buildLogo(),
_buildSignInForm(),
],
),
),
),
),
),
);
}
Widget _buildLogo() {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: Indent.minimal),
child:
Center(child: Container(height: 200, child: Image.asset(Asset.logo))),
);
}
Widget _buildSignInForm() {
final ThemeData theme = Theme.of(context);
final S localizations = S.of(context);
return Form(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisSize: MainAxisSize.min,
children: [
_buildEmailField(localizations),
_buildPasswordField(localizations),
_buildSignInButton(theme, localizations)
],
),
);
}
Widget _buildEmailField(S localizations) {
return Padding(
padding: const EdgeInsets.symmetric(
vertical: Indent.minimal, horizontal: Indent.regular),
child: ColoredTextFormField(
controller: _emailController,
labelText: "E-mail",
hintText<EMAIL_ADDRESS>keyboardType: TextInputType.emailAddress,
),
);
}
Widget _buildPasswordField(S localizations) {
return Padding(
padding: const EdgeInsets.symmetric(
vertical: Indent.minimal, horizontal: Indent.regular),
child: ColoredTextFormField(
controller: _passwordController,
labelText: "Password",
hintText: "qwerty123456",
obscureText: true,
),
);
}
Widget _buildSignInButton(ThemeData theme, S localizations) {
return Padding(
padding: const EdgeInsets.only(
top: Indent.minimal, left: Indent.regular, right: Indent.regular),
child: SizedBox(
width: double.infinity,
child: RaisedButton(
child: Padding(
padding: Indent.all_minimal,
child: Text("Р’С…РѕРґ",
style: TextStyle(color: Colors.white)),
),
color: secondaryColorAccentDark,
onPressed: () => Provider.of(context, listen: false)
.onSignIn(_emailController.text, _passwordController.text),
),
),
);
}
}
`

@PavlyukovYegor
With what device/browser can you see that?
I see interface as on the first image and single cursor not only with Chrome with Android, but also with Safari on iPhone 7 (iOS 13.4)

@VladyslavBondarenko Best seen on iPhone SE

InternetExplorer also has the same problem（ ;  ; ）

This looks like a discrepancy in text layout. /cc @mdebbar

There seems to be 2 issues here:

Flutter's cursor isn't at the same position as the browser cursor (text layout issue).
Browser's cursor is visible (it should be hidden cc @nturgut).

@PavlyukovYegor regarding (1) could you try the new text layout implementation by following instructions in the description of this issue?

@mdebbar I tried a new text layout implementation following the instructions. Added a flag during build, but the issue remained the same

From the screenshot, it looks like issue (1) is fixed. The Flutter cursor is at the same spot as the browser cursor.
As for issue (2) I wouldn't expect it to be fixed by the new text layout implementation.

I tested the framework latest master, with the flutter_gallery repo. I didn't observed visible cursor.

Chrome Desktop (not observed)
Safari Desktop (not observed)
Chrome on Android (not observed)
Safari on IOS (IOS13) (not observed)

Can you please use the latest master and let us know the outcome?

I tested on Windows on Edge(ver. 81) and not able to reproduce 2 cursors. I assume it might be an issue with the older versions of Edge (based on EdggeHTML). I haven't tested on IE11 though.

@nturgut I tried to test from the last master, the result is in the screenshot

@PavlyukovYegor we aren't able to reproduce this issue in the flutter gallery, so we need to try with your code. Could you please share a minimal, self-contained flutter app that works and demonstrates the issue?

@mdebbar here is the repository
https://github.com/PavlyukovYegor/flutter_issue/tree/develop

I don't know if it helps, but I have the same issue on Edge.

Version information:
Microsoft Edge 42.17134.1098.0
Microsoft EdgeHTML 17.17134

@PavlyukovYegor we aren't able to reproduce this issue in the flutter gallery, so we need to try with your code. Could you please share a minimal, self-contained flutter app that works and demonstrates the issue?

Not sure if the issue I'm seeing is rooted at the same problem but I'll add it here.
Running on Chrome/Safari on iOS 14.0.1
Reproducable Code

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        resizeToAvoidBottomInset: false,
        body: Center(
          child: TextField(),
        ),
      ),
    );
  }
}

The bug
When selecting on iOS produces the following result:
As if the selection is positioned with some offset.
###Screenshot

The reason this is not reproducable in the Gallery is the use of a different font.
Changing the code to be more similar to the Gallery text field no longer produces the bug (though this feels like a workaround)
Workaround

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
        textTheme: _buildCraneTextTheme(ThemeData.light().textTheme),
      ),
      home: Scaffold(
        resizeToAvoidBottomInset: false,
        body: Center(
          child: TextField(),
        ),
      ),
    );
  }
}

TextTheme _buildCraneTextTheme(TextTheme base) {
  return GoogleFonts.ralewayTextTheme(
    base.copyWith(
      headline1: base.headline1.copyWith(
        fontWeight: FontWeight.w300,
        fontSize: 96,
      ),
      headline2: base.headline2.copyWith(
        fontWeight: FontWeight.w400,
        fontSize: 60,
      ),
      headline3: base.headline3.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 48,
      ),
      headline4: base.headline4.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 34,
      ),
      headline5: base.headline5.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 24,
      ),
      headline6: base.headline6.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 20,
      ),
      subtitle1: base.subtitle1.copyWith(
        fontWeight: FontWeight.w500,
        fontSize: 16,
        // letterSpacing: letterSpacingOrNone(0.5),
      ),
      subtitle2: base.subtitle2.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 12,
        // color: craneGrey,
      ),
      bodyText1: base.bodyText1.copyWith(
        fontWeight: FontWeight.w500,
        fontSize: 16,
      ),
      bodyText2: base.bodyText2.copyWith(
        fontWeight: FontWeight.w400,
        fontSize: 14,
      ),
      button: base.button.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 13,
        // letterSpacing: letterSpacingOrNone(0.8),
      ),
      caption: base.caption.copyWith(
        fontWeight: FontWeight.w500,
        fontSize: 12,
        // color: craneGrey,
      ),
      overline: base.overline.copyWith(
        fontWeight: FontWeight.w600,
        fontSize: 12,
      ),
    ),
  );
}

Hi,
I'm facing the same issue on android chrome mobile.

Here is my  setup:
Flutter 1.24.0-10.2.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 022b333a08 (3 weeks ago) • 2020-11-18 11:35:09 -0800
Engine • revision 07c1eed46b
Tools • Dart 2.12.0 (build 2.12.0-29.10.beta)
Do I have to switch channels for it to disappear?

same issue on android chrome mobile, other browsers are fine.


Delay mechanism

The data generator written in C is missing the delay mechanism

I've implemented it.


Add a catalog-info.yaml for backstage

Summary
This pull request adds a Backstage entity metadata file to this repository so that the component can be added to the  Mattermost App software catalog
After this pull request is merged, the component will become available.
For more information, read an overview of the Backstage software catalog.

@toninis when you have time


Failed to build iOS app

Is there another way?
I added the settings to the main, but what am I missing?

import Foundation
import MediaPipeTasksGenAI
final class InferenceModel {
private var inference: LlmInference!
init(maxTokens: Int, temperature: Float, randomSeed: Int, topK: Int) {
    let fileManager = FileManager.default
    let documentDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask).first!
    let filePath = documentDirectory.appendingPathComponent("model.bin").path

    do {
        let llmOptions = LlmInference.Options(modelPath: filePath)
        llmOptions.maxTokens = maxTokens
        llmOptions.temperature = temperature
        llmOptions.randomSeed = randomSeed
        llmOptions.topk = topK
        self.inference = try LlmInference(options: llmOptions)
    } catch {
        print("Failed to initialize LlmInference: \(error)")
    }
}

func generateResponse(prompt: String) throws -> String {
    return try inference.generateResponse(inputText: prompt)
}

func generateResponseAsync(prompt: String, progress: @escaping (_ partialResponse: String?, _ error: Error?) -> Void, completion: @escaping (() -> Void)) throws {
    do {
        try inference.generateResponseAsync(inputText: prompt, progress: progress, completion: completion)
    } catch {
        throw error
    }
}

}
This is a build

Do you run an example or your own project? Could you tell me your XCode and MacOS versions? I have no such error.

I am running my own project.
My Xcode version is 15.4 (15F31d) and macOS version is 14.1.2.

Same issue. Mac 15.0, Xcode 16.0

please check 0.2.2 version

I am using 0.2.2 and I got similar error:
Swift Compiler Error (Xcode): Value of type 'LlmInference.Options' has no member 'temperature'
/Users/simon/.pub-cache/hosted/pub.dev/flutter_gemma-0.2.2/ios/Classes/InferenceModel.swift:13:19
Swift Compiler Error (Xcode): Value of type 'LlmInference.Options' has no member 'randomSeed'
/Users/simon/.pub-cache/hosted/pub.dev/flutter_gemma-0.2.2/ios/Classes/InferenceModel.swift:14:19
Swift Compiler Error (Xcode): Value of type 'LlmInference.Options' has no member 'topk'
/Users/simon/.pub-cache/hosted/pub.dev/flutter_gemma-0.2.2/ios/Classes/InferenceModel.swift:15:19

I looks like the rootcause in an incompatibility of mediapipe version, I fixed the version at 0.2.3, please try

Can you share Podfile.lock with me, to check version number of MediaPipeTasksGenAI

flutter_gemma:
dependency: "direct main"
description:
name: flutter_gemma
sha256: f0ebe363161599fdc69df47cfc07bec317e20a502a47959aecd14e1c9cfc17ca
url: "https://pub.dev"
source: hosted
version: "0.2.3"
Installing MediaPipeTasksGenAI (0.10.16)

Installing MediaPipeTasksGenAIC (0.10.16)

I'm going to update the version of MediaPipeTasksGenAI to the latest one, but it will be in a couple of weeks, after downloading model implemetation

It should be MediaPipeTasksGenAI (0.10.12) as in configuration, try to do flutter clean, delete Podfile.lock, run flutter pub get again and check. Probably this is a cached version

Yes, I deleted local pub cache and Cocoa pods cache, and build foldler, Podfile.lock. It is still installing 0.10.16 version:
Installing MediaPipeTasksGenAI (0.10.16)
Installing MediaPipeTasksGenAIC (0.10.16)

I hard fixed the version in 0.2.4 could you please try?

I got error when build android:
ERROR: /Users/simon/git/diogenesaichatbot/build/flutter_secure_storage/intermediates/merged_res/release/mergeReleaseResources/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.
your flutter_secure_storage 4.2.1  is too low.(9.2.2 available)
can you fix it?

yes, it is working. it has some version conflict with flutter_secure_storage but I avoid using flutter_secure_storage and now it is working on android.

ios failed when try to init the model. it is most probably due to model path issue

ios run successful. I put my model in cloud and download it to device when need it. Right now we have to rename model name to model.bin to make it work, can you change the interface to allow file name

cpu version is too slow on physical device. Is there option to enable GPU?

In the next version, you will be able to use a model from the cloud out of the box, I will publish it today. Regarding GPU,  try to use GPU model.

thanks. I have gpu model and tried. the gpu model crashed while cpu version works

I checked my physical device, everything is fine, I have iPhone 14 Pro. and btw check 0.3.0, there is implemented upload model feature

@dsx1986 can you check with the last version of the plugin?


Sync eng/common directory with azure-sdk-tools for PR 8549

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/8549  See eng/common workflow

/check-enforcer override
Failure is unrelated to this code update, which is purely additive.


Ensure we get some minimal packages on RHEL based nodes

As a pull request owner and reviewers, I checked that:

[X] Successfully tested on the VA-1 deploy

/approve
/lgtm

recheck


Query cleanup

short term thing for https://github.com/kdoran/lookout/issues/31
most of the time we remove the browser safety check of splicing the docs
i also majority time use cmd-f to find a db by name, cmd enter to select it, then same for "query", so this switches the default to be a link to query for the db name, and a separate link for all docs.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


8BitDo Ultimate C Wired Linux

Used SDL2 Gamepad Tool which provided mapping with errors for both triggers and one dpad direction. Trigger errors were obvious fix. Figured out dpad fix using info from Issue #175. Tested successfully.
03000000c82d00001730000011010000,8BitDo Ultimate C Wired Controller,a:b0,b:b1,x:b3,y:b4,back:b10,guide:b12,start:b11,leftstick:b13,rightstick:b14,leftshoulder:b6,rightshoulder:b7,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a5,righttrigger:a4,platform:Linux,

Already in the db https://github.com/gabomdq/SDL_GameControllerDB/blob/ab9a5e8706b3bd1ad19377439d548e7554af2fef/gamecontrollerdb.txt#L1097

There's already an entry with the same GUID, mappings, and platform, but a different name. Does that mean there are multiple controllers with the same GUID, or could the name be inaccurate in the existing entry?
Also, the existing entry appears to be missing the comma between name and mappings.

could the name be inaccurate in the existing entry
I've chosen the name "8BitDo Ultimate C" for all models of this device since they don't merit differentiation on connectivity method.

the existing entry appears to be missing the comma between name and mappings
Corrected in the following commit https://github.com/gabomdq/SDL_GameControllerDB/commit/4256db51b080cade583ff888cba1f177315eaa23


[Extensibilty Request] CheckList Assigment

Hi,
I have a task to add some standard checklist items to our Role Center.
For this task, the most suitable event was in the "Checklist Events" at call InitializeGuidedExperienceItems code, but it is not suitable, because it further processes the code that inserts checklist items for the "Business Manager Role Center" and thereby overrides the setting for my roles.
I need an event that will work after the creation of checklist items.
It would also be cool if there was a function in the Codeunit Checklist that allowed you to add Roles for existing checklist items.

Hello! Can you add more details about placement and definition of needed events?

Closing, no information provided


Makefile docker chores

Short description of what this resolves:
Cleans up docker targets and revamps make help.
Before
╰─ make help
all                          (default) Runs 'deps format lint test compile' targets
build-ci                     Like 'all', but without linter which is executed as separated PR check
clean                        Removes build artifacts
codegen                      Generates operator-sdk code and bundles packages using go-bindata
compile                      Compiles binaries
$(CUR_DIR)/bin/operator-sdk  Downloads operator-sdk cli tool aligned with version defined in Gopkg
deploy-example               Deploys istio-workspace specific resources to defined TEST_NAMESPACE
deploy-operator              Deploys operator resources to defined OPERATOR_NAMESPACE
deploy-test-%                Deploys bookinfo app into defined TEST_NAMESPACE
deps                         Fetches all dependencies
docker-build                 Builds the docker image
docker-build-test            Builds the docker test image
docker-push                  Pushes docker images to the registry
docker-push-latest           Pushes latest docker image to the registry
docker-push-test             Pushes docker image to the registry
docker-push-versioned        Pushes versioned docker image to the registry
format                       Removes unneeded imports and formats source code
lint                         Concurrently runs a whole bunch of static analysis tools
load-istio                   Triggers installation of istio in the cluster
test                         Runs tests
test-e2e                     Runs end-to-end tests
tools                        Installs required go tools
undeploy-example             Undeploys istio-workspace specific resources from defined TEST_NAMESPACE
undeploy-operator            Undeploys operator resources from defined OPERATOR_NAMESPACE
undeploy-test-%              Undeploys bookinfo app into defined TEST_NAMESPACE

After
╰─ make help

Usage:
  make <target>

Default target (all you need - just run "make")
  all                   Runs 'deps format lint test compile' targets

Build
  compile               Compiles binaries
  test                  Runs tests
  clean                 Removes build artifacts
  deps                  Fetches all dependencies
  format                Removes unneeded imports and formats source code
  lint                  Concurrently runs a whole bunch of static analysis tools
  codegen               Generates operator-sdk code and bundles packages using go-bindata

Setup
  tools                 Installs required go tools

Docker
  docker-build          Builds the docker image
  docker-push           Pushes docker images to the registry

Istio operator deployment
  load-istio            Triggers installation of istio in the cluster
  deploy-operator       Deploys istio-workspace operator resources to defined OPERATOR_NAMESPACE
  undeploy-operator     Undeploys istio-workspace operator resources from defined OPERATOR_NAMESPACE

Istio-workspace example deployment
  deploy-example        Deploys istio-workspace specific resources to defined TEST_NAMESPACE
  undeploy-example      Undeploys istio-workspace specific resources from defined TEST_NAMESPACE

Helpers
  help                  Displays this help \o/

Changes proposed in this pull request:

introduces wildcard target for pushing operator images
provides new help creation with ability to "group" related targes. That's very simple approach of groupping targets in the Makefile itself in the sections labeled with ##@ Category, so this will be displayed in the console
few targets lost ## comment so that they are not shown when running make help - they are simply our internal targets
minor typos

@aslakknutsen Do we still need [un]deploy-example targets? What's the intended use of it?

@bartoszmajsak Currently, it's just a shorthand to deploy a little sample CR that kinda doesn't match much at all. Mostly something I've used for manual testing of the operator. (oc apply would work fine tho). But on that note, I guess we have two options, either expand on it as a 'users/developers first 'example/test'' demo and combine it with a TestScenario deployment. Or just remove it...
The TestScenarios are maybe a bit underwhelming from a demo perspective in of themselves. Maybe a little 'html' front end more nicely showing the responses from different routes etc could be in order?

The TestScenarios are maybe a bit underwhelming from a demo perspective in of themselves. Maybe a little 'html' front end more nicely showing the responses from different routes etc could be in order?

That sounds like a thing to do :) Can you open an issue in the spare time?


SafeKafkaHandle.ReleaseHandle crash

Description
When launching some kafka code under nunit, there is an unhandled exception in SafeKafkaHandle.ReleaseHandle. This crashes all our integration tests.
I manage to reproduce it with a very simple project, but only with debug producer logging in librdkafka enabled, if you remove it i cannot reproduce.
This might be a hard to find race condition in the free routine?
How to reproduce
Test project is attached, to make it crash you need to use the nunit 3.4.1 runner, the command line used in nunit is ".\nunit3-console.exe ......\KafkaCrashTest\bin\Release\KafkaCode.dll". It should crash within a minute.
KafkaCrashTest.zip
Checklist
Please provide the following information:

[ x] Confluent.Kafka nuget version: 0.11.3
[ x] Apache Kafka version: kafka_2.11-<IP_ADDRESS>
[ x] Client configuration: included in project
[ x] Operating system: Windows 10
[ x] Provide logs (with "debug" : "..." as necessary in configuration) : you have the full code
[ x] Provide broker log excerpts :no logs as it doesnt require a broker to be up
[] Critical issue

I believe this has been fixed in master (try this build):
https://ci.appveyor.com/project/ConfluentClientEngineering/confluent-kafka-dotnet/build/1.0.315
(not available on nuget.org yet)

Hello,
I pulled the tip of master and compiled in Release, then used in my test project, still the same crash. I doubt this commit has any impact as well, the call stack is like this when crashing :

Please could you run it according to the instructions and see if it reproduces on your end? You have the whole project (1 code file really) in the zip, and just run the nunit command form the nunit tool packages folder

@jbouzaglou thanks for going to the trouble of making a simple reproducible test, looks good. It seems like this is probably bug, I'll investigate. Unfortunately I can't get to it immediately, but I do view it as important to get to the bottom of.

I believe this is the same issue as, or will be remedied by work done in #577. Tracking this over there.


Revert "Reland: Removes single window assumptions from flutter_test"

Reverts flutter/flutter#122060
See b/272195069
Google Testing shows this has triggered a large number of failures. I haven't finished running TGPs, but this landed right next to another large scale breakage. Pre-emptively reverting, and we can reland when the roll isn't backed up.

For future archeologists: The failures that caused this revert were likely prompted by the accidental deletion of the framedata getter from TestPlatformDispatcher: https://github.com/flutter/flutter/pull/121549/commits/96951c81441e0247fbd9051896fff97a621543a4#r1129776358

For future archeologists: The failures that caused this revert were likely prompted by the accidental deletion of the framedata getter from TestPlatformDispatcher: 96951c8#r1129776358

Man, I really want to write a test/bot like we were talking about. Monitor that these test classes actually do match the signatures they're implementing...


Originally posted by @966563058015 in https://github.com/github/site-policy/pull/121#issuecomment-941953820

Hi @966563058015, I'm closing this as off topic. Please see our Contributing.md for the types of feedback we're looking for on our Site Policies in this repo.


Add device_label tag in addition to label tag.

What does this PR do?
This makes labels a bit more consistent with agent's builtin io check, which uses device_label. When this is merged, users will be able to consistently use device_label tag for metrics from both of these checks.
Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Thanks for the reviews! Merging.

Thanks for the reviews! Merging.


Fix parseSitemap and parseSitemapIndex uncatchable errors

parseSitemap and parseSitemapIndex both have an issue where errors in the _transform function are not catchable by the caller and instead result in an Unhandled error.
The file that causes this problem was written with sitemap.js but it's not yet clear if the malformed file indicates that there is another bug to be fixed or if that is more indicative of a problem in my consumption of the library.  More to follow on that if I find another issue.
Added a test that fails before the fix and that passes after the fix

Before Fix - Output
The output below would result if parseSitemapIndex or parseSitemap were called on a malformed XML file that has an unescaped < in the text of a tag.
 FAIL  tests/sitemap-index-parser.test.ts
  ● parseSitemapIndex › rejects malformed file

    Unhandled error. (Error: Unencoded <
    Line: 10
    Column: 25
    Char: <

      127 |     // eslint-disable-next-line @typescript-eslint/ban-ts-comment
      128 |     // @ts-ignore
    > 129 |     this.saxStream.write(data, encoding);
          |                    ^
      130 |     callback();
      131 |   }
      132 | }

      at error (node_modules/sax/lib/sax.js:651:10)
      at strictFail (node_modules/sax/lib/sax.js:677:7)
      at SAXParser.write (node_modules/sax/lib/sax.js:1080:13)
      at SAXStream.write (node_modules/sax/lib/sax.js:239:18)
      at XMLToSitemapIndexStream._transform (lib/sitemap-index-parser.ts:129:20)
      Line: 10
      Column: 25
      Char: <
      at error (node_modules/sax/lib/sax.js:651:10)
      at strictFail (node_modules/sax/lib/sax.js:677:7)
      at SAXParser.write (node_modules/sax/lib/sax.js:1080:13)
      at SAXStream.write (node_modules/sax/lib/sax.js:239:18)
      at XMLToSitemapIndexStream._transform (lib/sitemap-index-parser.ts:129:20)
      at SAXParser.SAXStream._parser.onerror (node_modules/sax/lib/sax.js:194:10)
      at emit (node_modules/sax/lib/sax.js:624:35)
      at error (node_modules/sax/lib/sax.js:653:5)
      at strictFail (node_modules/sax/lib/sax.js:677:7)
      at SAXParser.write (node_modules/sax/lib/sax.js:1080:13)
      at SAXStream.write (node_modules/sax/lib/sax.js:239:18)
      at XMLToSitemapIndexStream._transform (lib/sitemap-index-parser.ts:129:20)

Thank you for the quality submission


Configure the CSV output with the m365 cli config set

Usage
m365 cli config set --key seeBelow --value seeBelow
Description
Keep the original text
Options

Setting name
Definition
Default value

csvHeader
Display the column names on the first line
true

csvEscape
Single character used for escaping; only apply to characters matching the quote and the escape options
"

csvQuote
The quote characters surrounding a field. An empty quote value will preserve the original field, whether it contains quotation marks or not.

csvQuoted
Quote all the non-empty fields even if not required
false

csvQuotedEmpty
Quote empty strings and overrides quoted_string on empty strings when defined
false

Additional Info
We recently introduced the CSV output for all our commands. This output is not configurable at this stage.
I want to provide some flexibility in configuring the output with a central config. The configuration of the CSV output can be done by using the options from https://csv.js.org/stringify/options/

header: Display the column names on the first line if the columns option is provided or discovered.
escape: Single character used for escaping; only apply to characters matching the quote and the escape options default to ".
quote: The quote characters surrounding a field defaults to the " (double quotation marks), an empty quote value will preserve the original field, whether it contains quotation marks or not.
quoted: Boolean, default to false, quote all the non-empty fields even if not required.
quotedEmpty: Quote empty strings and overrides quoted_string on empty strings when defined; default is false.

To implement the changes you have to:

[ ] implement the configuration in config-set.ts
[ ] write the tests under config-set.spec.ts
[ ] read the values from the config and set them in the CLI.ts https://github.com/pnp/cli-microsoft365/blob/0aaa522bdf99b91cda11f70b4072ec7cb0f5bbe8/src/cli/Cli.ts#L540
[ ] write the tests in cli.spec.ts

Great suggestion @plamber 👏

Happy to try and work on this one.

That's a very good catch @vipulkelkar! Definitely, let's fix it indeed.

sure, please assign this to me.

Awesome! Thank you! 👏


Add "--tags" to the version tag

I used github to add the v0.4.1 tag, which doesn't use an annotated
tag. Use the --tags option to make sure we pick this up in the release
version.

:+1:


Moved process handling and Lambda creation code to results iterator project

Also fixes long standing NodeJS JSII connection issues by enforcing NodeJS version 12.x
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

All tests passed locally.


Add initial apiaccess service support

This service allows you to grant read-only access to AWS services
in an application. The service doesnt create any resources, it only
returns policy statements for consumption by other Handel services.
The initial service only supports the organizations service. More
can be added as needed.
Resolves #87

See http://handel.readthedocs.io/en/latest/supported-services/apiaccess.html.


Reduce size of Docker image

Consider if there is a base alpine image or something else smaller you can use to reduce the Docker image size (483mb currently)

actually,, thats not compressed, so its not too bad. forget this.


[SUPPORT] - Adding logs for invalid dates

📝 Description
Adding logs to better understand the RangeError some user get but impossible to reproduce.
❓ Context

JIRA or GitHub link:

✅ Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.

[x] npx changeset was attached.
[ ] Covered by automatic tests. // nothing to test
[x] Impact of the changes:

no impact

🧐 Checklist for the PR Reviewers

[ ] The code aligns with the requirements described in the linked JIRA or GitHub issue.
[ ] The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
[ ] There are no undocumented trade-offs, technical debt, or maintainability issues.
[ ] The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
[ ] Any new dependencies have been justified and documented.
[ ] Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

on top of logging the issue, i think we must filter out invalid Operation as early as we can, maybe in mergeOperation or whatever generic util function we have. because an Operation with a date: Date that is invalid is going to nuke in many places


Tutorial on implementation of quantum half-adder

Summary
This tutorial focuses on creating a half-adder and then, uses the reader's knowledge to build a full-adder using the same.
Details and comments
The benefit of this tutorial -
Introduces the concept of quantum combinational circuits Introduces how simple gates like OR can be built with Toffoli and CNOTs Introduces how simple circuits can be used to build complex circuits

Qiskit provides a circuit library for arithmetic circuits, which contains e.g. 3 different implementations of adder circuits. If we provide a tutorial, it should probably be built in context of this library. Without this context, a tutorial might be more suitable for https://github.com/qiskit-community/qiskit-community-tutorials.

Closing as stale - the tutorial notebooks were removed from this repo, and guide-level content would now potentially go to Qiskit/documentation subject to suitability and the concerns mentioned above.


versioning

As discussed here: https://github.com/rhasspy/rhasspy/issues/7
https://github.com/rhasspy/rhasspy-nlu/blob/master/VERSION should use semper versioning

resolved by #b66330835638e359b8965e795f976828c2fa3a7b


Feature request: make iframe responsive in iOS

The IFRAME rendered by this module is responsive on desktop web browsers.   However, on iOS Safari it renders in full width (not scaled to horizontally to fit in the viewport).
See this Stackoverflow for a further description of iOS IFRAME rendering and a few suggestions on how to get around it: http://stackoverflow.com/questions/23083462/how-to-get-an-iframe-to-be-responsive-in-ios-safari

Thanks @eat-sleep-code, I will look into it
On Fri, Apr 28, 2017 at 11:06 AM, eat-sleep-code<EMAIL_ADDRESS>wrote:

The IFRAME rendered by this module is responsive on desktop web browsers.
However, on iOS Safari it renders in full width (not scaled to horizontally
to fit in the viewport).
See this Stackoverflow for a further description of iOS IFRAME rendering
and a few suggestions on how to get around it: http://stackoverflow.com/
questions/23083462/how-to-get-an-iframe-to-be-responsive-in-ios-safari
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jasonhodges/ngx-gist/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5XfBgdpzmZT03u7t2vmdC1d9fe-oITks5r0hyegaJpZM4NLvc5
.

--
Jason Hodges


Update React version (fixes #2)

Why was this merged? Now I can't use this with react v0.12.x :disappointed:
I don't see anything in the repository that requires it to be react v0.13.x.
Could we unmerge it, and possibly create a new npm version?

@mlunoe sorry about that.
You can now update to v1.1.1, is compatible with both react 0.12 and 0.13 [28913d6]
Thanks.

Sweet! Thanks


assistedgps: Fix combination of all systems

There was typo preventing all systems to work together.

Great - thanks!


DRY the docker commands [wip]

Seems to break the caching at the Gemfile layer for reasons I can't fathom

Probably was because we'd pushed straight to the master container from a local machine and that had different checksums for reasons.

 Use Docker to deploy manage-courses-frontend on dev


Add total length measurements in neuritefeatures

Current coverage is 100.00%

Merging #291 into master will not affect coverage as of 21025a7

@@            master    #291   diff @@
======================================
  Files           42      42
  Stmts         1843    1850     +7
  Branches         0       0
  Methods
======================================
+ Hit           1843    1850     +7
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 21025a7

Powered by Codecov. Updated on successful CI builds.


Pull to refresh hides collapsible header

Collapsible header works fine, but when I do pull to refresh on AnimatedList, it hides back and does not show until I normally scroll down the list and come back up. Anyone else facing this issue? Please help me with this.

Hi, @aryankonstant
I appreciate your issue. I tried a few approaches.
Unfortunately, nothing makes it work. Let me get back to you later when I found a solution.

Hi, I think it can be resolved by using this PR that I wrote in the react-native core repo. The PR has been merged but not released yet. So if you think it can resolve the issue you can apply it via postinstall script.

@wns3645 Thanks very much for your information.
I will try it once it's release.


NhatTruyen Extension change URL

Source information
NhatTruyen v1.4.17
Source language
Vietnamese
Source new URL
https://nhattruyenbing.com/
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

I can't re-open should I make new issue ?


[Bug] subsequent calls to getThumbnail rewrite the previous thumbnail

If you call getThumbnailWithFile multiple times it will rewrite the previous thumbnail. This makes it difficult to generate a film-strip, as the consumer of flutter_video_compress would have to copy and rename the file after each iteration, and await each thumbnail process instead of batching them.
    print(info.duration);
    final markers = List<int>.generate(count, (i) => (duration.inSeconds * (i / count)).round());
    print(markers);
    final futures =
        markers.map((seconds) => _compressor.getThumbnailWithFile(file.path, quality: 40, position: seconds));
    final results = await Future.wait(futures);
    print(results.map((file) => file.path));

flutter: 26926.666666666664
flutter: [0, 3, 6, 9, 12, 14, 17, 20, 23]
flutter: (
/private/var/mobile/Containers/Data/Application/27D7AAA9-B308-4730-9BE8-AB946661E8B7/tmp/flutter_video_compress/FEB63F13-5FA6-4BAC-8C05-FF68ACB43BFC.jpg,
/private/var/mobile/Containers/Data/Application/27D7AAA9-B308-4730-9BE8-AB946661E8B7/tmp/flutter_video_compress/FEB63F13-5FA6-4BAC-8C05-FF68ACB43BFC.jpg,
 /private/var/mobile/Containers/Data/Application/27D7AAA9-B308-4730-9BE8-AB946661E8B7/tmp/flutter_video_compress/FEB63F13-5FA6-4BAC-8C05-FF68ACB43BFC.jpg,
...,
 /private/var/mobile/Containers/Data/Application/27D7AAA9-B308-4730-9BE8-AB946661E8B7/tmp/flutter_video_compress/FEB63F13-5FA6-4BAC-8C05-FF68ACB43BFC.jpg,
/private/var/mobile/Containers/Data/Application/27D7AAA9-B308-4730-9BE8-AB946661E8B7/tmp/flutter_video_compress/FEB63F13-5FA6-4BAC-8C05-FF68ACB43BFC.jpg
)

As a note for others running into the same use case, I suggest using getThumbnail and MemoryImage instead!

Is this also solving the problem, when you want to have multiple thumbnails of a video in the same second (after each 300 ms)?


add component  BackTop, Affix, Divider

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

@rongxingsun Thanks for your pr.
We will develop a new component until the designer provides design drafts. Now, we have no plan to add this component. I think you can add this component to awesome-element.


Missing Tracking api after upgrade to v1.0.2

Missing Tracking api after upgrade to v1.0.2

please use v1.0.3.
Thank you


Static Build Fails

I've spent a decent amount of time on this, but I'm out of my element on the c compiling.
I'm trying to run the clone_avro_and_build.sh --static so that it will include the libraries so that I can deploy the full package to an AWS Lambda.
However after the build, the tests fail with:
ImportError: libavro.so.22.0.0: cannot open shared object file: No such file or directory
During the build script, it outputs the line:
export PYAVROC_LIBS=pthread
Something tells me pthread is not the correct value there, but I can't seem to figure out what it should be.

If you run clone_avro_and_build.sh without --static, then running again with --static won't work.
Try this:
rm local_avro/dist/lib/libavro.so*
./clone_avro_and_build.sh --static

Re: PYAVROC_LIBS, these should be automatically detected during the avro build, then used by clone_avro_and_build.sh. You might want to install, for example, zlib (apt-get install zlib1g-dev on Ubuntu), then rebuild:
rm -r local_avro/build local_avro/dist
./clone_avro_and_build.sh --static

See the Travis build for an example of PYAVROC_LIBS: https://travis-ci.org/Byhiras/pyavroc/jobs/154415457

Thanks for the help, it was indeed due to the fact that I had already compiled it without --static.


Create a Style Guide

With all the important stuff

Rolled into the GitHub Wiki especially https://github.com/creativecommons/cc-cert-core/wiki/Markdown-Specific-for-CC-Certifications.
The specialty certificate repos link to this one
https://github.com/creativecommons/cc-cert-lib/wiki
https://github.com/creativecommons/cc-cert-edu/wiki
https://github.com/creativecommons/cc-cert-gov/wiki


deploying "XXXX" (tx: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)...

Describe the bug
When you get to the deploy function, it doesn't move. There are only "deploying "XXXX" (tx: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)..."
No error is reported, but the process will not continue

what do you mean by

No error is reported, but the process will not continue

Does the process stop, or it keep waiting for the tx ?
If the latter, can you check the status of that tx on your node ?

I did not continue to execute, I can “console deployer” in my code, but after the deploy function, it will not continue, just waiting, and then the following “Contrac1.address” will not be consoled. There should be no problem with the tx. The chain started by hardhat and ganache software cannot be used. They are all in a waiting state. There are three points at the end, The displayed text is “ deploying "PMT721" (tx: 0xd75f210002352c9b96228e58aac1b65d520d583133e8b12ef98eef396c95426e)... ”

If other people haven't encountered this kind of problem, it may be my problem, but the implementation has been fine before, I don't know why.
I'll check again

Looks like an issue with your node

Same issue here :/


[Update Request]: Fixing incorrect hash for QuadSpinner.Gaea v<IP_ADDRESS>

What type of update are you requesting?
A change to the package metadata
Current Package Identifier
QuadSpinner.Gaea
Package Version
<IP_ADDRESS>
Please describe the changes you would like to see
The hash for the installer was incorrect as the installer was changed after the dumpling bot (not sure what that is?!) generated this manifest for our application. (I'm the owner of the QuadSpinner.Gaea application). We reissued the installer on our server but this manifest was generated before we could manually submit our own. This is to fix the bad hash. All else is fine.
Related Pull Request: #173367

@daxpandhi - Is it already fixed by #173367 by yourself? Should this issue be closed as "completed"?

Yes! Sorry forgot to close the issue. Oops.


ABDEV-1294 add parameter for optional HTML file with download link

JIRA Subtask

Looking at https://github.com/anytimefitness/fastlane-azure/blob/master/fastlane/actions/azure.rb#L113 I wonder if I need to add more to this file for the overall story

Yeah, it needs some search and replaces done to act as a template. The html will look something like version number and thsoe need to get inserted in the build process like:
https://github.com/anytimefitness/fastlane-azure/blob/master/fastlane/actions/azure.rb#L154


Add demo

https://user-images.githubusercontent.com/62412884/170834853-97a373f0-98cf-47db-81fe-26e4b0f14ef2.mp4

Hmm, this mp4 couldn't be added on README.md 🤨

@sheepla A screenshot would be nice though ❤

Thank you!

Update


Channel lockup in func (p *Pinger) recvICMP

I stumbled upon channel lockup, when trying to send received data, while either one of the following occurs in func (p *Pinger) run():

Stop has been called
Interval has been reached
We received all expected packets

This occurs, because run func is not receiving data from recvICMP any more if above conditions are true and recvICMP is still trying to send received data to run func via recv channel. I Used select with both recv channel and p.done channel.
I attached the diff patch.
github.com_sparrc_go-ping_ping.go.txt

Fixed by #85 in 70ede2a.


fix build directory name

I think the build script actually appends the python version to the build directory name here https://github.com/deepmind/open_spiel/blob/9a0848880400eb26e481ddfdc558b1b3d075e154/open_spiel/scripts/build_and_run_tests.sh#L44 so if we are assuming python 3 I think the build directory would actually be called "build_python_3".  This is what happened when I built it.

Hi @alexminnaar , yeah - I think we tagged on the name because we were supporting Python 2 and 3 at some point. I agree -- we should probably just remove this. @jblespiau @locked-deepmind, can you think if this will break anything and let me know what you think?

Seems safe to me. There are probably some other py2 vestigial pieces too.
On Mon, Sep 16, 2019 at 10:35 PM lanctot<EMAIL_ADDRESS>wrote:

Hi @alexminnaar https://github.com/alexminnaar , yeah - I think we
tagged on the name because we were supporting Python 2 and 3 at some point.
I agree -- we should probably just remove this. @jblespiau
https://github.com/jblespiau @locked-deepmind
https://github.com/locked-deepmind, can you think if this will break
anything and let me know what you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/open_spiel/pull/57?email_source=notifications&email_token=AHAF7TERP3PNGMBJ2BR64Z3QJ732BA5CNFSM4IW4F2XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62S5UQ#issuecomment-531967698,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHAF7TFZPTNIGFA3NEB4YITQJ732BANCNFSM4IW4F2XA
.

Thanks. I made the change of the directory name to be build/ internally, and it will be pushed with the next release. I am thus closing this PR, as it will fix the directory name in install, which will now match the directory name in the instructions.


[5.3][CodeCompletion] Avoid re-typechecking pre-checked expressions

Cherry-pick of #31774 into release/5.3

Explanation: Fix a code completion crash when the completion happens inside an call argument clause and the callee contains "KeyPath as functions" (e.g. array(\.count).redulce(<HERE>))
Scope: Code completion in call argument
Risk: Low
Issue: rdar://problem/60982638
Testing: Added a regression test case.
Reviewer: Ben Langmuir (@benlangmuir) and Pavel Yaskevich (@xedin)

@swift-ci Please test

@swift-ci Please nominate


pod

I believe you had a connection problem, seems to be working for me now.

I am not clear about this,can you tell me what is the wrong ?

@KONGFANJI, try to visit that URL directly. If you can't access it, your internet provider may be blocking access to Google's CDN.


Test Online | ERROR Message : The test may not have the latest project changes. Try again later.

When I wish to test my project in the no-code platform :
This Error message appears "The test may not have the latest project changes. Try again later."
I created some new blank projects : and same behaviour !
The test platform is down or I missed something ?
Thanks you all

https://www.reddit.com/r/GoogleAssistantDev/comments/o6zkcq/the_test_may_not_have_the_latest_project_changes/

"It seems ok for an existing project, but the problem appears for a new project. I created 3 projects, and they all experienced various problems."
I agree with that 👍

You're experiencing this with Actions Builder?

I create a new project then I would like to test it and this error appears

I created 4 versions of 'valentin' projects and encountered the same issue for all of them

mail from google assistant team :
To better assist you on your Action’s testing issue, please provide us with the following information:
Project ID - You may go to Actions Console, select the Action, click the “3 dots” button on the upper right corner, choose “Project Settings”, then find the Project ID under “Your project”.
Screenshots of the error message from the simulator and/or testing devices.
If necessary, steps to reproduce the error.

We look forward to hearing from you.

The project ID is valentin-b3902
To reproduce this error : create a new project and test it : the error appears in the info box.


Remove legacy REWRITE_TCP_PROBES flag

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
95a61b3b8355ff4dec21298f04641ed4bc6e202f
link
true
/test gencheck

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

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
95a61b3b8355ff4dec21298f04641ed4bc6e202f
link
true
/test gencheck

unit-tests-arm64_istio
95a61b3b8355ff4dec21298f04641ed4bc6e202f
link
true
/test unit-tests-arm64

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

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

Test name
Commit
Details
Required
Rerun command

gencheck_istio
95a61b3b8355ff4dec21298f04641ed4bc6e202f
link
true
/test gencheck

unit-tests-arm64_istio
95a61b3b8355ff4dec21298f04641ed4bc6e202f
link
true
/test unit-tests-arm64

unit-tests_istio
95a61b3b8355ff4dec21298f04641ed4bc6e202f
link
true
/test unit-tests

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


Use standard C++ timer for long timeouts (#1327), remove unused code

Was it Sonar that made you aware of the bitrotted code?

No, I stumble upon this when reviewing and cleanup the existing code. Only recently I also started with that for the code in hal. Often, as soon as you remove an unused method, for instance, another unused method or field pops up, which before was only used by the unused code you have just removed. And so on ...

Was it Sonar that made you aware of the bitrotted code?

No, I stumble upon this when reviewing and cleaning up the existing code. Only recently I also started with that for the code in hal. Often, as soon as you remove an unused method, for instance, another unused method or field pops up, which before was only used by the unused code you have just removed. And so on ...
And code I do not immediately understand is also quite often not needed. This is not a joke.

Have you tried using cppcheck for finding dead code through static analysis? I've seen it being effective in another project with a very old code base.

Was it Sonar that made you aware of the bitrotted code?

No, I stumble upon this when reviewing and cleaning up the existing code. Only recently I also started with that for the code in hal. Often, as soon as you remove an unused method, for instance, another unused method or field pops up, which before was only used by the unused code you have just removed. And so on ...
And code I do not immediately understand is also quite often not needed. This is not a joke.

Have you tried using cppcheck for finding dead code through static analysis? I've seen it being effective in another project with a very old code base.

Just tried gcccheck. It takes less to 4 seconds on my PC. And indeed it found unused code and redundant assignments and a redundant condition. Not that many code locations, but SonarCloud did not find them.
Not surprisingly almost everything reported refered to cfilesystem.c, where SonarCloud also reports about 100 issues.


translation-docusaurus-plugin-content-docs/current/troubleshooting

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

@liangyongzhenya You might have to sign your commit, and here is the guideline:
https://github.com/karmada-io/website/pull/192/checks?check_run_id=8768271303
/assign @Poor12

Please squash the commits. Basiclly look good to me.

/lgtm
/cc @RainbowMango


Duplicated hashtag symbol in notification renderer.

Duplicated hashtag symbol in notification renderer.
https://perzoinc.atlassian.net/browse/APP-569

LGTM @dnsymphony please check.

Looks like some pom file errors are breaking this build.


creates title component and adds title component to the Status Page

Thanks for submitting a pull request! Below are a few things you can do to help us more quickly review your changes.
Checklist
I have…

[x] summarized below my changes and noted which issues (if any) this pull request fixes or addresses.
[x] thoroughly outlined below the steps necessary to test my changes.
[x] attached screenshots illustrating relevant behavior before and after my changes.
review and update SSAG documentation if needed.

Summary of Changes
This pull request…

Adds Title Component to components._
Adds Title Component to Status page._
Adds timer to migration in docker-compose.yml to allow postgres to build before migration occurs._

Testing
To verify the changes proposed in this pull request…

Wrote test case to validate Title against a snapshot.
Ran frontend on local server and validated Title appeared where necessary according to USWDS standards.

Screenshots

@vcastro-DDS Can you Merge master into here to clean up the noise in the changed files?


cmd/link: Go linker may be vulnerable to Windows kernel bug

For more details on this bug see this blog post:
https://randomascii.wordpress.com/2018/02/25/compiler-bug-linker-bug-windows-kernel-bug/
The Windows kernel has a rare bug which sometimes leads to recently created binaries crashing due to lack of a FlushFileBuffers call in the kernel. This happens when a PE file (DLL or EXE) is created using a file mapping and then is executed shortly afterwards (or LoadLibrary for a DLL). The symptom is that pages of zeroes get mapped in to some of the pages instead of valid code. This is rare and only happens during periods of very high disk activity, but it was seen on about 3-4% of Chrome builds on my workstation when using goma. It shows up when we generate a binary as part of the build (perhaps protoc.exe) and then run it immediately afterwards - occasionally the freshly generated binary crashes.
This bug was confirmed with Microsoft who are working on a fix. The interim workaround is to call FlushFileBuffers on the output file when finished linking it. This workaround was implemented in Chromium using a Python wrapper and this has been 100% effective. The change can be seen here:
https://chromium-review.googlesource.com/c/chromium/src/+/876683/10/
The tracking bug (20+ months in the making) can be found here:
https://bugs.chromium.org/p/chromium/issues/detail?id=644525#c42
A request for the VS team to add this workaround to their linker is tracked in this link - apparently they have added the workaround and it will ship later this year.
https://developercommunity.visualstudio.com/content/problem/191590/linker-needs-workaround-for-windows-kernel-bug.html
It's a nasty bug. Luckily it is quite rare. Luckily it is also quite easy to work around.

This sounds like an issue that affects all programming languages, so the
proper place for a fix is the windows kernel. Why shouldn't we just wait
for Microsoft to address the issue?
On 28 February 2018 at 19:10, Bruce Dawson<EMAIL_ADDRESS>wrote:

For more details on this bug see this blog post:
https://randomascii.wordpress.com/2018/02/25/compiler-bug-
linker-bug-windows-kernel-bug/
The Windows kernel has a rare bug which sometimes leads to recently
created binaries crashing due to lack of a FlushFileBuffers call in the
kernel. This happens when a PE file (DLL or EXE) is created using a file
mapping and then is executed shortly afterwards (or LoadLibrary for a DLL).
The symptom is that pages of zeroes get mapped in to some of the pages
instead of valid code. This is rare and only happens during periods of very
high disk activity, but it was seen on about 3-4% of Chrome builds on my
workstation when using goma. It shows up when we generate a binary as part
of the build (perhaps protoc.exe) and then run it immediately afterwards -
occasionally the freshly generated binary crashes.
This bug was confirmed with Microsoft who are working on a fix. The
interim workaround is to call FlushFileBuffers on the output file when
finished linking it. This workaround was implemented in Chromium using a
Python wrapper and this has been 100% effective. The change can be seen
here:
https://chromium-review.googlesource.com/c/chromium/src/+/876683/10/
The tracking bug (20+ months in the making) can be found here:
https://bugs.chromium.org/p/chromium/issues/detail?id=644525#c42
A request for the VS team to add this workaround to their linker is
tracked in this link - apparently they have added the workaround and it
will ship later this year.
https://developercommunity.visualstudio.com/content/
problem/191590/linker-needs-workaround-for-windows-kernel-bug.html
It's a nasty bug. Luckily it is quite rare. Luckily it is also quite easy
to work around.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/24169, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA_p-HSLeL6VWXtQcaQk6FSsCwgX7ks5tZQn1gaJpZM4SWPBA
.

@randomascii could you describe exactly what the problem is, please?
From your https://randomascii.wordpress.com/2018/02/25/compiler-bug-linker-bug-windows-kernel-bug/ you say: The underlying bug is that if a program writes a PE file (EXE or DLL) using memory mapped file I/O and ...
Go linker does not use memory mapped file IO, it opens file with CreateFile and writes to it. Why do you think Go has this bug?
Alex

Waiting for a Microsoft fix could take a very long time, especially for older operating systems like Windows 7. But! If the Go linker doesn't use memory mapped file I/O then it is not vulnerable to this bug so this issue can be closed. I filed the issue here because both lld-link and VC++'s link.exe hit the bug so I therefore assumed that most linkers would be vulnerable, but I'm glad to be proved wrong.

The Go linker should use memory mapped file I/O, it just doesn't.
I'll go ahead and close this.  Thanks for bringing it to our attention.


References?

I saw https://cq-cam.readthedocs.io/en/latest/algorithms.html wasn't written yet, but I was wondering if maybe your readme could list some reading materials for folks who want to get up to speed in this space and possibly help. CAM toolpath generation seems to mostly be proprietary research and code and it's remarkably hard to find any documentation on techniques, so I'm curious if you've been figuring it out on your own or if there are books or other resources you could recommend.

Indeed, I was surprised to find out the same thing when I started working on this - there's not much reference material available. I thought I have a file somewhere with relevant research paper links but can't seem to find it right now. However I do recall two papers that were interesting reads.

Optimal CNC Tool Path Generation for Zigzag Pocket Milling (2001) by T. El-Midany served as a stepping stone for me to implement a simple zigzag algorithm. I've not implemented the full algorithm.

CNC PROGRAMMING OF POCKET MACHINING (2017) by M. Bošnjaković some general considerations

The algorithms I have here are fairly simple - for 2D operations we're mostly just manipulating Wires that are being offset and clipped as needed, and then converted into G-code.
I'm not entirely sure yet what my next step will be with this project. I kinda want to sit down and review the code this summer and put some effort into cleaning up the messy parts. My priority earlier this year during active development phase was just to get a solid proof of concept together. A strong foundation would seem fairly important as I expect this project will keep growing over the years.


Rui/update circuit init logic

Purpose

Simplify quantum circuit initialisation logic without the use of event listeners and proxies. Proposed by issue #112.
Changes

Remove the use of quantumCircuit object and quantumCircuitConfig object in state manager. Send an explicit boolean message shouldInitCircuit to the last output of the quantum circuit node to initialise quantum circuit.
validateRegisterStrucutre in errors.js can be removed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

26 of 26 (100.0%)  changed or added relevant lines in 3 files are covered.
12 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.9%) to 70.289%

Files with Coverage Reduction
New Missed Lines
%

nodes/quantum/classical-register/classical-register.js
2
89.8%

nodes/errors.js
10
75.89%

Totals

Change from base Build<PHONE_NUMBER>:
-0.9%

Covered Lines:
1102

Relevant Lines:
1436

💛  - Coveralls


One item is always updated on each sync run

We have an item that is aways updated each time we run Unicorn 3.0.2 sync, even if no changes were made. The Unicorn window shows:
[U] master:/sitecore/media library/rendering-thumbnails/grid-2x1-6-1-5 (3c052857-b17a-4b72-a024-386972c08691)
> New version de-AT#1 (serialized)
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created
* [U] en#1: __Created

My understanding, that all database items should be updated only on first run and then skipped in the subsequent runs if no changes were made. Any idea what can be causing this behavior?

Issues like this are usually due to altered standard values. The sync compares WITHOUT standard values (because you don't want to overwrite standard values if they are set).
So if you have item x with field y, and you set y to "hello" and then later set y's standard value to "hello", x may well appear to be updated each time. I've seen __Created cause this issue before as Sitecore does have a standard value for that.
In this case, verify also that the language (de-AT) exists.

Thank you for the explanation. Makes sense.


Consider adding Cirrus CI

We should consider adding Cirrus CI to the project, it supports both FreeBSD VMs (https://cirrus-ci.org/guide/FreeBSD/) and Docker builds with access to /dev/kvm (https://cirrus-ci.org/guide/linux/).

If we add anything, it'll be something based on Github Actions, as after experimenting with it all I can say is that it is way better than the competition. Closing this.


network requests fail after PushNotification.init on Android 4.1.2

Expected Behaviour
PushNotification.init should not influence online status of browser.
Actual Behaviour
When calling PushNotification.init, the browser seems to go offline:

navigator.onLine==false
network requests fail

A workaround is to call PushNotification.init again after some milliseconds. This brings the browser online again.
Strangely, when you turn off the screen, the browser goes online (navigator.onLine==true), when turning on the screen, the browser goes offline again. However, when the app starts while the screen is off, it behaves as expected, but now, with the workaround, it fails.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
PushNotification.init({});
console.log(navigator.onLine); // -> false
PushNotification.init({});
console.log(navigator.onLine); // -> false
setTimeout(function() {
  PushNotification.init({});
  console.log(navigator.onLine); // -> true
}, 200);

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
This seems to be a problem on very specific devices. Tested it myself on a samsung S2 with Android 4.1.2, but got reports from users with a Samsung S3 mini with Android 4.1.2 and FairPhone (unknown Android version). Not completely sure that it is the same problem as I have not been able to test it, but they also experience failed network requests.
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Cordova CLI version and cordova platform version
cordova --version                                    # 7.0.1
cordova platform version android                     # 6.2.3

Plugin version
cordova plugin version | grep phonegap-plugin-push   # phonegap-plugin-push 2.0.0 "PushPlugin"

cordova plugin version | grep crosswalk  # cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"

Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem

@rbellens well, that makes absolutely no sense. Not that I'm disputing it is happening but there is no reason why it should affect network connectivity. Perhaps you could gather some logs and also can you try to reproduce without using crosswalk?
Personally, I can't reproduce as my oldest phone runs Android 4.4.

As insane as it sounds, i had a similar problem.
We use the push plugin on an iOS only setup. For debugging purposes i tried the app on android and noticed that i'm unable to send any network request. I ended up removing the plugin and the related ionic-native implementation to get the requests working again.


Fix asyncio version by downgrading to 21.1 again for CI warnings.

Echoes #531. Closes #790.
Apparently pytest-asyncio did not fix their issue with subsequent versions. Downgrading back to 21.1 and adding instructions in setup.py to be mindful of the changelog before approving dependabot upgrades.

I see, I reviewed the outline of #531 and #790. Since you've been iterating on this and seem to be narrowing down the issue, let's approve the downgrade to 21.1 and see if it stabilizes tests/warnings.

Reviewed the 0.21.1 changelog and the previously reported issues. Hopefully this stabilizes the tests/skips/warnings/isuses. Approving.

It does. The test run for this branch is clean from those warnings, and the pytest-asyncio maintainers have specified these problems in the changelog, suggesting for 21.1 to be used until they fix those issues.


Focus programatically

I know there is onFocus props in there. I wanna know how I can focus into the content from somewhere else. I assigned a ref to it but it didnt work and told me there is no focus function.
Is there anyway to achieve this?

If you have set a ref it will point to the component itself and not to the input element inside it.
This means that you should add .refs.input to your lookup chain. For example, if your ref is called "numericInput" you should do something like ...refs.numericInput.refs.input.focus().
You can also do this using regular DOM operations like:
document.querySelector("wherever .react-numeric-input input").focus()

Thanks. That works


Using the cache for function bindings and not deleting shared memory resources upon request to close

Description
When the host sends a message to close shared memory resources, instead of deleting the shared memory resources (i.e. files in the case of Linux) just drop the handle and let the worker delete the resources.
When the host advertises the capability for using FunctionDataCache, use that even for small objects (without imposing the minimum size constraint.)

This PR is part of the work described in Azure/azure-functions-host#7310

PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

Quality of Code and Contribution Guidelines

[ ] I have read the contribution guidelines.

minor comments. Also, can you please add testing for cache-enabled scenarios? to see if the same shared mem is reused or not?

That's a very good point.
The problem right now is that the caching piece will not be enabled until one of the azure storage extension PRs is checked in. That PR will not be checked in until the azure-webjobs-SDK PR package is published to nuget.org - this will happen in a few weeks as part of some deployment cycle which I don't fully understand. Once that is checked in, then we can have a subsequent PR here for the Python worker which consumes the latest host and storage extension in the tests so that we can put the tests you mentioned. Does that sounds like a fair plan?


Support 3rd-party wasi library

I've implemented a wasi library for an RTOS. And it works OK with the C demo at wasi. I didn't enable WASM_ENABLE_LIBC_WASI because it will include a lot of used codes.

I use init_args to set the native wasi module, looks good.

#if WASM_ENABLE_LIBC_VSFWASI != 0
    init_args.native_module_name = "wasi_snapshot_preview1";
    init_args.n_native_symbols = get_libc_wasi_export_apis(&init_args.native_symbols);
#endif

    /* initialize runtime environment */
    if (!wasm_runtime_full_init(&init_args)) {
        printf("Init runtime environment failed.\n");
        return -1;
    }

Implement wasm_application_execute_main_app which is almost the same as wasm_application_execute_main with modification below:

#if WASM_ENABLE_LIBC_WASI != 0 || WASM_ENABLE_LIBC_VSFWASI != 0
    /* In wasi mode, we should call the function named "_start"
       which initializes the wasi envrionment and then calls
       the actual main function. Directly calling main function
       may cause exception thrown. */
    if ((func = wasm_runtime_lookup_wasi_start_function(module_inst))) {
#if WASM_ENABLE_DEBUG_INTERP != 0
        wasm_runtime_start_debug_instance(exec_env);
#endif
        return wasm_runtime_call_wasm(exec_env, func, 0, NULL);
    }
#endif /* end of WASM_ENABLE_LIBC_WASI */

Call wasm_runtime_lookup_wasi_start_function if the 3rd-party wasi library is enabled.
3. Copy wasm_runtime_lookup_wasi_start_function in wasm_runtime_common.c  to main.c, because if WASM_ENABLE_LIBC_WASI is not enabled, this function will not included.
Is there any more graceful way to use a 3rd-party wasi library?

Hi, for the question 2 and 3, seems that you can run iwasm with -f _start to call wasi entry function: iwasm -f _start <wasm/aot file>.
For question 1, we are planning to implement registering native lib for iwasm, e.g., iwasm --native-lib=<so file>, developer can build the native APIs into a .so library file, and provide a API like below,
uint32_t
get_native_lib(char **p_module_name, NativeSymbol **p_native_symbols);

so that iwasm can call it and get the module_name, native symbol array and native symbol count from the native lib, and then register it.
Not sure whether it is good for your RTOS, if not, normally you should keep your own modification. Thanks.

Hi, for the question 2 and 3, seems that you can run iwasm with -f _start to call wasi entry function: iwasm -f _start <wasm/aot file>.
For question 1, we are planning to implement registering native lib for iwasm, e.g., iwasm --native-lib=<so file>, developer can build the native APIs into a .so library file, and provide a API like below,
uint32_t
get_native_lib(char **p_module_name, NativeSymbol **p_native_symbols);

so that iwasm can call it and get the module_name, native symbol array and native symbol count from the native lib, and then register it. Not sure whether it is good for your RTOS, if not, normally you should keep your own modification. Thanks.

-f option is good for me, I will do a test.
For question 1, current solution is good for me too, but yours is better, I will be able to register more than 1 modules.

-f _start is OK with one modification:
static void *
app_instance_func(wasm_module_inst_t module_inst, const char *func_name)
{
    wasm_application_execute_func(module_inst, func_name, 0, NULL);
    /* The result of wasm function or exception info was output inside
       wasm_application_execute_func(), here we don't output them again. */
    return NULL;
}

For _start wasm_application_execute_func should not pass argc/argv. ofc, it's OK for per platform product_mini main.c.
I close the issue.


How to change colors in keyframes?

How do I change the colors for each keyframe?
  anime({
      targets: '.breath-element',
      scale: [
             { value: 0, duration: 0, delay: 0, easing: 'linear' },
             { value: 1, duration: 3000, delay: 0, easing: 'linear' },
             { value: 0, duration: 3000, delay: 0, easing: 'linear' }
      ],
      autoplay: false,
      loop: true
    });

You can't since keyframes are related to a single property.
I recommend you to use a timeline instead http://animejs.com/documentation/#basicTimeline


Suggested update

Hi,
I'm following the guidance on this page and ran into the issue mentioned in the tip section. In my case it was not the fact that my Windows Docker installation was set to run Linux containers, it was in fact caused by a version conflict.
The tag for "docker pull mcr.microsoft.com/windows/nanoserver:" should be the same as the releaseid of the host operating system.
Check with PowerShell
(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").ReleaseId

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

ID: 0a1c4c54-7721-58ce-f77d-be0ef0c687bf
Version Independent ID: 70e52446-1c7b-78ff-67f2-1f6c0d058788
Content: Run your first Windows container
Content Source: virtualization/windowscontainers/quick-start/run-your-first-container.md
Product: windows-server
Technology: windows-containers
GitHub Login: @cwilhit
Microsoft Alias: crwilhit

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Clicking on "Clean all" only cleans 1k - 1000 jobs

When clicking on clean all, this is the vbefore/after:

When inspecting the query on chrome inspector, nothing indicates any specific query params, the response is a 200

Looks like this is by design :]
https://github.com/felixmosh/bull-board/blob/master/packages/api/src/queueAdapters/bullMQ.ts#L28C22-L28C27

thanks a lot 🙏


Implement Huffman coding in JBIG2

Fixes #2073 (and the closed duplicates #2837, #3092, #8145, #8395)
Fixes Bugzilla 1131384
I have implemented Huffman and MMR coding in the JBIG2 image decoder.
To implement MMR decoding, I have used the existing CCITTFaxStream because MMR is the same compression algorithm as the PDF filter CCITTFaxDecode with /K -1. However, I got a circular dependency problem because jbig2.js must import stream.js and vice versa. I resolved the problem by moving the class Jbig2Stream from stream.js to jbig2.js. Now I was able to remove one of the imports.
I have not implemented "symbol refinement with Huffman" because I can't find any files that would use that feature. And it is poorly documented in the JBIG2 standard.
I have added two test cases. The first one is from issue #2837 (page 7) and it contains Huffman coded SymbolDictionaries and TextRegions and Tables segments. The second one shows the test images from the JBIG2 standard (ITU T.88, Annex H) and they contain also an MMR coded GenericRegion, PatternDictionary and HalftoneRegion.

Would it perhaps make sense to move the Stream class to another (e.g. its own) file, rather than placing it in the image decoder file

So maybe I'll create a new file core/jbig2_stream.js and I move Jbig2Stream there. Did I understand you correctly?
If I create a new source file, should I update also some makefile or unit test files etc?

So maybe I'll create a new file core/jbig2_stream.js and I move Jbig2Stream there. Did I understand you correctly?

Yes, that was my idea. However, since opinions may vary, you could perhaps hold off on making this particular change until a more complete review has be done.

If I create a new source file, should I update also some makefile or unit test files etc?

As long as you update all the places that currently import JBig2Stream (seems to be limited to src/core), no other changes need to be made.

/botio test

/botio-linux preview

@yurydelendik If you have time, could you please review this PR?

If you have time, could you please review this PR?

I'll try. I'm a little bit scared about pulling stream.js into jbig2.js. Can we refactor, e.g. in the separate PR , to move out CCITT and JBIG2 streams from the stream.js (e.g. ccitt_stream.js and jbig2_stream.js)? As well, move "pure" CCITT decoding into separate file as well (e.g. ccitt.js). The jbig2.js will depend on ccitt.js, but never on stream.js and ccitt_stream.js -- this will remove need to fake Stream and Dict to decode the data. I'll review JBIG2 logic more in the future.

/botio-linux preview

I've added this to the Version 2.0 project, since I definitely think that this is the kind of improvement that we should ensure gets included in the next release.

/botio test


[WFCORE-4314] - verbose and recursive parameter in read-alias(es)

https://issues.jboss.org/browse/WFCORE-4314
Improve read commands for elytron keystore.

A version bump is required if one hasn't already been done for the subsystem during dev of the same WF Core .Final release.

And a transformer is required as the op can be executed on the profile resource.

Before asking an engineer for a model bump can we please double check ourselves if one has already been performed (in this case it already has) - those handling reviews tend to be closer to this codebase so can quickly check.
I would also add although very light this really should be handled as an RFE, this is a change in behaviour to public API - most of the steps should be a formality but it needs to the usual plan, test, and docs.

Darn it, missed Darrans comment. So bump to 8 is enough?

This depends on https://github.com/wildfly/wildfly-core/pull/4018


feat(feedback): add support for jira component

if jira/component is found in metadata annotations then add component field while creating jira ticket

/lgtm
/approve