[vue-query]An error occurred when attempting to modify the data returned by useQuery

Describe the bug
The data returned by useQuery is wrapped in a Ref object with an additional layer of Reactive wrapping inside.
When I attempted to modify it, Vue gave me a warning that it is not modifiable.

Your minimal, reproducible example
null
Steps to reproduce
In the Vue devtools, it shows as Reactive.
Expected behavior
[Vue warn] Set operation on key "desc" failed: target is readonly. Proxy {id: 67, name: 'library/xmrig/xmrig:v1', desc: '', image_list: Array(1), node_list: null, …}
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Win11
Chrome latest
Vue latest
TanStack Query version
vue-query 4.20.5
TypeScript version
4.9.4
Additional context
No response

Why would you modify content of the query cache? Also, please show a codesandbox reproduction!

data returned from useQuery is marked as read-only on purpose to prevent users from modifying it.
Otherwise you would end up with hard to debug issues.

@TkDodo @DamianOsipiuk I need this too or is there any way to set data to null

I just ran into this issue as well. My use case is to load data via vue-query and then use this data to bind it to various form inputs. Im basically using the data from vue-query as my initial value and want to change it via form inputs. The Vue docs recommend to to use a local data property and use the prop as the initial value. But maybe that is only supposed to work for primitive values?
My naive solution is to call JSON.parse(JSON.stringify(props.initialValues)) to clone the data and get rid of the readonly limitations. Also see this CodeSandbox which includes the following snippet as well.
<template>
  <form>
    <input v-model="post.title" />
  </form>
</template>

<script setup lang="ts">
import { ref } from "vue";

import { Post } from "./types";

const props = defineProps<{ initialValues: Post }>();

// This prints warnings since the passed object comes directly from vue-query and is readonly
const post = ref(props.initialValues);
// This works as it will clone the object
// const post = ref(JSON.parse(JSON.stringify(props.initialValues)))
</script>

Would this be the recommended way to do this? Are there other ways to get rid of the warnings? Or even other recommendations how to do the form handling?


Duplicate code between PCA.py and plot_PCA.py

Some code for filtering, analysis, and plotting is duplicated between src/PCA.py and src/plot_PCA.py.

In particular, the duplicate code is in the following lines: https://github.com/bailey-lab/MIPTools/blob/6035a73c95c6ea1c86302e217f4c816e9262e981/src/PCA.py#L107-L163
and: https://github.com/bailey-lab/MIPTools/blob/6035a73c95c6ea1c86302e217f4c816e9262e981/src/plot_PCA.py#L46-L93


feat(helix-57): add stream account data rpc

Summary by CodeRabbit

New Features

Introduced multiple RPC methods for account-related functionalities, including portfolio details, order states, subaccount information, balances, history, rewards, and live data streaming.
Added a new RPC method GetContractTxsV2 for enhanced contract transaction queries.
Added a new RPC method Fund to retrieve insurance funds for specific tokens.
Introduced a new RPC method TokenHolders to provide a list of addresses holding specific tokens.

Enhancements

Updated the code generation tool version to goa v3.7.0 across various services.
Added new fields for filtering and configurations in trading strategies.

@proofofze Is there an urgent issue or other reason to create a PR pointing to master instead of dev?


python3Packages.aiorpcx: 0.18.7 -> 0.22.1

Motivation for this change
Update to latest upstream release 0.22.1
Change log: https://github.com/kyuupichan/aiorpcX/blob/master/docs/changelog.rst
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 131704 run on x86_64-linux 1

3 packages built:

charge-lnd
python38Packages.aiorpcx
python39Packages.aiorpcx


Don't get stuck waiting on the connection window.

We weren't applying the stream's timeout to writes to the underlying
connection.
When the stream does time out waiting on a write that's blocked inside
the connection awaiting write window, we need to break out.
Closes https://github.com/square/okhttp/issues/1560

LGTM. Travis failing in something.

My test was flaky. Added a ping to force the timing fixed it.


[Bug]: onConnectivityChanged - iOS not showing when WiFi is not available

Platform
iOS 16.4 simulator
Plugin
connectivity_plus
Version
^4.0.2
Flutter SDK
3.10.6
Steps to reproduce

Run App with WiFi turned on
Turn off WiFi
onConnectivityChanged still shows 'wifi' instead of 'none' for internet connection

But if you do the following it works ok but will break again:
Run the App with WiFi turned off
Turn on the WiFi on Mac (it works)
Turn off the WifFi on Mac
onConnectivityChanged still shows 'wifi' instead of 'none' for internet connection
Code Sample
connectionService.connectivity.onConnectivityChanged
    .listen((connectivityResult) {
  debugPrint('connectivityResult: ${connectivityResult.name}');
});

By the way, when you run it on an actual iPhone device it looks like it's working fine.

### Logs

```shell
Users/marco/StudioProjects/simpsons_viewer/build/ios/iphonesimulator/Runner.app
[ +255 ms] executing: /usr/bin/plutil -convert xml1 -o -
/Users/marco/StudioProjects/simpsons_viewer/build/ios/iphonesimulator/Runner.app/Info.plist
[   +4 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o -
/Users/marco/StudioProjects/simpsons_viewer/build/ios/iphonesimulator/Runner.app/Info.plist
[        ] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
           "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
                <key>BuildMachineOSBuild</key>
                <string>22G74</string>
                <key>CADisableMinimumFrameDurationOnPhone</key>
                <true/>
                <key>CFBundleDevelopmentRegion</key>
                <string>en</string>
                <key>CFBundleDisplayName</key>
                <string>Simpsons Viewer</string>
                <key>CFBundleExecutable</key>
                <string>Runner</string>
                <key>CFBundleIcons</key>
                <dict>
                        <key>CFBundlePrimaryIcon</key>
                        <dict>
                                <key>CFBundleIconFiles</key>
                                <array>
                                        <string>AppIcon60x60</string>
                                </array>
                                <key>CFBundleIconName</key>
                                <string>AppIcon</string>
                        </dict>
                </dict>
                <key>CFBundleIcons~ipad</key>
                <dict>
                        <key>CFBundlePrimaryIcon</key>
                        <dict>
                                <key>CFBundleIconFiles</key>
                                <array>
                                        <string>AppIcon60x60</string>
                                        <string>AppIcon76x76</string>
                                </array>
                                <key>CFBundleIconName</key>
                                <string>AppIcon</string>
                        </dict>
                </dict>
                <key>CFBundleIdentifier</key>
                <string>com.sample.simpsonsviewer</string>
                <key>CFBundleInfoDictionaryVersion</key>
                <string>6.0</string>
                <key>CFBundleName</key>
                <string>simpsons_viewer</string>
                <key>CFBundlePackageType</key>
                <string>APPL</string>
                <key>CFBundleShortVersionString</key>
                <string>0.1.0</string>
                <key>CFBundleSignature</key>
                <string>????</string>
                <key>CFBundleSupportedPlatforms</key>
                <array>
                        <string>iPhoneSimulator</string>
                </array>
                <key>CFBundleVersion</key>
                <string>0.1.0</string>
                <key>DTCompiler</key>
                <string>com.apple.compilers.llvm.clang.1_0</string>
                <key>DTPlatformBuild</key>
                <string>20E238</string>
                <key>DTPlatformName</key>
                <string>iphonesimulator</string>
                <key>DTPlatformVersion</key>
                <string>16.4</string>
                <key>DTSDKBuild</key>
                <string>20E238</string>
                <key>DTSDKName</key>
                <string>iphonesimulator16.4</string>
                <key>DTXcode</key>
                <string>1431</string>
                <key>DTXcodeBuild</key>
                <string>14E300c</string>
                <key>LSRequiresIPhoneOS</key>
                <true/>
                <key>MinimumOSVersion</key>
                <string>11.0</string>
                <key>NSBonjourServices</key>
                <array>
                        <string>_dartVmService._tcp</string>
                </array>
                <key>NSLocalNetworkUsageDescription</key>
                <string>Allow Flutter tools on your computer to connect and debug your application. This prompt
                will not appear on release builds.</string>
                <key>UIApplicationSupportsIndirectInputEvents</key>
                <true/>
                <key>UIDeviceFamily</key>
                <array>
                        <integer>1</integer>
                        <integer>2</integer>
                </array>
                <key>UILaunchStoryboardName</key>
                <string>LaunchScreen</string>
                <key>UIMainStoryboardFile</key>
                <string>Main</string>
                <key>UISupportedInterfaceOrientations</key>
                <array>
                        <string>UIInterfaceOrientationPortrait</string>
                        <string>UIInterfaceOrientationLandscapeLeft</string>
                        <string>UIInterfaceOrientationLandscapeRight</string>
                </array>
                <key>UISupportedInterfaceOrientations~ipad</key>
                <array>
                        <string>UIInterfaceOrientationPortrait</string>
                        <string>UIInterfaceOrientationPortraitUpsideDown</string>
                        <string>UIInterfaceOrientationLandscapeLeft</string>
                        <string>UIInterfaceOrientationLandscapeRight</string>
                </array>
                <key>UIViewControllerBasedStatusBarAppearance</key>
                <false/>
           </dict>
           </plist>
[   +6 ms] executing: /usr/bin/arch -arm64e xcrun simctl launch A74D8B76-F676-4449-8598-4230B4D1A65B
com.sample.simpsonsviewer --enable-dart-profiling --enable-checked-mode --verify-entry-points
[  +98 ms] com.sample.simpsonsviewer: 1039
[        ] Waiting for VM Service port to be available...
[  +63 ms] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend.
[  +30 ms] VM Service URL on device: http://<IP_ADDRESS>:54033/SyKrBshV03c=/
[   +2 ms] Caching compiled dill
[  +14 ms] Connecting to service protocol: http://<IP_ADDRESS>:54033/SyKrBshV03c=/
[  +59 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service
at http://<IP_ADDRESS>:54033/SyKrBshV03c=/.
[  +28 ms] DDS is listening at http://<IP_ADDRESS>:54036/iybTqMuHL4o=/.
[  +21 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:54033/SyKrBshV03c=/
[   +9 ms] DevFS: Creating new filesystem on the device (null)
[   +5 ms] DevFS: Created new filesystem on the device
(file:///Users/marco/Library/Developer/CoreSimulator/Devices/A74D8B76-F676-4449-8598-4230B4D1A65B/data/Contai
ners/Data/Application/8A702AA2-7716-4DD0-94BC-444BA532D644/tmp/simpsons_viewerMmfsnv/simpsons_viewer/)
[        ] Updating assets
[  +39 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for
more information see #56466.
[   +1 ms] Syncing files to device iPhone 14 Pro Max...
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:simpsons_viewer/main.dart 8fa36b65-3e47-44b4-b49e-28cbd92cdba2
[        ] <- 8fa36b65-3e47-44b4-b49e-28cbd92cdba2
[        ] Bundle processing done.
[  +39 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device iPhone 14 Pro Max... (completed in 41ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +1 ms] Connected to _flutterView/0x136059220.
[        ] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] A Dart VM Service on iPhone 14 Pro Max is available at: http://<IP_ADDRESS>:54036/iybTqMuHL4o=/
[  +99 ms] flutter: connectivityResult: none
[   +2 ms] The Flutter DevTools debugger and profiler on iPhone 14 Pro Max is available at:
           http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:54036/iybTqMuHL4o=/
[+43048 ms] Application finished.

### Flutter Doctor

```shell
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale en-US)
    • Flutter version 3.10.6 on channel stable at /Users/marco/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (5 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

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

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

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

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

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

[✓] Connected device (3 available)
    • iPhone 14 Pro Max (mobile) • A74D8B76-F676-4449-8598-4230B4D1A65B • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 13.5 22G74
      darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      111.0.5563.64

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

• No issues found!

### Checklist before submitting a bug

- [X] I Google'd a solution and I couldn't find it
- [X] I searched on StackOverflow for a solution and I couldn't find it
- [X] I read the README.md file of the plugin
- [X] I'm using the latest version of the plugin
- [X] All dependencies are up to date with `flutter pub upgrade`
- [X] I did a `flutter clean`
- [X] I tried running the example project

Experiencing the same issue on connectivity_plus ^4.0.2.
Reproducible on Simulator reliably.

Flutter Doctor
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale en-IN)
• Flutter version 3.10.6 on channel stable at /Users/ashutosh.s/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f468f3366c (5 weeks ago), 2023-07-12 15:19:05 -0700
• Engine revision cdbeda788a
• Dart version 3.0.6
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.70.0

We're experiencing the same issue.

I am looking forward to getting this resolved... hopefully.

from my perspective this package works differently in Simulator and Rela Devices.
Correct me guys if am wrong!

Any updates? I believe this issue should be resolved.
Thanks.

I am having the same issue. 5.0.2 on iOS 17.2 simulator

This is an issue with iOS simulators. As long as it works on a real device, there is nothing to solve.
It is the same case as with network_info_plus plugin where wifiInfo will always return null on simulator even when the project has all the required entitlements, configs.
I will update the documentation with this note, though.

In fact, it turns out that it is already mentioned already in the first sentence under iOS section: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/connectivity_plus/connectivity_plus#ios


CLion plugin doesn't support external_include_paths feature

What was done
We opted-in bazel external_include_paths feature so that we can use #include<> for dependencies.
What is expected
We expect bazel and CLion plugin all work normally.
What happened actually
Bazel itself works while CLion plugin doesn't, still yelling that we should use #include"" instead.
Environment

Bazel: 5.1.1, directly downloaded from github release page.
CLion: 2022.1.3, Build #CL-221.5921.27
CLion plugin: 2<IP_ADDRESS>.0-api-version-221
OS: Arch Linux

More details?
The external_include_paths feature is from https://github.com/bazelbuild/bazel/pull/13107 (see also: https://github.com/bazelbuild/bazel/commit/08936aecb96f2937c61bdedfebcf1c5a41a0786d and https://github.com/bazelbuild/bazel/issues/12009), which allows us using #include<> for dependencies so that we don't get uninterested compilation warnings (or errors, if -Werror) from dependency headers. This feature is available from Bazel 5.0.0 and onwards. This feature is enabled by specifying build --features=external_include_paths in our .bazelrc file.
It works great on bazel 5.1.1 but not on CLion bazel plugin. IDE still flags errors for our #include<>s, like below:

Here gsl is introduced by http_archive with build_file_content set to a simple cc_library call since it's just a header-only library. abseil is introduced by http_archive directly because itself supports bazel. We can make gsl works with #include<> by adding includes=["."] to build_file_content provided by us, but we can't do the same thing for abseil without manually creating a patch adding includes arguments in all cc_library rules of it.

This issue was created months ago, and both CLion and Bazel plugin have been updated many times since then. Seems that this issue simply got resolved, maybe as a side effect of other fixes or optimizations.

Turns out that the issue still exists. The previous test that I succeeded is caused by absl installed in the system include directory, not fetched by the bazel.
MRE:
.bazelrc
build --features=external_include_paths
build --cxxopt=-std=c++17

.bazelversion
6.2.0

WORKSPACE
workspace(name = "bzlexp")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_skylib",
    sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
    ],
)

http_archive(
    name = "com_google_absl",
    sha256 = "81311c17599b3712069ded20cca09a62ab0bf2a89dfa16993786c8782b7ed145",
    strip_prefix = "abseil-cpp-20230125.1",
    urls = [
        "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230125.1.tar.gz",
    ],
)

BUILD.bazel
cc_binary(
    name = "main",
    srcs = ["main.cc"],
    deps = ["@com_google_absl//absl/strings"],
)

main.cpp
#include <iostream>
#include <absl/strings/str_cat.h>

int main() {
    std::cout << "hello, world" << std::endl;
    return 0;
}

Using latest stable CLion with Bazel plugin 2<IP_ADDRESS>.1-api-version-231. Not using the latest version because it's so broken that make all sync failed. See https://github.com/bazelbuild/intellij/issues/4965 for details.

I don't know how to reproduce it, just tried with catch and it seems correct
WORKSPACE:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_skylib",
    sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
        "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz",
    ],
)

load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")

bazel_skylib_workspace()

http_archive(
    name = "catch2",
    sha256 = "8361907f4d9bff3ae7c1edb027f813659f793053c99b67837a0c0375f065bae2",
    strip_prefix = "Catch2-3.3.2",
    urls = ["https://github.com/catchorg/Catch2/archive/v3.3.2.tar.gz"],
)

BUILD:
cc_test(
    name = "test",
    srcs = ["test.cpp"],
    copts = ["-std=c++14"],
    deps = [
        "@catch2//:catch2_main",
    ],
)

Not work for me though. This time the CLion just can't find the include file, even with #include "". But bazel build //... still works. I have no idea why.

With further investigation, I found that @cache2//:cache2 and @cache2//:cache2_main both have includes. This will make #include<> work regardless of whether external_include_paths is enabled. In contrast, abseil-cpp has no includes in its public cc_library targets, so external_include_paths is required for #include<> to work. This issue still exists.
So why I said that I failed with cache hours ago? Turns out that enabling external_include_paths in .bazelrc will make bazel clion plugin ignore includes in all external cc_library targets. I will submit another issue with more details.


Cherrypick shiproom approved fixes to release/1.0-stable

Cherry-pick's from main to release/1.0-stable
Added stdint.h to satisfy uint32_t references #1597
commit 4e5aec8
Remove obsolete TerminalVelocity include for non-existent file #1598
commit b27662c

/azp run


Add menu entry swapper for valuable drops

Imagine killing a blue dragon, and it drops a mithril spear, a blue dragonhide and dragon bones. If you spam left-click on the item stack, you first get the mithril spear, then the dragon bones and then the blue dragonhide. I'd prefer to get the dragon bones and blue dragonhide first.
Maybe make it such that highlighted items go on top of the list, and ignored items on the bottom.

We decided to not reorder ground item menus to be able to spam left-click.

Hi, do we have any more context around the decision for this?


Stoneblock crash when using Autocrafting

Issue description:
I've been playing through Stoneblock.
What happens:
minecraft window freezes and stops responding
What you expected to happen:
Minecraft to not stop responding
Steps to reproduce:

Open game
Look around

Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge:<IP_ADDRESS>36
Refined Storage:1.6.14

Does this issue occur on a server? [yes]
tried it on a server as well and it still crashed so it happens on both.
If a (crash)log is relevant for this issue, link it here:
Solo
https://pastebin.com/DZf53mVB
Server
https://pastebin.com/TU2nJZPN

This issue is from Mekanism (it is crashine while conduits are inserting items into a mekanism machine).
This issue should already be fixed in newer versions of mekanism.
Regardless it has nothing to do with Refined Storage.

My mistake, i assumed it was refined storage cos of what i was doing.
ok thank you, i guess i'll have to wait for an update to play the game then :(


AbstractHollowOrdinalIterable 's iterator() method is not idempotent

Hi,
during development of our sollution backed by Hollow, we've noticed that iterator() method in AbstractHollowOrdinalIterable class is not idempotent and invoking it might corrupt wrapped HollowOrdinalIterator.
Each time iterator in AbstractHollowOrdinalIterable is called it creates a new instance of Iterator interface and during its initialization invokes next() method of underlying HollowOrdinalIterator. As a result, we've observed that some of the ordinals might be omitted during later processing if iterator() was called more than once (directly or indirectly - e.g. by calling spliterator method).
Cheers!

I think this issue could be closed now

@blekit ^^

Yeah, it definitely can.


Enhancement Request - Support File Names and Directories Containing Spaces

When a File Name has Spaces in it (e.g. Sparkfun Serial Backpack Test V0.py), there is a problem. I have tried Rename and Delete, but although the program seems to process, nothing happens. The Rename does not work and the file is not Deleted.
I imagine File Names (and Directory Names as well?) need to be enclosed in Quotes somewhere (most likely in various places) in the program so that they can be passed/processed as a complete String rather than only the text up to the first Space.
Thanks and Regards
Andre Nieuwoudt

Filenames with spaces cause problems in other situations and tools, so this is is a nonsensical request.
I am closing it.


feat(config): allow to provide glob expressions for linked and ignore packages

Closes #364

@Noviny @Andarist what are your opinions on globs vs regex for this?
My thoughts:
globs:

the inconsistency of what a "glob" is the worst
they're kinda easier to write than regex, especially when in a string literal
they're what people are used to writing in most tools(e.g. workspaces config)
all valid npm packages names will only ever match that package name

regex:

regex is consistent(or rather consistent in JS)
The whole double escaping thing would get ANNOYING
v important point:  A valid npm package name could match something that isn't the package name(e.g. you have a package named something.another.thing, will match something-something.another.thing-whatever-else, something1another1thing and somethingaanotherathing and etc. To make it only match something.another.thing, you would have to write "^something\\.another\\.thing$"). This would presumably mean we would need a syntax for "I want to do regex, not exact package name matching", probs /regex here/? so it would be "/^something\\.another\\.thing$/"
You'd probably always want to write ^my-package$ rather than my-package so that it doesn't match my-package-whatever which is just ughhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

I feel like I'm leaning towards globs but wouldn't mind hearing other people's thoughts

I think I'd favour globs

While I hate globs and I've vented about it in another thread - I think they make more sense here, especially given serializability issues.

👋 how is this going? Can I help?

I think we're waiting for a decision around the behavior of inclusive/exclusive patterns.
@Andarist @mitchellhamilton @Noviny any update from your side?


Support for Planck

Planck is no longer available to be purchased from ZSA; however, Oryx still supports it. I tried to use your workflow to build config for my keyboard, but it failed.
I was hoping that a simple change with the paths will make it work, but unfortunately it fails.
Unfortunately, I'm unable to troubleshoot it, so I'm kindly asking if you could help with that. If not, that's fine too :)
Thanks for the tool. You reminded me to keep the backups somewhere.

I took a look, and good news—the workflow already supports the Planck! To use it, just set "planck_ez" as the layout_geometry. I've also added it to the keyboard list to make it easier to find.
Let me know if you run into any other issues, happy to help!

@poulainpi Thank you! I checked my stuff again, and I did one thing wrong. I tried to compile moonlander layout for planck...
I selected my layout, and used planck_ez/glow instead. It compiled; however, the workflow failed to upload the artifact:

Not sure how to fix it, but will give it a try later.

Thanks for your investigation!
I missed the glow version, but I’ve just pushed support for it!
Let me know if anything goes wrong


Research paper

Is the paper of Channel-Enhancement  released?

Thank you for your message. Currently, the associated articles for this project are under review. I'd be happy to help you if you run into errors in the published inference code.


first and last for content queries don't appear to be working

Using the demo site you can recreate this one:
{
  people {
    name,
    children(first:1) {
      items {
        name
      }
    }
  }
}

From the docs this "should" return the first item only however we get this back:
{
  "data": {
    "people": [
      {
        "name": "People",
        "children": {
          "items": [
            {
              "name": "Jan Skovgaard"
            },
            {
              "name": "Matt Brailsford"
            },
            {
              "name": "Lee Kelleher"
            },
            {
              "name": "Jeavon Leopold"
            },
            {
              "name": "Jeroen Breuer"
            }
          ]
        }
      }
    ]
  }
}

Same for "last" too:
{
  people {
    name,
    children(last:2) {
      items {
        name
      }
    }
  }
}

This is implemented now, including the use of before and after. The pagination is cursor-based and the, as recommended on GraphQL.org
To get the cursor you'll need to use the edges field instead of items:
{
  people {
    name
    children(first:2) {
      edges {
        cursor
        node {
          name
        }
      }
      pageInfo {
        hasNextPage
        hasPreviousPage
        startCursor
        endCursor
      }
    }
  }
}

which will return:
{
  "data": {
    "people": [
      {
        "name": "People",
        "children": {
          "edges": [
            {
              "cursor": "Y29ubmVjdGlvbjow",
              "node": {
                "name": "Jan Skovgaard"
              }
            },
            {
              "cursor": "Y29ubmVjdGlvbjox",
              "node": {
                "name": "Matt Brailsford"
              }
            }
          ],
          "pageInfo": {
            "hasNextPage": true,
            "hasPreviousPage": false,
            "startCursor": "Y29ubmVjdGlvbjow",
            "endCursor": "Y29ubmVjdGlvbjox"
          }
        }
      }
    ]
  }
}


Add Cypress Windows Support under Git Bash

Image comparisons are off by 15 pixels under windows, throwing Error: Image size (1279x1000) different than saved snapshot size (1264x1000)
Infinite redirect fix for https://github.com/http-party/http-server/issues/525

New issue found that should be added to this PR before merge:
The method of detecting the webserver is failing cypress/support/execute-tests.sh: line 194: pgrep: command not found resulting in attempting to start it again when it's already running: Error: listen EADDRINUSE <IP_ADDRESS>:8282

Webserver start/stop changes added.  Should be good to review again.

Squashed commits, made remaining commit message comply.  Build passing now.


In theory, a code that works with babel should work with "babel-eslint".
I try to use 3 experimental plugins in my code:

"@babel/plugin-proposal-nullish-coalescing-operator"
"@babel/plugin-proposal-pipeline-operator"
"@babel/plugin-proposal-optional-chaining"

And I made a test file to test these 3 plugins:
const o = { a: { } };

// chaining
console.log(o?.a);
console.log(o?.a?.b);
console.log(o?.a?.b ?? 'should be printed');
o |> console.log;

If I compile this file with babel-cli, I've:
var _o$a, _o;

const o = {
  a: {}
}; // chaining

console.log(o === null || o === void 0 ? void 0 : o.a);
console.log(o === null || o === void 0 ? void 0 : (_o$a = o.a) === null || _o$a === void 0 ? void 0 : _o$a.b); //console.log(o?.a?.b ?? 'should be printed');

_o = o, console.log(_o);

That's look OK at first glance.
When I try to lint this file I have:
 error  Parsing error: This experimental syntax requires enabling the parser plugin: 'nullishCoalescingOperator'
error  Parsing error: This experimental syntax requires enabling the parser plugin: 'pipelineOperator'

But nothing from @babel/plugin-proposal-nullish-coalescing-operator.
The plugins are enabled on the .babelrc:
{
  "presets": [["@babel/env", {
    "targets": {
      "browsers": ["last 2 Chrome versions"]
    }
  }], "@babel/flow", "@babel/stage-0"],

  "plugins": [
    "@babel/plugin-proposal-nullish-coalescing-operator",
    "@babel/plugin-proposal-pipeline-operator",
    "@babel/plugin-proposal-optional-chaining"
  ]
}

Here is the version of relevant package:
    "@babel/core": "^7.0.0-beta.32",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0-beta.32",
    "@babel/plugin-proposal-optional-chaining": "^7.0.0-beta.32",
    "@babel/plugin-proposal-pipeline-operator": "^7.0.0-beta.32",
    "@babel/preset-env": "^7.0.0-beta.32",
    "@babel/preset-flow": "^7.0.0-beta.32",
    "@babel/preset-stage-0": "^7.0.0-beta.32",
    "@babel/cli": "^7.0.0-beta.32,
    "eslint": "^4.11.0",
    "babel-eslint": "^8.0.2",

And the relevant part of my .eslintrc.js
module.exports = {

  plugins: [
    'vue'
  ],

  extends: [
    'eslint-config-airbnb/legacy',
    'plugin:vue/recommended'
  ],

  env: {
    es6: true
  },

  parserOptions: {
    parser: 'babel-eslint',
  },

  rules: {
   ...
  },

  globals: {
    ...
  }
};

I don't understand why babel can transpile and not lint since the parser is babel-eslint.
Is it a bug or do I missed something ?
Thanks

It has been fixed in https://github.com/babel/babel-eslint/commit/c66ec51878e43d05d01fa8151525654cd35eb094. (babel-eslint 8)
Which version of babel-eslint are you using.

The one that is in my package.json I guess so   "babel-eslint": "^8.0.2".

Oh sorry, I was wrong.
The correct way of fixing this bug is adding the missing Babylon plugins to https://github.com/babel/babel-eslint/blob/a0fbd503d89fbaddca0aea0bcd277812df17a97d/index.js#L395-L418. There is already a PR for the pipeline operator (https://github.com/babel/babel-eslint/pull/540); do you want add the nullishCoaleshingOperator to that list?

Sure! I'll do a PR a soon as possible ! thanks

https://github.com/babel/babel-eslint/pull/544

I'm also facing this issue, is this any way to solve this yet?

For anyone else encountering the issue, you should check your eslintrc and verify that you've got
  parser: 'babel-eslint',

as one of the top level options.  Based on the eslint documentation, the eslintrc in the original description of @titouancreach won't work.

I wished to use : https://github.com/vuejs/eslint-plugin-vue. The F.A.Q state:
If you already use other parser (e.g. "parser": "babel-eslint"), please move it into parserOptions, so it doesn't collide with the vue-eslint-parser used by this plugin's configuration:

Ah, thanks for the info.  It might be worth trying to lint at least one of the files that has errors currently with just babel-eslint directly to determine if the issue is with babel-eslint or with the vue plugin.

This bug still occurs with:
  parser: 'babel-eslint',

  /*
  parserOptions: {
    parser: 'babel-eslint'
  },
  */

Would't be more flexible solution to move plugins option for babylon parser instance into parserOptions option in .eslintrc file?
Now every new plugin requires code change and publishing it under new version.

@hzoo It seems like #523 is currently in flux.
Do you or anyone know of any other fix to get these features to work? I wasn't able to get any of the solutions in this thread to work in a simple setup (non vue). I'm specifically looking for the pipeline-operator.

I'm seeing Parsing error: This experimental syntax requires enabling the parser plugin: 'pipelineOperator' with<EMAIL_ADDRESS>and SyntaxError: Unexpected token with<EMAIL_ADDRESS><EMAIL_ADDRESS>has no problem compiling the code
Is there something we can do right now to enable feature support in babel-eslint?
Are there tickets we should be tracking?
(Hey @sartaj! 👋)

logicalAssignment is still missing

partialApplication 🙏

It would be better to provide a way to customize the list of plugins (or even all babel parser options).

@finom v11 loads your babel.config.js and parses out all plugins
My .eslintrc.js looks now like this:
module.exports = {
  parser: 'babel-eslint',
  plugins: ['babel', 'security', 'node', 'jest', 'cypress'],
  extends: [
    'plugin:security/recommended',
    'airbnb-base',
    'prettier',
    'prettier/react',
    'prettier/babel',
  ],
...

@valoricDe to enable some of the plugins babel needs to know what and how to parse. See https://babeljs.io/docs/en/babel-parser
Plugins don't enable any parsing features. The only thing they do is compiling JS code into JS code.

@finom I resolved my partialApplication problem with version 11 of babel-eslint and the aforementionend .eslintrc. Because it reads your babel.config.js so it knows what and how to parse. Just try it out.

@valorice is correct - v11 reads your Babel config file and enables parser plugins using the same logic Babel itself does when compiling.

Good to know, TY 🎉

same error. partialApplication
.babelrc.js:
module.exports = {
  presets: ['@babel/env', '@babel/typescript'],
  plugins: [
    ['@babel/plugin-proposal-pipeline-operator', { proposal: 'minimal' }]
  ]
};

.eslintrc.yml:
root: true
parser: babel-eslint
extends:
  - '@shiwangme'
  - plugin:@typescript-eslint/recommended-requiring-type-checking
plugins:
  - babel
parserOptions:
  project: ./tsconfig.json

packs:
    "@babel/cli": "^7.7.4",
    "@babel/core": "^7.7.4",
    "@babel/plugin-proposal-pipeline-operator": "^7.7.4",
    "@babel/preset-env": "^7.7.4",
    "@babel/preset-typescript": "^7.7.4",
    "@shiwangme/eslint-config": "*",
    "@types/node": "*",
    "babel-eslint": "^11.0.0-beta.1",
    "eslint": "*",
    "eslint-plugin-babel": "^5.3.0",
    "eslint-plugin-import": "*",
    "prettier": "*",
    "typescript": "*"

source.ts:
let person = { score: 25 };

let newScore = person.score
  |> double
  |> add(7, ?)
  |> boundScore(0, 100, ?);

Error:
Parsing error: /xxx/src/index.ts: Support for the experimental syntax 'partialApplication' isn't currently enabled (5:13):

  3 | let newScore = person.score
  4 |   |> double
> 5 |   |> add(7, ?)
    |             ^
  6 |   |> boundScore(0, 100, ?);
  7 |


Dark theme Hero Background

Describe the desired behavior
Hero background image should be reflective of light or dark theme.
Describe the current behavior
Background color is hard-coded inside the component library to be white, regardless of whether the theme is light or dark.
Is this request related to a current issue?
No
Additional Context

No

As for the "white letter A with dark background" problem

— I suppose the designers can provide their own custom svg for the developers to implement as a substitute for the icon. So for this story, just implement the hero component so that the background color matches the card background

As for the "white letter A with dark background" problem

— I suppose the designers can provide their own custom svg for the developers to implement as a substitute for the icon. So for this story, just implement the hero component so that the background color matches the card background

Oof this is my mistake; the background color was not hard-coded to be white inside the component library.  It was hardcoded to be white inside the storybook story.  I'll have a fix out for this soon.

Right now it's pretty easy to manually add the necessary colors for the badge background color.  @joebochill  Do you think it makes sense to have these light/dark badge background defaults as part of the angular theme?

I think it would be good to have the defaults set so that someone who sets up light/dark themes for their application don't have to conditionally add a background color prop for the dark theme (we should handle that logic for them).

Ok I'll move this fix from the storybook + showcase to the theme repo.

Fixed here: https://github.com/pxblue/themes/pull/133


Allow failures on TravisCI for PHP 5.3 to 5.5

Why?

If its not needed, i can close it.

@srmklive: Can you explain your reasoning behind it?

The reasoning is the build on TravisCI shouldn't fail due to old php versions. If you think, this is not needed. Then lets close the PR.

The reason why I don't think it makes much sense to allow failures for those versions on v1.1 is that if tests fail (and they do not fail, right now) then they should be fixed because we'll still support PHP 5.3, 5.4 and 5.5 for patch releases in the above mentioned branch.
If we'd be willing to accept failures for ancient versions of the runtime then we should just drop support for them but as I've said this shouldn't be the case for v1.1, but might be OK for the next minor release and will be a gived for the next major release.
On the contrary, allowing failures for PHP 8 would be OK since it's still a work in progress and things may break anytime just because of that.

See 7da604b 👍🏻


fix windows fs truncate return syscall.EBADF

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.qin.hu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: add rpms-signature-scan task to pipelines

adding rpms-signature-scan task to build pipeline to pass EC check, refer to the failure in EC check https://github.com/konflux-ci/integration-service/pull/910 and push pipelinerun in PR https://github.com/konflux-ci/integration-service/pull/915 https://console.redhat.com/application-pipeline/workspaces/rhtap-integration/applications/integration-service/pipelineruns/integration-service-enterprise-contract-6dhmc/logs

            "violations": [
                {
                    "msg": "Required task \"rpms-signature-scan\" is missing",
                    "metadata": {
                        "code": "tasks.required_tasks_found",
                        "collections": [
                            "redhat"
                        ],
                        "depends_on": [
                            "tasks.pipeline_has_tasks"
                        ],
                        "description": "Ensure that the set of required tasks are included in the PipelineRun attestation. To exclude this rule add \"tasks.required_tasks_found:rpms-signature-scan\" to the `exclude` section of the policy configuration.",
                        "solution": "Make sure all required tasks are in the build pipeline. The required task list is contained as xref:ec-cli:ROOT:configuration.adoc#_data_sources[data] under the key 'required-tasks'.",
                        "term": "rpms-signature-scan",
                        "title": "All required tasks were included in the pipeline"
                    }
                }
            ],

Refer to mail [Konflux Announce] Adding rpms-signature-scan task to build pipeline
Signed-off-by: Hongwei Liu<EMAIL_ADDRESS>Maintainers will complete the following section

[ ] Commit messages are descriptive enough (hints)
[ ] Code coverage from testing does not decrease and new code is covered (check the PR coverage on codecov)
[ ] Controllers diagrams are updated when PR changes controllers code  (if applicable)

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

Please upload report for BASE (main@1874e08). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #919   +/-   ##
=======================================
  Coverage        ?   66.62%
=======================================
  Files           ?       43
  Lines           ?     5693
  Branches        ?        0
=======================================
  Hits            ?     3793
  Misses          ?     1564
  Partials        ?      336

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


Add inline-Documentation in SpotifyWebAPIClass

I think it would be a good idea to add some inline Documentation in SpotifyWebAPIClass.
Would help a lot if you do not know the difference between e.g URIs and IDs

Done in 45c71544f93a409554c558d806493a1ae5a602a6


[BUGFIX]coalesce

PR Description
Please describe the changes proposed in the pull request:

ensure get_index_labels is called early in the code - column check, easy column selection ...

This PR improves coalesce.

PR Checklist

Please ensure that you have done the following:

[x] PR in from a fork off your branch. Do not PR from <your_username>:dev, but rather from <your_username>:<feature-branch_name>.

[x] If you're not on the contributors list, add yourself to AUTHORS.md.

[ ] Add a line to CHANGELOG.md under the latest version header (i.e. the one that is "on deck") describing the contribution.

Do use some discretion here; if there are multiple PRs that are related, keep them in a single line.

Automatic checks
There will be automatic checks run on the PR. These include:

Building a preview of the docs on Netlify
Automatically linting the code
Making sure the code is documented
Making sure that all tests are passed
Making sure that code coverage doesn't go down.

Relevant Reviewers

Please tag maintainers to review.

@ericmjl

🚀 Deployed on https://deploy-preview-1325--pyjanitor.netlify.app

@pyjanitor-devs/core-devs @ericmjl how do I check the minimum pandas version? in the tests, i can see pandas 1.3.5, whereas working in dev i see the minimum version is pandas 1.5.3

This is interesting, I need to check how the environments are built. Give me one moment, @samukweku!

@samukweku environment-dev.yml was pinned to 1.3.5. I'm not sure what the reason is, but we should release the pin and let it float with the ecosystem. I'm going to make a push.

@samukweku I'm not sure what's happening after releasing the version pin, but pivot_wider's docstring examples appear to be failing. I made sure pytest skipped those tests, since we are going to be deprecating that function anyways.

Since I pushed to the PR, that means I've accepted the contents of it :smile:. Officially approving, and now going to merge! Thank you, @samukweku!


”Laza” is listed in the drop-down menu

Description:
"Laza" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Laza" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Laza, VASLUI".


<EMAIL_ADDRESS>library could not be resolved

After running the libman restore command, I'm getting this error message
[LIB002]: The<EMAIL_ADDRESS>library could not be resolved by the "jsdelivr" provider

I'm using the 2.1.175+29a28921bd.RR version.

What package are you expecting to find?  I don't find a "libman.json" package searching in jsdelivr or in npm (which is what jsdelivr mirrors)

I'm looking for bootstrap and bootstarp-icons.

So your libman.json file should look something like this:
{
  "version": "1.0",
  "defaultProvider": "jsdelivr",
  "libraries": [
    {
      "library"<EMAIL_ADDRESS>      "destination": "wwwroot/lib/bootstrap"
    },
    {
      "library"<EMAIL_ADDRESS>      "destination": "wwwroot/lib/bootstrap-icons"
    }
  ]
}

Is that similar to what you had?  Or what did yours look like when you got this error?

Yes, exactly. It's the same and i tried different defaultProviders as well.

Weird, I can't reproduce this with either the libman CLI tool or with Visual Studio.  Can you share the contents of you libman.json file?  I noticed in the Fiddler screenshot that it's using unpkg instead of jsdelivr as in the original error, so I just wanted to double check everything...

I'm very sorry. That was my fault.


[Feature]: Allow caching static resources between launched, without sharing cookies

Feature description
Hi, as the title says, it would be great if we could have a cache shared between different browser instances launched using launch, but without sharing cookies between them.
Currently, the only way I found for sharing files/resources between browser instances is using userDataDir. It works great, except that cookies are also being shared. This is a problem when cookies hold personal information that shouldn't be leaked between browser instances.
I found this similar issues, but sadly no one has answered it. As it's mentioned in that issue, one can implement a custom solution that writes/reads to/from a local storage outside of Puppeteer, but it sounds like a common need that would be awesome to have as part of the package.
If there's another idea that I missed for achieving this, I'd really appreciate you pointing me in the right direction 🙏 .

Have you tried using the https://peter.sh/experiments/chromium-command-line-switches/#disk-cache-dir argument?

No, I haven't tried using it, but will definitely do. Thanks for pointing it out!


Non-bootstrap version

Is there a way to use this component without bootstrap?
Thanks!

It is possible if we replace it with some custom styling. I'm looking forward to get some help with this one.


sublimetext3 fails to run

Issue description
The sublime3 executable fails soon after startup with messages about symbols and libraries it cannot load.
However, these are libraries loaded with dlopen because it is able to output some text when run with --version.
Using git bisect shows that it broke starting with commit 90f3a237eb51d7e3173f1502d468e99ff777d1b9 and this change seems to be interfering with Sublime's use of dlopen.
Steps to reproduce
$ sublime --version
Unable to load cairo_clip from libcairo.so
...
Unable to load pango_font_description_free from libpango-1.0.so
...
Unable to load g_file_new_for_uri from libgio-2.0.so
Sublime Text Build 3200

Technical details

system: "x86_64-linux"
host os: Linux 4.14.114, NixOS, 19.09pre178233.85d160e24b1 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(root): "nixos-19.09pre178233.85d160e24b1"
channels($USER): "nixpkgs-19.09pre178250.c2ac3f9f013"
nixpkgs: ~/.nix-defexpr/channels/nixpkgs

https://github.com/NixOS/nixpkgs/commit/90f3a237eb51d7e3173f1502d468e99ff777d1b9 happened in the NetworkManager bump.
@jtojnar Think you can take a look at this?

The libredirect is only used during build and none of those libraries should even depend on NM. Will try to reproduce.

Hmm, I can reproduce. However this test does not mind:

pkgs/build-support/libredirect/default.nix
+++ b/pkgs/build-support/libredirect/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, coreutils }:
+{ stdenv, lib, coreutils, cairo }:

 stdenv.mkDerivation {
   name = "libredirect-0";
@@ -19,7 +19,7 @@
       libredirect.c

     if [ -n "$doInstallCheck" ]; then
-      $CC -Wall -std=c99 -O3 test.c -o test
+      $CC -Wall -std=c99 -O3 -ldl test.c -o test
     fi
   '';

@@ -42,7 +42,7 @@
   installCheckPhase = ''
     (
       source "$hook/nix-support/setup-hook"
-      NIX_REDIRECTS="/foo/bar/test=${coreutils}/bin/true" ./test
+      LD_LIBRARY_PATH="${cairo}/lib" NIX_REDIRECTS="/foo/bar/test=${coreutils}/bin/true" ./test
     )
   '';

--- a/pkgs/build-support/libredirect/test.c
+++ b/pkgs/build-support/libredirect/test.c
@@ -1,4 +1,5 @@
 #include <assert.h>
+#include <dlfcn.h>
 #include <fcntl.h>
 #include <spawn.h>
 #include <stdio.h>
@@ -26,6 +27,19 @@
     assert(waitpid(pid, NULL, 0) != -1);
 }

+void test_dlopen(void) {
+    void *cairo = dlopen("libcairo.so", RTLD_LAZY);
+    assert(dlerror() == NULL);
+
+    int (*cairo_version)(void);
+    *(void **) (&cairo_version) = dlsym(cairo, "cairo_version");
+    assert(dlerror() == NULL);
+
+    assert(cairo_version() > 0);
+
+    assert(dlclose(cairo) == 0);
+}
+
 void test_execv(void) {
     char *argv[] = {"true", NULL};
     assert(execv(TESTPATH, argv) == 0);
@@ -50,6 +64,7 @@
     assert(stat(TESTPATH, &testsb) != -1);

     test_spawn();
+    test_dlopen();
     test_execv();

     /* If all goes well, this is never reached because test_execv() replaces

If I change it just passthrough, Sublime starts:
--- a/pkgs/build-support/libredirect/libredirect.c
+++ b/pkgs/build-support/libredirect/libredirect.c
@@ -171,5 +171,5 @@
 {
     void * (*__dlopen_real) (const char *, int) = dlsym(RTLD_NEXT, "dlopen");
     char buf[PATH_MAX];
-    return __dlopen_real(rewrite(filename, buf), flag);
+    return __dlopen_real(filename, flag);
 }

This makes even less sense:
--- a/pkgs/build-support/libredirect/libredirect.c
+++ b/pkgs/build-support/libredirect/libredirect.c
@@ -171,5 +171,6 @@
 {
     void * (*__dlopen_real) (const char *, int) = dlsym(RTLD_NEXT, "dlopen");
     char buf[PATH_MAX];
+    printf("************************* Rewriting %s → %s, same: %d\n", filename, rewrite(filename, buf), filename == rewrite(filename, buf));
     return __dlopen_real(rewrite(filename, buf), flag);
 }

prints
************************* Rewriting libcairo.so → libcairo.so, same: 1
************************* Rewriting libcairo.so.2 → libcairo.so.2, same: 1
Unable to load cairo_clip from libcairo.so

Can’t come up with a better explanation than undefined behaviour because the presence of the rewrite call (does not even have to be used) is all it takes:
--- a/pkgs/build-support/libredirect/libredirect.c
+++ b/pkgs/build-support/libredirect/libredirect.c
@@ -171,5 +171,6 @@
 {
     void * (*__dlopen_real) (const char *, int) = dlsym(RTLD_NEXT, "dlopen");
     char buf[PATH_MAX];
-    return __dlopen_real(rewrite(filename, buf), flag);
+    printf("************************* Rewriting %s → %s, same: %d\n", filename, rewrite(filename, buf), filename == rewrite(filename, buf));
+    return __dlopen_real(filename, flag);
 }

Weirdly, strace shows a narrower set of directories when calling rewrite:
openat(AT_FDCWD, "/run/opengl-driver/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/wxn6mfw2c78fhh2jhkx3w1l0rhpy1lrg-gpaste-3.32.0/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/siks2gcfwx6qwh27m7c5r5lixcr621bd-glibc-2.27/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/siks2gcfwx6qwh27m7c5r5lixcr621bd-glibc-2.27/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/run/opengl-driver/lib/libcairo.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/wxn6mfw2c78fhh2jhkx3w1l0rhpy1lrg-gpaste-3.32.0/lib/libcairo.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/siks2gcfwx6qwh27m7c5r5lixcr621bd-glibc-2.27/lib/libcairo.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/siks2gcfwx6qwh27m7c5r5lixcr621bd-glibc-2.27/lib/libcairo.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
write(2, "Unable to load cairo_clip from l"..., 43Unable to load cairo_clip from libcairo.so

versus
openat(AT_FDCWD, "/run/opengl-driver/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/wxn6mfw2c78fhh2jhkx3w1l0rhpy1lrg-gpaste-3.32.0/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dl9y5q1wvxpgd6qsb4f5vvacfw0pg3sa-libX11-1.6.7/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/yq7yg0krl4z0g1fzzk6nkb11h1awx4xx-glib-2.60.0/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/d5b6yb9jh542gb97mi47n8j68idyi93x-gtk+3-3.24.8/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/yhxzag4y9vyfgkwrjwmzsz6xy5i8hhg3-cairo-1.16.0/lib/libcairo.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0j\1\0\0\0\0\0"..., 832) = 832

It is also weird that “Unable to load libcairo.so” is not printed (usually).

Asked about the issue on ST discourse.

The current working hypothesis is that when we call dlopen in the LD_PRELOADed libredirect.so, the dynamic linker tries to load libcairo.so and uses the rpath of libredirect.so, instead of the Sublime’s one, which contains ${cairo}/lib.

That sounds very probable. Thanks for looking into this!

https://github.com/NixOS/nixpkgs/pull/60869#issuecomment-489286815

Until https://github.com/NixOS/nixpkgs/pull/60909 is build by hydra, here is a small localized patch you can cherry-pick to your nixpkgs to avoid rebuild of everything:
https://github.com/NixOS/nixpkgs/commit/63a32e4828e5aef57661520932c2cd624a3174a0

The patch is working well for me, but I'm wondering when the full fix will arrive in the nixos-unstable-small channel. At the moment, it's only in the staging branch. Is it still held up waiting for Hydra?
Thanks for all the hard work from you and others to get this fixed so promptly.

We are currently waiting on https://github.com/NixOS/nixpkgs/pull/61095, see https://github.com/NixOS/nixpkgs/pull/61095


[DEBUG] proxy_test: evaluate rtt value for DNS requests

As an attempt to debug a flake in the runtime privileged tests where the DNS request times out, runs the relevant test many times (10^6) and observe the RTT duration to see if it sometimes get longer than the current timeout value used for the server (100us).
On my local setup I get 1 run out of 20k at more than 10us, and 1 in 1M above 30us, so the 100us seems way enough... But let's see what Jenkins says.
Tweak test files and Makefile to run just the function we want, and make sure we fail at the end so we get logs.

test-only --focus="RuntimePrivilegedUnitTests"

Coverage decreased (-0.03%) to 37.157% when pulling 459032c9034878e060080ccef73cb71091643c47 on qmonnet:test/qmonnet/privileged_tests_dnsproxy into 21b86d519c96dda1a2f511ad519939575c96032e on cilium:master.

test-focus RuntimePrivilegedUnitTests

test-focus RuntimePrivilegedUnitTests


[RAINCATCH-1180] Hide Completed Workorders

Motivation
Stop syncing old completed workorders to the mobile client to avoid data clutter and excess data flow.
Keep workorders available for the portal.
Description

Add tracking for workorder status
Add extensibility option for server-side mongodb list filter
Add filter+configuration for excluding workorders completed X days ago

Progress

[X] History tracking
[X] custom list filters
[X] completed workorder filter
[X] Unit tests

Changes Unknown when pulling a952d271ecd66b6e5117180dd97d5cd4e38650f1 on RAINCATCH-1180-hide-completed into ** on master**.

To verify:

Complete a workorder via the mobile app
Manually update the workorder's statusHistory.Complete to an older day. i.e. node -e 'console.log(new Date().setDate(new Date().getDate() - 3))'
Verify that the workorder disappears on the next sync cycle

Changes Unknown when pulling b2901c54f9ca0b8cfe85fdaa482e801a5d56c32f on RAINCATCH-1180-hide-completed into ** on master**.

@wtrocki addressed comments, thanks for review!

Changes Unknown when pulling 1581488b39b16028108165a47698fd65ee3b31b6 on RAINCATCH-1180-hide-completed into ** on master**.

Changes Unknown when pulling 1581488b39b16028108165a47698fd65ee3b31b6 on RAINCATCH-1180-hide-completed into ** on master**.


Step Numbers Doubled

Hello Lars,
Your implementation of Intro.JS for Xojo Web is great!
When exploring the library I noticed that when Run, the "step numbers" are double the number expected for each step (expecting 1 of 5, 2 of 5, 3 of 5, 4 of 5 etc... are displaying respectively as 2 of 5, 4 of 5, 6 of 5, 8 of 5 etc).
The screen shot from your library shows an example, step 8 of 5.
Thank you for sharing the library publicly.
Kind regards, Andrew

allright, then simply fix it and provide the sollution over a pull-request 😊
This is open source, so feel free to contribute.


FileSystemException: Cannot delete file, OS Error: The process cannot access the file because it is being used by another process. , errno = 32

Command
flutter --no-color test --machine --start-paused test\widget_test.dart

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot delete file, OS Error: Dosya başka bir işlem tarafından kullanıldığından bu işlem dosyaya erişemiyor.
, errno = 32
#0      _File.throwIfError (dart:io/file_impl.dart:675:7)
#1      _File._deleteSync (dart:io/file_impl.dart:329:5)
#2      FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:407:7)
#3      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#4      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#5      ErrorHandlingFileSystem.deleteIfExists (package:flutter_tools/src/base/error_handling_io.dart:84:14)
#6      ShaderCompiler.compileShader (package:flutter_tools/src/build_system/tools/shader_compiler.dart:199:29)
<asynchronous suspension>
#7      writeBundle.<anonymous closure> (package:flutter_tools/src/bundle_builder.dart:221:25)
<asynchronous suspension>
#8      Future.wait.<anonymous closure> (dart:async/future.dart:534:21)
<asynchronous suspension>
#9      writeBundle (package:flutter_tools/src/bundle_builder.dart:187:3)
<asynchronous suspension>
#10     TestCommand._buildTestAsset (package:flutter_tools/src/commands/test.dart:700:7)
<asynchronous suspension>
#11     TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:420:7)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)

[✓] Flutter (Channel stable, 3.24.2, on Microsoft Windows [Version 10.0.19045.4412], locale tr-TR)
    • Flutter version 3.24.2 on channel stable at C:\code\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cf269e36d (10 days ago), 2024-09-03 14:30:00 -0700
    • Engine revision a6bd3f1de1
    • Dart version 3.5.2
    • DevTools version 2.37.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\etolfort\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11609105)

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.4412]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 128.0.6613.138
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 128.0.2739.67

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

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 4cf269e36de2573851eaef3c763994f8f9be494d
Plugins
path_provider_linux-2.2.1
path_provider_windows-2.3.0
shared_preferences-2.3.2
shared_preferences_android-2.3.2
shared_preferences_foundation-2.5.2
shared_preferences_linux-2.4.1
shared_preferences_web-2.4.2
shared_preferences_windows-2.4.1

Closing as duplicate of https://github.com/flutter/flutter/issues/145028


Added explain field to query and to results

Version bump?

please bump a minor version to the cabal before you merge


Problem starting @nuxt/test-utils with URL

Environment
RootDir: /Users/dev02/dev/temporario/app-nuxt-3

Operating System: Darwin
Node Version:     v16.14.2
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      ssr, app, css, windicss, build, modules, experimental, components, vite, runtimeConfig, intlify, vueuse, content
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
// app-nuxt-3/test/hoje.test.js
import { fileURLToPath } from 'node:url'
import { describe, expect, it } from 'vitest'
import { isWindows } from 'std-env'
import { setup, fetch, $fetch, startServer, createPage, url } from '@nuxt/test-utils'
await setup({
rootDir: fileURLToPath(new URL('../../app-nuxt-3', import.meta.url)),
server: true,
browser: false,
setupTimeout: (isWindows ? 240 : 120) * 1000
})
describe('pages', () => {
it('render index', async () => {
const html = await $fetch('/')
expect(html).toContain('Fundação de Esportes DEV')
})

Describe the bug
Here are the links to the documentation and the example I took to make mine.
https://nuxt.com/docs/getting-started/testing
https://github.com/nuxt/framework/tree/main/test
The issue I'm having is the app is telling me the Url must be from the schema file. I'm in doubt if the Url is wrong when pointing to the application or if the scheme he wants to say is something else. I can't find any examples on the internet that help me.
Note: Remembering that I configured Vitest and use it normally, including together with Pinia. The real problem is when I started testing the Nuxt components themselves. I haven't even started yet.
Error picture:

Additional context
It's my first time writing a bug (I've always been able to solve it by searching), so forgive me if it's not good enough.
Logs
No response

Would you provide a reproduction? 🙏
(I've tried with the code you provided but can't reproduce.)

Hey there! Please add a minimal reproduction so we can look into that properly, thank you 🙏🏻💚.
Since there isn't any activity here, I'd suggest closing this, but feel free to reopen. Thank you 🙏🏻💚


Add Dockerfile

If you are interested, I made it work inside a Dockerfile. Allowing this:
docker build -t contribs:latest .

docker run --rm --volume $(pwd):/app contribs:latest python3 /app/generate_markdown.py Jeroen-G

Oh, this is based on #7 by the way.


Add links to Summarizer and Gallery for Python

@bobtabor-msft please review and wordsmith if needed.

@bobtabor-msft
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

We're re-creating these changes and adding some additional one on the private repo. Closing.


DOF enabled disables glow/bloom effect

Operating system or device - Godot version:
Ubuntu + arch
Issue description:
Enable DOF in the world env and notice the bloom dissapears

Is this still valid in the current master branch?

possibly related? #9756

i think this was fixed, unable to reproduce

ah yeah, it's fixed, closing


Add mini.db

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini
Description
Mini.db
Is there any plan to add database manipulations to mini?
Something similar to:

tpope/vim-dadbod
Completions like

kristijanhusak/vim-dadbod-completion

UI like

kristijanhusak/vim-dadbod-ui

Thanks

Thanks for the suggestion!
Not at the moment, because the focus now is mostly to get to a state of having all the pieces for a smoother functionality of a general purpose editor (listed in planned modules). But I'll keep this in mind.


Profile v3: Fix bug with counting events in absences and discipline events tab

Part of https://github.com/studentinsights/studentinsights/issues/1990.
Who is this PR for?
all educators, this is impacting folks in New Bedford most now
What problem does this PR fix?
The "last 45 days" counts for absences and discipline incidents are wrong from a bug in the filtering.  This wasn't obvious because the counts should have been 0 for everyone for a while, but a few of the NB schools started a few weeks ago, and looking at those surfaced it.
What does this PR do?
Fixes the bug.
Screenshot (if adding a client-side feature)
before

after

Checklists

[x] Author checked latest in IE - Student Profile v3
[x] Author improved specs for code in need of better test coverage

stuck on github issues, the UI here doesn't show the latest commits so going to wait a bit before shipping since I'm not sure what the merge button in the UI will do right now...

all clear now, selfie


Would be good to have basic css formatted table components

It'd be good to have  etc. so that you can manually build a table that is all styled correctly, but without binding to data. Like you can with the Select option.
I've started building my own classes for this.
(Unless I've missed something!)

I ran into this requirement today. The workaround was to look at the classes added to the table generated by MatTable and apply this classes to a standard table I built myself. There were only 3 classes to copy.


error when authors of some positions are saved and a position list is requested

Describe the bug
When authors of some positions are saved, a call to position list produces an error
To Reproduce
Steps to reproduce the behavior:

Make sure that at least one saved position has an author.
Enter command 'position list'
See error

Expected behavior
A normal list with all positions and authors, if applicable.
Minecraft:

Client Badlion 1.17.1
Server Paper 1.17.1 #228
Plugin 0.3

bug fixed in commit 7c05d6f


Move some menu items into a "New tab" page

The VSCode editor is not by any measure a discoverable interface. 90% of the important things in VSCode are hidden in the Ctrl Shift P command that opens the unintuitive command interface. Other features are stuffed in ad-hoc places in the side-bar and in the main menu's drop-down lists.
I use VSCode with main menu hidden and side-bar hidden to have a clean distraction-free coding experience.
To access the settings and preferences, it would be very nice to have a "Home page" or "New page" similar to the "Welcome" page that has important links in it. The "Welcome" page is limited in its usefulness because it is not summonable at will and only shows on startup.
Having a "New" page would be in line with VSCode's general design pattern of making things very tab-oriented.

It would also be nice to be able to manage multiple projects in the same window. Currently, managing projects in multiple windows means that all but one of the projects must be closed when shutting down VSCode. This is dysfunctional for multi-project workflows. An idea would be to provide a single process that manages the other project windows and re-launches them when launching the main program. This does, however, interrupt the flow between multiple projects, since Microsoft Windows is miserable at coordinating multiple windows within the same application (ironically).

You could assign a keybinding to the Welcome page. And there is a setting to restore all windows after restart:


Elo ranking and related infrastructure

The current star based ranking system is good, but I think a more precise system that focuses on ranking images competitively against one another would be helpful for some use cases, especially culling folders to certain numbers of images.
I suggest: two new fields, Elo and the datestamp of the last Elo change event. Both are sortable in the main view and can be used to filter. A new context item to reset a record to the default Elo. A new two-up view for images that has hotkeys for awarding an Elo win or draw between the images. A way to launch this view using the currently filtered or selected images, shuffled.
Thoughts? Happy to try and assist on building it, but thought I should run it by you first.

Even more so if you could rank things multidimensionally. Kind of like a visual MDCA.

Not familiar with Elo, but just to try to get an idea:
So you need to show two images, and the viewer decides which one wins by just selecting one.  The winner takes points from the loser.  Then, the next image takes the place of the loser?
I've also thought about multiple rankings, but kind of like attribute based, realism, prompt adherence, lighting, probably user-defined attributes with some base attributes, but having so many things to tweak would be time consuming for the user.

So you need to show two images, and the viewer decides which one wins by just selecting one. The winner takes points from the loser. Then, the next image takes the place of the loser?

You’ve got the basic idea. Using the existing scores for each competitor the algorithm attempts to predict who should win based on historical performance and the likelihood of this happening. The amount of points transferred depend on this - if the strong favourite is chosen, few points move from the loser to the winner. But a big upset moves a lot of points - this can help a strong newcomer find their level more quickly without having to beat half the field.
In terms of selecting the next matchup, there is no prescriptive rule. You could look for the scores that are closest to each other (likely to yield the most information?), that have had the fewest ranking events (needs to track an extra variable) or something else.
I would be thrilled if you looked into this so please let me know if you need some help. I would love to just offer up a pull but I know essentially nothing about GUI programming :/


Stacked area or line graphs produce incorrect result.

Checklist

[*] I updated the card to the latest version available
[*] I cleared the cache of my browser
[*] I verified that I'm really running the latest version in my browser console
[*] I checked if there is another issue opened with the same problem

Describe the bug
When charting 3 series with stacked line or area, the result is incorrect. Stacked columns render correctly. My hunch is that this is related to one series being at 0 for considerable periods and the summing calculation using the previous positive value when this happens.
I have three series - each an energy monitoring plug where the series is watts over time. I'm attempting to plot an area graph with all three stacked.
Unstacked area (correct):

Stacked column (correct):

Stacked area (incorrect):

In the stacked area the blue series (UPS) is shown a hump in wattage that does not exist with usage at ~150w, then reducing to half after a while - this does not exist in the data.
Video showing a the step goes away when the fridge series is removed, even though there's no usage during that time:

Here is the blue series on its own:

Thoughts
I suspect this may be related to the fridge reading 0 for extended periods. I've tried using fill_raw with both zero and last to no effect.
My hunch is that the stacking algorithm is using last available value for a series when the current value is zero - here incorrectly adding the last value of the fridge to the totals, even though it's at 0.
I've tried also using a transform to make sure the value is always at least 1w but it did not work.
Version of the card
Version: 2.04
To Reproduce
This is the configuration I used:
type: custom:apexcharts-card
stacked: true
graph_span: 1d
span:
  end: hour
update_interval: 1m
apex_config:
  legend:
    position: top
    fontSize: 14px
    itemMargin:
      horizontal: 10
      vertical: 5
all_series_config:
  type: area
  unit: w
  float_precision: 2
  opacity: 0.9
  curve: stepline
  show:
    legend_value: false
  group_by:
    func: avg
    duration: 1m
series:
  - entity: sensor.fridge_power_current_consumption
    name: Fridges
  - entity: sensor.ups_power_current_consumption
    name: UPS
  - entity: sensor.desk_power_current_consumption
    name: Desk

Screenshots
If applicable, add screenshots to help explain your problem.
Expected behavior
The stacked area should closely resemble the stacked column.
Desktop (please complete the following information):

Browser Chrome
Version 120

is there any update for this?

is there any update for this?

My hacky solution was to just use stacked column with narrow bars. But not so narrow that it slows the UI down. I suspect the bug is probably with the apex library that this card uses.

Not stale. I can confirm using type: column "fixes" the issue.
I wonder if this could be related to inconsistent timestamps for the X axis (every series having slight different timestamps which overlap visually but not code-wise).


InitConn --> IIPConnection, updated test run scripts, reverted statusString change

I have now moved InitConn from utils.js into its own file IIPConnection.js. I hope the usage of the word IIP makes sense in this case, please correct me if I am wrong! In addition, IIPConnection and the new ProcessConnection (which was formerly called Connection) are now subclasses of Connection.

Connection
|-------------------------------------
|                                    |
ProcessConnection              IIPConnection

The checks conn.constructor == Utils.InitConn have been replaced by conn instanceof IIPConnection. The latter is also less restrictive insofar that it would also allow subclasses of IIPConnection to pass the test.

Merge remote-tracking branch 'upstream/master' is a merge of your most recent changes into my code base.

fbptests.bat now automatically runs all fbptest[xy].js in the directory (=> specifying all test file names by hand is not necessary anymore!). It makes use of the command forfiles, which doesn't support an alphanumeric sort, so I had to rename all test files to be collected in the right order by forfiles.

fbptests.sh now also includes every available test.

@jpaulm It seems that you were working on an older code base when submitting this line of code. It obviously broke fbptest7 due to my recent change of Process.statusString to (Process instance).getStatusString(). I reverted this change. The command git pull should be able to keep your local code base always updated to the code base of your jsfbp GitHub repository. Run it preferably after every change you did or accept (e.g. a PR) online.

Don't understand 5 - however, as long as its works after the merge!
Noticed wsrecv was still following Tom's API - have fixed that - will
retest websockets...
Also, I think wsrecv and wsresp should be in components, not
examples/websockets...   Or possibly both!
I'll do the merge!
Cheers,
Paul
On Sat, Feb 14, 2015 at 6:17 PM, ComFreek<EMAIL_ADDRESS>wrote:

I have no moved InitConn from utils.js into its own file
IIPConnection.js. I hope the usage of the word IIP makes sense in this
case, please correct me if I am wrong! In addition, IIPConnection and the
new ProcessConnection (which was formerly called Connection) are now
subclasses of Connection.
Connection
|-------------------------------------
|                                    |
ProcessConnection              IIPConnection
The checks conn.constructor == Utils.InitConn have been replaced by conn
instanceof IIPConnection. The latter is also less restrictive insofar
that it would also allow subclasses of IIPConnection to pass the test.
2.
Merge remote-tracking branch 'upstream/master' is a merge of your most
recent changes into my code base.
3.
fbptests.bat now automatically runs all fbptest[xy].js in the
directory (=> specifying all test file names by hand is not necessary
anymore!). It makes use of the command forfiles, which doesn't support
an alphanumeric sort, so I had to rename all test files to be collected in
the right order by forfiles.
4.
fbptests.sh now also includes every available test.
5.
@jpaulm https://github.com/jpaulm It seems that you were working on
an older code base when submitting this line of code
https://github.com/jpaulm/jsfbp/commit/4abd3938473dac59975ec3f6b3c1cec1a1dcdf10#diff-168726dbe96b3ce427e7fedce31bb0bcR259.
It obviously broke fbptest7 due to my recent change of
Process.statusString to (Process instance).getStatusString(). I
reverted this change. The command git pull should be able to always
keep your local code base updated to the code base of your jsfbp GitHub
repository. Run it preferably after every change you did or accept (e.g. a
PR) online.

You can view, comment on, or merge this pull request online at:
https://github.com/jpaulm/jsfbp/pull/21
Commit Summary

InitConn --> IIPConnection
Merge remote-tracking branch 'upstream/master'
Automated fbptest run script
Updated fbptests.sh to include fbptest14
Revert breaking statusString change
fbptests.sh now dynamically takes every test
Merge remote-tracking branch 'upstream/master'

File Changes

M core/Connection.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-0 (13)
A core/IIPConnection.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-1 (9)
M core/InputPort.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-2 (4)
A core/ProcessConnection.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-3 (20)
M core/utils.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-4 (5)
R examples/fbptest01.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-5 (0)
R examples/fbptest02.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-6 (0)
R examples/fbptest03.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-7 (0)
R examples/fbptest04.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-8 (0)
R examples/fbptest05.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-9 (0)
R examples/fbptest06.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-10 (0)
R examples/fbptest07.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-11 (0)
R examples/fbptest08.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-12 (0)
R examples/fbptest09.js
https://github.com/jpaulm/jsfbp/pull/21/files#diff-13 (0)
M examples/fbptests.bat
https://github.com/jpaulm/jsfbp/pull/21/files#diff-14 (37)
M examples/fbptests.sh
https://github.com/jpaulm/jsfbp/pull/21/files#diff-15 (14)
M index.js https://github.com/jpaulm/jsfbp/pull/21/files#diff-16
(17)

Patch Links:

https://github.com/jpaulm/jsfbp/pull/21.patch
https://github.com/jpaulm/jsfbp/pull/21.diff

—
Reply to this email directly or view it on GitHub
https://github.com/jpaulm/jsfbp/pull/21.

Done!  Thanks, @comfreek!

Thanks!
Re point 5: Maybe you missed this change.
Frankly speaking, I've always forgotten to test the web socket example.

Also, I think wsrecv and wsresp should be in components

:+1: Agree.

Have moved wsrecv and wsresp to components.
Regards,
Paul
On Sun, Feb 15, 2015 at 12:59 PM, ComFreek<EMAIL_ADDRESS>wrote:

Thanks!
Re point 5: Maybe you missed this change
https://github.com/jpaulm/jsfbp/commit/2a71befc18fb4c8f518d34ba8c56b815d2b3cf75.
Frankly speaking, I've always forgotten to test the web socket example.
Also, I think wsrecv and wsresp should be in components
[image: :+1:] Agree.
—
Reply to this email directly or view it on GitHub
https://github.com/jpaulm/jsfbp/pull/21#issuecomment-74428307.


Run app engine dev server in debug mode via the app tools lib.

@elharo @briandealwis

Something that seems to be missing: although dev_appserver can run multiple modules, only a single module can be debugged as each module is launched in a separate JVM.  I had a test previously for that case.
(Though since we switched to the socket-listen mode on the debugger, I wonder if it's possible to have multiple JVMs connect back…)


cherrypick: changes for 4.13.5

See list of commits.

Pull Request Test Coverage Report for Build 882397686

83 of 89 (93.26%)  changed or added relevant lines in 7 files are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 84.266%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botframework-streaming/src/utilities/createNodeServer.ts
9
10
90.0%

libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
33
38
86.84%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

libraries/botbuilder/src/botFrameworkAdapter.ts
1
89.58%

libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
2
82.19%

Totals

Change from base Build 854560437:
0.02%

Covered Lines:
18834

Relevant Lines:
21260

💛  - Coveralls


Cleanup "Upgrading Version 8" page of User Manual page for Gradle 8.9RC1 release

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

BuildDistributions build


Nuitka can't run on Android termux

I have Android termux and I already install nuitka.
I already check nuitka version python -m nuitka --version
python -m nuitka --version                           ─╯
Nuitka:WARNING: Cannot detect Linux distribution, this may
Nuitka:WARNING: prevent optimization.
1.0rc7
Commercial: None
Python: 3.10.5 (main, Jun  7 2022, 03:52:12) [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7
Flavor: Unknown
Executable: /data/data/com.termux/files/home/venv/venv/bin/python
OS: Linux
Arch: aarch64
Distribution: Unknown None

But my question is that why nuitka can't compile my python file
When I compile a python projects using nuitka
python -m nuitka drop.py                             ─╯
Nuitka:WARNING: Cannot detect Linux distribution, this may
Nuitka:WARNING: prevent optimization.
Nuitka-Options:INFO: Used command line options: drop.py
Nuitka-Options:WARNING: You did not specify to follow or
Nuitka-Options:WARNING: include anything but main program.
Nuitka-Options:WARNING: Check options and make sure that is
Nuitka-Options:WARNING: intended.
Nuitka:WARNING: Using very slow fallback for ordered sets,
Nuitka:WARNING: please install 'ordered-set' PyPI package
Nuitka:WARNING: for best Python compile time performance.
Nuitka:INFO: Starting Python compilation with Nuitka '1.0rc7' on Python '3.10' commercial grade 'not installed'.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:WARNING: Cannot detect Linux distribution, this may
Nuitka:WARNING: prevent optimization.
Nuitka:INFO: Running C compilation via Scons.
Nuitka:WARNING: Cannot detect Linux distribution, this may
Nuitka:WARNING: prevent optimization.
 Please guide me.

I've looked into this briefly in the past and you can get as far as a built binary by following these steps:
pkg install python patchelf binutils
pip install ordered-set Nuitka
python -m nuitka --clang --standalone hello.py

However, since android does not support RPATH, you get the following error when running the binary:
WARNING: linker: Warning: "/data/data/com.termux/files/home/hello.dist/hello" unused DT entry: DT_RPATH (type 0xf arg 0x13d7) (ignoring)
CANNOT LINK EXECUTABLE "./hello.dist/hello": library "libpython3.10.so.1.0" not found: needed by main executable

I've worked on similar fixes for another project in the past, which can be found here:
https://github.com/panda3d/panda3d/blob/16304388699f30cf97316997242e46e5ccfdbc8e/makepanda/makepackage.py#L843
Obviously that's a totally different project but the basic commands are going to be similar if someone wants to make it work in Nuitka. I'm not sure if supporting Termux is a priority for Nuitka (unless you're a commercial customer), but at the end of the day the better way to compile for android in general is using the NDK to cross compile, which is not supported by Nuitka currently.

I done install successfully nuitka. But after compile nuitka can't run so file.
I have this 👇
ls                                                   ─╯ _asyncio.so         _elementtree.so      _struct.so        _bisect.so          _hashlib.so          _uuid.so          _blake2.so          _heapq.so            _zoneinfo.so      _bz2.so             _json.so             array.so          _codecs_cn.so       _lzma.so             audioop.so        _codecs_hk.so       _multibytecodec.so   binascii.so       _codecs_iso2022.so  _multiprocessing.so  drop              _codecs_jp.so       _opcode.so           fcntl.so          _codecs_kr.so       _pickle.so           grp.so            _codecs_tw.so       _posixshmem.so       ha                _contextvars.so     _posixsubprocess.so  math.so           _crypt.so           _queue.so            mmap.so           _csv.so             _random.so           pyexpat.so        _ctypes.so          _sha512.so           select.so         _datetime.so        _socket.so           termios.so        _dbm.so             _ssl.so              unicodedata.so    _decimal.so         _statistics.so       zlib.so

I have this issues problem and nuitka cython can't run. 👇
./drop                                               ─╯ WARNING: linker: Warning: "/data/data/com.termux/files/home/test/drop.dist/drop" unused DT entry: DT_RPATH (type 0xf arg 0x13d7) (ignoring)                                      CANNOT LINK EXECUTABLE "./drop": library "libpython3.10.so.1.0" not found

Step one would be to make sure, the Android Linux is properly identified, such that it becomes possible to identify the platform.
Step two, probably something general, a gcc that is really a clang, is something we could recognize, or tie a default to clang for this platform. I prefer the former of course, since it will be universal.
Step three is probably to adapt the way DLL dependencies are detected, that seems not to work.
I won't do these, but I welcome anybody taking a stab at it.

I've looked into this briefly in the past and you can get as far as a built binary by following these steps:
pkg install python patchelf binutils
pip install ordered-set Nuitka
python -m nuitka --clang --standalone hello.py

However, since android does not support RPATH, you get the following error when running the binary:
WARNING: linker: Warning: "/data/data/com.termux/files/home/hello.dist/hello" unused DT entry: DT_RPATH (type 0xf arg 0x13d7) (ignoring)
CANNOT LINK EXECUTABLE "./hello.dist/hello": library "libpython3.10.so.1.0" not found: needed by main executable

I've worked on similar fixes for another project in the past, which can be found here: https://github.com/panda3d/panda3d/blob/16304388699f30cf97316997242e46e5ccfdbc8e/makepanda/makepackage.py#L843
Obviously that's a totally different project but the basic commands are going to be similar if someone wants to make it work in Nuitka. I'm not sure if supporting Termux is a priority for Nuitka (unless you're a commercial customer), but at the end of the day the better way to compile for android in general is using the NDK to cross compile, which is not supported by Nuitka currently.
Step one would be to make sure, the Android Linux is properly identified, such that it becomes possible to identify the platform.

Step two, probably something general, a gcc that is really a clang, is something we could recognize, or tie a default to clang for this platform. I prefer the former of course, since it will be universal.
Step three is probably to adapt the way DLL dependencies are detected, that seems not to work.
I won't do these, but I welcome anybody taking a stab at it.

I've looked into this briefly in the past and you can get as far as a built binary by following these steps:
pkg install python patchelf binutils
pip install ordered-set Nuitka
python -m nuitka --clang --standalone hello.py

However, since android does not support RPATH, you get the following error when running the binary:
WARNING: linker: Warning: "/data/data/com.termux/files/home/hello.dist/hello" unused DT entry: DT_RPATH (type 0xf arg 0x13d7) (ignoring)
CANNOT LINK EXECUTABLE "./hello.dist/hello": library "libpython3.10.so.1.0" not found: needed by main executable

I've worked on similar fixes for another project in the past, which can be found here: https://github.com/panda3d/panda3d/blob/16304388699f30cf97316997242e46e5ccfdbc8e/makepanda/makepackage.py#L843
Obviously that's a totally different project but the basic commands are going to be similar if someone wants to make it work in Nuitka. I'm not sure if supporting Termux is a priority for Nuitka (unless you're a commercial customer), but at the end of the day the better way to compile for android in general is using the NDK to cross compile, which is not supported by Nuitka currently.

Step one would be to make sure, the Android Linux is properly identified, such that it becomes possible to identify the platform.
Step two, probably something general, a gcc that is really a clang, is something we could recognize, or tie a default to clang for this platform. I prefer the former of course, since it will be universal.
Step three is probably to adapt the way DLL dependencies are detected, that seems not to work.
I won't do these, but I welcome anybody taking a stab at it.

Step one would be to make sure, the Android Linux is properly identified, such that it becomes possible to identify the platform.
Step two, probably something general, a gcc that is really a clang, is something we could recognize, or tie a default to clang for this platform. I prefer the former of course, since it will be universal.
Step three is probably to adapt the way DLL dependencies are detected, that seems not to work.
I won't do these, but I welcome anybody taking a stab at it.

Dear sir,
You mean that the nuitka can't support on Android termux. Right?

I've looked into this briefly in the past and you can get as far as a built binary by following these steps:
pkg install python patchelf binutils
pip install ordered-set Nuitka
python -m nuitka --clang --standalone hello.py

However, since android does not support RPATH, you get the following error when running the binary:
WARNING: linker: Warning: "/data/data/com.termux/files/home/hello.dist/hello" unused DT entry: DT_RPATH (type 0xf arg 0x13d7) (ignoring)
CANNOT LINK EXECUTABLE "./hello.dist/hello": library "libpython3.10.so.1.0" not found: needed by main executable

I've worked on similar fixes for another project in the past, which can be found here: https://github.com/panda3d/panda3d/blob/16304388699f30cf97316997242e46e5ccfdbc8e/makepanda/makepackage.py#L843
Obviously that's a totally different project but the basic commands are going to be similar if someone wants to make it work in Nuitka. I'm not sure if supporting Termux is a priority for Nuitka (unless you're a commercial customer), but at the end of the day the better way to compile for android in general is using the NDK to cross compile, which is not supported by Nuitka currently.

Dear sir,
When I run py -m nuitka --clang --standalone test.py on termux. Here is my problem that why *nuitka" can't compile a python script. This is simple **Hello world" python file. Check error 👇

After that the test file can't run after nuitka compile ./test

Why nuitka cython can't run after clang compile. Please solve me . Thanks in advance

As KayHayen said, Nuitka does not support Android currently. Kay outlined the 3 general things that need to be done to add support if someone would like to put in the time to do it.

Please don't post screenshots or repeated information @Linux-aarch actually it seems you cannot contribute to the solution any further.

It seems Termux is working nowadays just fine.

However, since android does not support RPATH, you get the following error when running the binary:
WARNING: linker: Warning: "/data/data/com.termux/files/home/hello.dist/hello" unused DT entry: DT_RPATH (type 0xf arg 0x13d7) (ignoring)
CANNOT LINK EXECUTABLE "./hello.dist/hello": library "libpython3.10.so.1.0" not found: needed by main executable

I still get this error on Android (Bliss OS x86_64) when running any binary compiled with Nuitka (Python 3.10.8 / 2.7.18)

@LinuxUserGD can you make a new report with more details, right now I am not sure I have everything needed. I do not even know if this happens at compile time or run time.


Callback button

Added Button´s callback function
Added callback's test

It's missing a prettier run