move to popperjs v2

[x] Docs
[ ] Changes in Popover css to add a bit of space between the element and the popover
[ ] Conflict between Popper.js and our css, which block us to align right dropdown
[ ] Tighten bundlewatch limits before the final merge

Fixes #29842
Preview: https://deploy-preview-31178--twbs-bootstrap.netlify.app/

Hi our @twbs/css-review team ❤
Would you help me here ? I have some css issues on this migration

Changes in Popover css to add a bit of space between the element and the popover

Is this just a matter of setting the offset in popper?

Conflict between Popper.js and our css, which block us to align right popover

What is this exactly? is it the alignment of the arrow?

Is this just a matter of setting the offset in popper?

I tried to do that, but it does nothing 😟 so I think with a bit of CSS we can change that easily to avoid that:

What is this exactly? is it the alignment of the arrow?

Sorry I meant on our dropdown. See:

Hey folks, we tried to preemptively upgrade to popper v2 in react-bootstrap for bootstrap 4 and thought it might be helpful top share what we learned:
tl;dr; Proper popper v2 support requires bigger CSS changes to the tooltip, popover, and dropdown menu
The slightly longer version is that popper no longer considers margins when calculating offsets, which ius why the Popover and dropdown are positioned incorrectly. To fix, all distance should be set via the popper offset modifier.
Another related consequence to this is that arrow positioning that depends on creating space via a padding (the tooltip) also doesn't work well anymore (maybe never). The issue there is that when using auto positions or flip the actual size of the popper element will change if the tooltip is moved to a different axis (b/c x and y padding is changed). Because the offsets were calculated uses the old box, the newly flipped tooltip will be incorrectly positioned until popper runs again.
Popper docs and Tippy both avoid this problem by only using the offset modifier and offsetting the arrow relative to the container (e.g left ; -4px)
None of this is particularly hard to fix BUT it has the consequence of needing config for arrow size available in JS, or doing some getComputedStyle shenanigans in a offset modifier (which does accept a function but doesn't pass in the actual popper element).

I'd also add that I'd be happy to help out getting this in. Popper v2 is awesome and tiny

@jquense We'll take any help you can give! Would love to get this included in Alpha 3!

Rebased it, hopefully nothing broke :)

I'll try and take a swing at helping out here

@FezVrasta do you have any suggestions about what's the best way to handle styling with popper 2.x?


Tiny spelling mistake FluidityCollectionConfig

Fluidity.Configuration.FluidityCollectionConfig.connectionStringg has an extra g on the end, which is at odds with the documentation.

Hi James,
I've gone ahead and fixed that so thanks for raising it.
Just to check, are you actually using that property? The one with the spelling mistake was an internal property that shouldn't be used, instead, the SetConnectionString(string connStrName) should be used publicly which is consistent with the documentation.

I'm not using it, I just noticed it while investigating how to implement my own repository with a custom database string.  Cheers


No module named 'sklearn'

Hi there, I might be missing something basic here.
When trying to run the sample local training:
`sudo ./train-local \

--config-file $(pwd)/models/MobileNet/config_technical_cpu.json
--samples-file $(pwd)/data/TID2013/tid_labels_train.json
--image-dir`

I get an error:
File "/src/trainer/train.py", line 5, in <module>     from sklearn.model_selection import train_test_split ModuleNotFoundError: No module named 'sklearn'

In the ‘Dockerfile.cpu’ there is a line 'RUN pip install -r requirements.txt'. When looking at the /image-quality-assessment/src/requirements.txt, it only adds sklearn.
After adding scikit-learn to the file, and building the image once again, the dependency is installed properly

In the ‘Dockerfile.cpu’ there is a line 'RUN pip install -r requirements.txt'. When looking at the /image-quality-assessment/src/requirements.txt, it only adds sklearn.
After adding scikit-learn to the file, and building the image once again, the dependency is installed properly


Annotation names are kept not deobfuscated

Hi, please check com.mercadolibre.android.security.biometrics_ui.C6054a, when deobf option is enabled, the following annotations are generated
    @com.google.gson.p122a.C3190c(a = "fingerprint_status")

but it was renamed to mo13634a
public @interface C3190c {
    /* renamed from: a */
    java.lang.String mo13634a();

APK: https://drive.google.com/file/d/1Z0jvmIFuzSnkMapbiV2SRjB4KYHOO_qm/view?usp=sharing

I am trying to look into this, and I have a question:
In AnnotationGen, how to get a reference to the ClassNode of the annotation? There is a reference to the MethodNode of the usage of the annotation, with the annotation type as String.
In other words, how to get ClassNode from a String in ObjectType.

@asashour I already almost fixed that, but encounter another error :(
About your question:
	Annotation a;
	ClassNode annCls = cls.dex().resolveClass(a.getType());

Fixed in master branch.


Add recipe for sharing state between Astro components

What kind of changes does this PR include?

New or updated content

Description

Closes #3327
What does this PR change? Adds a new recipe for sharing state between Astro components. Also adds a link from the "Share State Between Islands" page, and vice-versa.

Another Otterlord recipe!  :raised_hands:
I promise, I'm going to get to these!  :sweat_smile:  Getting some 2.6 launch docs organized first. Thanks for the initial review, @dreyfus92 :rocket:


add fatigue system

default fatigue recovery takes too long and tires too quickly

Bohemia has resolved this. Much better now, especially for lighter loadouts. Closing this issue.


Diagnose modules with circular dependencies

This can't arise from a clean build, but it can happen if you have products lingering in a search path and then either rebuild one of the modules in the cycle, or change the search paths.
The way this is implemented is for each module to track whether its imports have all been resolved. If, when loading a module, one of its dependencies hasn't resolved all of its imports yet, then we know there's a cycle.
This doesn't produce the best diagnostics, but it's hard to get into this state in the first place, so that's probably okay.
SR-7483 / rdar://problem/39598696

Build failed
Swift Test OS X Platform
Git Sha - c94076fe04ea66fbd1b581e55c426cdda1b91e66

Source compat job continuing to run here
@akyrtzi Are you okay with deleting this old SourceKit test? A user-visible diagnostic seems sufficient to not worry about this case.
@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - c94076fe04ea66fbd1b581e55c426cdda1b91e66

Build failed
Swift Test OS X Platform
Git Sha - c94076fe04ea66fbd1b581e55c426cdda1b91e66

What happens in that index test that you deleted?  Does it get your new error and produce no indexing info?

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 313d83392ed84ba83a69792787ebceb379c553f0

Build failed
Swift Test Linux Platform
Git Sha - 313d83392ed84ba83a69792787ebceb379c553f0


Update README.md

Done

@mukeshkharita It would be awesome if you could squash the two commits into one.

Sir How

@mukeshkharita try this link.
No need for "sir', just use the nick.

But this all done at github so how i can.

Is it right?

@mukeshkharita Just squash all those commits into one in the same way as described in the link above.

@mukeshkharita We decided to change the directory structure a little bit. The README has been updated also.


Crashes Due to Failure to Load Info.plist in macOS with vscode and Android Studio

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

create project with macOS enable
replace main.dart to

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

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

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: FilledButton(
            onPressed: () async => const MethodChannel('example')
                .invokeMethod<void>('requestPermission'),
            child: const Text('requestPermission'),
          ),
        ),
      ),
    );
  }
}

replace info.plist to

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<!-- ADD THIS KEY -->
	<key>NSPhotoLibraryUsageDescription</key>
	<string>Description</string>
	<!-- ADD THIS KEY -->

	<key>CFBundleDevelopmentRegion</key>
	<string>$(DEVELOPMENT_LANGUAGE)</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIconFile</key>
	<string></string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(FLUTTER_BUILD_NAME)</string>
	<key>CFBundleVersion</key>
	<string>$(FLUTTER_BUILD_NUMBER)</string>
	<key>LSMinimumSystemVersion</key>
	<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
	<key>NSHumanReadableCopyright</key>
	<string>$(PRODUCT_COPYRIGHT)</string>
	<key>NSMainNibFile</key>
	<string>MainMenu</string>
	<key>NSPrincipalClass</key>
	<string>NSApplication</string>
</dict>
</plist>

replace MainFlutterWindow.swift to

import Cocoa
import FlutterMacOS
import Photos

class MainFlutterWindow: NSWindow {
  override func awakeFromNib() {
    let flutterViewController = FlutterViewController()
    let windowFrame = frame
    contentViewController = flutterViewController
    setFrame(windowFrame, display: true)

    let channel = FlutterMethodChannel(
      name: "example",
      binaryMessenger: flutterViewController.engine.binaryMessenger
    )

    channel.setMethodCallHandler { call, result in
      switch call.method {
      case "requestPermission":
        PHPhotoLibrary.requestAuthorization { _ in }
      default:
        result(FlutterMethodNotImplemented)
      }
    }

    RegisterGeneratedPlugins(registry: flutterViewController)
    super.awakeFromNib()
  }
}

Expected results
A permissions dialog will appear, or if already allowed, nothing will happen.
At least it does not crash.
Actual results
Info.plist does not load properly and crashes.
If I run flutter run -d macos from a terminal app on a mac, it does not crash and works fine.
With vscode, the app crashes whether I run it from the GUI or from the terminal.
Android studio shows a crash report in addition to the crash. If I select re-open in that window, the app runs fine. I think this is a clue to the solution. Furthermore, it seems that info.plist is not loaded properly, as you can see from the following log in that crash report.
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

However, when I check to see if the key exists from the application, I find that it is loaded correctly. The steps to check thet are as follows

update main.dart to

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

const channel = MethodChannel('example');

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

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              FilledButton(
                onPressed: () async =>
                    channel.invokeMethod<void>('requestPermission'),
                child: const Text('requestPermission'),
              ),
              FilledButton(
                onPressed: () async {
                  final hasKey = await channel.invokeMethod<bool>('hasKey');
                  print(hasKey);
                },
                child: const Text('hasKey'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

update MainFlutterWindow.swift to

import Cocoa
import FlutterMacOS
import Photos

class MainFlutterWindow: NSWindow {
  override func awakeFromNib() {
    let flutterViewController = FlutterViewController()
    let windowFrame = frame
    contentViewController = flutterViewController
    setFrame(windowFrame, display: true)

    let channel = FlutterMethodChannel(
      name: "example",
      binaryMessenger: flutterViewController.engine.binaryMessenger
    )

    channel.setMethodCallHandler { call, result in
      switch call.method {
      case "requestPermission":
        PHPhotoLibrary.requestAuthorization { _ in }
      case "hasKey":
        result(Bundle.main.object(forInfoDictionaryKey: "NSPhotoLibraryUsageDescription") != nil)
      default:
        result(FlutterMethodNotImplemented)
      }
    }

    RegisterGeneratedPlugins(registry: flutterViewController)
    super.awakeFromNib()
  }
}

Similar issue #70374
Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/50433979/67f75bec-d78c-485c-989b-db685beddc0c
https://github.com/flutter/flutter/assets/50433979/35e50ad1-a8be-4e00-9fb5-6dc33e71afea

Logs
Logs
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               example [84248]
Path:                  /Users/USER/*/example.app/Contents/MacOS/example
Identifier:            com.example.example
Version:               1.0.0 (1)
Code Type:             ARM-64 (Native)
Parent Process:        dart [84133]
Responsible:           studio [82163]
User ID:               501

Date/Time:             2023-09-07 12:22:48.4832 +0900
OS Version:            macOS 13.5.1 (22G90)
Report Version:        12
Anonymous UUID:        42AFA833-CC36-059C-4787-DBCEEAAD40B7

Sleep/Wake UUID:       EC96F29A-8D9B-4DB9-9C1A-0DEFAFAE8E62

Time Awake Since Boot: 32000 seconds
Time Since Wake:       4191 seconds

System Integrity Protection: enabled

Crashed Thread:        2  Dispatch queue: com.apple.root.default-qos

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace TCC, Code 0
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

For more:
crash_log.txt

Flutter Doctor output
Doctor output
[✓] Flutter (Channel beta, 3.14.0-0.2.pre, on macOS 13.5.1 22G90 darwin-arm64, locale ja-JP)
    • Flutter version 3.14.0-0.2.pre on channel beta at /Users/xxx/Hack/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 123453dc41 (6 days ago), 2023-08-31 13:50:44 -0700
    • Engine revision b93c76ab94
    • Dart version 3.2.0 (build 3.2.0-42.2.beta)
    • DevTools version 2.26.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/xxx/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.5.1 22G90 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!

I add that running it in xcode also works fine.

cc @vashworth

This is interesting. So when I run from the terminal or VSCode, it crashes for me. The OP says it worked for them from the terminal, but it doesn't for me.
So, I can confirm that the Info.plist is correct. When I looked into the build/macos/Build/Products/Debug/my_app.app/Contents/Info.plist, I could see the NSPhotoLibraryUsageDescription listed as expected.
If I ran the app by doing open build/macos/Build/Products/Debug/my_app.app, the permission works as expected and doesn't crash. If I run the app by doing build/macos/Build/Products/Debug/my_app.app/Contents/MacOS/my_app (as the tool does), it crashes.
The same thing happens if I built it through Xcode. Xcode will build it somewhere in DerivedData, and if I open the my_app.app it works as expected, but if I open it via the executable (my_app.app/Contents/MacOS/my_app), it crashes.
The mac logs I think expose the issue:
When using the .app (no crash), I got the following logs:
tccd: [com.apple.TCC:access] AUTHREQ_PROMPTING: msgID=14269.3, service=kTCCServicePhotos, subject=Sub:{com.example.myApp}Resp:{TCCDProcess: identifier=com.example.myApp, pid=14269, auid=1107598, euid=1107598, binary_path=/xxx/my_app/build/macos/Build/Products/Debug/my_app.app/Contents/MacOS/my_app},

When using the executable (that crashes), I got the following logs:
tccd: [com.apple.TCC:access] AUTHREQ_PROMPTING: msgID=11805.6, service=kTCCServicePhotos, subject=Sub:{com.googlecode.iterm2}Resp:{TCCDProcess: identifier=com.googlecode.iterm2, pid=1255, auid=1107598, euid=1107598, responsible_path=/Applications/iTerm.app/Contents/MacOS/iTerm2, binary_path=/Applications/iTerm.app/Contents/MacOS/iTerm2},
...
tccd: [com.apple.TCC:access] Refusing authorization request for service kTCCServicePhotos and subject Sub:{com.googlecode.iterm2}Resp:{TCCDProcess: identifier=com.googlecode.iterm2, pid=1255, auid=1107598, euid=1107598, responsible_path=/Applications/iTerm.app/Contents/MacOS/iTerm2, binary_path=/Applications/iTerm.app/Contents/MacOS/iTerm2} without NSPhotoLibraryUsageDescription key
...
my_app: (TCC) [com.apple.TCC:access] This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

So it looks like it's thinking iTerm (my terminal) is the one requesting the PhotoLibrary access when the executable is used and since iTerm's Info.plist doesn't have a key for NSPhotoLibraryUsageDescription, it crashes.
Not sure on the fix here, but I'm pretty sure that's the problem.

Hello everyone. In my current environment, it no longer crashes. Instead, whenever I do a requestPermission, access is denied.
[✓] Flutter (Channel beta, 3.19.0-0.2.pre, on macOS 14.3 23D56 darwin-arm64, locale ja-JP)
    • Flutter version 3.19.0-0.2.pre on channel beta at /Users/_/Hack/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c1df7d07ac (3 weeks ago), 2024-01-17 15:42:07 -0800
    • Engine revision 4f18bb4dcb
    • Dart version 3.3.0 (build 3.3.0-279.0.dev)
    • DevTools version 2.31.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/_/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.2

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] Connected device (5 available)
    • A063 (mobile)           • <IP_ADDRESS>:41093                    • android-arm64  • Android 13 (API 33)
    • iPhone 13 mini (mobile) • 00008110-0019388A3E98801E            • ios            • iOS 17.4 21E5184i
    • iPhone 15 (mobile)      • 345670C7-4E97-4F45-82C6-6411FA62B829 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)         • macos                                • darwin-arm64   • macOS 14.3 23D56 darwin-arm64
    • Chrome (web)            • chrome                               • web-javascript • Google Chrome 121.0.6167.139

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Could we identify if this is a Flutter issue or an Apple issue?

Flutter issue or an Apple issue?

This is likely not a Flutter issue. macOS imposes restrictions that deny permission requests when running the app from sources other than Xcode or macOS Terminal (flutter run -d macos).
The issue occurs when running the app from Android Studio or VS Code, whether using the IDE's run configuration or the built-in terminal, even if the app's macOS sandbox is disabled.

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key...

In my case, it denies the permission instead of crashing, it seems that Info.plist loaded correctly:
let infoPlist = Bundle.main.infoDictionary
let permissionDescription = infoPlist["NSPhotoLibraryUsageDescription"] as? String
// The permissionDescription is not null when encountering the issue (not running using Xcode or macOS terminal)

Permission is denied after that:
let status: PHAuthorizationStatus = await PHPhotoLibrary.authorizationStatus(for: .readWrite)
// The status is PHAuthorizationStatus.denied (rawValue is 2)

To confirm, I opened the macOS privacy settings and the app has full access to the photos library, I'm running using the Flutter main branch (3.27.0-1.0.pre.664).
Screenshot with additional context

I encountered this issue by first running the app on Xcode, granting the app read-write permission (Info.plist is configured), and then running the app using VS Code where the issue is encountered. Running the app back using Xcode and it worked as expected.


libtoxcore, utox, qtox, toxic: Update to the newest Dev version

New
libtoxcore, utox, qtox, toxic: Update to the newest Dev version
I compiled everything that is using libtoxcore ([root@nixos:~/nixpkgs]# grep -ril libtoxcore .) and everything seems to be working fine => utox, qtox, toxic, tox-prpl .
Old
*
utox and libtoxcore: Update to the newest Alpha version 0.2.k
libtoxcore updated as well as a dependency for "utox", otherwise build failed with  error: 'Tox_Options' has no member named 'proxy_type'

utox & pidgin's toxprpl plugin compiled well

haven't tested: qtox, toxic, tox-bootstrapd

@devs: is there any way I could inherit and override the existing libtoxcore inside the pkgs/applications/networking/instant-messengers/utox/default.nix itself?  (override values like version and sha256)
The reason I would want to do so is to avoid possibility of breaking other apps which depend on previous version of the libtoxcore, thus keeping pkgs/development/libraries/libtoxcore/default.nix unchanged.
*

tox is a bit complicated due to missing stable releases. It's very likely that this PR will break qtox, toxic and tox-bootstrapd. Could you please check if these packages work with the newer libtoxcore version? Shouldn't be a big deal. Just try to build the packages and check whether you can start it

@geerds I've updated everything so that it all compiles and runs well

thanks @arno01 !


Retrieve still image after motion is detected

First I want to say : GREAT JOB!! the extension works great.
After playing around with the motion detection I wanted to setup a notification to my phone and attaching a still image fromt he moment the motion was detected.
How can I retrieve the still image? Do you have any guidance on this?

You can just use the service camera.snapshot for this.

in case somebody else is looking for the same topic.
After playing around with the camera.snapshot option for a while and not getting it to work as I would like. I have the following flow setup in node red
Listen to the state_changed event for the camera if motion is detected----get the current state of the camera---edit the message with a function node---send mobile notification
The "get current state" node is needed to retrieve the "msg.data.attributes.entity_picture" from the camera entity
Code for the function node
msg.payload = {
"data":{
"title":"BEWEGNUNG ERKANNT",
"message":msg.data.attributes.friendly_name,
"data":{
"ttl":0,
"priority": "high",
"channel": "Motion",
"importance": "high",
"ledColor": "red",
"image":"https://{your haas url}:8123"+msg.data.attributes.entity_picture
}
}
}
return msg;


User Control Over Automatic Start of Break

Is your feature request related to a problem? Please describe.
Yes, the problem is that the break time in the application starts automatically. This automatic start may not always align with the user's workflow or preference.
Describe the solution you’d like
I would like a feature that allows users to choose whether the break time should auto-start or not. This feature could be implemented as a toggle switch in the settings menu. Similar to the already existing "Auto Start Work Time"
Describe alternatives you’ve considered
An alternative could be to prompt the user when the break time is about to start, giving them the option to delay it. However, this might disrupt the user’s workflow, so the preferred solution is to allow the user to control the auto-start feature.
Additional context
This feature request was already submitted here. However, I am submitting it separately to focus the discussion and more easily track the potential implementation. This feature would provide users with greater flexibility and control over their break times, allowing them to better align the application’s functionality with their personal work habits and preferences.

I hope to have this feature,thanks


A DOM node with an ID value "Group_4719" already exists!

Describe the bug
A clear and concise description of what the bug is.
I had a load more component working previously. Today I went to that page to do some mobile QA (site isn't live yet) and it's broken with this error.
A DOM node with an ID value "Group_4719" already exists!
1. in /var/www/html/vendor/ivopetkov/html5-dom-document-php/src/HTML5DOMDocument.php

The error disappears if I comment out the sprig component
    {{ sprig('_components/load-more', {limit: 3, offset: 6, featuredId: featured.id}, {class: 'container flex flex-row flex-wrap w-full'}) }}

I have updated craft and plugins since the last time I looked at this page so it may be related to the latest version of Sprig or Craft.
Please advise
To reproduce
Steps to reproduce the behaviour:

Go to "..."
Click on "..."
See error message "..."

Expected behaviour
A clear and concise description of what you expected to happen.
I expect the component to load when clicking load more like it was previously
Screenshots
If applicable, add screenshots to help explain your problem.
Versions

Plugin version: 1.0.0-beta.17
Craft version:<IP_ADDRESS>

This has already been fixed for the next release, but you should regardless try to avoid having elements with the same ID in your markup.
https://github.com/putyourlightson/craft-sprig/blob/develop/CHANGELOG.md#100-beta18---unreleased

Released in 1.0.0-beta.18.


fix: modify navigation drawer

hides event related sub menus when no event is selected
adds divider between sub menus and the events menu

fixes #293

@iamareebjamal please review

@Shailesh351 @arp95 please review

@iamareebjamal please review

@arp95 @Shailesh351 @shreyasnbhat @rohanagarwal94 Please review


feature request: Support of Java Platform Module System (JPMS)

Java 9 has new feature JPMS that was also known as Project jigsaw.
Because trie4j library has no dependency, it can be a leaf of software book of materials, it is valuable to support JPMS for me, at dependeents projects such as  mdict4j, stardict4j.
see.
https://central.sonatype.com/artifact/com.github.takawitter/trie4j/0.9.8/dependents
You can support JPMS with Multi-Release jar,  even when target Java is not 9.
see https://nipafx.dev/multi-release-jars-multiple-java-versions/

moved to Java11 (next LTS release to Java8, that has the module support) and added module-info.java.
https://github.com/takawitter/trie4j/commit/e47f68265eeb32614751dc01fbd03ff872d66cbd


Restart live-HLS auto possible ?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hello, I retrieved the file from chaturbate because the direct link gave me a 403 forbitten error.
by typing: yt-dlp https://edge3-sof.live.mmcdn.com/live-hls/amlst:sweetlove_243-sd-348b5208db0d37f40bb52e77ccf29bfccc63976d310cc5ca294380260dc637f3_trns_h264/playlist.m3u8 Download launches except that at times when the video goes into private mode and the download stops.
Is there a way to set an automatic mode to restart the download as soon as the video switches to public mode?
Thanks You
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Are you sure that the same manifest URL will work when the stream comes back up?
yt-dlp has a --wait-for-video option essentially does what you want, but it only works with dedicated extractors that support the option; it does not work generic m3u8 URLs. You'll need to use an external shell/batch/python script to achieve what you want (and that would only work if the manifest URL is static)

Hello, yes it is the same url which comes back at least on the same day
How do we apply the option you are offering me? I type yt-dlp followed by the option then url? Thank you in advance and have a nice day

it does not work generic m3u8 URLs

You'll need to use an external shell/batch/python script to achieve what you want


Colly instagram crawler sent panic

My first three or four tests were ok and there were no problems until the next test had problems
the entry_data field which is the most important field in Instagram response, has this in it:
 "entry_data": {
        "LoginAndSignupPage": [
            {
                "captcha": {
                    "enabled": false,
                    "key": ""
                },
                "gdpr_required": false,
                "tos_version": "row",
                "username_hint": ""
            }
        ]
    },

But the previous requests were like this
"entry_data": {
        "ProfilePage": [
            {
                  -------
                  -------
                  -------
                  -------
                  -------
            }
}

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.main.func2(0xc0001d8d20)
        /home/khoujani/Desktop/eSport98/backend/eSport98-back/app/main2.go:129 +0x5e5
github.com/gocolly/colly.(*Collector).handleOnHTML.func1(0xc0000ae020?, 0xc0005519b0)
        /home/khoujani/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:963 +0x78
github.com/PuerkitoBio/goquery.(*Selection).Each(0xc000551980, 0xc000143c48)
        /home/khoujani/go/pkg/mod/github.com/!puerkito!bio/goquery@v1.8.0/iteration.go:10 +0x46
github.com/gocolly/colly.(*Collector).handleOnHTML(0xc0002729c0, 0xc0002840c0)
        /home/khoujani/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:953 +0x24f
github.com/gocolly/colly.(*Collector).fetch(0xc0002729c0, {0xa?, 0x3?}, {0x92eaac, 0x3}, 0x1, {0x0?, 0x0}, 0xc0000cfe20?, 0xc0002514d0, ...)
        /home/khoujani/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:623 +0x68d
github.com/gocolly/colly.(*Collector).scrape(0xc0002729c0, {0xc0000c4b00, 0x20}, {0x92eaac, 0x3}, 0x1, {0x0, 0x0}, 0x0, 0x0, ...)
        /home/khoujani/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:535 +0x645
github.com/gocolly/colly.(*Collector).Visit(0xc0002729c0?, {0xc0000c4b00?, 0x4?})
        /home/khoujani/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:412 +0xa6
main.main()
        /home/khoujani/Desktop/eSport98/backend/eSport98-back/app/main2.go:192 +0x285

Process finished with the exit code 2

Yeah, this is unfortunately expected that Instagram changes over time, and examples become outdated and no longer work.


fixed the dockerfile at passwordmanager

To compile and run typescript in password manager which was failing due to a bad build command in the dockerfile
#95
#54
Changes to be committed:
modified:   microservices/password-manager/Dockerfile

I've already fixed this as part of #54 (haven't pushed PR yet). Closing this.


dbt with kubernetes

Similar to #491  but I think subtly different.
I'm using

apache-airflow==2.6.3
astronomer-cosmos==1.0.5

DbtTaskGroup has a mandatory profile_config arg, but when set this seems to be passed through to the DbtRunKubernetesPodOperator causing in exception
with DAG(
    Path(__file__).stem,
    description="*****",
    schedule=None,
    start_date=datetime(2023,1,1),
    catchup=False,
) as dag:
    dbt_task_group = DbtTaskGroup(
        project_config=ProjectConfig(
            dbt_project_path = Path(__file__).parent / 'dbt',
            manifest_path=Path(__file__).parent / 'manifests' / 'manifest.json',
        ),
        render_config=RenderConfig(
            load_method=LoadMode.DBT_MANIFEST,
        ),
        execution_config=ExecutionConfig(
            execution_mode=ExecutionMode.KUBERNETES,
        ),
        profile_config=ProfileConfig(
            profile_name='*****',
            target_name='*****'
        ),
        operator_args={
           ...
        }
    )

if __name__ == "__main__":
    dag.test()

yields
airflow.exceptions.AirflowException: Invalid arguments were passed to DbtRunKubernetesOperator (task_id: ******). Invalid arguments were:
**kwargs: {'profile_config': ProfileConfig(profile_name='****', target_name='****', profiles_yml_filepath=None, profile_mapping=None)}

After moving my DBT project under Airflow Dags folder, I am getting same error.

I've got the same issue. The step-by-step guide in the documentation doesn't look like its up to date either. It uses imports (from cosmos.providers.dbt.task_group import DbtTaskGroup) that don't work with the latest version of cosmos anymore.

I've added a pull request for an attempt to fix this issue here

Thanks @david-mag .
I'm now getting the same issue as reported in  https://github.com/astronomer/astronomer-cosmos/pull/505#issuecomment-1711707263
airflow.exceptions.AirflowException: Invalid arguments were passed to DbtRunKubernetesOperator (task_id: XXXX). Invalid arguments were:
**kwargs: {'emit_datasets': True}

As far as I can see, with the release of this fix, more "unknown" arguments have been added, which broke the kubernetes DAGs and TaskGroups again right away.

While trying latest release(1.1.1) I ran into another issue and getting below exception:
from airflow.providers.cncf.kubernetes.operators.pod import KubernetesPodOperator
except ImportError:
    raise ImportError(
        "Could not import KubernetesPodOperator. Ensure you've installed the Kubernetes provider "
        "separately or with with `pip install astronomer-cosmos[...,kubernetes]`."
    )

https://github.com/astronomer/astronomer-cosmos/blob/main/cosmos/operators/kubernetes.py#L21-L26
I am using Airflow=2.5.3 and apache-airflow-providers-cncf-kubernetes==5.2.2 .
It seems like the latest version of the cosmos is using the Kubernetes >= 7.4

Thanks for the details, @rtooker @adityasharma1685 @david-mag, for all the support and information.
I believe the release astronomer-cosmos 1.1.2 will solve the pending issues described in this thread:
https://github.com/astronomer/astronomer-cosmos/releases/tag/astronomer-cosmos-v1.1.2
https://pypi.org/project/astronomer-cosmos/1.1.2/
Please, do reach out if any of them persist.


usage of DLPipelines.predict

hey @lorenzoh I don't understand what should go as method
DLPipelines.predict(load(FILE_PATH), "imgnet.jld2")

The source code doesn't have types as argument list which makes it little confusing
HTTP.request("GET", "http://<IP_ADDRESS>:8000/predict").body |> String
┌ Error: 2021-12-27 03:02:26 Exception while generating log record in module DetectBears at /Users/abhi/Git/stipple-fastai/DetectBears/routes.jl:55
│   exception =
│    MethodError: no method matching predict(::Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}, ::String)
│    Closest candidates are:
│      predict(::Any, ::Any, ::Any; device, undevice, context) at /Users/abhi/.julia/packages/DLPipelines/HoDSq/src/inference.jl:8

method is a learning method. It's what you get from constructors like ImageClassificationSingle or what you build using BlockMethod/SupervisedMethod. See the serialization tutorial for usage of predictbatch; predict is then the same but only taking in a single image, not a vector of images.

thanks @lorenzoh


SecureCRT SSH agent forwarding not working

When using SecureCRT with environment variable VANDYKE_SSH_AUTH_SOCK set to \\.\pipe\openssh-ssh-agent, SSH agent forwarding not working. The remote SSH host has SSH_AUTH_SOCK variable set, but it's agent don't have any keys. ssh-add -l returns The agent has no identities.
If I remove VANDYKE_SSH_AUTH_SOCK variable everything works as expected.

The problem is related to SecureCRT itself and not to this ssh agent, open a ticket to Vandyke


[cloud_firestore_web] Blob are treated as GeoPoint when compiled in Profile mode

Describe the bug
The bug appear when compiled with Profile or Release mode (not in debug mode) for flutter web.
I parse documents received by a QuerySnapshot from Firestore but when I retrieve data stored as Blob in my document, value are returned as GeoPoint (for Profile mode) and minified:ia (for Release mode) instead of Blob.
In Debug mode (in web) or in all modes when compiled for mobile (android) data is treated as Blob as expected.
To Reproduce
I have documents in Firestore that have this structure:
docId: String
version: String
camData: Blob
time: Timestamp
and retrieving list of this type of document with :
`Future<List<Map<String, dynamic>>> getData(String id) async {
QuerySnapshot query;
query = await _firestore
.collection("servers/$id/data")
.where('id', isEqualTo: id)
.orderBy('time')
.getDocuments();
List<Map<String, dynamic>> _list = List();
for (DocumentSnapshot doc in query.documents) {
  Map<String, dynamic> data = Map.from(doc.data);
  _list.add(data);
}
return _list;

}`
then displaying data with
Column(           children: <Widget>[             ...list.map((e) => Text('$e')).toList(),           ],         )
it return : "{camData: Instance of 'GeoPoint', docId: docN11111, time: Timestamp......}" when compiled with Profile mode
and
"{camData: Instance of 'minified:ia', docId: docN11111, time: Timestamp......}" when compiled with Release mode
Expected behavior
camData is stored in Firestore as Blob so when retrieving data it should be a Blob not a GeoPoint or minified:ia with no data on it.
Additional context
version of package :
cloud_firestore: ^0.13.2+1
flutter --version :
Flutter 1.14.6 • channel beta • https://github.com/flutter/flutter.git Framework • revision fabeb2a16f (3 weeks ago) • 2020-01-28 07:56:51 -0800 Engine • revision c4229bfbba Tools • Dart 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)
flutter doctor -v :
`
[✓] Flutter (Channel beta, v1.14.6, on Mac OS X 10.15.3 19D76, locale fr-FR)
• Flutter version 1.14.6 at /Users/jeremie/Documents/flutter
• Framework revision fabeb2a16f (3 weeks ago), 2020-01-28 07:56:51 -0800
• Engine revision c4229bfbba
• Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at /Users/jeremie/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3, Build version 11C29
• CocoaPods version 1.8.4
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 41.1.2
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.42.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.8.1
[✓] Connected device (3 available)
• ONEPLUS A6013 • 3dc4c7fd   • android-arm64  • Android 10 (API 29)
• Chrome        • chrome     • web-javascript • Google Chrome 79.0.3945.130
• Web Server    • web-server • web-javascript • Flutter Tools
• No issues found!
`

I have the same issue

Hey, as part of our on-going work for #2582, this should have been resolved in our Firebase Firestore rework (#2913) (we have e2e tests testing Blob & GeoPoint values on Web which are parsing) - this has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you


feat: added icon to show the current status of adapter deployement

Notes for Reviewers
This PR fixes #8276
Signed commits

[ ] Yes, I signed my commits.

Merge conflict, @Yana-Gupta ....

@leecalcote Could you provide some insights or guidance about the failing tests.

Sure, after you fix the merge conflict, @Yana-Gupta


Is it possible to generate a Visual Studio solution for a package ?

I would like to be able to browse the sources of aubio package from within Visual Studio but I can't find any .sln file like there is on libflac for instance.
Is this something that vcpkg can do ? If yes, then could you provide some guidance on how to do that ?
Thank you !

While we don't support directly generating a VS solution from a package, you can definitely use VS2017's "Open Folder" mode and browse the sources directly!
The sources will be available in buildtrees\aubio\src\<version>.

Alright, thank you.


InvalidSignatureException

Hi,
Cant figure out why I keep getting the following error. I have verified the credentials several times.
Any ideas ?
2018/03/10 10:44:24 InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
status code: 400, request id: ffe87282-244f-11e8-8ec2-cdb807547e0f
Thanks

Just a hunch but it could be an outdated version or clock sync. Can you check that?


Certain Noto Serif and Noto Sans fonts missing

Text(
'Google 谷歌字体',
style: GoogleFonts.getFont('Noto Sans SC'),
),
error on web:
Not font family 'Noto Sans SC' was found
<EMAIL_ADDRESS>Missing list:

Noto Sans HK
Noto Sans JP
Noto Sans KR
Noto Sans SC
Noto Sans TC
Noto Serif JP
Noto Serif KR
Noto Serif SC
Noto Serif TC

Internal bug: b/212601535

The reason for these missing is they're otf unlike the majority of other fonts which are ttf. Once internal tools are updated, these will be available

The reason for these missing is they're otf unlike the majority of other fonts which are ttf. Once internal tools are updated, these will be available

If possible, could you give us about info how long is it take?　a few weeks? , a few month? or more?
I would like to make the plan on my app which using font package.

The team estimates this will be done by end of Q1

Is there any way I can get the correct google font (e.g. NotoSansTC) before the internal tools are updated?

Not via this package, I don't think.

Hey I also noticed some TTF fonts that were missing, namely League Spartan. I also noticed that the update action has been failing for a few months now. It seems peculiar to me that this is the case as I would expect Google Fonts to expand a bit every few months, or am I wrong in assuming that? Thanks for your time!

I'm waiting for this update. Please let me know if there is any other way. Thank you!

I actually came through this by the package dynamic_fonts as a workaround. But it needs to know the actual font path, expectedFileHash and expectedLength.

Update: still working on it (higher priority items came about), expect this in the coming weeks

Update: this will be ready after a set of PRs are merged https://github.com/google/fonts/pulls

I would also like to see "Noto Sans Japanese" supported.

Thank you for releasing version "3.0.0"!
I would also like to see "Noto Sans Japanese" supported.

It should be supported :) https://github.com/google/fonts/pull/4590

I already upgraded to google_fonts 3.0, but I didn't find the 'NotoSansTC' - Noto Sans Traditional Chinese(Zh-Hant-TW)  support.
I would like to see "[Noto Sans Traditional Chinese] "(https://fonts.google.com/noto/specimen/Noto+Sans+TC) support as well.
Jason

Please see https://github.com/material-foundation/google-fonts-flutter/issues/126#issuecomment-1131251104

I am in this https://github.com/material-foundation/google-fonts-flutter/issues/126#issuecomment-1131251104 subject.
But I didn't get any answer.

Sorry, wrong link. https://github.com/google/fonts/pull/4603

@guidezpl
Still not find Noto Sans TC font on v3.0.1.

The reason for these missing is they're otf unlike the majority of other fonts which are ttf. Once internal tools are updated, these will be available

@guidezpl
Thank you for releasing version "3.0.1"!
Your internal tools have updated?

Not yet

[Noto Sans Traditional Chinese]
Waiting for a year but still import manually.

I already upgraded to google_fonts 3.0, but I didn't find the 'NotoSansTC'

Noto Sans Traditional Chinese(Zh-Hant-TW)  support.

I would also like to see "Noto Sans Traditional Chinese
https://fonts.google.com/noto/specimen/Noto+Sans+JP?query=Noto+Sans&preview.text=Noto San&preview.text_type=custom"
supported.
Jason
Pierre-Louis @.***> 於 2022年5月23日 週一 14:22 寫道：

Thank you for releasing version "3.0.0"!
I would also like to see "Noto Sans Japanese
https://fonts.google.com/noto/specimen/Noto+Sans+JP?query=Noto+Sans&preview.text=Noto San&preview.text_type=custom"
supported.
It should be supported :) google/fonts#4590
https://github.com/google/fonts/pull/4590
—
Reply to this email directly, view it on GitHub
https://github.com/material-foundation/google-fonts-flutter/issues/126#issuecomment-1134231678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATPEA2BJHT66GMN6SSFDESDVLMP4BANCNFSM4TFUHXSQ
.
You are receiving this because you commented.Message ID:
@.***
com>

Update: Very tentatively mid- to late-Q1 2023
The reason is all the Serif projects have line spacing metrics regressions that were introduced by Adobe in the VF ttf format. The Google Fonts team is working through how to handle that regression.

Update: Very tentatively mid- to late-Q1 2023
The reason is all the Serif projects have line spacing metrics regressions that were introduced by Adobe in the VF ttf format. The Google Fonts team is working through how to handle that regression.

It is now the middle and late March, how is the progress? May I ask when will GoogleFont NotoSansTC be available in Flutter?

Update: Very tentatively mid- to late-Q1 2023
The reason is all the Serif projects have line spacing metrics regressions that were introduced by Adobe in the VF ttf format. The Google Fonts team is working through how to handle that regression.

Hi,
With regard to the progress mentioned (e.g. Noto Sans TC), how is it progressing?
Eagerly looking forward to...

Thank you for releasing version "3.0.0"!
I would also like to see "Noto Sans Japanese" supported.

It should be supported :) google/fonts#4590

Hi, can I use the font Noto Sans JP now?

It would be pleasure support Korean also. (NotoSansKR)

The reason for these missing is they're otf unlike the majority of other fonts which are ttf. Once internal tools are updated, these will be available

Hi,
I'm writing to inquire about the progress of the Google font Noto Sans TC. I'm eager to see the final product, and I'm confident that it will be a valuable resource for the community.
I noticed that you mentioned in the issue discussion that Noto Sans TC is in progress. I was wondering if anyone could provide an update on the status of this font.
I would appreciate any information that you can share.

Happy to say multiple teams have collaborated to enable the release of 6.0.0, which adds the following Noto fonts

Added Noto Sans Chorasmian
Added Noto Sans Cypro Minoan
Added Noto Sans HK
Added Noto Sans JP
Added Noto Sans KR
Added Noto Sans SC
Added Noto Sans Syriac Eastern
Added Noto Sans TC
Added Noto Sans Vithkuqi
Added Noto Serif Khitan Small Script
Added Noto Serif Makasar
Added Noto Serif Ottoman Siyaq
Added Noto Serif Vithkuqi

The remaining 4 Noto Serif fonts are pending an update by the Fonts team to comply with the Chinese government standard GB18030, which will be ready in ~1 month.

Hey there!
any update on supporting .otf fonts like Noto Serif TC and SC?


[GSSOC'21]Revamping of footer section

And how to run the server?
Please guide @khannakshat7

@neha-baisane use the command python manage.py runserver


bootenv.txt with '#' ?

Hi,
When using the precompiled image to boot the imx8mp on the phyboard to run the gstreamer application with the ISP demo, the bootenv.txt has this content:
overlays=conf-imx8mp-phyboard-pollux-peb-av-10.dtbo#conf-imx8mp-phyboard-pollux-isp-csi1.dtbo#conf-imx8mp-phyboard-pollux-isi-csi1.dtbo#conf-imx8mp-phyboard-pollux-vm016-csi1.dtbo
However, when trying to build the image myself it only has:
overlays=conf-imx8mp-phyboard-pollux-peb-av-10.dtbo
And checking the recipe phytec-bootenv.bb it looks like a space is used to separate the elements in the list.
What - at lease for me- did not booted.
With the '#' as separator the overlays are loaded fine in the FIT image.
br

Hi,
As we switched to fitImage boot for the new PD24.1.0 imx8mp NXP release, the bootm command in U-Boot is now used to boot fitImages. The U-Boot wants all the devicetree configurations separated by '#' appended to that command. That is why the overlays variable looks different now in the bootenv.txt. This is described for example here in the BSP documentation:
https://phytec.github.io/doc-bsp-yocto/bsp/imx8/imx8mp/pd24.1.0_nxp.html#set-overlays-variable

Hi,
As we switched to fitImage boot for the new PD24.1.0 imx8mp NXP release, the bootm command in U-Boot is now used to boot fitImages. The U-Boot wants all the devicetree configurations separated by '#' appended to that command. That is why the overlays variable looks different now in the bootenv.txt. This is described for example here in the BSP documentation:
https://phytec.github.io/doc-bsp-yocto/bsp/imx8/imx8mp/pd24.1.0_nxp.html#set-overlays-variable
As you noticed, the phytec-bootenv.bb needs some updating to that new style. I sent a patch internally for that and hope it will be public soon.
As for the differences between the prebuilt and the self built image. Which prebuilt image did you download? A link or something would be nice. And did you build the same image with the same distro name in the local.conf as the prebuilt?
The additional overlays are some camera related overlays, that do not get applied for other images (bsp. qt6demo or headless image).

@BHahn42618
Thanks for your clear an fast answer.
The release I have download was:
ampliPHY Vendor xwayland (Phytec Vendor Distribution) BSP-Yocto-NXP-i.MX8MP-PD24.1.0 phyboard-pollux-imx8mp-3
And this one was working out of the box.  So with a '#' as separator
The one I was building myself is:
ampliPHY Vendor xwayland (Phytec Vendor Distribution) BSP-Yocto-NXP-i.MX8MP-PD24.1-rc2-devel phyboard-pollux-imx8mp-3
Building it with 'phytec-vision-image`.  And some small modifications to have it working in a air-gapped-network.
And this one did have ' ' as separator.  After appending to the recipe to have it with '#', all was working fine.


Finalize the latest epoch

When we have two consecutive justifications, finalize the latest one instead of the previous one.
Rationale
Let's say we have these two consecutive justified links.
                J
source epoch ------- target hash
|                              |
e2[101, .., 150] e3[151, ... 200] e4[201, ... 250]
                 |                              |
                 source epoch ------- target hash
                                 J

In Casper the finalized epoch would be e4 and in our case it's e3. However, we proved in feature_fork_choice_forked_finalize_epoch.py that reorging e4, in this case, is not possible anymore as it will revert finalization for e3. Because of that we introduced  FinalizationState::GetCheckpointHeightAfterFinalizedEpoch as a point of "not going back". However, if we count e4 as finalized, we can drop this extra entity. Moreover, we used to have such a convention and we changed but as it turned out wasn't a good idea.
Aditional fix
CalculateWithdrawAmount was broken as it didn't correctly take reward into account which led to a shrunk amount over time. We didn't have tests to catch it. Now we have finalizationstate_calculate_withdraw_amount_tests.cpp test that tests this part and shows that the amount is properly increasing.
However the finalization_withdraw.py still shows that after withdraw the balance is not larger than the initial deposit (it's actually equal to initial deposit - fee). The reason is that the reward for finalizers is not implemented and I'll continue working on it in the following PR.
Resolves #1092
Signed-off-by: Kostiantyn Stepaniuk<EMAIL_ADDRESS>

Hello @kostyantyn! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file test/functional/feature_fork_choice_finalization.py:

Line 145:9: F841 local variable 'b20' is assigned to but never used

I think we should move the additional fix to another PR.

Concept ACK 5f330a7e5849a3fb2ef0fd78487b8d5df6ce34df

Needs rebase.

rebased with master

Travis Lint Stage:
* Checking consistency between dispatch tables and vRPCConvertParams
WARNING: conversion mismatch for argument named amount ([('deposit', False), ('sendtoaddress', True), ('settxfee', True), ('sendfrom', True), ('move', True)])
WARNING: conversion mismatch for argument named test_fee ([('sendtypeto', True), ('stakeat', False)])
* Running remaining lint scripts
./test/functional/finalization_slash_itself.py:13:1: F401 'test_framework.util.sync_mempools' imported but unused
^---- failure generated from lint-python.sh

@scravy thanks! fixed the python lint

ConceptACK 47edbaa37836d51203dff61b4365db9a8632d669

Did a quick review, it looks ok, utACK
149fb96


Discover k8s ingress

It'd be great to have automatic discovery of ingress resources based on annotations like for services, pods, endpoints, etc. for blackbox checks and similar:
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: myservice
  annotations:
    prometheus.io/probe: 'true'
    prometheus.io/module: http_4xx_ssl
spec:
  tls:
...

Right now ingress doesn't seem to be implemented yet at all.

A Ingress object does not carry any information on how to actually reach
the hostnames it declares, especially since there are many ways to
implement and run an ingress controller.
How would you resolve the ingress you posted to a set of IP/port pairs?
/MR
On Mon, Aug 14, 2017, 20:10 Arnold Bechtoldt<EMAIL_ADDRESS>wrote:

It'd be great to have automatic discovery of ingress resources based on
annotations like for services, pods, endpoints, etc. for blackbox checks
and similar:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: myservice
annotations:
prometheus.io/probe: 'true'
prometheus.io/module: http_4xx_ssl
spec:
tls:
...
Right now ingress doesn't seem to be implemented yet at all.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/3071, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAICBmce_cBR01mpfxUp_lCKBN5z9M-oks5sYI13gaJpZM4O2tO0
.

hmm, are you sure? does prometheus need to know how the hostnames/etc. are implemented? If this information isn't available via API yet, why not provide that via (ingress) annotations?
The following example is valid and contains the data you mentioned:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: prometheus-ingress
  namespace: kube-system
  annotations:
    ingress.kubernetes.io/auth-type: basic
    ingress.kubernetes.io/auth-secret: basic-auth
    ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
  tls:
    - hosts:
      - prometheus.main.test.example.com
      secretName: cluster-cert-tls
  rules:
    - host: prometheus.main.test.example.com
      http:
        paths:
        - path: /
          backend:
            serviceName: prometheus
            servicePort: 9090

As you already mentioned this specifically requires the blackbox exporter as well, which makes me feel like a higher level abstraction needs to come into play here. FWIW we have plans of integrating blackbox exporter support into the Prometheus Operator for exactly this reason.

Prometheus tries to be more specific than "this hostname, just pick any IP". You can still do it (just directly configure it as an endpoint).
However, as @brancz says this is stringing quite a lot of things together. Even if Prometheus were to ingest the ingress host names as a target, it also needs to know how you set up the blackbox exporter and a way to pass the module on to the exporter, so this spans many more layers than "just" adding a service discovery. It would also need to be dangerously complex so it works for everyone.
What you want to achieve is already possible with a little scripting and tying things together:

use kubectl to get all ingresses, process, write a target list for file_sd
configure a job to read from that, relabel to bend the scrape through your blackbox exporter, wherever it runs
there is no 3.

Building this into Prometheus for all cases would need so many knobs that configuring it would be just as complex as integrating this way for your case, so I would rather not go down this route.

You can still do it (just directly configure it as an endpoint).

Would you be so kind to give me a code example?

Even if Prometheus were to ingest the ingress host names as a target, it also needs to know how you set up the blackbox exporter

what? what do you mean with "set up"?

and a way to pass the module on to the exporter,

relabelling, using an annotation as source label?

It would also need to be dangerously complex so it works for everyone.

I'd totally agree if you were right. For now I don't see that complexity. I might be overlooking something.

What you want to achieve is already possible with a little scripting and tying things together:

Actually I am looking for autodiscovery instead of static target configuration :)

Would you be so kind to give me a code example?

You can use a static config or a file sd config where the target in the file is just the domain in question.

what? what do you mean with "set up"?

Where is blackbox exporter running? what port is it on? which modules are configured?
Actually, going back, maybe I misread what you want. If the ingress discovery were to emit one target per rule, with appropriate meta-labels, you could then do all the relabelling on top. Nevertheless, in the absence of a built-in discovery you can run a little sidecar that queries the Kubernetes API (or calls out to kubectl) and emits these targets-per-rule. This could also help flesh out the interface (label names and such) and help come up with a good configuration example.

I really like the idea to expose the ingress. There wouldn't be much to set up, that could be done with relabling like it is for other 'roles'. This can both be used for configuring any kind of exporter that take URLs as parameters, not only the blackbox-exporter. You might even just want to use that to access something behind an internal LB for some weird enterprisy reasons.
I'm happy to provide a full example how configuration and relabling would look like if you're open to discuss that.

Sure, as long as describe the use case for ingress discovery clearly in the
docs, I don't see a good argument against such a contribution.
On Mon, Aug 21, 2017 at 9:20 PM discordianfish<EMAIL_ADDRESS>wrote:

I really like the idea to expose the ingress. There wouldn't be much to
set up, that could be done with relabling like it is for other 'roles'.
This can both be used for configuring any kind of exporter that take URLs
as parameters, not only the blackbox-exporter. You might even just want to
use that to access something behind an internal LB for some weird
enterprisy reasons.
I'm happy to provide a full example how configuration and relabling would
look like if you're open to discuss that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/3071#issuecomment-323829009,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANaIb9l6nwNILl4A22v_9e2XDhxt_Jks5sadh9gaJpZM4O2tO0
.

SGTM, I retract my objections.

User case

I want to monitor my ingress via a blackbox-exporter
I want to access a exporter via TLS verifying public chain (hench need to
connect to FQDN)
I want to access a exporter which only can be reached via an ingress

Implementation

Add role = ingress to kubernetes SD
SD returns ingress host in address label
as well as additional labels:

ingress_name
ingress_schema
ingress_host
ingress_path

Since a ingress can contain multiple hosts, the SD may return multiple targets
for a single ingress

Config example
scrape_configs:
  - job_name: 'kubernetes-ingresses'

    metrics_path: /probe
    params:
      module: [http_2xx]

    kubernetes_sd_configs:
      - role: ingress

    relabel_configs:
      - source_labels: [__meta_kubernetes_ingress_annotation_prometheus_io_probe]
        action: keep
        regex: true
      - source_labels: [__meta_kubernetes_ingress_scheme,__address__,__meta_kubernetes_ingress_path]
        replacement: ${1}://${2}/${3}
        target_label: __param_target
      - target_label: __address__
        replacement: blackbox
      - source_labels: [__param_target]
        target_label: instance
      - action: labelmap
        regex: __meta_kubernetes_ingress_label_(.+)
      - source_labels: [__meta_kubernetes_namespace]
        target_label: kubernetes_namespace
      - source_labels: [__meta_kubernetes_ingress_name]
        target_label: kubernetes_name

That's how I imaging it. Should be straight forward to implement. Will submit a PR if you agree this is the way to go.

I want to access a exporter which only can be reached via an ingress

What's a legitimate use case for that? I can't see one at the moment, Prometheus should be configured toscrape metrics with as few steps between itself and the target. Even if there is a valid edge case, I'd not mention this anywhere in the docs to avoid pointing people down the wrong path. We should even consider actively warning to use it instead of scraping targets directly.

@grobie for example, kube-state-metrics from a Prometheus that is not part of the overlay. Additionally this would avoid issues with many-to-many matching and aggregations if there is more than one instance of it. Not the way I would recommend doing it but I can see the need.
@discordianfish LGTM, thank you!

It's one of those things that doesn't make sense until you have to because the alternative would be a month-long cross team project to refactor your infrastructure. Either way, I believe even without this point exposing the ingresses make sense. I assume you agree?

I think ingress discovery would be a great addition. My point is more about
the documentation, I think I'd only list the first of your use case, and
leave the rest to the reader.
On Thu, Aug 24, 2017 at 11:00 AM discordianfish<EMAIL_ADDRESS>wrote:

It's one of those things that doesn't make sense until you have to because
the alternative would be a month-long cross team project to refactor your
infrastructure. Either way, I believe even without this point exposing the
ingresses make sense. I assume you agree?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/3071#issuecomment-324576968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAANaJgYPAvypdB8Lu0ZQlXFsfNkVIucks5sbTujgaJpZM4O2tO0
.

The service role is similar.


Need help finding current port.

How to find on what port is the presence running on?

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

ID: c5164207-7822-cf54-717e-6216e0627ebd
Version Independent ID: 786f5413-3660-06eb-484f-8d5758d3ec59
Content: Port and protocol requirements for servers
Content Source: Skype/SfbServer/plan-your-deployment/network-requirements/ports-and-protocols.md
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

SIP/TLS: 443, according to the ports and protocol poster we mention in the article.

Thanks :)


Add support for custom 404 page

We should allow people to specify a custom 404 page.

Can I pick this up?

You absolutely can! I might be a bit opinionated as to how this should play (as in, the router should configure a not found instead of a middleware).
The two requirements are:

Being able to specify a 404 file to display.
Being able to change the header to a status code, say, 200 if the user wishes to do so

Other than that, feel free to give it a shot!


Cb dev2

Fixed layout issues on onboarding screen.
Fixed field validation on onboarding screen included number pad for numeric entry.
added currency format for numbers

Looks good to me! Please go ahead


EditorUndoRedoManager is polluting scene history.

Under certain scenarios the usage of EditorUndoRedoManager in the LimboAI Editor plugin will pollute the scene history when it shouldn't -- for example when creating a new BehaviorTree and adding tasks to it while on an empty scene.
This will make will make undo/redo operations error out from time to time and not work as expected sometimes.
Since EditorUndoRedoManager is not able to automatically track parent/child relationships of Resource objects (which include BTTask), we need a way to force it to use a specific undo/redo history in order to properly manage undo/redo operations in the Editor.
Once the following patch is merged upstream, the LimboAI Editor undo/redo operations can be properly fixed.

https://github.com/godotengine/godot/pull/79796

Not sure how force_fixed_history is going to help. It seems the problem is that an edited resource without a path is associated with a currently open scene. Switching to another scene just associates future edits with that one. Closing a scene wipes the associated actions from the history.
Would be nice to have a separate history object for each BehaviorTree, but it seems that editor only supports separate histories for scenes, and a global history. It may be possible to have an anonymous UndoRedo object tracking history omitting EditorUndoRedoManager, but such history would not show up in the History tab. I'm not sure how to proceed.

So I tried to use force_fixed_history() at first with an active BehaviorTree as context_object, and it didn't help the issue.
However, I found a workaround - passing a dummy context object and calling force_fixed_history forces action to belong to the global history. Admittedly, it's a hack, but it works in both the module and GDExtension APIs. I'm about to make a PR with those changes - it works fine in my testing. The downside is that BT undo-redo history is mixed with each other and global history. It's still an improvement.
While looking through the godot editor code, I didn't find a way to create a custom history object and associate it with a BT resource. There are some methods to create history objects, but they are not exposed in the API - so they won't work with GDExtension. And editor UI also doesn't seem to support custom histories. I was contemplating the idea of creating a custom pool of UndoRedo objects, one per each BT. Ctrl-Z would have to be intercepted in the plugin code. I think, we'd be able to track history for each individual BT separately this way, but the actions won't show up in the History tab.

Not sure how force_fixed_history is going to help.

Honestly, I don't quite recall the exact usage I had in mind since I lost the changes where I had a rough implementation. I went through the patch you have and it looks close to what I had in mind.

Would be nice to have a separate history object for each BehaviorTree, but it seems that editor only supports separate histories for scenes

I keep thinking it can support separate histories for each BehaviorTree and you may have to use force_fixed_history() as well.
I suppose what I saw back when I opened the ticket was along the lines of:

Using get_history_id_for_object().
Strictly using create_action_for_history().
Using forced_fixed_history() somewhere.

I'm not entirely sure how this would play out in the History tab, but I hope this helps a bit.

I was thinking along those lines, but in practice I had several issues.

get_history_id_for_object() returns scene history for resources with empty path, which is supposed to be helped by force_fixed_history - but it didn't work. I'd have to dig deeper into code to understand why.
create_action_for_history() is not exposed in the API, so GDExtension can't call that.

For the future reference, here are a few facts I established while digging through code:

get_history_id_for_object returns:

0 for non-resource objects, and also for resources with the path set to external file
1 and higher - for resources with no path set; this is the history ID of the currently edited scene
I'm not 100% sure, but it seems to me that editor currently only tracks global and per-scene histories. You can create a history object with arbitrary ID, and use it to register actions, but it's unlikely to show in the History tab, and those methods are not exposed - so you can't use them in GDExtension.


Fix OxfordIIITPet dataset transformation

Remove unused transforms which involves both image and label, change the __get__ function so it transform image and label independently based on transform and target_transform variables. The same behavior can be found in all major datasets classes, like CIFAR10 and CelebA.

Hey @detkov and thanks for the PR. Unfortunately, your assessment is a little off:

Remove unused transforms which involves both image and label,

transforms is not unused. Since the dataset can return segmentation masks, you need the ability to transform the image as well as the target simultaneously. This is done through transforms.

change the __get__ function so it transform image and label independently based on transform and target_transform variables.

Internally, if no transforms is passed, transform and target_transform are just merged into one transforms:
https://github.com/pytorch/vision/blob/467b841ac2650c962952bbee5a542edb835c98bc/torchvision/datasets/vision.py#L52-L53
https://github.com/pytorch/vision/blob/467b841ac2650c962952bbee5a542edb835c98bc/torchvision/datasets/vision.py#L88-L98

The same behavior can be found in all major datasets classes, like CIFAR10 and CelebA.

As explained above, datasets that go beyond image classification, have a transforms attribute. For example:

https://github.com/pytorch/vision/blob/467b841ac2650c962952bbee5a542edb835c98bc/torchvision/datasets/coco.py#L31
https://github.com/pytorch/vision/blob/467b841ac2650c962952bbee5a542edb835c98bc/torchvision/datasets/voc.py#L77

Did you hit any problem that lead you to send this PR? Otherwise, I'm going to close it since it the implementation already does it what is supposed to be doing.

Thanks for the explanation and sorry for the mess, I just didn't spend enough time to dive deep and not to open the PR.
Yes, I opened PR since I faced the issue of using this dataset along with timm's loader factory function that does not take into account dataset.transforms variable. Then looked at other datasets and was confused. But yes, it is not the problem of torchvision, thanks for your time.


Phone number validation criteria

For newly added numbers like jio or series like 7xxx, 6xxx, those numbers are marked as invalid numbers for india, though those numbers are valid.
Please resolve ASAP

@nardnahcayaj
@vrkansagara is right, please move your problem to the issue tracker of zend-validator. Thanks!


SQL window functions in CAP CDS

Hello,
just wondering because I did not find any information and compiler does not accept the syntax:
is there no support for (SQL) window functions in CAP cds?
Thanks,
Daniel

Please post such questions in the SAP Community Q&A


How to get back a single pixel in the MODIS sinusoidal projection?

This seems like it should give me just one pixel because I'm asking for a 1x1 meter rectangle from a dataset whose scale is 463m:
# Not using SR-ORG:6974, as this is an EE-specific code and not all operations understand it
SIN = ("""PROJCS["MODIS Sinusoidal",
    GEOGCS["WGS 84",
        DATUM["WGS_1984",
            SPHEROID["WGS 84",6378137,298.257223563,
                AUTHORITY["EPSG","7030"]],
            AUTHORITY["EPSG","6326"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.01745329251994328,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4326"]],
    PROJECTION["Sinusoidal"],
    PARAMETER["false_easting",0.0],
    PARAMETER["false_northing",0.0],
    PARAMETER["central_meridian",0.0],
    PARAMETER["semi_major",6371007.181],
    PARAMETER["semi_minor",6371007.181],
    UNIT["m",1.0],
    AUTHORITY["SR-ORG","6974"]]""")

ee.Initialize()

kwargs = {
  'engine': 'ee',
  'scale':<PHONE_NUMBER>279165,
  'geometry': ee.Geometry.Rectangle(
      [4447800,-2223901,4448801,-2222900],
      ee.Projection(SIN), False, True),
  'crs': SIN,
}
image = ee.ImageCollection(ee.ImageCollection('MODIS/061/MCD43A4').first())
ds = xarray.open_dataset(image, **kwargs)
print(ds)

Problem 1:
I get
ee_exception.EEException: Geometry.bounds: Unable to perform this geometry operation. Please specify a non-zero error margin.
because this call doesn't have an error margin
rpcs.append(('bounds', self.geometry.bounds()))
If I change it to
rpcs.append(('bounds', self.geometry.bounds(1))),
I get
Problem 2:
The code now works, but returns a 3x2 array, not 1x1.
<xarray.Dataset>
Dimensions:                                   (time: 1, X: 3, Y: 2)
Coordinates:
  * time                                      (time) datetime64[ns] 2000-02-24
  * X                                         (X) float32 42.6 42.61 42.61
  * Y                                         (Y) float32 -19.89 -19.89

I think this happens because of a double conversion from projection units (meters) to degrees and then back in
    # Parse the dataset bounds from the native projection (either from the CRS
    # or the image geometry) and translate it to the representation that will be
    # used for all internal `computePixels()` calls.
    try:
      if isinstance(geometry, ee.Geometry):
        x_min_0, y_min_0, x_max_0, y_max_0 = _ee_bounds_to_bounds(
            self.get_info['bounds']
        )
      else:
        x_min_0, y_min_0, x_max_0, y_max_0 = self.crs.area_of_use.bounds
    except AttributeError:
      # `area_of_use` is probable `None`. Parse the geometry from the first
      # image instead (calculated in self.get_info())
      x_min_0, y_min_0, x_max_0, y_max_0 = _ee_bounds_to_bounds(
          self.get_info['bounds']
      )
    # TODO(#40): Investigate data discrepancy (off-by-one) issue.
    x_min, y_min = self.transform(x_min_0, y_min_0)
    x_max, y_max = self.transform(x_max_0, y_max_0)
    self.bounds = x_min, y_min, x_max, y_max

At the end self.bounds is
(4454267.556539465, -2212366.2541716346, 4455777.874164572, -2211369.618782846)
while we started from
(4447800,-2223901,4448801,-2222900)
If I simply hardcode self. bounds to be exactly what I pass, I get
Problem 3.
Even so I get back a 2x2 array, not 1x1
Dimensions:                                   (time: 1, X: 2, Y: 2)
Coordinates:
  * time                                      (time) datetime64[ns] 2000-02-24
  * X                                         (X) float32 42.57 42.57
  * Y                                         (Y) float32 -19.99 -20.0

Hello @simonff I thought 2x2 is true as I tried the below native approach and in this approach the result is same. Can you tell us why are you expecting 1x1 if scale is 463m.
import numpy as np

image = ee.Image.pixelCoordinates(ee.Projection(SIN))
scale =<PHONE_NUMBER>279165
x_min, y_min, x_max, y_max = 4447800, -2223901, 4448801, -2222900

x_size = int(np.round((x_max - x_min) / np.abs(scale)))
y_size = int(np.round((y_max - y_min) / np.abs(scale)))
kwargs = {
    "grid": {
        "dimensions": {"width": x_size, "height": y_size},
        "affineTransform": {
            "translateX": x_min,
            "translateY": y_max,
            "scaleX": scale,
            "scaleY": scale * (-1),
        },
        "crsCode": SIN,
    },
}

params = {
    "expression": image,
    "fileFormat": "NUMPY_NDARRAY",
    **kwargs,
}
result = ee.data.computePixels(params)
result

result:
array([[(4448031.65635826, -2223131.65635826),
        (4448494.96907479, -2223131.65635826)],
       [(4448031.65635826, -2223594.96907479),
        (4448494.96907479, -2223594.96907479)]],
      dtype=[('x', '<f8'), ('y', '<f8')])

P.S. I updated my code with this PR that's why I got the result in meter.

https://github.com/google/Xee/pull/120 fixed this


Is there a way to add "namespaced" clients?

Hi!
Is there a way to add namespaced like clients under the main client?
For example
@RestApi(baseUrl: 'https://jsonplaceholder.typicode.com/')
abstract class RestClient {
  final UserApi user;

  factory RestClient(Dio dio, {String? baseUrl}) {
    return _RestClient(dio, baseUrl: baseUrl);
  }
}

@RestApi(prefix: '/users')
abstract class UserApi {
  factory UserApi(Dio dio) = _UserApi;

  @GET('/')
  Future<List<User>> list();
}

So in end code you can use it like that, restClient.user.list()  ?
Just a question, i might be better in SO but other users might want it.. thanks again.

Exactly like what you said. It's not a common feature that everyone wants.
Please consider wrapping the APIs in another class then you can get something like what you want.


merge upstream

sorry :-(

One needs to learn where to click and where not to click 🙊 my apology for this.


MousePress event not accurate when use with touch sreen

I touch blue point but it get pick on red point  another location

I think it's due to #338. If the viewport is wrong, picking will also be wrong.

Are you testing on native mobile or web mobile?

on web mobile

Are you testing on native mobile or web mobile?

i just did a few test @adezukZ if you are still interested to investigate


Unable to build with npm run build

NODE_PATH=src babel-node ./node_modules/.bin/isparta cover _mocha -- --growl --compilers js:babel-core/register,css:test-js/css-null-compiler.js --require ./test-js/test_helper.js $(find src -path '*.spec.js')
sh: 1: babel-node: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>test:unit: NODE_PATH=src babel-node ./node_modules/.bin/isparta cover _mocha -- --growl --compilers js:babel-core/register,css:test-js/css-null-compiler.js --require ./test-js/test_helper.js $(find src -path '*.spec.js')
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test:unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

https://stackoverflow.com/a/18020195/2986924

I dont exactly remember what was wrong. Worked later. Thanks


Blufi takes too much ram (IDFGH-9795)

Is your feature request related to a problem?
Hi,I am using esp32s3 n8r8 ，and using blufi to just config wifi,but it takes so much ram .
I find that there are two modes in blufi,one is bludroid  ,the other is nimble ,which one  will take less ram usage?
I already tried "Use dynamic memory allocation in BT/BLE stack " and "BT/BLE will first malloc the memory from the PSRAM" in menuconfig,but not much effect
So is there a way to minimize blufi ram usage?
Thanks a lot
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response

Nimble blufi will take less ram usage.

Nimble blufi will take less ram usage.

thank u a lot.


Making rule names configurable

I made the rule names that show up when you do /town rules configurable, not sure if this is something needed, but if it is here is my implementation not sure if its up to this repositories standards though.

Will keep in mind from now on, first actual contribution to a proper project :)

Accidental, sorry :)


How to obtain embedding

Hi! can someone please guide me on how to obtain the embeddings of a face image.

Sorry too late, you can get the emedding from the backbone model output.


Added github workflow

This workflow include the tox linters run.
This will detect the errors when we will push
code to the master branch or create pr against
master branch.
Signed-off-by: Amol Kahat<EMAIL_ADDRESS>

Linting jobs will fail until we add setup.py or pyproject.toml.

Thanks Amol! :)


Added support to Squire for data-* attributes and improved support fo…

Added support to Squire for data-* attributes and improved support for non-contenteditable elements within editor

The team has decided to go another direction.


Detect CommonJS exports using cjs-module-lexer

This implements cjs-module-lexer to detect the exports of a CommonJS module. While cjs-module-lexer does not work in all cases, it's what Node.js uses to detect exports, so we use it to match the behaviour.
Previously, all CommonJS imports would be transformed to a default import. After this change, only undetected imports are transformed. For example, assume cjs-module-lexer detects importA and importB. The following code:
import { importA, importB, importC } from 'cjs-module';

is now transformed to:
import { importA, importB } from 'cjs-module';
import $cjsmodule from 'cjs-module';
const { importC } = $cjsmodule;

Closes #27.

Out of total ignorance: What's the current export detection behavior, where is it implemented, and why aren't we detecting the CommonJS exports already?


[Develop] Fixes #4114 Cannot declare class Config\App when running vendor/bin/phpunit

For develop branch.
Checklist:

[x] Securely signed commits

closing per https://github.com/codeigniter4/CodeIgniter4/issues/4114#issuecomment-762136912

closing per https://github.com/codeigniter4/CodeIgniter4/issues/4114#issuecomment-762136912


Minor doc bug

Docs here indicate default sender config var is MAIL_DEFAULT_SENDER.
However docs here are doing a Yoda thing. Had to grep source (and learn a bit about flask extension configs :smile:) to figure it out.

Docs are now hosted at https://flask-mail.readthedocs.io.


feat: added timeout setting

:tada: This PR is included in version 2.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Module not found: Error: Can't resolve './types/other'

Hello folks,
I am very new to Dialogflow and have been fiddling around to make a chatbot.
I was able to successfully hook up the googleapis module and everything works fine on locally.
Package versions
npm: 6.1.0
node: 8.11.1
googleapis: 32.0.0
Goal:
To be able to create intents dynamically and push them to Dialogflow. Here is the code snippet
postNewData.ts
import { getIntent } from './intents';
const { google } = require('googleapis');

export async function postDataToDialogFlow() {
  const client = await google.auth.getClient({
    keyFile: process.env.GOOGLE_APPLICATION_CREDENTIALS,
    scopes: 'https://www.googleapis.com/auth/cloud-platform',
  });

  const dialogflow = google.dialogflow({
    version: 'v2',
    auth: client,
  });

  dialogflow.projects.agent.intents
  .create({
    parent: `projects/${process.env.DIALOGFLOW_PROJECT_ID}/agent`,
    resource: getIntent(),
  })
  .catch(err => {
    console.error(`Error caught while creating an intent on Dialogflow: ` + err);
  });
}

Problem
I was able to successfully push the new intent to Dialogflow. The problem occurs when I run  npm run build which executes node --max-old-space-size=4096 ./node_modules/webpack/bin/webpack.js --display-error-detail --mode=production
and throws these two errors which ends up failing the circleci build.
I did try to debug further but no luck so far. I apologize if the issue has been discussed earlier and failed to catch my eyes.
ERROR in ./node_modules/gtoken/node_modules/mime/index.js
Module not found: Error: Can't resolve './types/other' in '/Users/arjun/projects/bot/node_modules/gtoken/node_modules/mime'
 @ ./node_modules/gtoken/node_modules/mime/index.js 4:55-79
 @ ./node_modules/gtoken/build/src/index.js
 @ ./node_modules/google-auth-library/build/src/auth/jwtclient.js
 @ ./node_modules/google-auth-library/build/src/index.js
 @ ./node_modules/googleapis/build/src/shared/src/discovery.js
 @ ./node_modules/googleapis/build/src/shared/src/index.js
 @ ./node_modules/googleapis/build/src/apis/youtubereporting/v1.js
 @ ./node_modules/googleapis/build/src/index.js
 @ ./src/natural-language-processing/queries/postNewData.ts
 @ ./src/natural-language-processing/queries/index.ts
 @ ./src/natural-language-processing/index.ts
 @ ./src/server.ts

ERROR in ./node_modules/gtoken/node_modules/mime/index.js
Module not found: Error: Can't resolve './types/standard' in '/Users/arjun/projects/bot/node_modules/gtoken/node_modules/mime'
 @ ./node_modules/gtoken/node_modules/mime/index.js 4:26-53
 @ ./node_modules/gtoken/build/src/index.js
 @ ./node_modules/google-auth-library/build/src/auth/jwtclient.js
 @ ./node_modules/google-auth-library/build/src/index.js
 @ ./node_modules/googleapis/build/src/shared/src/discovery.js
 @ ./node_modules/googleapis/build/src/shared/src/index.js
 @ ./node_modules/googleapis/build/src/apis/youtubereporting/v1.js
 @ ./node_modules/googleapis/build/src/index.js
 @ ./src/natural-language-processing/queries/postNewData.ts
 @ ./src/natural-language-processing/queries/index.ts
 @ ./src/natural-language-processing/index.ts
 @ ./src/server.ts

I'd appreciate any input on this.
Thank you 👍

Greetings!  This library ain't exactly webpackable today, sadly.  The problem is the dependency on Google auth library (a pretty important dependency).   The good news is that we have made some good progress :).
https://github.com/google/google-auth-library-nodejs/pull/371
I suggest following that issue for updates.

Oh no :( Okay. Thank you for sharing the link. 👍

Also added an item to track here:
https://github.com/google/google-api-nodejs-client/issues/1286
I'm going to close this out for now, but we should have news here soon 🤞


Strange unlabled period in Congo data

Fix this problem, there is an empty period in the timeseries that is not labeled as gap I think

Problem found:
There are Nan's in the input dataset:

The invalid input check is not performing (correctly)

TODO:
convert the invalid input, and duplicated outliers to vertical line representations


Add multiarch support

This will enable to build node-problem-detector project for multiarch like amd64, arm, arm64 and ppc64le.

This change is

/assign

/cc @Random-Liu

/remove-lifecycle stale

@Random-Liu can you please review this PR?

/remove-lifecycle stale

/remove-lifecycle stale


Load and play a remore audio on mobile doesn't work

I have a web service that creates an audio file on button click, after creation i need  to load and play it. On desktop it works very well, on mobile i have no audio, i had the same problem with static audio files and i solved it preloading the audio files, but with the real time service icannot

Can you please share a live implementation?

I think it's the same problem with the latest version of Safari on Mac OS X.


make backend does not work with Python 3.9

Describe the bug
A clear and concise description of what the bug is.
Browser and Version

Browser [e.g. chrome, safari]
Version [e.g. 22]

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
when I make backend in Python 3.9, there is TypeError
# make backend
make install_backend
make[1]: Entering directory '/root/jupyter/langflow'
poetry install
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: langflow (0.5.0a0)
make[1]: Leaving directory '/root/jupyter/langflow'
poetry run uvicorn --factory src.backend.langflow.main:create_app --port 7860 --reload --log-level debug
INFO:     Will watch for changes in these directories: ['/root/jupyter/langflow']
INFO:     Uvicorn running on http://<IP_ADDRESS>:7860 (Press CTRL+C to quit)
INFO:     Started reloader process [1438281] using WatchFiles
Process SpawnProcess-1:
Traceback (most recent call last):
  File "/usr/lib64/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib64/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/root/.cache/pypoetry/virtualenvs/langflow-PmbGgHqv-py3.9/lib/python3.9/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/root/.cache/pypoetry/virtualenvs/langflow-PmbGgHqv-py3.9/lib/python3.9/site-packages/uvicorn/server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib64/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/root/.cache/pypoetry/virtualenvs/langflow-PmbGgHqv-py3.9/lib/python3.9/site-packages/uvicorn/server.py", line 68, in serve
    config.load()
  File "/root/.cache/pypoetry/virtualenvs/langflow-PmbGgHqv-py3.9/lib/python3.9/site-packages/uvicorn/config.py", line 473, in load
    self.loaded_app = import_from_string(self.app)
  File "/root/.cache/pypoetry/virtualenvs/langflow-PmbGgHqv-py3.9/lib/python3.9/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/jupyter/langflow/src/backend/langflow/main.py", line 8, in <module>
    from langflow.api import router
  File "/root/jupyter/langflow/src/backend/langflow/api/__init__.py", line 1, in <module>
    from langflow.api.router import router
  File "/root/jupyter/langflow/src/backend/langflow/api/router.py", line 3, in <module>
    from langflow.api.v1 import (
  File "/root/jupyter/langflow/src/backend/langflow/api/v1/__init__.py", line 2, in <module>
    from langflow.api.v1.validate import router as validate_router
  File "/root/jupyter/langflow/src/backend/langflow/api/v1/validate.py", line 3, in <module>
    from langflow.api.v1.base import (
  File "/root/jupyter/langflow/src/backend/langflow/api/v1/base.py", line 42, in <module>
    class PromptValidationResponse(BaseModel):
  File "/root/jupyter/langflow/src/backend/langflow/api/v1/base.py", line 45, in PromptValidationResponse
    frontend_node: FrontendNodeRequest | object
TypeError: unsupported operand type(s) for |: 'ModelMetaclass' and 'type'

And when I upgrade to Python 3.11, it claimed that Python (>=3.9,<3.11) is required. But actually it cannot work with Python 3.9
# make backend
make install_backend
make[1]: Entering directory '/root/jupyter/langflow'
poetry install
The currently activated Python version 3.11.2 is not supported by the project (>=3.9,<3.11).
Trying to find and use a compatible version.

Have you ever tried python 3.10?

Have you ever tried python 3.10?

python = ">=3.9,<3.11"
I checked and 3.9 isn't working (poetry run langflow) but 3.10.12 works just fine.


Question: Dose redux is compulsory to use for rect native app for this chat lib implementation???

Question: Dose redux is compulsory to use for rect native app for this chat lib implementation???

Hi @kp72-dev , you can create your own project without redux
In this sample we use redux because it is much easier than use just react state or context

Hi @kp72-dev , you can create your own project without redux
In this sample we use redux because it is much easier than use just react state or context

thanx for responding.
i am facing error called native module null

Probably react-native-webrtc lib is not linked, check this guide https://github.com/react-native-webrtc/react-native-webrtc#installation
Is it chat sample ?

its my demo app where i just installed lib and imported sdk as mention in doc.
@banshiAnton

@kp72-dev our sdk include react-native-webrtc as dependence for p2p calling and conference
We don't have separate sdk for chat and calls