error: failed to run custom build command for oslog v0.2.0

A very simple question : I have no major problems on iOS, but my tries always fall on Android because it does not find my lib (libtau.so).
My questions are :

who creates this lib, and where must it be placed,
is there somewhere where I can read how the setup is done on Android (I did not find informations on frb doc)
have I to do something so that this lib will be integrated in my project (My project is a FFI plugin)

I Added these lines in my build.gradle :

// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
apply from: "../cargokit/gradle/plugin.gradle"

cargokit {
    manifestDir = "../rust"
    libname = "tau"
}
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

And now I cannot compile :
Please choose one (or "q" to quit): 1
Launching lib/main.dart on sdk gphone16k arm64 in debug mode...
INFO: Precompiled binaries are disabled
INFO: Building tau for aarch64-linux-android
SEVERE: ================================================================================
SEVERE: Cargokit BuildTool failed with error:
SEVERE: --------------------------------------------------------------------------------
SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/Volumes/mac-J/larpoux/projmac/tau/tau_rust/rust/Cargo.toml" "-p" "tau" "--target" "aarch64-linux-android" "--target-dir" "/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build"
SEVERE: Returned Exit Code: 101
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDOUT:
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDERR:
SEVERE: Compiling log v0.4.22
SEVERE:    Compiling serde_json v1.0.120
SEVERE:    Compiling serde-value v0.6.0
SEVERE:    Compiling serde_yaml v0.8.26
SEVERE:    Compiling oslog v0.2.0
SEVERE:    Compiling arc-swap v1.7.1
SEVERE:    Compiling no_denormals v0.1.2
SEVERE:    Compiling convert_case v0.5.0
SEVERE: The following warnings were emitted during compilation:
SEVERE:
SEVERE: warning<EMAIL_ADDRESS>wrapper.c:1:10: fatal error: 'os/log.h' file not found
SEVERE: warning<EMAIL_ADDRESS>#include <os/log.h>
SEVERE: warning<EMAIL_ADDRESS>         ^~~~~~~~~~
SEVERE: warning<EMAIL_ADDRESS>1 error generated.
SEVERE:
SEVERE: error: failed to run custom build command for `oslog v0.2.0`
SEVERE:
SEVERE: Caused by:
SEVERE:   process didn't exit successfully: `/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build/debug/build/oslog-97669f303f47878b/build-script-build` (exit status: 1)
SEVERE:   --- stdout
SEVERE:   OUT_DIR = Some(/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build/aarch64-linux-android/debug/build/oslog-9f501ce24124e580/out)
SEVERE:   TARGET = Some(aarch64-linux-android)
SEVERE:   OPT_LEVEL = Some(0)
SEVERE:   HOST = Some(aarch64-apple-darwin)
SEVERE:   cargo:rerun-if-env-changed=CC_aarch64-linux-android
SEVERE:   CC_aarch64-linux-android = Some(/Volumes/mac-J/larpoux/android-sdk-macosx/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang)
SEVERE:   RUSTC_WRAPPER = None
SEVERE:   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
SEVERE:   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
SEVERE:   CRATE_CC_NO_DEFAULTS = None
SEVERE:   DEBUG = Some(true)
SEVERE:   cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
SEVERE:   CFLAGS_aarch64-linux-android = Some(--target=aarch64-linux-android21)
SEVERE:   cargo:warning=wrapper.c:1:10: fatal error: 'os/log.h' file not found
SEVERE:   cargo:warning=#include <os/log.h>
SEVERE:   cargo:warning=         ^~~~~~~~~~
SEVERE:   cargo:warning=1 error generated.
SEVERE:
SEVERE:   --- stderr
SEVERE:
SEVERE:
SEVERE:   error occurred: Command "/Volumes/mac-J/larpoux/android-sdk-macosx/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" "-O0" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-linux-android" "--target=aarch64-linux-android21" "-o" "/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build/aarch64-linux-android/debug/build/oslog-9f501ce24124e580/out/d1fba762150c532c-wrapper.o" "-c" "wrapper.c" with args clang did not execute successfully (status code exit status: 1).
SEVERE:
SEVERE:
SEVERE: warning: build failed, waiting for other jobs to finish...
SEVERE: --------------------------------------------------------------------------------
SEVERE: #0      runCommand (package:build_tool/src/util.dart:118:5)
SEVERE: #1      RustBuilder.build (package:build_tool/src/builder.dart:139:5)
SEVERE: <asynchronous suspension>
SEVERE: #2      ArtifactProvider.getArtifacts (package:build_tool/src/artifacts_provider.dart:68:25)
SEVERE: <asynchronous suspension>
SEVERE: #3      BuildGradle.build (package:build_tool/src/build_gradle.dart:32:23)
SEVERE: <asynchronous suspension>
SEVERE: #4      BuildGradleCommand.runBuildCommand (package:build_tool/src/build_tool.dart:62:5)
SEVERE: <asynchronous suspension>
SEVERE: #5      BuildCommand.run (package:build_tool/src/build_tool.dart:34:5)
SEVERE: <asynchronous suspension>
SEVERE: #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
SEVERE: <asynchronous suspension>
SEVERE: #7      runMain (package:build_tool/src/build_tool.dart:248:5)
SEVERE: <asynchronous suspension>
SEVERE: --------------------------------------------------------------------------------
SEVERE: BuildTool arguments: [build-gradle]
SEVERE: ================================================================================

FAILURE: Build failed with an exception.

* Where:
Script '/Volumes/mac-J/larpoux/projmac/tau/tau_rust/cargokit/gradle/plugin.gradle' line: 65

* What went wrong:
Execution failed for task ':tau:cargokitCargoBuildTauDebug'.
> Process 'command '/Volumes/mac-J/larpoux/projmac/tau/tau_rust/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s
Running Gradle task 'assembleDebug'...                             31.3s
Error: Gradle task assembleDebug failed with exit code 1

But perhaps I can find the solution by myself. Sorry to polluate your server

Hi, what about trying this recently added feature: https://cjycode.com/flutter_rust_bridge/quickstart

Then a flutter package can be auto created.
Since you have existing code, one way may be create a new flutter package using that command, and then migrate the existing code to there.

I am sorry to bother you again, but I need help.
I created a new App using https://cjycode.com/flutter_rust_bridge/quickstart.
It works fine on iOS, but it feels on Android because it is not able to load libtau.so.
I checked that there are 3 files in my apk :

./lib/x86/libtau.so
./lib/arm64-v8a/libtau.so
./lib/x86_64/libtau.so

The falling is :
  @patch
  factory DynamicLibrary.open(String path) {
    return _open(path);
  }

And the value of path is libtau.so.
Probably I should ask help to people maintaining FFI and not to FRB people ?

Firstly, what android architecture are you using? (e.g. if it is 32bit arm then the file will not be there). Secondly, does the quickstart without any modification works (then we should check what change make it fail), or it does not work?

I use an Android emulator running Android Api 35  arm64-v8a.
No, I just run the app created with https://cjycode.com/flutter_rust_bridge/quickstart without doing any modification.

Hmm that's weird. We do test it on CI: https://github.com/fzyzcjy/flutter_rust_bridge/blob/9e5c6e54723700e8436bc76016173e0391befa8e/.github/workflows/ci.yaml#L761.

This is my command line:
flutter_rust_bridge_codegen create tau --org xyz.canardoux  --template plugin

I think that's pretty reasonable. Could you please try to run https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/flutter_package directly?

Could you please try to run https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/flutter_package directly?

I get this error :
Running Gradle task 'assembleDebug'...
../../../frb_dart/lib/src/platform_types/platform_types.dart:4:2: Error: Undefined name 'internal'.
@internal
 ^^^^^^^^
../../../frb_dart/lib/src/platform_types/platform_types.dart:4:2: Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.
@internal
 ^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Volumes/mac-J/larpoux/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s
Error: Gradle task assembleDebug failed with exit code 1

Hmm... Are you using latest flutter/dart version?

larpoux@Mac-mini:~/projmac/toto/papa$ dart --version
Dart SDK version: 3.4.4 (stable) (Wed Jun 12 15:54:31 2024 +0000) on "macos_arm64"
larpoux@Mac-mini:~/projmac/toto/papa$ flutter channel
Flutter channels:
  master (latest development branch, for contributors)
  main (latest development branch, follows master channel)
  beta (updated monthly, recommended for experienced users)
* stable (updated quarterly, for new users and for production app releases)
larpoux@Mac-mini:~/projmac/toto/papa$ flutter --version
Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0850beeb2 (3 weeks ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3
larpoux@Mac-mini:~/projmac/toto/papa$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc3)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.91.1)
[✓] Connected device (5 available)
[✓] Network resources

• No issues found!

I switched to the Main Flutter Channel but it's not better

I am indeed confused about the flutter compilation error, since dart is cross platform, and that example repo is always tested using ci on multiple platforms...

I tried also https://github.com/irondash/hello_rust_ffi_plugin, and the problem is same.

I wonder if the problem is that it is looking for
lib/arm64/libhello_rust_ffi_plugin.so
instead of
arm64-v8a/libhello_rust_ffi_plugin.so

Yes that looks reasonable - if the folder name is wrong then it should fail. Maybe this can be asked on cargokit?

Thank you @fzyzcjy  for the help. 💯
I created a new virtual machine under Android API 33, and it runs fine 😄
I do not understand what happened with my my emulator under API 35, but I don't care.
Now I am going to try τ (Tau) under Android. Thank you again.

Now, I am back on τ .
I have again this following error:
I remember that my first tries on Android, several month ago, gave also this error.
I more or less remember that I was able to turn around this, with a copy of log.h somewhere.
I am going to do that again, but I want you to know this issue.
INFO: Precompiled binaries are disabled
INFO: Building tau for aarch64-linux-android
SEVERE: ================================================================================
SEVERE: Cargokit BuildTool failed with error:
SEVERE: --------------------------------------------------------------------------------
SEVERE: External Command: rustup "run" "stable" "cargo" "build" "--manifest-path" "/Volumes/mac-J/larpoux/projmac/tau/tau_rust/rust/Cargo.toml" "-p" "tau" "--target" "aarch64-linux-android" "--target-dir" "/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build"
SEVERE: Returned Exit Code: 101
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDOUT:
SEVERE: --------------------------------------------------------------------------------
SEVERE: STDERR:
SEVERE: Compiling oslog v0.2.0
SEVERE:    Compiling web-audio-api v1.0.0-rc.6
SEVERE:    Compiling flutter_logger v0.6.1
SEVERE:    Compiling extend v1.2.0
SEVERE:    Compiling sink v0.1.0
SEVERE: The following warnings were emitted during compilation:
SEVERE:
SEVERE: warning<EMAIL_ADDRESS>wrapper.c:1:10: fatal error: 'os/log.h' file not found
SEVERE: warning<EMAIL_ADDRESS>#include <os/log.h>
SEVERE: warning<EMAIL_ADDRESS>         ^~~~~~~~~~
SEVERE: warning<EMAIL_ADDRESS>1 error generated.
SEVERE:
SEVERE: error: failed to run custom build command for `oslog v0.2.0`
SEVERE:
SEVERE: Caused by:
SEVERE:   process didn't exit successfully: `/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build/debug/build/oslog-97669f303f47878b/build-script-build` (exit status: 1)
SEVERE:   --- stdout
SEVERE:   OUT_DIR = Some(/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build/aarch64-linux-android/debug/build/oslog-9f501ce24124e580/out)
SEVERE:   TARGET = Some(aarch64-linux-android)
SEVERE:   OPT_LEVEL = Some(0)
SEVERE:   HOST = Some(aarch64-apple-darwin)
SEVERE:   cargo:rerun-if-env-changed=CC_aarch64-linux-android
SEVERE:   CC_aarch64-linux-android = Some(/Volumes/mac-J/larpoux/android-sdk-macosx/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang)
SEVERE:   RUSTC_WRAPPER = None
SEVERE:   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
SEVERE:   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
SEVERE:   CRATE_CC_NO_DEFAULTS = None
SEVERE:   DEBUG = Some(true)
SEVERE:   cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
SEVERE:   CFLAGS_aarch64-linux-android = Some(--target=aarch64-linux-android21)
SEVERE:   cargo:warning=wrapper.c:1:10: fatal error: 'os/log.h' file not found
SEVERE:   cargo:warning=#include <os/log.h>
SEVERE:   cargo:warning=         ^~~~~~~~~~
SEVERE:   cargo:warning=1 error generated.
SEVERE:
SEVERE:   --- stderr
SEVERE:
SEVERE:
SEVERE:   error occurred: Command "/Volumes/mac-J/larpoux/android-sdk-macosx/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" "-O0" "-DANDROID" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "--target=aarch64-linux-android" "--target=aarch64-linux-android21" "-o" "/Volumes/mac-J/larpoux/projmac/tau/tau_rust/example/build/tau/build/aarch64-linux-android/debug/build/oslog-9f501ce24124e580/out/d1fba762150c532c-wrapper.o" "-c" "wrapper.c" with args clang did not execute successfully (status code exit status: 1).
SEVERE:
SEVERE:
SEVERE: warning: build failed, waiting for other jobs to finish...
SEVERE: --------------------------------------------------------------------------------
SEVERE: #0      runCommand (package:build_tool/src/util.dart:118:5)
SEVERE: #1      RustBuilder.build (package:build_tool/src/builder.dart:139:5)
SEVERE: <asynchronous suspension>
SEVERE: #2      ArtifactProvider.getArtifacts (package:build_tool/src/artifacts_provider.dart:68:25)
SEVERE: <asynchronous suspension>
SEVERE: #3      BuildGradle.build (package:build_tool/src/build_gradle.dart:32:23)
SEVERE: <asynchronous suspension>
SEVERE: #4      BuildGradleCommand.runBuildCommand (package:build_tool/src/build_tool.dart:62:5)
SEVERE: <asynchronous suspension>
SEVERE: #5      BuildCommand.run (package:build_tool/src/build_tool.dart:34:5)
SEVERE: <asynchronous suspension>
SEVERE: #6      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
SEVERE: <asynchronous suspension>
SEVERE: #7      runMain (package:build_tool/src/build_tool.dart:248:5)
SEVERE: <asynchronous suspension>
SEVERE: --------------------------------------------------------------------------------
SEVERE: BuildTool arguments: [build-gradle]
SEVERE: ================================================================================

FAILURE: Build failed with an exception.

* Where:
Script '/Volumes/mac-J/larpoux/projmac/tau/tau_rust/cargokit/gradle/plugin.gradle' line: 65

* What went wrong:
Execution failed for task ':tau:cargokitCargoBuildTauDebug'.
> Process 'command '/Volumes/mac-J/larpoux/projmac/tau/tau_rust/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 33s
Error: Gradle task assembleDebug failed with exit code 1

Sorry, guys and girls.
My previous problem was not with FRB.
But because I had in my Cargo.toml : oslog = "0.2.0".
Sorry to have disturb you

Happy to see it works and it's OK, no worries!

Btw to have logs, IIRC frb already auto provide a simple logging solution (at least good for debugging), so no need for oslog by default

Good day for me. I am able to compile/link/and run web-audio-api-rs both on Android and iOS.
Web-Audio-API-RS  actually doesn't work on Android but this is not a FRB problem.

That looks great!


More documentation, please?

Could you add more documentation or example code to illustrate how this lib can be used?
Saw this project on a thread in r/Clojure, and it looks really nice!
Simple examples of core features would be nice, like reactives, protocols, etc.

I will put out some examples in the near future.  Stay tuned.
I've been using this library for years now, privately, and never really released it.  I was trying to avoid the open source maintenance shackles.  Plus, I've made some pretty dramatic changes.
I think my code is descent.  It certainly works!  But this was my personal way of using Rich Hickey's ideas online, without transpilation.  In a way, I guess I hoped someone might see it and be inspired to take things to the next level.

In the meantime, here are some examples to investigate:
https://github.com/mlanza/todo
https://github.com/mlanza/treasure-quest
https://github.com/mlanza/pickomino

Thank you for taking the time! 🙏🏽
Will have a look when I can!

I added a bit more to the main README.

I have refined the main README again and cited 3 examples which are none too big and sufficient enough in themselves to help someone see how to develop an app.  The big concept is starting with a functional core (pure code) and finishing with an imperative shell (impure ui).
I will gradually refine the docs.  Understand that I created this library for my personal and professional use and that I haven't followed the typical open source path.  So while it's mostly invisible to a wider audience that's not saying it isn't good or that it's not prod ready.  It's been used in prod for years.
I'm just not taking enhancement requests.  Consider Clojure itself.  After a few of its big developments like core.async and spec it's relatively stable.  But the fact it's not continually adding newness doesn't means it's not good.
I'm just one person with a family.  I peeked in on underscorejs and lodash over the years and those guys have been swamped with endless requests and those are just small libraries by comparison.  I could never keep up with that kind of activity.
That said, understand that gradually tailoring this for my own use has been great.  I'm not stressed by the ever-changing technological landscape.  I mention this only to say if you managed your own fork you'd be essentially doing what I've been happily doing for nearly a decade.
I will support fixes and optimizations, but at this point it's not equipped to handle lots of change and ensure safety for everyone downstream.  I'd need a team for that.

Thank you for your work, and for sharing this library!
It looks great, and I will definitely be using it in my personal projects!


Migrate Linux-based interfaces from project-81's firwmare repo

Sources: https://github.com/project-81/firmware/tree/master/src/boards/native.
We want to start building a graphical interface right away I think

We could maybe use https://github.com/vkottler/coral/issues/4 to implement a keyboard-input + terminal-output handling interface?

Now that we're using this in active firmware projects, we should consider splitting off any Linux-specific code to its own package / project. (need to think of a good name!)

Working on JSON-messsaging stdio app.


Oraxle XE install script doesn't work

Perhaps the zip I'm providing is incorrect, but I noticed the oraclexe.sh install script tries to cd into a Disk1 and later on the response directory after unzipping the RPM.
These paths don't appear to exist in the RPM. The links provided in the readme leads to a direct rpm download (no zip). Seeing this, I simply zipped the rpm so the build script wouldn't fail, but this didn't seem to do the trick.
Can somebody help me track down the correct download link for oracle-xe?

@ch-tactica You shouldn't have to do any of that if you're doing an OXAR installation...
OXAR scripts will unzip and install Oracle XE for you.
I wonder if you're trying to do something you shouldn't (In the context of OXAR)
The  download link for Oracle XE 11gR2 is:
https://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/xe-prior-releases-5172097.html


Documentations

Add a table that shows the performance.

Add a link to OMEinsumContractionOrders.jl in README.

https://github.com/openjournals/joss-reviews/issues/7098#issuecomment-2281995862

documentation added, see https://arrogantgao.github.io/TreeWidthSolver.jl/stable/


DNN module, old style .prototxt file parser

When try use dnn::createCaffeImporter with .prototxt file, where input layer is declare as
name: "CaffeNet" layer {   name: "data"   type: "Input"   top: "data"   input_param { shape: { dim: 1 dim: 3 dim: 64 dim: 64 } } }
throw a exception about input_param. Walk around this problem is change this to
name: "CaffeNet" input: "data" input_dim: 1  input_dim: 3  input_dim: 64  input_dim: 64, but this make problem with developing caffe in openCV. I think some change goes in caffe.proto.

Hello, @CrazyBaran
Can you get link to provided .prototxt?
It's very strange, since GoogleNet works fine with similar shape declaration:

name: "GoogleNet"
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 10 dim: 3 dim: 224 dim: 224 } }
}

BTW, Top-level input_dim fields (and even input) can be painlessly removed.
They are redundant since you set shape of net input making net.setBlob(".data", inputBlob);


fix:fix msgpack dep

Motivation:
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

Codecov Report

Merging #803 into master will increase coverage by 0.11%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #803      +/-   ##
============================================
+ Coverage     71.73%   71.85%   +0.11%
- Complexity     1081     1085       +4
============================================
  Files           376      376
  Lines         15415    15415
  Branches       2465     2465
============================================
+ Hits          11058    11076      +18
+ Misses         3078     3062      -16
+ Partials       1279     1277       -2

Impacted Files
Coverage Δ
Complexity Δ

...ipay/sofa/rpc/tracer/sofatracer/RpcSofaTracer.java
89.75% <0%> (+0.9%)
0% <0%> (ø)
:arrow_down:

.../main/java/com/alipay/sofa/rpc/event/EventBus.java
72.54% <0%> (+1.96%)
0% <0%> (ø)
:arrow_down:

...ipay/sofa/rpc/server/bolt/BoltServerProcessor.java
70.14% <0%> (+5.22%)
27% <0%> (+3%)
:arrow_up:

...java/com/alipay/sofa/rpc/module/LookoutModule.java
85.71% <0%> (+33.33%)
4% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


How to use module in computed ?

Version
nuxt-i18n: ^6.18.0
nuxt: ^2.14.6
Nuxt configuration
mode:

[X] universal
[] spa

Nuxt-i18n configuration
  i18n: {
    locales: [
      {
        code: 'en',
        file: 'en.js'
      },
      {
        code: 'ru',
        file: 'ru.js'
      }
    ],
    lazy: true,
    langDir: 'i18n/',
    defaultLocale: 'en',
    vueI18n: {
      fallbackLocale: 'en',
    }
  },

What is Expected?
I want to use module in computed.
    computed: {
      items: [
        {
          id: 1,
          name: this.$i18n.t("Value"),
        },

I use components like this:
SpecificationSection: () => import('@/components/pages/instruments/SpecificationSection'),

What is actually happening?
I have error:
 ERROR  [Vue warn]: Failed to resolve async component: () => __webpack_require__.e(/*! import() */ 75).then(__webpack_require__.bind(null, /*! @/components/pages/instruments/SpecificationSection */ "./client/components/pages/instruments/SpecificationSection.vue"))                                               10:48:07
Reason: TypeError: Cannot read property '$i18n' of undefined

Computed properties are supposed to be functions, not plain objects.
    computed: {
      items() {
        return [
          {
            id: 1,
            name: this.$i18n.t("Value"),
          }
        ]
      }
    }

Computed properties are supposed to be functions, not plain objects.
    computed: {
      items() {
        return [
          {
            id: 1,
            name: this.$i18n.t("Value"),
          }
        ]
      }
    }


Don't call _tuple_from_tuple_or_dict directly, but got thrown an intermediate function

Don't call _tuple_from_tuple_or_dict, but go through an intermediate function for each possible type that knows the names of the arguments and what their defaults are.  No need to duplicate code. This fixes default arguments for Extend3d, Blend, and Origin3D.  Color (which requires all four components) is handled, too.
Update _tuple_from_tuple_or_dict so that it can handle a list of default results.
Add lots of tests.
Fix one typo that is user visible.
Partial fix for #526.

Sigh.  Black was turning a couple of lines into an ugly mess.  I was able to find a compromise that made both me and the reformatter happy.

Hmm.  I fixed the codegen test pass, but that caused the approval to become stale.  Please re-approve.


ci: upgrade GH workflows and fix markdown linting

fixes: https://github.com/asyncapi/spec/issues/940
additionally:

removed mlc_config.json that was no longer needed as we removed links validation for now
linter workflow did not work for soooooo longggggg -> https://github.com/asyncapi/spec/actions/runs/5738753612/job/15552977211. So I introduced another too, and did some basic fixes in markdown (headers and white spaces)

ok, new linter workflow works, and fails if error simulated (I made changes in config) https://github.com/asyncapi/spec/actions/runs/5739972585/job/15556776030?pr=958

@jonaslagoni how is this affecting 3.0 work? I guess the problem might be with the asyncapi.md document only, right?

@jonaslagoni you mean headings and whitespaces?

whitespaces dunno, but it was easy as autofixed with --fix flag
headings -> is was actually strange the h difference that causes such strange indent in TOC

@derberg once this is merged I would assume we can discard any of the asyncapi.md changes and just run the same markdown lint again and commit that, right?

So a manual merge commit is needed for sure yea

Can we proceed merging this? cc @derberg @jonaslagoni Is anything else missing?

@smoya yep, just need your review 😄


OOP school library: refactor your code

Project requirements

Make sure YAGNI, KISS, and DRY rules and Ruby style guide are respected.
Follow SOLID principles.
Pay special attention to the "Single-responsiblity Principle".

Make sure that the role of main.rb is only to start your code.
Extract some pieces of logic into separate class(es).

@t-yanick Thanks for the approval.


About ego-vehicle reset delay

https://github.com/huawei-noah/SMARTS/issues/1407#issuecomment-1111605607

Then the problem is the following even if we get the traffic_history_provider to move to a different time:
>> ## assuming first agent mission start time is 0
>> start_time = 10
>> traffic_history_provider = smarts.get_provider_by_type(TrafficHistoryProvider)
>> traffic_history_provider.start_time = start_time
>> smarts_obs = smarts.reset(scenario) # <-- issue occurs here and does not return immediately
>> thp_time = start_time + smarts.elapsed_sim_time
>> expected_time = start_time + smarts.fixed_timestep_sec
>> assert thp_time <= expected time
~AssertionError 10.5 <= 10.1```

The ego-vehicle-reset problem still exists after the update https://github.com/huawei-noah/SMARTS/pull/1412.
Why can't smarts return the ego-vehicle immediately? What is happening during the time?
I also observe that the delay times are different for different ego-vehicles (for about 0.2s ~ 1.xx s). Can we eliminate this delay time? The time delay is harmful since traffic-history-based vehicles are still running.

This seems surprising to me. I would expect the maximum time difference to take over the first ego-vehicle to be a single simulation step (0.1s) by default.
One thing now is that you should no longer set the following line or it will desynchronize the simulation with the traffic history:
traffic_history_provider.start_time = start_time # < remove this line if it exists
smarts.reset(scenario, start_time) # use this instead

After which the following should hold true as long as using default_entry_tactic(..):
missions = scenario.history_missions_for_window(10, 30, 10)
s = random.sample(missions, 3)
start_time = min(m.start_time for m in missions)
logger.info(f"Simulation start time is: {start_time}") # > "Simulation start time is: 10.4
smarts_obs = smarts.reset(scenario, start_time=start_time)
assert smarts.elapsed_sim_time == start_time + smarts.fixed_timestep_sec

On further reflection, I can think of one potential edge case of inaccurate vehicle capture if multiple agents are involved. I will look into it now.

This seems surprising to me. I would expect the maximum time difference to take over the first ego-vehicle to be a single simulation step (0.1s) by default.
One thing now is that you should no longer set the following line or it will desynchronize the simulation with the traffic history:
traffic_history_provider.start_time = start_time # < remove this line if it exists
smarts.reset(scenario, start_time) # use this instead

After which the following should hold true as long as using default_entry_tactic(..):
missions = scenario.history_missions_for_window(10, 30, 10)
s = random.sample(missions, 3)
start_time = min(m.start_time for m in missions)
logger.info(f"Simulation start time is: {start_time}") # > "Simulation start time is: 10.4
smarts_obs = smarts.reset(scenario, start_time=start_time)
assert smarts.elapsed_sim_time == start_time + smarts.fixed_timestep_sec

I know that, what I am using is exactly the new inferface, but the problem still exists.
In my experiments, only one ego-vehicle is specified in each scenario.

Is the problem reproducible in your experiment？

Is the problem reproducible in your experiment？
I have reproduced the problem and linked it back to a case I did not know existed. I am slightly surprised traffic history even worked up to this point.

I am putting up a fix now.

It still looks like there is up to a +1 step variance. I will try to hunt that issue down tomorrow.

ok, thanks for the work!

The fix is merged into develop along with changes in #1417.

@YuechengLiu This changeset merged with #1417 appeared to fix the significant delay issue for me: https://github.com/huawei-noah/SMARTS/pull/1417/commits/2c9c7a0f08c17dcc1cb30d28a23fb736c2ff294d
Could you confirm that it removes the variance that is greater than 2 steps?

@Gamenot
The PR works. There are no time delay greater than 2 steps in my experiments now.

I can confirm that there is a 1 step fixed delay. It appears like it may be a fundamental problem since the capture occurs after physics. I am working through the issue.

@YuechengLiu There is a workaround at current which will replace the vehicle at the correct time:
smarts.reset(scenario, max(0, history_start_time-smarts.fixed_timestep_sec))


Handle encoded emoji

Fixes #67
This is a draft PR, because the runtime dependency I’ve added (utf16-char-codes, provides a fromCodePoint() polyfill) doesn’t seem to be tree-shaken enough, increasing the output sizes by ~11% (from 57KB/60KB to 63KB/67KB).
Should I just add the MDN polyfill as src/from-code-point-polyfill.ts (with some annotation about its origin) or are there other options?

Should I just add the MDN polyfill as src/from-code-point-polyfill.ts (with some annotation about its origin) or are there other options?

Ya, lets do this...

@CvX - have any time to revise?


Removing which-key breaks my leader key

Describe the bug
I have gotten to the point where I no longer want popup screens or recommendations for key bindings, I have memorized all the ones I use. When I delete the which-key plugin from my config, none of my  based keybindings work anymore
To Reproduce
remove which-key plugin and resource config by closing and re-opening neovim.
try typing <leader>sf in normal mode and you will see the leader key is not being recognized anymore
Desktop

OS: macOS
Terminal: Iterm2

Neovim Version
v0.9.1

Closing, skill issue.
Which-key is abritrarily overriding timeoutlen, so I just had to explicitly increase it to achieve a similar experience without which-key.


HTML to MD bug: list won't render with text before it

Try converting the following HTML to Markdown using the stackedit app. The list won't render as a list because the converter doesn't put a new line between the intro text and list.
Some text before list

list item

Markdown output:
Some text before list
*   list item

Sorry, this feature is not supported anymore.


Deprecation of DBFile and Utils/Collector.pm

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
Review the contributing guidelines for this repository; remember in particular:

do not modify code without testing for regression
provide simple unit tests to test the changes
if you change the schema you must patch the test databases as well, see Updating the schema
the PR must not fail unit testing

Description
Using one or more sentences, describe in detail the proposed changes.
This ticket is to resolve ENSCORESW-3089
According to ENSREGULATION-280, the following core modules can be removed:
Bio/EnsEMBL/DBFile/CollectionAdaptor.pm
Bio/EnsEMBL/DBFile/FileAdaptor.pm
Bio/EnsEMBL/Utils/Collector.pm
This PR deprecates those modules for removal on Ensembl Release 100.
Use case
Describe the problem. Please provide an example representing the motivation behind the need for having these changes in place.
Benefits
If applicable, describe the advantages the changes will have.
Slimmer API.
There were no tests for this code, which means improved coverage.
Possible Drawbacks
If applicable, describe any possible undesirable consequence of the changes.
Nobody should be using this anymore, so no drawbacks.
Testing
Have you added/modified unit tests to test the changes?
No
If so, do the tests pass/fail?
Have you run the entire test suite and no regression was detected?
Yes

I'm now thinking... should the removal be on e100 or e99? not sure if it's removed on the 4th release after deprecation, or after 4 releases of deprecation (meaning the 5th release)...

Coverage increased (+0.09%) to 81.3% when pulling 388fd2fc5fd4baf0e57ca4d3a7004cbbe87ba9d6 on ENSCORESW-3089 into 41a0b0fc04a63bcddfd53bdb3aceeee7831d96dc on master.


Adds ChangeNote model

This commit adds a ChangeNote model with a foreign key on the StepByStepPage model. This enables us to build new functionality to record the changes that content designers have made to a step-by-step.
Ticket and more context
Why
Research with content designers revealed that they like being able to see the changes they've made to a step-by-step. Ultimately this will probably be similar to git versioning, but as an MVP we're just implementing change notes. They'll have an author, a timestamp, and some content, all of which are validated. This will allow content designers to track changes they're making and also externalise knowledge they have about a specific step by step.

The Publishing API has support for change notes, they're normally displayed on the content pages, but they don't have to be. Have you considered using those?

I've spoken to @cbaines and I think the publishing API is more for external-facing changenotes, while this feature request is for recording changes internal to the team. Because of that I think we need to press ahead with a local database for recording changes.


Update typse of text method parameters in docs.

A pull request for a documentation issue reported by me.

I had troubles with transform parameter. Source code says it's number | any, while docs says it's rather number | Matrix. What should we do with it?

Thanks for the PR. The type of the transform parameter is number|Matrix. Could you revert the changes in docs/jsPDF.html? The docs are auto-generated and only updated on release.

This should have been more obvious to me. I reverted the changes and updated jspdf.js annotation.

Thanks. I'll merge it.


Store the topology metric whose src_ip is from external namespace

Generate a topology gauge when the data from the server-side contains an external src IP.
This PR will close #46

There are still some problems to fix for this PR. I'll re-request review once they are fixed.---- Replied Message @.>Date02/21/2022 09:21 @.> CcDaxin<EMAIL_ADDRESS>[Kindling-project/kindling] Store the topology metric whose src_ip is from external namespace (PR #48)
@NeJan2020 approved this pull request.
LGTM
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.>
[
{
@.": "http://schema.org",
@.": "EmailMessage",
"potentialAction": {
@.": "ViewAction",
"target": "https://github.com/Kindling-project/kindling/pull/48#pullrequestreview-888123603",
"url": "https://github.com/Kindling-project/kindling/pull/48#pullrequestreview-888123603",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
@.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
    font{
        line-height: 1.6;
    }

The current implementation causes the topology metric becomes to be double when the src_ip is an internal IP but isn't a Pod IP, like NodeIP, in which case both the client-side and the server-side data are stored.
We can't just throw away the external client-side data to solve this problem because we want the data holding "EXTERNAL" both at src_namesapce and dst_namespace fields, which the server-side one can't provide. The root cause of this problem is that the value "EXTERNAL" at the namespace field is unclear as it holds two meanings. One for "the real external namespace outside the cluster" and another one for "metadata not found but inside the cluster".
The problem can be solved if we name the first meaning above as "NOT_FOUND_EXTERNAL" and name the second one as "NOT_FOUND_LOCAL".

In that case, only the client-side data with a src_ip which is equal to one of the node_ip in the cluster should use 'NOT_FOUND_LOCAL' as its src_namespace

This is the result we got after changing for topology metric. And the value is as expected with the entity metric below.

Note they have different values for field request_content.

LGTM, but this change will modify the expected output data ,need to be sync with Grafana dashboard

Right. I'll ask @thousandxu to commit changes needed according to the latest data.


Reorganize internal testing data

The internal testing folder has data from test cases that need to be moved into their respective package test files. Renaming needs to be done so that there is no confusion about what testdata is being used. Results in some cycle issues.

Closing PR as not a bug/issue. Can revisit in future if needed.


Support authconfig in createContainer

When createContainer points to Docker Swarm Manager, it can pull missing image, but it needs authconfig.

@apocas Any chance to get that merged and released anytime soon?

Will ping later today when published.

I've spotted that new version has just been released. Thank you very much.


Add a 2D DirectionalLight

Sometimes I want a direct-light with light2d simulate. But when the lightoccluder2d mask the light. It also saw like a spot-light.
Here is my light texture:

and be block looks like:

beginning on shader.

Are you suggesting a directional light node? Similar to the directional light in 3D?

@clayjohn you're right

Any progress?
May assign milestone?

@mintyleaf As 3.2 is in feature freeze, this will have to wait for 4.0 or later.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Autodetect hwasan support

Added a C source that checks if the kernel has Aarch64 tagged address ABI. CMake will then enable or disable hwasan tests depending on the result of that test in configure time.

@sylvestre could you review this please? I have tested on aarch64 hosts on rhel8 (kernel not supporting tagged address abi) and RHEL9 (kernel supporting it), to verify that CMake config correctly enable/disable the feature when expected.
These are the outputs of mkdir bld && cd bld && cmake .. && lit -v tests/test_hwasan.c (initial config checks cut for simplicity):

RHEL-9 (supported):

[...]
-- Checking for mlir-translate
-- Disabling tests related to mlir-translate
-- Checking kernel support for tagged address ABI
-- Configuring done
-- Generating done
-- Build files have been written to: /root/llvm-toolchain-integration-test-suite/bld
-- Testing: 1 tests, 1 workers --
PASS: LLVM regression suite :: test_hwasan.c (1 of 1)

Testing Time: 0.37s
  Passed: 1

RHEL-8 (unsupported):

[...]
-- Checking for mlir-translate
-- Disabling tests related to mlir-translate
-- Checking kernel support for tagged address ABI
-- Tagged address ABI disabled, disabling hwasan test(s)
-- Configuring done
-- Generating done
-- Build files have been written to: /root/llvm-toolchain-integration-test-suite/bld
-- Testing: 1 tests, 1 workers --
UNSUPPORTED: LLVM regression suite :: test_hwasan.c (1 of 1)

Testing Time: 0.11s
  Unsupported: 1

ok, thanks
we will see how it behave :)


query_df return empty dataframe

Describe the bug
when query return large amount of rows, query_df return an empty dataframe. Only occured on new release 0.8.0,works well on 0.7.19
Steps to reproduce
Easy to reproduce, when I run my query with LIMIT 100 ,it works well.
Without LIMIT 100,returns empty dataframe
Expected behaviour
Code example
import clickhouse_connect
query = f"SELECT job_id, obj_val, timestamp, payload FROM events WHERE ( obj_name = 'state' ) AND ( org_id = 1 ) AND (scope = 'update:job')"
state_df = client.query_df(query=query)

clickhouse-connect and/or ClickHouse server logs
Configuration
Environment

clickhouse-connect version:
Python version:
Operating system:

ClickHouse server

ClickHouse Server version:
ClickHouse Server non-default settings, if any:
CREATE TABLE statements for tables involved:
Sample data for these tables, use clickhouse-obfuscator if necessary

Please provide more information.  It is not "easy to reproduce" if we don't have your dataset.  How many rows are in the SELECT without the LIMIT?   Does it work if disable compression?   Does a regular query instead of query_df work?  Are there any errors in the ClickHouse server logs?


In NW.js project, print the infos in a HTML tag

How do it?

Will give you an answer, as soon as I testet it with NW.js.

@sebhildebrandt and in Electron, it is tested?

Not yet tested. But I guess, there will be problems because unter the hood, systeminformation make a lot of system call ... I play to test it end of May ...


Add Russian translation

Thank you, I will inform you when this merge is published.

Published in v5.2.0


Arrow keys doesn't work on MacOS

Describe the bug
On MacOS, arrow keys doesn't work (left / right / down / up)
Steps To Reproduce
https://github.com/tauri-apps/wry
cd wry
cargo run --example simple

Open some input, type something and then try to navigate left right with arrow keys
Or try to scroll with up / down keys.
Expected behavior
Arrow keys should work
Platform and Versions (please complete the following information):
OS: MacOS (aarch64) Sonoma 14.1
Rustc: rustc 1.75.0 (82e1608df 2023-12-21)
Additional Context
The event doesn't arrive even in the browser
It works in swiftUI multiwebview sample

same is happening with me . if anyone can help

I've tried simple and multiview examples, but the arrow keys seem to work.

@wusyong
It works for me too, even on older commit,
I'm pretty surprised.
Two possible reasons:
Maybe it got fixed in wkwebview or some non direct dependency.


Added a google services file replacer

Added a pre-build script to update the contents of a google-services.json file.
This is a bit different to other examples with a simple find/replace as it needs to remove escape characters - the Json that comes from the env var is full of " which need to be replaced with ".

Wasn't sure on the file location, so please advise if there is a better place to put this. This is applicable to all Android apps.

That's awesome, can you please add it to the TOC in the README.md?

@derpixeldan - done!

@jimbobbennett 🙌


Yi Dome Guard YRS.3019 RTSP broken on yi-hack-Allwinner-v2 0.3.2

As others experienced, RTSP broken on yi-hack-Allwinner-v2 0.3.2 for Yi Dome Guard YRS.3019.
In my case, VLC can't connect and display the stream.
Firmware Version 0.3.2
Base Version <IP_ADDRESS>_202302091435
As @Solarbotics pointed out, editing <sd>/yi-hack/model_suffix file contents to r35gb resolves the issue.
Maybe it's an issue with Base Version <IP_ADDRESS>_202302091435?
Update 1: I have another camera with Base Version <IP_ADDRESS>_202009251856, and it works just fine with VLC
However, both versions don't work with Synology Surveillance Station 9.2.0 (w/o login/password or with login/password, Fault response if unknown request: on, Synology NVR compatibility: on)
Update 2:  Base Version <IP_ADDRESS>_202009251856, hack v0.2.6 works with Synology Surveillance Station 9.2.0 with login/password
I decided to create a separate issue out of https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/484 because

that issue is an uber-issue regarding support for Yi Dome Guard YRS.3019
that issue has been closed for quite some time

I double checkde the fw versione and <IP_ADDRESS>_202302091435 refers to r30gb.
It could be a problem with the codec.
Could you please send me a copy of the frame buffer /dev/shm/fshare_frame_buf ?
About onvif, between 0.2.6 and 0.3.2 I completely changed the daemon. But I already tested Synology Surveillance Station with this new software and the test was successful.
Did you try to enable/disable the advanced options you mention above?
If it doesn't work, I need a network traffic between the cam and the Synology to check the messages.

Tested again now with DSM 7 and Surveillance 9.2.0-11289.
It works.
Please, explain me what's the problem.

@roleoroleo I just went on a trip, and will check it upon return in about a week or so.

@roleoroleo sorry it took me longer.
Here's what I did:

Changed camera back from h264 to h265 (printf "\02\00\00\00" | dd of=/dev/mtdblock7 bs=1 seek=780 count=4 conv=notrunc) - as you wrote here: https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/484#issuecomment-1235411673

Took out SD card with hack v0.2.6

Updated via app from <IP_ADDRESS>_202009251856 to <IP_ADDRESS>_202302091435

Made a stock firmware backup: https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Dump-your-backup-firmware-(SD-card)

Installed r30gb_0.3.2 (pre-configured wifi)

Kept everything else as is (default config), haven't modified mtdblock7 for h264

Video plays via YI home mobile app

tried to connect via VLC on macOS (rtsp://x.x.x.x/ch0_0.h264) - Connection failed VLC could not connect to "x.x.x.x:554".

tried nc x.x.x.x:554: nc: connectx to x.x.x.x port 554 (tcp) failed: Connection refused

scp root@<IP_ADDRESS>:/dev/shm/fshare_frame_buf . - attached
fshare_frame_buf.zip

I can't proceed further

It seems rtsp is NOT working:
root@(none):/tmp/sd/log# ps | grep rtsp
 1923 root       992 S    {wd_rtsp.sh} /bin/sh /tmp/sd/yi-hack/script/wd_rtsp.sh
10434 root       992 S    {wd_rtsp.sh} /bin/sh /tmp/sd/yi-hack/script/wd_rtsp.sh
10441 root       980 S    grep rtsp

I've also enabled the rtsp log by uncommenting LOG_FILE="/tmp/sd/wd_rtsp.log" and commenting LOG_FILE="/dev/null" in /yi-hack/script/wd_rtsp.sh
root@(none):/tmp/sd# cat wd_rtsp.log
2024-08-18 15:46:03 - Starting RTSP watchdog...
2024-08-18 15:46:04 - Restarting rtsp process
2024-08-18 15:46:17 - Restarting rtsp process
2024-08-18 15:46:31 - Restarting rtsp process
2024-08-18 15:46:44 - Restarting rtsp process
2024-08-18 15:46:57 - Restarting rtsp process

The frame buffer is ok.
Frames as expected: h264 supported by rRTSPServer.
Please, run the server with the full log:
killall wd_rtsp.sh
killall rRTSPServer
rRTSPServer xxx -d 15

where 'xxx' are your current options.

Yes, the buffer contains 2 different h264 streams: low and high res.
You can check the file looking for SPS frames (they starts with the hex sequence 00 00 00 01 67).
The log is not ok, the parser is unable to find the frames and the capture thread does not start. I don't know why, I have to check the code. But I'm afk for a while.

I wonder why the firmware changed from h265 to h264...
No big deal, let's keep the PR open, and I will make a gentle reminder in a month or so :)
In the meantime I will also be away every other week

The length of the header is changed.
In the previous fw version was 22, your version is 26.
I have to change the parser.

But...
Are you sure it's a R30GB?
Could you send me a backup of the flash?

@roleoroleo backup attached. I edited mtdblock7.bin and replaced wifi ssid & pwd with x
I am traveling, so can't take a photo of the device itself, but I'm pretty sure it's R30GB.
 I will do my best to try it this Sunday. I am traveling now.

@roleoroleo just tested. Still doesn't work (not listening on port):
$ scp rRTSPServer root@<IP_ADDRESS>:/tmp/sd/yi-hack/bin/
$ ssh<EMAIL_ADDRESS>

BusyBox v1.27.2 () built-in shell (ash)

mount: mounting none on /sys/kernel/debug failed: Resource busy

            __    __   _
            \ \  / /  | |
             \ \/ /   | |
              \  /    | |
              / /     | |
             /_/      |_|
 ------------------------------------
 Welcome to XiaoYi Linux.
 ------------------------------------
root@(none):~# cd /tmp/sd/yi-hack/bin/
root@(none):~/bin# chmod a+x rRTSPServer
root@(none):~/bin# rRTSPServer xxx -d 15
1723999432547: the size of the buffer is 1786156
unable to find /tmp/audio_fifo, audio disabled
1723999432549: capture - mapping file fshare_frame_buf, size 1786156, to b6c40000
1723999432550: capture - closing the file fshare_frame_buf
1723999432551: capture - starting capture main loop
1723999432551: capture - frame header size = 28
1723999432552: capture - buf_idx_end == buf_idx_end_prev
1723999432562: capture - buf_idx_end == buf_idx_end_prev
1723999432573: capture - buf_idx_end == buf_idx_end_prev
1723999432583: capture - buf_idx_end == buf_idx_end_prev
1723999432593: capture - buf_idx_end == buf_idx_end_prev
1723999432604: capture - buf_idx_end == buf_idx_end_prev
1723999432614: capture - buf_idx_end == buf_idx_end_prev
1723999432624: capture - buf_idx_end == buf_idx_end_prev
1723999432634: capture - buf_idx_end == buf_idx_end_prev

I updated previous comment, as I used a wrong command arguments on Monday.

Maybe the buffer is stopped.
Run 3 times this command:
hexdump -C -n 32 /dev/shm/fshare_frame_buf

@roleoroleo here's the output (right after starting the camera):
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000020
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000020
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000020
root@(none):~# killall wd_rtsp.sh
root@(none):~# killall rRTSPServer
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000020
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000020
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000020

This is the problem: the buffer is not filled...
This is strange because the buffer you posted above was ok.
If I remeber correctly it's a race condition in the startup script.
You should try to increase the sleep after the rmm command in the file /tmp/sd/yi-hack/script/system.sh:
Pay attention: there are 2 rmm lines: 1 for cloud enabled and 1 for cloud disabled.

@roleoroleo I have tried to increase sleep in 2 places (via ssh)
https://github.com/roleoroleo/yi-hack-Allwinner-v2/blob/0.3.2/src/static/static/yi-hack/script/system.sh#L203 (lines 203 & 244)
From sleep 6 to sleep 20, and then to sleep 120.
However, after reboot result is the same.

Ok, restore this sleep and try to increase the sleep before rmm.

@roleoroleo increased sleep From sleep 2 to sleep 20 before rrm.
Still the same result.
Thinking out loud, are there any logs from /tmp/sd/yi-hack/script/system.sh STDOUT/STDERR that I can share?

Yes you can enable debug

but probably is not useful.
Try to run
ipc_cmd -x
and check if the buffer starts.

@roleoroleo buffer started!
root@(none):~# ipc_cmd -x
root@(none):~#
root@(none):~#
root@(none):~#
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 2c 25 1b 00  0a 98 00 00 f9 2d 00 00  |....,%.......-..|
00000010  cd 48 00 00 0a 5a c9 89  64 03 00 00 00 00 00 00  |.H...Z..d.......|
00000020
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 3e 15 1b 00  0a 98 00 00 78 9a 08 00  |....>.......x...|
00000010  3a c5 08 00 0f 6a c9 89  6b 04 00 00 00 00 00 00  |:....j..k.......|
00000020
root@(none):~# hexdump -C -n 32 /dev/shm/fshare_frame_buf
00000000  00 00 00 00 2d 38 1b 00  0a 98 00 00 ba 53 1a 00  |....-8.......S..|
00000010  8d 5b 1a 00 57 7f c9 89  c7 05 00 00 00 00 00 00  |.[..W...........|
00000020

And media info from VLC:

@roleoroleo plz let me know what are the next steps once you have time.

Il will add the ipc_cmd command to system.sh.
And I will share a new version to try.

@roleoroleo gentle reminder. please share a new script version when you have some time. Thanks!

Here it is:
system.sh.gz
Overwrite system.sh

@roleoroleo I have tried, bit these changes didn't work (after copy & reboot).
system.sh has execute permissions.
And comparing with the latest release, here's the diff:
diff yi/r30gb_0.3.2/yi-hack/script/system.sh system.sh
368a369,383
> MDNSD_ENABLED=0
> if [[ $(get_config HTTPD) == "yes" ]] ; then
>     mkdir -p /tmp/mdns.d
>     echo -e "type _http._tcp\nport $HTTPD_PORT\n" > /tmp/mdns.d/http.service
>     MDNSD_ENABLED=1
> fi
> if [[ $(get_config SSHD) == "yes" ]] ; then
>     mkdir -p /tmp/mdns.d
>     echo -e "type _ssh._tcp\nport 22\n" > /tmp/mdns.d/ssh.service
>     MDNSD_ENABLED=1
> fi
> if [[ "$MDNSD_ENABLED" == "1" ]] ; then
>     /tmp/sd/yi-hack/sbin/mdnsd /tmp/mdns.d
> fi
>

Here's what I did
$ md5sum system.sh
ab290f41cffad02468b4aba7aa8a1a0b  system.sh
$ scp system.sh root@<IP_ADDRESS>:/tmp/sd/yi-hack/script/
system.sh                                                                                100%   15KB 310.9KB/s   00:00
$ ssh<EMAIL_ADDRESS>

BusyBox v1.27.2 () built-in shell (ash)

mount: mounting none on /sys/kernel/debug failed: Resource busy

            __    __   _
            \ \  / /  | |
             \ \/ /   | |
              \  /    | |
              / /     | |
             /_/      |_|
 ------------------------------------
 Welcome to XiaoYi Linux.
 ------------------------------------

root@(none):~# ls -l /tmp/sd/yi-hack/script/
drwxr-xr-x    2 root     root         32768 Apr 11 18:35 blacklist
-rwxr-xr-x    1 root     root          2931 Apr 11 18:35 check_conf.sh
-rwxr-xr-x    1 root     root          1328 Apr 11 18:35 clean_records.sh
-rwxr-xr-x    1 root     root           633 Apr 11 18:35 conf2mqtt.sh
-rwxr-xr-x    1 root     root          1908 Apr 11 18:35 configure_wifi.sh
-rwxr-xr-x    1 root     root          1161 Apr 11 18:35 create_avi.sh
-rwxr-xr-x    1 root     root           551 Apr 11 18:35 env.sh
-rwxr-xr-x    1 root     root          1271 Apr 11 18:35 ethdhcp.sh
-rwxr-xr-x    1 root     root          8695 Apr 11 18:35 ftppush.sh
drwxr-xr-x    2 root     root         32768 Apr 11 18:35 mqtt_advertise
-rwxr-xr-x    1 root     root          3231 Apr 11 18:35 ptz_presets.sh
-rwxr-xr-x    1 root     root         16405 Apr 11 18:35 service.sh
-rwxr-xr-x    1 root     root         15811 Aug 18 15:46 system.sh
-rwxr-xr-x    1 root     root          5538 Apr 11 18:35 thumb.sh
-rwxr-xr-x    1 root     root          3768 Apr 11 18:35 time_lapse.sh
-rwxr-xr-x    1 root     root          4181 Aug 18 15:44 wd_rtsp.sh
-rwxr-xr-x    1 root     root          1273 Apr 11 18:35 wifidhcp.sh
root@(none):~# md5sum /tmp/sd/yi-hack/script/system.sh
ab290f41cffad02468b4aba7aa8a1a0b  /tmp/sd/yi-hack/script/system.sh
root@(none):~# reboot now
root@(none):~#
root@(none):~# Timeout, server <IP_ADDRESS> not responding.

Strange, you should find these lines at line 246:
        # Trick to start circular buffer filling
        start_buffer

@roleoroleo just to be clear, should I just use the script from v0.3.2 and add these 2 lines?
        # Trick to start circular buffer filling
        start_buffer

Or do I need any of these changes?
diff yi/r30gb_0.3.2/yi-hack/script/system.sh system.sh
368a369,383
> MDNSD_ENABLED=0
> if [[ $(get_config HTTPD) == "yes" ]] ; then
>     mkdir -p /tmp/mdns.d
>     echo -e "type _http._tcp\nport $HTTPD_PORT\n" > /tmp/mdns.d/http.service
>     MDNSD_ENABLED=1
> fi
> if [[ $(get_config SSHD) == "yes" ]] ; then
>     mkdir -p /tmp/mdns.d
>     echo -e "type _ssh._tcp\nport 22\n" > /tmp/mdns.d/ssh.service
>     MDNSD_ENABLED=1
> fi
> if [[ "$MDNSD_ENABLED" == "1" ]] ; then
>     /tmp/sd/yi-hack/sbin/mdnsd /tmp/mdns.d
> fi
>

I downloaded the file above and it contains the new lines.
And the date of your system.sh is not equal to the date of the file I posted.
Please check again.

@roleoroleo I just downloaded again, and it's the same file.
Moreover, these 2 lines you're pointing out are already in the release 0.3.2:
https://github.com/roleoroleo/yi-hack-Allwinner-v2/blob/0.3.2/src/static/static/yi-hack/script/system.sh#L246-L247
I re-downloaded file again, uploaded it to camera, but it still doesn't work.
Please check if we're talking about the same files:
$ md5sum system.sh*
ab290f41cffad02468b4aba7aa8a1a0b  system.sh
d92adf94242e7d77d9e6f8f0eaaad1e9  system.sh.gz

Sorry, you are right.
I removed these lines some month ago...
If the buffer doesn't start with these lines it's a race condition difficult to find.
You should try to run the command in a different position of the system.sh script.
Maybe at the end of the script.

Okay, I will troubleshoot and let you know

Just a heads up, it takes me longer than I expected. I'll be able to start looking at it by mid-December. Now I'm unfortunately very busy with the other things, but I didn't forget about this one ;)


Cannot Login With Super User

Description
After creating a user for the first time, I cannot login. It keeps saying credentials are invalid, even though I know for a fact they are not.
Platform

[X ] Docker Image
Version 1.3.5

I have tried deleting the username and password hash in userConfig.json, setting auth to false and recreating the user many times.
I can never login after creating the user. It always says invalid login credentials.
I have tried different usernames, passwords with 1 character etc, but nothing seems to work.
Edit: The password and username hashes also are correct in the config file. for example, password 123456 is correctly hashed as
8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92

can't reproduce, sorry.
Was it working before you updated the docker image? Have you tried to clear cookies/cache/etc ?

There are no console errors whatsoever. This is installed on TrueNAS Scale.
I just installed it on alpine linux with my backup and cant reproduce the error either. Its very strange. I have even deleted and recreated the container on TrueNAS and the issue persists. I guess I will just use a more traditional docker install.


php artisan view:cache returns an error since laravel 9.35 :   Unable to locate a class or view for component [mail::message].

Laravel Version: 9.35
PHP Version: 8.0.19
Database Driver & Version:

Description:
Since I run a composer update to get the latest laravel version (9.35), my deployment script crashes.
If I go back to laravel 9.34, the error does not occur anymore.
Steps To Reproduce:
Just run these commands:
composer dump-autoload
php artisan view:cache

Same here. Seems to be an issue with PR #44527

I think we only need because we don't load views of mail
src/Illuminate/View/Compilers/ComponentTagCompiler.php line 315
if (Str::startsWith($component, 'mail::')) {
   return $component;
}

Same problem here, have to downgrade to 9.34

Same problem here!

We are aware of this issue. And, Taylor will address it just after his lunch time. 👍🏻

Fixed in 9.35.1.

thanks it works!

I think we only need check component start with prefix because we don't load views of mail
src/Illuminate/View/Compilers/ComponentTagCompiler.php line 315
if (Str::startsWith($component, 'mail::')) {
   return $component;
}

Valuable comment!

I think we only need check component start with prefix because we don't load views of mail
src/Illuminate/View/Compilers/ComponentTagCompiler.php line 315
if (Str::startsWith($component, 'mail::')) {
   return $component;
}

Valuable comment!

@tomhapbia thanks


Download Blockchain And Start Creating EOS wallet

Somebody please give me a link to step by step commands to download EOS blockchain and a tutorial to creating EOS wallet and other wallet functions

thanks for the links
Is there a tutorial to use keosd commands? For creating wallet, creating transactions and check account balance etc?


Fix flannel subnet when it restarted

Hi guys,
we are using flannel as kubernetes minion's network, see https://github.com/ZJU-SEL/kube-in-docker/blob/master/minion.sh#L38
But we found that if we restarted the node, the FLANNEL_SUBNET will change, we have to reconfigure the DOCKER_OPTS and restart dockerd, is there any way to fix FLANNEL_SUBNET?

@resouer flannel will reuse the same subnet if the IP of the host has not changed (since that's how it identifies the host). On a physical machine with DHCP, it will usually keep an IP and is fine. In a cloud environment, depending on the provider and how you restart the node, you may end up with a new IP.
However, you should add flannel as a dependency to docker and wait for it to write out /run/flannel/subnet.env before satisfying the dependency. If you're using systemd, set the service type to "notify" since flannel signals that it's READY to systemd only after it has written out the file. If you're using upstrart, I believe there's a way to emit a signal on file creation/change.

@eyakubovich It seems my flannel did not reuse the same subnet.
Before I restart flanneld:
root@ubuntu:/home/vcap# cat subnet.env
FLANNEL_SUBNET=<IP_ADDRESS>/24
FLANNEL_MTU=1472
FLANNEL_IPMASQ=false

After I restart the flanneld:
root@ubuntu:/home/vcap# sudo -b docker -H unix:///var/run/docker-bootstrap.sock ps
root@ubuntu:/home/vcap# CONTAINER ID        IMAGE                     COMMAND                CREATED             STATUS              PORTS               NAMES
fc346a53985d        wizardcxy/flannel:0.3.0   "/opt/bin/flanneld -   3 weeks ago         Up 25 minutes                           distracted_pike

root@ubuntu:/home/vcap# sudo docker -H unix:///var/run/docker-bootstrap.sock cp fc346a53985d:/run/flannel/subnet.env .
root@ubuntu:/home/vcap# cat subnet.env
FLANNEL_SUBNET=<IP_ADDRESS>/24
FLANNEL_MTU=1472
FLANNEL_IPMASQ=false
root@ubuntu:/home/vcap# source subnet.env

It changed, then I have to reconfigure my docker opts to make it work.
Any tips?

ping @@eyakubovich any idea about this?

@resouer Your approach seems fine although I prefer to have /run/flannel/subnet.env as a volume so it's easier to source in. Can you do the following steps:

Run flannel and acquire the lease. Say you get <IP_ADDRESS>/24.
Look it up in etcd: etcdctl get /coreos.com/network/subnets/<IP_ADDRESS>-24.
Check the value of PublicIP. It should match that of eth0.
Restart flannel so it acquires a new lease and look it up in etcd again.

Please paste flannel logs to help us debug.

@eyakubovich I can not reproduce it now, flannel works well and reuse the subnet.
Is it possible that because my flannel has been stopped for too long time, after I start it again, it create a new subnet?

@resouer Yes, flannel acquires a 24 hour lease and refreshes every 23 hours. So if flannel is stopped for more than 1 hour, there's a possibility of it loosing the lease. We can change it so that it refreshes every 12 hours but that will only increase the window. Once the lease is lost, a new one is acquired.

Thanks, issue closed!


Json Serializable

Is there some way to implement JSON Serializable interface to Point, Linestring etc. ? So it can be viewed by json_encode? I dont want to modify the vendor files directly, and i can't redeclare/override
CrEOF\Spatial\PHP\Types\Geometry/Point(Linestring, etc) ...

We've updated recently to allow geometries to be converted to json (geojson) via a ->toJson() method. We haven't impemented the JSON Serializable interface yet but it's in the roadmap for the next major update to the library.

But that's a method in the specific class, but if i have entity , that includes point, linestring etc, I would have to query to actualy get the point instance and then call toJson() instead of serializing whole entity or array of entities. The reason i want to implement json Serializable is the speed. I tried to use some JSON Serializing bundles, but serializing 3000 objects with those bundles to json takes aprox 8 seconds. With JSON Serializable it takes like 2-3 seconds ...

I have filed a pull request - https://github.com/creof/doctrine2-spatial/pull/194


Restartless firefox addon?

Holler if you want help on building a firefox addon that is:

more fully featured
restartless
host it at addons.mozilla.org

(I work in Moz UX and make addons all the time)

Two years pass… I don’t know how to make restartless add-ons, but I did figure out how to addons.mozilla.org. Input appreciated.


add GetCruiseDisplaySpeed and GetVehicleType

New PR since my last repo was a bit messed up from changes I made to commit history

Found new "falling" state value when gliding (red reactor up) on the ground

Hold off on this for now, the vehicle type detection is not quite right with the new update

Ok slightly new method for detecting vehicle type is now working (even with rally and on maps that don't start as stadium car) should be good to go

Sorry I didn't mean to request another review, haven't made any changes since the last time.

Please let me know if you'd like any more changes on this, otherwise it's now updated for desert car and I think it's good to go without doing something more complicated to check for indentical handles

Looks good, sorry for the delay. Thank you! 🎉


Add --version, -v parameter for battery-cli

It appears I can't check current installed version of it. it just launches

Closed in 8fbbe7bd7395bb598a8965165c3a197ed0047d71


Eliminate includes directory and supporting metaschema

Following on from #1167, the includes/ folder should be removed.  A previous PR to allow this in the ocsf-validator was merged, see https://github.com/ocsf/ocsf-validator/pull/32.

Closed by #1171


Noob-question

Hello :)
From where did I get the homeId?
Thanks
Greetings Benji

Got it :)
Just For Other noobs:
from https://developer.tibber.com/explorer
and choose there „Real Time Subscription“
Hit Play and there u get homeID :)


Java project with different compilation targets fails after upgrading on Gradle 5.3

Expected Behavior
My main and test source sets have different compile targets (java6 for main and java8 for tests). And there's a common module shared between my submodules used only in tests with Java8 compile target.
    sourceCompatibility = JavaVersion.VERSION_1_6

    compileTestJava {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }

    dependencies {
        testImplementation project(':module-with-compile-target-1_8')
    }

This should setup compiled fine in gradle 5.2 as it should.
Current Behavior
After upgrading to gradle 5.3 I'm now getting this error on build:
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':my_module:test'.
> Could not resolve all task dependencies for configuration ':my_module:testRuntimeClasspath'.
   > Could not resolve project :module-with-compile-target-1_8.
     Required by:
         project :my_module
      > Unable to find a matching variant of project :module-with-compile-target-1_8:
          - Variant 'apiElements' capability com.example:module-with-compile-target-1_8:1.0.0-SNAPSHOT:
              - Found org.gradle.category 'library' but wasn't required.
              - Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
              - Required org.gradle.jvm.version '6' and found incompatible value '8'.
              - Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api-jars'.
          - Variant 'runtimeElements' capability com.example:module-with-compile-target-1_8:1.0.0-SNAPSHOT:
              - Found org.gradle.category 'library' but wasn't required.
              - Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
              - Required org.gradle.jvm.version '6' and found incompatible value '8'.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime-jars'.

Context
It stopped working after bumping the gradle version to 5.3. It's still not working in gradle 5.3.1
I would say that this check should take into account that main and test compile targets may be different.
Steps to Reproduce
Sample project can be found here:
https://github.com/SimY4/xpath-to-xml/tree/java6
Java6 is the name of a branch is which main sourceSet is configured with java 6 compile target and test source set is configured with java 8 compile target.
Your Environment

Thanks for reporting. This is kind of expected since the default is to use the Java extension target compatibility level as the requirement java { targetCompatibility = ... }. If it's not the case, you can override the default explicitly:
configurations {
   testCompileClasspath {
        attributes {
            attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8)
        }
   }
}

@melix Thank you to such a quick response.
I didn't quite get what is expected and what's the suggested solution. Can you elaborate a little on what you're proposing?
I've set the source and target for the main sourceSet to Java6 and I've set source and target for test sourceSet to Java8. I guess the feature here is that java8 targeting modules can't be matched with java6 targeting modules. But tests source set is targeting java8 so it should be fine to match them.

What is happening is explained https://docs.gradle.org/current/userguide/upgrading_version_5.html#automatic_target_jvm_version[here]. In a nutshell, Gradle checks that your configuration is consistent. If you have a Java 6 module that depends on Java 8 modules, it cannot work, so it will ask you to fix it.
Here, you have a more complex setup, where the tests actually use a different target level. That's fine, but Gradle doesn't "discover" it automatically. The reason is that you set the target level on a task, and multiple tasks may contribute to a single source set output. We could try to infer from all the tasks that contribute, but we don't do this. The only place we look at is the Java plugin convention target level. So in special cases like yours, you need to override the default setting, and tell that for the test compile classpath, you expect dependencies with level 8.

@melix Thank you for the detailed explanation. Now I get what's going on.
I added the proposed configuration change to my build and it's still failing with the same error. I applied it for all submodules, I hope that's the right place for it.

Did you apply the fix to the testRuntimeClasspath too?

@melix Nope. It worked after I applied it for testRuntimeClasspath, thanks.


A sample of API usage in JS

The challenge link: https://www.frontendmentor.io/challenges/advice-generator-app-QdUG-13db/hub/advice-generator-app-5AKG3DGx74
Working of the WebPage:
https://user-images.githubusercontent.com/84870015/193867921-753504bb-89fb-4279-8748-0f3d329c7eb6.mp4

Make sure to Follow @shubham7668 and add star in this repository


Can't re-install OBS Plugin from Marketplace

Loupedeck's OBS plugin stops switching scenes that I have programmed to the Loupedeck Device's buttons when I restart my Mac, so I uinstalled the OBS plugin. When I look at my Marketplace for OBS, the action button says "Uninstall" even though I already did that, and it won't let me re-install the OBS plugin. I deleted Loupedeck from my Mac and then reinstalled the Loupedeck app, but it still shows that OBS is already installed.

have exactly the same issue.
Are there any solution?

have exactly the same issue. Are there any solution?

No, I have not found a solution. The guy who is in charge of support was useless and asked me the specific issue even though I told him exactly what he needed to know to understand the issue, and because of his incompetence and uselessness towards this issue that they can't keep just ignoring and hoping it goes away, I switched to Stream Dock. Loupedeck is now a $100 paperweight on my desk. Thanks, team Loupedeck!

They should put you in charge of support. Thanks for sharing. I'll check into it.

Thanks, it worked! Now, I can return this Stream Dock. 🙏🏻 The Stream Dock buttons won't stay programmed after a while.


[Backport 2.8] Revert "Time series based workload desc order optimization through re…

I've prepared this backport before #7892 has been merged in order to speed the process along for the 2.8 release. Please review and approve #7892 first.

Gradle Check (Jenkins) Run Completed with:
* **RESULT:** FAILURE ❌

* **URL:** https://build.ci.opensearch.org/job/gradle-check/16744/

* **CommitID:** [a52ebf6](https://github.com/opensearch-project/OpenSearch/commit/a52ebf63d8f5e2442e11a7957b46f8314e9981f3)
  Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
  Is the failure [a flaky test](https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#flaky-tests) unrelated to your change?

Spotless failure due to unused imports. I've updated the PR with the fix.


Application insights for Stateful service fabric written in .net core and using Services Remoting based communication

In the example provided in this page you stateful service uses http for communication. But if we create using Service Remoting then how do we integrate? Is there a sample on how to implement application insights where the stateful services is using service remotin?

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

ID: 0402be82-9542-9eb9-7c9f-278e16b59d66
Version Independent ID: 01446149-6253-1e6e-5dda-a500f9717a2f
Content: Monitor and diagnose ASP.NET Core services - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-tutorial-monitoring-aspnet.md
Service: service-fabric
GitHub Login: @dkkapur
Microsoft Alias: dekapur

@tkumark Thank you for your query, our team will further look into it and get back to you at the earliest.

This doc describes the service remoting with reliable services. Will this help https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-reliable-services-communication-remoting

@tkumark did you got a chance to go through that document

@tkumark
I will close this out for now. If you need additional help please open a new issue

I realize that this discussion have been closed but looking at the links to articles provided, none of the documentation provides information on how to implement Application Insights to Service Fabric App that is using service remoting. I see an article for implementing App Insights for Service Fabric that is using HTTP but not for service remoting, any chance you can assist. Thanks!


Display file contents in Solution Explorer

Is it possible to display F# file contents in Solution Explorer like it is done for C#?
I mean that when you open C# file node it displays a list of classes in a file. Then if you expand a class it will display a list of its members.
I want the same thing for F# so it will display all the modules, types and functions in that class.
In order to be able to search from within Solution Explorer

Feature request: http://vfpt.uservoice.com/forums/247560-general/suggestions/6785640-feaure-request-code-navigation-using-class-view
Related discussion: http://visualfsharp.codeplex.com/workitem/135

I agree it could be useful.
Hope one day @ReedCopsey could help with this.

Does this feature really has name Class View?

The first thing I do in a fresh installed VS is disabling this feature through the registry.
We manage feature requests on User Voice, so I'm closing this.


Fix Angular externs to work with TS 1.4

Merge the IAngularStatic and the angular namespace by moving all type definitions into the main "angular" module.
This fixes compatibility with TypeScript 1.4 (see issue #3656 and issue #3670), and allow depending on the definitions using "require" style imports instead of  style.
The drawback is that this is a compatibility breaking change. Existing clients must replace all occurences of "ng." in their code base with "angular.", for example by running sed -i 's|\bng\.|angular.|g' or something similar over their entire code base.
I don't see another reasonable way to create compatibility with TS 1.4 - any other ideas that'd maintain backwards compatibility? Maybe it'd be possible to declare a var ng = angular; in a compatibility shim?

I pass the angular "module" to some function in my code. Without this, I can use the interface ng.IAngularStatic for that. How would you do this with this new version?

Good point. Can you just refer to the module as a type, i.e. function foo(ng: angular) { ... }?
Also: what's the use case for this?  Why?

I pass angular via dependency injection in order to be able to mock it and run my unit tests without a browser.

I talked with @mhegazy about this, I think my definitions are the more TypeScriptian way to do this, and compatible with the external module approach.
@borisyankov is there interest in this? Should I update the pull request?

for IAngularStatic, you can just define a new type alias:
declare module angular {
    type IAngularStatic = typeof angular;
    ...
}

this will keep the original behavior working as it was.

@mhegazy is it possible to alias the type angular to ng for backwards compatibility with existing users? I tried something along these lines:
/// <reference path="angular.d.ts" />
declare type ng = typeof angular;
// To use ng like this:
var myAngular: ng.IModule = angular.module('asd', []);

But I get this error:
ng-tests.ts(3,16): error TS2304: Cannot find name 'ng'.

Which I guess means you cannot reference members of type aliases?

How about:
import ng = angular;

Consumers (e.g. tests in this case) can use add that, or you can put it in the .d.ts file; but if you put this in the .d.ts file, that means you have an alias "ng" to "angular" that just has the same meaning in the global namespace. up to you i guess.

Thanks, that works.

sorry I can't understand why this change is required.
this PR has a breaking change that it is very heavy.
what do you think about? @basarat

@mprobst I believe this PR is to allow the user to consistently use 'angular' everywhere :
import angular = require('angular');
var myMod: angular.Module = angular.module(...);

Is that the only motivation? I

@basarat indeed, my goal is to have these declarations work both when using them as internal and when using them as external modules. Admittedly, I have no idea what I'm doing. I have tests for both, any clue on how to make that work?


Add test to verify user can access documentation

Implementation of ODS-1303
Signed off by<EMAIL_ADDRESS>

@risusing I think you did something wrong with the push here

Jenkins Job Run : https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1031/robot/report/files/log.html
Result : Passed

@risusing could you resolve conflicts and test it once again plz?

As I asked to use Pranav's keyword for deciding the environment so as his PR is not merged and hence I have copied from his PR and used his implementation in this PR and it's working fine.
Jenkin's Job - https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1059/robot/report/files/log.html
Result - Passed.

Jenkins Job : https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1060/robot/report/files/log.html
Result : Passed


Add build status badge

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

Comparison is base (de10fed) 68.88% compared to head (a1440bd) 68.88%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage   68.88%   68.88%
=======================================
  Files           4        4
  Lines         511      511
=======================================
  Hits          352      352
  Misses        159      159

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


ResponseCookiesFeature Allocates when unused

Resolved by: https://github.com/aspnet/HttpAbstractions/pull/675

Investigation

@muratg dude label the bugs..

This doesn't seem to have a lot of benefits.

@muratg I would suggest it is absurd though...
So 48MB per 1M requests is being unnecessarily allocated so that in a response where I set cookies on the server (perhaps a login authentication) it can get a StringBuilder from a pool to set the cookie.
Putting it in context: if per page the average number of requests is 100 and say best case for setting cookie ratio: go to login page, login, see another page. 200 requests allocating 9.6kB for this request feature so that one request can save a little on string concat? Which is very doubtfully going to be 9.6kB saved...


Alert groups for sequence of tag values

Instead of creating multiple alerts, one per tag value, it would be nicer and more manageable to create an alert group, by providing a meta substitution in the alert condition, and a sequence of values.
Let's say I have a service deployed on 9 hosts, svc1 through svc9.
I want to check their heartbeat metric, and if missing for more than 30 minutes, alert.
The way it works today, I need to create 9 alerts, one for each host. If the service fleet changes, I need to create/delete alerts accordingly.
It would be nicer if I could create a single alert for all my hosts. It would require that I use some substitution in the alert condition, for example:
heartbeat [service: my-service, env: production, host: %H] missing for 30m
And then provide the list of hosts in the H substitution:
H = svc1, svc2, svc3, svc4, svc5, svc6, svc7, svc8, svc9
Behind the scenes, CAVE should expand the substitution and execute 9 evaluations, but the customer manages a single alert.

+1
I have the alert:
health-check-failure[environment: production, service: my-service].sum.1m > 1 at least 3 times
Would it be possible to include the list of tags that are in the summation that triggered the alert? That way I can tell what host(s) is down...

+1 to this, and this "Would it be possible to include the list of tags that are in the summation that triggered the alert? That way I can tell what host(s) is down".


Add/Align usage of static _bind_methods in node classes

Adds missing _bind_methods() method for several nodes (compile-time check added in Godot 4.3)
Fixes several macro usages of ORCHESTRATOR_NODE_CLASS to be followed with a ;
Moves all _bind_methods() to the private scope

Applied to main (=2.1) and branch 2.0.


Upgrade to include d3-hierarchy v1.1

Update dependencies, once definition update for d3-hierarchy v1.1 has been published.

Related to DT PR 14329


Remove inline css from ejs files

Describe the bug
Remove all the inline css used in all the ejs files and add that to the styles.css file in public dir under labelled sections (divide code into sections by adding comments).
Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/level3/

/assign

/assign

@Pranav016  Most of the styles are like margin and padding and font-weight and colors. So what should I name the sections?

@Pranav016 Most of the styles are like margin and padding and font-weight and colors. So what should I name the sections?

Navigation bar, post section, search, header, footer etc


Ability to Specify Container ID

What is the problem you're trying to solve
When creating a container, it would be nice to be able to specify the container id instead of using the generated ID.
https://github.com/containerd/nerdctl/blob/3dd297466d56ab0d6c169016576ade4ff8ac98a0/pkg/cmd/container/create.go#L73
Describe the solution you'd like
New flag added like --container-id which would be used instead of the generated ID when present
Additional context
No response

HI @austinarbor
The nerdctl is  Docker-compatible CLI , and there seens no --container-id args in Docker CLI. :-)

Why do you need this?

The option --name is what you should use to specify the readable identity of the container. The container ID is not intended to be specified.

It's not really a necessity, just a "nice to have" and it looked like it would be an easy addition to the codebase. I am using nerdctl in combination with the low level golang client and having more friendly container ids improves the output of ps etc
@yankay the only change required would be using the passed in id instead of the generated id on the line I linked

Whenever possible, identify a container by its name and not by its ID.
The ID is not intended to be human friendly, but the name is.

feel free to reopen if needed


Support for third party scripts

A lot of scripts nowadays are added to the HTML using code such as
insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga')
It would be great if caching those locally would be supported.

If I'm not mistaken, JavaScript like that is executed in the browser, so it'll use browser-level caching of the original script (GA, etc.) when possible

@dschmidtadv You need to update .js url and point it to your CF proxy folder like /proxy/www.google-analytics.com/analytics.js for example.


P5775: Image of interior, and similar other properties

When all P18s of the world are filled (lol), our next target could be:
https://www.wikidata.org/wiki/Property:P5775 Image of interior
It does not apply to all items that have coordinates, though, for instance a sculpture may or may not have an interior. Also, such pictures will be harder to take, for instance getting a picture of the interior of a prison might require some serious dedication to the task :-)
Also:

https://www.wikidata.org/wiki/Property:P3451 Nighttime view
https://www.wikidata.org/wiki/Property:P5252 Winter view
https://www.wikidata.org/wiki/Property:P8517 View from the place
https://www.wikidata.org/wiki/Property:P4291 Panoramic view
https://www.wikidata.org/wiki/Property:P1766 Place name sign

Idea from ivanbranco: It could be implemented like the "Wiki Loves Monuments" layer.


[Event Request] Codeunit 80 Sales-Post - procedure PostUpdateOrderLine - OnPostUpdateOrderLineOnAfterCalcShouldCalcQuantityInvoiced

Please add an Event OnPostUpdateOrderLineOnAfterCalcShouldCalcQuantityInvoiced in procedure PostUpdateOrderLine in Codeunit 80 Sales-Post
[Event Request] Codeunit 80 - Sales-Post - procedure PostUpdateOrderLine
    var
        TempSalesLine: Record "Sales Line" temporary;
        SetDefaultQtyBlank: Boolean;
        IsHandled: Boolean;
        ShouldCalcQuantityInvoiced: Boolean;
    begin
        OnBeforePostUpdateOrderLine(SalesHeader, TempSalesLineGlobal, SuppressCommit, SalesSetup);

        ResetTempLines(TempSalesLine);
        with TempSalesLine do begin
            SetRange("Prepayment Line", false);
            SetFilter(Quantity, '<>0');
            if FindSet() then
                repeat
                    OnPostUpdateOrderLineOnBeforeInitTempSalesLineQuantities(SalesHeader, TempSalesLine);
                    if SalesHeader.Ship then begin
                        "Quantity Shipped" += "Qty. to Ship";
                        "Qty. Shipped (Base)" += "Qty. to Ship (Base)";
                    end;
                    if SalesHeader.Receive then begin
                        "Return Qty. Received" += "Return Qty. to Receive";
                        "Return Qty. Received (Base)" += "Return Qty. to Receive (Base)";
                    end;

                    ShouldCalcQuantityInvoiced := SalesHeader.Invoice; // <-- NEW VARIABLE
                    OnPostUpdateOrderLineOnAfterCalcShouldCalcQuantityInvoiced(SalesHeader, TempSalesLine, ShouldCalcQuantityInvoiced); // <-- NEW EVENT
                    if ShouldCalcQuantityInvoiced then begin // <-- NEW CONDITION

                        IsHandled := false;
                        OnPostUpdateOrderLineOnBeforeUpdateInvoicedValues(SalesHeader, TempSalesLine, IsHandled);
                ...

[IntegrationEvent(false, false)]
local procedure OnPostUpdateOrderLineOnAfterCalcShouldCalcQuantityInvoiced(SalesHeader: Record "Sales Header"; var TempSalesLine: Record "Sales Line"; var ShouldCalcQuantityInvoiced: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 45169.


"Guess who?" house rule

After all the plays are in, players may attempt to guess which other player made which play. Correct guesses will be notified once the winner is picked. Guesses will be made in private but correct guesses notified in public.
I was toying with the idea of awarding Awesome Points for correct guesses but then the game suddenly starts to demand more effort: in order to maintain a lead you'd pretty much have to make guesses every round.
Then I thought maybe points could be deducted for incorrect guesses, but that makes it too risky to try.
So unless anyone else has any ideas I think if this rule is enabled it should be purely for the entertainment value of everyone knowing you correctly guessed.

Maybe if you correctly guess, it subtracts 1 point from the person you guessed


Redirection for s3-datasets doesn't work correctly

Describe the bug
If a user uses a link which is pointing to a specific resource in data.all and if the user is not logged in then the login page is displayed, once the user logs-in then they are taken to the specific resource. But for /s3-datasets this redirection fails
How to Reproduce
Goto any s3-dataset .
logout
Login with the same link pointing to the s3-dataset
Check if redirection works
Expected behavior
Should be redirected to the s3-datasets page
Your project
No response
Screenshots
No response
OS
Mac
Python version
3.9
AWS data.all version
2.6
Additional context
No response

Issue resolved with https://github.com/data-dot-all/dataall/pull/1494


Screenshot viewer application

Similar to #14 I think it would be a good idea to have an application external to xochtil that can also display screenshots if they don't want to use xochitl syncronization. I think the following is a good feature list for it:

View screenshots.
Delete screenshots.
Execute a script on the screenshot.
Create a copy of a screenshot to draw on.

Likely should extend fret to handle this.

Likely should extend fret to handle this.

Split out drawing a screenshot to #180
I will not implement the script execution on screenshots.


Updates build scripts.

Summary
Updating ios scripts.

CodeStats metrics details:
:white_check_mark: Code Coverage (Slather): 29.58
Click here for more details.

CodeStats metrics details:
:white_check_mark: Code Coverage (Slather): 29.58
:white_check_mark: Code Quality (Swiftlint): 84.0
Click here for more details.


fix: multicurrency payment fee rouding

This PR ensures that a non-zero fee is charged even if the calculated fee in the native currency is small and the non-native fee currency is expensive (low price value).

LGTM


chore: bump version for pull request #8 bug fixes

don't know if git tags are included in a pull request, maybe bump yourself and close this pull request if the git tags don't work

it very much seems like git tags wouldn't work, i'll let you do the version bump


Bug with using useFetch and nuxt 3 server api

Version
@nuxtjs/i18n:
nuxt:
Nuxt configuration
Please change to [x] if relevant for this issue:

[ ] Applies to a site deployed to a static server (site generated with nuxt generate)
[x] Applies to a site deployed to a server with a Node backend

@nuxtjs/i18n configuration

Steps to reproduce
using prefix strategy
setting via server middleware local by redirecting user (for example entering from Portugal redirects to https://.../pt/)
using useFetch method to get a data inside dynamic page from nuxt server api
const { data } = await useFetch(/api/client/vacancies/${router.currentRoute.value.params.id})
What is Expected?
request is sending to /api/client/vacancies/35
What is actually happening?
request is sending to  /pt/api/client/vacancies/35

@misochenk0  hi,
I'm facing the same problem as you. did you find the solution ?


ROX-12029 Update the images at most risk dashboard query to not use deprecated gql sub-resolver.

Description
Replaces the deprecated vulnCounter subresolver with imageVulnerabilityCounter in the main page dashboard "Images at most risk" widget's graphql query.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
Set up an infra cluster with the following ENV var
ROX_POSTGRES_DATASTORE=true
Behavior before this change:

Behavior after this change:

With "Image Vulns:All CVEs" setting:

Recommend fork

Ah, Mandar caught something.
We should make the field name conditional, based on the ROX_FRONTEND_VM_UPDATES
We can just gate the query, either vulnCounter or aliased as vulnCounter: imageVulnerabilityCounter, and then leave all the usages vulnCounter.

Interesting @md2119 , the new resolver in fact does return different data. The following screenshots are from a new install on a plain gke-default infra cluster with ROX_POSTGRES_DATASTORE off. Notice the number of reported CVEs for calico-node:
using vulnCounts sub-resolver

using imageVulnerabilityCounts sub-resolver

Running this again against a new cluster using Postgres, the results across all combinations for calico-node are:

Sub-resolver
datastore
Critical CVEs
Important CVEs

vulnCounter
RocksDB
0
4

imageVulnerabilityCounter
RocksDB
2
5

vulnCounter
Postgres
ERROR
ERROR

imageVulnerabilityCounter
Postgres
0
4

Verified on graphQL on demo clusters with and without Postgres. I see the same data.
with postgres

without postgres: