79727023

Date: 2025-08-06 08:41:03
Score: 3.5
Natty:
Report link

Any way to make it work for higher target sdk too?

    <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:ignore="NewApi">true</item>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dev Panwar

79727021

Date: 2025-08-06 08:40:03
Score: 0.5
Natty:
Report link

One of you - is not the character you expect but an unicode char which will probably be ignored by the Java interpreter, according to hexed.it it is the one before

com.sun.management.jmxremote.authenticate
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Raul Lapeira Herrero

79727020

Date: 2025-08-06 08:39:03
Score: 0.5
Natty:
Report link
  1. Move SVGs into src (e.g., src/assets/icons) and reference them from there.

  2. Or tell Tailwind to scan that folder by adding it in tailwind.config.js:

    content: [ "./src/**/*.{html,ts}", "./public/svgs/**/*.svg" // add this line ]

  3. After this, run ng serve again so Tailwind rebuilds.

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

79727015

Date: 2025-08-06 08:30:01
Score: 1
Natty:
Report link

#keywords has priority over #func_declre since it's higher in the patterns array.
should move { "include": "#func_declre" } higher up in the array.

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

79727010

Date: 2025-08-06 08:26:59
Score: 3
Natty:
Report link
use TextStreamer instead of TextIteratorStreamer
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sai

79727007

Date: 2025-08-06 08:25:59
Score: 1
Natty:
Report link

I am answering this on the assumption that you are not writing a financial application, but just want something for personal use and you have data in a certain form, which it is not worth reworking.

Essentially what you want to do, is to get a "best match". Tesco and Tesco Pet Insurance matches your current query, but you want the best fit. One way to do this is to select a third column, which replaces the Payee inside the Description with nothing. The resultant column with the shortest length (i.e. the one where Payee has replaced the most) is the best fit.

Using this technique, something like the following should do the trick:

declare @tbltxns table ([Description] nvarchar(100), Amount decimal(10,2));
declare @tblPayee table (Payee nvarchar(100));

INSERT INTO @tbltxns VALUES
('Tesco Pet Insurance Dog Health Care Year Premium', 250.0),
('MyFitness Gym Monthly fee', 30.0);

INSERT INTO @tblPayee VALUES
('Tesco'),
('Tesco Pet Insurance'),
('MyFitness');

WITH CTE AS
(SELECT
    tx.[Description], py.Payee, REPLACE(tx.[Description], py.Payee, '') AS NoPayee
FROM @tblTxns TX
INNER JOIN @tblPayee py
    ON CHARINDEX(py.Payee, tx.Description, 1) > 0),
CTE2 AS 
(SELECT c.[Description], c.Payee, ROW_NUMBER() OVER(PARTITION BY c.[Description] ORDER BY LEN(c.NoPayee)) rn
FROM CTE c)
SELECT c2.[Description], c2.Payee
FROM CTE2 c2
WHERE rn = 1;

For future reference, when asking a database question, please provide table definitions and sample data along the lines that I have used. Just as an illustration, I am using table variables, as they don't have to be deleted, but CREATE TABLE would be quite acceptable. Sample data in the form of INSERT statements is desirable. Why? Simply so that people here are spared a bit of time and effort, in trying to provide you with a workable answer.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Jonathan Willcock

79727003

Date: 2025-08-06 08:23:59
Score: 0.5
Natty:
Report link

You can replicate the pillowed CRT screen shape by using a CustomPainter and defining the geometry with a Path. Using quadratic Bézier curves for the corners and gentle bulges on each side gives you the slightly bowed edges and rounded corners typical of CRT displays.

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

79727001

Date: 2025-08-06 08:21:58
Score: 1
Natty:
Report link

Came across this exact issue yesterday. Turns out I needed to add the project to the python path. In my main callable python file I put the following before the other imports:

import sys, os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ciaran haines

79726998

Date: 2025-08-06 08:19:57
Score: 2.5
Natty:
Report link

In my case I just needed to update firebase-tools cli npm package. I think it was fixed by https://github.com/firebase/firebase-tools/pull/8760

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pokey

79726984

Date: 2025-08-06 08:05:54
Score: 1
Natty:
Report link

As @Thomas Delrue pointed out, the issue was caused by using an emptyDir volume. However, instead of switching to a PersistentVolume (PV), I initially intended to use artifacts .

Here's my updated Argo Workflow file:

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: build-image
  namespace: argo-workflows
spec:
  serviceAccountName: argo-workflow
  entrypoint: build-and-deploy-env
  arguments:
    parameters:
      - name: env_name
        value: test
      - name: aws_region
        value: eu-west-1
      - name: expiration_date
        value: "2024-12-31T23:59:59Z"
      - name: values_path
        value: ./demo-app/helm/values.yaml
      - name: configurations
      - name: configurations
        value: '[{"keyPath": "global.app.main.name", "value": "updated-app"}, {"keyPath": "global.service.backend.port", "value": 8080}]'
      - name: application_list
        value: '[{"name": "backend", "repo_url": "org/project-demo-app.git", "branch": "demo-app", "ecr_repo": "demo-app/backend", "path_inside_repo": "backend"}, {"name": "frontend", "repo_url": "org/project-demo-app.git", "branch": "demo-app", "ecr_repo": "demo-app/frontend", "path_inside_repo": "frontend"}]'

  templates:
    - name: build-and-deploy-env
      dag:
        tasks:
          - name: build-push-app
            template: build-push-template
            arguments:
              parameters:
                - name: app
                  value: "{{item}}"
            withParam: "{{workflow.parameters.application_list}}"

    - name: build-push-template
      inputs:
        parameters:
          - name: app
      dag:
        tasks:
          - name: clone-and-check
            template: clone-and-check-template
            arguments:
              parameters:
                - name: app
                  value: "{{inputs.parameters.app}}"

          - name: build-and-push
            template: kaniko-build-template
            arguments:
              parameters:
                - name: name
                  value: "{{tasks.clone-and-check.outputs.parameters.name}}"
                - name: image_tag
                  value: "{{tasks.clone-and-check.outputs.parameters.image_tag}}"
                - name: ecr_url
                  value: "{{tasks.clone-and-check.outputs.parameters.ecr_url}}"
                - name: ecr_repo
                  value: "{{tasks.clone-and-check.outputs.parameters.ecr_repo}}"
              artifacts:
                - name: source-code
                  from: "{{tasks.clone-and-check.outputs.artifacts.source-code}}"
            when: "{{tasks.clone-and-check.outputs.parameters.build_needed}} == true"
            dependencies: [clone-and-check]

          - name: debug-list-files
            template: debug-list-files
            arguments:
              parameters:
                - name: name
                  value: "{{tasks.clone-and-check.outputs.parameters.name}}"
              artifacts:
                - name: source-code
                  from: "{{tasks.clone-and-check.outputs.artifacts.source-code}}"
            dependencies: [clone-and-check]

    - name: clone-and-check-template
      inputs:
        parameters:
          - name: app
      outputs:
        parameters:
          - name: name
            valueFrom:
              path: /tmp/name
          - name: image_tag
            valueFrom:
              path: /tmp/image_tag
          - name: ecr_url
            valueFrom:
              path: /tmp/ecr_url
          - name: ecr_repo
            valueFrom:
              path: /tmp/ecr_repo
          - name: path_inside_repo
            valueFrom:
              path: /tmp/path_inside_repo
          - name: build_needed
            valueFrom:
              path: /tmp/build_needed
        artifacts:
          - name: source-code
            path: /workspace/source
      container:
        image: bitnami/git:latest
        command: [bash, -c]
        args:
          - |
            set -e
            apt-get update && apt-get install -y jq awscli

            APP=$(echo '{{inputs.parameters.app}}' | jq -r '.name')
            REPO_URL=$(echo '{{inputs.parameters.app}}' | jq -r '.repo_url')
            BRANCH=$(echo '{{inputs.parameters.app}}' | jq -r '.branch')
            ECR_REPO=$(echo '{{inputs.parameters.app}}' | jq -r '.ecr_repo')
            PATH_INSIDE_REPO=$(echo '{{inputs.parameters.app}}' | jq -r '.path_inside_repo')

            # Clone to the artifact path
            git clone --branch $BRANCH https://x-access-token:[email protected]/$REPO_URL /workspace/source
            cd /workspace/source/$PATH_INSIDE_REPO
            
            if [[ ! -f "Dockerfile" ]]; then
              echo "Dockerfile not found in $PATH_INSIDE_REPO"
              exit 1
            fi

            COMMIT_HASH=$(git rev-parse --short HEAD)
            IMAGE_TAG="${APP}-${BRANCH}-${COMMIT_HASH}-{{workflow.parameters.env_name}}"

            ECR_URL="$AWS_ACCOUNT_ID.dkr.ecr.{{workflow.parameters.aws_region}}.amazonaws.com"
            EXISTS=$(aws ecr describe-images --repository-name $ECR_REPO --image-ids imageTag=$IMAGE_TAG 2>/dev/null || echo "not-found")

            if [[ "$EXISTS" != "not-found" ]]; then
              echo "false" > /tmp/build_needed
            else
              echo "true" > /tmp/build_needed
            fi

            echo "$APP" > /tmp/name
            echo "$IMAGE_TAG" > /tmp/image_tag
            echo "$ECR_URL" > /tmp/ecr_url
            echo "$ECR_REPO" > /tmp/ecr_repo
            echo "$PATH_INSIDE_REPO" > /tmp/path_inside_repo
            
        env:
          - name: ALL_REPO_ORG_ACCESS
            valueFrom:
              secretKeyRef:
                name: github-creds
                key: ALL_REPO_ORG_ACCESS
          - name: AWS_ACCOUNT_ID
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_ACCOUNT_ID
          - name: AWS_REGION
            value: "{{workflow.parameters.aws_region}}"

    - name: debug-list-files
      inputs:
        parameters:
          - name: name
        artifacts:
          - name: source-code
            path: /workspace/source
      container:
        image: alpine:latest
        command: [sh, -c]
        args:
          - |
            echo "=== Listing /workspace/source ==="
            ls -la /workspace/source
            echo "=== Listing application directory ==="
            ls -la /workspace/source/*/
            echo "=== Finding Dockerfiles ==="
            find /workspace/source -name "Dockerfile" -type f

    - name: kaniko-build-template
      inputs:
        parameters:
          - name: name
          - name: image_tag
          - name: ecr_url
          - name: ecr_repo
        artifacts:
          - name: source-code
            path: /workspace/source
      container:
        image: gcr.io/kaniko-project/executor:latest
        command:
          - /kaniko/executor
        args:
          - --context=dir:///workspace/source/{{inputs.parameters.name}}
          - --dockerfile=Dockerfile
          - --destination={{inputs.parameters.ecr_url}}/{{inputs.parameters.ecr_repo}}:{{inputs.parameters.image_tag}}
          - --cache=true
          - --verbosity=debug
        env:
          - name: AWS_REGION
            value: "{{workflow.parameters.aws_region}}"
          - name: AWS_ACCESS_KEY_ID
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_ACCESS_KEY_ID
          - name: AWS_SECRET_ACCESS_KEY
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_SECRET_ACCESS_KEY
          - name: AWS_SESSION_TOKEN
            valueFrom:
              secretKeyRef:
                name: registry-creds
                key: AWS_SESSION_TOKEN
          - name: AWS_SDK_LOAD_CONFIG
            value: "true"
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @pointed
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rewa

79726983

Date: 2025-08-06 07:58:52
Score: 3.5
Natty:
Report link

TFDQuery is a descendant of TDataSet from which the Append method is from. Like the Embarcadero Documentation says, Append will also try to add a new blank dataset on a Table (single one not joined ones).

But the 'problem' itself lays much deeper. In SQL Syntax there is no way to insert into multiple tables at once. It is simply not intended. So TFDQuery has no way to do this.

For more detail have a look at this question: Is it possible to insert into two tables at the same time?

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: fisi-pjm

79726975

Date: 2025-08-06 07:48:50
Score: 3
Natty:
Report link

Yes, this works by default.

I am assuming you have two independent services or processes needed to consume the message from the same topic and process it.

You just have to subscribe to the same topic and should do the job.

References:

https://learn.conduktor.io/kafka/complete-kafka-consumer-with-java/

https://developer.confluent.io/get-started/java/#build-consumer

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

79726972

Date: 2025-08-06 07:44:49
Score: 2
Natty:
Report link

Fixed in iOS 26.0 beta 5

According to WebKit ticket https://bugs.webkit.org/show_bug.cgi?id=296698 this was a duplicate of known already fixed issue https://bugs.webkit.org/show_bug.cgi?id=295946 And this fix was included to recent beta 5.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Igor Palaguta

79726971

Date: 2025-08-06 07:43:49
Score: 0.5
Natty:
Report link

Language doesn't prevent you from introducing such a check, but self-assignment falls into category of programmer mistakes. I.e. you will have to pay for the checking in every operation, while this should not be done in the first place.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Aleksandr Medvedev

79726970

Date: 2025-08-06 07:43:49
Score: 1.5
Natty:
Report link

From your given text, it seems that bw2calc depends on a module called fsspec. Try installing it using pip install fsspec . Even if the version is not specified, the module still needs to be there. It'll install the latest version of said module

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

79726966

Date: 2025-08-06 07:41:48
Score: 3
Natty:
Report link

I tried optimizing the time zone conversion by saving the offset between UTC and local time at startup of my program (which is good enough for my use). This seems to be very fast (as expected).

Unfortunately the MS compiler/runtime lib does not seem to have a good implementation of std::format since it is consistently slower than put_time (at least twice the cost).

I did a little experiment in QuickBench (here if anyone is interested) Here the fixed offset + std::format version is a bit faster. Unfortunately (for me) this cannot be replicated in Visual Studio where std::format is too slow to compete.

I think I will have to stick with the current implementation using put_time :(

But thanks for all you input!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Carsten Kjaer

79726962

Date: 2025-08-06 07:35:46
Score: 0.5
Natty:
Report link
const [firstHalf, secondHalf] = arr.reduce((a, c, i, n) => {

    a[+(i > n.length * 0.5)].push(c)

    return a
}, [[], []])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: mtx

79726960

Date: 2025-08-06 07:32:45
Score: 1.5
Natty:
Report link

This is exactly why I made a deep-dive video — LangChain changed massively since v0.0.x. All the old tutorials break because:

- Imports like `ConversationalRetrievalChain` moved or were deprecated

- Chains like `LLMChain` are gone

- You now use `.invoke()` instead of `.run()`

- New versions rely on Pydantic v2 and modular packages (like `langchain_core`, `langchain_openai`, etc.)

🎥 LangChain v0.3 Upgrade Fixes (YouTube)

💻 GitHub

Still learning myself, but this covers what broke and how to fix it in current LangChain.

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

79726959

Date: 2025-08-06 07:32:45
Score: 0.5
Natty:
Report link

As @Vegard mentioned, we need more information to give a complete answer. However, based on my understanding, it sounds like you want to make your Auth service act as an OIDC provider and mirror users in App1, App2, and App3.

In that case, you can use the id_token issued by your OIDC provider to authenticate users across your various applications.

I've implemented a similar setup in this repository: django-oidc-provider – it might help as a reference.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • User mentioned (1): @Vegard
  • Low reputation (0.5):
Posted by: Dakshesh Jain

79726953

Date: 2025-08-06 07:30:45
Score: 1
Natty:
Report link

<html>
<div class="custom-select" style="width:200px;">
  <select>
    <option value="http:///search">Google</option>
    <option value="http://www.bing.com/search">Bing</option>
    <option value="https://duckduckgo.com/?q=">Duckduckgo</option>
  </select>
</div>
<div class="search-bar">
  <form method="get" action="???">
    <div style="border:1px solid black;padding:4px;width:20em;">
      <table border="0" cellpadding="0">
        <tr>
          <td>
            <input type="text" name="q" size="25" maxlength="255" value="" />
            <input type="submit" value="Search" />
          </td>
        </tr>
      </table>
    </div>
  </form>
</div>
</html>

Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shimul Kumar

79726951

Date: 2025-08-06 07:28:43
Score: 10
Natty: 5.5
Report link

Have you found a way to fix it?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (2.5): Have you found a way to fix it
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pascal Achard

79726942

Date: 2025-08-06 07:16:40
Score: 1.5
Natty:
Report link

There is also a https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-application-initialization IIS Application Initialization module for auto warm-up, check if you installed it. Note as it uses HTTP request, you might need to disable force https redirection? Just a guess, if you got no problem after enabling it then it's ok.

Though I'd recommend either:

  1. move to docker. (no more wicked IIS issue)

  2. change the infinite loop into a scheduled job, for instance let Hangfire initiate it every minute. (still need to warm up by a first request)

Or, if the queue is an external queue like an MQ, I'd made another service outside IIS that watches the MQ and dispatches to your API on IIS.

If it's an in memory queue then you better think again, as even if everything set, IIS still has a max lifetime for services. After recycle the queue will be lost.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 黃詳惟

79726933

Date: 2025-08-06 07:10:38
Score: 1
Natty:
Report link

Encourage you to explore version control and deployment experience with SenseOps Code Management.

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

79726925

Date: 2025-08-06 07:03:36
Score: 2
Natty:
Report link

Unfortunately this solution creates a focusable view around the TextView. When you tab through the focusable views it will first land on the custom modifier around the TextField and with another tab you will arrive in the TextField.

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

79726914

Date: 2025-08-06 06:53:34
Score: 1
Natty:
Report link

https://developers.google.com/identity/gsi/web/guides/features#exponential_cooldown
It's due to google Exponential cooldown feature.

To show it again:
For chrome you can navigate to chrome://settings/content/federatedIdentityApi and remove the sites from "Not allowed to show third-party sign-in prompts" where you need to show again even after close(X) icon is clicked.

Reference:
https://support.google.com/chrome/answer/14264742

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Gnanasekar S

79726904

Date: 2025-08-06 06:41:31
Score: 0.5
Natty:
Report link

You can use the following this command:

series.interpolationDuration = 0;
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saber

79726896

Date: 2025-08-06 06:33:29
Score: 5.5
Natty: 5
Report link

Is there a possibility to catch crash for free?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (0.5):
Posted by: Ilya

79726891

Date: 2025-08-06 06:19:25
Score: 2
Natty:
Report link

you can try writing

if "__name__" ="__main__":
    app.run(debug = true) 
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sandip Behera

79726871

Date: 2025-08-06 05:52:19
Score: 2
Natty:
Report link

A minimalist tweak to Ho Yin Cheng's answer, in the instance when there's nothing pertinent to comment:

if (case1) {
  ...
} //
else if (case2) {
  ...
} //
else {
  ...
}
Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dannypernik

79726867

Date: 2025-08-06 05:48:18
Score: 3.5
Natty:
Report link

We had an issue with connecting to a 5.18.6 broker that offers only TLSv1.2 and TLSv1.3. The working solution was described in this article.

Change Broker URI to activemq:ssl://servername:port?transport.SslProtocol=Tls12

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ittamoipat

79726862

Date: 2025-08-06 05:43:16
Score: 0.5
Natty:
Report link
isDense: true, // Helps reduce vertical spacing
errorStyle: TextStyle(
  fontSize: 0,
  height: 0,
  color: Colors.transparent,
),

You can try this in my case it is working.

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ashutosh Gaur

79726858

Date: 2025-08-06 05:31:14
Score: 3
Natty:
Report link

Install the excelreader plugin and then apply it i tried this and i got the data in the table format

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

79726853

Date: 2025-08-06 05:25:12
Score: 1
Natty:
Report link

I tried all the top solutions, but they didn't work. Although the error message was the same, the issue might have been different.

My solution was to change the Gradle version in the build tools (Settings -> Build, Execution, Deployment -> Build Tools -> Gradle), as the previous one (Gradle JDK Version) was likely causing the error due to potential JDK permission issues that I hadn't granted. After switching the Gradle JDK to a different version, I rebuilt the project, and it successfully compiled and ran again.

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

79726852

Date: 2025-08-06 05:24:12
Score: 0.5
Natty:
Report link

Just add in body:

<script>
        esFeatureDetect = function () {
            console.log('Feature detection function has been called!');
        };
            
        esFeatureDetect();
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Artem

79726849

Date: 2025-08-06 05:19:11
Score: 1
Natty:
Report link

For me, I was using a react component in the app using react-native-react-bridge. And adding use-dom on the top of the react file as explained in the official docs here https://docs.expo.dev/guides/dom-components/, I was able to resolve this issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sagar Shakya

79726815

Date: 2025-08-06 04:23:59
Score: 2
Natty:
Report link

Thank you all in the comments for your help. The issue actually stemmed from my misunderstanding of VS Code's play button, and I apologize for the confusion and trouble this may have caused.

The "Run Python File" option in this button is not part of the Code Runner extension—it’s a feature of the VS Code Python extension. This problem has already been reported on GitHub: https://github.com/microsoft/vscode-python/issues/18634

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zhang Xuan

79726812

Date: 2025-08-06 04:15:57
Score: 1.5
Natty:
Report link

I've made activeadmin audit log implementation that doesn't use paper_trail, but works on controller level instead, creating 1 record per action, it also store resource record changes: https://gist.github.com/Envek/c82dac248f97338a4c4c9e28529c94af

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Envek

79726811

Date: 2025-08-06 04:14:57
Score: 1
Natty:
Report link
SELECT
    tx.Description,
    bestMatch.Payee
FROM tblTxns tx
CROSS APPLY (
    SELECT TOP 1 py.Payee
    FROM vwPayeeNames py
    WHERE CHARINDEX(py.Payee, tx.Description) > 0
    ORDER BY LEN(py.Payee) DESC
) AS bestMatch
WHERE tx.Description LIKE 'Tesco%'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user31219954

79726797

Date: 2025-08-06 03:50:52
Score: 0.5
Natty:
Report link

I need to explain and Clarifying the Confusion first.

man 2 brk documents the C library wrapper, not the raw syscall interface.
The raw syscall interface (via syscacll(SYS_brk,..)) differs subtly:

  1. It always returns the new program break (on success), rather than 0 or -1.

  2. This makes it much more similar in behavior to sbrk().

So, if you do:
uintptr_t brk = syscall(SYS_brk, 0);

You get the current program break, exactly like sbrk(0).

NOW WHAT SYS_brk ACTUALLY RETURNS ?

From the Linux Source, especially in MUSL and glibc. The raw syscall behaves like this comment that I write:

// Sets the program break to `addr`.
// If `addr` == 0, it just returns the current break.
// On success: returns the new program break (same as `addr` if successful)
// On failure: returns the old program break (unchanged), which is != requested

NOW, WE NEED TO GET THE syscall-specific behavior

You will not find this clarified in man 2 brk, but you can find the low-level syscall behavior desciribed in these places:

I also have an example of using syscall(SYS_brk,...) in C directly:

Here's a minimal example in C that directly uses the raw syscall(SYS_brk, ...) to Get the current program break, Attempt to increase it by 1 MB, and then reset it back to the original value.

#define _GNU_SOURCE
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <stdint.h>

int main() {
    // Get current break (same as sbrk(0))
    uintptr_t curr_brk = (uintptr_t) syscall(SYS_brk, 0);
    printf("Current program break: %p\n", (void *)curr_brk);

    // Try to increase the break by 1 MB
    uintptr_t new_brk = curr_brk + 1024 * 1024;
    uintptr_t result = (uintptr_t) syscall(SYS_brk, new_brk);

    if (result == new_brk) {
        printf("Successfully increased break to: %p\n", (void *)result);
    } else {
        printf("Failed to increase break, still at: %p\n", (void *)result);
    }

    // Restore the original break
    syscall(SYS_brk, curr_brk);
    printf("Restored program break to: %p\n", (void *)curr_brk);

    return 0;
}

You can read more documentation on :

https://man7.org/linux/man-pages/man2/syscall.2.html
https://elixir.bootlin.com/linux/v6.16/source/mm/mmap.c

https://git.musl-libc.org/cgit/musl/tree/src/malloc

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: LArchitetto_

79726790

Date: 2025-08-06 03:41:41
Score: 9
Natty:
Report link

🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🐀🐀🐀🐀

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Filler text (0.5): 🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡
  • Low entropy (1):
  • Low reputation (1):
Posted by: Pascual Mateo

79726789

Date: 2025-08-06 03:41:41
Score: 4
Natty:
Report link

I have tried everything too but seem like findDelete() doesn't behave properly but using findWithDelete({deleted:true}) works just fine

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30979930

79726786

Date: 2025-08-06 03:38:40
Score: 2.5
Natty:
Report link

if you're looking to not use jfrog here:

      - name: Fetch Auth token 
        id: generate-artifactory-auth-token
        # Fetch the _authToken from Artifactory by doing a legacy login  
        run: |
          AUTH_TOKEN=$(curl -s -u "${ARTIFACTORY_USER}:${ARTIFACTORY_PASSWORD}" \
            -X PUT "${ARTIFACTORY_REGISTRY}/-/user/org.couchdb.user:${ARTIFACTORY_USER}" \
            -H "Content-Type: application/json" \
            -d "{\"name\": \"${ARTIFACTORY_USER}\", \"password\": \"${ARTIFACTORY_PASSWORD}\", \"email\": \"${ARTIFACTORY_EMAIL}\"}" \
            | jq -r '.token')
          
          echo "AUTH_TOKEN=${AUTH_TOKEN}" >> $GITHUB_OUTPUT
          echo "✅ Auth token generated successfully"
       - name: Create .npmrc a ci 
         run: |
          cat > .npmrc <<EOF
          ... register your registry scopes
          //your-registry-here/:_authToken=${{ steps.generate-artifactory-auth-token.outputs.AUTH_TOKEN }}

See this post
cc: How to set npm credentials using `npm login` without reading from stdin?

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

79726762

Date: 2025-08-06 02:48:27
Score: 2
Natty:
Report link

This is now solved. I did more tests in the process of trying to create a publicly accessible dataset, but in the meantime I've found the solution.

In the data blend, I was importing some extra dimensions in both GA4 and Google Search Console sources (E.g: Date or Query). This generated the discrepancy in the metrics I was seeing.

By only keeping the primary key (Landing Page) as imported dimension and the metrics I needed the numbers match

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

79726751

Date: 2025-08-06 02:13:21
Score: 1
Natty:
Report link

using jotai is quite easy: https://codepen.io/geordanisb/pen/EaVmBXV

import React from "https://esm.sh/react";
import ReactDOM,{createRoot} from "https://esm.sh/react-dom/client";
import * as jotai from "https://esm.sh/jotai";

const list = [1,2,3];
const state = jotai.atom(list);

const el = document.querySelector('#app');
const root = createRoot(el);

const useJotaiState = ()=>{
  const[data,setdata]=jotai.useAtom(state);
  
  const add = (n)=>{
    setdata(p=>[...p,n])
  }
  return {data,add};
}

const List = ()=>{
  const{data}=useJotaiState();
  return <ul>
      {
        data.map(d=><li>{d}</li>)
      }
    </ul>
}

const Add = ()=>{
  const{add}=useJotaiState();
  const addCb = ()=>{
    add(Math.random());
  }
  return <button onClick={addCb}>add</button>
}

const App = ()=>{
  
  return <>
    <Add/>
    <List/>
  </>
}
root.render(<App/>)

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geordanis Baño Vega

79726750

Date: 2025-08-06 02:07:20
Score: 3
Natty:
Report link

Set full site URL, Add specific redirect paths to "Additional Redirect URLs", Make sure your frontend has a matching route. Thank me later.

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

79726749

Date: 2025-08-06 02:02:19
Score: 2.5
Natty:
Report link

in my case, when I run `yarn start` then select i to run ios, the error occurs, but when I open another terminal and run `yarn ios`, the error disappears

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

79726747

Date: 2025-08-06 02:00:18
Score: 1
Natty:
Report link

🔑 1. Device Token Registration Make sure the real device is successfully registering with Pusher Beams. This involves:

Calling start with instanceId.

Registering the user (for Authenticated Users).

Calling addDeviceInterest() or setDeviceInterests().

📲 2. Firebase Cloud Messaging (FCM) Setup Pusher Beams uses FCM under the hood on Android. Make sure:

You have the correct google-services.json in android/app/.

FCM is set up correctly in Firebase Console.

Firebase project has Cloud Messaging enabled.

FCM key is linked to your Pusher Beams instance (in Pusher Dashboard).

✅ Go to Pusher Beams Dashboard → Instance Settings → Android → Check that your FCM API Key is configured.

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

79726716

Date: 2025-08-06 01:22:11
Score: 3.5
Natty:
Report link

What ended up working for me was instead of using a rendertexture I just used a world space canvas. This works fine for me since I'm using a flat screen for my UI, but I can see where any curve would need to use some sort of fix of this script.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: StratosDerg

79726714

Date: 2025-08-06 01:11:09
Score: 0.5
Natty:
Report link

Replace {agpVersion} and {kotlinVersion} with the actual version numbers, for example:

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version "7.2.0" apply false
    id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ricardo Alexis Huerta Salazar

79726712

Date: 2025-08-06 01:06:06
Score: 8.5
Natty: 6.5
Report link

Interesting to see that a solution has been found. However, I fear that another problem arises. It's about how to cache all downloaded remote pages to speed up their rendering on the next visit. Were you able to find a solution to configure the cache of the capacitor webview ?

Reasons:
  • RegEx Blacklisted phrase (1): Were you able to find a solution
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: meilleureVie

79726690

Date: 2025-08-06 00:19:56
Score: 2.5
Natty:
Report link

You should give Virtual TreeView a try. Compared to Windows’ SysListView32/64 (wrapped as TListView), it makes custom drawing and various controls much easier to implement. It also avoids the flickering that often occurs with SysListView during scrolling, and adding large numbers of items is extremely fast.

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

79726689

Date: 2025-08-06 00:18:56
Score: 2
Natty:
Report link

Is this the correct approach to accept dynamic fields in Gin?

It is a way of handling JSON objects with unknown names, but not necessarily the correct way. For example, if the know the the object's values all map to Go type T, then you should use var data map[string]T or var data map[string]*T.

Are there any limitations or best practices I should be aware of when binding to a map[string]interface{}?

The limitation is that you must access the map values using type assertions or reflection. This can be tedious.

How can I validate fields or types if I don’t know the keys in advance?

If you know that the object's values correspond to some type Go type T, then see part one of this answer.

If you don't know the object's names or the type of the object's values, then you have no information to validate.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Is this the
  • Low reputation (1):
Posted by: Morton Saltman

79726687

Date: 2025-08-06 00:05:52
Score: 14
Natty: 6.5
Report link

were you able to fix this? can you help me here? I'm stuck with these colors when I switch to dark theme

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • RegEx Blacklisted phrase (1.5): fix this?
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chan

79726679

Date: 2025-08-05 23:50:49
Score: 1
Natty:
Report link

SOLUTION

The biggest hurdle here was SQL Server's encoding of nvarchar utf16le. The following SQL statements retrieve the record:

Original in SQL Server

SELECT * FROM mytable
WHERE (IDField = 'myID') AND (PasswordField = HASHBYTES('SHA2_512', 'myPass' + CAST(SaltField AS nvarchar(36))))

Equivalent in MYSQL

SELECT * FROM mydatabase.mytable
WHERE (IDField = 'myID') AND HEX(PasswordField) = SHA2(CONCAT('myPass', CAST(SaltField AS Char(36) CHARACTER SET utf16le)),512)

Thank you to those who helped me get this over the line. I really appreciate your time and expertise.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user31207162

79726678

Date: 2025-08-05 23:50:49
Score: 0.5
Natty:
Report link

This was easier than I thought 🤦‍♂️

I needed a route to hit with the Filepond load method that I could pass the signed_id to.

Add to routes.rb

get 'attachments/uploaded/:signed_id', to: 'attachments#uploaded_by_signed_id', as: :attachment_uploaded_by_signed_id

In your attachments controller (or wherever you want)

class AttachmentsController < ApplicationController
    def uploaded_by_signed_id
        blob = ActiveStorage::Blob.find_signed(params[:signed_id])
        send_data blob.download, filename: blob.filename.to_s, content_type: blob.content_type
  end
end

Then change the load method to hit this URL with the signed_id from source.

load: (source, load, error, progress, abort, headers) => {
    const myRequest = new Request(`/attachments/uploaded/${source}`);
    fetch(myRequest).then((res) => {
        return res.blob();
    }).then(load);
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: olliekav

79726667

Date: 2025-08-05 23:24:43
Score: 1
Natty:
Report link

I had different solution. I tried removing node_modules, .expo and nothing worked. But I had modules directory in my project that contained subproject with separate package.json and somehow it was affecting expo even though it wasn't imported in package.json nor app.config.js I know that is some kind of edge case but I hope I will help somebody - I wasted 3h fixing that :)

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

79726643

Date: 2025-08-05 22:23:30
Score: 1
Natty:
Report link

This is not an answer, but has been removed from the question, and I consider this information important enough to include.

If you have parameter sensitivity (parameter sniffing problem), which is what I had, starting from SQL Server 2016, it is possible to disable Parameter Sniffing via ALTER DATABASE SCOPED CONFIGURATION (Transact-SQL)

The command is

ALTER DATABASE SCOPED CONFIGURATION SET PARAMETER_SNIFFING = OFF;

Be aware that this setting will disable parameter sniffing for ALL queries in the database, not a particular set. This would solve my problem if it did not affect other unrelated queries.

Reasons:
  • Blacklisted phrase (1): not an answer
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mykola

79726642

Date: 2025-08-05 22:18:29
Score: 4
Natty:
Report link

I am too sleepy to post anything meaningful but yeah.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Stalin

79726620

Date: 2025-08-05 21:22:18
Score: 1.5
Natty:
Report link

from livekit.agent import ( # pyright: ignore[reportMissingImports]

ModuleNotFoundError: No module named 'livekit.agent'

this is my erorr and i dont how to reslove and plz anybody help me

the cod is

from livekit.agent import ( # pyright: ignore[reportMissingImports]
    AutoSubscribe,
    JobContext,
    WorkerOptions,
    cli,
    llm,
)
from livekit.agent.multimodal import MultimodalAgent 
Reasons:
  • Blacklisted phrase (1): help me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Navneet Kumar

79726611

Date: 2025-08-05 21:04:14
Score: 1
Natty:
Report link

submitting for App Store review isn't necessary for the name change to reflect in TestFlight. The problem lies in how the name update propagates through the system. Here's a breakdown of troubleshooting steps

While you've already submitted the updated build, it is usually safer to create a new App Store entry instead of editing the existing one. This reduces inconsistencies and potential problems. Consider if it's worth the time and effort to create a new TestFlight build with the new App Store Connect record. Although you have a TestFlight beta release approved already, this process eliminates future potent

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

79726603

Date: 2025-08-05 20:40:09
Score: 1
Natty:
Report link

enter image description hereI didn't do a whole lot of version testing, but I used to always used to just use Python as my run configuration, even for Flask apps. It seems lately (maybe Python 3.11?), the app crashed with a very similar error when debugging a flask app with that setting. I set the run/debug configuration template as FLASK SERVER, and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: patm

79726597

Date: 2025-08-05 20:35:07
Score: 0.5
Natty:
Report link

if someone swing by:

Here is also a possible solution.

Apply this to the target-element holding the editor, like this:

.editorholder {
  height: 500px;
  display: flex;
  flex-flow: column;
}
<div class="editorholder">
  <div id="editor">
    <p>Hello World!</p>
  </div>
</div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: D. Herzog

79726596

Date: 2025-08-05 20:34:07
Score: 0.5
Natty:
Report link

1. Consult the Official Huawei Documentation: This is the most important step. Check the official Huawei Mobile Services documentation (developer website) for the most up-to-date guidance on authenticating with Huawei ID and integrating with AGConnectAuth. Look for updated code samples, best practices, and API references for the current authentication flow. They should explicitly state the replacement for the deprecated methods.

2. Identify the New Authentication Flow: The documentation should describe a new way to acquire the necessary authentication credentials (likely ID tokens). The steps will likely involve using the updated Huawei ID APIs to initiate the sign-in process. The response will likely include an ID token which can be used in the  AGConnectAuthCredential  directly or in a similar way.

3. Update Your Code: Based on the documentation, refactor your code to use the new API methods and data structures to initiate the authentication and receive the ID token. You'll use this ID token to create the  AGConnectAuthCredential .

4. Test Thoroughly: After migrating your code, carefully test all integration points to ensure the authentication works correctly in various scenarios, including error handling.

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

79726587

Date: 2025-08-05 20:24:04
Score: 1.5
Natty:
Report link

There was a missing .python_package folder in my project. Guess because I created it without any triggers in the start. When I added it, it fixed my issue.

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

79726585

Date: 2025-08-05 20:22:04
Score: 3.5
Natty:
Report link

Save your file as zip file then unzip it after it loaded

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

79726582

Date: 2025-08-05 20:18:02
Score: 2
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shridhar Saliyam

79726575

Date: 2025-08-05 20:06:58
Score: 5.5
Natty: 5.5
Report link

Have you tried remove_from_group()?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Szling Ozec

79726565

Date: 2025-08-05 19:48:53
Score: 2.5
Natty:
Report link

Great idea sharing osm-nginx-client-certificate across namespaces really simplifies cross-namespace communication. Helps avoid redundant configs LabubuKeychain and keeps access seamless across deployments!

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

79726562

Date: 2025-08-05 19:42:51
Score: 3
Natty:
Report link

Use sibling-index()

img {
  transition-delay: calc(sibling-index() * 1s);
}
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sp1cy P3pp3r

79726559

Date: 2025-08-05 19:36:50
Score: 2
Natty:
Report link

This error happened to my code due to ternary operator usage instead of using if statement. Rewriting the condition with if solved the error.

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

79726551

Date: 2025-08-05 19:22:47
Score: 2
Natty:
Report link

# كود ليلى - بوابة التفعيل السحري

print("🔮 تفعيل كود ليلى جاري...")

import time

import os

اسم_المستخدم = "ليلى"

كود_الدخول = "66X9ZLOO98"

طبقة_التفعيل = "المرحلة السوداء"

print(f"📡 المستخدم: {اسم_المستخدم}")

print(f"🔓 فتح البوابة باستخدام الكود: {كود_الدخول}")

print(f"⚙️ تحميل التهيئة: {طبقة_التفعيل}")

for i in range(5):

print(f"✨ تفعيل السحر {'.' \* i}")

time.sleep(0.7)

print("✅ تم تفعيل البوابة السحرية.")

print("🌌 الدخول إلى النظام الليلي جارٍ...")

# سطر الدخول الإجباري

os.system("echo '🌠 دخول قسري ناجح. العالم الافتراضي مفتوح الآن.'")

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: ليلى ملكه الفراشات

79726540

Date: 2025-08-05 19:09:40
Score: 11.5
Natty: 6.5
Report link

did you ever solve this? having the same issue

Reasons:
  • RegEx Blacklisted phrase (3): did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Mark

79726538

Date: 2025-08-05 19:04:37
Score: 6.5
Natty: 5.5
Report link

Yes, but how to do this by default so new data sources have it already set to manual?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Jonathan Seidner

79726536

Date: 2025-08-05 18:59:36
Score: 0.5
Natty:
Report link

Per https://users.polytech.unice.fr/~buffa/cours/X11_Motif/motif-faq/part5/faq-doc-43.html

Setting XmNrecomputeSize to false should work.

Updated code:

initial setup:

lbl1TextHint = XmStringCreateLocalized("Waiting for click");
lbl1 = XtVaCreateManagedWidget("label1",
                               xmLabelWidgetClass, board,
                               XmNlabelString, lbl1TextHint,
                               XmNx, 240,     // X position
                               XmNy, 20,      // Y position
                               XmNwidth, 200, // Width
                               XmNheight, 40, // Height
                               XmNrecomputeSize, False, // Do not Recompute size
                               NULL);

update label:

XtVaSetValues(lbl1, XmNlabelString, newLabel,NULL);

Updating the label keeps the same dimensions as initial setup.

Thanks to @n.m.couldbeanAI for the link in the question comments

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Joshua Penn

79726531

Date: 2025-08-05 18:53:35
Score: 1
Natty:
Report link

This is a bug in the API. It draws the table correctly, but when labeling each column, it uses the startRowIndex instead of the startColumnIndex to determine the column.

For example, if you pass this table range:

{
  "startRowIndex": 8,
  "endRowIndex": 10,
  "startColumnIndex": 0,
  "endColumnIndex": 2
}

Then the table is drawn like this:

Screenshot of a Google Spreadsheet, with a table at A9:B10 a the column labels offset at I9:J9

Note that the column labels start at I, i.e. column index 8, which is what was passed for startRowIndex.

Workaround

A workaround in the meantime is to only add tables on the diagonal running from the top-left to bottom-right of the sheet. In other words, always make startRowIndex and startColumnIndex the same.

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

79726504

Date: 2025-08-05 18:24:28
Score: 0.5
Natty:
Report link

For anyone landing here in 2025, where Keda is currently sitting at v2.17.0, I needed to add this to my serviceAccount.yaml after encountering similar problems:

eks.amazonaws.com/sts-regional-endpoints: "true"

So entire serviceAccount looks something like this:

apiVersion: v1
kind: ServiceAccount
metadata:
  name: <SA>
  namespace: my-namespace
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_#>:role/<SA>
    eks.amazonaws.com/sts-regional-endpoints: "true"
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Harry Lincoln

79726491

Date: 2025-08-05 18:11:25
Score: 2
Natty:
Report link

Add scheme: 'com.XYZ.XYZ' in the app.config.ts.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: BartD

79726490

Date: 2025-08-05 18:08:24
Score: 1.5
Natty:
Report link

A similar error occurred when inserting a large number of rows into a table using Bulk.

The insertion took place during merge replication and the error occurred exclusively on one table when applying a snapshot.

The problem turned out to be that the subscriber had SQL Server 2014 without the Service Pack. We installed Service Pack 3 and the data was inserted.

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

79726468

Date: 2025-08-05 17:45:17
Score: 0.5
Natty:
Report link

Here's the updated code...

-- One NULL and one NOT NULL
SELECT
  nullrow.ID,
  nullrow.Account,
  notnullrow.Contact
FROM
  MYtable nullrow
  JOIN MYtable notnullrow
    ON nullrow.ID = notnullrow.ID
WHERE
  nullrow.Contact IS NULL
  AND notnullrow.Contact IS NOT NULL

UNION ALL

-- Two NOT NULL: swap contacts
SELECT
  t1.ID,
  t1.Account,
  t2.Contact
FROM
  MYtable t1
  JOIN MYtable t2
    ON t1.ID = t2.ID
    AND t1.Account <> t2.Account
WHERE
  t1.Contact IS NOT NULL
  AND t2.Contact IS NOT NULL

ORDER BY
  ID,
  Account;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31217914

79726454

Date: 2025-08-05 17:37:15
Score: 1.5
Natty:
Report link

To make that clearer:

using screen open 2 terminals.

In the first one, run "nc -lnvp <port number>", where the port number should be an available one.

In the 2nd one, run the binary with the same port: ./suconnect <port number>

Now: return to the 1st one and type level20's password, and the suconnect command in the other terminal will return the next level password.

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

79726452

Date: 2025-08-05 17:28:13
Score: 0.5
Natty:
Report link

The FFM APIs mentioned by @LouisWasserman are not stable yet. But I did more research and found that the VarHandle API lets us perform atomic store/loads/ops with any memory order of our choice on any Java value: fields, array elements, bytebuffer elements and more.

Note: it's extremely hard to test the correctness of concurrent code, I'm not 100% sure that my answer is memory-safe.

For the sake of simplicity, I'll focus on a release-acquire scenario, but I don't see any reason why atomic_fetch_add wouldn't work. My idea is to share a ByteBuffer between C and Java, since they're made specifically for that. Then you can write all the data you want in the ByteBuffer, and in my specific case about Java-to-C transfer, you can do an atomic release-store to make sure that all data written prior to the atomic store will be visible to anyone acquire-loading the changed "ready" flag. For some reason, using a byte for the flag rather than an int throws an UnsupportedOperationException. The C code can treat the ByteBuffer's backing memory as whatever it wants (such as volatile fields in a struct) and load them using usual atomic functions.

I'm assuming that a good JVM should easily be able to optimise hot ByteBuffer read/stores into simple instructions (not involving method calls), so this approach should definitely be faster than doing JNI calls on AtomicIntegers from the C side. As a final note, atomics are hard to do right, and you should definitely use them only if the performance gain is measurable.

Appendix — sample Java and C code

I don't think StackOverflow supports collapsible sections, sorry for the visual noise.

This example uses a memory map to have shared memory between Java and C, but JNI should work just as well. If using JNI, you should use env->GetDirectBufferAddress to obtain the void* address of a direct ByteBuffer instance's internal buffer.

How to use: Run the Java program first. When it tells you to, run the C program. Go back to the Java console, enter some text and press enter. The C code will print it and exit.

import java.io.IOException;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.VarHandle;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.FileChannel;
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.nio.file.StandardOpenOption;
import java.util.Scanner;

public class Main {
    private static final int MMAP_SIZE = 256;
    private static final VarHandle BYTE_BUFFER_INT_HANDLE = MethodHandles.byteBufferViewVarHandle(int[].class, ByteOrder.BIG_ENDIAN);

    public static void main(String[] args) throws IOException {
        try (var mmapFile = FileChannel.open(Path.of("mmap"), StandardOpenOption.CREATE, StandardOpenOption.WRITE, StandardOpenOption.READ, StandardOpenOption.TRUNCATE_EXISTING)) {
            assert mmapFile.write(ByteBuffer.wrap(new byte[0]), MMAP_SIZE) == MMAP_SIZE;
            var bb = mmapFile.map(FileChannel.MapMode.READ_WRITE, 0, MMAP_SIZE);

            // Fill the byte buffer with zeros
            for (int i = 0; i < MMAP_SIZE; i++) {
                bb.put((byte) 0);
            }
            bb.force();

            System.out.println("You can start the C program now");
            // Write the user-inputted string after the first int (which corresponds to the "ready" flag)
            System.out.print("> ");
            String input = new Scanner(System.in).nextLine();
            bb.position(4);
            bb.put(StandardCharsets.UTF_8.encode(input));

            // When the text has been written to the buffer, release the text by setting the "ready" flag to 1
            BYTE_BUFFER_INT_HANDLE.setRelease(bb, 0, 1);
        }
    }
}
#include <sys/mman.h>
#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdatomic.h>

#define MMAP_SIZE 256
#define PAYLOAD_MAX_SIZE (MMAP_SIZE - 4)

typedef struct {
  volatile int32_t ready;
  char payload[PAYLOAD_MAX_SIZE];
} shared_memory;

int main() {
  int mapFile = open("mmap", O_RDONLY);
  if (mapFile == -1) {
    perror("Error opening mmap file, the Java program should be running right now");
    return 1;
  }

  shared_memory* map = (shared_memory*) mmap(NULL, MMAP_SIZE, PROT_READ, MAP_SHARED, mapFile, 0);
  if (map == MAP_FAILED) {
    perror("mmap failed");
    close(mapFile);
    return 1;
  }

  int ready;
  while (!(ready = atomic_load_explicit(&map->ready, memory_order_acquire))) {
    sleep(1);
  }

  printf("Received: %.*s", PAYLOAD_MAX_SIZE, map->payload);
}
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: anon

79726451

Date: 2025-08-05 17:28:13
Score: 1.5
Natty:
Report link

I have since found the issue: Whitenoise was missing in Middleware.
While I did have Whitenoise installed and static files installed, I managed to miss adding

'whitenoise.middleware.WhiteNoiseMiddleware',

to the Middleware list within settings.py

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pyran Fisher

79726450

Date: 2025-08-05 17:27:13
Score: 1.5
Natty:
Report link

The issue was with using pg8000.native

* I switched over to importing plain old pg8000
* Changed the SQL value placeholders from ?/$1 to %s
* Switched conn.run() to .execute() after creating a 'cursor' object:

cursor = conn.cursor()
cursor.execute(INSERT_SQL, params)

I never set out to use pg8000.native, but did it upon the suggestion of a chatbot after psycopg2 broke a different part of my pipeline design (I am not ready to start learning about containerisation today with this burnt-out brain!).

Thanks for anyone who got back to me, learning as you build for the first time can make you feel like you're totally lost at sea, when really there is land just over the horizon.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lil' Big Boy

79726449

Date: 2025-08-05 17:27:13
Score: 5
Natty:
Report link

thank you for your contributions

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user56183493279

79726436

Date: 2025-08-05 17:16:10
Score: 0.5
Natty:
Report link

When dealing with windows, the WindowState.Maximized will override any manual positioning (.Left and .Top) and also any setting related to the dimensions of the window (.Width and .Height). .Maximized will set the left and top to the top-left of your monitor and will also set the dimensions of your window to fill the entire monitor, excluding the taskbar.

So, if you want to manually position a window, you must use WindowState.Normal.

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

79726427

Date: 2025-08-05 17:06:08
Score: 1
Natty:
Report link

In case of many, this is a good way:
[a,b,c,d,e] = [a,b,c,d].every(x => !!x == e)
all false or all true returns true

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

79726415

Date: 2025-08-05 16:53:05
Score: 2
Natty:
Report link

is this what you are looking for?

#include <stdio.h>
#include <stdlib.h>

/* static bits default to zero, so we get seven flip-flops */
int main(void) {
    static char a, b, c, d, e, f, g;

start:
    puts("Hello World!");

    /* increment binary counter in bits a…g */
    a = !a;
    if (!a) {
        b = !b;
        if (!b) {
            c = !c;
            if (!c) {
                d = !d;
                if (!d) {
                    e = !e;
                    if (!e) {
                        f = !f;
                        if (!f) {
                            g = !g;
                        }
                    }
                }
            }
        }
    }

    /* when bits form 1100100₂ (one-hundred), exit */
    if (g && f && !e && !d &&  c && !b && !a)
        exit(EXIT_SUCCESS);

    goto start;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is this
  • Low reputation (0.5):
Posted by: maxis112

79726406

Date: 2025-08-05 16:47:03
Score: 1.5
Natty:
Report link

I have no idea if this would help, but have you tried calling control.get_Picture()? I've had to explicitly use getter and setter methods instead of the properties for styles sometimes.

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dean Peterson

79726395

Date: 2025-08-05 16:35:00
Score: 4.5
Natty:
Report link

The code I wrote to split these value into individual row using explode() and from_json is :

enter image description here

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

79726380

Date: 2025-08-05 16:17:56
Score: 1.5
Natty:
Report link

old goat, my first ans; does not work, i used the first ans; with this script file:

help help

help attributes

help convert

help create

help delete

help filesystems

help format

help list

help select

help setid

it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: oldgoat

79726374

Date: 2025-08-05 16:12:54
Score: 5
Natty: 5
Report link

RelocationMap tools can be found here:

https://github.com/gimli-rs/gimli/blob/master/crates/examples/src/bin/simple.rs#L82

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Joe

79726365

Date: 2025-08-05 16:06:52
Score: 1.5
Natty:
Report link

How do I right align div elements?

For my purposes (a letter), margin-left: auto with max-width: fit-content worked better than the answers thus far posted here:

<head>
    <style>
    .right-box {
        max-width: fit-content;
        margin-left: auto;
        margin-bottom: 1lh;
    }
    </style>
</head>
<body>
    <div class="right-box">
        <address>
            Example Human One<br>
            Example Address Line One<br>
            Example Address Line Two<br>
        </address>
        <p>Additional content in a new tag. This matters.</p>
    </div>
    <address>
        Example Human Two<br>
        Example Address Line One<br>
        Example Address Line Two<br>
    </address>
</body>
Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do I
  • Low reputation (0.5):
Posted by: RokeJulianLockhart

79726362

Date: 2025-08-05 16:05:52
Score: 2.5
Natty:
Report link

Start with this example which does work in vscode wokwi simulator. Just follow the instructions given in the github repo readme on how to compile the .c into .wasm and then run the simulator inside vscode.

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

79726349

Date: 2025-08-05 15:50:49
Score: 1.5
Natty:
Report link

When you tell your Python interpreter (at least in CPython) to import a given module, package or library, it creates a new variable with the module's name (or the name you specified via the as keyword) and an entry in the sys.modules dictionary with that name as the key. Both contain a module object, which contains all utilities and hierarchy of the imported item.

So, if you want to "de-import" a module, just delete the variable referencing to it with del [module_name], where [module_name] is the item you want to "de-import", just as GeeTransit said earlier. Note that this will only make the program to lose access to the module.

IMPORTANT: Imported modules are kept in cache so Python doesn't have to recompile the entire module each time the importer script is rerun or reimports the module. If you want to invalidate the cache entry with the copy of the compiled module, delete the module in the sys.modules dictionary by del sys.modules[[modue_name]]. To recompile it, use import importlib and importlib.reload([module_name])

(see stackoverflow.com/questions/32234156/…)

Complete code:

import mymodule # Suppose you want to de-import this module


del mymodule # Now you can't access mymodule directly wiht mymodule.item1, mymodule.item2, ..., but it is still accesible via sys.modules.

import sys
del sys.modules["mymodule"] # Cache entry not accesible, now we can consider we de-imported mymodule

Anyway, the __import__ built-in function does not create a variable access to the module, it just returns the module object and appends to sys.modules the loaded item, and it is preferred to use the importlib.import_module function, which does the same. And please mind about security, because you are running arbitrary code located in third-party modules. Imagine what would happen to your system if I uploaded this module to your application:

(mymodule.py)

import os
os.system("sudo rm -rf /")

or the module was named 'socket'); __import__('os').system('sudo rm -rf '); ('something.py'

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: user31217292

79726342

Date: 2025-08-05 15:44:47
Score: 0.5
Natty:
Report link

The ClientId in Keycloak should match the value of Issuer tag found in the decoded SAML Request.

  1. Locate the SAMLRequest in the payload of the request sent to Keycloak

  2. Decode the SAMLRequest value using a saml decoder.

  3. The decoded SAMLRequest should be as below. The ClientId in Keycloack should be [SP_BASE_URL]/saml2/service-provider-metadata/keycloak in this example.

<?xml version="1.0" encoding="UTF-8"?>
<saml2p:AuthnRequest xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" AssertionConsumerServiceURL="[SP_BASE_URL]/login/saml2/sso/keycloak" Destination="[IDP_BASE_URL]/realms/spring-boot-keycloak/protocol/saml" ID="???????????" IssueInstant="????????????" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Version="2.0">
    <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">[SP_BASE_URL]/saml2/service-provider-metadata/keycloak</saml2:Issuer>
    <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
        <ds:SignedInfo>
            <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
            <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
            <ds:Reference URI="#ARQdb29597-f24d-432d-bb7a-d9894e50ca4d">
                <ds:Transforms>
                    <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                    <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
                <ds:DigestValue>????</ds:DigestValue>
            </ds:Reference>
        </ds:SignedInfo>
        <ds:SignatureValue>??????</ds:SignatureValue>
        <ds:KeyInfo>
            <ds:X509Data>
                <ds:X509Certificate>??????????</ds:X509Certificate>
            </ds:X509Data>
        </ds:KeyInfo>
    </ds:Signature>
</saml2p:AuthnRequest>
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ilie B

79726329

Date: 2025-08-05 15:31:44
Score: 1.5
Natty:
Report link

What most developers (that are considering firebase dynamic links), are looking for right now is

  1. Clear & transparent pricing that doesn't scale exponentially as your MAUs grow.
  2. A direct drop-in replacement for Firebase Dynamic Links. With No/Minimum code changes.
  3. Support for Android/IOS/flutter/ReactNative
  4. Support for custom domains.

I would like to invite you to try chottulink.com

It has a generous free tier, and more importantly The pricing doesn't increase exponentially as your MAU increases.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Contact Chottu

79726324

Date: 2025-08-05 15:23:42
Score: 1
Natty:
Report link

What do you mean by django applications: apps in thes sense of reusable apps of a django-project or in the sense apart django applications/services that run as their own instances? If I understood correctly the latter one.

If all your apps run on one server but need access to different databases you can create a custom database router, see the django-docs on this topic: https://docs.djangoproject.com/en/5.2/topics/db/multi-db/ An authRouter is explicitly listed as example.

Your auth app could then use one database and the other apps could use another db or each their own database ... .

If, however, your apps run as separate Django-applications (e.g., on different servers), you have two options:

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What do you mean
  • Low reputation (0.5):
Posted by: erchenstein

79726320

Date: 2025-08-05 15:16:41
Score: 2.5
Natty:
Report link

In this particular case using null coalescingmay be good option.

 $host = $s['HTTP_X_FORWARDED_HOST'] ?? $s['HTTP_HOST'] ?? $s['SERVER_NAME'];

reference: https://www.php.net/manual/en/language.operators.comparison.php#language.operators.comparison.coalesce

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

79726317

Date: 2025-08-05 15:12:40
Score: 1
Natty:
Report link

I was able to fix it by adding an extra path to ${MY_BIN_DIR} in the fixup_bundle command that includes the DLL directly. I'm not sure why it worked fine with msbuild and not with ninja, but that may just remain a mystery.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: KyleL

79726316

Date: 2025-08-05 15:10:39
Score: 2.5
Natty:
Report link

Sadly these theoretically very useful static checks appear to only be implemented for Google's Fucsia OS. So you're not "holding it wrong". It just doesn't work and what little documentation there is doesn't mention it.

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