79448233

Date: 2025-02-18 12:27:01
Score: 8.5 🚩
Natty:
Report link

Can you share the flutter doctor output?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you share the
  • Low reputation (1):
Posted by: Benokan Kafkas

79448231

Date: 2025-02-18 12:25:01
Score: 2.5
Natty:
Report link

Ok! Apparently you have to

  1. first run you app;
  2. run in debug mode, so the inspector can be shown.

before debuging

after debuging

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

79448228

Date: 2025-02-18 12:24:01
Score: 2.5
Natty:
Report link

I finally found the problem. I was using the wrong import.

org.springframework.http.HttpMethod.GET

did the trick. jakarta.ws.rs.HttpMethod.GET returned a string that was evaluated as pattern.

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

79448225

Date: 2025-02-18 12:24:01
Score: 1.5
Natty:
Report link

Sets themselves are NOT mutable, even if their contents are. See code below. After line 2, y points to the contents of x. But because the set changes in line 4, it has to be destroyed and a new one is made. That is why afterwards, y no longer points to the contents of x but to the ORIGINAL set that was held by x. x = set(['a','b','c']) y = x print(x is y) x = set(['a','b','c','d']) print(x is y) print(y)

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

79448223

Date: 2025-02-18 12:22:00
Score: 1.5
Natty:
Report link

For me upgrading to the latest version of VSCode resolved the issue.

Turns out that the Python extensions were failing because they were newer than my VSCode version and the old version of VSCode was incompatible with the new Python extensions.

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

79448220

Date: 2025-02-18 12:21:00
Score: 1.5
Natty:
Report link

For Flux 0.16, use sum(length,Flux.trainables(model)).

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

79448213

Date: 2025-02-18 12:17:59
Score: 0.5
Natty:
Report link

Assuming the entire text is one line, something like the following will extract the three groups: path and the two versions:

Path *: *(.*) Version xyz *: *(.*) Version abc *: *(.*)

The version xyz would be \2 etc. Some variations would exist between regex implementations.

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

79448210

Date: 2025-02-18 12:16:59
Score: 1
Natty:
Report link

If Chrome Custom Tabs aren’t opening other apps, try these fixes:

1️⃣ Check Settings – Go to Chrome Settings → Site settings → Open by default and allow links to open in other apps.

2️⃣ Update Chrome & WebView – Make sure both are updated in the Play Store.

3️⃣ Clear Cache & Data – Go to Settings → Apps → Chrome → Storage → Clear cache & data.

4️⃣ Set Chrome as Default – Check Settings → Apps → Default Apps → Browser App and select Chrome.

5️⃣ Try a Different Browser – Test if links open properly in Firefox or Edge to see if it’s a Chrome issue for more information [visit our site]

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

79448202

Date: 2025-02-18 12:13:58
Score: 5.5
Natty: 4.5
Report link

I am also using pkpass and I want to enable NFC to that, can you please provide a way or approach to access this, I am already using a certificate with NFC check, that I have downloaded via developer portal. Can you please confirm that, do we have to approach apple to access NFC, or we can do it only by enabling NFC in pkpass certificate, as for now I have enabled that but now the pass is not even opening.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please provide
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yash Singh

79448201

Date: 2025-02-18 12:13:56
Score: 10 🚩
Natty:
Report link

@Michael ilkanayev, hello. Were you able to solve the problem? I am experiencing a similar issue with React Native 0.76 and Axios/Fetch. In my case, the photos were also loading slowly. I managed to achieve a significant speedup in photo uploads by adding the parameter "maxRedirects: 0" to Axios. As for the Network Error issue, I have only resolved it by resending the photos in case of an error.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (3): Were you able
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Michael
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: JustCurious4

79448200

Date: 2025-02-18 12:12:55
Score: 1
Natty:
Report link

Alternatively you can apply this formula.

 =IFNA(DROP(REDUCE("",SEQUENCE(ROWS(A1:A4)),
 LAMBDA(u,v,VSTACK(u,     HSTACK(CHOOSECOLS(A1:A4,v),
 UNIQUE(TOCOL(CHOOSECOLS(B1:O4,v),1)),
 BYROW(UNIQUE(TOCOL(CHOOSECOLS(B1:O4,v),1)),
 LAMBDA(x,SUM(N(SCAN(0,CHOOSECOLS(B1:O4,v),
 LAMBDA(ini,arr,IF(arr=x,ini+1,0)))=4)))))))),1),"")

fruits

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

79448199

Date: 2025-02-18 12:12:55
Score: 2.5
Natty:
Report link

for me the answer was to erase the type: "module" from the package.json

someone in the team add this line and broke the tests :(

Reasons:
  • Blacklisted phrase (1): :(
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gustavo Ramirez

79448197

Date: 2025-02-18 12:10:55
Score: 3
Natty:
Report link

Today I received an email saying that xtb is going to close its API on March 14, 2025. So choose a competitor

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ondřej Novák

79448196

Date: 2025-02-18 12:09:55
Score: 0.5
Natty:
Report link

the right answer is this

const a = {"a.b":{"c.d":"test"}}

_.omit(a, "['a.b']['c.d']") // a.b:{}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: elad BA

79448195

Date: 2025-02-18 12:09:55
Score: 0.5
Natty:
Report link

There is case that I never found treated. Open a cmd window in the folder that contains the private key. Do the command:

ssh -i certificatefilename.ext user@server

If you get this message:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

In this case you have to change the security settings for the private key file so ONLY the current user can read it!

You have to use the key in Openssh format, if you have only the .ppk use puttygen.exe to convert.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Filler text (0.5): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  • Filler text (0): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  • Low reputation (1):
Posted by: nicolap8

79448184

Date: 2025-02-18 12:05:54
Score: 3
Natty:
Report link

One seems to be able to use the GUI way described by troglo now. When redeploying I only see the option for Artifact Registry. Deploys without failure. Others also seem to be able to deploy it as of now https://www.googlecloudcommunity.com/gc/Serverless/Cloud-Function-1st-gen-failing-to-update-to-use-Artifact/m-p/864110

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

79448181

Date: 2025-02-18 12:03:53
Score: 3
Natty:
Report link

the problem was with mime package so I downgraded the package to 3.0.0 and the application is now working well

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

79448167

Date: 2025-02-18 11:57:52
Score: 1.5
Natty:
Report link

Setting following property should disable all the metrics -

management.metrics.enable.all=false

Based on

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

79448163

Date: 2025-02-18 11:56:51
Score: 2.5
Natty:
Report link

İf you make right-click on the vs-code icon and select close the window, then it works but ı had made a lot try like closing with task manager and click the cross icon, they didnt work.

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

79448158

Date: 2025-02-18 11:55:51
Score: 2.5
Natty:
Report link

Remove

floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Romil Pipaliya

79448154

Date: 2025-02-18 11:54:50
Score: 4
Natty:
Report link

"Lead developer, career guide" is a very good read, focused in the personal abilities, it helped me a lot.

Reasons:
  • Blacklisted phrase (1): helped me a lot
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • High reputation (-1):
Posted by: DanielV

79448150

Date: 2025-02-18 11:52:49
Score: 5.5
Natty: 4
Report link

How did you do to solve this problem? I have it too (when i wanted to build the game(under an executable), it displayed me the exact same error)

Reasons:
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • 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
  • Low reputation (1):
Posted by: Celian Cohen

79448149

Date: 2025-02-18 11:52:49
Score: 0.5
Natty:
Report link

Thanks to @MatsLindh who recommended a better solution:

from sqlalchemy import Sequence
seq = Sequence('user_column_seq', optional=True)
class User(db.Model):
    id: Mapped[int] = mapped_column(primary_key=True)
    column: Mapped[int] = mapped_column(nullable=True, unique=True)

user1 = User() # NULL
user2 = User(column=seq.next_value()) # next free value
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): solution:
  • Has code block (-0.5):
  • User mentioned (1): @MatsLindh
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: roundedrectangle

79448143

Date: 2025-02-18 11:50:48
Score: 1
Natty:
Report link

Your question is completely valid, and many beginners in web development have similar thoughts when first encountering the frontend-backend separation. Let me break it down in a structured way.

1. Why Does the Backend Need a Separate Server?

The main reason is that the frontend (React) and backend (Flask/ExpressJS) serve different purposes and have different execution environments.

Frontend run in the browser. Cannot interact directly with databases, files, sensitive operations like authentication.

Backend run on a server. It has full access of databases, files, business login and sensitive operations. Backend can deal with multiple frontend clients.

2. Why Can't the Frontend Run Backend Code Directly?

Anyone can think, "Why can't the browser just run Python or Node.js directly?". Here's why:

Browsers are designed and developed for the execute only JS. Allowing backend code like python or nodeJS to run directly on a browser lead to security risk. By using it users can directly access the database and users can execute harmful code.

It mean if the frontend directly connect to the databases, anyone can read, modify, or delete the data without any restrictions. Backend server's main purpose is protect the database and handle the data.

Backend servers are developed for dealing with multiple client application with multiple requests, database operations, business logic, and interconnected with different services. Therefore Backend need more resources to be perform the heavy operations. But frontend need to be lightweight and responsive for users.

3. Why Does Fetching Data from the Backend Seem Complex?

You mentioned that using fetch to communicate with the backend feels like a proxy system and is unnecessarily complex. However, this separation has advantages:

We can develop Frontend and Backend independently. By using this method we can swap out a React frontend for a mobile application without changing the backend.

Instead of exposing database credentials to the front end, the backend acts as an middleware to authenticate and validate all requests.

A well-structured backend API (Flask, Express) can serve multiple clients (React web app, mobile app, other services). This architecture makes it easier to integrate with external services (e.g., payments, authentication).

4. Why Can't React Just Run Backend Code?

You may have noticed that React allows importing some modules, but not others, in Node.js use require. This is because:

React run in the browser. NodeJs run on the server-side. Browsers only support import. But require is part of NodeJS, It mean require using in only backend. However bundlers remove backend specific code. Such as Webpack, and Vite strip out NodeJS specific code when building the project. Therefor when building the project making backend login unusable.

My Final thoughts

YES , Backend Frontend separation is adds complexity, But it is necessary for security, scalability , and performance. Now a day modern applications are designed and developed this way so that different devices can talk to the same backend API without exposing sensitive logic to the browser. Would it be easier if browsers supported full backend capabilities? Maybe. But that would open up huge security risks and reduce flexibility.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dilshan W.M.A.

79448130

Date: 2025-02-18 11:47:48
Score: 3
Natty:
Report link

You could try using Regex to 'test' the string, since this falls into that category.

type BinaryString = `${string & { __brand: "{0|1}*" }}`;

function assertBinaryString(value: string): BinaryString {
    const binaryRegex = /^[01]*$/;
    if (binaryRegex.test(value)) {
        return value as BinaryString;
    } else {
        throw new Error("Invalid binary string format");
    }
}

let validDate: BinaryString = assertBinaryString("010101");
console.log(validDate); // Output : 010101
let invalidDate: BinaryString = assertBinaryString("random");
console.log(invalidDate) // Output : Error

Source: How to Define a Regex-Matched String Type in TypeScript ?

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

79448128

Date: 2025-02-18 11:46:47
Score: 4
Natty:
Report link

Thank you very much for both of your replies. I will try out both, but so far both fulfill my requirements. This helps me a lot.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Geologist

79448123

Date: 2025-02-18 11:45:46
Score: 1.5
Natty:
Report link

I had a similar problem and have created my own script based on Wayne's answer. You can pass it the path to a Jupyter notebook and it will print the code cells with the largest produced output ordered by the size.

For easier reference, the cell number, size of the output it produced and the first few lines lines of its code are printed. You can skip through the code cells from largest to smallest output by hitting enter :)

Please be aware that you will need to run this script from the command line (otherwise the input() part won't work)

import nbformat as nbf
from typing import TypedDict


class CodeCellMeta(TypedDict):
    cell_num: int
    output_size_bytes: int
    first_lines: list[str]


def get_code_cell_metadata(nb_path: str):
    ntbk = nbf.read(nb_path, nbf.NO_CONVERT)
    cell_metas: list[CodeCellMeta] = []
    for i, cell in enumerate(ntbk.cells):
        cell_num = i + 1
        if cell.cell_type == "code":
            meta: CodeCellMeta = {
                "output_size_bytes": len(str(cell.outputs)),
                "cell_num": cell_num,
                "first_lines": cell.source.split("\n")[:5],
            }
            cell_metas.append(meta)

    return cell_metas


def human_readable_size(size_bytes: int) -> str:
    size_current_unit: float = size_bytes
    for unit in ["B", "KB", "MB", "GB", "TB"]:
        if size_current_unit < 1024:
            return f"{size_current_unit:.2f} {unit}"
        size_current_unit /= 1024.0
    return f"{size_current_unit:.2f} PB"


def show_large_cells(nb_path: str):
    code_cell_meta = get_code_cell_metadata(nb_path)

    cell_meta_by_size_est = sorted(
        code_cell_meta, key=lambda x: x["output_size_bytes"], reverse=True
    )

    bytes_remaining = sum([el["output_size_bytes"] for el in cell_meta_by_size_est])

    for i, el in enumerate(cell_meta_by_size_est):
        print(f"Cell #{el['cell_num']}: {human_readable_size(el['output_size_bytes'])}")
        print("\n".join(el["first_lines"]))
        print("\n")
        bytes_remaining -= el["output_size_bytes"]

        if i != len(cell_meta_by_size_est) - 1:
            input(
                f"Remaining cell outputs account for {human_readable_size(bytes_remaining)} total. Hit enter to view info for next cell."
            )
        else:
            print("No more cells to view.")


if __name__ == "__main__":
    import sys

    try:
        nb_path = sys.argv[1]
        if not nb_path.endswith(".ipynb"):
            raise ValueError("Please provide a path to a Jupyter notebook file.")
    except IndexError:
        raise ValueError("Please provide a path to a Jupyter notebook file.")

    show_large_cells(nb_path)
Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sejmou

79448121

Date: 2025-02-18 11:44:46
Score: 1.5
Natty:
Report link

Pode realizar uma validação na tabela referenciada antes da exclusão:

WHEN NOT MATCHED BY SOURCE 
   AND NOT EXISTS (SELECT 1 FROM dbo.SSBT WHERE TN = T.TN) 
THEN DELETE;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jonathan Rodrigues

79448115

Date: 2025-02-18 11:43:46
Score: 0.5
Natty:
Report link

The problem was coming from the routes param on the FastAPI class in the main.py file.

app = FastAPI(
    title="title",
    description="API",
    version="0.2",
    servers=[{"url": "http://localhost:8000", "description": "Localhost"}],
    routes=router.routes, # don't use that !
...
)

When the param is removed, the dependencies are effectively overridden by the fixtures and tests can run with the appropriate session.

I don't know if this a FastAPI issue.

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

79448110

Date: 2025-02-18 11:39:45
Score: 3.5
Natty:
Report link

Do not use "cypress-cucumber-preprocessor", since it has already been deprecated.

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

79448108

Date: 2025-02-18 11:39:45
Score: 6
Natty: 7
Report link

Can you do so for in-app purchasing as well?

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): Can you
  • Low reputation (1):
Posted by: eugenekoiner

79448099

Date: 2025-02-18 11:36:43
Score: 6.5 🚩
Natty: 6.5
Report link

In Talend can we differentiate the data as different tables like indicating that this data from this file, if we took data from different files into single output file...????

Reasons:
  • Blacklisted phrase (1): ???
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ayesha

79448098

Date: 2025-02-18 11:36:43
Score: 1
Natty:
Report link

I was working with certificates quite often and needed something similar. That's why I build https://github.com/pete911/certinfo. Among other things, it allows you to do what the above perl script does as well:

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pete911

79448096

Date: 2025-02-18 11:36:42
Score: 4
Natty:
Report link

The lxml approach doesn't work for a schematron from the ConnectingEurope repository. A validation attempt fails with following message:

Fail: This implementation of ISO Schematron does not work with schemas using the "xslt2" query language.

It seems there are several people searching for such a solution, as also in this request, but there is no answer so far. Is there anyone able/willing to sched some light onto this, maybe with a code example in Python or C/C++?

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Murphy42

79448084

Date: 2025-02-18 11:33:41
Score: 3
Natty:
Report link

I modified the swa cli js files to include extra logging and found the root cause was because I did not have an index.html file, I only had a home.html file.

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

79448070

Date: 2025-02-18 11:29:40
Score: 4.5
Natty:
Report link

thanks for the freaking question.... im here to tell you that,

it is because you ran out of token so you have nothng to give but u still be able to get the token using real money and exchange it to current envoirement or state of living

any reply?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Audi Aimin

79448069

Date: 2025-02-18 11:28:39
Score: 2
Natty:
Report link

You need to increase maxbyte in domain.sh/standalone.sh, if you don't have this line in the file, add it and restart the server.

JDK_SERIAL_FILTER="${JDK_SERIAL_FILTER:-maxbytes=250000000;maxdepth=128;maxarray=100000;maxrefs=300000}"

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

79448053

Date: 2025-02-18 11:20:37
Score: 10.5 🚩
Natty: 5.5
Report link

I am facing the same issue. Could you share your solution here?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you share your solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user2552712

79448049

Date: 2025-02-18 11:19:36
Score: 1.5
Natty:
Report link

messaging().setBackgroundMessageHandler(...) should be in your index.js so that when the app is in Kill or Quit state, the app receives notifications

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

79448048

Date: 2025-02-18 11:18:36
Score: 0.5
Natty:
Report link

You can use <Space vertical={true}>your content blocks</Space>

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vitalii Del Vorobioff

79448037

Date: 2025-02-18 11:14:35
Score: 3.5
Natty:
Report link

I have one device two accounts how many. Passkeys will be built and will be shown

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

79448032

Date: 2025-02-18 11:14:35
Score: 1.5
Natty:
Report link

I recently came across this problem and was able to come up with a solution that should cater to all possibilities of array inputs.

What I mean by that is GitLab CI input arrays are a bit odd. They're a little like JSON arrays, except they allow values that aren't wrapped in quotes as well as those unquoted values having spaces. For example, the following is totally valid:

my_array_values:
  - value_1
  - "value 2"
  - value 3
  - "value 4"

This will cause $[[ inputs.my_array_values ]] to hold the following value:

'[value_1, "value 2", value 3, "value 4"]'

Hence, we can't use jq since it isn't valid JSON. You could enforce the use of "" wrapped values within your team / organisation and then use jq. However, if you want a more robust solution you could use this abomination I cooked up:

script:
  -|
   readarray -t tags < <(echo $[[ inputs.tags ]] |
     sed '
       s/[][]//g; # remove brackets
       s/,\s\+/,/g; # remove spaces after commas
       s/,/\n/g; # remove commas
       s/\"//g; # remove double quotes
       s/ /\\ /g; # escape spaces
     ' |
     xargs printf "%s\n")
   )
   for value in ${my_array_values[@]}; do
     echo "$value"
   done

If anyone that's good at bash has a better way of doing this please let me know

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0xREDACTED

79448029

Date: 2025-02-18 11:13:35
Score: 2.5
Natty:
Report link

Finally I fix the problem. Many thanks to @solidpixel for advice. Just added this line:

surface.setPreserveEGLContextOnPause( true ); // GLSurfaceView
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @solidpixel
  • Self-answer (0.5):
Posted by: Style-7

79448028

Date: 2025-02-18 11:13:34
Score: 4
Natty:
Report link

I uninstall Docker Desktop and reinstall docker: https://smallsharpsoftwaretools.com/tutorials/use-colima-to-run-docker-containers-on-macos/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Chris Wong

79448022

Date: 2025-02-18 11:10:34
Score: 1
Natty:
Report link

I had the same issue. My solution was in the documentaion of ngrx

This issue arises specifically with custom features that accept input but do not define any generic parameters. To prevent this issue, it is recommended to specify an unused generic for such custom features:

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dominik Gasser

79448021

Date: 2025-02-18 11:10:34
Score: 0.5
Natty:
Report link

The issue is related to the latest MetaMask extension version 12.11.0.

You may encounter this problem when executing multiple transactions sequentially—specifically when a second transaction is triggered immediately after the successful completion of the first transaction.

In this version, the first MetaMask pop-up functions correctly, but the second pop-up may indicate a failure, even though the transaction will eventually be confirmed on the blockchain.

My observation is that if you do not close the extension—something you might do after the first transaction by clicking the "Close Extension" button—the next transaction loads within the same pop-up. This causes it to use outdated values from the initial load, leading to a simulated failure. However, the transaction does not fail in reality, as the previous transaction on the blockchain has already been completed.

FYI, this issue does not occur if you close the extension after the first transaction and allow a new pop-up to open for the next transaction.

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

79448014

Date: 2025-02-18 11:07:33
Score: 1.5
Natty:
Report link

try to replace emailDeleteHandler: ##something goes here## with this emailDeleteHandler: (email: string)=> void

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

79448012

Date: 2025-02-18 11:07:33
Score: 3
Natty:
Report link

2-Bedroom Suite offers the perfect blend of space and comfort, ideal for families or roommates seeking privacy and convenience while enjoying a cozy, well-designed living environment.

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

79448010

Date: 2025-02-18 11:07:33
Score: 0.5
Natty:
Report link

You can use unicode : string responsavel = unicode"Estado de SÃO PAULO Coçar";

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Soufian

79448007

Date: 2025-02-18 11:06:33
Score: 3.5
Natty:
Report link

i appreciate to this people that spend their time to improve our knowledge thanks ❤️❤️

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amir Asefi

79447998

Date: 2025-02-18 11:04:32
Score: 1
Natty:
Report link

What's the precision of the updated_at field? If you have batch imports you might get records with the same update_at timestamp, if the precision is too low, then limit 1 still only gives one row, but not necessarily the latest.

Even if you have no batch imports, the best data type for determinining the last inserted OR updated row is a rowversion field, that's a sequential number unique for the whole table that's not just generated at insert (as used in autoinc primary keys) but also increments with updates automatically. The SurrealDB is not offering this feature, though. And an autoincrementing Id would only do half the job, unless you only care about the insert order and not the last updated record.

In https://surrealdb.com/docs/surrealql/datamodel/ids#auto-incrementing-ids you find the optimal way to handle determining the last id though:

When dealing with a large number of records, a more performant option is to use a separate record that holds a single value representing the latest ID.

That's followed by a code example to implement such a table. Then having the last Id generated allows to simply query that one record without an order by and limit clause, as you know what ID you want. It'll still require an index on the autoincremented ID to get the fastest fetch of that one record.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What's the
  • Low reputation (0.5):
Posted by: LegacyDev

79447996

Date: 2025-02-18 11:02:32
Score: 1
Natty:
Report link

Check the object is null or enclose with try and catch

sol1: if(mainObject && mainObject.yourObject != null { /** add what yuo what you want to handle*/ }

Sol2: try{obj = mainObject.yourObject;}catch(Exception e){/** fallback code*/}

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

79447994

Date: 2025-02-18 11:02:32
Score: 2.5
Natty:
Report link

did you install Docker Desktop and do you have WSL Integration Enabled? Since you're using WSL2, you should have Docker Desktop for Windows installed. If it's not installed, install it For the WSL integration, Open Docker Desktop, Go to Settings → Resources → WSL Integration. Ensure Enable integration with my default WSL distro is checked.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you in
  • Low reputation (1):
Posted by: KalEl

79447993

Date: 2025-02-18 11:02:32
Score: 1
Natty:
Report link

It's not gone, just collapsed all the way on the left

Or at least in my case it was. The solution was to dock the Test Explorer in the main Window (where files are usually opened by default), have Visual Studio fill the entire screen (so there's no other resizing option that can grab the mouse click) and then resize the Test Explorer detail view to the right, revealing the tree view once again.

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

79447992

Date: 2025-02-18 11:02:31
Score: 2
Natty:
Report link

At times, this may be due to the fact that you have not configured your Oracle home in the environment variables.

Go to, System Properties-->Advanced-->Environment Variables Add new and enter variable name as Oracle_Home and include the oracle home folder path to the variable value.

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

79447991

Date: 2025-02-18 11:02:31
Score: 0.5
Natty:
Report link

What i found out is that it takes the text and from that it creates a new one this is than including the cross.

what i changed is when retrieving an plain text have an regex execute which is the following:

    let field = event.dataTransfer.getData("text/plain").trim();
    field = field.replace(/\s+\W+/g, '');

Now what it tries to input is the same as already exists.
Note:
The filter function on where it needs to be sorted does not work and did not work in your example i did NOT fix this for you since it is not what was asked + it would take extra time.

full example preview with in my oppinion some best practice changes:

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Drag and Drop Form Customizer</title>
    <script src="https://unpkg.com/@tailwindcss/browser@4"></script>
    <link href="output.css" rel="stylesheet">
    <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>
    <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/Sortable.min.js"></script>
    <style>
        .sortable-chosen { background: #f0f0f0; }
        .sortable-ghost { opacity: 0.5; }
    </style>
</head>
<body>
    <div x-data="customizer" class="grid grid-cols-1 gap-4 p-4 lg:grid-cols-3">
        <!-- Available Fields -->
        <div x-show="!isPreview">
            <div>
                <p class="py-4 font-bold">Header</p>
                <ul class="grid grid-cols-1 gap-4 p-4 text-sm font-semibold bg-gray-100 rounded-md lg:grid-cols-2">
                    <li class="flex items-center gap-2">
                        <input class="w-4 h-4" type="checkbox">
                        <p>Company Logo</p>
                    </li>
                    <li class="flex items-center gap-2">
                        <input class="w-4 h-4" type="checkbox">
                        <p>Company Name</p>
                    </li>
                    <li class="flex items-center gap-2">
                        <input class="w-4 h-4" type="checkbox">
                        <p>Address</p>
                    </li>
                    <li class="flex items-center gap-2">
                        <input class="w-4 h-4" type="checkbox">
                        <p>Mobile No.</p>
                    </li>
                    <li class="flex items-center gap-2">
                        <input class="w-4 h-4" type="checkbox">
                        <p>Email</p>
                    </li>
                    <li class="flex items-center gap-2">
                        <input class="w-4 h-4" type="checkbox">
                        <p>GST Number</p>
                    </li>
                </ul>
            </div>
            <div>
                <p class="py-4 font-bold">Available Fields</p>
                <div id="availableFields" class="grid grid-cols-2 gap-2 p-4 pt-4 bg-gray-100 rounded-md"
                    x-ref="availableFields"
                    @drop="dropField($event, 'available')"
                    @dragover.prevent
                    @dragenter.prevent>
                    <template x-for="field in availableFields" :key="field">
                        <button class="w-full px-2 py-1 text-sm font-semibold bg-white border cursor-grab"
                            draggable="true"
                            @dragstart="dragField($event, field)"
                            x-text="field"></button>
                    </template>
                </div>
            </div>           
        </div>

        <!-- Customize Sections -->
        <div class="col-span-2">
            <div class="flex items-center w-full gap-4 px-4 py-2 bg-gray-100">
                <p class="font-bold">Customize</p>
                <button class="text-blue-600" @click="togglePreview()" x-text="isPreview ? 'Close Preview' : 'Preview'"></button>
            </div>

            <!-- Sections -->
            <template x-for="(section, index) in sections" :key="index">
                <div :class="isPreview ? 'bg-transparent' : 'border p-4 mt-4 bg-white shadow-md'">
                    <div class="flex items-center justify-between">
                        <div class="flex items-center gap-4">
                            <template x-if="!section.isEditing">
                                <p class="font-bold" x-text="section.name"></p>
                            </template>
                            <template x-if="section.isEditing">
                                <input type="text" class="px-2 py-1 border" x-model="section.name">
                            </template>
                            <button class="text-blue-600" x-show="!isPreview" @click="toggleEdit(index)">
                                <span x-show="!section.isEditing">Edit</span>
                                <span x-show="section.isEditing">✔</span>
                            </button>
                        </div>
                        <div class="flex items-center gap-4" x-show="!isPreview">
                            <button class="text-blue-600" @click="toggleLayout(index)">Single</button>
                            <button class="text-blue-600" @click="toggleLayout(index, true)">Double</button>
                            <button class="text-red-600" @click="removeSection(index)">Delete</button>
                        </div>
                    </div>

                    <div :class="[
        section.layout === 'double' ? 'grid grid-cols-2 gap-2' : 'grid grid-cols-1 gap-2',
        section.isDraggingOver ? 'bg-green-100 border-2 border-green-500 border-dotted p-4' : 'border bg-gray-50'
    ]"
    class="mt-2 p-2 min-h-[50px]"
    @dragover.prevent="setDraggingOver(index, true)"
    @dragenter.prevent="setDraggingOver(index, true)"
    @dragleave="setDraggingOver(index, false)"
    @drop="dropField($event, index)"
    x-ref="sortableSection"
    x-init="Sortable.create($refs.sortableSection, {
        animation: 150,
        onEnd: (evt) => {
            if (evt.oldIndex !== evt.newIndex) {
                let movedField = sections[index].fields.splice(evt.oldIndex, 1)[0];
                sections[index].fields.splice(evt.newIndex, 0, movedField);
            }
        }
    })">
    <template x-for="(field, fieldIndex) in section.fields" :key="field">
        <div class="flex items-center justify-between p-2 bg-white border cursor-grab"
            :class="isPreview ? 'border-none' : 'border'"
            draggable="true">
            <p x-text="field"></p>
            <button class="text-red-600" @click="!isPreview && removeField(index, field)" x-show="!isPreview">✖</button>
        </div>
    </template>
</div>

                </div>
            </template>

            <!-- Add Section Button -->
            <div class="mt-4" x-show="!isPreview">
                <button @click="addSection()" class="px-4 py-2 text-xs font-semibold text-blue-600 bg-blue-100 border-blue-600 rounded-md">Add Section</button>
            </div>
        </div>
    </div>

    <script>
        document.addEventListener("alpine:init", () => {
            Alpine.data("customizer", () => ({
                availableFields: [
                    "Employee ID", "First Name", "Last Name", "Email", "Mobile", "Date of Birth", "Gender", "Address",
                    "City", "State", "Postal Code", "Country", "Department", "Designation", "Joining Date", "Salary",
                    "Employment Type", "Work Shift", "Reporting Manager", "Status"
                ],
                originalOrder: [
                    "Employee ID", "First Name", "Last Name", "Email", "Mobile", "Date of Birth", "Gender", "Address",
                    "City", "State", "Postal Code", "Country", "Department", "Designation", "Joining Date", "Salary",
                    "Employment Type", "Work Shift", "Reporting Manager", "Status"
                ],
                sections: [],
                isPreview: false,
                togglePreview() {
                    this.isPreview = !this.isPreview;
                },
                toggleEdit(index) {
                    this.sections[index].isEditing = !this.sections[index].isEditing;
                },
                addSection() {
                    this.sections.push({
                        name: `Section ${this.sections.length + 1}`,
                        isEditing: false,
                        layout: "single",
                        fields: [],
                        isDraggingOver: false
                    });
                },
                removeSection(index) {
                    this.sections[index].fields.forEach(field => this.restoreFieldOrder(field));
                    this.sections.splice(index, 1);
                },
                removeField(sectionIndex, field) {
                    this.restoreFieldOrder(field);
                    this.sections[sectionIndex].fields = this.sections[sectionIndex].fields.filter(f => f !== field);
                },
                toggleLayout(index, double = false) {
                    this.sections[index].layout = double ? "double" : "single";
                },
                                dragField(event, field) {
                                        event.dataTransfer.setData("text/plain", field.trim());
                                },
                dropField(event, target) {
                                    if (this.isPreview) return;
                                    let field = event.dataTransfer.getData("text/plain").trim();
                                    field = field.replace(/\s+\W+/g, '');
                                    if (target === "available") {
                                        if (!this.availableFields.includes(field)) {
                                            this.restoreFieldOrder(field);
                                        }
                                    } else {
                                        const section = this.sections[target];
                                        if (!section.fields.includes(field)) { // Voorkomt duplicaten
                                            section.fields.push(field);
                                        }
                                        // this.availableFields = this.availableFields.filter(f => f !== field);
                                    }
                                    this.setDraggingOver(target, false);
                                },
                setDraggingOver(index, status) {
                    this.sections[index].isDraggingOver = status;
                },
                restoreFieldOrder(field) {
                    this.availableFields = [...new Set([...this.originalOrder.filter(f => !this.availableFields.includes(f)), ...this.availableFields])];
                }
            }));
        });
    </script>
</body>

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What i
  • Low reputation (0.5):
Posted by: oelimoe

79447983

Date: 2025-02-18 10:59:31
Score: 1
Natty:
Report link

Please check astro.config.mjs file. Since your website is working fine locally, make sure base path is configured properly for cloud env.

export default defineConfig({
    ...
    server: {
        port: 3000,
    },
    base: process.env.NODE_ENV === 'production' ? '/' : '/',
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: John W

79447973

Date: 2025-02-18 10:55:30
Score: 0.5
Natty:
Report link

just this simple code also works

By Value

cboCars.SelectedValue = CarsValueMember

By Text

cboCars.SelectedValue = CarsDisplayText
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Monzur

79447972

Date: 2025-02-18 10:55:30
Score: 1
Natty:
Report link

set(CMAKE_C_COMPILER clang-cl)

set(CMAKE_CXX_COMPILER clang-cl) Detecting C compiler ABI info failed

Check for working C compiler: C:/DevTools/LLVM/bin/clang-cl.exe

Check for working C compiler: C:/DevTools/LLVM/bin/clang-cl.exe broken

Run Build Command(s): C:/Users/Maxime.Cabanal-Duvil/AppData/Local/miniconda3/envs/] [1/2] C:\DevTools\LLVM\bin\clang-cl.exe /nologo /DWIN32 /D WINDOWS /Zi/Ob( [2/2] C:\WINDOWS\system32\cmd.exe /C "cd. && C:\Users\Maxime.Cabanal-Duvil\App C:\WINDOWS\system32\cmd.exe /C "cd && C:\Users\Maxime.Cabanal-Duvil\AppData\l LINK Pass 1: command "C:\DevTools\LLVM\bin\lld-link.exe /nologo CMakeFiles\cmT

FAILED: cmTC_ff9a0.exe

1ld-link: error: : undefined symbol: mainCRTStartup

ninja: build stopped: subcommand failed.

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

79447968

Date: 2025-02-18 10:54:29
Score: 4.5
Natty:
Report link

From what I found

  1. Apple Pay and Google Pay are not available in the Sandbox environment.
  2. Apple Pay or Google Pay depends on the customer's browser or device. I was testing it from Google Chrome.
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Genry Wood

79447967

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

the issue you are facing is likely due to the structure of ur HTML and how the CSS selectors are applied, the input elements and the tab-content divs are siblings, but the CSS selectors u are using (#tab1:checked ~ #content1) rely on a specific sibling relationship that might not be working as expected in TiddlyWiki.

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

79447966

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

Better use package jest-fixed-jsdom, this solves the problem of nodejs globals.

npm i jest-fixed-jsdom

Then update jest.config.js

module.exports = {
  testEnvironment: 'jest-fixed-jsdom',
}

You can read more about this here https://mswjs.io/docs/faq/#requestresponsetextencoder-is-not-defined-jest

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

79447964

Date: 2025-02-18 10:53:29
Score: 0.5
Natty:
Report link

Possible Causes:

Organization Policy Restrictions: Your Azure subscription may have policies that restrict certain regions for deploying Machine Learning resources. This is common in enterprise-managed subscriptions where IT admins enforce policies for cost, compliance, or security reasons. Azure Subscription Type Limitations

Some Azure subscriptions (e.g., Free, Student, or specific trial accounts) may not allow resource deployment in certain regions. Region Availability for Machine Learning Services

Not all Azure services are available in every region. UK South should support Azure Machine Learning, but it's worth verifying. Solution Steps:

  1. Check Subscription Policies Navigate to Azure Policy in the Azure Portal: Go to Azure Portal → Search for Policy → Assignments. Look for policies restricting deployments to specific regions. If you lack permissions, contact your Azure administrator.
  2. Choose a Different Region Try selecting another region such as: West Europe East US North Europe West US 2
  3. Check Machine Learning Services Availability Visit the Azure Products by Region page: https://azure.microsoft.com/en-us/global-infrastructure/services/ Search for Machine Learning and confirm that UK South is supported.
  4. Contact Azure Admin (If in a Managed Subscription) If your organization enforces policies, reach out to the Azure administrator to request an exception.
  5. Use Azure CLI to Verify Policy Enforcement
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oladimeji Kazeem

79447952

Date: 2025-02-18 10:50:28
Score: 1.5
Natty:
Report link

Apparently not only the permissions on the .ssh directory but also the user directory (on the remote host) should be set correctly. In my case to 766 (perhaps different on other configurations?). For some reason this was set to 776, which didn't work after all the above. After a "chmod 766 /home/$USER", I could finally login with ssh for this user using the key authentication. Although the ssh -v is also useful for debugging, journalctl showed this line: "Authentication refused: bad ownership or modes for directory /home/username", which brought me to the idea to compare my directory permissions to different user directories that did accept a no-password ssh connection. This was on a MX-Linux (Debian based) laptop, February 2025.

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

79447948

Date: 2025-02-18 10:49:27
Score: 1
Natty:
Report link

For anyone who has got this issue. I got it to work by passing it like this

Having the template data key and then sending the parameters one by one

$templateData = [];
                $templateData = [
                    'orderNumber' => $order->getOrderNumber(),
                ];
                $this->mailService->send($dataBag->all(), $context, $templateData);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: chap man

79447937

Date: 2025-02-18 10:46:27
Score: 3.5
Natty:
Report link

As Ben stated, the code already gives the answer I'm looking for, I misunderstood the function and did not interpret the output right, this thread can be locked.

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

79447926

Date: 2025-02-18 10:43:26
Score: 3
Natty:
Report link
  1. Use binaryinternals can view Java byte code interactively in a UI, see screen shot bellow
  2. The best document for Byte code format is JVM Spec - chapter 4: The class File Format

Java byte code of java.lang.String class

disclaimer: I am the author of binaryinternals.

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

79447923

Date: 2025-02-18 10:42:26
Score: 3
Natty:
Report link

Gutfujndfigt tfifr7hcb yfjvfuiijb dunbxd6u tdgitcju thvcyhn333gvj8 htithbvh8jjv utfjyfd57bn6 gutgjvgpbhtdwru yfhtgbvgut gh ghcjv krudjhj

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

79447922

Date: 2025-02-18 10:42:24
Score: 9 🚩
Natty: 4
Report link

I'm experiencing a functional issue in my application, which is composed of several containers, including 10 instances (called app-java) for scaling purposes. When I perform REST requests which interact with the cache using Hazelcast, all other containers become unavailable and do not respond to requests during the start of the new instance (app-java). Is this behavior normal? If not, could you provide some insights or suggestions on how to address this issue? Is there any configurations to do in hazelcast.xml? thank you in advance.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2.5): could you provide some
  • RegEx Blacklisted phrase (3): thank you in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Simo

79447921

Date: 2025-02-18 10:42:24
Score: 3
Natty:
Report link

I have also encounter the same problem, i have used ESP IDE. Actually you have to close the terminal by ctrl+] in terminal itself. Then the terminal is closed.

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

79447914

Date: 2025-02-18 10:41:24
Score: 2
Natty:
Report link

import pytesseract from PIL import Image

Open the image file

image = Image.open(file_path)

Extract text using OCR

extracted_text = pytesseract.image_to_string(image)

Display a preview of the extracted text

extracted_text[:500]

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

79447903

Date: 2025-02-18 10:38:23
Score: 2.5
Natty:
Report link

Does a pointer to a structure always point to its first member?

Yes, it does since ANSI C89 (ANSI X3.159-1989)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Enrico Migliore

79447900

Date: 2025-02-18 10:37:23
Score: 2.5
Natty:
Report link

Youtube is full of demo's. try maybe one and then start by reading documentation.

Tik tak toe is a good start.

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

79447895

Date: 2025-02-18 10:36:23
Score: 0.5
Natty:
Report link

To make an outer query column available to a nested (sub) query, you can use correlated subqueries or common table expressions (CTEs). Here are two approaches:

  1. Using a Correlated Subquery A correlated subquery refers to a column from the outer query within the subquery.

sql Copy Edit SELECT e.id, e.name, (SELECT d.department_name FROM departments d WHERE d.department_id = e.department_id) AS department_name FROM employees e; 2. Using a Common Table Expression (CTE) A CTE makes the outer query’s results accessible in a structured way for further querying.

sql Copy Edit WITH EmployeeData AS ( SELECT e.id, e.name, e.department_id, d.department_name FROM employees e JOIN departments d ON e.department_id = d.department_id ) SELECT id, name, department_name FROM EmployeeData;

https://youtu.be/KNWYPrtX8Pc?si=R1ezEq_4asRJjefo

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: lssonlinemart

79447893

Date: 2025-02-18 10:35:22
Score: 2.5
Natty:
Report link

It's been a long time but the answer doesn't satisfy.

The main reason which in the first place, you have the problem is that the data structure which you drew was wrong.

A range tree need to have the value point at the leaf node not at the branch.

In the picture

The actual graph of your will have to look something like this (taken from: https://www.geeksforgeeks.org/exploring-range-trees/, sorry I am too lazy to draw your case): enter image description here

Here, at each node which isn't the leaf node, the key is the max value of the left subtree. But you can also try another like from this lecture: https://ocw.mit.edu/courses/6-046j-design-and-analysis-of-algorithms-spring-2015/resources/mit6_046js15_lec09/

As you can see now we can do range query quite easily by finding the split and every leaf from those subtree is in the range.

For more information about the abstract idea of range-tree you can watch the MIT course: https://youtu.be/NMxLL3D5qd8?si=QZH38J44aAZ9hZAH

But a detail implementation is at different course of MIT: https://www.youtube.com/watch?v=TOb1tuEZ2X4.

For 1d only, you can also have an option of using finger search tree to achieve the same time bound.

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: KishouYusa

79447892

Date: 2025-02-18 10:35:22
Score: 1
Natty:
Report link

When attempting to run npx create-nx-workspace@latest my-workspace, I encountered the following error:

npm ERR! code ECONNREFUSED
npm ERR! syscall connect
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://registry.npmjs.org/create-nx-workspace failed, reason: connect ECONNREFUSED 127.0.0.1:8080

This error indicates that npm is trying to connect through a proxy at 127.0.0.1:8080, which is refusing the connection. To resolve this issue, I followed these steps:

Remove npm proxy settings:

I cleared the proxy configurations by running:

npm config delete proxy
npm config delete https-proxy

These commands remove any existing proxy settings from npm's configuration, allowing direct internet access. STACKOVERFLOW.COM Install create-nx-workspace globally:

Instead of using npx, I installed the package globally:

npm install -g create-nx-workspace@latest

After installation, I created the workspace with:

create-nx-workspace my-workspace

This approach bypasses potential issues with npx fetching the package. NX.DEV By following these steps, I successfully created my Nx workspace without encountering the ECONNREFUSED error.

Note: If you're operating behind a corporate proxy or have specific network configurations, ensure that your npm settings align with your network requirements. You can configure npm to use a proxy with:

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

Replace http://proxy.company.com:8080 with your organization's proxy URL and port.

Reasons:
  • Blacklisted phrase (1): STACKOVERFLOW
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Maryam Rajabi

79447891

Date: 2025-02-18 10:34:22
Score: 1.5
Natty:
Report link

If you are using helm chart of community version of nginx from this link ingress-nginx then you need to use configuration-snippet in ingress resource.

annotations:
  nginx.ingress.kubernetes.io/configuration-snippet: |
    more_set_headers "Content-Security-Policy-Report-Only: policy";

as well as you need to add/modify below configurations in chart's values.yaml to make it working properly.

controller:
  allowSnippetAnnotations: true
  config:
    annotations-risk-level: Critical
Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hem

79447889

Date: 2025-02-18 10:33:22
Score: 1
Natty:
Report link

Came this way looking for an answer. Thought I'd share my learning. I have two sheets - summary and details - which have a 1:m relationship. I want to make a cell in 'summary' a hyperlink I can click on and switch to 'details' filtered on that value. Here's how I did it...

Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
    ' column a = 1
    Sheet2.Range("A1", "B425").AutoFilter 1, Target.Parent.Value
End Sub

There are two ways to create a hyperlink:

  1. right click a cell. Select link > insert link. Make the link a link to place in this document.

  2. use the =HYPERLINK(location, value) function to create a hyperlink

Regardless, the above code is called when you click a hyperlink.

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: Clarius

79447888

Date: 2025-02-18 10:33:22
Score: 3.5
Natty:
Report link

Define your and your close tag </ textarea> in same line.

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

79447880

Date: 2025-02-18 10:31:21
Score: 1.5
Natty:
Report link

AFAIK, you can not control the scaling as per the documentation: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/change-feed-processor?tabs=java#dynamic-scaling

I believe it only assigns a consumer per physical partition.

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

79447874

Date: 2025-02-18 10:30:21
Score: 0.5
Natty:
Report link

I had the same issue. Changing the robots.txt file didn't help for me. In the errorlog I found that crawling was blocked on the server site. I contacted the support of my hosting company and got the following response:

"The Facebook crawler has been temporarily blocked for some servers because it showed a very aggressive crawling behavior (more than 100,000 hits per day to multiple websites). This was not only the case with our servers, but also with servers from other hosting companies. We contacted Facebook about this, but unfortunately none received a response to our email.

The Facebook crawler now has access again and we are keeping some things keep an eye on it."

After this all works fine for me.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aad van Yperen

79447867

Date: 2025-02-18 10:27:20
Score: 1
Natty:
Report link

You are probably blocking the main thread during the API call. Ensure that your API call is wrapped in an asynchronous function (using async/await). Otherwise, you can also try using InteractionManager.runAfterInteractions to ensure that the API call doesn't block user.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ayoub EL ABOUSSI

79447861

Date: 2025-02-18 10:22:19
Score: 3
Natty:
Report link

The error occurs because your input layer expects an input dimension of 3, but your dataset has 14 features. Review it.

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

79447857

Date: 2025-02-18 10:20:17
Score: 7 🚩
Natty: 5
Report link

when any column configured as Dropdown List

Sheet.getPhysicalNumberOfRows()

or

sheet.getLastRowNum() 

gives all the rows number (22463 / 22462) . User provides only 5 rows but due to dropdown list configured on 1st column, it assumes all the rows are available and return blank values for configured dropdown list value.

Is there any solution to read only 5 rows which user has added and skip the rest ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2): any solution to read only 5 rows which user has added and skip the rest ?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): when any
  • Low reputation (0.5):
Posted by: Chirag Shah

79447846

Date: 2025-02-18 10:16:16
Score: 0.5
Natty:
Report link

close_old_connections() doesn't work, because for async all the objects will live in different thread. And probably I was calling it differently, when connect in sync_to_async wasn't working. So in the end this works:

await sync_to_async(reconnect)()

with this function:

def reconnect():
    conn=connections['default']
    conn.connect()
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: aikipooh

79447841

Date: 2025-02-18 10:15:16
Score: 3.5
Natty:
Report link

Here’s how you can troubleshoot and potentially resolve the issue:

  1. Check Group Policy or Local Security Settings (Windows) If you are on a Windows machine, the message could be caused by a group policy or local security policy that restricts certain applications from running.

Steps to check group policies: Press Windows + R to open the Run dialog box. Type gpedit.msc and press Enter to open the Local Group Policy Editor (Note: This may not be available on Windows Home editions). Navigate to User Configuration > Administrative Templates > System. Look for a setting called "Don't run specified Windows applications" or similar and check if the application is listed. If it’s listed, you may need to modify the policy to allow the app or remove it from the blocked list. Steps to check Local Security Policy: Press Windows + R and type secpol.msc, then press Enter to open Local Security Policy. Go to Software Restriction Policies and review any rules that could be blocking the app. 2. Check Antivirus or Security Software Security software (like Windows Defender, McAfee, Symantec, etc.) may block certain applications due to perceived threats or reputation issues.

Disable Antivirus Temporarily: Try disabling your antivirus software temporarily to see if that allows the app to run. Be sure to re-enable it after testing. Whitelist the App: If your security software has a whitelist or exception list, add the app there to allow it to run. 3. Check Windows Defender SmartScreen Windows Defender SmartScreen is a feature that helps protect your PC from unrecognized or potentially harmful applications. If the app is not from a recognized publisher, it may be blocked.

To check or disable SmartScreen: Open Windows Security via Start > Settings > Privacy & Security > Windows Security. Go to App & Browser Control. Under Reputation-based Protection, select Change settings. Disable SmartScreen or adjust the settings to allow the app. 4. Check Windows User Account Control (UAC) Settings User Account Control (UAC) settings may be causing the issue. Try adjusting the UAC settings.

Steps: Open the Control Panel and search for UAC. Click on Change User Account Control settings. Set the slider to Never Notify (be cautious when changing this setting as it impacts system security). Restart your computer and try running the app again. 5. Check for System Administrator Restrictions If this is a corporate or school-managed device, the system administrator may have imposed these restrictions. In that case, you may need to:

Contact the Administrator: Reach out to your system administrator or IT department to discuss why the app is being blocked and request access or an exemption. 6. Check App Permissions If you are using an application downloaded from a third-party source, it might not have the necessary permissions to execute on your system.

Run as Administrator: Right-click on the application and select Run as administrator. 7. Check Application-Specific Settings Some apps might have built-in settings that could trigger this message if they attempt to access certain system features. You can:

Check the App's Settings: Look for settings that could be controlling the app’s access and adjust them. 8. Check the App’s Compatibility Mode The app might not be compatible with the version of Windows you're running.

Right-click the app’s shortcut or executable file. Select Properties. Go to the Compatibility tab. Check the box for Run this program in compatibility mode for and select a previous version of Windows.

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • RegEx Blacklisted phrase (1.5): Reputation
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kaira alexander

79447840

Date: 2025-02-18 10:15:16
Score: 3
Natty:
Report link

https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=${process.env.REACT_APP_LinkedInClientID}&redirect_uri=${process.env.REACT_APP_MY_URL}/linkcheck&state=foobar&scope=profile%20email

Changing scope name to 'profile' and 'email' worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Zohaib

79447838

Date: 2025-02-18 10:14:15
Score: 0.5
Natty:
Report link

There seem to be 2 options. Firstly, looking at the CHANGELOG for HAML v6.0.0 indicates that Template.new is a replacement for Engine.new:

engine = Haml::Template.new(--your haml file--)
html = engine.render(Object.new, { bar: 'hello, world!' })

(although the docs imply you can pass a string of HAML to Template.new, I found it didn't work and the parameter was interpreted as a file name. Maybe a change between 6.0.0 and 6.3.0?)

Alternatively, use the Tilt abstraction layer (as used by most of the web frameworks), which might insulate you from future HAML/template updates:

require 'tilt'
require 'tilt/haml'
engine = Tilt::HamlTemplate.new(--your haml file--)
html = engine.render(Object.new, { bar: 'hello, world!' })

Note: for Tilt, as above, the string parameter on 'new' is taken to be a filename where your HAML resides, not the actual HAML code itself.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mike

79447837

Date: 2025-02-18 10:13:15
Score: 3
Natty:
Report link

I think if you added in one column give id="col" and with css give gap or padding is resolve

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

79447833

Date: 2025-02-18 10:12:15
Score: 3
Natty:
Report link

For me, my proxy password has changed, updating it to the right one fixed this.

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

79447832

Date: 2025-02-18 10:10:15
Score: 3
Natty:
Report link

For me, my proxy password has changed, updating it to the right one fixed this.

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

79447825

Date: 2025-02-18 10:07:14
Score: 2
Natty:
Report link

by default the qmlproject is not created in the Quick (QML) project setup in the latest Qt Creator. But you can find the workflow to work with Qt DS and Creator if you create the project with template 'Other Project -> Qt Quick UI Prototype' which you will find in Qt Creator's project creator. This is done by marking "Create a project taht you can open in Qt Design Studio" when going through the wizard. I verified this with Qt Creator 15 and Qt DS 4.6.

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

79447824

Date: 2025-02-18 10:07:14
Score: 1.5
Natty:
Report link

I got Voice Input feature working.

To handle VoiceBegin, you have to first listen for a RemoteVoiceBegin message from the TV device. This message is sent in response to sending KEYCODE_SEARCH (84) to initiate the search.

The RemoteVoiceBegin message from the device contains a session_id and a package name, but only the session_id needs to be read, as it will be used in subsequent calls to VoiceBegin, VoicePayload, and VoiceEnd.

Upon receiving the RemoteVoiceBegin, a RemoteVoiceBegin message must be sent back with just the session_id. This step is necessary to enable the reception of Payload messages afterward.

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

79447815

Date: 2025-02-18 10:04:13
Score: 0.5
Natty:
Report link

Depending on on how all your data looks like maybe this could be a solution?

with data([DWKey],[OriginalSalesLeadId],[OpportunityStage],[LeadStage],[PreviousStages]) as(
select 107309,20240220,NULL,'SAL',NULL
union all
select 109442,20240220,'Lost',NULL,NULL
union all
select 111224,20240220,'Lost',NULL,NULL
union all
select 111458,20240220,'Lost',NULL,NULL
union all
select 111730,20240220,'Lost',NULL,NULL
union all
select 111983,20240220,'Lost',NULL,NULL
union all
select 113011,20240220,'Lost',NULL,NULL
)
SELECT [DWKey]
  , [OriginalSalesLeadId]
  , [OriginalSalesLeadId]
   , [LeadStage]
  , [OpportunityStage]
 
  , CASE WHEN [OpportunityStage] IS NOT NULL
  THEN LAG(COALESCE(OpportunityStage, LeadStage), 1, COALESCE(OpportunityStage, LeadStage))
    OVER (PARTITION BY originalSalesLeadId ORDER BY DWkey)
  ELSE NULL END AS PreviousStage
  ,FIRST_VALUE(COALESCE(LeadStage, OpportunityStage)) 
        OVER (PARTITION BY OriginalSalesLeadId ORDER BY DWKey) AS PreviousStage2
FROM data
WHERE OriginalSalesLeadId = 20240220

Gives the output

DWKey   OriginalSalesLeadId OriginalSalesLeadId LeadStage   OpportunityStage    PreviousStage   PreviousStage2
107309  20240220    20240220    SAL NULL    NULL    SAL
109442  20240220    20240220    NULL    Lost    SAL SAL
111224  20240220    20240220    NULL    Lost    Lost    SAL
111458  20240220    20240220    NULL    Lost    Lost    SAL
111730  20240220    20240220    NULL    Lost    Lost    SAL
111983  20240220    20240220    NULL    Lost    Lost    SAL
113011  20240220    20240220    NULL    Lost    Lost    SAL
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: W_O_L_F

79447800

Date: 2025-02-18 09:58:11
Score: 5
Natty:
Report link

Take a look at this github repo: https://github.com/acaliaro/MauiAppTestNfcAndroid

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DaanVanDerMeulen

79447793

Date: 2025-02-18 09:56:09
Score: 6.5 🚩
Natty:
Report link

@Cheok Yan Cheng I'm using EntityStringQuery is there any other way

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Cheok
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Brian Nguyen

79447792

Date: 2025-02-18 09:55:08
Score: 0.5
Natty:
Report link

You cannot read the DG11 from german ePassport, because it does not contain DG11. You can see which Datagroups are contained by looking at the EF.COM or EF.SOD file. EF.COM is like the passport's table of contents. But it is not signed, so cannot be trusted. But EF.SOD is signed and can be trusted. Since it contains hashes for all Datagroups, you can just check this file, for which Datagroups it contains a hash. If there is no hash for DG11, then the Passport does not contain DG11. Of course, you can only trust EF.SOD if you performed Passive Authentication (Ef.SOD's is signed by DS certificate which is signed by CSCA certificate)

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

79447791

Date: 2025-02-18 09:55:08
Score: 1
Natty:
Report link
To fetch the records after filter and sort operation, use this forEachNodeAfterFilterAndSort() as below:

let result = [];
this.gridApi.forEachNodeAfterFilterAndSort((row)=>{
    result.push(row.data.*columnname*);
  });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: savitha m

79447786

Date: 2025-02-18 09:53:07
Score: 4.5
Natty:
Report link

I am having to the same problem. I’ve tried everything.

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

79447778

Date: 2025-02-18 09:49:06
Score: 2.5
Natty:
Report link

SELECT CASE -- Ensure there are at least two semicolons WHEN LEN(@string) - LEN(REPLACE(@string, ';', '')) >= 2 THEN -- Extract the part between the second-last and last semicolon SUBSTRING( @string, LEN(@string) - CHARINDEX(';', REVERSE(@string), CHARINDEX(';', REVERSE(@string)) + 1) + 2, CHARINDEX(';', REVERSE(@string), CHARINDEX(';', REVERSE(@string)) + 1) - CHARINDEX(';', REVERSE(@string)) - 1 ) ELSE NULL END AS SecondGroupFromRight

Reasons:
  • No code block (0.5):
  • User mentioned (1): @string
  • Low reputation (1):
Posted by: Pandav Kishan