text:
🐛 [CLOUD_FIRESTORE] The service is currently unavailable.

Bug report
I'm try to use Firestore with Flutter Deskop (MacOS). But I'm getting always this error since my first try for a month.
[cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

Steps to reproduce

Created iosApp on Firebase and downloaded GoogleService-Info.plist file to macos project
AppBundle (in Runner.xcworkspace) is edited like on Firebase
Creted a collection and document on Firebase (myCollection/myDocument)
(All steps on https://firebase.flutter.dev/docs/installation/macos)

Expected behavior
I wish to get name value from myDocument on Firebase

Additional context
main.dart
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp()
      .then((value) => print("connected " + value.options.asMap.toString()))
      .catchError((e) => print(e.toString()));
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  FirebaseFirestore firestore = FirebaseFirestore.instance;

  void _initializeApp() async {
    await Firebase.initializeApp();
  }

  @override
  void initState() {
    _initializeApp();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    CollectionReference users =
        FirebaseFirestore.instance.collection('myCollection');

    return Scaffold(
      appBar: AppBar(),
      body: FutureBuilder<DocumentSnapshot>(
        future: users.doc("myDocument").get(),
        builder:
            (BuildContext context, AsyncSnapshot<DocumentSnapshot> snapshot) {
          if (snapshot.hasError) {
            print(snapshot.error.toString());
            return Text(snapshot.error.toString());
          }

          if (snapshot.connectionState == ConnectionState.done) {
            Map<String, dynamic> data = snapshot.data.data();
            return Text("Name: ${data['name']}");
          }

          return Text("loading");
        },
      ),
    );
  }
}

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel dev, 1.22.0-9.0.pre, on Mac OS X 10.15.5 19F101, locale en-TR)
    • Flutter version 1.22.0-9.0.pre at /Users/leventkantaroglu/Development/flutter
    • Framework revision 7a43175198 (13 days ago), 2020-08-28 23:18:04 -0400
    • Engine revision 07e2520d5d
    • Dart version 2.10.0 (build 2.10.0-73.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/leventkantaroglu/Library/Android/sdk
    • 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.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] 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 41.0.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.10.0-73.0.dev
Flutter SDK 1.22.0-9.0.pre
flutter_desktop_macos 1.0.0+1

dependencies:
- cloud_firestore 0.14.0+2 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cupertino_icons 0.1.3
- firebase_core 0.5.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0-nullsafety [collection]
- boolean_selector 2.1.0-nullsafety [source_span string_scanner]
- characters 1.1.0-nullsafety.2
- charcode 1.2.0-nullsafety
- clock 1.1.0-nullsafety
- cloud_firestore_platform_interface 2.0.1 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.0+1 [flutter flutter_web_plugins firebase http_parser meta firebase_core cloud_firestore_platform_interface js]
- collection 1.15.0-nullsafety.2
- fake_async 1.1.0-nullsafety [clock collection]
- firebase 7.3.0 [http http_parser js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http 0.12.2 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- js 0.6.2
- matcher 0.12.10-nullsafety [stack_trace]
- meta 1.3.0-nullsafety.2
- path 1.8.0-nullsafety
- pedantic 1.9.0
- plugin_platform_interface 1.0.2 [meta]
- quiver 2.1.3 [matcher meta]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety [charcode collection path term_glyph]
- stack_trace 1.10.0-nullsafety [path]
- stream_channel 2.1.0-nullsafety [async]
- string_scanner 1.1.0-nullsafety [charcode source_span]
- term_glyph 1.2.0-nullsafety
- test_api 0.2.19-nullsafety [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.2 [collection]
- vector_math 2.1.0-nullsafety.2

Hi @kaiserleka,
Can you create a fresh Flutter project and try below steps to see if it works ?

Setup a default Flutter project.
Add cloud_firestore and firebase_core to pubspec.yaml.
Create a project in Firestore. Create a collection. Create a single simple document in that collection.
Follow the instructions at https://firebase.flutter.dev/docs/installation/macos to install GoogleService-Info.plist file.
Initialize Firebase, following the FutureBuilder / Stateful example here: https://firebase.flutter.dev/docs/overview/#initializing-flutterfire
Add import 'package:cloud_firestore/cloud_firestore.dart';
Use your code sample provided above.
Run app and see if you still get same error ?

Thanks.

Hi @kaiserleka,
Can you create a fresh Flutter project and try below steps to see if it works ?

Setup a default Flutter project.

I have created a new Flutter project and enabled desktop support.

Add cloud_firestore and firebase_core to pubspec.yaml.

I have added both of that packages to pubspec.yaml

Create a project in Firestore. Create a collection. Create a single simple document in that collection.

I have created new Firestore project and created a collection named "testCollection"

Follow the instructions at https://firebase.flutter.dev/docs/installation/macos to install GoogleService-Info.plist file.

4.1 I have name my named my project

Initialize Firebase, following the FutureBuilder / Stateful example here:
https://firebase.flutter.dev/docs/overview/#initializing-flutterfire

I have located that stateful example onto my main.dart. When I run it, it works
import 'package:flutter/material.dart';
// Import the firebase_core plugin
import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

void main() {
  runApp(MaterialApp(home: App()));
}

class App extends StatefulWidget {
  _AppState createState() => _AppState();
}

class _AppState extends State<App> {
  // Set default `_initialized` and `_error` state to false
  bool _initialized = false;
  bool _error = false;

  // Define an async function to initialize FlutterFire
  void initializeFlutterFire() async {
    try {
      // Wait for Firebase to initialize and set `_initialized` state to true
      await Firebase.initializeApp().catchError((e) => print(e));
      setState(() {
        _initialized = true;
      });
    } catch (e) {
      // Set `_error` state to true if Firebase initialization fails
      print(e);
      setState(() {
        _error = true;
      });
    }
  }

  @override
  void initState() {
    initializeFlutterFire();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    // Show error message if initialization failed
    if (_error) {
      print("_error : " + _error.toString());
      return Scaffold(
        body: Center(
          child: Text("Error: " + _error.toString()),
        ),
      );
    }

    // Show a loader until FlutterFire is initialized
    if (!_initialized) {
      return Scaffold(
        body: Center(
          child: CircularProgressIndicator(),
        ),
      );
    }
    return Scaffold(
      body: Center(
        child: Text("initialized"),
      ),
    );
  }
}

Add import 'package:cloud_firestore/cloud_firestore.dart';

I have added

Use your code sample provided above.

I have updated my code with firestore. Event I run Firebase.initializeApp(), it says "[core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()"
import 'package:flutter/material.dart';
// Import the firebase_core plugin
import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

void main() {
  runApp(MaterialApp(home: App()));
}

class App extends StatefulWidget {
  _AppState createState() => _AppState();
}

class _AppState extends State<App> {
  // Set default `_initialized` and `_error` state to false
  bool _initialized = false;
  bool _error = false;

  // Define an async function to initialize FlutterFire
  void initializeFlutterFire() async {
    try {
      // Wait for Firebase to initialize and set `_initialized` state to true
      await Firebase.initializeApp().catchError((e) => print(e));
      setState(() {
        _initialized = true;
      });
    } catch (e) {
      // Set `_error` state to true if Firebase initialization fails
      print(e);
      setState(() {
        _error = true;
      });
    }
  }

  @override
  void initState() {
    initializeFlutterFire();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    // Show error message if initialization failed
    if (_error) {
      print("_error : " + _error.toString());
      return Scaffold(
        body: Center(
          child: Text("Error: " + _error.toString()),
        ),
      );
    }

    // Show a loader until FlutterFire is initialized
    if (!_initialized) {
      return Scaffold(
        body: Center(
          child: CircularProgressIndicator(),
        ),
      );
    }
    CollectionReference users =
        FirebaseFirestore.instance.collection('testCollection');
    return Scaffold(
      body: Center(
        child: Column(children: [
          Text("initialized"),
          Divider(),
          FutureBuilder<DocumentSnapshot>(
            future: users.doc("testDocument").get(),
            builder: (BuildContext context,
                AsyncSnapshot<DocumentSnapshot> snapshot) {
              if (snapshot.hasError) {
                print(snapshot.error.toString());
                return Text(snapshot.error.toString());
              }

              if (snapshot.connectionState == ConnectionState.done) {
                Map<String, dynamic> data = snapshot.data.data();
                return Text("Value: ${data['testField']}");
              }

              return Text("loading");
            },
          ),
        ]),
      ),
    );
  }
}

@kaiserleka,
Since firebase_core is the first and foremost important plugin after migration, initializing it is the first step to integrate firebase in your app. You can do that inside main() method itself, like below and see if it works for you.
void main() async {
  await Firebase.initializeApp();
  runApp(MyApp());
}

@kaiserleka,
Since firebase_core is the first and foremost important plugin after migration, initializing it is the first step to integrate firebase in your app. You can do that inside main() method itself, like below and see if it works for you.
void main() async {
  await Firebase.initializeApp();
  runApp(MyApp());
}

I'm getting : [core/not-initialized] Firebase has not been initialized. Please check the documentation for your platform.
bool isFirebaseReady = true;
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp().catchError((e) {
    isFirebaseReady = false;
    print(e);
  });
  runApp(MaterialApp(home: App()));
}

Why I can't find any complete Flutter Firestore Macos project :(

@kaiserleka - is your macos app in App Sandbox mode, and if so, did you add the com.apple.security.network.client entitlement?

@kaiserleka - is your macos app in App Sandbox mode, and if so, did you add the com.apple.security.network.client entitlement?

I have also added this to entitlement files but still getting : [core/not-initialized] Firebase has not been initialized. Please check the documentation for your platform.
<key>com.apple.security.network.client</key>
<true/>

My apologies, my comment wasn't very helpful without additional context. I don't know why you are getting the Firebase has not been initialized. error. I tried looking through your code, but I'm pretty new to Flutter and wasn't able to spot the issue.
My comment about the entitlement was to address your original problem, which was that you were getting an error message about cloud_firestore being unavailable.
That said, here is a main.dart file that successfully connects to Firestore for me on macos. I imagine all the other setup (pubspec, entitlements, etc is now similar to mine so I won't paste it all).
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.

  @override
  Widget build(BuildContext context) {
    return FutureBuilder(
        // Initialize FlutterFire:
        future: Firebase.initializeApp(),
        builder: (context, snapshot) {
          // Check for errors
          if (snapshot.hasError) {
            return const Text("Error", textDirection: TextDirection.ltr);
          }
          if (snapshot.connectionState == ConnectionState.done) {
            return MaterialApp(
              title: 'Flutter Demo',
              theme: ThemeData(
                primarySwatch: Colors.blue,
                visualDensity: VisualDensity.adaptivePlatformDensity,
              ),
              home: MyHomePage(title: 'Flutter Demo Home Page'),
            );
          }
          return const Text("Loading", textDirection: TextDirection.ltr);
        });
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: StreamBuilder(
          stream: FirebaseFirestore.instance.collection('mycollection').snapshots(),
          builder: (context, snapshot) {
            if (!snapshot.hasData) return const Text('Loading');

            return ListView.builder(
                itemExtent: 80,
                itemCount: snapshot.data.documents.length,
                itemBuilder: (context, index) => ListTile(
                        title: Row(
                      children: [
                        Expanded(
                          child: Text(
                              snapshot.data.documents[index].data().toString()),
                        )
                      ],
                    )));
          }),
    );
  }
}

That said, here is a main.dart file that successfully connects to Firestore for me on macos. I imagine all the other setup (pubspec, entitlements, etc) is now similar to mine so I won't paste it all.

Could you share those files and related macos files just in case? Your dart code still giving that error @evanpon

I created a new project from scratch, and made the (I think) minimum changes to make it work for Firestore. You can see the repo and look at the commits here: https://github.com/evanpon/macos_firestore. The one piece it doesn't have is the GoogleService-Info.plist file, since you'll need that from your own project.

I'm also looking for a solution to this error. In my case I get it only when my device (Android) is offline.

Anyone found a solution for this. I have been trying for the last two days and couldnt find a solution.

[cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
Steps to reproduce
it happened recently.
google products always have annoying bugs

Same here.
Used to work like a charm but not anymore.
await Firebase.initializeApp();
await authService.signinAnonymously(); // OK
var documentSnapshot =  await FirebaseFirestore.instance.collection('user').doc(deviceId).get();  // HANG
after 10 seconds or so:
The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

Same error on iOS 14 physical device. Anyone found a solution ?

Similar issue on macos: Resource temporarily unavailable

Same issue on macos with firebase_core 0.5.1 and cloud_firestore 0.14.2

Adding the network client entitlement fixed my issue (com.apple.security.network.client). I'm guessing that App Sandbox mode is the default for macos Flutter apps, so this step should probably be added to the documentation.

Hi, same error here, on physical Android devices. Firestore client throws same error randomly.
[cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

firebase_core: 0.5.1
cloud_firestore: 0.14.2

In my case, a network connection of those devices were active. In addition, I already implemented a retry process using the exponential backoff algorithm. However, this issue is not resolved.

Same here. My app was working fine until about 2 weeks ago, and now I'm getting that error about 70% of the times I try and start the app

Make sure that in your android/build.gradle there is classpath 'com.google.gms:google-services:4.3.3'
Emphasis on the version. Took me the whole day

The same is happening here https://github.com/FirebaseExtended/flutterfire/issues/2753
Sadly, it is almost impossible to work with Flutter and Firebase.

Any solution on this?

I also encountered this problem, but the issue has been resolved a few days back on one of my devices.
@Ehesp I would like to confirm that this issue was not limited to FlutterFire, native Android Firebase Apps were not working as well.
I was in contact with Firebase Support, they told me that there are some issues with ISPs on which they are working to get them resolved.
For me, things are working fine now, but once in a couple of weeks, I still face this issue for 5-10 mins. And, I have noticed that when this issue occurs, even YouTube takes a long time in loading.

@nelstein do you mean, as opposed to 4.3.4, or to 3.x?
I am also being hit hard by this error.

I downgraded to   cloud_firestore: 0.13.6
And it started working

I have the same error in one user in production. It's totally inappropriate behavior.

Facing this issue too, but only on ios simulator

[cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.

Keeps happening...!! what is going on ?

https://github.com/FirebaseExtended/flutterfire/issues/3521#issuecomment-723031748
Since last December 24, the same error suddenly stopped occurring. I have not made any configuration changes or upgraded any packages. Therefore, for reasons unknown, my Sentry client has gone quiet. What about you?

https://github.com/FirebaseExtended/flutterfire/issues/3521#issuecomment-723031748
Since last December 24, the same error suddenly stopped occurring. I have not made any configuration changes or upgraded any packages. Therefore, for reasons unknown, my Sentry client has gone quiet. What about you?

@iktakahiro
I had the issue also being solved on its own. The problem is that it's still appearing here and there which is super annoying.
It's not really explainable what the reason could be, right?

@iktakahiro
I had the issue also being solved on its own. The problem is that it's still appearing here and there which is super annoying.
It's not really explainable what the reason could be, right?

I have this issue with some users but not all. Still no fix?

I have this issue with some users but not all. Still no fix?

I have the same issue with cloud_firestore 0.16.0
This is my first time using cloud firestore, and just want to do very simple tasks(add, get) but it doesn't work. Cloud Firestore seems to be not so reliable.

I have the same issue. Same code working fine most of the time. One or two times it throws this error. Any solution for this?

Just started getting this on ipad.

Make sure that in your android/build.gradle there is classpath 'com.google.gms:google-services:4.3.3'
Emphasis on the version. Took me the whole day

Thanks a lot! I updated to 4.3.4

I just got the error in @zzterrozz comment suddenly. So I tried everything that 'maybe' solved this problem, and it works. I hope someone get rescue by this rambling solutions:

Execute rm -rf ios/Podfile ios/Podfile.lock pubspec.lock ios/Pods && flutter clean && flutter pub get
Change second line in ios/Podfile : platform :ios, '10.0' (no '#')
pubspec.yaml :

# ...
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.0

  firebase_core: ^0.7.0
  cloud_firestore: ^0.16.0+1
  firebase_auth: ^0.20.1
  firebase_crashlytics: ^0.4.0+1
  firebase_storage: ^7.0.0
  firebase_messaging: ^8.0.0-dev.15
  firebase_analytics: ^7.0.1

  intl: ^0.16.0
  equatable: ^2.0.0
  url_launcher: ^6.0.2
  device_info: ^2.0.0
  shared_preferences: ^2.0.3
  fluttertoast: ^7.1.8
  provider: ^5.0.0
  flutter_html:
  dio:
  html: 0.14.0

# ...

Today morning I upgraded to flutter 2.0. So I thought maybe it would the cause. So I tried to upgrade every firebase-related dependencies to 'null-safety version (e.g. 1.0.0)'. but it doesn't work so re-downgraded all.

flutter doctor -v

[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H15 darwin-x64, locale ko-KR)
    • Flutter version 2.0.1 at /usr/local/Caskroom/flutter/2.0.1/flutter
    • Framework revision c5a4b4029c (3 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/roeniss/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/roeniss/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/roeniss/Library/Android/sdk
    • Java binary at: /Users/roeniss/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6626763/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/roeniss/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6626763/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3.2)
    • IntelliJ at /Users/roeniss/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.54.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • iPhone 11 Pro Max (mobile) • A09F8BAA-5C6A-40E7-A3D1-BACED0EB2DBC • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 88.0.4324.192

• No issues found!

Created and used another simulator.
Every time I tried something, I fully quitted/deleted my debug app.

If someone need more information about my settings, please mention me. I'll gladly responded to you.

Cold restarting my flutter emulator solved it for me.
This can be done by setting "cold restart" in Android studio, see here: https://stackoverflow.com/questions/49949818/firebaseinstanceid-token-retrieval-failed-service-not-available

This happened to me too, but it only happened if I use release buildType, if I use debug, it works fine. It fixed after rebuilding a couple of times

That error might occur whenever device is offline and there is no data inside firestore local cache. And accordingly to firebase sdk developers, it is the normal behaviour.
So, try to wrap get calls in a try/catch, handle the failure normally and you should be fine.

@vhmolinar thanks! Can you share a link to where firebase SDK developers state that, or maybe some example code about how to work around / handle this failure, please? We're seeing this error occasionally on production / release and do not know how to work around it yet. Thanks a lot!

Moving to discussions as this isn't an issue with FlutterFire itself. Let's continue 'discussions' there.

authors: Auuufff BastianHandly Donneto ElaineSchwner IAmJulianAcosta Mayb3Nots RamanathanN Salakar StephanCassel darshankawar dgilperez evanpon febg11 findnizam iktakahiro jakesterrr123 kaiserleka marcsinner mdalihusain mtcliatt nelstein nhat-tr pravchuk roeniss shinriyo tgpsantos vhmolinar zzterrozz


text:
🐛 [firebase_admob] MobileAdEvent.clicked is shown instead of MobileAdEvent.opened on iOS.

Bug report
When an ad is displayed, the MobileEvent on iOS fires MobileAdEvent.clicked event but on Android it shows MobileAdEvent.opened (which is the correct behavior IMHO)
Steps to reproduce
Run this method on an iOS device.
void _showAd() async {
  final ad = InterstitialAd(
    adUnitId: InterstitialAd.testAdUnitId,
    listener: print,
  );
  await ad.load();
  await ad.show();
}

Output
flutter: MobileAdEvent.loaded
flutter: MobileAdEvent.clicked

Expected output
flutter: MobileAdEvent.loaded
flutter: MobileAdEvent.opened

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.24.0-10.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
[✓] VS Code (version 1.49.0)
[✓] Connected device (4 available)

Flutter dependencies
cloud_firestore: ^0.14.3+1
firebase_core: ^0.5.2+1
firebase_admob: ^0.10.2

Hi @dark-chocolate
I can't reproduce this with the official example. Both iOS and Android seem to fire MobileAdEvent.clicked when clicked on the latest master 1.25.0-5.0.pre.45 with firebase_admob: ^0.10.2.

flutter doctor -v
[√] Flutter (Channel master, 1.25.0-5.0.pre.45, on Microsoft Windows [Version 10.0.19041.630], locale et-EE)
    • Flutter version 1.25.0-5.0.pre.45 at C:\Development\flutter_master
    • Framework revision 81e1f7d1ed (5 hours ago), 2020-12-02 17:19:57 -0800
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

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

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

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (4 available)
    • Windows (desktop) • windows    • windows-x64    • Microsoft Windows [Version 10.0.19041.630]
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)        • edge       • web-javascript • Microsoft Edge 87.0.664.47

• No issues found!

Is this with real ads? Could you provide a [minimal complete reproducible code sample](https://stackoverflow.com/help/minimal-reproducible-example)?
Thank you

Hi @markusaksli-nc.
I wasn't talking about the events when an ad is clicked but the ones when an ad is displayed. Second, I tested it with a test ad. Third, above code was reproducible on its own, just call that method on a button click, for instance.

Yeah nevermind, I'm seeing this as well with the official example on the latest master 1.25.0-5.0.pre.91 with firebase_admob: ^0.10.3.

flutter doctor -v
[✓] Flutter (Channel master, 1.25.0-5.0.pre.91, on macOS 11.0.1 20B29 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-5.0.pre.91 at /Users/markus/development/flutter_master
    • Framework revision 7dade22f25 (20 hours ago), 2020-12-06 21:34:04 +0530
    • Engine revision 6491c7518f
    • Dart version 2.12.0 (build 2.12.0-120.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/markus/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Users/markus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/markus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      � https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (3 available)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 14.2
    • macOS (desktop)             • macos                                    • darwin-x64     • macOS 11.0.1 20B29 darwin-x64
    • Chrome (web)                • chrome                                   • web-javascript • Google Chrome 87.0.4280.67

• No issues found!

is that android can see "closed event" but ios cant?
as i observed, it is in ios the "clicked event" wrongly replaced "closed event"

yes, i agree
as discussion in #4390
in android seems "opened" replace "clicked" & "impression"

I'm also seeing this issue where on android the opened event is being replaced with clicked and impression event.

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.

source: gharchive/issue

authors: BraxtonKane dark-chocolate markusaksli-nc peterweb2005 russellwheatley

repo: FirebaseExtended/flutterfire

license_type: permissive

license_source: github-api


text:
🐛 [FlutterFire CLI] CLI doesn't find Firebase CLI

Bug report

macOS Monterey - version 12.3

FlutterFire CLI ask me to install Firebase CLI even if it is already installed and logged in my account.
Steps to reproduce
>>> firebase --version
10.4.0
>>> firebase login
Already logged in as <my email address>
>>> flutterfire configure
i Found 0 Firebase projects.
FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command.
COMMAND: firebase --version
ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed, see https://firebase.google.com/docs/cli#install_the_firebase_cli for how to install it.

Expected behavior
I would expect flutterfire configure to find Firebase CLI and run.

Additional context
# ~/.zshrc
export PATH="$PATH:$HOME/development/flutter/bin"
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
export PATH="$PATH":"$HOME/.pub-cache/bin"

alias firebase="`npm config get prefix`/bin/firebase"

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
>>> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.3 21E230 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.65.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Please report CLI related issues in dedicated repo: https://github.com/invertase/flutterfire_cli/issues
https://firebase.flutter.dev/docs/cli/#reporting-an-issue

authors: AdrKacz darshankawar


text:
🛑 Liga Ardyti is down

In c71f7c0, Liga Ardyti (https://ligaardyti.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Liga Ardyti is back up in 2c4653c.

repo: FirenzeDigital/upptime

license: MIT


text:
How to fix this

please help me fix this

I think that maybe that api needs a token. I've personally never used that api before, so I wouldn't know


text:
feature: sensor stub

tests: removed temp.txt file, instead now uses multiprocessing queue for events logging

test passed ok

source: gharchive/pull-request

repo: Fishonground/NF-mono


text:
Update release links to point to the tag latest

This PR updates the links named Latest stable release inside the deep dive section, solving issue #22. Please, take into account that in order to use the latest alias we should point to the original repositories instead of the mirrored one.
Although all the links are updated, these repositories do not have defined the alias latest (therefore, they redirect to their releases page):

https://github.com/ishkin/Proton/releases/latest
https://github.com/ckan/ckan/releases/latest
https://github.com/Kurento/kurento-media-server/releases/latest
https://github.com/realXtend/tundra/releases/latest

mmm I don't like entering into the game of maintaining cross-links between internal repos and the FIWARE org repos. Why don't we just point to /releases of the mirrored repo. From that link users can get the latest release.

Right now, the mirrored repository contains the releases but not the information related to them when they were drafted from GitHub. This information contains the release notes, titles, etc.
Maybe one solution is to point to /releases/latest of the mirrored repo. If the latest release does not exist, GitHub automatically redirects to the releases page.
We could add an issue in the Webhook repository for implementing the draft release feature.

ok, go ahead with that solution.
Yes, please add the webhook issue
thanks!

LGTM, landing

authors: FiwareULPGC jmcanterafonseca


text:
how to handle negation case

Hi FlagEmbedding team,
Recently,  I am trying to check if bge embeddings can be used to do text deduplication.  One problem, I have noticed is for two sentences one is negated to the other, the similarity is still high.  I know this is not a new problem.  People already discussed a lot : https://discuss.huggingface.co/t/sentence-similarity-models-not-capturing-opposite-sentences/10388.
My question is

Do the team have a plan to solve such problems
Can we try model to get similarity in range(-1, 1) so we can represent opposite semantic meaning
Do you think sentiment analysis + semantic is a good way to solve this problem.

Thanks.
See test code below.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer('BAAI/bge-base-en')

sentences_1 = ["Have you had a heart attack within the last year?", "Have you had a heart attack within the last year?"]
sentences_2 = ["Do you have a heart attack within the last year?", "Do you not have a heart attack within the last year?"]

embeddings_1 = model.encode(sentences_1, normalize_embeddings=True)
embeddings_2 = model.encode(sentences_2, normalize_embeddings=True)
similarity = embeddings_1 @ embeddings_2.T
print(np.diagonal(similarity, axis1=0))

# [0.98755527, 0.9616535 ]

Sorry, we have no plan to solve this problem.
You can try to use version 1.5 which has a more reasonable similarity distribution.
Maybe. We haven't done this, but it seems to be a possible solution.

authors: bugface staoxiao

repo: FlagOpen/FlagEmbedding


text:
feat: versioned segment override change request

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes

Environments with versioning + Change Requests enabled will now have the ability to create a change request for segment overrides

Change requests now diff all of the feature states in comparison to live, irrespective of if versioning is enabled.

Much like versioning this will tell you changed, created and unchanged values

The create feature modal toast will now differentiate when a change request was created vs editing a feature. Creating a change request will close the create feature modal

Removed a confusing unused field "hide_from_client" from feature states

Note: versioned change requests cannot be edited due to the limited use case and complexity of updating a versions feature states in a change request.

How did you test this code?

Created, edited and removed segment overrides in a change request on an environment with versioning

@kyle-ssg I've just noticed that the change request view doesn't actually show which segment a feature is being overridden by?

Also, is there anything we can do to improve the view when you remove a segment override? I'm just seeing this

Also, is there anything we can do to improve the view when you remove a segment override? I'm just seeing this

I've resolved the first point however cannot replicate the second, I see the following :

@matthewelwell both issues should be resolved now

@kyle-ssg I can't create any change requests now with segment overrides following the latest change:

Related #1204

@kyle-ssg Did we decide to explicitly exclude scheduling changes on segment overrides on environments without change requests enabled?
Editing a feature's state without change requests enabled let you schedule changes:

In comparison, editing segment overrides without change requests only let you make an immediate update:

authors: kyle-ssg matthewelwell rolodato

repo: Flagsmith/flagsmith


text:
Evaluate Flank on WSL 2

Author the user story for this feature
As a Flank user, I want to run Flank on windows using WSL so I can run tests on Windows.
Describe the solution you'd like
Flank's test suite should run via WSL 2. If it works, then we'd update the documentation to mention how to run Flank via WSL on Windows.
Describe alternatives you've considered
Running Flank natively on Windows is too different from macOS and Linux. This isn't being considered at this time.

https://github.com/marketplace/actions/setup-wsl
https://github.com/actions/virtual-environments/issues
https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#about-github-hosted-runners
https://github.com/actions/virtual-environments/issues/50

repo: Flank/flank

license_source: bigquery


text:
Can't get it to build for Android 5.1.1 SDK

I have downloaded your files as they are.  Trying to compile and install directly gives me a "Parse Error".  I thought it might be that Android Studio isn't using the correct SDK version.  I changed in the build.gradle files the SDK version to 22.  Android Studio reports that it has built the APK.  Upon attempting to install, the package installer crashes.
Any reason your prebuilt apk runs without issues and the one I am trying to build is failing?

I've got no clue. I compiled the prebuilt apk straight from the source. Everything should be there. You probably shouldn't change the targetSdkVersion.
Try this: http://stackoverflow.com/questions/29682002/error-on-installing-apk-parsing-the-package?rq=1

That seemed to solve the intial issue of the Parse Error.  However I still am unable to install the built apk.  The package manager on my Sony Android TV crashes in the middle of the install....whereas your file works without issues....only thing I have done different is remove the line "apply from: 'maven-push.gradle'" from library/build.gradle as it was failing everytime.

This is with package built on my Mac using Android Studio, as well as using BuddyBuild service.  Both packages behave the same on my TV.

Yes the maven-push.gradle will have to be removed as that's needed to update maven, but the authentication properties are not included. Does removing this line and compiling create a workable apk?

I'm unable to test this out as when I go to install the apk, my Sony Bravia's Package Installer app is crashing partway through.  Your apk from the releases section is working perfectly though.  The only source change I had made is removing that one line, so in theory, the apk should be the same.

Do you have a second Android TV device you can test your compiled app with?
On Sat, Jan 30, 2016, 9:54 PM Alan Cramer notifications@github.com wrote:

I'm unable to test this out as when I go to install the apk, my Sony
Bravia's Package Installer app is crashing partway through. Your apk from
the releases section is working perfectly though. The only source change I
had made is removing that one line, so in theory, the apk should be the
same.
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/ChannelSurfer/issues/7#issuecomment-177365283.

I do....just need to set it up again.  I'll update results here.

Has there been an update?

Haven't had a chance to get it out and plug it in.... (Real life) but all
your apks work fine on either so I am putting it down to my build setup.  I
will look into it more hopefully tonight if I can get a moment.
On 10 Feb 2016 13:50, "Nick" notifications@github.com wrote:

Has there been an update?
—
Reply to this email directly or view it on GitHub
https://github.com/Fleker/ChannelSurfer/issues/7#issuecomment-182179703.

My build works on my Nexus player perfectly which is running Marshmallow. So I'll need to look at why on my end.

authors: Fleker alanmcramer

repo: Fleker/ChannelSurfer

license: mit


text:
UI2 Cleanup and Refactor

Motivation for changes:
Cleanup UI2 code prior to restructure into plugins.
To Do:

[x] Relative Imports
[ ] Rename Common to components
[ ] Enable dynamic loading of plugins
[ ] Restructure pages to plugins
[ ] Tests

Why do we need relative imports? I personally hate typing relative imports.

@kristenmills hmmm I thought that was best prac based on the courses i've done and other code i've seen. To prevent it overriding node_modules etc? Perhaps not :S. My IDE was also complaining.

Yeah all good, ill revert it.

authors: kristenmills stevezau

repo: Flexget/Flexget


text:
SSL certificate verify failed

Connecting to my room in vim with FlooJoinRoom https://floobits.com/r/nilbus/my_room fails with:
Error connecting:[Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Connecting with http instead of https works, even though I selected Require SSL (which is perhaps a separate issue)

I am currently having this issue, don't mean to necropost but it's currently an issue for me on sublime text 3 and vim/neovim.

authors: nilbus zebralight

repo: Floobits/floobits-vim


text:
feat: import miranum-modeler and generated app structure

Issue

https://www.notion.so/miragon/Daily-Boards-18ba6e3e7b64459ea86c587128019c02?p=dd3863f6326b4f3891a2c14b5cc1d02d&pm=s

Description

Import Miranum-Modeler
Removed generated e2e test apps

Checklist

Code is easy to understand
No obvious errors or bugs
CI/CD Pipelines did run successfully
Tests were implemented
Documentation was created

Codecov Report
Base: 63.27% // Head: 64.59% // Increases project coverage by +1.31% :tada:

Coverage data is based on head (c24092f) compared to base (99bee72).
Patch coverage: 33.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
+ Coverage   63.27%   64.59%   +1.31%
==========================================
  Files          14       14
  Lines         305      305
  Branches       40       40
==========================================
+ Hits          193      197       +4
+ Misses         72       68       -4
  Partials       40       40

Flag
Coverage Δ

unittests
64.59% <33.33%> (+1.31%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

apps/miranum-cli/src/app/generate/generate.ts
70.00% <0.00%> (+10.00%)
:arrow_up:

...e/src/lib/deployment/rest/openapi/configuration.ts
10.00% <0.00%> (ø)

...num-core/src/lib/deployment/rest/openapi/common.ts
27.50% <20.00%> (ø)

...iranum-core/src/lib/deployment/rest/openapi/api.ts
23.33% <50.00%> (ø)

...ranum-core/src/lib/deployment/rest/openapi/base.ts
41.66% <100.00%> (ø)

apps/miranum-cli/src/app/generate/api.ts
89.47% <0.00%> (+10.52%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@peterhnm I added the modeler to the release pipeline

authors: codecov-commenter lmoesle

repo: FlowSquad/miranum-ide


text:
Download Fails at /api/v1/openai-assistants-file [BUG]

Describe the bug
When giving a assistants-file for Download in the Chat Conversation the download fails with 404
To Reproduce
Steps to reproduce the behavior:

Upload a assistants-file to the UI for a openAI Assistant
Sync file to OpenAI
Open a Chatbot window.
Ask for the assistance file
Klick on the Download Button
response: {…} }

code: "ERR_BAD_REQUEST"

config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }

message: "Request failed with status code 404"

name: "AxiosError"

request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }

response: Object { data: Blob, status: 404, statusText: "Not Found", … }

Expected behavior
Download of the File.
Screenshots

Flow
Setup

Installation yarn start
Flowise Version 1.6.0
OS: Ubunut
Browser Firefox

Additional context
Hosted with Plesk on a vhosts environment

Sometimes OpenAI might not generate the correct download link, is this occuring everytime or ocassionally?

should be fixed via v2 API PR

authors: AdamSiwy HenryHengZJ

repo: FlowiseAI/Flowise


text:
Agents bug with GET and POST API chain [BUG]

Hi guys,
There is an issue with agents (except 'Conversational Agent') when using GET and POST API chain.
For exemple with the GET API chain, the agent send the call url in the chat just before his response like here:

The thing that is even weirder is that in langsmith, langfuse or lunary that url doesnt appear anywhere in the response.
So I assume its caused by the 'Retrieval' function of most of the agents, that's why it works with Conversational Agent.
But for my case, I need the OpenAI Tool Agent, but same issue with it.
By the way, the issue also happen when I check "return direct" on the API chain node.
And if I don't check it, it makes 3 responses in the chat : the first is the url (or json structure with POST), the second is the API chain answer and the third is the agent response.
I don't know if anyone seen this before and found a work around.
Could it be possible to have an option to cut the 'Retrieval' function when we use agents and api chain?
Thanks guys, have a great day

Any chance it can be fixed in the next release?
Its quite a big issue for a lot de cases...
There is surely an issue in the code itself since I tested the API and it doesnt return the URL neither, only the text response from the API node, so there is something to be fixed in the code for sure.

hey @JDAR-BP to understand better, is your goal to have the LLM automatically figure out which API to call, and also able to have normal conversation whenever API call is not needed?

Heyy @HenryHengZJ thanks for the reply.
Basically yes, this is what I want to do.
As I said, the Conversationnal agent is able to do it but the thing is that this agent is not really good when it comes to work with chat history and OpenAI Tool Agent is the best to work with tools anyway.
What do you think about it?

What if you try combining OpenAPIChain with ChainTool to OpenAIToolAgent?

openaitool Chatflow.json
Klarana OpenAPI spec I was using - https://www.klarna.com/us/shopping/public/openai/v0/api-docs/

authors: HenryHengZJ JDAR-BP


text:
Transaction fails on entering otp

Flutterwave mobilemoneyug fails after OTP it says An Error occured And after inspecting the response code is 400(Bad Request)

This is an API error. Please send us the details of the transaction attempt via mail

Actually, it is solved. Thank You!


text:
P站作品列表页改为SPA导致Pxer无法使用

Bug发生时的地址
https://www.pixiv.net/member_illust.php?id=2827964&type=illust
Bug复现的方式
无法启动
触发Bug的操作和Bug发生时Pxer的状态
无法启动

pm2 挂了，启动起来PM2然后就好了。。。

repo: FoXZilla/Pxer


text:
Installer just deleted the previous version and had a problem installing.

I get this error message. Previous version is gone, new can't install. Now I need to make a full restore of my System to roll back.

2022-03-20T20:42:36.973Z installieren : node-red-contrib-huemagic 4.2.1
2022-03-20T20:42:37.065Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-huemagic@4.2.1
2022-03-20T20:42:41.817Z [out]
2022-03-20T20:42:41.817Z [out] up to date in 4s
2022-03-20T20:42:41.871Z rc=0

2022-03-20T20:46:29.552Z installieren : node-red-contrib-huemagic 4.2.1

Still can't update
Restored a backup from yesterday, reinstalled Redmatic / Node Red and tried directly to install the update. Same issue again. Old version deleted, new one can't get installed. I stay with 4.20 for now.

It must be an issue with Node.JS or Node-RED. This is not controlled by HueMagic :/

Hi,
andere contribs lassen sich updaten oder neue installieren. Keine Probleme.
Geht es, das ich Node red stoppe und dann die aktuellen Dateien (4.1.0) mit den neuen aus der 4.2.1 überschreibe? Ich habe vor nem Monat auch einfach die Datei für die scenen händisch geändert und dann überkopiert.
Gruß
Andreas

Am 20.03.2022 um 22:59 schrieb Foddy @.***>:

It must be an issue with Node.JS or Node-RED. This is not controlled by HueMagic :/
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

authors: Foddy andesse

repo: Foddy/node-red-contrib-huemagic


text:
Vergos HP bar

Vergos HP bar displayed with the old Boss HP bar
https://i.imgur.com/8eDH7vF.png
This is from phase 4, idk about other phases

Yeah, that's specific to phase 4.

Oh i thought vergos gonna have the new hp bar style too.
If its gonna stay can you scale it up a bit compared to other bosses his hp bar is tiny

It will have new style too soon :tm:


text:
Customize player control

Hi,
I have a couple of questions, with regards to configuring the player control view with custom icon, color, etc..
a) Currently the player control displays the download information like - 40Kb/s - Is there any way to disable that?

b) How to show a volume button on player control (without opening full screen)?

c) How can I change the player slider color & custom icon for full-screen?
Thanks.

Network speed monitor and slider color is readonly in FWPlayerControlView, so you cannot change them.
However, you can create your own player control view by just create a UIView that inherits the protocol FWPlayerMediaControl.

authors: FoksWang rafsanahmad

repo: FoksWang/FWPlayer


text:
Issues with @type declarations

Is this the latest?  https://www.npmjs.com/package/@types/croppie
It only goes up to 2.5, and appears to be out of date. For instance, options.url does not exist.
Additionally, jQuery syntax does not exist here.
Please let me know if I'm just missing the latest declarations or if Croppie just isn't supporting TypeScript - thanks for the great project!

@kinetiq
As types are open source and created by the community you can go here
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/croppie
and update the types to the latest updates.

authors: kinetiq michael-letcher

repo: Foliotek/Croppie


text:
Feature updates

Description:

Refactor email service and add email logging
New PDF service
Postgres compatibility (rename of PRIMARY indexes)
New wholesale marketplace (buyer logbook for bids, seller logbook for offers, order dashboard for marketplace, my orders logbook)
New Produce Price PDF
New homepage dashboard
Updated web app view i.e. removed website routes (e.g. about us, contact us etc)

@DanielmAaron FYI - this branch is being deployed to dev (http://foodprintapp.com/) and then will go to live.foodprintlabs if it passes.

repo: FoodPrintLabs/foodprint


text:
sync-request is making code run too slow

While running sync-request for scrapping web pages in 'for' loop, it is taking hell lot of time for each iteration/request. If I use default async request socket hangs up.
At start of execution sync-request consoles "native module could not be found so busy waiting will be used for spwan-sync"

sync-request is not intended to be performant.  It is especially slow when running in old versions of node.js on windows or on environments without support for native modules.
Unfortunately this slowness cannot be fixed.  Instead you should use async requests.  These even allow you to make slow requests faster by running them in parallel.
I suggest posting your async attempt on stack overflow and asking why it doesn't work.  If nobody gives you a decent answer, feel free to post a link here and I'll take a look.

I've tried another module (https://github.com/dhruvbird/http-sync) and it is 10 times faster..

That's probably because that library is using libcurl internally, so it doesn't pay the cost of setting up an extra cost of starting up a second node.js process.  The issue with that approach is that it's much harder to maintain exactly identical behaviour across platform (try getting http-sync to work on Windows) and near impossible to get it to behave exactly the same as async requests in node.js.  Because this library uses then-request, it has a perfectly consistent API.

authors: ForbesLindesay NameFILIP ximrx

repo: ForbesLindesay/sync-request


text:
Fix some regression tests with python 3.6.2

Currently some regression tests fail with python 3.6.2:
======================================================================
ERROR: testBadKey (reader_test.YamlArtifactsReaderTest)
Tests if top level keys are correct.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/wrkdirs/usr/ports/security/py-artifacts/work/artifacts-20170909/tests/reader_test.py", line 166, in testBadKey
    _ = list(artifact_reader.ReadFileObject(file_object))
  File "./artifacts/reader.py", line 347, in ReadFileObject
    artifact_definition = self.ReadArtifactDefinitionValues(yaml_definition)
  File "./artifacts/reader.py", line 207, in ReadArtifactDefinitionValues
    raise errors.FormatError('Undefined keys: {0:s}'.format(different_keys))
TypeError: unsupported format string passed to set.__format__

======================================================================
ERROR: testBadSupportedOS (reader_test.YamlArtifactsReaderTest)
Tests if supported_os is checked correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/wrkdirs/usr/ports/security/py-artifacts/work/artifacts-20170909/tests/reader_test.py", line 197, in testBadSupportedOS
    _ = list(artifact_reader.ReadFileObject(file_object))
  File "./artifacts/reader.py", line 347, in ReadFileObject
    artifact_definition = self.ReadArtifactDefinitionValues(yaml_definition)
  File "./artifacts/reader.py", line 234, in ReadArtifactDefinitionValues
    self._ReadSupportedOS(artifact_definition_values, artifact_definition, name)
  File "./artifacts/reader.py", line 132, in _ReadSupportedOS
    'Invalid supported_os type: {0:s}'.format(type(supported_os)))
TypeError: unsupported format string passed to type.__format__

======================================================================
ERROR: testInitialize (source_type_test.WindowsRegistryValueSourceTypeTest)
Tests the __init__ function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/wrkdirs/usr/ports/security/py-artifacts/work/artifacts-20170909/tests/source_type_test.py", line 93, in testInitialize
    key_value_pairs=[key_value_pair])
  File "./artifacts/source_type.py", line 314, in __init__
    '{0:s}').format(key_value_pairs)
TypeError: unsupported format string passed to list.__format__

This change is

Thx for the proposed changes. Some minor nits to make the behavior more explicit.

repo: ForensicArtifacts/artifacts


text:
Update to 0.15

I don't know the rendering pipeline well enough to optimize anything, but these changes make it compatible with 0.15

Thank you!


text:
[Bug]: activities card broken in some device

Description
activity card broke in when the screen is under 1279 <= px => 525

To Reproduce
play with height. and solve✔✔
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

assign me @tobySolutions

don't close @tobySolutions , I have to fix this😂😂omg

Fixed by #649! Thanks Sakib! Great job!

authors: devvsakib tobySolutions


text:
Native Components will throw an warning and probably not work

Trying to use : https://www.webcomponents.org/element/@alenaksu/json-viewer
but getting the following warning:
[vue warn]: Failed to resolve component: json-viewer
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
  at <Anonymous>
  at <AsyncComponentWrapper>
  at <Anonymous>
  at <AsyncComponentWrapper>
  at <App>

There is no way to pass the compiler option?
https://vuejs.org/api/application.html#app-config-compileroptions
app.config.compilerOptions.isCustomElement = (tag) => {
    if(tag == 'json-viewer') return true
    return false
  }

Hi lfmunoz, I will add a new isCustomElement option.

BTW, note that app.config.compilerOptions only works in full build (see https://vuejs.org/api/application.html#app-config-compileroptions)

Thanks you isCustomElement in compilerOptions is working for me.

authors: FranckFreiburger lfmunoz


text:
Slasher Flick weird test wording

Challenge http://www.freecodecamp.com/challenges/bonfire-slasher-flick has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
function slasher(arr, howMany) {
  // it doesn't always pay to be first
  var a=arr.slice(howMany);
  return a;
}

slasher([1, 2, 3], 2);

I passed this challenge without assigning the condition n>=array.length

Hey thanks for posting!
Not sure if this is a bug though....the code that you wrote shouldn't need that check because when howMany >= arr.length, arr.slice(howMany) correctly returns an empty array.

You code is correct. The wording on the tests are weird. They should say exactly the expected output not what is should be when n meets some condition.
Anyone want to submit a PR to fix the test wording?

Closing this issue as https://github.com/FreeCodeCamp/FreeCodeCamp/pull/2454 is merged.

authors: BerkeleyTrue JustMD benschenker bugron

repo: FreeCodeCamp/FreeCodeCamp


text:
Challenge "Check for Palindromes" has a bug

Check for Palindromes

https://www.freecodecamp.com/challenges/check-for-palindromes#?solution=function palindrome(str) {
  %2F%2F Good luck!
  %2F%2Fstr %3D str.match(%2F%2Fgi)%3B
  %2F%2Fstr %3D str.join("")%3B
  %2F%2Fstr %3D str.replace(%2F\.%2Fgi%2C"")%3B
  if (str %3D%3D "0_0 (%3A %2F-\\ %3A) 0-0")%7B%0A%20%20%20%20%2F%2Freturn%20true%3B%0A%20%20%7D%0A%20%20return%20str%3B%0A%20%20str%20%3D%20str.replace(%2F%5Cs%2Fgi%2C%22%22)%3B%0A%20%20str%20%3D%20str.toLowerCase()%3B%0A%20%20str%20%3D%20str.replace(%22%2C%22%2C%22%22)%3B%0A%20%20str%20%3D%20str.replace(%22%2C%22%2C%22%22)%3B%0A%20%20str%20%3D%20str.replace(%22.%22%2C%22%22)%3B%0A%20%20var%20i%20%3D%20str.length%20-%201%3B%0A%20%20var%20flag%20%3D%200%3B%0A%20%20for%20(var%20j%20%3D%200%3B%20j%20%3C%20i%3B%20j%2B%2B)%7B%0A%20%20%20%20if%20(str%5Bj%5D%20%3D%3D%20str%5Bi%20-%20j%5D)%7B%0A%20%20%20%20%20%20flag%20%3D%200%3B%0A%20%20%20%20%7D%0A%20%20%20%20else%7B%0A%20%20%20%20%20%20flag%20%3D%201%3B%0A%20%20%20%20%20%20break%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20if(flag%20%3D%3D%3D%200)%7B%0A%20%20%20%20return%20true%3B%0A%20%20%7D%0A%20%20return%20false%3B%0A%7D%0A%0Apalindrome(%220_0%20(%3A%20%2F-%5C%20%3A)%200-0%22)%3B%0A
Issue Description

The last situation of the test which shows “palindrome("0_0 (: /-\ :) 0-0") should return true.” can not be checked well. Because the string "0_0 (: /-\ :) 0-0" will become "0_0 (: /- :) 0-0" when it is given to the function palindrome().
I think it is because backslash “\” is a special character and it will bring ambiguity in the function.
Finally I reproduce it by some code as following.
if (str == "0_0 (: /-\ :) 0-0"){
    return true;
  }

Browser Information

Browser Name, Version:  Chrome,49.0.2623.112 m
Operating System: Windows 8
Mobile, Desktop, or Tablet: Desktop

Your Code
// If relevant, paste all of your challenge code in here
function palindrome(str) {
  // Good luck!
  //str = str.match(//gi);
  //str = str.join("");
  //str = str.replace(/\./gi,"");
  if (str == "0_0 (: /-\ :) 0-0"){
    return true;
  }
  str = str.replace(/\s/gi,"");
  str = str.toLowerCase();
  str = str.replace(",","");
  str = str.replace(",","");
  str = str.replace(".","");
  var i = str.length - 1;
  var flag = 0;
  for (var j = 0; j < i; j++){
    if (str[j] == str[i - j]){
      flag = 0;
    }
    else{
      flag = 1;
      break;
    }
  }
  if(flag === 0){
    return true;
  }
  return false;
}

palindrome("0_0 (: /-\ :) 0-0");

Screenshot

@Yasic you need to remove more characters from that string.

You'll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and...

If you are still stuck with this challenge, please ask questions to the Help Room. Happy coding!

authors: Yasic erictleung


text:
how come when i hit run test it only bounce the buttons but does not go on to the next one? O and by the way i did reload the hole pageso i dont know what to do.

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code
// If relevant, paste all of your challenge code in here

Screenshot

@the18wats thanks for the issue but if you get stuck with a challenge, please ask questions to the Help Room. Happy coding!

o good idea thxs

there's a problem there it says this Secure Connection Failed


text:
Fix bug 8792

Pre-Submission Checklist

[ x] Your pull request targets the staging branch of FreeCodeCamp.
[ x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #8792

Description

fix bug 8792 by changing           "The computer has 3 basic parts.",
to   "The computer only has 3 basic parts.",

@estherfang09 Please rename your commit to something more relevant like Fixed test on the 4 Basic Parts of a Computer challenge. Use commit --amend to solve this.

@estherfang09 You seem to have some unneeded commits. Please drop the following commits using git rebase -i HEAD~3 and changing squash to drop:

Fixd test on the 4 Basic Parts of a Computer Challenge
Merge branch 'fix/8792' of https://github.com/estherfang09/FreeCodeCamp into fix/8792

To change the commit name, just edit the original commit using git commit --amend.

Sorry, I am new to git. After doing the git commit --amend. Do I need to re-push to my local branch?

@estherfang09 Yeh use git push -f

@estherfang09 Unfortunately, you seem to have pushed another unwanted commit. Please git rebase -i HEAD~2 and remove the unwanted commit. The force push using git push -f Thanks!

So Do I need to drop the second commit?

@estherfang09 Yeh drop Removed /labs from about page

Thx! Hope this time it works

:sparkles: :sparkles: LGTM :+1: :sparkles: :sparkles:
:tada: Thanks for contributing @estherfang09 and congratulations on your first PR submission to FreeCodeCamp! :tada:


text:
Add generation of enhanced induction schemes

Issue
closes #159
Description of the Change
To state the additional induction hypotheses, for any type with at least one type variable T a1 ... an an inductive type ForT of the following type is declared.
Inductive ForT (Shape : Type) (Pos : Shape -> Type) (a1 ... an : Type) (P1 : a1 -> Prop) ... (Pn : an -> Prop)
    : T Shape Pos a1 ... an -> Prop
  := ...

Also for any 1<=i<=n an inductive type InT_i of the following type is declared.
Inductive InT_i (Shape : Type) (Pos : Shape -> Type) (a1 ... an : Type)
    : ai -> T Shape Pos a1 ... an -> Prop
  := ...

The meaning of those types is the same as for ForFree and InFree:

ForT Shape Pos a1 ... an P1 ... Pn x states that Pi y holds for any y : ai, 1<=i<=n, that is somehow included in x
InT_i Shape Pos a1 ... an y x states that y is somehow included in x

To formalize the connection between those types, the following lemma is also generated for the type T.
Lemma ForT_forall  (Shape : Type) (Pos : Shape -> Type) (a1 ... an : Type) :
  forall (P1 : a1 -> Prop) ... (Pn : an -> Prop) (x : T Shape Pos a1 ... an),
    ForT Shape Pos a1 ... an P1 ... Pn x
    <->
    (  (forall y : a1, InT_1 Shape Pos a1 ... an y x -> P1 y)
       /\
       ...
       /\
       (forall y : an, InT_n Shape Pos a1 ... an y x -> Pn y)
    ).

As an example consider the following definition of a list.
data MyList a = MyNil | MyCons (a, MyList a)

Inductive ForMyList (Shape : Type) (Pos : Shape -> Type) (a : Type) (P : a -> Prop)
    : MyList Shape Pos a -> Prop :=
  | ForMyList_nil : ForMyList Shape Pos a P (@myNil Shape Pos a)
  | ForMyList_cons : forall (fp : Free Shape Pos (Pair Shape Pos a (MyList Shape Pos a))),
      (* The property which has to hold for the constructor argument [fp] *)
      ForFree Shape Pos (Pair Shape Pos a (MyList Shape Pos a))
        (* The property which has to hold for any pair in the monadic value *)
        (ForPair Shape Pos a (MyList Shape Pos a)
           (* The property which has to hold for any element in the first position of the pair *)
           P
           (* The property which has to hold for any list in the second position of the pair *)
           (ForMyList Shape Pos a P)
        )
        (* Apply the [ForFree] property to the constructor argument *)
        fp ->
     ForMyList Shape Pos a P (@myCons Shape Pos a fp)

Inductive InMyList_1 (Shape : Type) (Pos : Shape -> Type) (a : Type)
    : a -> MyList Shape Pos a -> Prop :=
  | InMyList_1_cons_fp_1 : forall  (x   : a),
                                   (p  : Pair Shape Pos a (MyList Shape Pos a))
                                   (fp  : Free Shape Pos (Pair Shape Pos a (MyList Shape Pos a))),
      (* The element [x] is in the first position of the pair [p] *)
      InMyPair_1 Shape Pos a (MyList Shape Pos a) x p ->
      (* The Pair [p] is in the monadic value [fp] *)
      InFree Shape Pos (Pair Shape Pos a (MyList Shape Pos a)) p fp ->
      InMyList_1 Shape Pos a x (@myCons Shape Pos a fp)
  | InMyList_1_cons_fp_2 : forall  (x   : a),
                                   (l : MyList Shape Pos a)
                                   (p  : Pair Shape Pos a (MyList Shape Pos a))
                                   (fp  : Free Shape Pos (Pair Shape Pos a (MyList Shape Pos a))),
      (* The element [x] is in the list [l] *)
      InMyList_1 Shape Pos a x l ->
      (* The list [l] is in the second position of the pair [p] *)
      InMyPair_2 Shape Pos a (MyList Shape Pos a) l p ->
      (* The Pair [p] is in the monadic value [fp] *)
      InFree Shape Pos (Pair Shape Pos a (MyList Shape Pos a)) p fp ->
      InMyList_1 Shape Pos a x (@myCons Shape Pos a fp)

With those definitions induction schemes are generated and proven.
Fixpoint MyList_Ind (Shape : Type) (Pos : Shape -> Type) (a : Type)
  (P : MyList Shape Pos a -> Prop) ->

  (H_nil :
    (* This is the goal for the case that a list is empty *)
    P (@myNil Shape Pos a)) ->

  (H_cons : forall (fp : Free Shape Pos (Pair Shape Pos a (MyList Shape Pos a))),
    (* This [ForFree] property is the induction hypothesis for the case that a list is nonempty *)
    ForFree Shape Pos  (Pair Shape Pos a (MyList Shape Pos a))
      (ForPair Shape Pos a (MyList Shape Pos) NoProperty P) fp ->
    (* This is the goal for the case that a list is nonempty *)
    P (@myCons Shape Pos a fp)) ->

  forall (l : MyList Shape Pos a), P l.
Proof.
  ...
Qed.

Alternate Designs
The first design for the ForT- properties was to have such an property for every type variable of T.
Inductive ForT_i (Shape : Type) (Pos : Shape -> Type) (a1 ... an : Type) (P : ai -> Prop)
    : T Shape Pos a1 ... an -> Prop
  := ...

With this design there were multiple simple ForT_i_forall lemmas instead of one complex lemma. As those ForT_i properties may depend on each other, they have to be defined in a single induction sentence. This is however not accepted by Coq because the arguments (P : ai -> Prop) have different types for different i. Moving these args on the right side of the colon leads to violations of the strict positivity restriction for Coq types in the further usage.
Inductive ForT_i (Shape : Type) (Pos : Shape -> Type) (a1 ... an : Type)
    : forall (ai -> Prop), T Shape Pos a1 ... an -> Prop
  := ...

Possible Drawbacks

Verification Process

Additional Notes

At the moment the following restrictions are made when generating properties and induction schemes:

Mutual recursion is ignored in properties.

If we have mutual recursive typesdata Foo a = F (Bar a)
data Bar a = B (Foo a)

the ForFoo and InFoo properties will not make statements about the values of type a included in Bar, this applies symmetrically to ForBar and InBar.
The same applies to mutual recursion with the same type but changed type variables.data Foo a b = F (Foo b a)

The reason for this is that allowing this kind of recursion would make it necessary for the proofs of the forall lemmas to be fixpoint proofs and make them way harder than they are now, especially when using the auto tactic which tends to use the fixpoint hypothesis as early as possible and produce ill-formed recursive proofs.
For induction scheme definitions mutual recursion does not matter, as types that would produce mutual recursive induction schemes contain non strictly positive occurrences and are not valid types in Coq.Inductive Foo (a : Type) : Type := F : Bar (Foo a) -> Foo a
with Bar (a : Type) : Type := B : Foo a -> Bar a.

The search depth for recursion is limited.

The serach depth is limited by the value of maxDepth which is currently set to 1. This means that an induction hypothesis for a type T will only be generated for a constructor argument, if the constructor argument has type T (depth 0) or the constructor argument has type TCon a_1 ... a_n and a_i = T for some i.
The reason for this limitation is the time Coq needs to verify that the fixpoint proof of an induction scheme is well-formed.
This also limits the depth were recursive occurrences can be handled by the ForT and InT properties, as the proof of the ForT_forall lemma is build on an induction over T and needs a induction hypothesis to handle those recursive occurrences.

The generation of those properties, induction schemes and forall lemmas is fully implemented but the proofs of the induction schemes and forall lemmas are not safe to always succeed and need further work. E.g. the unpacking of complex For properties of the induction hypotheses in the proofs of induction schemes does not reach deeply enough and therefore the proof of the induction scheme for Bar fails in the following example.
data Foo a = F [a]
data Bar a = B (Foo (Bar a))

This is especially a problem because at the point in the proof, where the unpacking of ForFoo is not generalized enough and fails, the goal can be 'solved' by applying fixpoint hypothesis. This however means that auto will do exactly that, no matter which hints are given in the hint database, and produce an ill-formed recursive proof. To solve this problem, the generated hints have to get more complex and need more tactics to be referenced directly in the hint instead of relying on auto.

repo: FreeProving/free-compiler


text:
media play

When I use freerdp to connect to win7, the full-screen playback of win7 local video is not good. When I play the local video on small screen, the effect is very good.why?

my freerdp version is 2.0.0-dev5
xfreerdp -u xxx -p xxx -v xxx -f -sound

Can you give us more details, what do you mean by "is not good" ? What is your screen resolutions, your hardware ? We need more information to give an accurate answer.

When I use freerdp to connect to win7, the local video of win7 is very stuttering when playing in full screen, but not when playing in small screen
My win7 resolution is 1920*1080

authors: hardening lugeliu

repo: FreeRDP/FreeRDP


text:
National chars mangled after reconnected session

Describe the bug
Hi guys.
With PL keyboard with British layout and the same on a remote Ubuntu - when I first log in then I get national chards as expected, but after a disconnection (not a logout) every subsequent session/connection has national chars mangled/gone haywire.
Then in such "mangled" connection I logout on the remote Ubuntu, (re)login a new session and all is (back to) normal.
Reproduces every time. Perhaps other languages too.
Application details
freerdp-2.11.2-1.fc38.x86_64
xrdp           0.9.17-2ubuntu2 amd64
Environment (please complete the following information):

client Fedora
server Ubuntu

sounds more like an issue of xrdp?
if what I got is correct (e.g. you connect with xfreerdp ) and that terminates and you connect again?
or are you talking about e.g. loss of network and auto-reconnect kicking in?

Yes, disconnect in orderly fashion but, I'd presume being disconnect due to broken network would be the same valid case.
In think it would be right to generalize: disconnect(chars mangled) VS log out&in(chars a ok).

@lejeczek well, yes and no.
reconnect does reset a lot of stuff within freerdp that might break.
a orderly disconnect with program termination on the other hand guarantees that at next connect the exact same settings apply for connection establishment (given same command line/rdp file)
so, what is relevant here:

FreeRDP (or any RDP client in that case) does send a keyboard layout to the server initially. (that might be respected or ignored by the server)
FreeRDP does reverse map key symbols to scancodes (this is entirely in the client, no interaction with the server happens for that)
These scancodes are sent to the server
The server then applies the keyboard layout set there (might be the one you sent or an entirely different one)

so, an easy way to test this would be to use a different (not FreeRDP based) client for connection and try this disconnect situation. (mstsc if possible, that is not based on FreeRDP and does normally use scancode input too, as there is another method mostly used by mobile clients, the unicode input)

I'll try, though I have no Windows access.
Side note - c&p: fedora->ubuntu works / fedora<-ubuntu does not

so closing as 'nothing we can fix on our end'

authors: akallabeth lejeczek


text:
[client,sdl] Add WSAStartup

Windows requires WSAStartup to be called for the client to work.

WSAStartup and WSACleanup also exists in winpr, so no need for the #ifdef _WIN32.

authors: akallabeth hardening


text:
Coin Control Tree Mode

Tree mode shows the interest figure as a header rather than the total amount.

on it...

authors: FreeTrade Fuzzbawls

repo: FreeTrade/HOdlcoin


text:
onConfigurationChanged()怎么更新语言？

Resources res = getResources();
DisplayMetrics dm = res.getDisplayMetrics();
Locale locale = new Locale(languageToLoad);
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
res.updateConfiguration(conf, dm);
languageToLoad这个参数是怎么得到的?
config.locale = locale;
res.updateConfiguration(newConfig, dm);
而且后两行已经提示deprecated了.
谢谢

非常感谢你提出的疑问
languageToLoad 这个是我没写清楚
updateConfiguration 这个方法在 Api 25 是已经过时了, 我找到一个新的替换实例, 你可以去看一下
这两点我都在博文中更新说明了, https://github.com/Freelander/Blog/blob/master/201708/01.md

repo: Freelander/Blog


text:
Added isLogsExpanded and isLogOrderReversed flags to TalkerScreen widget

Be able to initially set  isLogsExpanded and isLogOrderReversed when open the TalkerScreen

Hello @Ilushnik !
Thank you so much for this contribution ❤
Can you fix review issues to merge this PR ?

authors: Frezyx Ilushnik

repo: Frezyx/talker


text:
🛑 Network is down

In 94c3e7f, Network (https://mycloud-jkt.zettagrid.id/tenant/Org_cloud60988) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Network is back up in d23554c.

repo: FrideyAlpha/uptime-setditjen


text:
Linter - fix escaping the php binary

Fixes ##1364
Replaces #1366 and #1403

Thank you @GrahamCampbell.

Thanks for finishing this off for me. ;)

authors: GrahamCampbell keradus

repo: FriendsOfPHP/PHP-CS-Fixer


text:
Missing api-platform CVE

Missing https://github.com/advisories/GHSA-vr2x-7687-h6qv
Is this repository still active and is it safe to use symfony's security:checker cli?

Missing GHSA-vr2x-7687-h6qv

Please send a PR.

Is this repository still active

Yes.

and is it safe to use symfony's security:checker cli?

Sure, but there's also composer audit now which uses this repository as one of its sources.

authors: derrabus rmikalkenas

repo: FriendsOfPHP/security-advisories

license: unlicense


text:
Kein forced_root_block: false mehr in in TinyMCE 6 :-(

Es ist keine gute Nachricht: TinyMCE 6 hat die Konfiguration forced_root_block: false gestrichen.
Man kann das hier nachlesen: https://github.com/tinymce/tinymce/discussions/7342
Da dies eines der wichtigen Features und Gründe für die Verwendung dieses Editors war (wie auch in der Diskussion zu lesen ist), kann momentan ein Umstieg auf die Version 6 nicht uneingeschränkt empfohlen werden. Daher bleibt der beta Status erstmal erhalten, auch wenn das Addon selbst sonst gut läuft.

Sehe hier kein Problem. P durch br zu ersetzen ist ein no-go.

Wir verwenden den Editor auch, um dem Nutzer Eingaben in Bereichen zu ermöglichen, wo kein  erwünscht ist. z.B. Headlines, Anlesetexte etc. Hier wird der Output mit dem block-level-Tag umgeben.
So hat der Nutzer im Editor aber weiterhin die Möglichkeit, lang-Attribute zu setzen, mit  Umbrüche an gewünschten Stellen hinzuzufügen, Links einzubauen (im Anlesetext), auf die Sonderzeichen-Liste zurückzugreifen und ggf. em/b.-Markierungen einzufügen.

P durch br zu ersetzen ist ein no-go.

Sehe ich nicht so.
Manchmal benötigt man tatsächlich einen weichen Umbruch.
@dtpop Ich kenne den Tiny nicht, aber im Redactor wird auf enter ein
 erstellt und auf ein control+ enter ein
 (weicher Umbruch).
Eventuell lässt sich damit das Problem beheben.

Ich kenne den Tiny nicht, aber im Redactor wird auf enter ein  erstellt und auf ein control+ enter ein  (weicher Umbruch).
Das ist auch im Tiny und anderen Editoren so. Es geht hier darum, dass ein Wrapper-Container erzwungen wird, bei Tiny ist es p. Und das sich Tiny als HTML-Editor versteht, hält er sich an der Konvention zumindest einen Container einzusetzen. Soweit ich die Diskussion bei Tiny verfolgen konnte, scheint es aber möglich anstelle eines p, z.B. ein DIV zu erzwingen.

Doofe Frage, aber wie kommt bei Dir
Jetzt kommt der Text aus Tiny
zustande?

Im Ausgabemodul wird

REX_VALUE[1]

notiert.

und warum? ,.. dann macht man doch n normales Textfeld für die Abfrage. Hier sehe ich nun wirklich keinen Sinn für den WYSIWYG.

Siehe: https://github.com/FriendsOfREDAXO/tinymce/issues/59#issuecomment-1535774865

ist aber nicht der Zweckt dieses Editors. Es ist nun mal n HTML-Editor.

Verstehe ich gerade nicht: die Eingabe wird doch in HTML umgesetzt.
Wie gehst Du denn z.B. vor, wenn Du eine Überschrift eines Moduls in einer barrierefreien Webseite mit einem lang-Attribut im Span für ein verwendetes englisches Wort versehen möchtest?

Xoutputfilter nutzen und solche Worte dort pflegen

Frage, ist das wirklich ein Issue? Das liegt beim Vendor, oder sehe ich das falsch?

ich werde erstmal die vorhandenen Issues entfernen und einen Stand fertigstellen, mit welchem man ein Release machen kann. Im Moment ist die aktuelle Version von tinymce 6.8.3 .. deswegen verhält sich vielleicht auch einiges schon anders

authors: alexwenz dergel dtpop eaCe skerbis tbaddade

repo: FriendsOfREDAXO/tinymce


text:
Please do a release of your ansible-role-chrony

Hi,
Nice ansible role, please do a release tag on it so the user can do a version in requirements.yml.  It will help when you make changes and the user can decide to upgrade their code to your new patch or changes on a schedule, not just a thing that happens.
Thank You, GearBoxScott

Hi @gearboxscott,
Thanks for this. I'll definitely do it as soon as the tests are passing again.
I need to invest some time in it.
I'll let this open as a reminder and close it when it'll be done. I hope soon :)

Fixed :)
Thanks again for your interest !

@Frzk hi- is https://github.com/Frzk/ansible-role-chrony/commit/a7dd46897834c87e5af8dcd5a2522ca1a510a076 no longer available via ansible galaxy?

@srl295 : I’m afraid it’s not. Is there anything specific to this version that you’re missing with the current one ?

@srl295 : I’m afraid it’s not. Is there anything specific to this version that you’re missing with the current one ?

Nothing specific, just broke my build when it wasn't available

@srl295 : I’m afraid it’s not. Is there anything specific to this version that you’re missing with the current one ?

Nothing specific, just broke my build when it wasn't available

Looks like I can work around it with this:
-- name: frzk.chrony
-  version: a7dd46897834c87e5af8dcd5a2522ca1a510a076
+- src: https://github.com/frzk/ansible-role-chrony
+  version: a7dd46897834c87e5af8dcd5a2522ca1a510a076
+  name: frzk.chrony

Nothing specific, just broke my build when it wasn't available

Oh, I'm sorry to read that :-/
For now on, I'll try to publish the changes in a development branch and merge them into main along with a new (tagged) release.
Would it work for you ?

Nothing specific, just broke my build when it wasn't available

Oh, I'm sorry to read that :-/
For now on, I'll try to publish the changes in a development branch and merge them into main along with a new (tagged) release.
Would it work for you ?

sounds good. It was just the deleting of old items that was a challenge.  In any event, the above workaround worked for me until I can try out your 1.0.0 !

authors: Frzk gearboxscott srl295

repo: Frzk/ansible-role-chrony


text:
Use hex name by default instead of bech32

Motivation
Using "fuel1...." is bad UX for 99% of users who will be coming from Ethereum. Where the same mnemonic will result in an inconsistent experience. When bridging assets etc, it can lead to confusion if the assets are really going to the right place etc.
These are the generated from the same private key:

I recommend following in the path of other rollups in keeping the address the same since users are already familiar with that.
This is one of the biggest UX hurdles that the cosmos ecosystem faces where each chain decides its prefix and causes inconsistent naming, "cosmos1a...", "osmo1b...", "akash1c..." for the same wallet. Ask anyone in that ecosystem, if they could redo it from the beginning and use "0x..." they definitely would.
EVM chains avoid this by keeping the same "0x....." address. There is a 1:1 between the hex address and the bech32 address so let's make sure we aren't introducing unnecessary friction for user adoption and experience.
I would love to hear the team's thoughts on this. I completely understand the desire to be unique in this sense, but it comes at the cost of UX and friction, which is a hard less that the cosmos ecosystem has learned.
Usage example
No response
Possible implementations
No response

Hi @diyahir thanks for the issue to improve the Fuel Network and our current Wallet.
Some things to consider;

On Fuel address are longer by default, not matching the HEX address from ETH, even if we just show the HEX it would be different from ETH.
The bech32 addresses improve the UX enabling validating network, typos directly on the address.

For now we don't have plans to move out from bech32 addresses but on the Wallet we plan to add support for visualizing the HEX address. #800

I would disagree with the 2nd point on improving UX, additionally, there's a one-to-one mapping between hex and bech32, so it's unclear how they don't match, can you link me to more information on this?
I think this is a big mistake, even if it seems irrelevant

authors: diyahir luizstacio

repo: FuelLabs/fuels-wallet


text:
Bump AMM

Type of change

Improvement (refactoring, restructuring repository, cleaning tech debt, ...)
Documentation

Changes
The following changes have been made:

Bump application to forc 0.40.1 and fuel-core 0.18.1
Bump test harness to fuels 0.42.0
Implement early SRC-2; Inline Documentation Standard

Related Issues

Closes #648

This PR has begun to implement the SRC-2 standard. The full implementation will be in a following PR

repo: FuelLabs/sway-applications


text:
gradio报错

在setup之后运行python3 webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
报错
(cosyvoice) (venv) F:\ai voice\CosyVoice>python3 webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
Traceback (most recent call last):
File "F:\ai voice\CosyVoice\webui.py", line 17, in
import gradio as gr
ModuleNotFoundError: No module named 'gradio'
这个是因为什么导致的？
之前的install prerequisite的commandoutput是。 都显示gradio已经安装
Installing collected packages: wget, sortedcontainers, pytz, pydub, mpmath, crcmod,
antlr4-python3-runtime, addict, zipp, xxhash, websockets, urllib3, ujson, tzdata, typing-extensions, tomlkit, tomli, threadpoolctl, tensorboard-data-server, sympy, soupsieve, sniffio, six, simplejson, shellingham, semantic-version, safetensors, ruff, ruamel.yaml.clib, rpds-py, regex, pyyaml, python-multipart, python-dotenv, PySocks, pyparsing, pygments, pycryptodome, pycparser, pyasn1, pyarrow-hotfix, pyarrow, protobuf, propcache, platformdirs, Pillow, packaging, orjson, oauthlib, numpy, networkx, narwhals, msgpack, more-itertools, mdurl, markupsafe, markdown, llvmlite, kiwisolver, joblib, jmespath, importlib-resources, idna, httptools, h11, grpcio, gast, fsspec,
frozenlist, fonttools, filelock, ffmpy, exceptiongroup, einops, dnspython, dill, decorator, Cython, cycler, colorama, charset-normalizer, certifi, cachetools, audioread, attrs, async-timeout, annotated-types, aiohappyeyeballs, aiofiles, absl-py, yapf,
werkzeug, typeguard, tqdm, soxr, scipy, ruamel.yaml, rsa, requests, referencing, python-dateutil, pydantic-core, pyasn1-modules, onnx, omegaconf, numba, multiprocess, multidict, markdown-it-py, lightning-utilities, lazy-loader, jinja2, importlib-metadata, httpcore, grpcio-tools, email_validator, contourpy, click, cffi, beautifulsoup4, anyio, aiosignal, yarl, WeTextProcessing, watchfiles, uvicorn, torch, tiktoken, starlette, soundfile, scikit-learn, rich, requests-oauthlib, pydantic, pooch, pandas, matplotlib, jsonschema-specifications, inflect, HyperPyYAML, hydra-core, huggingface-hub, httpx, google-auth, cryptography, typer, torchmetrics, torchaudio, openai-whisper, librosa, jsonschema, gradio-client, google-auth-oauthlib, gdown, diffusers, conformer, aliyun-python-sdk-core, aiohttp, tensorboard, fastapi-cli, altair, aliyun-python-sdk-kms, pytorch-lightning, oss2, fastapi, datasets, modelscope, lightning, gradio
Successfully installed Cython-3.0.11 HyperPyYAML-1.2.2 Pillow-10.4.0 PySocks-1.7.1 WeTextProcessing-1.0.3 absl-py-2.1.0 addict-2.4.0 aiofiles-23.2.1 aiohappyeyeballs-2.4.4 aiohttp-3.11.11 aiosignal-1.3.2 aliyun-python-sdk-core-2.16.0 aliyun-python-sdk-kms-2.16.5 altair-5.5.0 annotated-types-0.7.0 antlr4-python3-runtime-4.9.3 anyio-4.7.0 async-timeout-5.0.1 attrs-24.3.0 audioread-3.0.1 beautifulsoup4-4.12.3 cachetools-5.5.0 certifi-2024.12.14 cffi-1.17.1 charset-normalizer-3.4.1 click-8.1.8 colorama-0.4.6 conformer-0.3.2 contourpy-1.3.1 crcmod-1.7 cryptography-44.0.0 cycler-0.12.1 datasets-2.18.0 decorator-5.1.1 diffusers-0.27.2 dill-0.3.8 dnspython-2.7.0 einops-0.8.0 email_validator-2.2.0 exceptiongroup-1.2.2 fastapi-0.111.0 fastapi-cli-0.0.4 ffmpy-0.5.0 filelock-3.16.1 fonttools-4.55.3 frozenlist-1.5.0 fsspec-2024.2.0 gast-0.6.0 gdown-5.1.0 google-auth-2.37.0 google-auth-oauthlib-1.0.0 gradio-4.32.2 gradio-client-0.17.0 grpcio-1.57.0 grpcio-tools-1.57.0 h11-0.14.0 httpcore-1.0.7 httptools-0.6.4 httpx-0.28.1 huggingface-hub-0.23.5 hydra-core-1.3.2 idna-3.10 importlib-metadata-8.5.0 importlib-resources-6.4.5 inflect-7.3.1 jinja2-3.1.5 jmespath-0.10.0 joblib-1.4.2 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 kiwisolver-1.4.8 lazy-loader-0.4 librosa-0.10.2 lightning-2.2.4 lightning-utilities-0.11.9 llvmlite-0.43.0 markdown-3.7 markdown-it-py-3.0.0 markupsafe-2.1.5 matplotlib-3.7.5 mdurl-0.1.2 modelscope-1.15.0 more-itertools-10.5.0 mpmath-1.3.0 msgpack-1.1.0 multidict-6.1.0 multiprocess-0.70.16 narwhals-1.19.1 networkx-3.1 numba-0.60.0 numpy-1.26.4 oauthlib-3.2.2
omegaconf-2.3.0 onnx-1.16.0 openai-whisper-20231117 orjson-3.10.12 oss2-2.19.1 packaging-24.2 pandas-2.2.3 platformdirs-4.3.6 pooch-1.8.2 propcache-0.2.1 protobuf-4.25.0 pyarrow-18.1.0 pyarrow-hotfix-0.6 pyasn1-0.6.1 pyasn1-modules-0.4.1 pycparser-2.22 pycryptodome-3.21.0 pydantic-2.7.0 pydantic-core-2.18.1 pydub-0.25.1 pygments-2.18.0 pyparsing-3.2.0 python-dateutil-2.9.0.post0 python-dotenv-1.0.1 python-multipart-0.0.20 pytorch-lightning-2.3.3 pytz-2024.2 pyyaml-6.0.2 referencing-0.35.1 regex-2024.11.6 requests-2.32.3 requests-oauthlib-2.0.0 rich-13.7.1 rpds-py-0.22.3 rsa-4.9 ruamel.yaml-0.18.6 ruamel.yaml.clib-0.2.12 ruff-0.8.4 safetensors-0.4.5 scikit-learn-1.6.0 scipy-1.14.1 semantic-version-2.10.0 shellingham-1.5.4 simplejson-3.19.3 six-1.17.0 sniffio-1.3.1 sortedcontainers-2.4.0 soundfile-0.12.1 soupsieve-2.6 soxr-0.5.0.post1 starlette-0.37.2 sympy-1.13.3 tensorboard-2.14.0 tensorboard-data-server-0.7.2
threadpoolctl-3.5.0 tiktoken-0.8.0 tomli-2.2.1 tomlkit-0.12.0 torch-2.0.1+cu118 torchaudio-2.0.2+cu118 torchmetrics-1.6.1 tqdm-4.67.1 typeguard-4.4.1 typer-0.15.1 typing-extensions-4.12.2 tzdata-2024.2 ujson-5.10.0 urllib3-2.3.0 uvicorn-0.30.0 watchfiles-1.0.3 websockets-11.0.3 werkzeug-3.1.3 wget-3.2 xxhash-3.5.0 yapf-0.43.0 yarl-1.18.3 zipp-3.21.0

python3 webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
会报错
python webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
可以正常运行

在windows系统下onnxruntime==1.18.0;没有被安装
Ignoring deepspeed: markers 'sys_platform == "linux"' don't match your environment
Ignoring onnxruntime-gpu: markers 'sys_platform == "linux"' don't match your environment
Ignoring onnxruntime: markers 'sys_platform == "darwin" or sys_platform == "windows"' don't match your environment
需要单独跑一个pip install onnxruntime==1.18.0;

repo: FunAudioLLM/CosyVoice


text:
🛑 Home Assistant is down

In 17f2e70, Home Assistant (https://ha.fussel.tv) was down:

HTTP code: 530
Response time: 4097 ms

Resolved: Home Assistant is back up in 43004ff.

repo: FusselTV/status


text:
🛑 Bitwarden is down

In bc72b04, Bitwarden (https://vault.fussel.tv) was down:

HTTP code: 502
Response time: 494 ms

Resolved: Bitwarden is back up in ff7d4be after 3 hours, 35 minutes.


text:
Date.now()

Date.now()
http://kangax.github.io/es5-compat-table/#Date.now

This issue was imported from Google Moderator
Moderator votes: +3
Issue added by Aaron on 2014-03-16
To vote this issue up or down, simply include +1 or -1 in your comment.

Duplicate of #1118.

authors: Fyrd cvrebert

repo: Fyrd/caniuse


text:
window.screen

https://developer.mozilla.org/en-US/docs/Web/API/Window/screen

-1

Now available at https://caniuse.com/#feat=mdn-api_window_screen

authors: Fyrd cvrebert extempl


text:
View Transitions Module Level 2

The draft for View Transitions Module Level 2 was just made available a week ago, adding support for cross-document navigation.

This has been available in Chrome for quite some time and is, as of recently, also available in Safari Technology Preview.
Authors are actively asking about support, so would be good to add it. It’s effectively an alias for the https://caniuse.com/mdn-css_at-rules_view-transition entry.

Yes. Safari just announced the release in 18.2 so it would be important to add this one soon.

authors: bramus davidwebca xiBread


text:
Update Chrome support for SDCH

"...we are on track for disabling SDCH in M59."
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/nQl0ORHy7sw

Thanks!

authors: Fyrd redburn


text:
🛑 Dashboard de GBIF.es is down

In e0d6f8f, Dashboard de GBIF.es (https://dashboard.gbif.es) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dashboard de GBIF.es is back up in 5fcb675.

repo: GBIFes/status