Return mapped absolute paths in breakpoint responses.

When debug symbols have relative paths, lldb's BreakpointCreateByLocation returns the relative path (even when target.source-map is set). VSCode will treat the path as relative to the workspace folder, and if it is not the breakpoint will show with modified path and will disappear from the file (lldb will still break, but there is no way to unset breakpoints). Also, clicking on the breakpoint will open a tab with an error, as VSCode cannot find it.
Fixes #297.

I don't think there is a way to get BreakpointCreateByLocation to use the source mappings set, although that would be ideal... Please let me know if you want to handle this issue differently.

I did a little more digging here, the lldb function returning the relative path is not BreakpointCreateByLocation, but GetLocationAtIndex(i).GetAddress().GetLineEntry().GetFileSpec() (called here).
Another way to fix this is to add a new field to BreakpointInfo to pass the path that was given by VSCode, and use that instead when populating Breakpoint.source (but still use line_entry() to verify...).
If you prefer that lmk and I can update the PR.

I was testing this in our Linux builds, which happen to use /proc/self/cwd as prefix in the debug symbols paths, and the initial solution wasn't working... We need to mimic lldb path mapping in order to return the right local path to VSCode (done in second commit).
The alternative solution I mentioned above won't work, as there is no local path to use here.

Thanks for looking into this!
I finally got a chance to look the bug and this PR.   The root of the problem is, as you've correctly identified, the fact that SBreakpointLocation's returned by SBBreakpoint::GetLocationAtIndex do not have their paths remapped through the source map.  This appears to be a LLDB bug.
I actually have a fix for this in my current development branch.  Can you please try the latest version and let me know if you still see any problems?   The fix is along the lines of your second idea, because I didn't want to try to mirror LLDB's remapping logic.   And yes, it doesn't handle this case, however I don't consider it a big loss, since this only happens when a breakpoint is inserted via lldb commands.

Thanks for taking a look! Your latest pre-release version (1.5.2) does fix the problem :) I should have checked your releases... but it was fun working with your code. When would that be released?
I agree that handling the breakpoint inserted via LLDB is just a nice to have, and in practice makes no difference. I certainly understand not wanting to duplicate LLDB's remapping logic (although is pretty straight forward). One nice outcome about doing that as a fallback is that you will always have the right paths as understood by LLDB, and I had this change which I thought was a nice clean up (I initially was a bit confused about relativePathBase, since I thought I didn't have to duplicate it in sourceMap, but maybe it was just me...).
Anyway, thanks for such a great extension, keep up the good work :)

I may have spoken too early... One thing that my change seems to fix that is not working in the current released version (1.5.0) nor in the pre-release version (1.5.2) is when I have the following mappings:
"lldb.launch.sourceMap": {
  "/proc/self/cwd": "${workspaceFolder}/../../..",
  ".": "${workspaceFolder}/../../.."
},

With my change breakpoints work fine, but in the other versions the breakpoint never breaks... If I remove /proc/self/cwd mapping it breaks in every version (with the known issue in 1.5.0). I am not sure yet why this is happening, will try to reproduce in a setup you can try...

The issue I mentioned has to be an LLDB bug that is fixed in head (since my changes have LLDB built from master)... I don't see how your adapter will have anything to do with that, as the breakpoint is not correctly set in LLDB.

Found the issue... my code included this change, which was changing the order of the mappings (this would prevent that), and LLDB reverse mapping was picking different paths...
Anyway I don't normally have the mappings like that (as we can see that is not great since LLDB needs to do reverse mapping), I just added it to test your pre-release in Linux.
Sorry for the false alarm 😅

So it sounds like my fix does work?

I certainly understand not wanting to duplicate LLDB's remapping logic (although is pretty straight forward)

It isn't a lot of code, but I try to avoid putting workarounds into my code if the issue can be fixed at the source.  I'd rather patch liblldb I bundle with the extension.

When would that be released?

Need to do a spot more testing, but should be pretty soon.

Yes, seems to be working fine. Thanks!
If you are patching the bundled version, I assume it still won’t work with a different liblldb? Separately I am having issues in Linux, where no local variables show up... and I was going to try using our internal version of lldb (not sure that works yet, haven’t had time to try yet).


Clarification on Precision Error Bars in POPE Experiments

I noticed that the precision error bars seem significantly large in the POPE experiments in your paper. Could you provide some insight into why the error bars are so pronounced?
Thank you for your clarification, and I appreciate your work.
@BillChan226

Hi, thanks for your interest in HALC, and we really appreciate this insightful question!
First, we would like to point out the results in table.2 is the OPOPE (offline POPE) benchmark (instead of the original POPE) that we propose to complement the two limitations of CHAIR and POPE which (1) fail to evaluate the false negatives (CHAIR) (2) reasoning-required or post-correction based method cannot correct from simply answering yes or no (POPE).
However, we would like to point out that OPOPE benchmark has its own issues such as large error bars as you mentioned. While HALC demonstrates a seemingly large deviation, all the other methods demonstrate even larger deviations. Thus instead of attributing it to a mere improvement of HALC, we authors believe this originates from the OPOPE benchmark itself, since rather than being a simple VQA task like POPE which directly queries the targeted object, OPOPE caters specifically to the post-correction decoding methods (e.g. LURE, Woodpecker, HALC) by evaluating the generated caption in an offline, untargeted mannner. And due to this untargeted nature of OPOPE, the false positive and false negative statistics could be somehow unstable (e.g. OPOPE will count an object as hallucination if it is not included in the grountruth object lists given by COCO (which is only a subset of the objects that actually exist in the image), potentially contributing to large error bars).  , thus resulting in a large deviation in the precision. Again, while this phenomenon is consistent across all decoding methods, HALC outperforms the other methods with the smallest deviation for both accuracy and precision, which demonstrates its robustness and effectiveness.


Make connectedCheck work again

When running ./gradlew connectedCheck, the following error was
triggered:
More than one file was found with OS independent path 'META-INF/mediation_release.kotlin_module'
Excluding this file is safe.

Not sure why it works on CI but not on my machine, but I consistently get the aforementioned error. With this change it works fine all the time.

@TurpIF  Interesting. Though in the current workflow files, I see ./gradlew connectedCheck and not ./gradlew :publisher-sdk:connectedCheck. I don't see any references of ./gradlew :publisher-sdk:connectedCheck in the code.

@TurpIF Interesting. Though in the current workflow files, I see ./gradlew connectedCheck and not ./gradlew :publisher-sdk:connectedCheck. I don't see any references of ./gradlew :publisher-sdk:connectedCheck in the code.

Ah, I forgot that I already fixed that: https://github.com/criteo/android-publisher-sdk/commit/07df1b7b64edf514b0672d4fe77c14a1b34493ae


Escape keystroke doesn't work

Is there an existing issue for this?

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

Steps to reproduce

Navigate forward to another route using Navigator.push.
Press Escape button (use adb shell input keyevent ESCAPE if hardware keyboard is not available)

Expected results
Escape keystrokes works like a back button in native Android - causes back navigation like a system back button.
Actual results
Escape keystrokes are ignored apart from DialogRoute.
Code sample
Complete project: https://github.com/koral--/escape_demo
Code sample
main.dart:
import 'package:android_intent_plus/android_intent.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(
    title: 'Navigation Basics',
    home: FirstRoute(),
  ));
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('First Route'),
      ),
      body: Center(
        child: Column(
          children: [
            ElevatedButton(
              child: const Text('Open material page route'),
              onPressed: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(builder: (context) => const SecondRoute()),
                );
              },
            ),
            ElevatedButton(
              child: const Text('Open dialog route'),
              onPressed: () {
                Navigator.push(
                  context,
                  DialogRoute(
                      context: context,
                      builder: (context) => const SecondRoute()),
                );
              },
            ),
            ElevatedButton(
              child: const Text('Open second Activity'),
              onPressed: () {
                const AndroidIntent(action: 'second_activity').launch();
              },
            ),
          ],
        ),
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Second Route'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            Navigator.pop(context);
          },
          child: const Text('Go back!'),
        ),
      ),
    );
  }
}

To be added to AndroidManifest.xml inside <application> node:
        <activity android:name=".SecondActivity" android:exported="false">
            <intent-filter>
                <action android:name="second_activity"/>
                <category android:name="android.intent.category.DEFAULT"/>
            </intent-filter>
        </activity>

android/app/src/main/kotlin/com/example/escape_demo/SecondActivity.kt file:
package com.example.escape_demo

import android.app.Activity
import android.os.Bundle
import android.widget.TextView

class SecondActivity : Activity(){
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(TextView(this).apply {
            text = "Second Activity"
        })
    }
}

Dependency to be added:
  android_intent_plus: ^4.0.2

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/3340954/3028b665-eabf-445f-a060-cddd1090f0bd

Logs
Logs
V/IntentSender( 8234): Sending intent Intent { act=second_activity (has extras) }

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4.1 22F770820d darwin-x64, locale en-US)
    • Flutter version 3.10.6 on channel stable at /usr/local/Caskroom/flutter/3.0.5/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (4 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/koral/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/koral/Library/Android/sdk
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment Corretto-<IP_ADDRESS>.1 (build 17.0.4+8-LTS)
    • All Android licenses accepted.

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

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.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.

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

[✓] Connected device (3 available)
(stripped)

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

Thanks for the detailed report. Seeing the same behavior as reported.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.10.6, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.10.6 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (5 days ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.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.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.13.0-19.0.pre.77, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.13.0-19.0.pre.77 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 08b2c44413 (2 hours ago), 2023-08-07 22:59:25 -0400
    • Engine revision 9c83d90b01
    • Dart version 3.2.0 (build 3.2.0-42.0.dev)
    • DevTools version 2.26.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 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

This appears to be a Framework issue- MaterialPageRoute hard codes "barrierDismissible" as false. As the original report indicates "DialogRoute"

Escape key support for ModalRoute was added in https://github.com/flutter/flutter/pull/59310.
https://github.com/flutter/flutter/pull/70156 introduced a change to deactivate the escape key shortcut when barrierDismissible is false.
To get the escape key feature on MaterialPageRoute one solution would be to set barrierDismissible to true (for the moment it is always false, see https://github.com/flutter/flutter/blob/7c13003939cbad2e27c01b26f76803a52df72453/packages/flutter/lib/src/widgets/pages.dart#L42).
But it seems to be overkill because:

It means inserting a ModalBarrier for every MaterialPageRoute
It breaks a lot of existing tests (70 failures mainly related to the state of the semantic tree).

@gspencergoog I'm not sure what the best solution would be, do you have some insight?

It seems that PageRoute has always returned false for barrierDismissable, presumably because if it covers the whole screen, there's no way to dismiss it by tapping/clicking outside of it.  However, for this case, it makes sense to be able to set it to true.  I'm not sure what effect that would have on the ModalRoute base class: it might cause it to add a ModalBarrier it wouldn't have otherwise, but probably not.
So, I'd suggest we change PageRoute to allow barrierDismissable to be set to true, add constructor parameters to it and to MaterialPageRoute (and probably any other subclasses), and document that for full-page routes it only means that the escape key binding is enabled.


Custom HTML5 export template of Godot Mono 3.4.4-stable fails to launch, complaining 'The assembly 'GodotSharp' is out of sync.' and 'unreachable'

Godot version
3.4.4.stable.mono
System information
Linux 5.15.32-1-MANJARO (AMD Zen with Vega Mobile Graphics)
Issue description
I'm trying to build custom export template in version 3.4.4.stable which I will remove various of unused modules and enable optimize=speed option. The build process seems to go smoothly until I put it in custom template and export it on 3.4.4.stable editor and test run it. After loading process finishes, canvas only shows unreachable label, and debugging panel shows below (> represents each line of text)
> ERROR: The assembly 'GodotSharp' is out of sync.
>    at: _load_api_assemblies (modules/mono/mono_gd/gd_mono.cpp:954) - The assembly 'GodotSharp' is out of sync.
> ERROR: FATAL: Method failed.
>    at: _load_api_assemblies (modules/mono/mono_gd/gd_mono.cpp:965) - FATAL: Method failed.
> exception thrown: RuntimeError: unreachable,RuntimeError: unreachable
    at wasm://wasm/0412fade:wasm-function[63154]:0xcfcf3d
    at wasm://wasm/0412fade:wasm-function[63155]:0xcfcf69
    at wasm://wasm/0412fade:wasm-function[65413]:0xd54255
    at wasm://wasm/0412fade:wasm-function[32205]:0x5d8c1d
    at wasm://wasm/0412fade:wasm-function[29433]:0x52dc1e
    at wasm://wasm/0412fade:wasm-function[29469]:0x53285b
    at wasm://wasm/0412fade:wasm-function[14679]:0x2aaf29
    at wasm://wasm/0412fade:wasm-function[30750]:0x5930ee
    at Module._main (http://<IP_ADDRESS>:8080/GodotMonoHelloWorld/index.js:9:403460)
    at Object.callMain (http://<IP_ADDRESS>:8080/GodotMonoHelloWorld/index.js:9:415776)
> unreachable

This happen even if I have used bare-bone command to build the template and got approximately same size of template file compared to official build.
This is custom build one:

And, this is official build:

Ps: While building glue, there are some errors produced but it seems like the glue generator just ignored it. There are possibly more errors but my terminal got overflow and couldn't display all of them, but here's some example:

Steps to reproduce
Environment:

Linux 5.15.32-1-MANJARO (AMD Zen with Vega Mobile Graphics)
Mono <IP_ADDRESS>-1
Mono MSBuild 16.10.1.xamarinxplat.2<IP_ADDRESS>.00-2
Emscripten 1.39.9 (configured with emsdk install 1.39.9 and emsdk activate 1.39.9)
.NET SDK 6.0.2.sdk102-1 (packages including dotnet-host, dotnet-runtime, dotnet-sdk, dotnet-targeting-pack installed from official Manjaro repository)
godot-mono-builds official build version 1cc1257 and df330ce
godot-mono-builds's Base Class Library matching each versions.
Godot Mono test project, built with dotnet CLI option. (I had absolutely no luck with MSBuild (Mono) even though I satisfied all requirements but it keeps showing Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.7.2-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.)

Steps:

Cloning project to local with git clone https://github.com/godotengine/godot . (I'm already in separated directory)
Switching branch to 3.4.4-stable with git checkout 3.4.4-stable
Start building Mono glue generator with:

scons p=x11 tools=yes module_mono_enabled=yes mono_glue=no -j 7

Start generating Mono glue with:

./bin/godot.x11.tools.64.mono --generate-mono-glue modules/mono/glue

Start building export template with command:

#!/bin/bash
source $HOME/EmscriptenSDK/emsdk_env.sh
cd $HOME/Godot.Source
emsdk activate 1.39.9
scons p=javascript --clean
scons profile=$HOME/Godot.Build.Profiles/JsMono.py -j 8 module_mono_enabled=yes mono_glue=yes mono_static=yes mono_prefix=$HOME/Godot.Mono.Releases/wasm-runtime-release

This is content of custom build file ($HOME/Godot.Mono.Releases/JsMono.py)
# Core
p="javascript"
tools="no"
target="release"
optimize="size"
use_lto="no"
disable_3d="no"
disable_advanced_gui="no"

Start building project with the build, in release mode.
Serving the game with Node.JS's http-server installed from npm.
Launching URL from site running on (7) in Chromium Web Browser as Guest.
Error occurs.

Minimal reproduction project
Example project:
GodotMonoHelloWorld.Source.zipv
Export template built (1cc1257):
godot.javascript.opt.mono.zip
Export template built (df330ce):
godot.javascript.opt.mono.zip
Example exported project with the template (1cc1257):
GodotMonoHelloWorld.Exported.zip
Example exported project with the template (df330ce)
GodotMonoHelloWorld.df330ce.zip

The problem is probably somewhere in the implementation of the glue version generator: https://github.com/godotengine/godot/blob/3.5/modules/mono/build_scripts/gen_cs_glue_version.py
For official and custom builds of the same version, the glue version is different...
And if you use the glue version from the official assembly in the custom one, everything works.

Hello @CriDos I am running in the same problem.

I have genereates the 3.5.1 templates with custom code with the build containers https://github.com/godotengine/build-containers.git (branch 3.5) and https://github.com/godotengine/godot-build-scripts.git (branch 3.5).
I have build the glue with the copy_mono_root=yes option, platform=x11 for the javascript template build.
The windows version has generated its glue by itself. But the windows version is also build with the same container / script chain and the same mono version.
I have deleted AppData\Roaming\Godot and copied the generated bcl folder and wasm-templates to \AppData\Roaming\Godot\templates\3.5.1.stable.mono

But for the wasm/javascript export I am also getting "The assembly 'GodotSharp' is out of sync." in the Chrome dev tools.
Do you have a hint, how I can fix it? How can I set the correct version (if it is the same problem)? What is the correct version?

Hello @nicbillen
Try to generate the glue using the official release build of the same version you want and use it in your build.

Hello,
thank you for your fast answer. I will test it (can take some time) and will share the result.

I have now solved it in another way (maybe the explanation can help other people with the same problem).
I have compiled one glue version for Windows and one for Linux/Web/Javascript. For the generated Windows version, there was a version number in the file "mono_glue.gen.cpp" available (I searched for "uint32_t get_cs_glue_version() { return ").
In the Linux version, the version number in the file "mono_glue.gen.cpp" was:
uint32_t get_cs_glue_version() { return 0; }
Windows value:
uint32_t get_cs_glue_version() { return<PHONE_NUMBER>; }
The Windows value<PHONE_NUMBER>) can be another number in another build. It is just a timestamp.
Replacing 0 with<PHONE_NUMBER> in the Linux/Web/Javascript version and using this glue for template compilation, solved the problem.
@CriDos many thanks for your help


SQ: Translated all remaining strings and improved/fixed some existing ones

Translated all remaining strings and improved/fixed some existing ones in the Albanian language files.

Thanks


License change request (Apache License v2.0)

answering @errm requirement

Fluentd organization and CNCF are happy to receive this plugin and hosted it under the official fluent/ organization. The only requirement is the license change to Apache License v2. If all authors agreed on that and the license is changed, we can start the transition.

I personally use Apache 2 on all of my own projects. I prefer true freedom to chained freedom (yes, I’m speaking about you GPL!)

Currently the plugin is MIT licensed... Mainly because this is fairly much the default choice in the Ruby world... AFAIKT it is much the same as Apache just without the Patent grant stuff... but clearly contributor consent is the key thing here before we change anything.

I'm ok for Apache 2 :)

I'm also OK for Apache-2.0 license. :smile:

I'm ok relicensing under the Apache 2.0 license.

I'm ok with Apache 2.0 license as well

Also @richm are you OK with moving to Apache 2.0, sorry I missed you yesterday... I was tiered?

I'm ok for Apache2 license :)

@jtwile2 & @jescarri it would be great to hear if you are ok with us relicensing this plugin with the Apache 2.0 license so we can transfer it to the fluentd organisation...
If I don't hear within a week or so I will remove the code in question from the project ...

Ok I said a week... but I went ahead and rewrote a few lines so we can push forward with this ... the 1.0.0 branch is now relicensed as Apache 2.0.
Thank you to everyone for coming forward quickly and making this so painless...


Opening and closing es is very slow when a background process is running

Display the result of the following:
continue := true.
[[continue] whileTrue: [22 / 7 * 9 / 4]] forkAt: Processor userBackgroundPriority.
time := Time millisecondsToRun: [MessageBox notify: 'Why am I so slow?'].
continue := false.
time.

When the MessageBox appears, press Enter/Return immediately to dismiss it. For me, it takes about two seconds for the MessageBox to appear, and another three after I dismiss it for the expression to finish (so the value of time is somewhere around 5500). If I replace MessageBox notify: ... with e.g. Prompter prompt: ..., the prompter appears and completes immediately—time can easily be 250 or less. If I make the MessageBox task-modal, the problem goes away as well.
Putting some traces in the code, it appears that all the time is being spent in #overlappedMessageBoxIndirect:, but from within the image I cannot tell how much of this is in the MessageBoxIndirect() call itself, and how much might have to do with the overlapped-call mechanism or some other side-effect of opening the MessageBox from a separate thread. Opening two MessageBoxes in rapid succession shows no improvement for the second one, so it seems unlikely to be some kind of startup overhead for the first GUI call on a new thread.

@daniels220, there are two things at play here:

There is a bug in the process scheduling in relation to overlapped calls where sometimes the VM does not switch to a higher priority waiting process. This is shown by an assertion in the VM that fires when running some of the overlapped call tests in the VMTest class against a debug VM. This can be fixed.
Detection of a message being available to process when a background process is hogging the CPU is achieved by sampling the input queue. The interval at which this sampling is performed is a trade off between overhead and responsiveness. You can read more about this in the comment for the method InputState>>primSampleInterval:. You'll be able to observe the effect of varying this on your test expression by evaluating "SessionManager inputState setSamplingInterval: 10". You should find this makes things less sluggish on the test. The default value for this was chosen based on measurements made on much slower machines some years ago. The default may not be entirely appropriate today.

As a workaround you may want to try making your background process a bit more of a community citizen by inserting deliberate yields of control (i.e. like co-operative multi tasking). This could be by periodic short sleeping, or simply "Processor yield". The yield operation won't slow down your process much if there is no other work to do, although I wouldn't put it in a very tight loop like your example as the number of cycles required just for it to check whether a context switch is needed might be high in relation to the work you are doing.

Interesting! My suspicion was that (1) was responsible for most of the delay—it's hard to see how sampling the input queue "only" every 60ms would cause delays of close to two seconds. And yet reducing that sampling interval as you suggest does speed things up—at 10 the whole example above takes about 1.75 seconds, at 5 I can get it under a second.
I'm curious to understand more—can you say more about how the lag can be proportional to, but orders of magnitude longer than, the sampling interval? And what is it about both Dialogs (both in-proc and normal) and task-modal message boxes that changes things so dramatically?
(Regarding the workaround of #yield—in my case the most common background process is STS comparing a large number of packages, which admittedly need not stop me from inserting strategic #yield calls, but has made me think twice about doing so willy-nilly. For the moment I think lowering the sample interval will work fine—this doesn't come up all that often, and the difference in annoyance between one second and five is huge.)

Well one would have to investigate with Spyxx and (probably) by inserting some tracing to see precisely what is going on, but a reasonable hypothesis would be that it is due to interaction of the OS context switching caused by launching the message box on a background thread with a parent window that is on the Dolphin thread (which causes message send traffic between the threads) and the way the InputState detects the UI being idle. When you are launching a dialog (or task modal message box) on the same thread, the message queue traffic will probably prevent the message loop from becoming empty, whereas this may be happening here.
This explanation is a theory that needs testing, but it does seem plausible given the numbers. If it takes two seconds to open or close with a sampling interval of 60ms, and if only one message is processed per sampling interval, that would mean around 33 messages were processed in total. That isn't an unreasonable number (try watching it with Spyxx to monitor the message traffic on all threads in the Dolphin process and you'll see what I mean). Now if you reduce the sampling interval to 10mS, those same 33 messages would be processed in 330mS.

That makes total sense that inter-thread message traffic is the key. Thanks for the clear explanation! If I find the time, I'll try checking it out with Spyxx as you say, but I'm pretty sure you're right. As a result I'm thinking this isn't fixable beyond the workarounds already described—any mechanism that would work better here would probably be able to replacing the sampling entirely, and I'm sure you've looked quite thoroughly for such an alternative :).


Typos

Under Dependencies/Classic, there are two typos:
"With a After release trigger" should be changed to "With an After release."
"With a After stage trigger" should be changed to "With an After stage."

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

ID: 4266f72c-c774-0046-4593-d01eb775d3c3
Version Independent ID: f20827aa-a6c5-96a8-5969-e576ffbc2e38
Content: Stages in Azure Pipelines - Azure Pipelines
Content Source: docs/pipelines/process/stages.md
Product: devops
Technology: devops-cicd
GitHub Login: @vijayma
Microsoft Alias: vijayma

@ronwarner  Thank you for the feedback and attention to detail.
The documentation has been updated and is pending review.


[UI] Summary Display Toggle

New summary has small vocab chips so you can see more at one time, but people might prefer the older large vocab cards version. We should offer a toggle switch that seamlessly swaps between the two different layouts. Easy to implement.

done


[Bug]: "Using Tesla V100 to load the GPTQ-Int4 model results in all output being exclamation marks."

Your current environment

The output of `python collect_env.py`
python collect_env.py                                               [76/1893]
Collecting environment information...
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-124-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: Tesla V100-PCIE-32GB
GPU 1: Tesla V100-PCIE-32GB

Nvidia driver version: 560.35.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:                                                                                [48/1893]
架构：                                x86_64
CPU 运行模式：                        32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
字节序：                              Little Endian
CPU:                                  16
在线 CPU 列表：                       0-15
厂商 ID：                             GenuineIntel
型号名称：                            Intel Xeon Processor (Skylake, IBRS)
CPU 系列：                            6
型号：                                85
每个核的线程数：                      2
每个座的核数：                        1
座：                                  8
步进：                                4
BogoMIPS：                            4589.20
标记：                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxs
r sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 f
ma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefe
tch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx5
12f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves arat umip pku ospke md
_clear
超管理器厂商：                        KVM
虚拟化类型：                          完全
L1d 缓存：                            512 KiB (16 instances)
L1i 缓存：                            512 KiB (16 instances)
L2 缓存：                             32 MiB (8 instances)
L3 缓存：                             128 MiB (8 instances)
NUMA 节点：                           1
NUMA 节点0 CPU：                      0-15
Vulnerability Gather data sampling:   Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:          KVM: Mitigation: VMX unsupported
Vulnerability L1tf:                   Mitigation; PTE Inversion
Vulnerability Mds:                    Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:               Mitigation; PTI
Vulnerability Mmio stale data:        Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Mitigation; IBRS
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; IBRS; IBPB conditional; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI SW loop, KVM SW loop
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Mitigation; Clear CPU buffers; SMT Host state unknown

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.1.105
[pip3] nvidia-cuda-nvrtc-cu12==12.1.105
[pip3] nvidia-cuda-runtime-cu12==12.1.105
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] nvidia-nvjitlink-cu12==12.6.77
[pip3] nvidia-nvtx-cu12==12.1.105
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0
[pip3] torchvision==0.19.0
[pip3] transformers==4.45.2
[pip3] triton==3.0.0
[conda] No relevant packages
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.3.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      PHB     0-15    0               N/A
GPU1    PHB      X      0-15    0               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

Model Input Dumps
No response
🐛 Describe the bug
messages = [{"role": "system", "content": "You are an helpful assistant."}]

def chat_with_model(user_input):
    messages.append({"role": "user", "content": user_input})

    response = client.chat.completions.create(
        model=model_name,
        messages=messages,
        temperature=0.7,
        top_p=0.8,
        # max_tokens=1024,
        extra_body={
            "repetition_penalty": 1.05
        },
        stream=True,
    )

    # 收集回复
    full_reply = ""
    for chunk in response:
        content = chunk.choices[0].delta.content or ""
        print(content, end="", flush=True)
        full_reply += content

    print()
    messages.append({"role": "assistant", "content": full_reply})

def save_session():
    """保存当前会话到JSON文件"""
    timestamp = datetime.datetime.now().strftime("%Y%m%d%H%M%S")
    filename = f"message_{timestamp}.json"
    with open(filename, 'w', encoding='utf-8') as f:
        json.dump(messages, f, ensure_ascii=False, indent=4)
    print(f"会话已保存到 {filename}")

def main():
    while True:
        user_input = []
        print("User：", end="")

        # 处理多行输入
        line = input()
        while not line.endswith("\\"):
            user_input.append(line)
            line = input()
        user_input.append(line[:-1])  # 去掉最后一个反斜杠

        # 组装完整输入
        complete_input = "\n".join(user_input)

        if complete_input.lower() == ">exit":
            print("退出程序")
            break
        elif complete_input.lower() == ">save":
            save_session()
        else:
            chat_with_model(complete_input)

if __name__ == "__main__":
    print(model_name)
    main()

Using Double Tesla V100 to load the Qwen2.5-32B-GPTQ-Int4 model results in all output being exclamation marks.However, loading the 14B-GPTQ-Int8 model or none-quanted Qwen2.5-7B-Instruct model runs normally, suggesting that there might be some compatibility issues with vllm for GPTQ-Int4 quantization.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

same issue, but only last one

same issue, why...


Unable to login to meross

Homebridge UI-X
Homebridge 1.5.1
MacOs
8.4.0

Hello, i'm unable to login to meross platform.
The message at homebridge startup is:
Disabling cloud client as login failed - {"apiStatus":1006,"sysStatus":0,"info":"","timeStamp":1669016924,"data":{}} at default.login (file:///usr/local/lib/node_modules/homebridge-meross/lib/connection/http.js:76:15).
Which could it be the problem?

I have the same issue running on Raspberry Pi 4.
Node.js Version | v18.12.1
Homebridge 1.6.0

Hey @FunnyDevs and @rwbisme is this still an issue?


Changelog update for file/datalake service for beta.5

Please apply the appropriate label, milestone, and self-assign :)

In case you missed it from the other PR, here are the relevant commits between the previous release and master, for reviewers to look through:
https://github.com/Azure/azure-sdk-for-cpp/compare/ef4b7c5268963f4c5ca554e304b72a83e0e55270...97af13d7e627d65676abc9e606bce40ba0f42751?

In case you missed it from the other PR, here are the relevant commits between the previous release and master, for reviewers to look through:
ef4b7c5...97af13d

This is a nice view. However, I don't think test-related changes are relevant in the changelog.

/azp run cpp - storage


Website

I'm assuming this was opened by accident since there are no details, so I'm going to close it. But please do feel free to reopen or submit a new on with more details in the description.
/close


Add approve bot to CODEOWNERS 🤖

Summary 💭
A few weeks ago we added renovate-bot to do minor dependency upgrades ( 0.*.0 and 0.0.* )  for us automatically.
The bot raises a PR for each upgrade, however, given our master branch is protected 🔐 ,  we need to manually approve and merge each PR, which can end tedious.
We have now added a second bot, renovate-approve so that it can approve and merge those PRs for us. This a POC to see how it works for us.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Convert Luanoid properties to attributes

Attributes would allow for simpler server-to-client replication of properties. To maintain backwards compatibility doing
print(luanoid.Health)
luanoid.Health = 50

should be the equivalent as
print(luanoid.Character:GetAttribute("Health"))
luanoid.Character:SetAttribute("Health", 50)

This may require modifications to the class module itself to use __index and __newindex safely.
The following properties would be attributes.

string State
string FloorMaterial
Vector3 MoveDirection
Vector3 LookDirection
number Health
number MaxHealth
number WalkSpeed
number JumpPower
number HipHeight
string NetworkOwner

Only these attributes were implemented as converting Stateand FloorMaterial from EnumItems to strings and back to EnumItems would have been difficult. NetworkOwner was not implemented for the same reason as an Instance, instead use the existing methods GetNetworkOwner() and SetNetworkOwner().

Vector3 MoveDirection
Vector3 LookDirection
number Health
number MaxHealth
number WalkSpeed
number JumpPower
number HipHeight


Catalog / DB to reside on a local network location -- usable by client computer(s) over the network.

In my workflow I use multiple computers (and computer types (OSX, Linux, Win10)) to access files for different purposes (creation, editing, printing, etc). It would be nice to have access to a common database/catalogue from any of my computers to be able to add, update the catalogue.
Perhaps just point each local client at the network drive location?

I'd love to add features around having multiple computers share a common database. Putting a database in a shared location is one of the ways this could be done. For the time beeing I'd need to put an additional machine identifier in the metadata because quite a bit of functionality depends on the models being available locally.
My workflow is also distributed between machines: I have a notebook that goes with me to the printer, but the main workstation stays where it is. So I've also been thinking about distributed workflows a bit. I'd love to have a shared database and to be able to transfer files on the go. Also: Backups etc.
As the name of the tool might imply - I'm planning on going in that direction sooner or later. I have a few features that are higher up on the priority queue - but I'll keep you updated!
Thanks for your feedback!

That's great news! Thank you for this.
Oh, did you want minor tweaks added here too as new issues? things like UX: add more facings in image rotation (every 45 deg. instead of 90). that sort of thing? Not what I'd call a primary feature, more of an enhancement.

@bgri Yeah, go ahead - if I don't like the request I can still close it 😄.
Smaller rotation angles make sense 👍 .


[SPARK-7119][SQL] ScriptTransform should also consider the output data type when no serde used

JIRA: https://issues.apache.org/jira/browse/SPARK-7119

Test build #30934 has started for   PR 5688 at commit 7b1a00a.

Test build #30934 has finished for   PR 5688 at commit 7b1a00a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30934/
Test FAILed.

Test build #30938 has started for   PR 5688 at commit a69b1d9.

Test build #30938 has finished for   PR 5688 at commit a69b1d9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30938/
Test PASSed.

@viirya thanks for so quick fixing, but my concern on ScriptTransformation is we don't use the SerDe or InputFormat/OutputFormat at all, and it seems a hack to me, as we split the string manually by either default delimiter(schemaless), this is actually supposed to be done by InputFormat/OutputFormat and SerDe.

@chenghao-intel thanks for suggestion. This indeed is just a quick fixing. Since in these test cases, users don't indicate SerDe to use, I will investigate if there is default SerDe for that.

@chenghao-intel default SerDe found. I will update this later.

@chenghao-intel I updated the codes.
Seems Avro should not be used in transform syntax, so I marked the related unit test as ignored.

Test build #30976 has started for   PR 5688 at commit 7475451.

Hi,
I tried to apply this patch to run such SQL query with 'Using' Script operation and found below error throwing:
15/04/27 09:46:48 WARN scheduler.TaskSetManager: Lost task 9.0 in stage 132.0 (TID 2859, bignode3): java.lang.ClassCastException: org.apache.spark.sql.types.UTF8String cannot be cast to java.lang.Long
at scala.runtime.BoxesRunTime.unboxToLong(BoxesRunTime.java:110)
at org.apache.spark.sql.catalyst.expressions.GenericRow.getLong(rows.scala:88)
at org.apache.spark.sql.execution.SparkSqlSerializer2$$anonfun$createSerializationFunction$1.apply(SparkSqlSerializer2.scala:217)
at org.apache.spark.sql.execution.SparkSqlSerializer2$$anonfun$createSerializationFunction$1.apply(SparkSqlSerializer2.scala:169)
at org.apache.spark.sql.execution.Serializer2SerializationStream.writeObject(SparkSqlSerializer2.scala:58)
at org.apache.spark.storage.DiskBlockObjectWriter.write(BlockObjectWriter.scala:211)
at org.apache.spark.util.collection.ExternalSorter.spillToPartitionFiles(ExternalSorter.scala:390)
at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:222)
at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:62)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
at org.apache.spark.scheduler.Task.run(Task.scala:64)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:209)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

@jameszhouyi Can you provide your schema and sql query?

Merged build triggered.

Merged build started.

Test build #33070 has started for   PR 5688 at commit 025c80f.

Test build #33070 has finished for   PR 5688 at commit 025c80f.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33070/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #33072 has started for   PR 5688 at commit 025c80f.

Test build #33072 has finished for   PR 5688 at commit 025c80f.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33072/
Test FAILed.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #33074 has started for   PR 5688 at commit 4af753f.

Test build #33074 has finished for   PR 5688 at commit 4af753f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33074/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #33083 has started for   PR 5688 at commit 6e2b086.

Test build #33083 has finished for   PR 5688 at commit 6e2b086.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33083/
Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #33086 has started for   PR 5688 at commit 6e2b086.

Test build #33086 has finished for   PR 5688 at commit 6e2b086.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33086/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #33095 has started for   PR 5688 at commit 4290624.

Test build #33095 has finished for   PR 5688 at commit 4290624.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33095/
Test PASSed.

@chenghao-intel @marmbrus Please take a look of this.

I looked at this quickly but will not be able to do a full review until after the 1.4 release.

@viirya , please see below query details with Using script transform:
ADD FILE ${env:BIG_BENCH_QUERIES_DIR}/Resources/bigbenchqueriesmr.jar;
--CREATE RESULT TABLE. Store query result externally in output_dir/qXXresult/
DROP TABLE IF EXISTS ${hiveconf:RESULT_TABLE};
CREATE TABLE ${hiveconf:RESULT_TABLE} (
pid1 BIGINT,
pid2 BIGINT,
cnt  BIGINT
)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'
STORED AS ${env:BIG_BENCH_hive_default_fileformat_result_table} LOCATION '${hiveconf:RESULT_DIR}';
-- the real query part
--Find the most frequent ones
INSERT INTO TABLE ${hiveconf:RESULT_TABLE}
SELECT pid1, pid2, COUNT (*) AS cnt
FROM (
--Make items basket
FROM (
-- Joining two tables
SELECT s.ss_ticket_number AS oid , s.ss_item_sk AS pid
FROM store_sales s
INNER JOIN item i ON (s.ss_item_sk = i.i_item_sk)
WHERE i.i_category_id in (${hiveconf:q01_i_category_id_IN})
AND s.ss_store_sk in (${hiveconf:q01_ss_store_sk_IN})
CLUSTER BY oid
) q01_map_output
REDUCE q01_map_output.oid, q01_map_output.pid
USING '${env:BIG_BENCH_JAVA} ${env:BIG_BENCH_java_child_process_xmx} -cp bigbenchqueriesmr.jar de.bankmark.bigbench.queries.q01.Red -ITEM_SET_MAX ${hiveconf:q01_NPATH_ITEM_SET_MAX} '
AS (pid1 BIGINT, pid2 BIGINT)
) q01_temp_basket
GROUP BY pid1, pid2
HAVING COUNT (pid1) > ${hiveconf:q01_COUNT_pid1_greater}
CLUSTER BY pid1 ,cnt ,pid2
;

@jameszhouyi From your provided error message and query, I don't think the problem is caused by script transform. Looks like what your script (i.e., bigbenchqueriesmr.jar) generates can't be directly casted to BIGINT. Because I don't see you using custom SerDe, supposed that will be text format. So your pid1 and pid2 should be string. You can make them as string. If you want to use them as BIGINT, you should do explicitly CAST later.

Merged build triggered.

Merged build started.

Test build #34283 has started for   PR 5688 at commit 1a251af.

Test build #34283 has finished for   PR 5688 at commit 1a251af.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveRowFormat(name: String, firstValue: String, secondValue: String)

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #34284 has started for   PR 5688 at commit 7a8ddd6.

Test build #34284 has finished for   PR 5688 at commit 7a8ddd6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class HiveRowFormat(name: String, firstValue: String, secondValue: String)

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

ping @marmbrus Since 1.4 is released now, can you take time to look at this? Currently the serde support of script transform is limited. This pr can improve it a lot. Thanks.

Test build #34827 has started for   PR 5688 at commit ae0b9d2.

Test build #34827 has finished for   PR 5688 at commit ae0b9d2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

I think that we can close this PR in favor of #6638, since that one is about to be merged.


Spawner module

Hi!
I am playing on Prominence 2. We have enabled the spawner module on both the client and the server, but it doesnt seem to work. I cannot pick up spawners with silk touch nor modify them with items like sugar and clocks. What could be the problem?
Thanks

Hello what is the solution I have the same problem


ValueError: '=' alignment not allowed in string format specifier

Hi all,
I have an issue with string format specifier.
def chaosThree():     # Instruction     print('The program runs a chaos program with 3.9 and prints N output.')     print('With 3 formulas.')     # Get User's input     n = eval(input('How many times you want to loop? '))     x = eval(input('Enter a number: '))     # Print Label     print('{0:0} {1:0} {2:0} {3:0}'.format('Times','Formula1','Formula2', 'Formula3'))     # Loop to 10     for i in range(n):         x1 = 3.9 * x * (1 - x) # Chaos formula - Logistic formula         x2 = 3.9 * (x - x * x)         x3 = 3.9 * x - 3.9 * x * x               print('{0:0} {1:7} {2:7} {3:7}'.format(i, x1, x2, x3))
When I run this, it comes up with ValueError: '=' alignment not allowed in string format specifier at line
    print('{0:0} {1:0} {2:0} {3:0}'.format('Times','Formula1','Formula2', 'Formula3'))
When I deleted this String Format Specifier line, it worked well.
Do you have any idea about it?
Sorry about the wrong place to ask. I don't know how to delete it.
Thanks.

No worries and I hope you will be able to solve your problem 😃

Thanks a lot, I solved it. :)


Fix config-related issues picked up in handbook tutorial

Closes https://github.com/datalad/datalad-catalog/issues/412
Closes https://github.com/datalad/datalad-catalog/issues/375
Closes https://github.com/datalad/datalad-catalog/issues/410

TODO:

address https://github.com/datalad/datalad-catalog/issues/411

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (45a7a8b) 84.73% compared to head (b558013) 84.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #413      +/-   ##
==========================================
+ Coverage   84.73%   84.79%   +0.06%
==========================================
  Files          45       45
  Lines        2875     2880       +5
==========================================
+ Hits         2436     2442       +6
+ Misses        439      438       -1

Flag
Coverage Δ

unittests
78.15% <100.00%> (+0.07%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


SecretType implemented + forcing static compilation

Let me thank you all for making public this project. Thank you!


Error using plugin in setup function

Plugin Version:  0.0.61
<script lang="ts">
export default defineComponent({
   setup(props) {
      const a = ref(32);
   }
})
</script>

Select the a variable and use the shortcut Ctrl +  G. The plug-in does not respond, and the following error message is displayed when the console is viewed
[simonhe.fast-create-variable]scriptSetup.ast.body is not iterable
TypeError: scriptSetup.ast.body is not iterable

v0.0.83 has fixed


Include Enum Definitions

See this Developer Forum thread by Kristofer Sanders. The templates should include symbolic definitions for the various enums used in the interface.

Completed for production release 1.0.0


Missing properties for nested request body

Hi, thank you so much for the hard working on this awesome library
Right now, I have a issue with nested body request. It's missing a lot of properties. I have to add them manually. Could you take a look on it? 🙏

Will check. You on latest version btw??

Yes, in v2.11

I also got another issue when upload image in nested request body. I cannot send the request, it always return result like the image(2) but I can send that request with postman successful (Image 3). Could you help check it too 🙏
(1)

(2)

(3)

Noted. Will address both by this week

About the file upload response issue. The one difference I see in Postman vs LRD is the trailing slash in the URI.
On LRD it is /api/posts while on postman it is /api/posts/.
The URI field is editable on LRD, so can you try adding the / on the URI? Probably that is the issue, since you have got response 200, it could be a remove trailing slash that has caused a response body to be some sort of HTML instead of json...?
Will wait for your reply.
About the nested issue, I will check it now

ah ok
About the nested properties issue.
 Right now it only takes first nest into the account.
https://github.com/rakutentech/laravel-request-docs/blob/97c75f56b5917585a0f87fd082ad540ce501bb20/ui/src/components/ApiAction.tsx#L233-L241
You can submit a pull req? I won't be able to do that until 2 weeks, little occupied.

Thank for your reply, will look into it when I have some time!


[Documentation Update]: add Data Analysis with Pandas and NumPy.md

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
This document provides an overview of using Pandas and NumPy for data analysis, two powerful libraries in Python. Pandas offers data structures like DataFrames and Series that make it easy to manipulate and analyze data in a tabular format. It includes functionalities for reading from various file formats, handling missing data, and performing operations such as grouping, merging, and reshaping datasets. NumPy, on the other hand, is essential for numerical computations and handling arrays. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays efficiently.
Suggested Change
Together, Pandas and NumPy enable robust data analysis workflows. Pandas is used for data manipulation and preprocessing, such as cleaning and transforming data, while NumPy facilitates complex mathematical operations and statistical analysis. By leveraging both libraries, analysts and data scientists can streamline their data analysis processes, ensuring more accurate insights and efficient handling of large datasets. This integration is crucial for tasks ranging from exploratory data analysis to building machine learning models.
Rationale
No response
Urgency
High
Acknowledgements

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository
[X] I have read and followed the Contribution Guidelines
[X] I have followed the code style guidelines of this project
[X] I have checked for any existing open issues that my pull request may address
[X] I have ensured that my changes do not break any existing functionality
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently
[X] I have read the resources for guidance listed below
[X] I have not used AI-generated content (e.g., ChatGPT, other AI tools)
[X] I have not used content from existing sites (e.g., text, images)
[X] I have followed all security rules and only shared trusted resources

i want to work on the issue


Parameter entries changed to default_value, data not ed_data

making good progress -
now getting bug:
Traceback (most recent call last):
  File "/usr/local/bin/smif", line 10, in <module>
    sys.exit(main())
  File "/vagrant/smif/smif/cli/__init__.py", line 386, in main
    args.func(args)
  File "/vagrant/smif/smif/cli/__init__.py", line 168, in run_model
    modelrun.run()
  File "/vagrant/smif/smif/modelrun.py", line 85, in run
    modelrunner.solve_model(self)
  File "/vagrant/smif/smif/modelrun.py", line 112, in solve_model
    self.results[timestep] = model_run.sos_model.simulate(timestep, data)
  File "/vagrant/smif/smif/model/sos_model.py", line 172, in simulate
    sim_results = model.simulate(timestep, sim_data)
  File "/vagrant/models/energy_demand/run.py", line 129, in simulate
    _, results = energy_demand_model(ed_data)
  File "/vagrant/models/energy_demand/energy_demand/main.py", line 85, in energy_demand_model
    data=data,
  File "/vagrant/models/energy_demand/energy_demand/energy_model.py", line 42, in __init__
    data['non_regional_profile_stock'] = self.create_load_profile_stock(data)
  File "/vagrant/models/energy_demand/energy_demand/energy_model.py", line 150, in create_load_profile_stock
    shape_yd=data['rs_shapes_yd']['rs_lighting']['shape_non_peak_yd'],
KeyError: 'rs_shapes_yd'

Coverage remained the same at 1.035% when pulling 0d60c1ca1fa8a16c4b3e5466837c6b4d6f9ebcad on bug/nismod_typos into 84f3cd9ed1302aee8fe8b9f32963b3577fb63ac3 on master.


[FEATURE] Data Stream Api

Is your feature request related to a problem?
There is data stream functionality of Open Search https://opensearch.org/docs/latest/im-plugin/data-streams/. This functionality cant be used with Open Search Java client.
What solution would you like?

Add data stream api support to Open Search Java client. Something like:

client.indices().getDataStream()
client.indices().putDataStream()
client.indices().deleteDataStream()

Add an ability to override timestamp_field for dataStream at putIndexTemplate

What alternatives have you considered?
Writing my own implementation using org.opensearch.client.RestClient

Thank you @gkozyryatskyy for the feature request. Would you be willing to open a PR for the feature?

@VachaShah not for now, but may be in the future if it is not in your plans.

I have created a PR #416 for data stream APIs, which covers the feature you mentioned.


proposal: repository templates a la k3s

Having clearer expectation of what we expect from such submissions will improve their quality be lessening the back-and-forth between submitter and maintainer. Also, I am by no means perfect and having such templates as a guideline is helpful.

bug report
https://github.com/rancher/k3s/blob/master/.github/ISSUE_TEMPLATE/bug_report.md
feature request
https://github.com/rancher/k3s/blob/master/.github/ISSUE_TEMPLATE/feature_request.md
pull request
~~https://github.com/moby/moby/blob/master/.github/PULL_REQUEST_TEMPLATE.md~~

/cc @ibuildthecloud @cjellick

Leaving off pull request template until we get a contributing doc

Fixed via #300


Explicit uppercase symbol use in SQS attributes

Hey Jeremy & Co.,
I was having troubles with plugging propono into one of my client's apps that run under Ruby 2.1.
It was due to escaping a symbol that start with an upper case letter with quotes. Unfortunately support for this was added in Ruby 2.2, and I ended up using my fork that fixes that.
# This was found in your code and it causes a SyntaxError in Ruby <2.2
{ "Policy": policy }
# This is accepted in all modern Rubies and keeps the code compatible
{ "Policy".to_sym => policy }
{ Policy: policy }

I chose the latter. I'm not sure how you guys feel about it, but maybe you could merge it in?
Cheers,
Kamil

@kamilbednarz Thanks for this.
@ccare / @dougal - Can one of you second this please and then I'll merge and release it.

+1, looks great.
Thanks, @kamilbednarz.


Config external redis sentinal and auth

Could you please give an example of passing the config to setup redis sentianl using external host with auth?
I currently have
redis-cache:
  # https://github.com/bitnami/charts/tree/master/bitnami/redis
  enabled: false
  host: "redis.redis"
  architecture: standalone
  auth:
    enabled: true
    sentinal: true
  master:
    containerPorts:
      redis: 6379 <-- should this be 26379?
    persistence:
      enabled: false

redis-queue:
  # https://github.com/bitnami/charts/tree/master/bitnami/redis
  enabled: false
  host: "redis.redis"
  architecture: standalone
  auth:
    enabled: true
    sentinal: true
  master:
    containerPorts:
      redis: 6379 <-- should this be 26379?
    persistence:
      enabled: false

@revant thank you! Assuming Common Site Config can be set through Helm via value.yaml as well?

Easiest: exec into pod and set.
Create a custom job with specific commands to set the values. check bench config job, you can modify that job to set redis as per your case.


Survey media

Add get survey media endpoint
Hide images based on hidden flag
Return featured image when retrieving the survey list
Add @google-cloud/storage npm package
Add GoogleCloudService to add google cloud specific functionality (deleteFile)

Featured survey media guards have been implemented according to the following principles.
Create new survey media:

If no other featured survey media exists in the survey then the newly added media is the featured media of the survey
If a featured survey media already exists in the database and the newly created one is also featured, the new becomes featured media and the old is "unfeatured"
A featured media cannot be hidden.

Edit survey media:

If a survey media is updated from non-featured to featured then the old one is "unfeatured"
If a featured media is updated to hidden then it is "unfeatured" and a random media (from the survey) is chosen for the new featured media of the survey
The hidden and featured params are now required in the updateMedia endpoint in order to not have to deal with undefined values.

Delete survey media:

If the featured media gets deleted, a random media (from the survey) is chosen for the new featured media of the survey

The hidden and featured params are now required in the updateMedia endpoint in order to not have to deal with undefined values. @antoniosValmas having the = false default was not enough to not have undefined?


feedback form

Feedback button doesn't do anything. Add a way to give feedback. Google form?

In v3 we open an email to labs with a preformatted title, as a start we can do the same

Imo we can move this to v4.1, and just have the button open an email like it does today in v3

Done


Add support for custom headers in configuration

Allows user to set custom headers that will be sent with all requests.
This is particularly useful when configuring something like Helicone, where setting a custom uri_base isn't enough. Helicone requires { "Helicone-Auth": "Bearer HELICONE_API_KEY" } at a minimum, plus supports additional headers for additional configuration.
I wasn't sure whether to call this custom_headers or additional_headers. The existing headers aren't removed, but can be overwritten when using the same name. (with one minor exception when doing a multipart_post which sets the Content-Type header)
Fixes #279

@ScotterC shared the following monkeypatch in Discord:
https://github.com/ScotterC/ruby-openai/blob/dewey/lib/openai/http.rb#L9C38-L31
This enables custom headers per request. Whereas my PR only enables you to configure this  globally.
I think my PR is still useful for more common use cases (e.g. authenticating Helicone), but we should consider if and how it impacts our ability to add per-request custom headers in the future.

Whoops!
Turns out @deltaguita made a similar PR a few months ago already: https://github.com/alexrudall/ruby-openai/pull/257
I'll close mine in favor of that one.


Task/av2 830/dissmiss popup permission

Story/Ticket Reference ID from JIRA:
https://intersective.atlassian.net/browse/AV2-830
Additional Comments:
Add here
Checklist:

[ x ] Unit test completed?: (Y/N)
[ x ] Docs folder up to date?: (Y/N)
[ x ] Add if anything missed: (Y/N)
[ x ] Add if anything missed: (Y/N)

All Checklist are okay.
This PR looks great - it's ready to merge! Please review and let's ship it. :)

I created a new PR instead of this one

I created a new PR instead of this one


Encoding bug in the filling-form-example

I think there is a text encoding bug in the filling-form-example, at least on OS X.
If you run the provided example (main.js) and try to fill the form with any non-english characters (for example å ö ä), the output doesn't handle those characters correctly.
Steps to reproduce
Run the example (main.js) with var data = {    "Given Name Text Box": "åäö" } on OS X.

Moved to https://github.com/galkahana/HummusJS/issues/197


A Json encoding for EJson

In order to serialize EJson as Json, we will encode the extended parts of EJson as follows:

All JSON compatible values are encoded verbatim.

Extended values are encoded as

Meta -> { ∃value: ..., ∃meta: ...}
Map  -> { ∃map: [{∃key: ..., ∃value: ...}, ...] }
Byte -> { ∃byte: 42 }
Char -> { ∃char: "x" }
Int  -> { ∃int: 2345 }

A Map where the keys are all strings will be encoded as a Json object with encoded EJson values.

Any map keys in a source EJson value that begin with ∃ need to be prefixed with an additional ∃ when encoding (e.g. ∃foo becomes ∃∃foo) and, conversely, any map keys that begin with ∃ when decoding, and aren't one of the special keys defined above, need to have a single ∃ removed (e.g. ∃∃bar becomes ∃bar).

See slamdata/purescript-ejson#19 for more context and discussion of the encoding.


Login Page

Double check that it works
Comments in caps need database stuff done

Implement registration and login on the backend. Use Axios for registration and login on the frontend. Use Axios for registration and login on the frontend.


ci: add a workflow to validate renovate config

This PR defines a new workflow to validate renovate config.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.39%. Comparing base (9e98057) to head (1dc24f2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1418      +/-   ##
==========================================
- Coverage   69.52%   69.39%   -0.14%
==========================================
  Files         186      186
  Lines       18326    18326
==========================================
- Hits        12742    12718      -24
- Misses       4909     4931      +22
- Partials      675      677       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

I think what you mean is this?
I didn't prefer this because we have to document this rule somewhere to ask people to follow it.
I didn't know rule set - this can be an option.

Yeah, combined with this (which apparently apply across forks which is interesting).
I don't think the documentation requirement is a big deal - it should be coverable by a comment in the contrib doc (or maybe even in the config itself), and really how often are we actually expecting the config to change, and for that to not be done by one of us?

Since I have done the work to set up the workflow and it works, I may not spend more time investing the other option if there is some reason against this approach?

Well the downside is it's pulling in more dependencies which scorecard will frown on (sorry forgot to mention that in my last comment).
At the least, you need to pin everything in the workflow to a sha, which includes the npx call

I have updated the file to pin the dependencies in the workflow, also updated the file to trigger the validation only on PR with changes on renovate.json.
One thing I don't like about the other approach is that we need to wait until next time renovate runs on the repository.


Notification center "Now Playing" widget

Hi there.
First off, thank you for your work.
I noticed a slight inconvenience with the app : it takes over the notification center widget "Now Playing" making it useless in terms of seeing the title of the track being played. Is there anyway you can still take over the control of media keys and still display info about the track in the widget ?

Best

This is intended to prevent other players get button press from headphones and mess up the playback. (Which is not working as we expected and we are looking for a solution for this).
For now, you can use the older version (1.7).

I see. Well I don't use my headphones' buttons so I should be fine with 1.7. Thank you !


feature: Any chance you'll publish it on PyPI?

Did you check the tree-sitter docs?

[X] I have read all the tree-sitter docs if it relates to using the parser

Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
n/a
Describe alternatives you've considered
It doesn't seem like it's present on PyPI. At least it's not published by ObserverOfTime or amaanq, who published other most common languages.
Additional context
n/a

Eventually we will publish all grammars on all relevant registries, but we are waiting for upstream (tree-sitter) changes that will make this much easier and more consistent.

In the meantime you can pip install git+https://github.com/tree-sitter-grammars/tree-sitter-query


SQL Server on Linux does not present/load intermediate certificates

This is probably not Docker-specific, but don't know where else to put my findings. Spend a fair amount of time diving through .NET runtime assemblies to debug this, so if anyone can use this info, then it is not lost :)
[network]
tlscert = /var/opt/mssql/tls/server.crt
tlskey = /var/opt/mssql/tls/server.key
forceencryption = 1

server.crt contains PEM host-certificate + intermediate
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
Client (both Linux and Windows) trusts Root CA (which has signed the intermediate).
When trying to connect with SqlConnection in .NET or Azure Data Studio the error: "The remote certificate is invalid according to the validation procedure." is presented.
The reason seems to be that the server only sends the host-certificate (Notice only one element in chainElements in the left)

When connecting to a Windows-hosted SQL-Server it works and looks like this

Without the imediate certificate present, the client cannot validate the path to the Root

@DennisGlindhart did you ever manage to find a solution to this problem? I've just run into the exact same problem with a similar set-up (SQL Server 2022 on Docker).

Nope - Not really.
A "workaround" that might work in certain scenarios is also including the Intermediate certificate in the Root/Trusted store on all clients, but well.. That kinda defeats the purpose behind intermediates. But might work depending on how much control you have over the clients and why you were using intermediates in the first place.

@DennisGlindhart thanks Dennis. For future reference, I can confirm the issue exists with the Linux version of MSSQL, both in the Docker version and the "plain" version. MSSQL on Windows serves the intermediate certificate just fine.


Duplicate rows?

5th row in the table is the same as the 3rd row, is this on purpose?

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

ID: f6699d64-e383-4de7-adb9-bfd2d8782697
Version Independent ID: 14a447a4-6875-a1f2-f2ad-d022d52edc6c
Content: Multitenant Deployment Architecture - Dynamics NAV
Content Source: dynamics-nav/Multitenant-Deployment-Architecture.md
Product: dynamics-nav-2018
GitHub Login: @jswymer

The third row should be yes|1|2|no. The article has been fixed and an update will be published soon. Thanks for the feedback!


Out of memory exception.

I have a site that is pretty content heavy with over 40 .md files in 9 different sections. When I go to compile the site, it takes about a minute for nuxt to start serving my site. After I view the site, visit a few links, make 1 or 2 changes to content in my site, nuxt will crash.
Below is the stacktrace. Not sure if it's nuxtjs, nuxtent-module, node, etc.
nuxtjs version: latest
nuxtent-module version: 0.2.27
node version: v6.9.1
 WAIT  Compiling...                                                             2:47:01 PM

  build [==================  ] 91%
<--- Last few GCs --->

  227259 ms: Mark-sweep 1247.6 (1403.0) -> 1247.6 (1404.0) MB, 171.9 / 0.0 ms [allocation failure] [GC in old space requested].
  227432 ms: Mark-sweep 1247.6 (1404.0) -> 1247.6 (1404.0) MB, 172.8 / 0.0 ms [allocation failure] [GC in old space requested].
  227629 ms: Mark-sweep 1247.6 (1404.0) -> 1247.6 (1403.0) MB, 197.2 / 0.0 ms [last resort gc].
  227838 ms: Mark-sweep 1247.6 (1403.0) -> 1247.6 (1403.0) MB, 208.9 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x3954433cfb51 <JS Object>
    1: parse [native json.js:~61] [pc=0x18eedabf5ac1] (this=0x3954433c9111 <a JSON with map 0x6a7f280a0e1>,C=0x22399de04201 <Very long string[73798854]>,w=0x395443304381 <undefined>)
    2: arguments adaptor frame: 1->2
    3: handler(aka watchHandler) [/Users/levibostian/code/levibostian.com/node_modules/nuxt/dist/nuxt.js:1145] [pc=0x18eedb467a6c] (this=0x221676920771 <a Watching with map 0x7a...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/usr/local/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]
 4: v8::internal::Factory::NewRawOneByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
 5: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
 6: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
 7: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
 8: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
 9: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
10: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
11: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
12: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
13: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
14: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
15: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
16: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
17: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
18: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
19: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
20: v8::internal::Handle<v8::internal::String> v8::internal::JsonParser<false>::SlowScanJsonString<v8::internal::SeqOneByteString, unsigned char>(v8::internal::Handle<v8::internal::String>, int, int) [/usr/local/bin/node]
21: v8::internal::JsonParser<false>::ParseJsonValue() [/usr/local/bin/node]
22: v8::internal::JsonParser<false>::ParseJsonObject() [/usr/local/bin/node]
23: v8::internal::JsonParser<false>::ParseJsonValue() [/usr/local/bin/node]
24: v8::internal::JsonParser<false>::ParseJsonObject() [/usr/local/bin/node]
25: v8::internal::JsonParser<false>::ParseJsonValue() [/usr/local/bin/node]
26: v8::internal::JsonParser<false>::ParseJson() [/usr/local/bin/node]
27: v8::internal::Runtime_ParseJson(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
28: 0x18eeca0092a7
29: 0x18eedabf5ac1
30: 0x18eeca009895
31: 0x18eedb467a6c

Can you upgrade to latest version, I've just released it and updated docs, as well. Get back to me if you still experience the same problem.

Ok, I will upgrade when I can.
It seems to happen on my machine after the 2nd time building the site. I can build the site once, browse the site no problem. Once I edit something on the site and have nuxtjs kick off a new build, that is when I get the crash.

I have upgraded to the newest version and will see if I can cause this exception to happen again. I will check back with updates.

Update: For my nuxtjs site, I have a branch that has all of the same markdown content, but is not using nuxtent. I am still getting this error.
Must be a nuxtjs error?

Closing issue assuming it's a duplicate of https://github.com/nuxt/nuxt.js/issues/270 and issue with node.


[IMPROVEMENT] Implement a full regression suite for ROBOT e2e test cases like the integration test

Is your improvement request related to a feature? Please describe (👍 if you like this request)

Implement

[ ] a full regression suite for ROBOT e2e test cases like the integration test and we can include this suit in the daily runs.
[ ] separate the suites for negative testing and regression testing
[ ] regularly run the full negative testing suite once every two weeks, aligned with sprint image releases.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

cc @yangchiu @c3y1huang @khushboo-rancher @innobead

Since the @longhorn/qa are migrating the current regression to Robot cases, I suggest we should also start having the suit in the daily runs, like the current regression.

For negative testing, it might be hard to have a full regression due to the long execution time? Or we should have a suite for mandatory tests?

or negative testing, it might be hard to have a full regression due to the long execution time? Or we should have a suite for mandatory tests?

Could we separate the suites for negative testing and regression testing?

For negative testing, it might be hard to have a full regression due to the long execution time? Or we should have a suite for mandatory tests?

Could we separate the suites for negative testing and regression testing?

Agree. Currently, we are mixing them together.

In addition, can we also regularly run the full negative testing suite at least once every week or every two weeks? Only running it during the RC stage and attempting to fix issues in a limited time frame is very risky.

In addition, can we also regularly run the full negative testing suite at least once every week or every two weeks? Only running it during the RC stage and attempting to fix issues in a limited time frame is very risky.

I agree. I feel negative test failures normally highlight issues that require more time for investigation. Periodical runs help with earlier detection, which buys more time for the developers.
I vote for every two weeks based on the sprint images release.

All tasks are summarized in https://github.com/longhorn/longhorn/issues/9679#issue-2596199827. Thanks.

I suggest running for every two weeks, aligned with sprint image releases.

Sounds good

separate the suites for negative testing and regression testing

I marked the task as completed because we follow adding the negative tests and regression tests separately in robot already. - https://github.com/longhorn/longhorn-tests/tree/master/e2e/tests


[BI-997 BI-1061] Update Trait Import

Ontology Changes

Replace "Trait" with "Ontology" in Trait Import
Alter table columns in Trait Import according to specifications

Linked to PR taf/BI-997

Moved changes to cleaner PR https://github.com/Breeding-Insight/bi-web/pull/125


chore: update changelog

What issue(s) does this PR address? Describe and add issue numbers, if applicable.
#238 (update change log on the checklist)

[x] Link issue on pull request -

What tests have been done? Upload any model input files created for testing in a zip file, if possible.
n/a
What tests/review still need to be done? Who can do it, and by when is it needed (ideally)?
@Rick-Methot-NOAA should check entries and push wording changes as needed.
Check which is true. This PR requires:

[ ] Changes in r4ss
[ ] Changes to SS3 manual
[ ] Changes to SSI (the SS3 GUI)
[ ] An entry in the stock synthesis change log (new features, bug reports)

Describe any changes in r4ss/SS3 manual/SSI/change log that are needed (if checked): n/a
Additional context
Added lines in the change log for the following issues:

Fix   summary biomass sd so will work
Remove   deprecated selectivity patterns
Fix   lengthcomp superperiods so work with retrospectives
Fix   mirroring dispersion tag parameters

"chore", what an apt label.   Descriptions updated and ready to go.

haha, I saw someone use it on FIMS!


make sd-image fails

Hello,
i tried to create an sd image for the banana pi, i checked out master branch (revison: fe036dd0e76949f40c90b7c080f6c548804d5d76)
and run make sd-build. I get  following error:
Saving to: 'linux-u-boot-next-bananapi_4.83_armhf.deb'

     0K .......... .......... .......... .......... .......... 29%  249K 0s
    50K .......... .......... .......... .......... .......... 58%  458K 0s
   100K .......... .......... .......... .......... .......... 87%  458K 0s
   150K .......... ..........                                 100% 7.27M=0.4s

2016-02-21 13:42:48 (404 KB/s) - 'linux-u-boot-next-bananapi_4.83_armhf.deb' saved [174578/174578]

Selecting previously unselected package linux-dtb-next-sunxi.
(Reading database ... 14010 files and directories currently installed.)
Preparing to unpack linux-dtb-next-sunxi_4.83_armhf.deb ...
Unpacking linux-dtb-next-sunxi (4.83) ...
dpkg-deb: error: `linux-firmware-image-next-sunxi_4.83_armhf.deb' is not a debian format archive
dpkg: error processing archive linux-firmware-image-next-sunxi_4.83_armhf.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
dpkg-deb: error: `linux-headers-next-sunxi_4.83_armhf.deb' is not a debian format archive
dpkg: error processing archive linux-headers-next-sunxi_4.83_armhf.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Selecting previously unselected package linux-image-next-sunxi.
Preparing to unpack linux-image-next-sunxi_4.83_armhf.deb ...
Unpacking linux-image-next-sunxi (4.83) ...
Selecting previously unselected package linux-u-boot-bananapi-next.
Preparing to unpack linux-u-boot-next-bananapi_4.83_armhf.deb ...
Unpacking linux-u-boot-bananapi-next (4.83) ...
Setting up linux-dtb-next-sunxi (4.83) ...
Setting up linux-image-next-sunxi (4.83) ...
Setting up linux-u-boot-bananapi-next (4.83) ...
Errors were encountered while processing:
 linux-firmware-image-next-sunxi_4.83_armhf.deb
 linux-headers-next-sunxi_4.83_armhf.deb
bin boot dev etc home lib linux-dtb-next-sunxi_4.83_armhf.deb linux-firmware-image-next-sunxi_4.83_armhf.deb linux-firmware-image-next-sunxi_4.83_armhf.deb.1 linux-headers-next-sunxi_4.83_armhf.deb linux-headers-next-sunxi_4.83_armhf.deb.1 linux-image-next-sunxi_4.83_armhf.deb linux-u-boot-next-bananapi_4.83_armhf.deb media mnt opt proc root run sbin srv sys tmp usr var
+ umount -l /build/dev/pts
+ umount -l /build/dev
+ umount -l /build/proc
+ umount -l /build/sys
+ rm -rf /build/dev/console /build/dev/core /build/dev/fd /build/dev/full /build/dev/kmem /build/dev/loop0 /build/dev/loop1 /build/dev/loop2 /build/dev/loop3 /build/dev/loop4 /build/dev/loop5 /build/dev/loop6 /build/dev/loop7 /build/dev/mem /build/dev/null /build/dev/port /build/dev/ptmx /build/dev/pts /build/dev/ram /build/dev/ram0 /build/dev/ram1 /build/dev/ram10 /build/dev/ram11 /build/dev/ram12 /build/dev/ram13 /build/dev/ram14 /build/dev/ram15 /build/dev/ram16 /build/dev/ram2 /build/dev/ram3 /build/dev/ram4 /build/dev/ram5 /build/dev/ram6 /build/dev/ram7 /build/dev/ram8 /build/dev/ram9 /build/dev/random /build/dev/shm /build/dev/stderr /build/dev/stdin /build/dev/stdout /build/dev/tty /build/dev/tty0 /build/dev/urandom /build/dev/zero '/build/sys/*' '/build/proc/*'
+ tar -czf /image_with_kernel_boot.tar.gz -C /build/boot .
+ rm -Rf /build/boot
+ tar -czf /image_with_kernel_root.tar.gz -C /build .
+ '[' '!' -f /workspace/rpi-raw.img.zip ']'
+ unzip -p /workspace/rpi-raw.img
[/workspace/rpi-raw.img.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
make: *** [sd-image] Error 9

I think its not important, but anyway: On my first try it stock while executing some wget command, but didnt got that problem after retrying.
Any help is appreciated

Currently this repo is work in progress and not completed yet.
But you can test the very rough Description of the manual-build branch
(Dockerfile.manual and README_manual.md)
Right now this manual-build branch uses an old 3.4 kernel so docker is not fully supported.


Update monitoring-partners.md

Hello,
I wanted to suggest an update to this article for including the SIGNL4 alert notification service for AM.
https://www.signl4.com/blog/mobile-alert-notifications-azure-monitor/
https://www.signl4.com/
I have however no repository permission to upload a logo.
Best regards,
René

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@ReneBormann : Thanks for your contribution to the Azure documentation! The author, @johnkemnetz, has been notified to review your proposed change.

@johnkemnetz John, can you take a look at this proposed change?  Any problems with adding SIGNL4 as a partner.

Hello,
has anyone got the chance to review the proposed change?
Thanks,
René

@johnkemnetz John, can you take a look at this proposed change again? Any problems with adding SIGNL4 as a partner.

@ReneBormann -- could you reach out to me over email<EMAIL_ADDRESS>with the logo and details you'd like to see? It's easier for me to update the article that way so that I can make sure things show up right.

This update was made via a private branch merge #please-close


Dynamic addr for listen

Suggested option to https://github.com/Leon-Africa/zkp/issues/1
Needs justification.

So instead of hard-coded addr take in addr as param on build.
With that said needs justification as container benefits would take precedence for greater reach across systems.

Favour https://github.com/Leon-Africa/zkp/issues/1. Also note idea is not just to exec but optimize for automation i.e automated load testing of validation in login, etc.