79598343

Date: 2025-04-29 12:23:27
Score: 1.5
Natty:
Report link

Try this if you are getting an error while creating virtual env via python -m venv myvenv:

python -m venv myvenv --without-pip

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Saad Fiaz

79598342

Date: 2025-04-29 12:23:27
Score: 0.5
Natty:
Report link

I needed to specify my SQLParameter declaration to get the issue fixed:

var mySqlParameter = new SqlParameter()
{
    ParameterName = "@MyDataTable",
    SqlDbType = SqlDbType.Structured,
    Value = myTableContent,
    TypeName = "dbo.MyTableTypeName"
};
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Christoph Brückmann

79598338

Date: 2025-04-29 12:21:27
Score: 0.5
Natty:
Report link

I needed to specify my SqlParameter declaration to get the issue fixed:

var mySqlParameter = new SqlParameter()
{
    ParameterName = "@MyDataTable",
    SqlDbType = SqlDbType.Structured,
    Value = myTableContent,
    TypeName = "dbo.MyTableTypeName"
};
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Christoph Brückmann

79598328

Date: 2025-04-29 12:18:25
Score: 1.5
Natty:
Report link
SELECT 
   MAX(SELECT LENGTH("PackForm") FROM "schema"."T 2" WHERE "ID-PrsPack_fkey" = "ID-PrsPack"))
FROM "schema"."T 1" WHERE "ID_fkey" = 116;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: StOMicha

79598324

Date: 2025-04-29 12:17:25
Score: 1.5
Natty:
Report link

You may also want to use jakarta instead of javax as described in this answer:
https://stackoverflow.com/a/75743432/481528

<configOptions>
     <useJakartaEe>true</useJakartaEe>
</configOptions>
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: selalerer

79598316

Date: 2025-04-29 12:10:23
Score: 0.5
Natty:
Report link

From https://github.com/oneclickvirt/lxc_amd64_images or https://github.com/oneclickvirt/lxc_arm_images

You can try Github Action, example debian:

name: debian x86_64

on:
  schedule:
    - cron: '0 12 * * *'
  workflow_dispatch:

jobs:
  debian_x86_64_images:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2

    - name: check path
      run: |
        pwd

    - name: Configure Git
      run: |
        git config --global user.name "daily-update"
        git config --global user.email "[email protected]"
      
    - name: Build and Upload Images
      run: |
        distros=("debian")
        for distro in "${distros[@]}"; do
            zip_name_list=($(bash build_images.sh $distro false x86_64 | tail -n 1))
            release_id=$(curl -s -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/oneclickvirt/lxc_amd64_images/releases/tags/$distro" | jq -r '.id')
            echo "Building $distro and packge zips"
            bash build_images.sh $distro true x86_64
            for file in "${zip_name_list[@]}"; do
                if [ -f "$file" ] && [ $(stat -c %s "$file") -gt 10485760 ]; then
                    echo "Checking if $file already exists in release..."
                    existing_asset_id=$(curl -s -H "Accept: application/vnd.github.v3+json" \
                      "https://api.github.com/repos/oneclickvirt/lxc_amd64_images/releases/$release_id/assets" \
                      | jq -r --arg name "$(basename "$file")" '.[] | select(.name == $name) | .id')
                    if [ -n "$existing_asset_id" ]; then
                        echo "Asset $file already exists in release, deleting existing asset..."
                        delete_response=$(curl -s -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/oneclickvirt/lxc_amd64_images/releases/assets/$existing_asset_id")
                        echo "$delete_response"
                        if [ $? -eq 0 ] && ! echo "$delete_response" | grep -q "error"; then
                            echo "Existing asset deleted successfully."
                        else
                            echo "Failed to delete existing asset. Skipping file upload..."
                            rm -rf $file
                            continue
                        fi
                    else
                        echo "No $file file."
                    fi
                    echo "Uploading $file to release..."
                    curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
                      -H "Content-Type: application/zip" \
                      --data-binary @"$file" \
                      "https://uploads.github.com/repos/oneclickvirt/lxc_amd64_images/releases/$release_id/assets?name=$(basename "$file")"
                    rm -rf $file
                else
                    echo "No $file or less than 10 MB"
                fi
            done
        done
        

build_images.sh

#!/bin/bash
# 从 https://github.com/oneclickvirt/lxc_amd64_images 获取

run_funct="${1:-debian}"
is_build_image="${2:-false}"
build_arch="${3:-amd64}"
zip_name_list=()
opath=$(pwd)
rm -rf *.tar.xz
ls
# 检查并安装依赖工具
if command -v apt-get >/dev/null 2>&1; then
    # ubuntu debian kali
    if ! command -v sudo >/dev/null 2>&1; then
        apt-get install sudo -y
    fi
    if ! command -v zip >/dev/null 2>&1; then
        sudo apt-get install zip -y
    fi
    if ! command -v jq >/dev/null 2>&1; then
        sudo apt-get install jq -y
    fi
    uname_output=$(uname -a)
    if [[ $uname_output != *ARM* && $uname_output != *arm* && $uname_output != *aarch* ]]; then
        if ! command -v snap >/dev/null 2>&1; then
            sudo apt-get install snapd -y
        fi
        sudo systemctl start snapd
        if ! command -v distrobuilder >/dev/null 2>&1; then
            sudo snap install distrobuilder --classic
        fi
    else
        # if ! command -v snap >/dev/null 2>&1; then
        #     sudo apt-get install snapd -y
        # fi
        # sudo systemctl start snapd
        # if ! command -v distrobuilder >/dev/null 2>&1; then
        #     sudo snap install distrobuilder --classic
        # fi
        if ! command -v distrobuilder >/dev/null 2>&1; then
            $HOME/goprojects/bin/distrobuilder --version
        fi
        if [ $? -ne 0 ]; then
            sudo apt-get install build-essential -y
            export CGO_ENABLED=1
            export CC=gcc
            wget https://go.dev/dl/go1.21.6.linux-arm64.tar.gz
            chmod 777 go1.21.6.linux-arm64.tar.gz
            rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.6.linux-arm64.tar.gz
            export GOROOT=/usr/local/go
            export PATH=$GOROOT/bin:$PATH
            export GOPATH=$HOME/goprojects/
            go version
            apt-get install -q -y debootstrap rsync gpg squashfs-tools git make
            git config --global user.name "daily-update"
            git config --global user.email "[email protected]"
            mkdir -p $HOME/go/src/github.com/lxc/
            cd $HOME/go/src/github.com/lxc/
            git clone https://github.com/lxc/distrobuilder
            cd ./distrobuilder
            make
            export PATH=$HOME/goprojects/bin/distrobuilder:$PATH
            echo $PATH
            find $HOME -name distrobuilder -type f 2>/dev/null
            $HOME/goprojects/bin/distrobuilder --version
        fi
        # wget https://api.ilolicon.com/distrobuilder.deb
        # dpkg -i distrobuilder.deb
    fi
    if ! command -v debootstrap >/dev/null 2>&1; then
        sudo apt-get install debootstrap -y
    fi
fi

# 构建或列出不同发行版的镜像
build_or_list_images() {
    local versions=()
    local ver_nums=()
    local variants=()
    read -ra versions <<< "$1"
    read -ra ver_nums <<< "$2"
    read -ra variants <<< "$3"
    local architectures=("$build_arch")
    local len=${#versions[@]}
    for ((i = 0; i < len; i++)); do
        version=${versions[i]}
        ver_num=${ver_nums[i]}
        for arch in "${architectures[@]}"; do
            for variant in "${variants[@]}"; do
                # apk apt dnf egoportage opkg pacman portage yum equo xbps zypper luet slackpkg
                if [[ "$run_funct" == "centos" || "$run_funct" == "fedora" || "$run_funct" == "openeuler" ]]; then
                    manager="yum"
                elif [[ "$run_funct" == "kali" || "$run_funct" == "ubuntu" || "$run_funct" == "debian" ]]; then
                    manager="apt"
                elif [[ "$run_funct" == "almalinux" || "$run_funct" == "rockylinux" || "$run_funct" == "oracle" ]]; then
                    manager="dnf"
                elif [[ "$run_funct" == "archlinux" ]]; then
                    manager="pacman"
                elif [[ "$run_funct" == "alpine" ]]; then
                    manager="apk"
                elif [[ "$run_funct" == "openwrt" ]]; then
                    manager="opkg"
                    [ "${version}" = "snapshot" ] && manager="apk"
                elif [[ "$run_funct" == "gentoo" ]]; then
                    manager="portage"
                elif [[ "$run_funct" == "opensuse" ]]; then
                    manager="zypper"
                else
                    echo "Unsupported distribution: $run_funct"
                    exit 1
                fi
                EXTRA_ARGS=""
                if [[ "$run_funct" == "centos" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                    if [ "$version" = "7" ] && [ "${arch}" != "amd64" ] && [ "${arch}" != "x86_64" ]; then
                        EXTRA_ARGS="-o source.url=http://mirror.math.princeton.edu/pub/centos-altarch/ -o source.skip_verification=true"
                    fi
                    if [ "$version" = "8-Stream" ] || [ "$version" = "9-Stream" ]; then
                        EXTRA_ARGS="${EXTRA_ARGS} -o source.variant=boot"
                    fi
                    if [ "$version" = "9-Stream" ]; then
                        EXTRA_ARGS="${EXTRA_ARGS} -o source.url=https://mirror1.hs-esslingen.de/pub/Mirrors/centos-stream"
                    fi
                elif [[ "$run_funct" == "rockylinux" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                    EXTRA_ARGS="-o source.variant=boot"
                elif [[ "$run_funct" == "almalinux" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                    EXTRA_ARGS="-o source.variant=boot"
                elif [[ "$run_funct" == "oracle" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                    if [[ "$version" == "9" ]]; then
                        EXTRA_ARGS="-o source.url=https://yum.oracle.com/ISOS/OracleLinux"
                    fi
                elif [[ "$run_funct" == "archlinux" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                    if [ "${arch}" != "amd64" ] && [ "${arch}" != "i386" ] && [ "${arch}" != "x86_64" ]; then
                        EXTRA_ARGS="-o source.url=http://os.archlinuxarm.org"
                    fi
                elif [[ "$run_funct" == "alpine" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                    if [ "${version}" = "edge" ]; then
                        EXTRA_ARGS="-o source.same_as=3.19"
                    fi
                elif [[ "$run_funct" == "fedora" || "$run_funct" == "openeuler" || "$run_funct" == "opensuse" ]]; then
                    [ "${arch}" = "amd64" ] && arch="x86_64"
                    [ "${arch}" = "arm64" ] && arch="aarch64"
                elif [[ "$run_funct" == "gentoo" ]]; then
                    [ "${arch}" = "x86_64" ] && arch="amd64"
                    [ "${arch}" = "aarch64" ] && arch="arm64"
                    if [ "${variant}" = "cloud" ]; then
                        EXTRA_ARGS="-o source.variant=openrc"
                    else
                        EXTRA_ARGS="-o source.variant=${variant}"
                    fi
                elif [[ "$run_funct" == "debian" ]]; then
                    [ "${arch}" = "x86_64" ] && arch="amd64"
                    [ "${arch}" = "aarch64" ] && arch="arm64"
                elif [[ "$run_funct" == "ubuntu" ]]; then
                    [ "${arch}" = "x86_64" ] && arch="amd64"
                    [ "${arch}" = "aarch64" ] && arch="arm64"
                    if [ "${arch}" != "amd64" ] && [ "${arch}" != "i386" ] && [ "${arch}" != "x86_64" ]; then
                        EXTRA_ARGS="-o source.url=http://ports.ubuntu.com/ubuntu-ports"
                    fi
                fi
                if [ "$is_build_image" == true ]; then
                    if command -v distrobuilder >/dev/null 2>&1; then
                        if [[ "$run_funct" == "gentoo" ]]; then
                            echo "sudo distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} ${EXTRA_ARGS}"
                            if sudo distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} ${EXTRA_ARGS}; then
                                echo "Command succeeded"
                            fi
                        elif [[ "$run_funct" != "archlinux" ]]; then
                            echo "sudo distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.release=${version} -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}"
                            if sudo distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.release=${version} -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}; then
                                echo "Command succeeded"
                            fi
                        else
                            echo "sudo distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}"
                            if sudo distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}; then
                                echo "Command succeeded"
                            fi
                        fi
                    else
                        if [[ "$run_funct" == "gentoo" ]]; then
                            echo "sudo $HOME/goprojects/bin/distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} ${EXTRA_ARGS}"
                            if sudo $HOME/goprojects/bin/distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} ${EXTRA_ARGS}; then
                                echo "Command succeeded"
                            fi
                        elif [[ "$run_funct" != "archlinux" ]]; then
                            echo "sudo $HOME/goprojects/bin/distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.release=${version} -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}"
                            if sudo $HOME/goprojects/bin/distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.release=${version} -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}; then
                                echo "Command succeeded"
                            fi
                        else
                            echo "sudo $HOME/goprojects/bin/distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}"
                            if sudo $HOME/goprojects/bin/distrobuilder build-lxc "${opath}/images_yaml/${run_funct}.yaml" -o image.architecture=${arch} -o image.variant=${variant} -o packages.manager=${manager} ${EXTRA_ARGS}; then
                                echo "Command succeeded"
                            fi
                        fi
                    fi
                    # 强制设置架构名字
                    if [[ "$run_funct" == "gentoo" || "$run_funct" == "debian" || "$run_funct" == "ubuntu" ]]; then
                        [ "${arch}" = "amd64" ] && arch="x86_64"
                    elif [[ "$run_funct" == "fedora" || "$run_funct" == "openeuler" || "$run_funct" == "opensuse" || "$run_funct" == "alpine" || "$run_funct" == "oracle" || "$run_funct" == "archlinux" ]]; then
                        [ "${arch}" = "aarch64" ] && arch="arm64"
                    elif [[ "$run_funct" == "almalinux" || "$run_funct" == "centos" || "$run_funct" == "rockylinux" ]]; then
                        [ "${arch}" = "aarch64" ] && arch="arm64"
                    fi
                    ls
                    if [ -f rootfs.tar.xz ]; then
                        mv rootfs.tar.xz "${run_funct}_${ver_num}_${version}_${arch}_${variant}.tar.xz"
                        rm -rf rootfs.tar.xz
                    fi
                    ls
                else
                    # 强制设置架构名字
                    if [[ "$run_funct" == "gentoo" || "$run_funct" == "debian" || "$run_funct" == "ubuntu" ]]; then
                        [ "${arch}" = "amd64" ] && arch="x86_64"
                    elif [[ "$run_funct" == "fedora" || "$run_funct" == "openeuler" || "$run_funct" == "opensuse" || "$run_funct" == "alpine" || "$run_funct" == "oracle" || "$run_funct" == "archlinux" ]]; then
                        [ "${arch}" = "aarch64" ] && arch="arm64"
                    elif [[ "$run_funct" == "almalinux" || "$run_funct" == "centos" || "$run_funct" == "rockylinux" ]]; then
                        [ "${arch}" = "aarch64" ] && arch="arm64"
                    fi
                    zip_name_list+=("${run_funct}_${ver_num}_${version}_${arch}_${variant}.tar.xz")
                fi
            done
        done
    done
    if [ "$is_build_image" == false ]; then
        echo "${zip_name_list[@]}"
    fi
}


# 不同发行版的配置
# build_or_list_images 镜像名字 镜像版本号 variants的值
case "$run_funct" in
debian)
    build_or_list_images "buster bullseye bookworm trixie" "10 11 12 13" "default cloud"
    ;;
ubuntu)
    build_or_list_images "bionic focal jammy lunar mantic noble" "18.04 20.04 22.04 23.04 23.10 24.04" "default cloud"
    ;;
kali)
    build_or_list_images "kali-rolling" "latest" "default cloud"
    ;;
archlinux)
    build_or_list_images "current" "current" "default cloud"
    ;;
gentoo)
    build_or_list_images "current" "current" "cloud systemd openrc"
    ;;
centos)
    build_or_list_images "7 8-Stream 9-Stream" "7 8 9" "default cloud"
    ;;
almalinux)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-almalinux.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
rockylinux)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-rockylinux.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
alpine)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-alpine.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
openwrt)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-openwrt.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
oracle)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-oracle.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
fedora)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-fedora.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
opensuse)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-opensuse.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
openeuler)
    URL="https://raw.githubusercontent.com/lxc/lxc-ci/main/jenkins/jobs/image-openeuler.yaml"
    curl_output=$(curl -s "$URL" | awk '/name: release/{flag=1; next} /^$/{flag=0} flag && /^ *-/{if (!first) {printf "%s", $2; first=1} else {printf " %s", $2}}' | sed 's/"//g')
    build_or_list_images "$curl_output" "$curl_output" "default cloud"
    ;;
*)
    echo "Invalid distribution specified."
    ;;
esac

https://github.com/lxc/lxc-ci/tree/main/images

From here you can find the available yaml files, each corresponding to a class of operating system.

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: spiritlhl

79598310

Date: 2025-04-29 12:07:22
Score: 1.5
Natty:
Report link

Better later then never.

Have faced same issue with OData V4.

For solving this problem MessageQuotas must be configured in 2 places:

  1. In ODataBatchHandler for response creation.

  2. In ODataMessageReaderSettings for parsing incoming request, before it comes to BatchHandler for processing. Instance of this settings class must be configured and registered as singleton when configuring OData.

Adding 2d one solve problem in my case.

Related issue: https://github.com/simple-odata-client/Simple.OData.Client/issues/297

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Kot

79598304

Date: 2025-04-29 12:05:22
Score: 2
Natty:
Report link

Just add scrollbarWidth: "none" to styles

style={
  {
   scrollbarWidth: "none"
  }
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alita

79598297

Date: 2025-04-29 11:56:20
Score: 2.5
Natty:
Report link

So you will need to specify the remote Redis server so that you get the PONG response. You will ony get a connection refused if the remote server is configured to not allow remote connection and or has a password set and you didn't specify it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: davood Adibnejad

79598292

Date: 2025-04-29 11:55:19
Score: 0.5
Natty:
Report link

Settled on using the 3. approach, like avahi.bb does.

Addding the FILES lines to the recipe, the main123 file will not be installed when using IMAGE_INSTALL:append = " mwe-so". If some user of the recipe wants the files, they have to do additionally install the package named mwe-optional-files

SUMMARY = "mwe stackoverflow"
LICENSE = "CLOSED"
LICENSE:mwe-optional-files = "CLOSED"

FILESEXTRAPATHS:prepend := "${THISDIR}:"
SRC_URI += "file://CMakeLists.txt"
SRC_URI += "file://main.c"
SRC_URI += "file://main2.c"
S = "${WORKDIR}"

inherit cmake pkgconfig

PACKAGES =+ "mwe-optional-files"
PROVIDES =+ "mwe-optional-files"

FILES:{PN} = "whatever files you want normally installed"
FILES:mwe-optional-files = "/usr/local/bin/main123/mwe"
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Mo_

79598285

Date: 2025-04-29 11:50:18
Score: 3
Natty:
Report link

You need build node from source code. I've successfully built the latest node(23.11.0) even in the deprecated macOS 10.13 with llvm@18 (seems work with down to llvm@16) in homebrew by my customized rb files. All the tests provided by homebrew formula passed without errors. My repo contains these Fomula files .

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: niu541412

79598281

Date: 2025-04-29 11:46:17
Score: 6.5
Natty: 9
Report link

What if I need to do it throrugh measures only without creating a calculated column?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What if I
  • Low reputation (1):
Posted by: winR

79598278

Date: 2025-04-29 11:46:17
Score: 1
Natty:
Report link

I opened the relevant CMakeLists.txt and inserted this line near the beginning:

SET(CMAKE_CXX_COMPILER "/usr/bin/gcc")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Omroth

79598277

Date: 2025-04-29 11:44:16
Score: 1.5
Natty:
Report link

i found the problem i use sc.exe delete winRm
to delete the winRm
i used this command and reinstalled the winRm On Windows Server 2019

sc.exe create WinRM binPath= "C:\Windows\System32\svchost.exe -k NetworkService" start= auto obj= "NT AUTHORITY\NetworkService" type= share DisplayName= "Windows Remote Management (WS-Management)"

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ramin Azali

79598264

Date: 2025-04-29 11:38:14
Score: 1
Natty:
Report link

just an update option as the one from @marcelo Guerra is using a deprecated method (addFile)

//create a new google sheet within managerFolder
var ss = SpreadsheetApp.create(fileName);
var ssId = ss.getId();
var ssFile = DriveApp.getFileById(ssId);
ssFile.moveTo(destinationFolder);

source

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @marcelo
Posted by: Francisco Cortes

79598258

Date: 2025-04-29 11:36:13
Score: 11 🚩
Natty: 6
Report link

I have the same problem. Please help!

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Please help
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mauro

79598257

Date: 2025-04-29 11:35:13
Score: 1
Natty:
Report link

your jsonl file should contain lines like this one:

{"custom_id": "task-1", "method": "POST", "url": "/chat/completions", "body": {"model": "REPLACE-WITH-MODEL-DEPLOYMENT-NAME", "messages": [{"role": "system", "content": "You are an AI assistant that helps people find information."}, {"role": "user", "content": "When was the first XBOX released?"}]}}

in the body you can see a model parameter, it should be changed to the deployement name,

gpt-4o-mini-bt

in my case.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sifaw Ahil

79598256

Date: 2025-04-29 11:35:13
Score: 1.5
Natty:
Report link

import matplotlib.pyplot as plt

import numpy as np

# داده‌ها

روزها = ['روز 0', 'روز 7', 'روز 14', 'روز 28', 'روز 56']

روزها_عددی = np.array([0, 7, 14, 28, 56])

# ویژگی‌های تخمیری

pH_WCC = [6.20, 4.38, 4.28, 4.22, 4.18]

pH_C_TMR = [5.78, 4.45, 4.36, 4.30, 4.26]

لاکتیک_WCC = [4.2, 62.4, 71.5, 75.8, 78.3]

لاکتیک_C_TMR = [6.8, 54.7, 62.9, 66.3, 69.0]

استیک_WCC = [2.6, 18.5, 20.9, 21.7, 22.4]

استیک_C_TMR = [3.9, 14.2, 17.5, 19.1, 20.2]

پروپیونیک_WCC = [0.5, 1.2, 1.4, 1.5, 1.5]

پروپیونیک_C_TMR = [0.7, 0.9, 1.2, 1.3, 1.4]

بوتیریک_WCC = [0.2, 0.5, 0.4, 0.3, 0.3]

بوتیریک_C_TMR = [0.1, 0.3, 0.2, 0.2, 0.2]

آمونیاک_WCC = [44.6, 63.2, 61.7, 59.8, 57.9]

آمونیاک_C_TMR = [32.3, 48.7, 46.9, 45.2, 44.0]

# جمعیت میکروبی

باکتری_لاکتیک_WCC = [5.88, 8.71, 8.58, 8.46, 8.35]

باکتری_لاکتیک_C_TMR = [6.23, 8.42, 8.30, 8.18, 8.08]

باکتری_هوازی_WCC = [6.14, 4.02, 3.65, 3.40, 3.20]

باکتری_هوازی_C_TMR = [5.73, 3.77, 3.44, 3.25, 3.11]

مخمر_WCC = [5.20, 3.40, 3.00, 2.75, 2.60]

مخمر_C_TMR = [4.80, 3.20, 2.90, 2.65, 2.50]

# ترسیم نمودارها

fig, axs = plt.subplots(2, 1, figsize=(12, 10), sharex=True)

# نمودار ویژگی‌های تخمیری

axs[0].plot(روزها_عددی, pH_WCC, marker='o', label='pH - WCC')

axs[0].plot(روزها_عددی, pH_C_TMR, marker='o', label='pH - C-TMR')

axs[0].plot(روزها_عددی, لاکتیک_WCC, marker='s', label='اسید لاکتیک - WCC')

axs[0].plot(روزها_عددی, لاکتیک_C_TMR, marker='s', label='اسید لاکتیک - C-TMR')

axs[0].plot(روزها_عددی, استیک_WCC, marker='^', label='اسید استیک - WCC')

axs[0].plot(روزها_عددی, استیک_C_TMR, marker='^', label='اسید استیک - C-TMR')

axs[0].plot(روزها_عددی, پروپیونیک_WCC, marker='v', label='اسید پروپیونیک - WCC')

axs[0].plot(روزها_عددی, پروپیونیک_C_TMR, marker='v', label='اسید پروپیونیک - C-TMR')

axs[0].plot(روزها_عددی, بوتیریک_WCC, marker='d', label='اسید بوتیریک - WCC')

axs[0].plot(روزها_عددی, بوتیریک_C_TMR, marker='d', label='اسید بوتیریک - C-TMR')

axs[0].plot(روزها_عددی, آمونیاک_WCC, marker='x', label='آمونیاک-N - WCC')

axs[0].plot(روزها_عددی, آمونیاک_C_TMR, marker='x', label='آمونیاک-N - C-TMR')

axs[0].set_title('ویژگی‌های تخمیری در طول زمان')

axs[0].set_ylabel('مقدار (g/kg DM یا pH)')

axs[0].grid(True)

axs[0].legend(loc='upper right', fontsize=8)

# نمودار جمعیت میکروبی

axs[1].plot(روزها_عددی, باکتری_لاکتیک_WCC, marker='o', label='باکتری لاکتیک - WCC')

axs[1].plot(روزها_عددی, باکتری_لاکتیک_C_TMR, marker='o', label='باکتری لاکتیک - C-TMR')

axs[1].plot(روزها_عددی, باکتری_هوازی_WCC, marker='s', label='باکتری هوازی - WCC')

axs[1].plot(روزها_عددی, باکتری_هوازی_C_TMR, marker='s', label='باکتری هوازی - C-TMR')

axs[1].plot(روزها_عددی, مخمر_WCC, marker='^', label='مخمر - WCC')

axs[1].plot(روزها_عددی, مخمر_C_TMR, marker='^', label='مخمر - C-TMR')

axs[1].set_title('جمعیت میکروبی در طول زمان')

axs[1].set_xlabel('روز')

axs[1].set_ylabel('log₁₀ cfu/g FM')

axs[1].grid(True)

axs[1].legend(loc='upper right', fontsize=8)

plt.tight_layout()

plt.show()

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: FARAHUDDIN LARGHANI

79598250

Date: 2025-04-29 11:31:12
Score: 0.5
Natty:
Report link

This question has already been answered on this post.

While it is possible to use imaplib directly I would recommend using a more user friendly library like imap_tools:

with MailBox('imap.mail.com').login('[email protected]', 'pwd', initial_folder='INBOX') as mailbox:

    # MOVE all messages from current folder to INBOX/folder2
    mailbox.move(mailbox.uids(), 'INBOX/folder2')

For the specific case of Google Mail I would recommend using their Python API . For example I wrote a small program to filter emails using Python and the Google API, you can find the code on Github .

upvote them, not me

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mr-chen-rui

79598243

Date: 2025-04-29 11:27:11
Score: 3.5
Natty:
Report link

When calling Calculate() it is just update all formula dependent cells, is not related with dirty state. As solution you can make snapshot of state, than make comparison.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Anvarjon Ruziev

79598238

Date: 2025-04-29 11:24:10
Score: 3
Natty:
Report link

The response is, in fact, quite simple. It's just that semicolon denote a separation and not a termination, which cause the programm to separate the two instruction leaving the callback without any function defined which causes an error.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matsune

79598236

Date: 2025-04-29 11:21:09
Score: 0.5
Natty:
Report link
from PIL import Image
import pytesseract
import zipfile
import os

# Path to the uploaded DOCX file
docx_path = "/mnt/data/tbk.docx"

# Extract images from the DOCX file
with zipfile.ZipFile(docx_path, 'r') as docx:
    # List all image files in the word/media directory
    image_files = [item for item in docx.namelist() if item.startswith("word/media/")]
    # Extract images to a temporary folder
    image_paths = []
    for image_file in image_files:
        image_data = docx.read(image_file)
        image_path = f"/mnt/data/{os.path.basename(image_file)}"
        with open(image_path, "wb") as img:
            img.write(image_data)
        image_paths.append(image_path)

# Perform OCR on all extracted images
ocr_results = {}
for path in image_paths:
    image = Image.open(path)
    text = pytesseract.image_to_string(image)
    ocr_results[path] = text

ocr_results
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: srgt4r

79598223

Date: 2025-04-29 11:18:09
Score: 1.5
Natty:
Report link

.image {

  border: 1px solid red;

}

.v-align {

  display: flex;

  align-items: center;

  justify-content: flex-end;

}

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Priya

79598222

Date: 2025-04-29 11:17:08
Score: 0.5
Natty:
Report link

I am not sure it can be done using the fusedClient. (I am sure somebody will disagree with this). The FusedLocationListner requires a data connection so it can send a request to goggle who then return your location. This means getting your location is dependent on the strength of your device's internet connection and the servers at goggle returning in a timely fashion.

Previously the LocationListener and LocationListenerCompat used the gps on the android device to get the location. These are deprecated interfaces so you will not be able to publish them to the play store. But if this just for your own use I would suggest giving them a try.

(LocationListener no longer works with android Q and above so try the compat. Also you cannot have a silent listener, it must be implemented by the class.)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: MunterMan

79598221

Date: 2025-04-29 11:17:08
Score: 1.5
Natty:
Report link

It is solved now. I can add the MySQL essential package(size 40MB) with my deployment package and install with the help of PowerShell command and place the configured file in applaction.

Problem Solved!

Reasons:
  • Whitelisted phrase (-1): It is solved
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ashok bansal

79598203

Date: 2025-04-29 11:09:06
Score: 3.5
Natty:
Report link

I have recently published exactly this over here: react-native-draggable-masonry-grid

The API layer of this component can be a bit intuitive I plan to make is over time. But if you end up using it, would appreciate if you can "star" the repository and contribute if you can. And please use "fork" if you just want to copy and paste the code.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: DavC

79598195

Date: 2025-04-29 11:02:05
Score: 5
Natty: 3
Report link

good day all.

Please, I want to redirect a page or group posts of a social network own by me. I want the admin of the site to show adstera ads instantly when the visitors click on a url or link of a post posted for example on FB and from FB the link takes the reader to my site to read full article and as soon as the user gets there he or she is firstly redirected to watch ads after watching or seeing ads then the ads will disappear the he reads on. I want it to happen only on the page I'm displaying adstera direct link ads not on all pages of the site just on the post I want it happen. Is this possible?How is this achievable?

Reasons:
  • Blacklisted phrase (1): good day
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Ian Ben

79598181

Date: 2025-04-29 10:55:03
Score: 0.5
Natty:
Report link

You need to add the following import in your Jetpack Compose class and it would solve it:

import androidx.compose.runtime.getValue
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Sam Ramezanli

79598180

Date: 2025-04-29 10:54:02
Score: 2
Natty:
Report link

The missing CSS in the second email is likely due to WooCommerce not reloading styles between triggers—try calling style_inline() manually or triggering emails separately.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel Brown

79598178

Date: 2025-04-29 10:53:02
Score: 3
Natty:
Report link

To enable the light bulb, from vscode go to Settings > Search "Quick Fix"

enter image description here

From the option, check to enable the nearby quick fix option.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Melvin Kosisochukwu

79598176

Date: 2025-04-29 10:52:02
Score: 0.5
Natty:
Report link

This issue is common in Jupyter/Colab when widgets like progress bars fail to render during the first run, usually due to the frontend not being fully initialized. It’s not a code problem—just rerunning the cell typically fixes it. This often happens with libraries like transformers or torch. To avoid it entirely, you can run the code as a Python file in VS Code or another script-based environment.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ashish Sharma

79598164

Date: 2025-04-29 10:48:00
Score: 1
Natty:
Report link

On macOS Sequoia (15.3.2) the jre directory has been replaced by jbr :

export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"

As mentioned in a comment by @Oliver Metz

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Oliver
Posted by: goemic

79598155

Date: 2025-04-29 10:41:59
Score: 1.5
Natty:
Report link

Shopify offers a built-in email marketing tool called Shopify Email. It allows you to create and send customized email campaigns directly from your Shopify store. With pre-designed templates, automated flows, and analytics, you can easily run marketing campaigns like promotions, abandoned cart reminders, and product recommendations. Shopify Email is free for the first 2,500 emails per month, with a small fee for additional emails.

For better results, you can also use verified email lists from LatestdatabaseCN.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Joedavila

79598151

Date: 2025-04-29 10:38:58
Score: 2
Natty:
Report link
from locust import HttpUser, task, between
import random
 
URLS = [
    "/",
    "/about",
    "/products",
    "/contact",
    "/blog/page1",
    "/blog/page2", 
]

class WebsiteUser(HttpUser):
    wait_time = between(1, 3)

    @task
    def browse(self):
        url = random.choice(URLS)
        self.client.get(url)


here is the sample video of this

https://www.youtube.com/watch?v=6fotO30YmkQ&t=3s

you can create a free cloud vm to rule all workers

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Çağlar Can Sarıkaya

79598148

Date: 2025-04-29 10:36:58
Score: 2.5
Natty:
Report link

For me adding this in the buildTypes{

signingConfig = signingConfigs.getByName("debug")

}

worked

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pawan Shukla

79598147

Date: 2025-04-29 10:35:58
Score: 0.5
Natty:
Report link

When doing network mounting, or any other special mount, I would override the entrypoint with an entrypoint.sh file.
End that file with dotnet Opserver.Web.dll or whatever that command should actually be.

Do the mounting in that file, with also an error-catch, when the volume is not available for mounting.
Everything you echo or output to &1, will be shown in the container log (as long as it's no isolated process)

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When doin
  • Low reputation (0.5):
Posted by: Tim Chaubet

79598143

Date: 2025-04-29 10:34:57
Score: 7 🚩
Natty: 5
Report link

Do you have any easy way of communicating? might be able to help.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nino

79598138

Date: 2025-04-29 10:32:56
Score: 2
Natty:
Report link
  1. Go to
    File > Preferences > Keyboard Shortcuts

  2. Search for "Quick fix"

  3. in the Keybinding column double click to edit and add a key combination to access Quick fix

  4. and press enter to save.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nuwan Madusanka

79598134

Date: 2025-04-29 10:30:55
Score: 0.5
Natty:
Report link

At the time of writing, you can get the last bar time and index but not the close price.

From the lower timeframes, you might get away with requesting the highest timeframe (12-month) close price.

However, the best solution is to adjust your logic to process retrospectively.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: sbtnc

79598125

Date: 2025-04-29 10:22:53
Score: 2
Natty:
Report link

Use YouTube Data API v3 to fetch the stats and install google-api-python-client with pip install --upgrade google-api-python-client.
You will need to create google cloud console project and enable YouTube Data API v3 api.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user30039244

79598116

Date: 2025-04-29 10:19:52
Score: 9.5 🚩
Natty: 4
Report link

how did you fix this issue ? i am having the same trouble on a newly created index with the same configurations on another cluster

Reasons:
  • Blacklisted phrase (1): how did you fix
  • RegEx Blacklisted phrase (3): did you fix this
  • RegEx Blacklisted phrase (1.5): fix this issue ?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how did you fix this is
  • Low reputation (1):
Posted by: Saa'd Alalami

79598113

Date: 2025-04-29 10:18:51
Score: 2.5
Natty:
Report link

I treat ORM and migrations tools separately, because it is hard to sync everything in the database when you have so many database environment (dev, staging, prod) in many cases.

For TypeScript/JavaScript project, i use dbmate. It is easy to use imho. The tradeoff is you have to write raw SQL query yourself. But i take that tradeoff. I want to have migration on my full control.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Samuel

79598110

Date: 2025-04-29 10:17:51
Score: 0.5
Natty:
Report link

Azure has a REST API you can use for that. Here:
https://learn.microsoft.com/en-us/rest/api/sql/servers/get?view=rest-sql-2021-11-01&tabs=HTTP

GET:
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers?api-version=2021-02-01

This will list all of them on the defined resource group.

If you know the exact server name, you can list just for that too. So the end like this

https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases?api-version=2021-11-01

Does this help?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mark

79598106

Date: 2025-04-29 10:14:50
Score: 2.5
Natty:
Report link

The Python code may not run on the first execution due to syntax errors, missing dependencies, incorrect environment setup, or file path issues. Verify configurations, check for typos, and install packages.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pelorus Technologies

79598095

Date: 2025-04-29 10:08:48
Score: 3.5
Natty:
Report link

I recently came across your work and I have to say — I’m really impressed by what you’ve built! It’s clean, effective, and aligns closely with something I’ve been exploring as well.

I’m currently working on a similar concept, but applied to a more complex problem involving highly irregular arrangements of pipes. I’ve attached an image to give you a better idea of what I’m dealing with. As you can see, the bundle contains nested and differently sized pipes, which adds layers of complexity to the counting and analysis process.

I’d love to hear your thoughts on how you might approach a setup like this, and whether any of your existing tools or logic could be extended to handle such cases.

Looking forward to hearing from you!

Best regards,
Roshan George

pipe image

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Geo

79598087

Date: 2025-04-29 10:04:47
Score: 2
Natty:
Report link

Kindly make sure that you have enabled the required Access in your app https://aps.autodesk.com/myapps/
Also make sure docs is enabled for the project user in your project members.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Moturi George

79598083

Date: 2025-04-29 10:02:47
Score: 1
Natty:
Report link

You can help latex by supplying possible hyphenation points with \- (disclaimer: I don't know what the correct hyphenations points in Epibrdrinharzechlor are, the following is just a proof-of-concept to see that hyphenation works):

\documentclass[10pt]{article}

\usepackage[top=2cm, bottom=4cm, left=1.5cm, right=1.7cm]{geometry}
\usepackage{tabularray}
\UseTblrLibrary{booktabs}

\begin{document}

\noindent
\begin{tblr}{
  colspec={XXXXXXXXXX},
  colsep=2pt,
  cells={halign=l,preto=\hspace*{0pt}}
}
\toprule\toprule
Name & Substance & Material & Separable & Share & Type & Classification & Documentation & Threshold &  Fraction\\\hline
\midrule
20- Res & Berovi\-werx-Epibr\-drin\-harze\-chlor & Alsternative Test inside the modular &  &  &  & Ski1 &  & 0.01 & 200.0\\\hline
\bottomrule
\end{tblr}
\end{document}

enter image description here

Reasons:
  • RegEx Blacklisted phrase (3): You can help
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: samcarter_is_at_topanswers.xyz

79598081

Date: 2025-04-29 10:02:47
Score: 1.5
Natty:
Report link

If you want to use an SVG editor like SVG-Edit in your project but need features or methods it doesn’t support by default, the best approach is to fork the library and customize it based on your needs.

This gives you full control over the source and allows easy integration of new functionality. Instead of placing it inside the Assets folder, which is usually for static files, it’s better to keep it in a separate module like /libs/svgedit/ to make collaboration and maintenance easier.

If the editor isn’t tightly connected to your core app, you can also host it separately and embed it using an iframe or external URL—this is how tools like Free SVG Editor manage it. For long-term use and team collaboration, it’s important to document your changes clearly and keep the setup modular to make future updates easier to handle.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gavin

79598079

Date: 2025-04-29 10:00:46
Score: 1
Natty:
Report link

You just need to add the library with the implementation of __imp_MessageBoxW to your command:

cl /EHsc winbasicb.cpp user32.lib
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: patriml

79598077

Date: 2025-04-29 10:00:46
Score: 2.5
Natty:
Report link

Use UNIQUE() and AVERAGEIF():

=UNIQUE(A2:A11) in cell E2;

=AVERAGEIF(A2:A11;E2#;B2:B11)

Solution

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Excellor

79598076

Date: 2025-04-29 09:59:45
Score: 3
Natty:
Report link

This might be a good place to start.
https://aps.autodesk.com/developer/overview/premium-reporting-api

You can also get more information using the get intouch link at the bottom right

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Moturi George

79598074

Date: 2025-04-29 09:57:45
Score: 1
Natty:
Report link

try with ignoresSafeArea()

@main
struct TestMacTabApp: App {
  var body: some Scene {
    WindowGroup {
      Color.pink
        .ignoresSafeArea()
    }
  }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sagar Bhut

79598070

Date: 2025-04-29 09:55:44
Score: 2.5
Natty:
Report link

I did not find an easy way to do it, so when I copy all files and get the breaking error, I just check for the files that didn't make it and copy them again to the project. When all of them are copied, I build it and it gets build successfully.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Anthony Ghosn

79598068

Date: 2025-04-29 09:54:44
Score: 2.5
Natty:
Report link
  1. Give the same unique class name to all the elements.
  2. Use querySelectorAll() instead of getElementsByClassName().
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Talha Umar

79598051

Date: 2025-04-29 09:48:42
Score: 1.5
Natty:
Report link

If you just want to fetch the data without transforming it into complex thing, go with AuthorRepository (option 2).

As the project size grows larger, some service will dependent on other service, and that is unavoidable cases. If you notice some method in service is often called by many service, then you can start extracting those method into its own ServiceClass

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Samuel

79598044

Date: 2025-04-29 09:43:41
Score: 2
Natty:
Report link

in my own case i saw the error while trying to create tabs and my solution was simply to add 'nav' to the togglers then leave everything as it is

<div class='nav yourCustomStyles yourOtherStyles'>

<div> <button data-bs-target='#targetElemId' data-bs-toggle='tab'>test</button>

<div/>

//contents
<div id='targetElemId' class='tab-panel'>content<div/>

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: réze

79598034

Date: 2025-04-29 09:38:39
Score: 2
Natty:
Report link

This is some kind of cache error.

disable/delete the pull request feature, this will make this error vanish, then you can enable/re-create the pull request feature and the error won't return.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: arye

79598029

Date: 2025-04-29 09:36:39
Score: 2
Natty:
Report link

this was in issue in Shopware itself and should be fixed with 6.6.10.4

Here is the pull request https://github.com/shopware/shopware/pull/7019

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael T

79598028

Date: 2025-04-29 09:36:38
Score: 4
Natty:
Report link

Try removing cache and re run it.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: liben hailu

79598021

Date: 2025-04-29 09:32:37
Score: 0.5
Natty:
Report link

Within the event which is triggering the export add

return {fileName: "yourFileName")}

The column names have to be set within the function or query which you are trying to export.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Meyssam

79598019

Date: 2025-04-29 09:31:37
Score: 2.5
Natty:
Report link

two user defined conversions are taking place. first the implicit overloaded type cast, second the implicit conversion of c-style string "wobble" to std::string. two user defined convwrsions are not allowed. can try with "wobble"s

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manas Ghosh

79598012

Date: 2025-04-29 09:25:35
Score: 3
Natty:
Report link

The decorator had a function name explicitly named Trigger.

I needed to create a folder in Azure Function App called Trigger and place my files inside this folder. I originally had them in the root.

Issue resolved on moving files into Trigger folder.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dave

79598010

Date: 2025-04-29 09:25:35
Score: 0.5
Natty:
Report link

Ok, so i figured it out, the append, as it creates and positions itself on the record says to the dataset of the detail table to filter by the newly created ID, which has no records. Sorry for not understanding how this worked. I'll let this question here in case it can be useful.

Reasons:
  • Whitelisted phrase (-2): i figured it out
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alan Finiti

79598001

Date: 2025-04-29 09:18:33
Score: 2
Natty:
Report link

I created a library that aims to respect as much as possible the philosophy of compose to display the videos, it only displays a surface, I bound the native APIs of each platform so that it does not require any external dependencies.

Compose Media Player

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Elie Gambache

79597999

Date: 2025-04-29 09:17:32
Score: 2
Natty:
Report link

In typical single page application like react, developer use state management like you mentioned. State management stores that in memory (this is default behaviour), so if you refresh the page, the state could be lost. But if you go to the page by clicking a button/navbar, SPA framework will replace the with another component, so technically, content of the state management will not be lost.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Samuel

79597998

Date: 2025-04-29 09:17:32
Score: 2.5
Natty:
Report link

Sequence Diagram

Shows interaction between users and system modules: login, attendance marking, report generation

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Samir Bhandari

79597994

Date: 2025-04-29 09:16:32
Score: 0.5
Natty:
Report link

You can override the css style to achieve this.

Follow the example at Grid Styling - Overwrite style of ag-grid but use this override:

styles: [`.ag-root .ag-floating-top {overflow-y: hidden !important;}`],

The same can be applied for any pinned bottom rows by changing .ag-floating-top to .ag-floating-bottom.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MarkSci

79597979

Date: 2025-04-29 09:08:30
Score: 2
Natty:
Report link

brew install cocoapods and restart terminal will work guys, if u don't restart terminal will not work . and also check pod --version in new terminal

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: faery

79597974

Date: 2025-04-29 09:06:29
Score: 5.5
Natty:
Report link

I´m trying to use js code in my chart to zoom it or do other things. I have a line chart with diferent data. My chart1

As you can see the chart looks correct but I can´t zoom it and I don´t know why. Someone can help me. My final objetive is having a chart that I can zoom it and knowing how to use js code in this chart.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Someone can help me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alberto Martínez

79597965

Date: 2025-04-29 08:59:27
Score: 1
Natty:
Report link

Les **files d'attente classiques** et les **files d'attente Quorum** sont deux types de files d'attente disponibles dans RabbitMQ, chacune ayant des caractéristiques distinctes en termes de fonctionnement, performances, tolérance aux pannes et cas d'utilisation. Voici une comparaison détaillée pour comprendre leurs différences.

---

### **1. Files d'Attente Classiques**

#### **a. Description**

- Les files d'attente classiques sont le type de file d'attente par défaut dans RabbitMQ.

- Elles sont simples à configurer et conviennent aux scénarios où la haute disponibilité n'est pas critique.

#### **b. Stockage des Messages**

- Les messages peuvent être stockés :

#### **c. Réplication**

- Les files d'attente classiques ne sont pas répliquées par défaut. Elles résident sur un seul nœud du cluster.

- Si le nœud hébergeant la file tombe en panne, la file est perdue sauf si elle a été configurée comme **mirroir** (via la politique `ha-mode`).

#### **d. Tolérance aux Pannes**

- Sans configuration supplémentaire, les files d'attente classiques ne sont pas tolérantes aux pannes.

- Lorsqu'elles sont configurées comme **mirroir**, elles peuvent être répliquées sur plusieurs nœuds pour améliorer la disponibilité. Cependant, cette approche présente des limitations :

#### **e. Performances**

- Les files d'attente classiques offrent de bonnes performances pour les scénarios simples et peu critiques.

- Toutefois, leur architecture n'est pas optimisée pour les environnements distribués ou les charges importantes.

#### **f. Cas d'Utilisation**

- Applications où la haute disponibilité n'est pas essentielle.

- Scénarios simples avec des volumes de messages modérés.

---

### **2. Files d'Attente Quorum**

#### **a. Description**

- Les files d'attente Quorum ont été introduites dans RabbitMQ pour répondre aux besoins de haute disponibilité et de durabilité.

- Elles utilisent l'algorithme **Raft** pour garantir une forte cohérence et une réplication fiable.

#### **b. Stockage des Messages**

- Les messages sont automatiquement répliqués sur plusieurs nœuds du cluster.

- Chaque message est validé par une **majorité des nœuds participants** avant d'être considéré comme confirmé.

#### **c. Réplication**

- La réplication est gérée nativement par l'algorithme Raft :

#### **d. Tolérance aux Pannes**

- Les files d'attente Quorum sont conçues pour tolérer la perte de plusieurs nœuds tant qu'une majorité reste disponible.

- En cas de panne du leader, un nouveau leader est automatiquement élu parmi les followers.

- Il n'y a pas de perte de données tant qu'une majorité des nœuds reste opérationnelle.

#### **e. Performances**

- Les files d'attente Quorum sont optimisées pour les scénarios distribués et les charges importantes.

- Bien que légèrement plus lentes que les files d'attente classiques pour les écritures (en raison de la validation par majorité), elles offrent une meilleure fiabilité et scalabilité.

#### **f. Cas d'Utilisation**

- Applications nécessitant une haute disponibilité et une durabilité garantie.

- Scénarios critiques où la perte de messages n'est pas acceptable.

- Environnements distribués avec des clusters à grande échelle.

---

### **3. Tableau Comparatif**

| Caractéristique | **Files d'Attente Classiques** | **Files d'Attente Quorum** |

|--------------------------------|---------------------------------------------|-------------------------------------------|

| **Réplication** | Non par défaut ; configurable via mirroir | Native avec algorithme Raft |

| **Cohérence** | Faible (asynchrone ou semi-synchrone) | Forte (validation par majorité) |

| **Tolérance aux Pannes** | Limitée sans mirroir | Haute (tolère la perte de plusieurs nœuds)|

| **Performances** | Meilleures pour les scénarios simples | Optimisées pour les scénarios distribués |

| **Complexité** | Simples à configurer | Plus complexes mais robustes |

| **Cas d'Utilisation** | Applications non critiques | Applications critiques (finance, IoT, etc.)|

---

### **4. Exemple Pratique : Différence de Gestion des Messages**

#### **a. File d'Attente Classique**

1. Un producteur publie un message dans une file d'attente classique.

2. Le message est stocké sur le nœud hébergeant la file.

3. Si le nœud tombe en panne, le message est perdu sauf si la file est configurée comme mirroir.

#### **b. File d'Attente Quorum**

1. Un producteur publie un message dans une file d'attente Quorum.

2. Le leader reçoit le message et l'ajoute à son journal local.

3. Le leader propage le message aux followers via l'algorithme Raft.

4. Une fois qu'une majorité des nœuds a confirmé, le message est validé.

5. Même si un ou plusieurs nœuds tombent en panne, le message reste disponible tant qu'une majorité des nœuds reste active.

---

### **5. Conclusion**

- **Files d'Attente Classiques** :

- **Files d'Attente Quorum** :

Si vous avez besoin de garantir que vos messages ne seront jamais perdus et que votre système restera disponible même en cas de pannes de nœuds, les **files d'attente Quorum** sont le choix recommandé. Pour des scénarios simples ou moins critiques, les **files d'attente classiques** peuvent suffire.

N'hésitez pas à poser des questions supplémentaires si vous souhaitez approfondir un aspect spécifique !

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): --------------------------------
  • Filler text (0): ---------------------------------------------
  • Filler text (0): -------------------------------------------
  • Low reputation (1):
Posted by: jihen jahoun94

79597958

Date: 2025-04-29 08:55:26
Score: 0.5
Natty:
Report link
Requirements: sgtempplugin

Plugin/ActivityName: concentrationsolution (max 20chars)

step#1 : create a version file in plugin directory

step#2: Database table: Fields (from slide)

>> Db/access.php (required)
>> Db/install.xml (required)
>> Db/upgrade.php (add or delete new field/column)
>> Db/services.php (register mobile side APIs)



step#3: CRUD Operations:

Create: mod_form.php (Read data and store into database)
Store: lib.php (Submit, Update, Delete)



step#4: Read data from database and perform calculations:

Main file: view.php
Including library:
$PAGE->requires->js(new moodle_url($root . '/mod/concentrationsol/library/js/student_view.js?v=1.2'), true);



step#5: library/js/student_view.js: 
All Javascript related work (load image, animations, etc)

We need different values from database(view.php) in js file.

NOTE#
Now a days we are creating our plugin/activity in React.js (put all React components in this js folder)



step#6: Pass data to our template 
>> template/form.mustache

There are two different ways to pass data into plugin template:
1. From view.php 
$JSdata = array(
    'numToIdMapping' => $numtoidmappinng,
    'primesToMultiples' => $primestomultiples,
    'maxRetries' => $max_retries,
    'courseModuleID' => $id,
);
$PAGE->requires->js_init_call('initData', array($JSdata));

1. Classes/render/renderer.php
(Recommended )



Extra: 
>> classes/Helper.php (helper class regarding plugin requirements)

Mobile App API: 
>> classes/external.php (create external mobile app APIs)



step#7: create/generate your template 

>> template/form.mustache


step#8:  Styling your mustache

>> styles.css



step#9:  Backup Folder
(We can take backup of our plugin/activity and restore it into)

Maximum rename 




Extra Folders:

Lang folder: 

En: define strings
Urd:
Arbi:

pix folder:  put images related to this plugin
Reasons:
  • Blacklisted phrase (1): this plugin
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammad Naveed Khan

79597954

Date: 2025-04-29 08:53:25
Score: 2.5
Natty:
Report link

It is supposedly "shipped" and it's absolutely dreadful and a downgrade in every sense from what Azure Data Factory had.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: gustav

79597942

Date: 2025-04-29 08:42:22
Score: 2
Natty:
Report link

To fix the error error CS2006: Command-line syntax error: Missing '<text>' for '-define:' option, you need to do the following:

  1. Go to Build Profiles

  2. Add a new Build Profile (I selected iOS)

  3. Add your Scenes to Scene List

  4. Wait for Unity Compile to finish (10 seconds)

  5. Build your project as before.

Have a good day.

Reasons:
  • Blacklisted phrase (1): good day
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Baxter

79597938

Date: 2025-04-29 08:38:21
Score: 4
Natty:
Report link

Despite the software updates not helping, a PC restart fixed the issue...... :D

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel Takev

79597933

Date: 2025-04-29 08:37:21
Score: 1.5
Natty:
Report link
use Intervention\Image\Drivers\Gd\Driver;
// use Intervention\Image\Drivers\Imagick\Driver;

comment out the second line in controller and use the first line.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: saahil ALLUNEED official

79597926

Date: 2025-04-29 08:33:20
Score: 2.5
Natty:
Report link

Front Door supports Private Links, but only on the Premium SKU.

So you should be able to create a private link connected to an internal load balancer, and then select the private endpoint as Front Door origin.

Private Endpoint diagram

More details: https://learn.microsoft.com/en-us/samples/azure/azure-quickstart-templates/front-door-premium-vm-private-link/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Arthur Stankevich

79597916

Date: 2025-04-29 08:26:18
Score: 2
Natty:
Report link

Try running this code instead
dart run build_runner watch --delete-conflicting-outputs

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rayan

79597897

Date: 2025-04-29 08:13:15
Score: 2
Natty:
Report link

First, you will need to extend the Media interface and add the title parameter to it.

Then you can create a CustomMediaComponent, extend it from the default MediaComponent. Copy the html to be the same and change [title]="media.title". You can now call in the ProductImageZoomProductImagesComponent.

or you can get a new parameter with @Input in the CustomMediaComponent without extending the Media model at all and send your title value this way.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Input
  • Low reputation (0.5):
Posted by: Mehmet S

79597893

Date: 2025-04-29 08:11:14
Score: 1
Natty:
Report link

You should use COUNTIF instead of COUNTA:

=COUNTIF($D$2:D2,D2)

COUNTA() just counts non-empty cells, COUNTIF() is a conditional count.

In this formula you're telling COUNTIF to look in range D2 through D2, to look for argument D2; once dragged own, it'll look in range D2 through D3, for argument D3, and so on.

Solution

Or using Black cat's comment: =IF(D3<>D2,1,A2+1)

Comment

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Excellor

79597892

Date: 2025-04-29 08:11:14
Score: 1
Natty:
Report link

The patchwork package might help, or, for more fine-grained control, the lower level (and harder to use) grid package.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Zé Loff

79597889

Date: 2025-04-29 08:10:14
Score: 2.5
Natty:
Report link

Check out the latest updates, features, and APK download for Minecraft 1.21.72 on our official GitHub page.
🚀 Click now to explore and get started: github.com/Minecraft-1-21-72-APK-new

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: jon bibi

79597879

Date: 2025-04-29 08:05:12
Score: 3.5
Natty:
Report link

I am also experiencing this issue on Windows. Following this question for a solution.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Unknown Person

79597878

Date: 2025-04-29 08:04:12
Score: 4
Natty:
Report link

Is the following code written inside the tag?

<head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: Banana-Master

79597864

Date: 2025-04-29 07:59:10
Score: 2
Natty:
Report link

recently i found this webpage: https://medium.com/@python-javascript-php-html-css/outlook-add-ins-retrieving-the-original-email-address-fb117202791c

There is an interesting code-snippet:

Office.onReady(() => {
  // Ensure the environment is Outlook before proceeding
  if (Office.context.mailbox.item) {
    Office.context.mailbox.item.onMessageCompose.addAsync((eventArgs) => {
      const item = eventArgs.item;
      // Get the itemId of the original message
      item.getInitializationContextAsync((result) => {
        if (result.status === Office.AsyncResultStatus.Succeeded) {
          console.log('Original Item ID:', result.value.itemId);
        } else {
          console.error('Error fetching original item ID:', result.error);
        }
      });
    });
  }
});

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AxelG

79597863

Date: 2025-04-29 07:59:10
Score: 1
Natty:
Report link

You said it was a single spartacus project, but let me try to share our own experience in case it gives you an idea. We did 2 different spartacus projects and 1 backend project.

When you use multiple sites, the baseSite value is added to the end of the user ids on the hybris side. This way, user sessions are not mixed.

For example;
[email protected]|site1
[email protected]|site2

For build/deploy operations, you will define each site in manifest.json: https://help.sap.com/docs/SAP_COMMERCE_CLOUD_PUBLIC_CLOUD/b2f400d4c0414461a4bb7e115dccd779/1c26045800fa4f85a9d49e5a614e5c22.html

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mehmet S

79597862

Date: 2025-04-29 07:57:09
Score: 2.5
Natty:
Report link

Because you're not importing the repository in the domain pom. So, the domain doesn't know about any implementation.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Joan

79597860

Date: 2025-04-29 07:57:09
Score: 4
Natty:
Report link

Sorry, I can't add a comment now. This problem doesn't reproduce in my environment. So I would like to know more details (library versions, device, and so on).

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manabu Nakamura

79597859

Date: 2025-04-29 07:57:09
Score: 1
Natty:
Report link

You need to add following line in your code prior to the line containing fill.

await expect(pageFixture.page.locator("//input[@formcontrolname='min_quantum']")).toBeVisible();

It will make sure the element is visible before using fill action.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sajid

79597858

Date: 2025-04-29 07:55:08
Score: 3.5
Natty:
Report link

If you are using QUEUE_CONNECTION=database please remove it & use QUEUE_CONNECTION=sync. then event triggering part will work.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Atef Hejazi

79597856

Date: 2025-04-29 07:54:07
Score: 1
Natty:
Report link

Make sure these components are installed for Visual Studio 2022

MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)
MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest)
Windows 11 SDK (10.0.22000.0)

Visual Studio Installer -> Visual Studio 2022 (Modify button) -> Tab Individual Components

enter image description here

Filter by "MSVC v143" or "Windows 11 SDK"

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Roman M

79597853

Date: 2025-04-29 07:53:07
Score: 1
Natty:
Report link

This error sometimes indicates that EPPlus is unable to properly read the Excel document, and the issue could be due to a corrupt Excel file, rather than a permission or disk issue as the error might misleadingly suggest.

After encountering this issue myself, here’s what I did to resolve it:

  1. Open the Excel file in Microsoft Excel.

  2. Copy all the contents of the sheet

  3. Create a new blank Excel workbook.

  4. Paste values only into the new workbook (Right-click > Paste Special > Values).

  5. Save the new workbook and upload (the new one) again.

I was only able to detect this because I tried another library SlapKit.Excel which displayed a more user-friendly error message.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emmanuel

79597844

Date: 2025-04-29 07:46:06
Score: 1
Natty:
Report link

I have found a solution. I register the Converter within my Module.cs file, which inherits from IModule (sth. from the Prism framework). I guess, you can also register it within the App.xaml.cs file, but this file has no access to my converter file.

public class InfoModule : IModule
{
    public void OnInitialized(IContainerProvider containerProvider)
    {
        ConnectionStatusToColorConverter converter = containerProvider.Resolve<ConnectionStatusToColorConverter>();
        Application.Current.Resources.Add(nameof(ConnectionStatusToColorConverter), converter);
    }

    public void RegisterTypes(IContainerRegistry containerRegistry)
    {
        containerRegistry.RegisterSingleton<ConnectionStatusToColorConverter>();
    }
}

In the end, I had to remove the creation of the converter within my xaml, since it seems like the creation within the xaml creates a new converter using the empty-parameter ctor. And if I want to use the converter, I have to use {StaticResource ConnectionStatusToColorConverter - so like before.

<UserControl.Resources>
<!-- this has to be removed -->
<localConverters:ConnectionStatusToColorConverter x:Key="ConnectionStatusToColorConverter"/> 
</UserControl.Resources>

<!-- Example Usage -->
<StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Center">
                            <md:PackIcon Kind="Web" VerticalAlignment="Center" 
                                         Foreground="{Binding ConnectionStatus, Converter={StaticResource ConnectionStatusToColorConverter}}"/>
</StackPanel>

I am not quite sure if this is sth. like the anti-patterns mentioned above, but it works exactly as I wanted now.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 06luki06

79597840

Date: 2025-04-29 07:43:05
Score: 2.5
Natty:
Report link

Check the job category. In one case, job was not listed to a category id which is not listed in categories table (that customized category was deleted while cleaning up activity).

when the category id was updated in sysjobs table for the job with existing category id, the job got listed in SSMS.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mangaiyarkarasi

79597829

Date: 2025-04-29 07:39:04
Score: 3.5
Natty:
Report link

It seems there is a way in android's official document that u can use androidX jsengine to eval wasm, but there's now webview demo. https://developer.android.com/develop/ui/views/layout/webapps/jsengine

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: D.H.Lolo

79597822

Date: 2025-04-29 07:35:03
Score: 3
Natty:
Report link

For vscode users,

  1. open your .arb files

  2. at the bottom right of editor, select "json" as its format.

vscode screenshot

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hog Rider

79597815

Date: 2025-04-29 07:31:01
Score: 7 🚩
Natty:
Report link

I have similar issue. it seems it does not work :/

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have similar issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nontas Papadopoulos

79597813

Date: 2025-04-29 07:31:01
Score: 1
Natty:
Report link

Buildpacks latest and 22 image does support node 22.x.x. For some reason, the auto cloud build setup uses the old V1 image. Link to builders https://cloud.google.com/docs/buildpacks/builders

You can change this by going to cloudbuild and find the trigger that's building your application. Click on the inline editor for cloudbuild yaml that's defined for you. You should see in a step the link to a v1 image change that with gcr.io/buildpacks/builder:google-22 and you should be good

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: SujithaW

79597808

Date: 2025-04-29 07:28:00
Score: 2
Natty:
Report link

This seems to work fine within a test_that expression. Can this cause any problems?


random_function <- function(in_dir) {
  return(file.access(in_dir, 0))
}
  

testthat::test_that("Base function is mocked correctly", {
  
  testthat::expect_true(random_function("random/directory/that/does/not/exist") == -1)
  
  testthat::local_mocked_bindings(
    file.access = function(in_dir, mode) {
      return(0)
    }, .package = "base")
  
  testthat::expect_true(random_function("random/directory/that/does/not/exist") == 0)
  
})


testthat::test_that("Base function is not mocked anymore", {
  
  testthat::expect_true(random_function("random/directory/that/does/not/exist") == -1)

})


Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Luxington

79597807

Date: 2025-04-29 07:28:00
Score: 2
Natty:
Report link

In a similar fashion

> have[endsWith(names(have), '1')]
  ID...1 Month...1
1      1         1
2      2         2
3      3         3

However, as I stated in a comment below the question, please provide more steps so we can tackle the (odd) names generating code. I think we should fight the cause and not cure the symptoms.

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • RegEx Blacklisted phrase (1): I stated in a comment below the question, please
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Friede

79597805

Date: 2025-04-29 07:25:59
Score: 4.5
Natty:
Report link

Ensure the dependency class has the @Injectable() decorator.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Injectable
  • Single line (0.5):
  • Low reputation (1):
Posted by: Darshan K S