Modal CodeBrowser dialogs are activating FrontEnd window

I have a FrontEnd on monitor 1 and a CodeBrowser on monitor 2.  I have another app open on monitor 1 that I need to look at while looking at the CodeBrowser on monitor 2.  When a modal opens from the CodeBrowser (memory map actions, file choosers, etc.) the FrontEnd on monitor 1 activates, hiding my other app.
Environment (please complete the following information):

OS: Ubuntu 19.10
Java Version: Amazon Corretto 11.0.6
Ghidra Version: 9.2-DEV dc16f29

Also in my case all dialog windows opens in old position of CodeBrowser window. For example:

Open CodeBrowser window on monitor 1.
Move CodeBrowser window on monitor 2.
Open dialog window, for example, Go To ....
It will be opened on monitor 1, but if you move it to monitor 2, then next time it will be opened on monitor 2.

I know, it's another issue, but maybe it will be fixed with this issue.

@ryanmkurtz, sorry for flooding there, but I want to post fix for tiling window manager. I think these things are interconnected.

OS: ArchLinux (Linux 5.4.3-arch1-1)
WM: i3-wm 4.17.1-1
Java Version: OpenJDK Java 11.0.5
Ghidra Version: dc16f29

When you open dialog windows with DropDownSelectionTextField (autocompleter), then you lost focus of completion list and description (see Fig. 1).

Fig. 1. Focus was lost

I fixed the issue by adding setting to i3 configuration file (see Fig. 2):
for_window [class="Ghidra"][window_type=dialog] focus

Fig. 2. Fixed

Perhaps this will be useful for another people, who use tiling WMs or for NSA developers who can solve the problem, because I could not find a solution, only fix for i3.

The original issue (all windows raising above other non-Java windows)  is caused by Java raising all windows when the modal is shown.
The second issue (dialogs initially not appearing over a tool moved across monitors)  may have been fixed (I cannot reproduce it).
The third issue (the DropDownSelectionTextField's windows not staying on top) seems to be very specific to the given platform (I cannot reproduce it)


Updating the Nearby page.

The nearby page is very basic. We can beautify it by adding color, fonts, and images. By doing this it will become more attractive towards the user. I want to work on this issue.
@tushargupta1504 please assign this issue to me.

okay but pls remember onwards that you a raise one PR for all your issue and yeah if possible implement the backend too ...

Thanks, I'll remember this in future. Also, could you please label the level for this issue.

@tushargupta1504 please assign me this issue under hacktober

@tushargupta1504 I would like to work on this issue.


Add ProxyBackends collection

Closes #1233
Closes #1344
Changes

Add ProxyBackends collection
Add ProxyBackends schema
Add ApiUmbrellaSchema
Add Proxy tab on view API Backend page
Add Proxy Backend Configuration panel
Add Proxy Backend configuration form

insert and update methods
labels, help texts, and validation messages
Regular expression for Proxy/API base path fields

Add ApiProxyConfiguration publication/subscription
Add i18n tokens/strings
Cleanup

lint various files, as they are saved
Change apiBackend to api where possible
Refactor ApiMetadata collection to follow project filename convention

@jykae we have decided to have specific fields based on the type of proxy, e.g. apiUmbrella.host.
This is similar to how @frenchbread implemented the Proxy feature, where he created sub-schemas for each supported proxy. Right now we are only aiming to support API Umbrella, but this approach allows us to easily enable more proxies.

@apinf/core please review.
Ping @bajiat

One unneeded slash is used here:

What about updating the the base path "preview" in real-time when the the frontend prefix is being typed?

One unneeded slash is used here

The /proxy_base_path/ needs at least the initial slash, to validate with API Umbrella. We may need to trim the ending slash from the host, or disallow it in the settings form.

Suggested changes made. Please review.

@frenchbread please also note that in your Proxy module we should have only one url field for API Umbrella. That url field should not allow values ending with /, or it should be cleaned up on submit.
We will be appending /api-umbrella within the API Umbrella integration methods.

That url field should not allow values ending with /, or it should be cleaned up on submit.

@brylie Does this require any changes for #1459 ?

@brylie Does this require any changes for #1459 ?

@frenchbread it looks like it. I will make some inline comments.

@frenchbread I made the suggested changes. Please review.

I don't want to do the 'base path live preview' at this point, so that we can merge this work soon.
If desirable, we can file the 'base path live preview' as an enhancement task.

@brylie On Api details tab, shouldn't the the base URL display the actual URL for requests?

Everything else looks cool. Good job on refactoring bunch of files to fix eslist 👍

@frenchbread There is a continuation task for the details tab. If that is the only thing missing, please merge this. Illya is waiting for this task to be merged.

@frenchbread Is it possible for you to merge during the afternoon? If not, I can reassign the task

Ok, merging. @brylie @bajiat


Fix plan_to_sql: Add wildcard projection to SELECT statement if no projection was set

Which issue does this PR close?
Closes #11743.
Rationale for this change
This PR will check the select_builder in the select_to_sql_expr after calling the select_to_sql_recursively and if no projection is set, it will add a projection with one element set to ast::SelectItem::Wildcard(ast::WildcardAdditionalOptions::default())
What changes are included in this PR?
The changes described above, and some test cases.
Are these changes tested?
Yes.
Are there any user-facing changes?
I would say no.

https://github.com/apache/datafusion/actions/runs/10179108058/job/28167144185?pr=11744 is failing -- I think we can fix that by running cargo fmt and committing the result

https://github.com/apache/datafusion/actions/runs/10179108058/job/28167144185?pr=11744 is failing -- I think we can fix that by running cargo fmt and committing the result

thanks @alamb I will run the cargo fmt and push a new commit. Thanks for the quick review

🚀


PDF to Text

Is your feature request related to a problem? Please describe.
I'm always frustrated when a PDF file cannot be convert to text forms which can be useful for students . No need to copy and paste it.
Describe the solution you'd like
I would like to developed a GUI PDF to text converter that does have a user friendly Interface so that everyone can use with ease
I kindly request to please assign me with this issue under hacktoberfest.

i wanna work on this issue

Can I work on this issue,
Pls tell, we have to get pdf data to text in a .txt file? or just display the data there on ui


How to get the Device ID

Hi,
I am fairly new to this, but was really interested in this App. Wanted to know in your guide you mentioned to get the device ID and add it to the user device doctype. But how to get the device ID? can you please explain that part aswell.
Thanks

Hi,
I am fairly new to this, but was really interested in this App. Wanted to know in your guide you mentioned to get the device ID and add it to the user device doctype. But how to get the device ID? can you please explain that part aswell.
Thanks

Same here. I even reached out to him on LinkedIn, asking for more help with registering the Device Token and storing it. He said he will update it.


Data loading logic

Hey!!
NIce paper and well organized code. Thanks for sharing the code. I read your paper and also checked the code but bit confused with the way you are loading data. This is first encounter with sattelite data so may be I am asking silly question. So, when I checked the data its time series and that is fine, but how you use a reference data and use mono date is not very clear to me.My questions are:

What is the reference date means here? When I use a mono data that means I am taking data for only that date?
If I want to use whole time series data, do I need to give reference date and also mono data as argument?
For the panoptic segmentation there is no condition for that in the dataset wraper function. Instance segmentation is same as panoptic? bit confused with that.

Hope you understand my questions.

Hi @nazib ,
So when you are using a time series, you need the observation dates of each image of the time series, because these dates are used in the positional encoding of the transformer. The thing is that it wouldn't make sense to pass the dates in string format obviously. Instead, the observation dates are expressed as integer number of days since the reference date.
So the reference date is just there to set the 0 of this observation date scale. It does not define the date that is loaded in mono-temporal or multi-temporal setting.
All this still holds for panoptic segmentation, the wrapper is the same you just change from target=semantic to target=panoptic.
For more details on panoptic segmentation you can have a look there.
Let me know if that answers you questions.

Hi @VSainteuf
Thanks so much for reply. Yep, Its clear now.


Allow the application name to be configurable in settings

how about showing the version number next to it as well ? Those seems to be the appropriate places.


Validate renaming CSHTML files in VS no longer results in error

Title says it all
https://github.com/aspnet/AspNetCore/issues/11720

Verified.


viewcode utf-8 clash

 File "/Users/xxxxx/LIB/CONDA/anaconda/lib/python2.7/site-packages/recommonmark/states.py", line 129, in run_role
    rawtext=str(content),
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)

you can changerecommonmark/states.pylike this
    rawtext=str(content),     text=str(content),
to
 ```
rawtext=str(content.encode("utf-8")).decode("utf-8"),
text=str(content.encode("utf-8")).decode("utf-8"),
```

I'm facing the same issue, it makes the using readthedocs with markdown impossible with other languages.

In my case,
sed -i 's@role(name@role("download"@' /usr/lib/python2.7/dist-packages/recommonmark/states.py
sed -i 's@str(content)@content@' /usr/lib/python2.7/dist-packages/recommonmark/states.py

works for me.


python intelliSence by Pylance not rendered AS IS.

VSCode Version: 1.51.1
OS Version: windows 10

Steps to Reproduce:

install pylance
define a class, or import a 3rd party package (e.g. pytorch) and then use a class
hover your mouse on the class name
the provided comment doc strings is not rendered AS IS

Does this issue occur when all extensions are disabled?: Yes
I'm using VSCode to write python, and using Pylance to provide intelliSence. I think that comment doc strings should be rendered AS IS. No markup interpretation. If the author makes an effort to format the string it look good.
user defined class:

pytorch class:

I tried the - (minus) method and it worked more reasonable than plain text. But I also faced with _ problems in variable names as is shown. Since I can add - in my user defined classes, I cannot edit comments in 3rd party packages like PyTorch, whose comments are shown in the images above and are rendered as plain text by Pylance.

Please report this directly against the extension at https://github.com/microsoft/pylance-release/issues


Update 2_view2.md

Fix SQL query syntax for "if you have Savings Plans, but do not have Reserved Instances"
uncommented savings plan statements, commented reserved instance statements
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for identifying the issue - there was another pull request that incorporated this fix, closing.


Upgrade to sbt-js-engine 1.2.1

We've released a new version of sbt-js-engine to work with newer versions of node and npm

Sent a PR for this one


Test: Unable to install klog dependency

Thanos, Prometheus and Golang version used:
Thanos - v0.11.0
Gonag - v1.19,1

Object Storage Provider:
What happened:
Make test fails with error :
>> fetching [github.com/prometheus/prometheus/cmd/prometheus<EMAIL_ADDRESS>revision/version
# cd /tmp/thanos-go/src/github.com/prometheus/alertmanager; git pull --ff-only
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

package github.com/prometheus/prometheus/cmd/prometheus
        imports github.com/prometheus/alertmanager/api/v2/models: exit status 1
/tmp/thanos-go/src/github.com/prometheus/prometheus/cmd/prometheus/main.go:52:2: cannot find package "k8s.io/klog" in any of:
        /usr/bin/go/src/k8s.io/klog (from $GOROOT)
        /tmp/thanos-go/src/k8s.io/klog (from $GOPATH)
make: *** [Makefile:422: /home/tester/go/bin/prometheus-v2.4.3] Error 1

Tried to install klog with go get github.com/k8s.io/klog/v2 but this gives error now, a week back i was able to install the same.
What you expected to happen:
klog deps should be installed.
How to reproduce it (as minimally and precisely as possible):
Install go
run go get github.com/k8s.io/klog/v2
Full logs to relevant components:
Logs

go get github.com/k8s.io/klog/v2
go: module github.com/k8s.io/klog/v2: git ls-remote -q origin in /home/tester/go/pkg/mod/cache/vcs/dc9c515795ed3b4de9aa28de6158bc52456a440109a7041b14a98946d9917d42: exit status 128:
        ERROR: Repository not found.
        fatal: Could not read from remote repository.

        Please make sure you have the correct access rights
        and the repository exists.

Anything else we need to know:
Environment:

OS (e.g. from /etc/os-release): rhel8.5
Kernel (e.g. uname -a):
Others:

Hi Team, Please share if there are any pointers on this issue. Let us know if any information is needed from our side.

Hi Team,
Is there any update or workaround for this?


i18n(ar): Update getting-started.mdx

Description (required)
I translated getting-started.mdx.
Before:

After:

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ar
getting-started.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


[Bug]: In dev mode queueMicrotask is not defined in ESM environment

System Info
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 1.82 GB / 7.83 GB
Binaries:
Node: 22.6.0 - ~\AppData\Local\fnm_multishells\14848_1725611723399\node.EXE
npm: 10.8.2 - ~\AppData\Local\fnm_multishells\14848_1725611723399\npm.CMD
pnpm: 9.7.0 - ~\AppData\Local\fnm_multishells\14848_1725611723399\pnpm.CMD
bun: 1.1.21 - ~.bun\bin\bun.EXE
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.19041.4355
npmPackages:
@rspack/core: 1.0.3 => 1.0.3
Details
Hi, I'm using Rsbuild environment API to build a client and a server. There are 3 problems with my repro:

queueMicrotask is not defined in ESM environment during dev
I enforced both bundle to output ESM (disabled esm on client since rsbuild can't output

The SSR server side runtime context of Rsbuild does not support this method. I will try to fix it.


Focal point, why percentage and not focus point?

I have started to use your image service with focalpoint.
https://images.weserv.nl/docs/crop.html#focal-point
We have a focus point selector for images in the administration, but after comparing the focus point selector preview to the images scaling results, I figured out that your service does not take the percentage set, as a focus point to make the most optimale image from but as a percentage of the possible cut frames of the image matching the aspect ratio.
To me that is a stange way to handle this - why would it not be handled as a focus point which to me at least is the most logical way to implement it, though I understand that this maybe was a faster implementation..

You're right, the implementation didn't take the original input width and height into account. Fixed with commit https://github.com/weserv/images/commit/b78d912bf2e4eb7f81f00a6889c73811cf5d32c6.
This commit also deprecates the confusing &a=focal-x%-y% percentage parameter, you can use &a=focal&fpx=[x decimal]&fpy=[y decimal] instead. The documentation has been updated to reflect this change:
https://images.weserv.nl/docs/crop.html#focal-point
Thanks for reporting this!

@kleisauke Sounds good - I can't find any info about your deployment procedure - I can see the documentation change is not live a least.

It's supposed to be live. There ought to be a pop-up when new content is available (i.e. when the service worker has installed an update), for example:


The drawing of the outer frame of the application is strange when in picture-in-picture with FireTab

Steps to Reproduce

Add a PlatformViewLink widget to your Fire Tablet(Android) application
Create an AndroidView that returns PlatformViewsService.initExpensiveAndroidView in onCreatePlatformView
For example, implement a widget that puts you in Android's picture-in-picture(https://developer.android.com/develop/ui/views/picture-in-picture) mode when you tap a button
Run the code, Frames are drawn incorrectly when using picture-in-picture

Expected results:
Renders correctly when in picture-in-picture.
Actual results:
When running an app using PlatformViewsService.initExpensiveAndroidView on a Fire Tablet, the borders of the app are drawn incorrectly when doing a picture-in-picture.

Fire Tablet
Pixel2 XL

Normal

picture-in-picture

picture-in-picture(details)

Code sample

main.dart

import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';

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

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

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

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    const String viewType = '<platform-view-type>';
    final Map<String, dynamic> creationParams = <String, dynamic>{};

    return MaterialApp(
      title: 'Sample',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('sample'),
          actions: [
            IconButton(
              icon: const Icon(Icons.add),
              onPressed: () async {
                // Tap buton to PIP in Android app
                await Native.doPIPDebug();
              },
            ),
          ],
        ),
        body: PlatformViewLink(
          viewType: viewType,
          surfaceFactory:
              (BuildContext context, PlatformViewController controller) {
            return AndroidViewSurface(
              controller: controller as AndroidViewController,
              gestureRecognizers: const <
                  Factory<OneSequenceGestureRecognizer>>{},
              hitTestBehavior: PlatformViewHitTestBehavior.opaque,
            );
          },
          onCreatePlatformView: (PlatformViewCreationParams params) {
            return PlatformViewsService.initExpensiveAndroidView(
              id: params.id,
              viewType: viewType,
              layoutDirection: TextDirection.ltr,
              creationParams: creationParams,
              creationParamsCodec: const StandardMessageCodec(),
            )
              ..addOnPlatformViewCreatedListener(params.onPlatformViewCreated)
              ..create();
          },
        ),
      ),
    );
  }
}

class Native {
  static const _channel = MethodChannel('<platform-view-type>');

  static Future<void> doPIPDebug() async {
    _channel.invokeMethod<void>('doPIPDebug');
  }
}

MainActivity.kt

package com.example.flutter_application_platformviewlink

import android.app.Activity
import android.app.PictureInPictureParams
import android.content.Context
import android.os.Build
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel

class MainActivity: FlutterActivity() {
    private lateinit var mContext: Context
    private lateinit var mPictureInPictureParamsBuilder: PictureInPictureParams.Builder

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        flutterEngine
            .platformViewsController
            .registry
            .registerViewFactory("<platform-view-type>", NativeViewFactory())

        MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "<platform-view-type>").setMethodCallHandler {
                call, result ->
            when (call.method) {
                "doPIPDebug" -> {
                    mContext = context

                    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
                        mPictureInPictureParamsBuilder = PictureInPictureParams.Builder()
                        (mContext as Activity).enterPictureInPictureMode(mPictureInPictureParamsBuilder.build())
                    }

                    result.success(true)
                }
            }
        }
    }
}

NativeViewFactory.kt

package com.example.flutter_application_platformviewlink

import android.content.Context
import android.view.View
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory

class NativeViewFactory : PlatformViewFactory(StandardMessageCodec.INSTANCE) {
    override fun create(context: Context, viewId: Int, args: Any?): PlatformView {
        val creationParams = args as Map<String?, Any?>?
        return NativeView(context, viewId, creationParams)
    }
}

AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.flutter_application_platformviewlink">
   <application
        android:label="flutter_application_platformviewlink"
        android:name="${applicationName}"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:supportsPictureInPicture="true"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
</manifest>

Logs

flutter run --verbose`

gist

flutter analyze

$ flutter analyze
Analyzing flutter_application_platformviewlink...
No issues found! (ran in 1.2s)

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel unknown, 3.7.3, on macOS 13.1 22C65 darwin-arm64 (Rosetta), locale ja-JP)
    ! Flutter version 3.7.3 on channel unknown at /Users/koji.yamada/development/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.75.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Device Info

Amazon Fire Tablet
Android 9.0
API Level 28
Fire OS Version 7 (<IP_ADDRESS>)
Device model Fire HD 10 (9th generation)

$ adb devices -l
List of devices attached
G0011J0604660HXW       device usb:17825792X product:maverick model:KFMAWI device:maverick transport_id:51

@ms11165 Thanks for the detailed information with the sample code (although it's missing NativeView, I can add it for checking).
I'm checking this on my two Android devices:

Samsung Galaxy Tab A7 Lite, Android 13: a tablet device. It seems to be an issue but it has a small white border on the edges (right and bottom) instead.
Pixel 3a, Android 12: a phone device, it displays well as your phone.

Demo

Samsung Galaxy Tab A7 Lite
Pixel 3a

Can you share the NativeView class code? It looks like there is padding around the TextView and the padding is rendering wrong on the tablet.

@huycozy
I am Sorry.  Here is the NativeView.kt code.

Code sample
* NativeView.kt
package com.example.flutter_application_platformviewlink

import android.content.Context
import android.view.View
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory

class NativeViewFactory : PlatformViewFactory(StandardMessageCodec.INSTANCE) {
    override fun create(context: Context, viewId: Int, args: Any?): PlatformView {
        val creationParams = args as Map<String?, Any?>?
        return NativeView(context, viewId, creationParams)
    }
}

Thanks for the additional code. But when using it, it looks better on my device:

Demo (Samsung Galaxy Tab A7 Lite, Android 13)

Can you retry on the latest Flutter stable and master channels? (the latest versions are from my below flutter doctor output)

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.5, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.7.5 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c07f788888 (5 hours ago), 2023-02-22 17:52:33 -0600
    • Engine revision 0f359063c4
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Users/huynq/Library/Java/JavaVirtualMachines/corretto-1.8.0_302/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Corretto-8.302.08.1 (build 1.8.0_302-b08)
    • All Android licenses accepted.

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

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

[!] Android Studio (version 2022.1)
    • 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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.100

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-15.0.pre.42, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.8.0-15.0.pre.42 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (40 minutes ago), 2023-02-24 01:47:48 -0500
    • Engine revision 167c97bc3b
    • Dart version 3.0.0 (build 3.0.0-266.0.dev)
    • DevTools version 2.22.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.1)
    • 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 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.100

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

! Doctor found issues in 1 category.

If the issue still persists on the latest Flutter versions, please also help to check it with Virtual Display mode to see if it's still the same.
You may use the complete sample code in this repository which I put together for easy reproduction.

@huycozy
Thank you for your advice.

Can you retry on the latest Flutter stable and master channels?

I tried again with the latest Flutter channel and master channel, same problem.

If the issue still persists on the latest Flutter versions, please also help to check it with Virtual Display mode to see if it's still the same.

My Android application needs to use a secure surface view, so my apps can't embed the native view into the virtual display.
https://developer.android.com/reference/android/view/SurfaceView#setSecure(boolean)

Thanks for the response. It looks like a specific device issue. Labeling it for further investigation.
The complete sample code: https://github.com/huycozy/reproduce_issue_picture_in_picture

Do we really need this line here?


making ou not required for real; passwords should be single-quoted

Thanks for the improvements. :+1:

Version 4.5.0 has been pushed to the supermarket


Shorten output for circular references

Input:
const x = {};
x.y = {x};
module.exports = x;

Current output:
const y = {},
  x = {y};
y.x = x;
module.exports = x;

This output is longer than it needs to be. It's several bytes longer than the input.

Same for deeper nesting e.g.:
const x = {};
x.y = {z: {x}};
module.exports = x;

This will be easier to solve once two-phase serialization is implemented (#426).


easyeffects: context connection failed

Describe the bug
The program crashes. Maybe because i don't use PipeWire. Probably upstream has to make this situation better.
Steps To Reproduce
Steps to reproduce the behavior:
[davidak@gaming:~/code/nixpkgs]$ nix run nixpkgs#easyeffects

(easyeffects:1152952): easyeffects-ERROR **: 06:48:57.879: 	pipe_manager.cpp:1457	context connection failed
Trace/breakpoint trap (core dumped)

[davidak@gaming:~/code/nixpkgs]$ nix run -f channel:nixos-unstable easyeffects

(easyeffects:1156381): easyeffects-ERROR **: 06:50:05.931: 	pipe_manager.cpp:1457	context connection failed
Trace/breakpoint trap (core dumped)

Expected behavior
Error message instead of crash.
Additional context
Add any other context about the problem here.
Notify maintainers
@jtojnar
Metadata

system: "x86_64-linux"
host os: Linux 6.1.12, NixOS, 22.11 (Raccoon), 22.11.2630.e6d5772f351
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.11.1
channels(root): "home-manager-22.11.tar.gz, nixos-22.11, nixos-hardware, nixos-unstable"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Easyeffects doesn't support pulseaudio, this is not related to NixOS

It is intentional.

It seems not possible to solve this in the near future.

Source: https://github.com/wwmm/easyeffects/issues/1348


more advanced interface for adjusting strand color in web interface

Currently the user has to specify a hex string, and they can't even see what the color will look like until they assign it.

Actually fixed in https://github.com/UC-Davis-molecular-computing/scadnano/commit/1800a954e772c6190aab411cc98c5fb9b037abde , but made typo in commit message


How can I use boxxy to install boxxy?

install.sh is misbehaving and wants to put it's binary to ~/bin AND NOT ~/.local/bin which is XDG standard?
I want to use boxxy to install.sh to ~/.local/bin ?
Or might it be possible to customize the path in install.sh?
Anyway, cool idea. But too much work to write a config for every "misbehaving" application. A generic wrapper (scanning what bins are in your PATH) and a repository with predefined configs would be cool.

install.sh is a tool for me; I didn't expect people to actually use it :sweat_smile:

A generic wrapper (scanning what bins are in your PATH) and a repository with predefined configs would be cool.

I would love to do this someday.

...until a developer setup comes along with hardcoded ~/.aws/credentials etc.
Maybe putting it to a LD_PRELOAD lib may be a better effort? Or even a kernel module? Basically it could redirect everything dot-something I the home directory to ./config except it is .cache or .local ...
Well, just an experimental idea. I guess people don't care much about cluttering their homedir with dot files and we'll have to surrender 😑


Demo - Camera select not working?

On Android http://webrtc.github.io/samples/src/content/getusermedia/source/ works fine, but in bowser i can't select a camera to view.

It's only on Chrome browser. Not official specification about that

@mccob there is still a way to achieve this or is not possible at all?

Someone needs to implement it. @stefhak implemented this for the Safari extension and that also uses the bridge. I expect that code could be repurposed for camera / microphone selection in Bowser. However, I believe we support the facingMode constraint to select either user (the front facing camera) or environment (the back side camera).

That's cool, thanks.
On Mon, Apr 13, 2015 at 9:50 AM, Robert Swain<EMAIL_ADDRESS>wrote:

Someone needs to implement it. @stefhak https://github.com/stefhak
implemented this for the Safari extension and that also uses the bridge. I
expect that code could be repurposed for camera / microphone selection in
Bowser. However, I believe we support the facingMode constraint to select
either user (the front facing camera) or environment (the back side camera).
—
Reply to this email directly or view it on GitHub
https://github.com/EricssonResearch/bowser/issues/35#issuecomment-92340953
.

--
Alvaro


build: support PGO

@wanghenshui @AlexStocks what is the status of this task? I didn't find related to PGO changes in Pika.
Recently I did many PGO benchmarks on multiple projects - the results are available here. I think the most interesting results for you will be PGO results on different databases (including Redis, Memcached, DragonflyDB, and many others) - link.
We need to evaluate (once again after the mentioned above article) PGO applicability to Pika. And if it helps to achieve better performance - add a note to the documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for Pika. Also, PGO integration into the build scripts can help users and maintainers easily apply PGO for their own workloads.
After PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.
If you already tested PGO on Pika - could you please share the current status with the performance results?
Thanks in advance!

@wanghenshui @AlexStocks what is the status of this task? I didn't find related to PGO changes in Pika.
Recently I did many PGO benchmarks on multiple projects - the results are available here. I think the most interesting results for you will be PGO results on different databases (including Redis, Memcached, DragonflyDB, and many others) - link.
We need to evaluate PGO's applicability to Pika. And if it helps to achieve better performance - add a note to the documentation about that. In this case, users and maintainers will be aware of another optimization opportunity for Pika. Also, PGO integration into the build scripts can help users and maintainers easily apply PGO for their own workloads.
After PGO, I can suggest evaluating LLVM BOLT as an additional optimization step after PGO.
If you already tested PGO on Pika - could you please share the current status with the performance results?
Thanks in advance!

sorry, current we focus on server stable and dev-ops building, PGO is move to next year, when server is robustness  enough


Anyway to target older version of Android

More a question than an issue.
I'm pretty sure the answer is no but is there anyway to support older versions of Android than API level 25?  It is a really hard sell to tell my boss that we can only support 8% of Android Users :-)

You are confusing Target with Minimum. You can set Minimum to whatever you would like.

Apologies, you are correct I did indeed miss-interpret that when reading your release notes. Thanks for getting back to me.


feat: Convert static assets' domain

Convert https://mazey.cn/bootstrap-blueprints to https://i.mazey.net/bootstrap-blueprints.


nimble/ll: Fix MIC failure during encryption start

This fixes unexpected MIC failure when retransmission happens during encryption start procedure as follows:

peripheral sends LL_START_ENC_REQ unencrypted, central acks
central sends LL_START_ENC_RSP encrypted, peripheral acks
central retransmits LL_START_ENC_RSP for whatever reason

The problem is that peripheral increments rx packet counter after 1st LL_START_ENC_RSP is received, so retransmission is decrypted with different rx packet counter and thus is not valid. We properly ignore MIC failure for retransmission, but then code checks if received PDU is valid in currect state, i.e. encryption start procedure. Since it was not properly decrypted, the PDU type is likely garbage and thus considered as not allowed so we terminate connection with MIC failure.
The "ultimate" fix for such issues is to simply ignore any retransmitted PDU with MIC failure since basically contents of such PDUs are garbage and not really useful for any checks.

Tested few hundred of times and I could not reproduce mic failure.


[ELY-982] Add tests for policy-properties based SASL mechanism filtering (EXTERNAL mech)

This commit adds regression tests for policy-properties based SASL mechanism filtering in EXTERNAL mechanism implementation.
The original issues (already fixed):

upstream: https://issues.jboss.org/browse/ELY-982
downstream: https://issues.jboss.org/browse/JBEAP-9230

Full integration - Windows Build 3841 outcome was FAILURE using a merge of db958d72b7db60d71c2b6c1ae5612c2d4c8711e2
Summary: Execution timeout (new); tests passed: 3905, ignored: 113 Build time: 02:00:56

Full integration - Windows Build 3858 outcome was FAILURE using a merge of db958d72b7db60d71c2b6c1ae5612c2d4c8711e2
Summary: Execution timeout; tests failed: 1 (1 new), passed: 4101, ignored: 112 Build time: 02:00:47
Failed tests
org.jboss.as.test.clustering.cluster.web.ConcurrentCoarseWebFailoverTestCase(SYNC-tcp).testGracefulSimpleFailover: java.lang.AssertionError: expected:<200> but was:<500>
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:69)
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:58)
	at org.jboss.as.test.clustering.ClusterHttpClientUtil.establishTopology(ClusterHttpClientUtil.java:52)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.establishTopology(AbstractWebFailoverTestCase.java:286)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.testFailover(AbstractWebFailoverTestCase.java:252)
	at org.jboss.as.test.clustering.cluster.web.AbstractWebFailoverTestCase.testGracefulSimpleFailover(AbstractWebFailoverTestCase.java:91)
------- Stdout: -------
22:48:46,299 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0001: Content added at location C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\clustering\target\wildfly-SYNC-tcp-0\standalone\data\content\73\11cfc275de6ae59b991120dfe06785278f9cc2\content
22:48:46,302 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "coarse-concurrent-distributable.war" (runtime-name: "coarse-concurrent-distributable.war")
22:48:46,373 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.clustering.common") which may be changed or removed in future versions without notice.
22:48:46,373 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.controller") which may be changed or removed in future versions without notice.
22:48:46,373 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.server") which may be changed or removed in future versions without notice.
22:48:46,373 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.infinispan") which may be changed or removed in future versions without notice.
22:48:46,373 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.wildfly.clustering.infinispan.spi") which may be changed or removed in future versions without notice.
22:48:46,379 INFO  [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment coarse-concurrent-distributable.war
22:48:46,429 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'TopologyChangeListenerBean' in deployment unit 'deployment "coarse-concurrent-distributable.war"' are as follows:

	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:app/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:module/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:jboss/exported/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean
	java:app/coarse-concurrent-distributable/TopologyChangeListenerBean
	java:module/TopologyChangeListenerBean

22:48:46,490 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 34) WFLYCLINF0002: Started default-server cache from web container
22:48:46,617 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 34) WFLYCLINF0002: Started coarse-concurrent-distributable.war cache from web container
22:48:46,827 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 30) WFLYUT0021: Registered web context: '/coarse-concurrent-distributable' for server 'default-server'
22:48:46,843 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0010: Deployed "coarse-concurrent-distributable.war" (runtime-name : "coarse-concurrent-distributable.war")
22:48:46,864 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location C:\BuildAgent\work\5768cf3a0bee5b47\full\testsuite\integration\clustering\target\wildfly-SYNC-tcp-1\standalone\data\content\73\11cfc275de6ae59b991120dfe06785278f9cc2\content
22:48:46,867 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "coarse-concurrent-distributable.war" (runtime-name: "coarse-concurrent-distributable.war")
22:48:46,950 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.clustering.common") which may be changed or removed in future versions without notice.
22:48:46,951 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.controller") which may be changed or removed in future versions without notice.
22:48:46,951 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.jboss.as.server") which may be changed or removed in future versions without notice.
22:48:46,951 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.infinispan") which may be changed or removed in future versions without notice.
22:48:46,951 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.coarse-concurrent-distributable.war" is using a private module ("org.wildfly.clustering.infinispan.spi") which may be changed or removed in future versions without notice.
22:48:46,957 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment coarse-concurrent-distributable.war
22:48:46,966 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'TopologyChangeListenerBean' in deployment unit 'deployment "coarse-concurrent-distributable.war"' are as follows:

	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:app/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:module/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:jboss/exported/coarse-concurrent-distributable/TopologyChangeListenerBean!org.jboss.as.test.clustering.TopologyChangeListener
	java:global/coarse-concurrent-distributable/TopologyChangeListenerBean
	java:app/coarse-concurrent-distributable/TopologyChangeListenerBean
	java:module/TopologyChangeListenerBean

22:48:47,120 INFO  [org.infinispan.CLUSTER] (remote-thread--p6-t1) ISPN000310: Starting cluster-wide rebalance for cache default-server, topology CacheTopology{id=2, rebalanceId=2, currentCH=ReplicatedConsistentHash{ns = 256, owners = (1)[node-0: 256]}, pendingCH=ReplicatedConsistentHash{ns = 256, owners = (2)[node-0: 134, node-1: 122]}, unionCH=null, actualMembers=[node-0, node-1]}
22:48:47,121 INFO  [org.infinispan.CLUSTER] (remote-thread--p6-t1) [Context=default-server][Scope=node-0]ISPN100002: Started local rebalance
22:48:47,123 INFO  [org.infinispan.CLUSTER] (remote-thread--p6-t2) ISPN000310: Starting cluster-wide rebalance for cache coarse-concurrent-distributable.war, topology CacheTopology{id=2, rebalanceId=2, currentCH=DefaultConsistentHash{ns=256, owners = (1)[node-0: 256+0]}, pendingCH=DefaultConsistentHash{ns=256, owners = (2)[node-0: 134+122, node-1: 122+134]}, unionCH=null, actualMembers=[node-0, node-1]}

@darranl Thanks for the review.
I'll create one umbrella JIRA (add-regression-tests...) for both PRs (#2607 and #2608). I'll leave only one PR open then and cherry-pick commit from the other.

Commit from #2607 was added to this PR and both commit messages were fixed.

Core - Full Integration Build 5443 outcome was FAILURE using a merge of acd11e7a5619d0529216e96755fd9acf66e456dd
Summary: Tests passed: 3470, ignored: 91; exit code 1 (new) Build time: 01:01:24


With a Cloud Provider enabled, Windows worker nodes cannot join cluster due to DNS suffixes being passed to kubelet as commands

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

setup multiple DNS suffixes in AWS DHCP Options Sets
enable aws cloud provider in a new mixed cluster
add new windows worker node

Result:
kubelet will be unable to start due to interpreting the DNS suffix options as commands.
For example:
--hostname-override=ip-X-X-X-X.XXXXX.com gad.XXXXX.com apa.gad.XXXXX.com eur.gad.XXXXX.com gmea.gad.XXXXX.com nam.XXXXX.com us-east-1.compute.internal --feature-gates=HyperVContainer=true,WindowsGMSA=true
They will see the following when adding windows nodes in the kubelet logs:
10328 server.go:163] unknown command: apa.gad.XXXXX.com
Other details that may be helpful:
Issue can be addressed in the following powershell script by truncating to the first hostname returned.
https://github.com/rancher/rke-tools/blob/v0.1.65/windows/cloud-provider.psm1#L229-L232
gzrancher/rancher#12873

Validated On 2.4.9-rc5

Deploy windows cluster - AWS cloud provider enabled, on k8s 1.18,1.17,1.16 and 1.15
Deploy PVC and LB
PVC and LB deployed successfully on all clusters except for this issue

Closing this issue as the forward port issue is tracked separately.


all: avoid defer as much as possible unless for correctness

I noticed that some of our code uses defer in short skips of code. For example
https://github.com/census-instrumentation/opencensus-go/blob/01b39586f932bbb0b4e1cb6499e454c470e9138b/trace/trace.go#L215-L219
Notice that that code could simply be
exportersMu.Lock()
for e := range exporters {
 	e.ExportSpan(sd)
 }
exportersMu.Unlock()

defers cost way more to the overall runtime and sometime last year I benchmarked small experiments which revealed a 2X cost for a simple lock vs unlock using defer https://gist.github.com/odeke-em/f8fb3a8695b33dd06a700fc3473f3e62
BenchmarkNoDefer-4   	100000000	        23.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        23.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        23.3 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        23.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        23.0 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        22.8 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        22.8 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        23.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        22.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkNoDefer-4   	100000000	        22.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.0 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.1 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.5 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        50.9 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.2 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        50.8 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        50.6 ns/op	       0 B/op	       0 allocs/op
BenchmarkDefer-4     	30000000	        51.9 ns/op	       0 B/op	       0 allocs/op

Given that we want our code to be fast, shaving off those unnecessary nanoseconds easily impacts the overall project and if we have intensive code e.g. nested spans, those nanoseconds add up massively.

Addressed by https://github.com/census-instrumentation/opencensus-go/pull/591


Merge main into next

:tada: This PR is included in version 7.35.0-next.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add napari to Python dependency [extras]

Issue
The current docs/examples/plot_3d gallery example fails with: napari has not been installed. Please install it with: pip install napari[all].
We should probably run the example with napari installed, and it would also be helpful for users to easily be able to install all extra/bonus dependencies at once. Other projects like napari have: pip install "napari[all]"
Implementation:
We could update the package dependencies so that pip install neurotechdevkit[examples] includes all the dependencies to run the examples. Example for poetry here: https://python-poetry.org/docs/pyproject/#extras
In this case, we would want to add napari[all] (or perhaps napari[pyqt6_experimental] as mentioned in https://github.com/agencyenterprise/neurotechdevkit/pull/121 )

Blocked on waiting for napari to stabilize with regards to Qt6 support (or for macOS-ARM to work with Qt5 - probably won't happen).


Magic numbers

Apart from trial and error, is there any particular reason for using a multiplicative factor of 3 in the loss function. Is this the same reason why gradients are clipped above the value 10

I've selected the gradient clipping value through trial and error. That said, I remember that gradient clipping boosted the training stability and accuracy while I experimented with some implementation details, but I didn't double check if gradient clipping actually benefits the training for the final (this) implementation. I've chosen 3 as multiplicative factor with a reason.


fix: Decoupled FirebaseNamespace from new module entry points

Problem
Currently, the firebase-admin/app entry point is implemented on top of a FirebaseNamespace instance. Top-level functions like initializeApp() simply delegate to the FirebaseNamespace.initializeApp() method. Since FirebaseNamespace has dependencies on all other services exposed within the SDK, importing firebase-admin/app can pull in other services as well. This is quite evident when we try to bundle the SDK using a tool like webpack:
webpack.js
const path = require('path');

module.exports = {
  target: "node",
  entry: {
    app: ["./src/index.js"]
  },
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "index.js"
  },
};

src/index.js
import { initializeApp } from "firebase-admin/app";

initializeApp();

Bundling the above source file with webpack yields the following output:
% npx webpack --config webpack.js
asset index.js 2.68 MiB [emitted] [minimized] (name: app) 1 related asset
orphan modules 219 KiB [orphan] 22 modules
runtime modules 1.37 KiB 6 modules
javascript modules 8.31 MiB
  modules by path ./node_modules/ 8.31 MiB 546 modules
  24 modules
json modules 350 KiB
  modules by path ./node_modules/google-gax/ 53.7 KiB 9 modules
  modules by path ./node_modules/@google-cloud/ 79.8 KiB
    modules by path ./node_modules/@google-cloud/firestore/build/ 73 KiB 4 modules
    2 modules
  modules by path ./node_modules/protobufjs/ 10 KiB 4 modules
  modules by path ./node_modules/ent/ 54 KiB
    ./node_modules/ent/reversed.json 22.3 KiB [built] [code generated]
    ./node_modules/ent/entities.json 31.7 KiB [built] [code generated]

WARNING in<EMAIL_ADDRESS>15327:17-25
export 'default' (imported as 'firebase') was not found in '@firebase/app' (possible exports: FirebaseError, SDK_VERSION, _DEFAULT_ENTRY_NAME, _addComponent, _addOrOverwriteComponent, _apps, _clearComponents, _components, _getProvider, _registerComponent, _removeServiceInstance, deleteApp, getApp, getApps, initializeApp, onLog, registerVersion, setLogLevel)
 @ ./node_modules/firebase-admin/lib/app/firebase-namespace.js
 @ ./node_modules/firebase-admin/lib/app/lifecycle.js 22:27-58
 @ ./node_modules/firebase-admin/lib/app/index.js 22:18-40
 @ ./node_modules/firebase-admin/lib/esm/app/index.js 1:0-37 3:27-42 4:34-56 5:20-28 6:25-38 7:22-32 8:23-34 9:29-46 10:28-44
 @ ./src/index.js 1:0-51 3:0-13

WARNING in ./node_modules/hash-stream-validation/index.js 5:8-30
Module not found: Error: Can't resolve 'fast-crc32c' in '/Users/hkj/Projects/firebase-admin-node/adminuser/node_modules/hash-stream-validation'
<EMAIL_ADDRESS>26:29-62
<EMAIL_ADDRESS>20:13-30
 @ ./node_modules/firebase-admin/lib/storage/storage.js 55:22-62
 @ ./node_modules/firebase-admin/lib/app/firebase-namespace.js 225:26-63
 @ ./node_modules/firebase-admin/lib/app/lifecycle.js 22:27-58
 @ ./node_modules/firebase-admin/lib/app/index.js 22:18-40
 @ ./node_modules/firebase-admin/lib/esm/app/index.js 1:0-37 3:27-42 4:34-56 5:20-28 6:25-38 7:22-32 8:23-34 9:29-46 10:28-44
 @ ./src/index.js 1:0-51 3:0-13

WARNING in ./node_modules/retry-request/index.js 74:21-39
Module not found: Error: Can't resolve 'request' in '/Users/hkj/Projects/firebase-admin-node/adminuser/node_modules/retry-request'
 @ ./node_modules/google-gax/build/src/streamingCalls/streaming.js 22:21-45
 @ ./node_modules/google-gax/build/src/index.js 64:18-55
<EMAIL_ADDRESS>428:95-121 1084:37-71 1373:15-43
 @ ./node_modules/firebase-admin/lib/app/firebase-namespace.js 242:28-62
 @ ./node_modules/firebase-admin/lib/app/lifecycle.js 22:27-58
 @ ./node_modules/firebase-admin/lib/app/index.js 22:18-40
 @ ./node_modules/firebase-admin/lib/esm/app/index.js 1:0-37 3:27-42 4:34-56 5:20-28 6:25-38 7:22-32 8:23-34 9:29-46 10:28-44
 @ ./src/index.js 1:0-51 3:0-13

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/

2 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.52.0 compiled with 4 warnings in 22754 ms
~/Projects/firebase-admin-node/adminuser % ls -lh dist/index.js
-rw-r--r--  1 hkj  primarygroup   2.7M Sep  7 20:21 dist/index.js

Notice how webpack is pulling in dependencies like Firestore, Storage and RTDB even when the source file only contains a single initializeApp() call. The resulting bundle is 2.7MB in size.
Possible Solution
As a potential fix, we can try to decouple FirebaseNamespace from the firebase-admin/app entry point. I've implemented all the App lifecycle management logic in a new independent class named AppStore. I'm also using a bit of prototype hacking in the FirebaseNamespace class to modify App instances on the fly. This means initializeApp() can create a FirebaseApp instance with no references to the FirebaseNamespace. Calling FirebaseNamespace.initializeApp() would first call initializeApp(), and then do some prototype hacking to add the old methods like FirebaseApp.auth() and FirebaseApp.database() dynamically.
With this change in place, we can now webpack bundle the above code with no warnings:
npx webpack --config webpack.js
asset index.js 382 KiB [emitted] [minimized] (name: app) 1 related asset
orphan modules 375 bytes [orphan] 1 module
modules by path ./node_modules/ 1.1 MiB
  modules by path ./node_modules/node-forge/lib/*.js 851 KiB 44 modules
  modules by path ./node_modules/jsonwebtoken/ 67.7 KiB 16 modules
  modules by path ./node_modules/firebase-admin/ 145 KiB 11 modules
  modules by path ./node_modules/dicer/lib/*.js 9.35 KiB 3 modules
  modules by path ./node_modules/ecdsa-sig-formatter/src/*.js 5.34 KiB
    ./node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js 4.89 KiB [built] [code generated]
    ./node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js 456 bytes [built] [code generated]
13 modules

WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/

webpack 5.52.0 compiled with 1 warning in 3898 ms
~/Projects/firebase-admin-node/adminuser % ls -lh dist/index.js
-rw-r--r--  1 hkj  primarygroup   382K Sep  7 20:24 dist/index.js

The resulting bundle is only 382KB -- nearly 80% smaller.
My testing also indicates that bundling app+auth is about 632KB and app+firestore is about 1.8MB.

Related to #1426


make it compatible with changes made in 'zip' package

The changes in zip were made in this PR: https://github.com/nim-lang/zip/pull/60

Thanks!


Removed dist directory

#1169  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Update resource-scenario-status.md

Adding the list of scenarios supported by Hybrid DMS instance.

@tasayyed : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@pochiraju for review
Thanks.


Redshift Rally + Street Racer Feat (from GEM)

I'll submit for review now so we don't hold content but there are still Vehicles and Vehicle Modifications left to create from Redshift Rally. When we get the Vehicle Modifications compendium up I'll come back to this.


db's collection.find should treat ids as strings not numbers

For some background info on why treating IDs as strings instead of numbers is a good ideas, this is a good read: https://dev.twitter.com/overview/api/twitter-ids-json-and-snowflake
From an implementation perspective in mirage, we should coerce ids to strings when adding to db, and convert ids to strings when calling db[collection].find(someId)

Thanks for the background, and this totally makes sense to me.
What if someone's API sends up json with an id field as an int? Would they not be able to mock our their server using mirage?

Good question. I suppose another option is to simply not transform IDs at all, and put the onus on users to be consistent.

I think the default should be, coerce everything to string, and have a config option that disables coercion.

although, looking at all our rails apps, they definitely serialize ids as ints. I'd imagine this would be the default for most frameworks?
maybe we should default coerce to ints, but have option for coerce to strings, or disable coercion completely.

@samselikoff an option seems OK to me.

I think conceptual problem here is that when a find operation occurs in a back-end framework, the framework is aware of the stored data type of the ID, and can coerce the incoming string query param value accordingly. That coercion may even vary from model to model. But mirage has no such understanding of the underlying storage type today and so cannot intelligently coerce.
IMO, coercing IDs to strings in all cases would be the most robust solution. Developers who want numeric IDs in their serialized responses can customize the response (eventually through a serializer).

Makes sense. Seems like serializers are the answer, and when those land
mirage can do whatever it wants internally (coerce to string). Thanks for
input!
On Fri, May 15, 2015 at 9:17 AM Luke Melia<EMAIL_ADDRESS>wrote:

I think conceptual problem here is that when a find operation occurs in a
back-end framework, the framework is aware of the stored data type of the
ID, and can coerce the incoming string query param value accordingly. That
coercion may even vary from model to model. But mirage has no such
understanding of the underlying storage type today and so cannot
intelligently coerce.
IMO, coercing IDs to strings in all cases would be the most robust
solution. Developers who want numeric IDs in their serialized responses can
customize the response (eventually through a serializer).
—
Reply to this email directly or view it on GitHub
https://github.com/samselikoff/ember-cli-mirage/issues/67#issuecomment-102394201
.

I believe I'm running into this too. What's the best way for us string-id'd folks to proceed?

BTW, I also wonder if the shorthand should be a bit more robust for singular find operations because when it search for a numeric id and doesn't find it returns undefined and ember-data doesn't handle this gracefully. See below:

Obviously if I went with the long form I could handle this quite easily myself but I'm a sucker for the short form. :)

Yah I agree with your points. I'd say for now, can you just use int ids? Ultimately how the id is stored in mirage's db isn't super important, it's more how it comes across the wire. Right now it could be as int, with serializers it will be whatever you want. But if you use int right now, you can use shorthands without too much work.
You're correct in the fail case. What should it be, a 404?

For the data model I'm referring to here I guess I can do that, many of my other models are non-numeric but I'm guessing in these cases that Mirage will not attempt to coerce it to integer, right? Sorry just getting started in mirage so I'll know the answer to this soon. In any event, I think you'll find a lot more people with non-numeric id's when their backend store is a nosql database (it has a tendency to exert this influence on records unlike SQL which the golden rule was always use integer).
WRT to handling of the "undefined" condition, I think a 404 makes sense.


Surface shell integration configuration on command decoration button

I saw some feedback of a user not knowing how to disable shell integration on stable, they likely had shell integration from another terminal running in the shell. Added a FAQ to the docs on this but this seems like a good thing to add to the command decoration menu:

Since this menu is getting kind of long, should we allow ppl to configure which entries show up?

Still seems like a good size, it's got nothing on the editor one


[e2e]: container-based schedule main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7705711848
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Jan 30 03:07:28 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7720628731
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Jan 31 03:07:49 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7735665067
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Feb  1 03:22:40 UTC 2024
Tests are passing now. Closing this issue.


Add deck.gl instance to layer context

Coverage increased (+0.002%) to 58.498% when pulling 3c746169d6d1793ee1ba9c732db23204b8cae04b on deck-to-context into eae5ed0023d201e4ef369fb01749f9f20762f5cd on master.


twigate package displays error No such file or directory (os error 2) when doing sudo twingate setup

Description
twigate package displays error No such file or directory (os error 2) when doing sudo twingate setup
Steps To Reproduce
Steps to reproduce the behavior:

install twingate declaratively
do sudo twingate setup
enter y

Hey, enabling the twingate service worked for me (found that tidbit on a nixOS forum thread). I added the following to my nixOS config:
services.twingate.enable = true;

Hope that helps!


Add english transliteration first letters search

Depends on https://github.com/ShabadOS/gurmukhi-utils/issues/105 (Add firstLetter for English Transliteration)
Add toggle to convert ascii to gurmukhi or not in the search bar (left side).
Not sure how we will handle double-char first letters. Might have to require "space" in between each letter to parse.

Duplicate #397.


fix: Pop up the error message from persistence layer

Description
Today our persistence layer do nothing when an error is thrown. In this PR add a pop up window to show the error message.

Task Item
closes #5578

Screenshots

Can we make the error message more clear? "Network error: fail to save the bots" or something else more specific

Can we make the error message more clear? "Network error: fail to save the bots" or something else more specific

Can we make the error message more clear? "Network error: fail to save the bots" or something else more specific

I have updated the dialog title

Can we make the error message more clear? "Network error: fail to save the bots" or something else more specific

I have updated the dialog title

Coverage decreased (-0.01%) to 55.076% when pulling 3a7fb313eaaa351eb53250ebe233397abb85b086 on lei9444:error into 7185fb42b1c6ba45d6700c6be5f62783763cc5e4 on microsoft:main.

Coverage decreased (-0.01%) to 55.076% when pulling 3a7fb313eaaa351eb53250ebe233397abb85b086 on lei9444:error into 7185fb42b1c6ba45d6700c6be5f62783763cc5e4 on microsoft:main.

If the server returns a specific error message, will this be displayed?
We have customers who need to throw specific errors, such as an access denied error with a custom message.

If the server returns a specific error message, will this be displayed?
We have customers who need to throw specific errors, such as an access denied error with a custom message.

If the server returns a specific error message, will this be displayed?
We have customers who need to throw specific errors, such as an access denied error with a custom message.

Yes, we support a custom message, and we need to put custom message like     res.status(400).json({       message: 'custom message',     });

If the server returns a specific error message, will this be displayed?
We have customers who need to throw specific errors, such as an access denied error with a custom message.

Yes, we support a custom message, and we need to put custom message like     res.status(400).json({       message: 'custom message',     });

@lei9444 @benbrown This message seems like it needs a little UX help. Eventhough, we are actually saving the contents of the bot "Failed to save the bot" seems a bit off. @sangwoohaan can you help here?

@lei9444 @benbrown This message seems like it needs a little UX help. Eventhough, we are actually saving the contents of the bot "Failed to save the bot" seems a bit off. @sangwoohaan can you help here?


Remove version: Ryujinx.Ryujinx.Ava version 1.1.1156

part of #179207
All InstallerUrls returned 404 Not Found

https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1156/test-ava-ryujinx-1.1.1156-win_x64.zip

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1156/test-ava-ryujinx-1.1.1156-win_x64.zip
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)

URL: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1156/test-ava-ryujinx-1.1.1156-win_x64.zip
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


How to use this library

Can you please make one demo, How exactly i can use this library. I am not sure how do i run this can you please help

Hi @khushalkunjir, I'm not involved with this package, although I have submitted a couple of PRs. This code shows some of the most common things that you can do with crypto11. Then I'm using that package in step-kms-plugin to manage keys in HSMs, and in step-ca for signing certificates.


Update dependencies

This commit updates @sass-collective/strip-unit to be used as a bundled dependency (for use in development and production). It also updates the load-path so that the dependency can be loaded during SASS compilation.
Ref:

https://www.geeksforgeeks.org/what-are-the-different-types-of-dependencies-in-node-js/
https://sass-lang.com/documentation/cli/dart-sass/#load-path

I am not a big fan of this, but we need to unblock you.

Thanks. I am open to alternatives but will merge this at the end of the day if nothing comes through before then.

I am not a big fan of this, but we need to unblock you.

Thanks. I am open to alternatives but will merge this at the end of the day if no new approaches are shared before then.

Thanks. If it is not too much trouble, could you please document this change in the README, and explain to future users how they should import the design-system to their projects?

Thanks. If it is not too much trouble, could you please document this change in the README, and explain to future users how they should import the design-system to their projects?

Absolutely! I'm working through the list of projects that use design-system to see how each is affected. I'm hoping there will be no side-effects. However, based on the changes we needed to make in design-dot, we'll need to make updates.
This will also affect how we do the next release.


Question about Global Transformation in Warping

Thank you for the great work. Since I am a beginner in this field, I have a question about the global transformation as follows:

Why use H_mat to warp the target feature instead of H?

Compared with H, H_mat normalized the pixel coordinates from [0, W][0, H] to [-1, 1][-1, 1]. It can be better adapted to other resolutions in the warping function.

Compared with H, H_mat normalized the pixel coordinates from [0, W]x[0, H] to [-1, 1]x[-1, 1]. It can be better adapted to other resolutions in the warping function.

I see. Many thanks for your reply.

I see. Many thanks for your reply.


Loading weight time is too long

Hello, I found the time is too long for load the weight for reference_unet,denoising_unet and so on. For example, it takes more than 10 mins to load reference_unet. But the loading for vae is quick. What's the problem it maybe? I have download the models needed and put them in 'pretrained_model' dir.
reference_unet = UNet2DConditionModel.from_pretrained(
config.pretrained_base_model_path,
subfolder="unet",
).to(dtype=weight_dtype, device="cuda")
reference_unet.load_state_dict(
torch.load(config.reference_unet_path, map_location="cpu"),
)
Both of them waste time.  In fact, UNet2DConditionModel init is quick. after the unet_2d_condition.py 655, it falls slow. I think it is going on from_pretrained().  It's normal?
I found it's the pretrained.
if device_map is None:
param_device = "cpu"
state_dict = load_state_dict(model_file, variant=variant)
where model_file is './pretrained_model/stable-diffusion-v1-5/unet/diffusion_pytorch_model.bin'
the load_state_dict is really very very slow.

Thank you for your interest. I'm sorry about that! Perhaps you can wait for our upcoming hugging face demo page.


add PAGERDUTY_ENABLED

Add pagerduty to prod configuration.

I already have a PR up to tackle this from yesterday: https://github.com/monzo/response/pull/37/files

Great. I left a comment and I will close this pr.


Support explicit metrics timestamp

Context
We use JS OTel API as the exporter for the metrics. Those metrics are generated with the alternative runtime which has no OTel SDK available. We propagate metrics as dedicated events. Our proxy service is supposed to consume those events and produce OTel events using SDK.
The problem
As we can see it in a code
 this._writableMetricStorage.record(
      value,
      attributes,
      context,
      millisToHrTime(Date.now())
    );

we fill metrics timestamp with Date.now( ) always, but in our case the message with a metric comes from outside. So we would like to propagate this metric with a given timestamp.
Desired solution
Methods add/record of metrics should support optional timestamp(or may be even start/end time)  parameter, that's how we can set the the timestamp explicitly.
Describe alternatives you've considered
Alternative is to use a hacky solution like this:

Hi @ThePlenkov, thanks for reaching out.
The OpenTelemetry project implements the OpenTelemetry specification. Since this is a feature request for the API which is a specified component we cannot accept this feature unless it is specified.
I think what you're looking for to address you use-case is implementing a MetricProducer and passing that as a constructor option to a MetricReader
(marking this as rejected since it's missing specification)

@pichlermarc But, what is the conflict between the spec and the current proposal? https://opentelemetry.io/docs/specs/otel/metrics/data-model/#gauge let's take one of the example metrics like gauge.
It says that datapoint may contain timestamp:
(optional) A timestamp (start_time_unix_nano) which best represents the first possible moment a measurement could be recorded. This is commonly set to the timestamp when a metric collection system started.

Now let's assume something like this: we know that metric collection started earlier that the moment we record a value into the metric with SDK - what is wrong here if we just give this value?
I don't see a conflict.

Created follow-up discussion here: https://github.com/open-telemetry/opentelemetry-specification/discussions/4342

that's the specification for the Data Model, which is not what's asked to be modified here.
The metrics part of the @opentelemetry/api package implements this specification.

Apologies if I came across a bit harsh yesterday - It's the is the kind of thing that we cannot/should not decide on our own and such a feature has massive implications downstream of the API the SDK implementation.
Currently our SDK implementation relies on timing being like that and my guess is many other SDK implementations do too, since suddenly there's metrics from the past that can be recorded. This works fine for delta aggregations, but it is (I think) it's impossible to do for cumulative aggregations, which is why this was a clear rejection reason for me.

The API for OTel looks very similar for 7+ languages yes, that's since all of it basically implements the same specification. We usually don't deviate from it since a later specification version may address this use-case and then we'd end up with the same feature twice.

is it possible to take any OTLP metric message and convert it to telemetry using SDK? What I wanted to highlight that is only partially possible. So I hope to start some discussion about this at least

There's no such functionality to turn OTLP back to an internal representation, no. As mentioned eariler, there is the MetricProducer interface (spec, JavaScript interface) but one has to re-aggregate metrics themselves. That is the specified workaround for the OpenCensus Shim which ran into similar limitations IIRC (their metrics are already pre-aggregated so it could not be mapped 1:1 to API calls) - so my guess is that the Specification SIGs recommendation will be to do the same for your use-case.
With MetricProducer one can at least re-use the Exporter and MetricReader implementations, but re-aggregation logic has to be implemented separately, if needed.

OK I see. it explains now why metrics api is different from same traces https://opentelemetry.io/docs/specs/otel/trace/api/#span-creation or logs https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-timestamp which both support custom timestamps and allow to generate telemetry data "from the past".
Do you know - is there a way to delegate this re-aggregation logic to the collector pipeline, that's how our process will just stream metrics as they are recorded one to one?
Thanks!

I think this is the part that has to be implemented individually today.
There's this issue which comes close but it seems to ask that feature for cumulative metrics only but it's not implemented yet.

Indeed - that could be a good starting point. Because if we could somehow force the library not to cumulate metrics, then it's not dangerous anymore to provide metrics timestamp, because it will be just exported to the pipeline "as is"
However, I think i just found the alternative way to do this. By use of
https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_sdk_metrics.PushMetricExporter.html#export
So if we create an own exporter - then we can export there resource and scope metrics directly.
Do you think it may work?

Because if we could somehow force the library not to cumulate metrics, then it's not dangerous anymore to provide metrics timestamp, because it will be just exported to the pipeline "as is"

Haha, I think we may be talking past each other here 😅
I think I stand by the initial assessment that if you're exporting metrics as seperate events, you can have a receiver that takes those metrics, passes them to a custom MetricProducer, that MetricProducer re-aggregates them if needed (need to be careful with memory, but that's doable), and then let metrics be collected through a PeriodicExportingMetricReader that has a producer and OTLP Exporter associated with it.

However, I think i just found the alternative way to do this. By use of
https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_sdk_metrics.PushMetricExporter.html#export
So if we create an own exporter - then we can export there resource and scope metrics directly.
Do you think it may work?

IIUC, then yes, you can use an exporter like that - but I believe at this point it's easier to just do what I wrote above, then you don't need to re-implement. But be aware of the overhead. OTLP endpoints usually have a payload size limit to protect the infrastructure of the receiver. If you export every metric un-aggregated, you may end up with a huge OTLP message that will likely be rejected by the server you're sending it to.

Kind of. The problem is - I still do not understand how I can use MetricProducer . It has the only method collect but this method doesn't accept any other inputs except timeout. Do you mean - I still need to use SDK to produce metrics, then collect them from MetricProducer and then export manually via exporter?

oh wait - now I get it, you probably mean that I need to have an own MetricProducer ( like extended from a strandard one ) and then there  modify timestamps already in the collected metrics?

Yes, MetricProducer is a user-implementable interface. MetricProducer#collect() is called by PeriodicExportingMetricReader (the MetricProdcuer can be passed to the constructor), and then passed to a PushMetricExporter (like the OTLP exporters, for example).


[BUG?] Reroute node doesn't connect to KSampler when transporting Sampler and Scheduler values

I had the following problem for months, but I never got around to opening this issue. Sorry.
I'm not 100% sure the reroute node is to blame here. It might be the source node. Nonetheless:

In the screenshot above, the Context Big node is carrying Sampler and Scheduler information coming from an SD Parameter Generator node.
Obviously, I don't want a straight connection between those two outputs (red box on the left) and the KSampler inputs (red box on the right). I want to pass through the Reroute nodes below (red oval at the bottom). But there's no way.
No matter what I do, I can't connect those two.
Now, this behavior has changed over time:

I remember a time when I could do it without problems.
Then, once the problem arose, I remember a more recent time where I could put a pythongosssss Reroute node in between your Reroute and the KSampler, or some other acrobatics, and it would work.

Now it works with nothing.
Given that the SD Parameter Generator node has not been modified in ages, I assume the problem is somewhere else. But maybe I'm wrong.
Thanks for looking into this!

Note: You can get around the check that ComfyUI makes by connecting the reroute's output to the KSampler first, then you can connect the the reroute input second.
Yea, I think we found that bug a while ago in another bug thread, that ComfyUI broke it a few months ago, even for the built-in ComfyUI Reroute nodes too. We created https://github.com/comfyanonymous/ComfyUI/issues/2690
Unfortunately, I can't fix it just for rgthree-comfy reroutes because it's a core part of ComfyUI's widget handling that has this bug (and, it's the bug is actually coming from the KSampler checking, not the reroute anyway).

Thanks for the quick reply and the workaround. That's probably how I did it the first time without realizing it.
It's amusing that I'm twice associated with that 6-month open issue. With a queue of 1,500 open issues, I see very slim chances of this ever being fixed.


why not make influxdb password configurable as an ENV?

why not make influxdb password configurable as an ENV?
in run.sh there is
PASS=${INFLUXDB_INIT_PWD:-root}

that actually means that you can set the password that you want in the env var INFLUXDB_INIT_PWD


Add is_datapipe_creator_config

Codecov Report
Patch coverage is 100.00% of modified lines.

Files Changed
Coverage

src/gravitorch/creators/datapipe/__init__.py
ø

src/gravitorch/creators/datapipe/base.py
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


status of the project

Hi, I just want to know what is the status of this interesting project? Is it fully developed or else?

Thank you for your interest!
I'm suspecting the development since I'm busy with other research projects and pyo3, which is the Rust-Python FFI library rogue-gym depends on.
I'm going to come back to this project after releasing PyO3 0.9.

OK thanks, and also I want to know if rouge-gym was supported on Window as I cannot install it?

Sorry, now pre-built wheels are only for Linux and macOS.
I'll upload Windows wheels in the next version.

Hm, seem like even building from source is not possible in Window?

It's not built for Linux or mac now.
We need to update the code for the latest Rust.

This is most definitely a dead project. Unfortunately, I also can't seem to get it to build in its most recent state since it makes calls to ndarray::ArrayBase.{get_p, get_mut_p, try_get_mut_p} which as far as I can dig appear to not exist anywhere. I tried to replace them with ndarray:ArrayBase.{get, get_mut} to no avail, as this results in runtime crashes without proper null value handling. If anyone from the future wants to help me fork and fix this project for posterity, please let me know!

I want to revive this project in the future for non-research purposes (i.e., for fun), but I'm recently so busy. I don't want to archive the project for a while, but forking is welcome.

@kngwyu Understandable. Once I find some free time myself I will likely fork this project and restore it to working order since I'm also doing some personal research in this space. I'll open a PR once that happens. Thank you for your effort developing this in the first place!

@thunanguyen @hyzhak I've started a fork here that has been updated to rust 2021 and is building locally for me on my Macbook Pro (amd4). If you are still interested in running this project please check it out and let me know if there are any issues you encounter.
@kngwyu I've opened a PR and will leave it open until you have time to revisit this project. Please let me know if there is any other way I can be of assistance in maintaining this project in the meantime.

@eczy , does rogue-gym still work?
pip install rogue-gym
${\textsf{\color{red}ERROR: Could not find a version that satisfies the requirement rogue-gym (from versions: none)}}$
${\textsf{\color{red}ERROR: No matching distribution found for rogue-gym}}$

@eczy , does rogue-gym still work?
pip install rogue-gym

ERROR: Could not find a version that satisfies the requirement rogue-gym (from versions: none) ERROR: No matching distribution found for rogue-gym
And trying to install locally, I get:
cd rogue-gym/python
pip install setuptools-rust
pip install .

ModuleNotFoundError: No module named 'setuptools_rust'

I'll check on this tonight and let you know if I can determine the issue.


Test against allowed failure Capybara master

This adds testing against Capybara master to see potentially upcoming failures, it also installs the latest bundler when running tests to fix the "NoMethodError: undefined method `spec' for nil:NilClass" and updates the travis config to use the container mode for faster test initiation.

The apt add-on is great! We had a slight optimization in there to speed up installation for the Qt 4 builds, but I think this is less of an issue these days. Also, capybara-webkit 2.0 will only support Qt 5, so the conditional logic is going away.
This looks good. The only thing is it'd be nice to have our build trigger when capybara master is bumped. Good to see it's great for now, though!

@mhoran Yeah -- being able to specify a dependency whose update triggers a new build would be great, unfortunately I don't think Travis supports that currently (at least I've never seen anything about it - happy to be proven wrong)

Thanks! I merged this into master.


More decomp of zLight (includes non-matching functions)

Has merge conflicts

Has merge conflicts

Git actually wasnt letting me resolve this yesterday but I just thought of a way around it so I'll get that fixed soon


Update to v3.3.0

I was pretty surprised no one has run into an issue I encountered this week, but I have a patch for it. I am using Ember 3.4.4 and Ember Data 3.4.2 so I chose to instal v3.3.0 of ember-data-model-fragments. I found an issue, however, in ext.js where _createSnapshot triggers this error: https://github.com/emberjs/ember.js/issues/16148
Making a minor fix to this file to use .get instead of _createSnapshot directly fixed the issue.
Here is the patch:
From f30d38ce9f3f30adfa63976bd92797511b0da604 Mon Sep 17 00:00:00 2001
From: Alexandra Brysiewicz<EMAIL_ADDRESS>Date: Thu, 28 May 2020 16:27:29 -0700
Subject: [PATCH] Fix proxie _createSnapshot issue by using .get

---
 addon/ext.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/addon/ext.js b/addon/ext.js
index 3c211e3..359a685 100644
--- a/addon/ext.js
+++ b/addon/ext.js
@@ -244,8 +244,8 @@ decorateMethod(InternalModelPrototype, 'createSnapshot', function createFragment

     // If the attribute has a `_createSnapshot` method, invoke it before the
     // snapshot gets passed to the serializer
-    if (attr && typeof attr._createSnapshot === 'function') {
-      attrs[key] = attr._createSnapshot();
+    if (attr && attr.get && typeof attr.get('_createSnapshot') === 'function') {
+      attrs[key] = attr.get('_createSnapshot')();
     }
   });

--

Apologies - this was definitely a prob in the application code. We were using some proxy objects/transforms custom elsewhere that were triggering this error. Migrated those to be either POJOs or fragments and all is right in the world 👍


Add pill group component

Context
This adds a new <PillGroup> component, that works like a single-select/radio group as a listbox with options and corresponding story.
Also expands the story for the regular pill somewhat.
User-facing changes

Testing Instructions
QA

[x] This is a non-user-facing change and requires no QA

UAT
This PR can be tested by following these steps:

Open storybook to Design System > Components > Pill and observe the behavior
Open storybook to Design System > Components > Pill Group and observe the behavior

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #6502

Is there a point in keeping the pills separately in the storybook still without actually being functional?

Is there a point in keeping the pills separately in the storybook still without actually being functional?

It's meant as a display-only example of what pills look like - it's not an interactive example. If you want to adjust the pills, you can do so in the knobs.


add redirect_url as postprocess callback function

This PR:

introduces a postprocess callback function postprocess_cb as the second return value of makedemos, one can easily do postprocess_cb() after makedocs.
redirect "Edit On GitHub" url of generated demo files to its original url. (closes #4)

Currently, I have no idea on how to test the whole documentation pipeline. So code coverage is decreasing.

Codecov Report

Merging #7 into master will decrease coverage by 3.77%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   89.39%   85.61%   -3.78%
==========================================
  Files          10       10
  Lines         264      285      +21
==========================================
+ Hits          236      244       +8
- Misses         28       41      +13

Impacted Files
Coverage Δ

src/generate.jl
83.75% <55%> (-14.64%)
:arrow_down:

src/utils.jl
90.62% <75%> (-2.24%)
:arrow_down:

src/types/page.jl
96.22% <0%> (-0.07%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be5c890...c4aa7a1. Read the comment docs.


infix:<.> is not documented

https://irclog.perlgeek.de/perl6/2017-04-01#i_14361587
42     .      say   # OUTPUT: «42␤»

Slightly related: https://docs.perl6.org/routine/$FULL_STOP

Should be addressed by #1273


DOC-7657 Docs for Dedicated Cloud Console Metrics Page

Fixes DOC-7657
(1) On Metrics and Custom Metrics Chart page, updated for Dedicated by removing references to Serverless. (2) On Cloud Releases page, added release note for Metrics page for Dedicated.

Hi @dhartunian, I used the date 02-05-2024 as a placeholder date for the release note. Please review this PR and let me know the actual date you are turning on this feature in Production. I will update the release note accordingly.