text:
INTERNAL ASSERT FAILED: Invalid user info response

Operating System version: Fedora 29
Firebase SDK version: @firebase/app@0.3.9
Library version: firebase-admin@^7.1.0
Firebase Product: auth

I replaced the user info by '...' for security reasons.
Calling the method admin.auth().getUser('userId'), I'm getting this response from authRequestHandler.getAccountInfoByUid:
{
  "localId": "...",
  "email": "...",
  "displayName": "...",
  "photoUrl": "...",
  "emailVerified": true,
  "providerUserInfo": [
    { "providerId": "phone", "federatedId": "" },
    {
      "providerId": "google.com",
      "displayName": "...",
      "photoUrl": "...",
      "federatedId": "...",
      "email": "...",
      "rawId": "..."
    },
    {
      "providerId": "facebook.com",
      "displayName": "...",
      "photoUrl": "...",
      "federatedId": "...",
      "email": "...",
      "rawId": "..."
    },
    { "providerId": "phone", "rawId": "...", "phoneNumber": "..." }
  ],
  "validSince": "...",
  "disabled": false,
  "lastLoginAt": "1552858679099",
  "createdAt": "1552858670000",
  "customAuth": true,
  "phoneNumber": "..."
}

I started getting this error, after I imported this user using the method admin.auth().importUsers([user]) with the following data:
const user = {
      uid: '...',
      displayName: '...',
      email: '...',
      emailVerified: true,
      metadata: {
        creationTime: 'Sun, 17 Mar 2019 21:37:50 GMT',
        lastSignInTime: 'Sun, 17 Mar 2019 21:37:50 GMT'
      },
      phoneNumber: '...',
      photoURL: '...',
      providerData: [
        {
          uid: '...',
          displayName: undefined,
          email: undefined,
          photoURL: undefined,
          providerId: 'phone',
          phoneNumber: '...'
        },
        {
          uid: '...',
          displayName: '...',
          email: '...',
          photoURL:  '...',
          providerId: 'google.com',
          phoneNumber: undefined
        },
        {
          uid: '...',
          displayName: '...',
          email: '...',
          photoURL: '...',
          providerId: 'facebook.com',
          phoneNumber: undefined
        }
      ]
    };

I don't know why the API is returning this empty 'phone' provider info:
providerUserInfo:  [{ "providerId": "phone", "federatedId": "" }, ...]

It is hard to tell. The user seems to have 2 phone providers which should not be possible. Can you open a ticket with Firebase support. We will need to ask you for some sensitive information related to your project and the specified user and this is not the appropriate forum for this.

Please follow up via Firebase Support as mentioned above.

@evertonrobertoauler @bojeil-google @hiranya911 I am facing the same issue - two phone providers are getting appended to the user when I run importUsers.  Was this ever resolved?  Should I open a ticket?

authors: bojeil-google evertonrobertoauler hiranya911 seanemmer

repo: firebase/firebase-admin-node


text:
FIRConfiguration setLoggerLevel() has no impact on console logging

[REQUIRED] Step 2: Describe your environment

Xcode version: 10.3
Firebase SDK version: 6.5.0
Firebase Component: Core
Component version: 6.5.0

[REQUIRED] Step 3: Describe the problem
iOS SDK: FirebaseConfiguration.shared.setLoggerLevel() has no impact when using FirebaseApp.configure(options:). .min and .max result in the exact same amount of logging in the console.
Steps to reproduce:

In AppDelegate didFinishLaunchingWithOptions, set the logger level to .min then configure FirebaseApp via configure(options:).
Run the app attached to the debugger.

Expected
Console logging from the Firebase SDK should be at minimum level.
Actual
Console logging is unaffected. Logging looks identical to .max.
Relevant Code:
FirebaseConfiguration.shared.setLoggerLevel(.min)
FirebaseApp.configure(options: fileOptions)

Thanks for the report, we'll look into this shortly.

Related is https://stackoverflow.com/a/44438819/556617

Tried to reproduce this with Xcode 11.2.1 running iOS 13, latest version of FirebaseCore (at master) and was not able to reproduce - .min and .max have vastly different logging counts with .min working as expected.
If this is still an issue you see, please let us know how to reproduce it and I'll re-investigate!

See #5124

source: gharchive/issue

authors: dtrenz paulb777 ryanwilson

repo: firebase/firebase-ios-sdk

license_type: permissive

license_source: github-api


text:
[CocoaPods] Undefined symbols for architecture x86_64 error when compile

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.2
Firebase SDK version: 6.11.0
Installation method: CocoaPods
Firebase Component: Core, Analytics

[REQUIRED] Step 2: Describe the problem
After doing pod install on my project, i encountered this "Undefined symbols for architecture x86_64" error when trying to compiled it using the Simulator.

I already tried to add -Objc at Build Setting > Other Linker Flags, removed derived data, & run project cleanup, but it doesn't solved the error.
Steps to reproduce:

You may clone the sample project from here : https://bitbucket.org/Blurzschyter/projectxyz/src/master/
Uncomment the firebase pod line on podfile.
Run pod install

Thank you in advance ^_^

@Blurzschyter Those missing symbols are not related to Firebase. It looks like a problem related to lightWebiOS.a and VmxCutInterface.
The binary archive ./EXTSDK/libs/libViewRightWebiOS.a does not have a simulator slice:
$ file ./EXTSDK/libs/libViewRightWebiOS.a
./EXTSDK/libs/libViewRightWebiOS.a: Mach-O universal binary with 2 architectures: [arm_v7:current ar archive random library] [arm64]
./EXTSDK/libs/libViewRightWebiOS.a (for architecture armv7):	current ar archive random library
./EXTSDK/libs/libViewRightWebiOS.a (for architecture arm64):	current ar archive random library


text:
Expose network management

Add enableNetworkWithCompletion and disableNetworkWithCompletion to the public interface for FIRFirestore.
b/70348588

I think this is going to need a slight refactor after PR #567 lands, so i'm going to hold off a bit.

Please run scripts/style.sh to auto-format.

Styling is done as well.

source: gharchive/pull-request

authors: gsoltis wilhuff


text:
Unhandled Runtime Error - TypeError: Cannot read property 'initializeApp' of undefined

I got this error when opening http://localhost:3000/auth.
This error seems to be brought by using StyledFirebaseAuth from "react-firebaseui/StyledFirebaseAuth".
Here is my code;
// auth.tsx
// This is sign-up and login page.
import React from "react";
import StyledFirebaseAuth from "react-firebaseui/StyledFirebaseAuth";
import { auth } from "../firebase/firebase";
import { EmailAuthProvider, GoogleAuthProvider, GithubAuthProvider } from "firebase/auth";
import { useAuthState } from "react-firebase-hooks/auth";
import { useRouter } from "next/dist/client/router";

// Configure FirebaseUI.
const uiConfig = {
  signInFlow: 'popup', // Popup signin flow rather than redirect flow.
  signInSuccessUrl: "/", // Redirect to / after sign in is successful. Alternatively you can provide a callbacks.signInSuccess function.
  tosURL: "/terms-of-service",
  privacyPolicyUrl: "/privacy-policy",
  signInOptions: [
    EmailAuthProvider.PROVIDER_ID,
    GoogleAuthProvider.PROVIDER_ID,
    GithubAuthProvider.PROVIDER_ID,
  ],
};

export default function SignInScreen() {

  return (

PolygonHR Login

Please sign-in:

authors: hiroshinishio jbdaines jhuleatt

repo: firebase/firebaseui-web-react

license_source: bigquery


text:
🐛 [firebase_auth] Missing #/ in Firebase continueURL

Bug report
Describe the bug
Failed to redirect to the intended Authentication widget after confirming the email link for sign in.
Steps to reproduce
I am using Firebase Auth to authenticate user by Email link and I set the url in the ActionCodeSettings = http://localhost:52751/#/authentication for my local testing. This path is dynamically built and can point to live server if necessary.
The FirebaseAuth.instance.sendSignInLinkToEmail() is successfully called and a mock email link is created in Firebase Emulator with all required parameters: http://127.0.0.1:9099/emulator/action?mode=signIn&lang=en&oobCode=HhpkI2RVTaUjAXAyahgLqL53Lmgy7MovYuDxKtZwq995LQrL4ieKkN&apiKey=fake-api-key&continueUrl=http%3A%2F%2Flocalhost%3A52751%23%2Fauthentication
However, when the link above is called, the actual callback omits #/authentication and append all parameters to the default root route, WITHOUT #/: http://localhost:52751/?mode=signIn&lang=en&oobCode=iTTzzcvuvNuu661DU-jv6qAo1NHcrZ3Wr7dSuR3eqTP-pSlx_P8WW7&apiKey=fake-api-key
Hence, the result is MyApp lands on the default root route. And because Flutter has Hash URL strategy by default, all parameters are omits too when the root route widget receives the call.
Expected behavior
The redirection should correctly land on the Authentication widget to finish the sign in process.

Additional context
I know there is a workaround in Flutter by using usePathUrlStrategy(); and set the url in ActionCodeSettings to http://localhost:52751/authentication (i.e. to use path URL without /#) After this setting, Firebase Auth redirect to the authentication widget with the correct path http://localhost:52751/authentication?mode=signIn&lang=en&oobCode=iQKFTRuYJuBm87cOJAF1HUCibbPpfdxDATaRdKyJ4Bzv--9MRYrcwJ&apiKey=fake-api-key.

Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.5, on macOS 13.4.1 22F82 darwin-arm64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.79.2)
[✓] Connected device (2 available)
[✓] Network resources

---
Flutter dependencies
Click To Expand
Dart SDK 3.0.5
Flutter SDK 3.10.5
carealth 1.0.0+1

dependencies:
- cloud_firestore 4.8.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.3.3 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- cupertino_icons 1.0.5
- firebase_app_check 0.1.4+3 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.6.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.14.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_dynamic_links 5.3.3 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_ui_auth 1.4.3 [email_validator firebase_auth firebase_core firebase_dynamic_links firebase_ui_localizations firebase_ui_oauth firebase_ui_shared flutter flutter_localizations]
- firebase_ui_localizations 1.5.0 [flutter flutter_localizations path]
- firebase_ui_oauth_apple 1.2.3 [firebase_auth firebase_ui_oauth flutter]
- firebase_ui_oauth_google 1.2.3 [firebase_auth firebase_ui_oauth flutter google_sign_in]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- go_router 8.2.0 [collection flutter flutter_web_plugins logging meta]
- shared_preferences 2.1.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- husky 0.1.6 [args path]

transitive dependencies:
- _flutterfire_internals 1.3.3 [collection firebase_core firebase_core_platform_interface flutter meta]
- args 2.4.2
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- cloud_firestore_platform_interface 5.15.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.6.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.4.3 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.5.3 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.17.1
- crypto 3.0.3 [typed_data]
- desktop_webview_auth 0.0.12 [crypto flutter http flutter_web_plugins plugin_platform_interface]
- email_validator 2.1.17
- fake_async 1.3.1 [clock collection]
- ffi 2.0.2
- file 6.1.4 [meta path]
- firebase_app_check_platform_interface 0.0.8+3 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.0.10+3 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.15.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.5.3 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.6.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_dynamic_links_platform_interface 0.2.6+3 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_ui_oauth 1.4.3 [desktop_webview_auth firebase_auth firebase_ui_auth firebase_ui_shared flutter_svg flutter]
- firebase_ui_shared 1.3.0 [flutter]
- flutter_svg 2.0.7 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler]
- google_identity_services_web 0.2.1 [js meta]
- google_sign_in 6.1.4 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- google_sign_in_android 6.1.16 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.6.2 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.4.1 [flutter plugin_platform_interface quiver]
- google_sign_in_web 0.12.0+2 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http js]
- http 0.13.6 [async http_parser meta]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- intl 0.18.0 [clock meta path]
- js 0.6.7 [meta]
- lints 2.1.1
- logging 1.2.0
- matcher 0.12.15 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.2.0
- meta 1.9.1
- path 1.8.3
- path_parsing 1.0.1 [vector_math meta]
- path_provider_linux 2.1.11 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.6 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.7 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.4 [meta]
- process 4.2.4 [file path platform]
- quiver 3.2.1 [matcher]
- shared_preferences_android 2.1.4 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.2.2 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.2.0 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.2.0 [flutter plugin_platform_interface]
- shared_preferences_web 2.1.0 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.2.0 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.5.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.2 [collection]
- vector_graphics 1.1.7 [flutter vector_graphics_codec]
- vector_graphics_codec 1.1.7
- vector_graphics_compiler 1.1.7 [args meta path_parsing xml vector_graphics_codec]
- vector_math 2.1.4
- win32 5.0.4 [ffi]
- xdg_directories 1.0.0 [meta path process]
- xml 6.3.0 [collection meta petitparser]

Hi @cupidchan, thanks for the report. Please provide a minimal complete reproducible code sample so that we can investigate this issue, preferably in a repo that we can clone and run.
Thank you

authors: cupidchan danagbemava-nc

repo: firebase/flutterfire


text:
IOS Stripe

Hello,
Do you have any examples integrations firebase and stripe with cloud function?
Coud you give me link?
Thanks a lot

Since one of the folders in the samples repro is named stripe, I think the answer is yes : )

authors: iThinkersTeam katowulf

repo: firebase/functions-samples


text:
Typo on comment

In the current use-case, the user subscribed to the newsletter instead of unsubscribed.

Thanks @JoaquimLey !

authors: JoaquimLey nicolasgarnier


text:
Update database.rules.json

Changing these around for clarity.

I signed it!

Thanks!

authors: j-mateo jamesdaniels


text:
[（live．free™！）] Tottenham vs Ipswich Town Live Streams Free On TV Channel 10 NOV 2024

Tottenham aim to make it two wins in a row as they host Ipswich Town in the Premier League this Sunday.
Spurs have shown glimpses of their best form recently, winning two of their last three league games. However, inconsistency remains a challenge, as they’ve also lost two of their last four matches.
Meanwhile, Ipswich is still searching for their first Premier League win since their return to the top flight. The Tractor Boys missed out on three points last weekend, drawing 1-1 with Leicester at home, which means all five of their points so far have come from draws.
STREAM:Tottenham vs. Ipswich Town LIVE in the US on Fubo (free trial)
The Sporting News looks at the key details ahead of this game, including how to watch the match, kickoff times, and the latest lineup news.
Tottenham vs. Ipswich Town live stream, TV channel
Here's how to watch this Premier League match in the U.S.:
TV channel: USA Network
Live stream: Fubo
This game is available for live TV broadcast on USA Network. Streaming options are available on Fubo, which is offering a seven-day FREE trial to new subscribers.
For a limited time, you can get your first month of Fubo for as low as $59.99, a $20 savings. Stream ESPN, ABC, CBS, Fox, NBC and 200+ top channels of live TV and sports without cable. (Participating plans only. Taxes and fees may apply.)
WATCH:The Best of Premier League action LIVE in the US on Fubo (free trial)
What time does Tottenham vs. Ipswich Town kick off?
This Premier League clash takes place at the Tottenham Hotspur Stadium in London, United Kingdom and kicks off on Sunday, November 10 at 2:00 p.m. local time.
Here's how that time translates across the U.S.:
Date	Kickoff time

Eastern Time	Sun, Nov. 10	9:00 a.m.
Central Time	Sun, Nov. 10	8:00 a.m.
Mountain Time	Sun, Nov. 10	7:00 a.m.
Pacific Time	Sun, Nov. 10	6:00 a.m.
Tottenham vs. Ipswich Town predicted lineups, team news
Cristian Romero is doubtful for Tottenham's upcoming game this weekend as he continues to recover from a foot injury. Micky van de Ven is also expected to miss out on Sunday due to hamstring issue. Meanwhile, Richarlison, Wilson Odobert, and Djed Spence are set to return after the international break.
Tottenham predicted XI (4-3-3, right to left): Vicario (GK) — Porro,  Dragusin, Ben Davies, Udogie — Bissouma, Matar Sarr, Brennan Johnson — Maddison, Min Son, Solanke.
Injured:  Cristian Romero (doubtful), Micky van de Ven
Suspended: None
Kalvin Phillips will sit out this weekend due to suspension. Chiedozie Ogbene (achilles), Jack Taylor, and Jacob Greaves (hamstring) are sidelined with injuries, while Axel Tuanzebe (hand injury) is not expected back until December.
If Brennan Johnson isn't fit to start, Dara O'Shea may shift over to right-back. This change would likely bring Luke Woolfenden back into the lineup to partner with Cameron Burgess at center-back. Meanwhile, Liam Delap, Wes Burns, and Jack Clarke are also in the mix to make a return to the starting XI for this match.
Ipswich Town predicted XI (4-2-3-1, right to left): Muric (GK) — Ben Johnson, Woolfenden,  Burgess, Leif Davies — Morsy, Cajuste — Hutchinson, Chaplin, Szmodics — Liam Delap.
Injured: Chiedozie Ogbene, Jack Taylor, Jacob Greaves, Axel Tuanzebe
Suspended: Kalvin Phillips
Tottenham vs. Ipswich Town Prediction
Although a win for Ipswich this weekend seems unlikely, we expect them to put up a strong fight in North London. Despite Tottenham’s defensive injuries, their quality in attack should be enough to secure a home victory.
Prediction: Tottenham 3-1 Ipswich Town
Premier League fixture schedule this week
All times ET
Saturday, November 9
Wolverhampton Wanderers vs. Southampton (10:00 a.m.)
West Ham United vs. Everton (10:00 a.m.)
Brentford vs. AFC Bournemouth (10:00 a.m.)
Crystal Palace vs. Fulham (10:00 a.m.)
Brighton & Hove Albion vs. Manchester City (12:30 p.m.)
Liverpool vs. Aston Villa (3:00 p.m.)
Wolverhampton Wanderers vs. Crystal Palace (10:00 a.m.)
Sunday, November 10
Nottingham Forest vs. Newcastle United (9:00 a.m.)
Tottenham Hotspur vs. Ipswich Town (9:00 a.m.)
Manchester United vs. Leicester City (9:00 a.m.)
Chelsea vs. Arsenal (11:30 a.m.)

ghjnghjfg

kjjjj

cvcv

repo: firebase/quickstart-android


text:
[~Trending!] Baltasar Ebang Engonga Video Original

𝖮𝗋𝗂𝗀𝗂𝗇𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝗏𝗂𝖽𝖾𝗈 𝗍𝗈𝗈𝗄 𝗍𝗁𝖾 𝗂𝗇𝗍𝖾𝗋𝗇𝖾𝗍 𝖻𝗒 𝗌𝗍𝗈𝗋𝗆 𝖺𝗇𝖽 𝖺𝗆𝖺𝗓𝖾𝖽 𝗏𝗂𝖾𝗐𝖾𝗋𝗌 𝗈𝗇 𝗏𝖺𝗋𝗂𝗈𝗎𝗌 𝗌𝗈𝖼𝗂𝖺𝗅 𝗆𝖾𝖽𝗂𝖺 𝗉𝗅𝖺𝗍𝖿𝗈𝗋𝗆𝗌 All 𝗏𝗂𝗋𝖺𝗅 𝖿𝗎𝗅𝗅 𝗏𝗂𝖽𝖾𝗈 𝗅𝖾𝖺𝗄𝖾𝖽 𝗌𝗈𝖼𝗂𝖺𝗅 𝗆𝖾𝖽𝗂𝖺 𝗍𝗐𝗂𝗍𝗍𝖾𝗋
🌐 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶
🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐
🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐
Civil servants caught having sex in their offices will face "severe measures", the vice-president of Equatorial Guinea has warned after hundreds of allegedly pornographic videos were leaked to the public.
The videos reportedly involve high-ranking civil servant Baltasar Ebang Engonga having sex with various women - including the wives of prominent officials - in his office.
Mr Engonga is head of the country's National Financial Investigation Agency and also a relative of the country's president.
He has not yet commented.
Vice-President Teodoro Obiang Mangue said any officials found engaging in sex acts at work would be suspended as this was a "flagrant violation of the code of conduct".
He has also ordered the installation of surveillance cameras in courts and ministries to combat "indecent and illicit acts".
A statement from the vice-president's office said the decision had been taken in the wake of the widely circulated videos which had "denigrated the image of the country".
It added that he had recommended opening an investigation.
The videos in question were leaked after Mr Engonga was arrested on separate corruption charges, state television TVGE said.
Last week, Vice-President Obiang said "pornographic videos" had been "flooding" social media and ordered telecoms companies to curb the spread.
Since then, the flow of internet traffic - particularly the downloading of images - has been severely disrupted in the country, people in Equatorial Guinea told the AFP news agency.
As head of the National Financial Investigation Agency, Mr Engonga works on tackling financial crimes such as money laundering.
Following the furore over the videos, Equatorial Guinea's chief prosecutor Anatolio Nzang Nguema told state TV that if Mr Engonga was found to have been "infected with a sexually transmitted disease" he would be prosecuted for an offence against "public health".
He is reportedly nicknamed "Bello" - Spanish for beautiful - on account of his good looks.

ss sf

csde

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

.
.
.
.

.
.
.
.
.

cvbxcdf


text:
test: Fix cleanup on v2

Some dbs were not cleaned up.
Reusing existing fixtures that cleanup the dbs automatically.

Confirmed no dbs left after integration tests run. Merging.

repo: firebolt-db/firebolt-python-sdk


text:
Validation differs from local with "when" syntax

Minimal .gitlab-ci.yml illustrating the issue
---
x:
  script:
    - echo "this does nothing!"
  stage: .pre
  when: never

Expected behavior
An error to trigger with gitlab-ci-local --preview or with gitlab-ci-local x. Instead it runs locally but not on GitLab
> $ gitlab-ci-local x
x starting shell (.pre)
x $ echo "this does nothing!"
x > this does nothing!
x finished in 13 ms

Host information
macOS 14.6.1
gitlab-ci-local 4.53.0
Additional context
The "Pipeline editor" gives the following error:

This GitLab CI configuration is invalid: jobs:x when should be one of: on_success, on_failure, always, manual, delayed

Validating the following input
{
  stages: [ '.pre', 'build', 'test', 'deploy', '.post' ],
  x: {
    script: [ 'echo "this does nothing!"' ],
    stage: '.pre',
    when: 'never'
  }
}

with the following schema https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/editor/schema/ci.json,
using https://www.jsonschemavalidator.net/
Doesn't seemed like it's an json schema issue,
i am thinking we might need to add custom assertions to match this behavior

So Gitlab's json schema does allow when:never, but their editor shows the error, but it really shouldn't be an error?

their editor shows the error, but it really shouldn't be an error?

I think it still should be an error, since the specs clearly stated that when:never is only allowed in Can only be used in a [rules](https://docs.gitlab.com/ee/ci/yaml/#rules) section or workflow: rules.
it's just that in this case, i guess gitlab is not handling this validation via json schema validation but rather some logic somewhere else

Yeah, its already merged.

authors: ANGkeith firecow heydonovan

repo: firecow/gitlab-ci-local

license: MIT


text:
Small logic fixes for issue #94

Small fixes for https://github.com/fireeye/flare-ida/issues/94

Updated as requested

repo: fireeye/flare-ida


text:
Why have an atomic value here? Since you already have &mut self

          Why have an atomic value here? Since you already have `&mut self`

Originally posted by @conectado in https://github.com/firezone/firezone/pull/4296#discussion_r1538263988

I should have probably written a more elaborate commit message on https://github.com/firezone/firezone/commit/e940c65eb7db88f15eed601abff1fb67d030fc19. I wanted Heartbeat to be able to generate its own request IDs because I've found the design of set_id to be pretty clunky. I am very much open to other designs if somebody wants to have a go at it :)

authors: jamilbk thomaseizinger

repo: firezone/firezone


text:
Failing elixir unit test

https://github.com/firezone/firezone/actions/runs/8641202346/job/23690335980?pr=4583

Seems to be a permanent error, here the 2nd run: https://github.com/firezone/firezone/actions/runs/8641202346/job/23692737104?pr=4583

I believe this may have been an infra or other issue that's now resolved.
Can reopen if it pops back up.


text:
Feature Request: Voltage Set

Great work on this component @firstof9! This is a feature request for an ability to have HA set the current voltage on the OpenEVSE.
This is available via RAPI, and since there's no voltage measurement in the OpenEVSE controller dynamically setting it externally is the only way to have an accurate Power (W) measurement.
See OpenEVSE KB: https://openev.freshdesk.com/support/solutions/articles/6000249626-voltage-displays-240-how-do-i-set-to-something-different-
I'm looking to use an automation to have that value pushed from my existing power monitoring feed in HA.

As RAPI is being deprecated, we'd need some way to set this via the HTTP API.

Set the voltage via mqtt directly from HA with an automation (service: mqtt.publish).
The default topic is emon/emonpi/vrms and is part of the openevse solar divert functionality.
Works for me...

authors: HLFCode dakaix firstof9


text:
[Feature] 目前的项目，支持中英文混合输出吗？

很多bert和vits在多语言混合输出上都有些问题，这个版本会有改进么。

预计会在下个版本有改进.

@leng-yue Hello, any estimate on next version release? vqgan2 maybe? Also the Chinese frontend might need update to handle more complicated Multi-syllable words. such as:
孩子别吃了，这里的肉脏，走，跟我去太平间
and some puncuation not properly resolved such as : ;  etc.

不错，中英文混合用以下测试OK
我正在测试windows下的语音tts功能。

authors: dogvane leng-yue luohao123 shirubei

repo: fishaudio/fish-speech


text:
Support 'output'-field

The output field can be used to manipulate or override the output of a task. This would prevent the need of an additional transformation task or tasks having to manipulate it in their inputs.
The actual output of a task is calculated by taking the actual function output and applying the output on to it.

Fixed in #194

repo: fission/fission-workflows


text:
[Bug] Duplicates in double entry models when using multiple Quickbooks connectors

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
Many of the double entry transaction models in this package perform a cross join with a CTE that appears to be designed to produce a single account (for example, Accounts Receivable, Accounts Payable, Undeposited Funds). However, when using multiple Quickbooks instances/connections and leveraging the quickbooks_union_schemas functionality of this package, each Quickbooks instance will have its own account of these types. This causes the cross join to produce unintended fanout.
One potential solution is to replace the cross join with an inner join on source_relation and to update the account CTE to include source_relation in the select. I've tested this and it resolves the test error, although I don't know if this produces any other unintended consequences.
I found this while troubleshooting a failing uniqueness test on the general_ledger model.
Relevant error log or model output
No response
Expected behavior
These models should correctly handle cases where multiple Quickbooks connectors are being used without causing fanout.
dbt Project configurations
vars:
quickbooks_union_schemas: ['fivetran_quickbooks','fivetran_quickbooks_global']
Package versions
packages:

package: fivetran/quickbooks
version: [">=0.9.0", "<0.10.0"]

package: fivetran/hubspot
version: [">=0.9.0", "<0.10.0"]

What database are you using dbt with?
bigquery
dbt Version
1.4.6
Additional Context
There have been a few related issues in the past (here, here).
Are you willing to open a PR to help address this issue?

[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Hi @tjenkins thanks so much for raising this issue. I could see how omitting the source_relation from those joins would cause duplicates. We will want to address these issues within the package to ensure the package handles the unioning feature as expected.
You mentioned you were able to resolve this when troubleshooting yourself. Would you be interested in opening a PR to contribute your findings? My team and I would then be able to help further test and validate to ensure there are no unforeseen consequences of the changes and we can apply the changes to other models as needed.
Let me know your thoughts!

Hi @tjenkins, I reviewed the issue and agree with updating the joins as you mention. I also found a few other places that needed adjustment as well. Would you be able to test out the updates I made? You can test it out by adding the below in place of where you normally install this package in your packages.yml.
- git: https://github.com/fivetran/dbt_quickbooks.git
    revision: bugfix/join_on_source_relation
    warn-unpinned: false

Hi @tjenkins, we are planning on releasing these updates tomorrow. If you are able to review before then it would be appreciated, but if not feel free to submit any further feedback later!


text:
English text on home page

fixes #28

Ser bra ut!

repo: fjukstad/luft

license: mit


text:
Jk bms B2A20S20P - problem with connection

Hello, can you help mi with my bms, somethims working good but after 1-2days have problems with communication and cant connect to bms
s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started 14:49:30 INFO [main] BT Discovery: 14:49:35 INFO [main] BT Device   JK_B2A20S20P   address=C8:47:8C:EC:BE:E3 14:49:35 INFO [main] connecting mqtt mqttuser@core-mosquitto 14:49:35 INFO [main] Fetching 1 BMS + 0 others serially, period=20.00s, keep_alive=False 14:49:35 INFO [sampling] connecting bms JKBt(C8:47:8C:EC:BE:E3) 14:49:35 INFO [main] mqtt watchdog loop started with timeout 120.0s 14:49:47 INFO [sampling] connected bms JKBt(C8:47:8C:EC:BE:E3)! 14:49:53 ERROR [sampling] battery1 error: Not connected 14:49:53 INFO [sampling] {3: bytearray(b'U\xaa\xeb\x90\x035JK_B2A20S20P\x00\x00\x00\x0011.XW\x00\x00\x0011.26H\x00\x00\xfc\x10 \x00\x08\x00\x00\x00JK_B2A20S20P\x00\x00\x00\x001234\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00230327\x00\x003010545107\x000000\x00Input Userdata\x00\x00123\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00Input Userdata\x00\x00|\xf8\xff\xff\x9f\r\x00\x00\x00\x00\x00\x00\x90\x0f\x00\x00\x00\x00\xc0\xd8\x03\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08'), 1: bytearray(b'U\xaa\xeb\x90\x015X\x02\x00\x00\x08\x0c\x00\x00N\x0c\x00\x00\xde\r\x00\x00\xac\r\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x86\x0b\x00\x00\x808\x01\x00\x1e\x00\x00\x00<\x00\x00\x00\x90_\x01\x00,\x01\x00\x00<\x00\x00\x00<\x00\x00\x00\xd0\x07\x00\x00^\x01\x00\x00,\x01\x00\x00^\x01\x00\x00,\x01\x00\x00\x1e\x00\x00\x00<\x00\x00\x00 \x03\x00\x00\xbc\x02\x00\x00\x10\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\xe0\x93\x04\x00\xdc\x05\x00\x00z\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0q\x0b\x00\x08\x00\x00\x00\x00|\xf8\xff\xff\x9f\r\x00\x00\x00\x00\x00\x00\xcd'), 2: bytearray(b'U\xaa\xeb\x90\x025\x89\r{\r|\r\x84\r\x81\r\x82\rs\rq\rp\r\x81\re\rw\r\x84\ry\r\x87\r\x83\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00|\r#\x00\x00\ny\x00u\x00n\x00r\x00e\x00\x00t\x00o\x00j\x00l\x00^\x00V\x00X\x00d\x00{\x00o\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xac\x00\x00\x00\x00\x00\xbe\xd7\x00\x00\xe2\x15\x1c\x00.\x82\x00\x00\x94\x00\x9a\x00\x00\x00\x00\x00\xe5\x07\x01_\xd6c\x04\x00\xe0\x93\x04\x00\x06\x00\x00\x00\xd8\xe6\x1b\x00d\x00\x00\x00\x0f\x12 \x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x01\x00\x00\x00\x18\x04\x9f\x00\x00\x00"d>@\x00\x00\xaa\x01\x93\x15\x00\x00\x00\x01\x00\x01\x00\x05\x00\x00\xb7\xc7\x11\x00\x00\x00\x00\x00\xac\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc/\x01\x01\x01\x00\x00\x00\x000')} bms debug data: battery1
14:49:53 ERROR [main] 1 exceptions occurred fetching BMSs
14:49:53 ERROR [main] Error (num 1, max 200) reading BMS: Not connected
14:49:53 ERROR [main] Stack: Traceback (most recent call last):
File "/app/bmslib/sampling.py", line 74, in sample
sample = await bms.fetch()
File "/app/bmslib/jikong.py", line 207, in fetch
await self._fetch_futures.wait_for(0x02, self.TIMEOUT)
File "/app/bmslib/init.py", line 46, in wait_for
return await asyncio.wait_for(self._futures.get(name), timeout)
File "/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/main.py", line 45, in fetch_loop
await fn()
File "/app/main.py", line 239, in fn
raise exceptions[0]
File "/app/main.py", line 234, in fn
await t
File "/app/bmslib/sampling.py", line 51, in call
return await self.sample()
File "/app/bmslib/sampling.py", line 70, in sample
async with bms:
File "/app/bmslib/bt.py", line 178, in aexit
await self.disconnect()
File "/app/bmslib/jikong.py", line 134, in disconnect
await self.client.stop_notify(self.UUID_RX)
File "/usr/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 1092, in stop_notify
raise BleakError("Not connected")
bleak.exc.BleakError: Not connected`

Did you try to enable keep_alive?

Can you try this version https://github.com/fl4p/batmon-ha/releases/tag/v0.0.60-bleak-0.20.2

Remove the add-on store repository
Download an old release from https://github.com/fl4p/batmon-ha/tags
Extract the contents of the ZIP file into Home Assistant's /addons/batmon-ha folder (using FTP, Samba Share, etc.).
The add-on will appear in the add-on store under "Local Addons" (click 'Check for updates')

why is hci1 when i setting hci0?

this appears to be a bug, I pushed a fix here


text:
Switch to icon fonts

Replace all svg images with icon font references
Generate icon fonts from svg using something like https://github.com/tancredi/fantasticon

progress: so far so good,
I'm going to suggest we keep the SVG images for some the left hand menu items product logos.
Is this OK?
LHS is original, RHS is refactored:

Normal webfonts are one color per glyph (1) and some of these icons don't work well in one-color.
There are some tricks possible to overlay two or three glyphs with multiple colors, but not sure if that's worth the trouble.
The two icons missing in the screenshot have conversion issues with https://github.com/tancredi/fantasticon (a few of the icons do - I'll look for fixes for the individual glyphs when most of the work is done).
So far the infographic icons seem well suited to using webfonts: in the screenshot the cargo-ship-50 icon suffers a bit of degradation from being one color, but it seems acceptable (in this case we could tweak the source SVG outline a bit to work better).
(1) Multi-color fonts are possible, but from a quick look it looks like Chrome support might be an issue. Happy to dig further, but not sure if this will be good bang-for-buck as we'd still need to look at the tooling for font-creation.

progress: so far so good,
I'm going to suggest we keep the SVG images for some the left hand menu items product logos.
Is this OK?
LHS is original, RHS is refactored:

Normal webfonts are one color per glyph (1) and some of these icons don't work well in one-color.
There are some tricks possible to overlay two or three glyphs with multiple colors, but not sure if that's worth the trouble.
The two icons missing in the screenshot have conversion issues with https://github.com/tancredi/fantasticon (a few of the icons do - I'll look for fixes for the individual glyphs when most of the work is done).
So far the infographic icons seem well suited to using webfonts: in the screenshot the cargo-ship-50 icon suffers a bit of degradation from being one color, but it seems acceptable (in this case we could tweak the source SVG outline a bit to work better).
(1) Multi-color fonts are possible, but from a quick look it looks like Chrome support might be an issue. Happy to dig further, but not sure if this will be good bang-for-buck as we'd still need to look at the tooling for font-creation.

single color fonts are 100%, and we should probably standardize on black, and then change the color using CSS when required

single color fonts are 100%, and we should probably standardize on black, and then change the color using CSS when required

authors: moshloop philipstaffordwood

repo: flanksource/karina-ui


text:
Column_formatter for form_extra_field possible ?

I have Orders Collection
and I want to add extra_field which would be formatted as a link for Invoice
I have seen this but is it possible to use column_formatter for extra_field ?

Here is the solution
    column_list = ('eng', 'geo', 'name', 'link')
    def _link(view, context, model, name):
        _url = 'get_path'
        return Markup('{}'.format(url_for('%s' % _url, id=model.geo), model.eng))
    form_extra_fields = {
        'link': StringField()
    }
    column_formatters = {
       'link': _link
    }

repo: flask-admin/flask-admin


text:
"Smudge error" cloning gst-integration-tests

I'm trying to build gst-plugins-bad in my Flatpak manifest, using flatpak-github-actions@v6. It errors out while cloning a git submodule, gst-integration-tests.
Here's the relevant snippet from the manifest:
  - name: gstreamer-plugins-bad
    cleanup:
      - /bin
      - /include
      - /lib/libgst*.so*
      - /lib/pkgconfig
    buildsystem: meson
    subdir: subprojects/gst-plugins-bad
    config-opts:
      - -Dauto_features=disabled
      - -Dnls=enabled
      - -Dmodplug=enabled
    sources:
      - type: git
        url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
        tag: '1.22.5'
        commit: bf6ce1d64a0697e7910826147b48f8f658366a5a

Here's the relevant part of the build output from GitHub Actions:
========================================================================
Building module gstreamer-plugins-bad in /__w/inform7-ide/inform7-ide/.flatpak-builder/build/gstreamer-plugins-bad-1
========================================================================
Note: switching to '1.22.5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at bf6ce1d Release 1.22.5
Cloning into '/__w/inform7-ide/inform7-ide/.flatpak-builder/build/gstreamer-plugins-bad-1/subprojects/gst-integration-testsuites/medias'...
Downloading defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi (12 MB)
Error downloading object: defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi (279b735): Smudge error: Error downloading defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi (279b7350cb70da40896ec1eebb447923c76805dd80c135f7d6da1a35ffe79e0a): error transferring "279b7350cb70da40896ec1eebb447923c76805dd80c135f7d6da1a35ffe79e0a": [0] remote missing object 279b7350cb70da40896ec1eebb447923c76805dd80c135f7d6da1a35ffe79e0a

Errors logged to '/__w/inform7-ide/inform7-ide/.flatpak-builder/build/gstreamer-plugins-bad-1/.git/modules/subprojects/gst-integration-testsuites/medias/lfs/logs/20231017T034503.630287497.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi: smudge filter lfs failed
fatal: Unable to checkout '06f5a5a9bad01b5cf76184aee4f430c834a9dac3' in submodule path 'subprojects/gst-integration-testsuites/medias'
Error: module gstreamer-plugins-bad: Child process exited with code 128

The same happens when cloning
fluidsynth repo with flatpak action.
I wonder if it is possible to disable
LFS checkouts, or maybe use LFS
caching, like this action does:
https://github.com/nschloe/action-cached-lfs-checkout

authors: ptomato stsp

repo: flatpak/flatpak-github-actions


text:
Decimal, only when have decimal

is it possible to always format a price as XX.00? i mean to always have "00" in the end
for example in my case, all the prices i enter are rounded, if i want to enter the price "20", i don't have to enter "2000"
thank you so much and have a nice day
Reda

It is possible to do that using the follow configuration:
centsSeparator: '',
centsLimit: 0,

repo: flaviosilveira/Jquery-Price-Format


text:
Error when using _ character on input at contains tag

Got an error on docker-compose up --build when using a input that has "_" in it's name on the contains tag.
I believe the fix is as simple as including _ in the regex found at line 354 (main.go)

I think you are right... could you please send a PR for that?

authors: flaviostutz milhomens

repo: flaviostutz/ruller-dsl-feature-flag


text:
chore: refactor hardhat tests

Rearrange hardhat tests folder structure;
Split out the single FleekERC721 suit to multiple files.

LGTM. Let's merge this? @EmperorOrokuSaki are you still planning to review it?

Yes I had reviewed this while working on hardhat tests for the auto approval PR.

authors: EmperorOrokuSaki zoruka

repo: fleekxyz/non-fungible-apps


text:
input contains NaN, infinity or a value too large for dtype('float64'). `

File "/root/miniconda2/lib/python2.7/site-packages/mlens/ensemble/base.py", line 614, in predict     X, _ = check_inputs(X, check_level=self.array_check)   File "/root/miniconda2/lib/python2.7/site-packages/mlens/utils/validation.py", line 562, in check_inputs     X = _check_array(X)   File "/root/miniconda2/lib/python2.7/site-packages/mlens/utils/validation.py", line 510, in _check_array     warn_on_dtype=False  # Mute as 'dtype' is 'None'   File "/root/miniconda2/lib/python2.7/site-packages/mlens/externals/sklearn/validation.py", line 388, in check_array     _assert_all_finite(array)   File "/root/miniconda2/lib/python2.7/site-packages/mlens/externals/sklearn/validation.py", line 46, in _assert_all_finite     " or a value too large for %r." % X.dtype) ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
I have checked the data which is no nan and i can train the data with single model.my code show in the below:
ensemble.add('stack',model['ex']) ensemble.add('blend',model['ex']) ensemble.add('subsemble',model['ex']) meta = "ls" ensemble.add_meta(model[meta]) ensemble.fit(X_train,y_train) preds1 = np.exp(ensemble.predict(X))

There seems to be something in your data that the sklearn data validation routine doesn't like. You can turn it off in the ensemble with array_check=0, and it should work (unless your estimators gives you an error)

repo: flennerhag/mlens


text:
🛑 FLETEC Portal is down

In df1c771, FLETEC Portal (https://portal.fletec.io) was down:

HTTP code: 401
Response time: 684 ms

Resolved: FLETEC Portal is back up in 65e2b84.

repo: fletec/fletec-upptime


text:
POL-473 Attempting to fix custom tier

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          1 Error

:no_entry_sign:
Please add labels to this Pull Request

  Generated by :no_entry_sign: Danger

authors: flexera-ci rshade


text:
Upgrade electron to latest version

Electron version is also way behind, update to 25

electron upgraded to "electron": "26.3.0"

repo: flexn-io/renative


text:
[ios] after installing app is not launched

Describe the bug
App is not launched/is launched with a bug
To Reproduce

checkout fix/ios_device_management_pt2
go to template-starter
make sure there is no template starter app installed
do npx rnv run -p ios -d -> app is launched but error is displayed

after clicking "Reload JS" app launches fine
now close the app and stop the process
do npx rnv run -p ios -d -> sometimes app is not launched and user needs to click on installed app to launch it but there is no error; if you skip closing app on 6 step -> app is launched fine

pauliusguzas@MBP-de-Flexn template-starter % npx rnv run -p ios -d
┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.1                                                   │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p ios -d                                               │
│        Start Time: 12/7/2023, 12:35:25 PM                                    │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-rn path: /Users/pauliusguzas/Desktop/renative/renative/packages/engine-rn
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:template
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:template
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:195.75 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.75 KB
[ task ] [app configure] generateBuildConfig[3] size:195.75 KB
[ task ] [app configure] generateBuildConfig[4] size:195.75 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:209.27 KB
[ task ] [app configure] generateBuildConfig[6] size:209.27 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:209.27 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:209.27 KB
[ info ] [app configure] Current App Config: template
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.1,rnvProject:1.0.0-rc.1[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:template
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ success ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
[ success ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
[ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
[ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/findMatchingSimulator.js requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
[ success ] [project configure] /@react-native-community/cli-platform-ios/build/commands/runIOS/index.js requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] configureRuntimeDefaults[5] appId:template
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] configureXcodeProject[1]
[ task ] [configure] parseFonts[2]
[ task ] [configure] parsePlugins[3]
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/pauliusguzas/Desktop/renative/renative/node_modules/@flexn/assets-renative-outline/assets/ios. Will be used to generate assets.
[ task ] [configure] copyAppleAssets[1]
[ task ] [configure] parseXcscheme[1]
[ task ] [configure] parsePodFile[1]
[ task ] [configure] parsePlugins[4]
[ success ] [configure] /react-native-gesture-handler/RNGestureHandler.podspec requires override by: REACT_CORE_OVERRIDES. FIXING...DONE
✔ Executing: pod --version
[ task ] [configure] parseEntitlementsPlist[1]
[ task ] [configure] parseInfoPlist[1]
[ task ] [configure] parsePlugins[5]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_ios)
[ task ] [configure] parsePlugins[6]
[ task ] [configure] runCocoaPods[1] forceUpdate:false
[ info ] [configure] Pods do not seem like they need to be updated. If you want to update them manually run the same command with "-u" parameter
[ task ] [configure] parseXcodeProject[1]
[ task ] [configure] _parseXcodeProject[1]
[ task ] [configure] parsePlugins[7]
[ task ] [configure] parseFonts[3]
[ task ] [configure] parsePlugins[8]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] getIosDeviceToRunOn[1]
[ task ] [run] getAppleDevices[1] ignoreDevices:false ignoreSimulators:true
✔ Executing: xcrun simctl list --json
[ success ] [run] Found one device connected! device name: iPad udid: 591253557404a06ec4a7ce4fc091c84bdcd76442
[ task ] [run] startBundlerIfRequired[1]
[ task ] [run] isBundlerActive[1] (http://0.0.0.0:8082)
[ task ] => [run] => [start]
[ hook ] [start] executePipe ('start:before')
[ task ] [start] taskRnvStart[1] parent:run port:8082 hosted:false
Dev server running at: http://0.0.0.0:8082/index.bundle?platform=ios
[ hook ] [start] executePipe ('start:after')
[ task ] <= [run] <= start
⠋ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[1]
[ task ] [run] _isBundlerRunning[2] (NO)
⠹ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[3]
[ task ] [run] _isBundlerRunning[4] (NO)
⠼ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[5]
[ task ] [run] _isBundlerRunning[6] (NO)
⠧ Waiting for bundler to finish...warn From React Native 0.72, your metro.config.js file should extend'@react-native/metro-config'. Please see the React Native 0.72 changelog, or copy the template at:
https://github.com/facebook/react-native/blob/main/packages/react-native/template/metro.config.js
warn Falling back to internal defaults.
                        ▒▒▓▓▓▓▒▒
                     ▒▓▓▓▒▒░░▒▒▓▓▓▒
                  ▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
                 ▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
                 ▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
                 ▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
                 ▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
                  ▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
                     ▒▓▓▓▒░░░░▒▓▓▓▒
                        ▒▒▓▓▓▓▒▒
                Welcome to Metro v0.76.7
              Fast - Scalable - Integrated
warning: Watchman `watch-project` returned a warning: Recrawled this watch 23 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`
warning: Watchman `watch-project` returned a warning: Recrawled this watch 23 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`
warning: Watchman `watch-project` returned a warning: Recrawled this watch 23 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`
warning: Watchman `watch-project` returned a warning: Recrawled this watch 23 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`
⠧ Waiting for bundler to finish...[ task ] [run] _isBundlerRunning[7]
[ task ] [run] _isBundlerRunning[8] (YES)
✔ Waiting for bundler to finish...
[ task ] [run] runXcodeProject[1] targetArgs:--udid 591253557404a06ec4a7ce4fc091c84bdcd76442
[ task ] [run] _checkLockAndExec[1] scheme:RNVApp runScheme:Debug p:--udid 591253557404a06ec4a7ce4fc091c84bdcd76442
[ task ] [run] _checkLockAndExec[2] scheme:RNVApp runScheme:Debug
                    warning: Watchman `query` returned a warning: Recrawled this watch 23 times, most recently because:bdcd76442
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`
⠧ Executing: npx react-native run-ios --scheme=RNVApp --mode=Debug --no-packager --udid 591253557404a06ec4a7ce4fc091c84bdcd76442Recrawled this watch 23 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`
✔ Executing: npx react-native run-ios --scheme=RNVApp --mode=Debug --no-packager --udid 591253557404a06ec4a7ce4fc091c84bdcd76442
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  BUNDLER STARTED | 12/7/2023, 12:37:36 PM                                │
│  $ npx rnv run -p ios -d                                                     │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.1                                                │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.1                              │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): ios                                                          │
│  Engine ($.platforms.ios.engine): engine-rn                                  │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): iPhone 14                                                      │
│  Supported Platforms: ios                                                    │
│  Env Info: darwin | x64 | node v18.16.0                                      │
│  Executed Time: 0h:2m:11s:362ms                                              │
│                                                                              │
│ [ success ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
│ [ success ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json. FIXING...DONE
│ [ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
│ [ success ] [project configure] /@react-native-community/cli-platform-ios/build/tools/findMatchingSimulator.js requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
│ [ success ] [project configure] /@react-native-community/cli-platform-ios/build/commands/runIOS/index.js requires override by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json. FIXING...DONE
│ [ success ] [configure] /react-native-gesture-handler/RNGestureHandler.podspec requires override by: REACT_CORE_OVERRIDES. FIXING...DONE
│ [ success ] [run] Found one device connected! device name: iPad udid: 591253557404a06ec4a7ce4fc091c84bdcd76442
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/template_ios/RNVApp.xcworkspace                            │
└──────────────────────────────────────────────────────────────────────────────┘

Note
npx rnv run -p ios -d -t -> the same issue
Desktop (please complete the following information):

OS: Ventura 13.5.2
Node Version 18.16.0
RNV Version 1.0.0-rc.1
app-harness Version  1.0.0-rc.1

can't reproduce it on 1.0.0-rc.19

authors: GabrieleKaceviciute pauliusguzas


text:
I have written a swap string program in c

I have been learning c program and practicing it for a while ,so i have written a c program to swap two strings .

This is my first pr and happy to contribute to open source

@flickerbot please merge the pr

Hello @flickerbot


text:
PiAware update to accommodate PI3 B+

I believe the new model can not boot using the current PiAware software, users having to update there card in the model B before using that card in a new 3 B+ and there are other issues arising with Pi Aware.  Any idea on an update being released??

The PiAware software itself shouldn't care, it should work fine on a 3B+.
The PiAware sdcard image first needs to be updated to stretch, then we can add support. It'll happen at some point.

Thanks Oliver

I'm getting constant clock unstable issues with the Pi 3B+ I've tried all kinds of clock speed settings, some are more stable than others, but either way it's way less stable than other times.  Is this a sensitivity issue which could be adjusted?

Is the other hardware, including USB cabling, identical?

Yep, nothing changed, all I did was upgrade from Jessie to Stretch..

It seems like it took a while for the clock to settle down, like 12hrs or more, but now it seems to be ok. Seems like the clock has remained stable since this happened..

The 3.6.2 sdcard images are now Stretch-based.

repo: flightaware/piaware


text:
feat: support for API 23.0

Dockerfile to build the binding from the git
added instruction to update  bindings.rs in README.md
bindings.rs updated to API 23.0

Thanks!

repo: flipperzero-rs/flipperzero


text:
Intel XDK Cordova 6.2.0 Android Build Fail

When adding this plugin via Intel XDK and when using Cordova 6.2.0, the build fails.
Also fails with 5.4.1, is this an Intel issue?

Log: https://gyazo.com/aa95a6af4f49a2a015bcef9124515d44

https://software.intel.com/en-us/forums/intel-xdk/topic/600642
This is from 2015

sir,
intel xdk not supporting gradle build. So could you please give some suggestion for this.

authors: Nuuf pearlwebsolution

repo: floatinghotpot/cordova-admob-pro


text:
Is the naming of the library, classes and properties okay?

I'm not happy with the library name AdvancedCollectionTableView. Recommend better names.
I’m also not sure about naming of the classes: I named them the same as in UIKit just with NS prefixes (e.g. UIContentConfiguration to NSContentConfiguration) .
This isn't a library/code by Apple, so i’m not sure if it’s appropiate to name them like that.
I also used the UIKit documentation about the classes, variables and functions and simply adapted it to AppKit. Is this okay/appropiate?

What about NSUI? Hit's the nail right into the coffin, I'd say, even though it breaks the convention of up to three letter prefixes at max.

@Akazm NSUI refers to AppKit/UIKit typealias. For example:
NSUIView: NSView/UIView
How would you name the typealias?

How would you name the typealias?

I've recently ran into this when it came to NS/UIColor, simply called it 'KitColor' because it's the common suffix of both platform framework names.

authors: Akazm flocked

repo: flocked/AdvancedCollectionTableView


text:
Someone who works at the root of the api to add new functions to it, such as a drags? [FEATURE]

Someone who works at the root of the api to add new functions to it, such as a drags timer and other things that I need for my championship, we are looking for someone who really knows how to add a service that will be paid, contact me urgently.
would it be possible for you to be able to do this, put some new functions in the api and we would pay for the new functions? @floh22
https://linktr.ee/iagomouraof

@floh22

I doubt anyone currently other than me has much experience with this program, and I dont think that will change. The program is a architectural mess and changing stuff is a nightmare.
If you wish to get custom paid for tools, as far as I know the people over at RC Volunteers and their League Production toolkit do custom work, you may have more success asking them


text:
[Request] samples on Android

It would be helpful to have an example of Zig + Sokol running on Android.

That's a bit tricky. In C with CMake I have created a lot of build system magic to build an Android APK without Gradle. I guess this would need to be replicated in the Zig build system and it wouldn't be standalone but require an installed Android SDK (for the extra tools required for bundling and signing the APK file).
Googling around a bit it looks like this project solves that issue: https://github.com/MasterQ32/ZigAndroidTemplate, but it's a bit much to include in the sokol-zig repo. Might make sense to create a separate repository... or hopefully once Zig gets its package manager it might be possible to put this stuff into a helper package...

In C with CMake I have created a lot of build system magic to build an Android APK without Gradle.

Thanks. I've tried your https://github.com/floooh/sokol-samples#to-build-for-android and tried to find out how to do it, but due to my unfamiliarity with compiling C, I could not find which file to refer to.
Could you please tell me which file to refer to?

The interesting stuff actually is all in Python scripts...
E.g. the automated Android SDK and NDK installation is here,
https://github.com/floooh/fips/blob/master/mod/android.py
Creating and signing the Android-APK is here:
https://github.com/floooh/fips/blob/master/tools/android-create-apk.py
...that last script is integrated into cmake as a custom post-build-step here:
https://github.com/floooh/fips/blob/ab2c3bef9ad3ab79efd816f22e2a151bb51714e7/cmake/fips_platform.cmake#L189-L203

Could you give me an advice how to fix this?
> zig build
error(compilation): clang failed with stderr: In file included from /dev/zig-sokol/src/sokol/c/sokol_app.c:5:
/dev/zig-sokol/src/sokol/c/sokol_app.h:1908:6: error: ("sokol_app.h: SOKOL_NO_ENTRY is not supported on Android")
/dev/zig-sokol/src/sokol/c/sokol_app.h:10963:6: error: "sapp_run() not supported on this platform"

zigsokoltest.zig
const std = @import("std");
const sokol = @import("sokol/sokol.zig");
const sapp = sokol.app;

pub fn main() !void {
	sapp.run(.{
		.width = 300,
		.height = 200,
	});
}

build.zig
const std = @import("std");

// Android-SDK
const SDK = "/opt/android-sdk";
const APILEVEL = "23";
const PLATFORM = SDK ++ "/platforms/android-" ++ APILEVEL ++ "/android.jar";
const BUILDTOOLS = SDK ++ "/build-tools/30.0.3";
// NDK
const NDK = SDK ++ "/ndk/25.1.8937393";

// App
const APP_NAME = "ZigSokolTest";
const LIB_NAME = "zigsokoltest";
const APP_PKG = "com.test." ++ LIB_NAME;
// Build
const BUILD_DIR = "build";
const BUILD_JAVA_GEN_DIR = BUILD_DIR ++ "/gen"; // R.java
const BUILD_JAVA_OBJ_DIR = BUILD_DIR ++ "/obj";
const BUILD_APK_DIR = BUILD_DIR ++ "/apk";
const BUILD_APK_LIB_DIR = BUILD_APK_DIR ++ "/lib/armeabi-v7a";

pub fn build(b: *std.Build) !void{
	const dir = std.fs.cwd();
	try dir.makePath(BUILD_JAVA_GEN_DIR);
	try dir.makePath(BUILD_JAVA_OBJ_DIR);
	try dir.makePath(BUILD_APK_DIR);
	try dir.makePath(BUILD_APK_LIB_DIR);

	const compile_step = compile(b);
	const package_step = package(b, compile_step);
	b.getInstallStep().dependOn(&package_step.step);

	const deploy_step = deploy(b, package_step);
	const build_run = b.step("run", "install apk to device and start app.");
	build_run.dependOn(&deploy_step.step);
}

pub fn compile(b: *std.Build) *std.Build.CompileStep {
	const mode = b.standardOptimizeOption(.{});
	const target = std.zig.CrossTarget{
		.cpu_arch = .arm,
		.os_tag = .linux,
		.abi = .android,
		.cpu_model = .baseline,
		.cpu_features_add = std.Target.arm.featureSet(&.{.v7a}),
	};

	const lib = b.addSharedLibrary(.{
		.name = "zigsokoltest",
		.root_source_file = .{.path = "src/zigsokoltest.zig"},
		.target = target,
		.optimize = mode
	});

	lib.linkLibC();
	const csources = [_][]const u8 {
        "sokol_app.c",
    };
	inline for (csources) |csrc| {
		lib.addCSourceFile("src/sokol/c/" ++ csrc, &[_][]const u8{
			"-DIMPL", "-DSOKOL_GLES3"
		});
	}

	const NDK_SYSROOT = NDK ++ "/toolchains/llvm/prebuilt/linux-x86_64/sysroot";
	const s = "include_dir=" ++ NDK_SYSROOT ++ "/usr/include\n" ++
		"sys_include_dir=" ++ NDK_SYSROOT ++ "/usr/include\n" ++
		"crt_dir=" ++ NDK_SYSROOT ++ "/usr/lib/arm-linux-androideabi/" ++ APILEVEL ++ "\n" ++
		"msvc_lib_dir=\n" ++
		"kernel32_lib_dir=\n" ++
		"gcc_dir=\n";
	// std.debug.print("{s}\n",.{s});
	const fname = "android-" ++ APILEVEL ++ "-armeabi.conf";
	const step = b.addWriteFile(fname, s);
	lib.setLibCFile(step.getFileSource(fname) orelse unreachable);
	lib.libc_file.?.addStepDependencies(&lib.step);

	// 'asm/types.h'
	lib.addIncludePath(NDK_SYSROOT ++ "/usr/include/arm-linux-androideabi");

	lib.linkSystemLibrary("android");
	lib.linkSystemLibrary("GLESv3");
	lib.linkSystemLibrary("EGL");
	lib.linkSystemLibrary("log");

	return lib;
}

fn package(b: *std.Build, compile_step: *std.Build.CompileStep) *std.Build.RunStep {
	const gen_res = b.addSystemCommand(&[_][]const u8{
		BUILDTOOLS ++ "/aapt", "package", "-v", "-f",
		"-m", "-J", BUILD_JAVA_GEN_DIR,
		"-S", "res",
		"-M", "AndroidManifest.xml",
		"-I", PLATFORM,
	});

	const PKG_DIR = "com/test/" ++ LIB_NAME;
	const javac = b.addSystemCommand(&[_][]const u8{
		"javac", "-verbose", "-source", "1.7", "-target", "1.7",
		"-bootclasspath", PLATFORM,
		"-d", BUILD_JAVA_OBJ_DIR,
		b.fmt("{s}/{s}/R.java", .{BUILD_JAVA_GEN_DIR, PKG_DIR}),
	});
	javac.step.dependOn(&gen_res.step);

	const dx = b.addSystemCommand(&[_][]const u8{
		BUILDTOOLS ++ "/dx", "--verbose", "--dex",
		b.fmt("--output={s}/classes.dex", .{BUILD_APK_DIR}),
		BUILD_JAVA_OBJ_DIR
	});
	dx.step.dependOn(&javac.step);

	const packageApk = b.addSystemCommand(&[_][]const u8{
		BUILDTOOLS ++ "/aapt", "package", "-v", "-f",
		"-S", "res",
		"-M", "AndroidManifest.xml",
		"-I", PLATFORM,
		"-F", b.fmt("{s}/{s}.unaligned.apk", .{BUILD_DIR, APP_NAME}),
		BUILD_APK_DIR,
	});
	packageApk.step.dependOn(&dx.step);

	const addLibToApk = b.addSystemCommand(&[_][]const u8{
		BUILDTOOLS ++ "/aapt", "add", "-v",
		b.fmt("{s}/{s}.unaligned.apk", .{BUILD_DIR, APP_NAME}),
		b.fmt("{s}/lib/armeabi-v7a/lib{s}.so", .{BUILD_APK_DIR, LIB_NAME})
	});

	addLibToApk.step.dependOn(&compile_step.step);
	addLibToApk.step.dependOn(&packageApk.step);

	const zipalign = b.addSystemCommand(&[_][]const u8{
		BUILDTOOLS ++ "/zipalign", "-v", "-f", "4",
		b.fmt("{s}/{s}.unaligned.apk", .{BUILD_DIR, APP_NAME}),
		b.fmt("{s}/{s}.apk", .{BUILD_DIR, APP_NAME})
	});
	zipalign.step.dependOn(&addLibToApk.step);

	const rm = b.addSystemCommand(&[_][]const u8{
		"rm", b.fmt("{s}/{s}.unaligned.apk", .{BUILD_DIR, APP_NAME})
	});
	rm.step.dependOn(&zipalign.step);

	const signApk = b.addSystemCommand(&[_][]const u8{
		BUILDTOOLS ++ "/apksigner", "sign", "-v",
		"--ks", "/dev/.android/debug.keystore",
		"--v4-signing-enabled", "false",
		"--ks-pass", "pass:android",
		b.fmt("{s}/{s}.apk", .{BUILD_DIR, APP_NAME})
	});
	signApk.step.dependOn(&rm.step);

	return signApk;
}

fn deploy(b: *std.Build, package_step: *std.Build.RunStep) *std.Build.RunStep {
	const installApk = b.addSystemCommand(&[_][]const u8{
		"adb", "install", "-r", b.fmt("{s}/{s}.apk", .{BUILD_DIR, APP_NAME})
	});
	installApk.step.dependOn(&package_step.step);

	const startApp = b.addSystemCommand(&[_][]const u8{
		"adb", "shell", "am", "start", "--activity-clear-top", "-n",
		b.fmt("{s}/android.app.NativeActivity", .{APP_PKG})
	});
	// startApp.step.dependOn(&startLogcat.step);
	startApp.step.dependOn(&installApk.step);

	return startApp;
}

repo: floooh/sokol-zig

license: Zlib


text:
Using Sokol_gfx with multiple CAMetalLayers

Sokol_gfx seems to be optimized for situations where you have a single metal destination. Our app can have multiple document windows open, each with their own metal layer displaying document content.  Is there a way to support this use case?

This isn't supported unfortunately. I had started to explore this idea in this abandondend multiwindow branch: https://github.com/floooh/sokol/tree/sapp-multiwindow, but was running into a lot of problems driving multiple MTKView in sokol_app.h in the same frame loop, the whole thing simply became too brittle before I gave up.
The sokol_gfx.h implementation would basically use the incomplete sg_context stuff (which currently only works for multiple GL contexts) and associate a context with ever CAMetalLayer swapchain. But I also don't like this whole context idea less and less.
If I would ever revisit that idea, I would try to use regular pass objects instead which render into offscreen render targets, and then "somehow" blit those offscreen render targets into the various CAMetalLayer surfaces.
But this is definitely not at the top of the priority queue at the moment.

PS: if you're adventurous, you could try running multiple default-passes in one frame (like in this multiwindow-glfw sample: https://github.com/floooh/sokol-samples/blob/4e65abf8266911b124df931b674b65a6ec8fc4dd/glfw/multiwindow-glfw.c#L174-L199, but in the renderpass_descriptor_cb and drawable_cb callbacks which are passed into sokol-gfx the sg_setup() function, return a different MTLRenderPassDescriptor and MTLDrawable object for each default pass, so that each default pass renders into a different MTLDrawable obtained from a CAMetalLayer object.
For this to work you need to abandon sokol_app.h completely and only use sokol_gfx.h with your own window system glue.

We're not using sokol_app.h, so the drawable_cb approach may work for us. Thank you.
I was kind of curious why renderpass_descriptor_cb exists though. Is it just for use with MTKView? Is there ever a situation that its implementation would be anything other than:
const void* get_render_pass_descriptor(void) {
MTLRenderPassDescriptor *pass = [MTLRenderPassDescriptor renderPassDescriptor];
pass.colorAttachments[0].texture = currentDrawable.texture;
return pass;
}

Yes, mainly because MTKView has a currentRenderPassDescriptor convenience method.
In sokol-gfx I'm just expecting such a pre-configured render-pass-descriptor for the default pass because it also references all the resources needed for handling things like MSAA antialiasing in the default pass (the alternative would be to pass the currentDrawable along with the default pass depth-stencil texture and MSAA resolve texture to sokol-gfx, and sokol-gfx creates the render pass from those).
Without MTKView, you can just create the RenderPassDescriptor similar to you code snippet, but you also need to take care of the depth-stencil texture and MSAA texture and configure the RenderPassDescriptor as described here under 'Discussion': https://developer.apple.com/documentation/metalkit/mtkview/1536024-currentrenderpassdescriptor?language=objc

...this should now also be fixed with https://github.com/floooh/sokol/pull/985.

authors: danielchasehooper floooh

repo: floooh/sokol


text:
Header indicator not drawn when bound to ExpansionHeader

I'm using an ImageView with a VectorDrawable; when expansion_headerIndicator attribute is not set, the image is shown, but whet it's set to the ImageView's id, the image is not shown anymore. I have minSdk=21, tried on Android 8.0.
<com.github.florent37.expansionpanel.ExpansionHeader
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:expansion_layout="@id/content"
                app:expansion_headerIndicator="@id/ivPanelIndicator"
                app:expansion_toggleOnClick="true">
    <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text="Text" />

        <ImageView
            android:id="@+id/ivPanelIndicator"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:scaleType="center"
            android:adjustViewBounds="true
            android:src="@drawable/ic_keyboard_arrow_down_24dp" />
    </LinearLayout>
</com.github.florent37.expansionpanel.ExpansionHeader>

use AppCompatImageView and app:srcCompat

Thanks. Since the app namespace is required and it won't work with android, no matter the sdk version, I suggest to highlight this info in the Readme.


text:
WIP: Admin key from Google KMS

resolves #154

Note: there are still some issues regarding testnet.

I can share our code on this. This is how we're pulling public keys from Google KMS on Dapper wallet:
// GetPublicKeyWithKeyConfig retrieves the Public Key given the keyConfig
// Example Name: "projects/PROJECT_ID/locations/LOCATION_ID/keyRings/RING_ID/cryptoKeys/KEY_ID/cryptoKeyVersions/1
func (k *kmsProvider) GetPublicKeyWithKeyConfig(ctx context.Context, keyConfig *KeyConfig) ([]byte, error) {
	// generate request
	reqName := fmt.Sprintf("projects/%s/locations/%s/keyRings/%s/cryptoKeys/%s/cryptoKeyVersions/%s",
		k.projectID,
		k.locationID,
		keyConfig.KeyRingID,
		keyConfig.KeyID,
		keyConfig.KeyVersion,
	)
	req := &kmspb.GetPublicKeyRequest{
		Name: reqName,
	}

	resp, err := k.kmsClient.GetPublicKey(ctx, req)
	if err != nil {
		return nil, fmt.Errorf("Unable to GetPublicKey: %s", err)
	}

	pemKey := resp.GetPem()

	// PEM decode public key
	block, _ := pem.Decode([]byte(pemKey))
	if block == nil || block.Type != PEMBlockTypePublicKey {
		return nil, errors.New("Unable to decode PEM block containing public key")
	}

	pub, err := x509.ParsePKIXPublicKey(block.Bytes)
	if err != nil {
		return nil, err
	}
	pubKey := pub.(*ecdsa.PublicKey)
	xBytes := PadBytes(pubKey.X.Bytes(), ECCoupleComponentSize)
	yBytes := PadBytes(pubKey.Y.Bytes(), ECCoupleComponentSize)
	pubKeyParamBytes := append(xBytes, yBytes...)

	return pubKeyParamBytes, nil
}

This is how we convert the result []byte into *flow.AccountKey (the algo params are the same as key creation):
// AccountKeyFromBytes converts byte array to *flow.AccountKey
func AccountKeyFromBytes(pubKey []byte) (*flow.AccountKey, error) {
	cryptoPubkey, err := crypto.DecodePublicKey(crypto.ECDSA_P256, pubKey)
	if err != nil {
		return nil, err
	}

	return &flow.AccountKey{
		PublicKey: cryptoPubkey,
		SigAlgo:   crypto.ECDSA_P256,
		HashAlgo:  crypto.SHA2_256,
	}, nil
}

Thanks @tehranifar! We are using the Flow SDKs Google KMS API so I think that same code is there some where.
This issue however was actually simpler than it first seemed like. When creating a testnet account via the faucet one must choose SHA2-256 as the hash algorithm on the creation form here https://testnet-faucet-v2.onflow.org, not SHA3-256. So Googles generated keys must be SHA2.

authors: latenssi tehranifar

repo: flow-hydraulics/flow-wallet-api


text:
Iterate on title and description of nodered page

Description
We need to increase the click-thru rate of our node-red page. The current ctr is 1.8%. The current title is Introduction to Node-RED which doesn't really differentiate ourselves from other search results.
I would suggest changing the title to be: Node-RED Resources
Text under the title should be: A collection technical resources the answer your questions about Node-RED.
Epic/Story
No response
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Just to record the only iteration I'd made to this was https://github.com/flowforge/website/pull/741 not sure if we can use GA to check if that had any impact (I doubt it)

Just to record the only iteration I'd made to this was #741 not sure if we can use GA to check if that had any impact (I doubt it)

GA picked up these changes but it didn't move the needle on CTR.

authors: iskerrett joepavitt

repo: flowforge/website


text:
你们的网站监控报表 - 重构版 能用吗？

原版我的能用。
btcloud解析出来的不出数据。

原版我的能用。
btcloud解析出来的不出数据。

兄弟有联系方式吗 , 我用开心版8.0.4 监控报表用不了 , 能给个重构版的安装 shell 吗

repo: flucont/btcloud


text:
Missing capability method getAvailableEncoders

Add both getAvailableEncoders and availableEncoders.

Not sure why the build is failing - its happening on the other 2 pull requests occasionally too 😔

Yeah, that's due to some timing-dependent tests that I wasn't able to rewrite correctly.
I have invited you to the team, hopefully that enables you to relaunch PR test jobs on jenkins.

👍 done!
Any chance when merging this in that you could also push a new version to npm?

Yep. Do you have an account on npmjs.org ?

Yep - rhodgkins

Okay, added you on npmjs so that you can push the new version if you want to. I won't be able to do it myself for a few days.

authors: njoyard rhodgkins

repo: fluent-ffmpeg/node-fluent-ffmpeg


text:
Add option to pass index template for ES

as per: https://github.com/uken/fluent-plugin-elasticsearch#template_name
This will enable users to have more control over the indices created on elasticsearch by fluentd.

This patch will be merged after merged https://github.com/fluent/fluentd/pull/2685

@repeatedly updated my PR to use the syntax added in 1.8.0.

authors: eyalzek repeatedly

repo: fluent/fluentd-kubernetes-daemonset


text:
fuentd + es and json nest multiple time get 1970.01.01 index

HI! I using fluentd 1.2.2 in linux.
I found json has multiple time will get a error @timestamp.
my configuration:
kind: ConfigMap
apiVersion: v1
metadata:
  name: fluentd-es-config-v0.1.5
  namespace: kube-system
  labels:
    addonmanager.kubernetes.io/mode: Reconcile
data:
  containers.input.conf: |-
    <match fluent.**>
      # this tells fluentd to not output its log on stdout
      @type null
    </match>
    <source>
      @id fluentd-containers.log
      @type tail
      path /var/log/containers/*.log
      pos_file /var/log/es-containers.log.pos
      tag raw.kubernetes.*
      read_from_head true
      <parse>
        @type json
        time_format %Y-%m-%dT%H:%M:%S.%NZ
        time_key time
        keep_time_key true
        types {"log":"string"}
      </parse>
    </source>
    # Detect exceptions in the log output and forward them as one log entry.
    <match raw.kubernetes.**>
      @id raw.kubernetes
      @type detect_exceptions
      remove_tag_prefix raw
      message log
      stream stream
      multiline_flush_interval 5
      max_bytes 500000
      max_lines 1000
    </match>
    <filter kubernetes.**>
      @type parser
      key_name log
      reserve_data true
      inject_key_prefix app.log.
      remove_key_name_field true
      <parse>
        @type json
      </parse>
    </filter>
  forward.input.conf: |-
    # Takes the messages sent over TCP
    <source>
      @type forward
    </source>
  output.conf: |-
    # Enriches records with Kubernetes metadata
    <filter kubernetes.**>
      @type kubernetes_metadata
    </filter>
    <filter kubernetes.**>
        @type grep
        <exclude>
            key $.kubernetes.labels.fluentd
            pattern false
        </exclude>
    </filter>
    <match **>
      @id elasticsearch
      @type elasticsearch_dynamic
      @log_level info
      type_name fluentd
      include_tag_key true
      host es1,es2,es3
      port 9200
      # host "#{ENV['FLUENT_ELASTICSEARCH_HOST']}"
      # port "#{ENV['FLUENT_ELASTICSEARCH_PORT']}"
      # scheme "#{ENV['FLUENT_ELASTICSEARCH_SCHEME'] || 'http'}"
      # ssl_verify "#{ENV['FLUENT_ELASTICSEARCH_SSL_VERIFY'] || 'true'}"
      # user "#{ENV['FLUENT_ELASTICSEARCH_USER']}" # remove these lines if not needed
      # password "#{ENV['FLUENT_ELASTICSEARCH_PASSWORD']}" # remove these lines if not needed
      logstash_prefix test-${record['kubernetes']['namespace_name']}
      logstash_format true
      <buffer>
        @type file
        path /var/log/fluentd-buffers/kubernetes.system.buffer
        flush_mode interval
        retry_type exponential_backoff
        flush_thread_count 2
        flush_interval 5s
        retry_timeout 3s
        retry_forever false
        retry_max_times 2160
        retry_max_interval 30
        chunk_limit_size 2M
        queue_limit_length 8
        overflow_action block
      </buffer>
    </match>
  system.conf: |-
    <system>
      root_dir /tmp/fluentd-buffers/
    </system>

my log format:
{"log":"{\"ClientAddr\":\"10.244.2.0:38909\",\"ClientHost\":\"10.244.2.0\",\"ClientPort\":\"38909\",\"ClientUsername\":\"-\",\"DownstreamContentSize\":19,\"DownstreamStatus\":404,\"DownstreamStatusLine\":\"404 Not Found\",\"Duration\":86536,\"Overhead\":86536,\"RequestContentSize\":0,\"RequestCount\":61358290,\"RequestLine\":\"HEAD /health HTTP/1.0\",\"RequestMethod\":\"HEAD\",\"RequestPath\":\"/health\",\"RequestProtocol\":\"HTTP/1.0\",\"RetryAttempts\":0,\"StartLocal\":\"2018-09-18T08:28:25.680676042Z\",\"StartUTC\":\"2018-09-18T08:28:25.680676042Z\",\"downstream_Content-Type\":\"text/plain; charset=utf-8\",\"downstream_X-Content-Type-Options\":\"nosniff\",\"level\":\"info\",\"msg\":\"\",\"time\":\"2018-09-18T08:28:25Z\"}\n","stream":"stdout","time":"2018-09-18T08:28:25.680959372Z"}

I see fluentd create index test-kueb-system-1970.01.01
  "_source": {
    "stream": "stderr",
    "time": "2018-09-18T08:31:38.049400249Z",

but
  "fields": {
    "@timestamp": [
      "1970-01-01T00:33:38.000Z"
    ]
  },

No time field in log is fine, anyone has the solution?

This seems es plugin setting or record mismatch issue, not fluentd core. Closed.

authors: cCloudSky repeatedly

repo: fluent/fluentd


text:
emit_count_metrics has wrong name

Describe the bug
While digging through code I think I found a bug where emit_count_metrics has the wrong metrics_create name.
https://github.com/fluent/fluentd/blob/b28f7d70dac657cb390aabc56dcfee8857975b4b/lib/fluent/plugin/bare_output.rb#L73-L74
Both emit_count_metrics and emit_records_metrics call metrics_create(namespace: "fluentd", subsystem: "bare_output", name: "emit_records") with just different help_text. It seems like emit_count_metrics should have the name emit_count.
To Reproduce
Look at https://github.com/fluent/fluentd/blob/b28f7d70dac657cb390aabc56dcfee8857975b4b/lib/fluent/plugin/bare_output.rb#L73-L74
This also shows up in a few more places.
Expected behavior
Honestly, I expected fluentd_output_status_emit_count and fluentd_output_status_emit_records from the prometheus plugin to not look identical, which took me down a rabbit hole and led me here.
Your Environment
N/A, just digging through code

Your Configuration
k8s 1.21 in GKE

Your Error Log
N/A

Additional context
No response

@danielhoherd thank you for reporting!
Fixed via #3630

authors: danielhoherd kenhys


text:
in_tail: Explicitly update position to 0 when the file is truncated

Current in_tail already reads the file from head when truncated,
but the position is updated to stat.size. Basically it is misleading and
may cause unexpected behaviour.

Good catch!

authors: mururu repeatedly


text:
Draft: buffer: fix emit error of race condition

Which issue(s) this PR fixes:

Fixes #4446

What this PR does / why we need it:
After 95438b2eeb4bb5586a4031c1fbc35756f3c12565 (#4342) (v1.16.4), there is a section where chunks do not have a lock in write_step_by_step().
write_step_by_step() must ensure their locks until passing them to the block.
Otherwise, race condition can occur and it can cause emit error by IOError.
Example of warning messages of emit error:
[warn]: #0 emit transaction failed: error_class=IOError error="closed stream" location=...
[warn]: #0 send an error event stream to @ERROR: error_class=IOError error="closed stream" location=...

Docs Changes:
TODO
Release Note:
TODO

It looks like a lot of diffs, but most of them are just indentation changes.
I have changed chunk.synchronize to chunk.mon_enter.
It causes an indentation change of the following block.

There are three changes in this PR:

Changed chunk.synchronize to chunk.mon_enter.
Added chunk.mon_exit to the rescue block for ShouldRetry.
Added the ensure block and ensured to execute chunk.mon_exit.

I am considering if I can add some tests...

Even though it will be squashed, split indentation commit may be better.

Even though it will be squashed, split indentation commit may be better.

I see!!

Even though it will be squashed, split indentation commit may be better.

I see!!

Thanks! I have separated them.
The actual fixes are https://github.com/fluent/fluentd/pull/4447/commits/f4a4591af8ac12344438621a72adf6399a1d3112

I will check the behavior a little more tomorrow and add some tests if possible, but basically,  I think this is prepared.

I have add a test.

Thanks!

authors: daipom kenhys