79684585

Date: 2025-06-30 10:05:37
Score: 3.5
Natty:
Report link

I just updating sqlite on my computer to last version (now 3.13.1), and it's fix this error!

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

79684584

Date: 2025-06-30 10:05:37
Score: 2
Natty:
Report link

Ok, I need just normal bracket:

print(db:execute([[SELECT title FROM Table1 WHERE char1 =]] .. [[ "JI";]] ))
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nikulok

79684582

Date: 2025-06-30 10:03:36
Score: 1
Natty:
Report link

Ensure that the private_key_path is correct and points to the valid .p8 private key file. If the private key is not valid or mismatched, the JWT cannot be signed correctly.

---------------
Before sending the request, print out the JWT (gen_jwt) and verify that it looks correct. You can decode it locally using a tool like jwt.io to verify its contents.

Reasons:
  • Has code block (-0.5):
  • Filler text (0.5): ---------------
  • Low reputation (1):
Posted by: Darshit Rakhasiya

79684581

Date: 2025-06-30 10:03:36
Score: 2.5
Natty:
Report link

On Ubuntu 24.04 this comment from – wolfmanx Commented Aug 18, 2022 at 19:46 still did the trick

sudo apt-get install libreoffice-java-common

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

79684558

Date: 2025-06-30 09:42:31
Score: 4
Natty:
Report link

yeah even i am facing the same , even though you do this
canConfigureBusOff(3, 0x153, 1);
canConfigureBusOff(3, 0x153, 0);

still in the bus stat it'll switch bw passive and active error state , it'll not come to Bus Off

Reasons:
  • RegEx Blacklisted phrase (2): even i am
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: GONAHAL NANDISH

79684557

Date: 2025-06-30 09:40:30
Score: 3.5
Natty:
Report link
iOS 18.3 iOS 26
iOS 18.3 iOS 26

Same issue.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Quoc Huynh

79684552

Date: 2025-06-30 09:37:29
Score: 0.5
Natty:
Report link

it works for me and beware on the project name it must be the same as in your package.json

ng add @angular/pwa --project <project-name>
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arbi Jridi

79684549

Date: 2025-06-30 09:35:29
Score: 2.5
Natty:
Report link

You can refer the link it gives complete information about
macOS: fatal error: 'sql.h' file not found #215
https://github.com/alexbrainman/odbc/issues/215

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

79684548

Date: 2025-06-30 09:35:29
Score: 3.5
Natty:
Report link

The issue has been documented here.
Some workarounds

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RaunaK Madan

79684547

Date: 2025-06-30 09:35:28
Score: 5.5
Natty: 4
Report link

This solution is not working practically. I tried with ConfuserEx2 obfuscation. as the multiple i tried with
[Obfuscation(Exclude = true, ApplyToMembers = true,StripAfterObfuscation =false)]
Also , Not working Practically usefull. please suggest something else .

Reasons:
  • Blacklisted phrase (1): solution is not working
  • RegEx Blacklisted phrase (2.5): please suggest some
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sashikanta Panda

79684546

Date: 2025-06-30 09:34:28
Score: 3
Natty:
Report link

It is Base64 encoded, you could write a Python Script or use Tools to convert the Base64 String to a readable format

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

79684543

Date: 2025-06-30 09:33:27
Score: 4
Natty:
Report link

Please someone help. Im getting Database error: Transaction not connected while I try to connect Sql anywhere 17 from my PB app

Reasons:
  • RegEx Blacklisted phrase (1): Im getting Database error
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: babatunde giwa

79684539

Date: 2025-06-30 09:32:27
Score: 2
Natty:
Report link

This issue is likely due to the application template type you used during application creation. I assume you created the application using the Traditional Application template. Could you try creating the application using the Standard-Based Application template instead? It should allow you to select the Password grant type.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Deshan Koswatte

79684538

Date: 2025-06-30 09:31:26
Score: 4.5
Natty:
Report link

This was answered here in the end :)

https://github.com/alexbrainman/odbc/issues/215

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fabri Ba

79684537

Date: 2025-06-30 09:30:26
Score: 1
Natty:
Report link

I believe that you can use KQL. I created the KQL below example of how to achieve this

let T = datatable(column1:string, column2:string)
[
   "www.Jodc.com", "www.J0dc.com"
];
T
| extend array1 = to_utf8(column1)
| extend array2 = to_utf8(column2)
| extend inter=set_intersect(array1,array2)
| extend un=set_union(array1,array2)
| extend jaccardSimilarity = iff(isempty(un), todouble(0), todouble(array_length(inter)) / todouble(array_length(un)))
| where jaccardSimilarity != 1
| distinct column1, column2, jaccardSimilarity
| sort by jaccardSimilarity desc;

KQL code can be used to create a Sentinel Analytics Rule that calculates the similarity rate between two domains and detects when the similarity calculation results are above a certain level. The code uses the Jaccard similarity algorithm to compare the two domains.
To use the Query above in a Sentinel Analytics Rule, you would need to adapt the query to work with your actual log data.

If you find the answer above helpful, please Accept the answer to help anyone in the community who might have a similar question to quickly find the solution.

Reasons:
  • Blacklisted phrase (1): how to achieve
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have a similar question
  • Low reputation (0.5):
Posted by: pauline mbabu

79684527

Date: 2025-06-30 09:25:24
Score: 0.5
Natty:
Report link

In LESS you need to write

height: ~"calc(100vh - 80px)";

It brings STR to css, so css calc() function caculates meaning (not LESS)

height: ~calc(100vh - 80px) - it tries to calculate inside LESS instruments

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

79684522

Date: 2025-06-30 09:21:23
Score: 1.5
Natty:
Report link

You are getting this error because you are trying to call .metric for the log reg model, but it's not a method of logistic regression. A metric in the loop is just a function, like the confusion matrix and precision score, etc., which are imported from scikit-learn. Here's a quick fix up; use this

for metric in metrics: print(f"Metric: {metric.name}\nScore: {metric(y_test, y_preds)}

You call the metrics with the predicted labels, aka results

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

79684507

Date: 2025-06-30 09:11:21
Score: 0.5
Natty:
Report link

This should become possible in .NET 10. Basically, you will be able to dotnet run app.cs.

What is dotnet run app.cs?

Until now, executing C# code using the dotnet CLI required a project structure that included a .csproj file. With this new capability, which we call file-based apps, you can run a standalone .cs file directly, much like you would with scripting languages such as Python or JavaScript.

Source

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: tolache

79684505

Date: 2025-06-30 09:10:21
Score: 3.5
Natty:
Report link

You can just remove it from Woocommerce > Settings > Advanced remove the it from Account endpoints and you will not see it

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

79684493

Date: 2025-06-30 09:02:19
Score: 0.5
Natty:
Report link

To ensure compatibility, use the latest TensorFlow (2.x) version. Since eager execution is the default in newer versions, use TensorFlowV2Classifier instead of KerasClassifier with the Adversarial Robustness Toolbox (ART), as it's designed for TensorFlow 2.x's execution model. Please refer to this gist for your reference.

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

79684490

Date: 2025-06-30 09:00:18
Score: 2
Natty:
Report link

First

You try to invoke composable (AppData()) in the regualr lambda onClick. Remove composable annotation.

Second

Do not do database operations right in the composable functions. Move it to your viewModel. Such operations should be proceeded there.

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

79684483

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

I had a similar error, and the reason was because I mistakenly installed both pysnmp and pysnmplib which are both forks of the same repo etingof/pysnmp, so to fix this I did pip3 uninstall pysnmplib.

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

79684477

Date: 2025-06-30 08:49:16
Score: 0.5
Natty:
Report link

Nope, you aren’t spawn assorted coin types (like bTokens or dTokens) from Curve/Maker directly through your personal module—they’re generated via their unique services. Nonetheless, you may operate with them by invoking their stake/lend methods inside your blueprint and directing the coins to the holder's wallet. You don’t require another module per asset; instead, craft a flexible logic that supports transfers depending on the asset's framework (e.g., Curve’s stake() or Maker’s generate()), and assign tracked assets suitably.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Satyam Gupta

79684474

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

Note : if you use Angular HttpClient to get your document, you must set

responseType : 'blob'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ludovic Jutant

79684469

Date: 2025-06-30 08:46:15
Score: 3
Natty:
Report link

yes it is possibe to do so that most of the India based top blockchain game development in delhi ncr were doing this in database functional part.

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

79684467

Date: 2025-06-30 08:46:15
Score: 2.5
Natty:
Report link

You can disable this behavior by clearing Auto-format on Enter checkbox under Settings | Editor | General | Typing Assistance → Razor.

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

79684453

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

Do you use the cookie parser in the backend?

const cookieParser = require('cookie-parser');

and

app.use(cookieParser());

you should also omit domain. especially since you should write ‘localhost’ and not just localhost (must be string)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Torben G

79684446

Date: 2025-06-30 08:31:10
Score: 3
Natty:
Report link

the string u wanna add should be safe, u make him safe this way:

"=\"" + theValue + "\""

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ‫שביט‬‎

79684440

Date: 2025-06-30 08:28:09
Score: 0.5
Natty:
Report link

You're encountering a hang because Python’s Global Interpreter Lock (GIL) is not correctly managed in a multithreaded context. When Py_Initialize() is called, the main thread holds the GIL by default. However, if you later call PyGILState_Ensure() from other threads (like Taskflow tasks) without releasing the GIL in the main thread first, you cause a deadlock — the other threads block forever waiting for the GIL.

After Py_Initialize(), immediately release the GIL using PyEval_SaveThread() before spawning threads:

Py_Initialize();

PyEval_InitThreads(); // deprecated in Python 3.9+, but harmless

PyThreadState* tstate = PyEval_SaveThread(); // releases GIL

Then in each task/thread that wants to run Python code:
PyGILState_STATE gil = PyGILState_Ensure();

// ... run Python code

PyGILState_Release(gil);

Finally, before Py_FinalizeEx(), restore the GIL to the main thread:
PyEval_RestoreThread(tstate);

Py_FinalizeEx();

Notes:

Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ishtiak

79684439

Date: 2025-06-30 08:27:09
Score: 1.5
Natty:
Report link

Hei, simply by following exactly guide, you already has the active class working:

https://codesandbox.io/p/devbox/upbeat-glitter-7j2lzn

The customise code that you added possibly mess up the reactive. I would suggest to simplify it as the guideline unless you want to add custom logic there.

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

79684434

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

ehm...

you just let everything through regardless of the token or whether you are logged in or not.

callbacks: {
        async authorized() {
            return true; // Allow all requests to pass through
        },
    }, 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Torben G

79684433

Date: 2025-06-30 08:23:07
Score: 6.5
Natty: 5.5
Report link

did you manage to solve this in the meantime? Not sure what support meant by ignore it :D but sounds to me that your account is not fully set up yet or that you have not registered the sender/made necessary checks for the country you are sending to. Check here - https://www.infobip.com/docs/essentials/getting-started/sms-coverage-and-connectivity

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to solve this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Sara Zorović

79684427

Date: 2025-06-30 08:21:06
Score: 0.5
Natty:
Report link
loaded_dict = {
    'model_name': 'efficientdet-lite3', 
    'uri': './local_dl', 
    'batch_size': 64, 
    'strategy': None, 
    'tflite_max_detections': 25, 
    'moving_average_decay': 0, 
    'var_freeze_expr': '(efficientnet|fpn_cells|resample_p6)', 
    'verbose': 0, 
    'profile': False, 
    'steps_per_execution': 1, 
    'model_dir': 'C:\\Users\\username\\AppData\\Local\\Temp\\tmpunzugbps',
    'tf_random_seed': 111111, 
    'debug': False
}

new_spec = object_detector.EfficientDetLite3Spec(**loaded_dict) 

model = object_detector.create(
    train_data, 
    model_spec=new_spec, 
    batch_size=4, 
    train_whole_model=True, 
    epochs=200, 
    validation_data=val_data
) 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dodo

79684408

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

None of these answers seem to work for me, but this did:

.v-field.v-field--focused {
    i {
        color: #1976D2 !important;
    }

    .v-label {
        color: #1976D2 !important;
    }

    .v-field__outline {
        &__start, &__notch, &__end {
            color: #1976D2 !important;
        }
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Max

79684406

Date: 2025-06-30 08:02:00
Score: 1.5
Natty:
Report link

If you are looking for a reliable and fast hosting service with excellent customer support and competitive pricing, I highly recommend ProHoster. They offer unlimited hosting plans suitable for both small and large websites, as well as high-performance SSD VPS with DDoS protection. Additionally, they provide free SSL certificates and easy-to-use site management tools. You can check out more details here:

https://prohoster.info/hosting/unlim-khosting

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

79684399

Date: 2025-06-30 07:58:58
Score: 5
Natty:
Report link

Should the marginal effects be plotted as additive components (i.e., centered at zero mean), or absolute trends over time?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Big Sage

79684396

Date: 2025-06-30 07:55:55
Score: 11
Natty: 6.5
Report link

Is there a solution? I have the same problem recently...

Reasons:
  • Blacklisted phrase (3): Is there a solution
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there a solution
  • Low reputation (1):
Posted by: siukei_tsang

79684392

Date: 2025-06-30 07:51:53
Score: 1
Natty:
Report link

A not-null assertion operator is not defined equally in all languages. In some languages, it will throw an Exception if the value is null, hence the "assertion" in the name. Such thing does not exist in PHP as of 8.4, but theres the Null Safe Operator since PHP 8.0 (which works more like the "not-null assertion operator" in TypeScript.

I find this blog post good https://php.watch/versions/8.0/null-safe-operator

Reasons:
  • Blacklisted phrase (1): this blog
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: VerteXVaaR

79684379

Date: 2025-06-30 07:38:46
Score: 1.5
Natty:
Report link

There is a way to do this in a bulk kind of way I found. When browsing the files on the server you can select objects like .rpts and images (but not all objects), there is an Organise > Send > File Location context menu option that will let you save them to a network path. The limit here is it doesn't work on folders so it's limited to batching on a per folder basis. Also note if you have a report called x/y.rpt it will export it to a report called y.rpt in a folder called x wherever you sent it to. Note there are also SFTP and FTP options. Not the perfect solution but at least it allows partial bulk saving of objects off a Crystal Enterprise Server.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Darryn Cornish

79684376

Date: 2025-06-30 07:35:45
Score: 1.5
Natty:
Report link

For VS code pip installation, check the correct path for installation at python interpreter.
Before choosing the right path, create virtual environment for the project folder.

After creating virtual environment, now select the right path for your python interpreter where your python.exe is located.

Restart the vs code, run python -m pip --version.
happy coding!

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

79684369

Date: 2025-06-30 07:32:43
Score: 14
Natty: 7
Report link

How did you solved it then?

Can you help me with this?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): did you solved it
  • RegEx Blacklisted phrase (1.5): solved it then?
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How did you solve
  • Low reputation (1):
Posted by: MD FAZLE HAQUE SHAIKH

79684361

Date: 2025-06-30 07:27:40
Score: 2
Natty:
Report link

Yes, absolutely! If you're looking for tour options that can accommodate a large group, I highly recommend checking out NZ Tourism Tours. They specialize in New Zealand train tour packages and offer flexible group options perfect for families, friends, corporate teams, or travel clubs.

Their tours can handle both small and large groups comfortably, with options to customize itineraries, accommodations, and even meal plans. Plus, traveling by train—like the scenic TranzAlpine or Northern Explorer—makes it easy to keep everyone together while enjoying breathtaking views across New Zealand.

With NZ Tourism Tours, you're in good hands for a seamless, scenic, and well-coordinated group travel experience!
Visit now:https://www.nz-tourism.com/train-tour-packages/ For more information

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NZ Tourism Tours

79684357

Date: 2025-06-30 07:22:38
Score: 1
Natty:
Report link

For me, the problem was the gradle JVM not the Project SDK.

I had to remove the line <option name="gradleJvm" value="openjdk-24" /> in .idea/gradle.xml

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

79684348

Date: 2025-06-30 07:11:32
Score: 4.5
Natty: 5
Report link

i also got the same error but i am using directus as a CMS i dont know what cauing the error i have tried many solution

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ovesh Mulla

79684342

Date: 2025-06-30 06:59:28
Score: 1
Natty:
Report link
configurations.all {
    exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
}

Adding this in build.gradle solved my problem.

I am using Flutter.

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

79684341

Date: 2025-06-30 06:59:28
Score: 2.5
Natty:
Report link

Amplitude contains information about contrast, texture, and fine details.

Phase determines the spatial layout of image features.

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

79684319

Date: 2025-06-30 06:34:21
Score: 0.5
Natty:
Report link

import random

from colorama import init, Fore

init(autoreset=True)

choices = ["rock", "paper", "scissors"]

def get_winner(player, computer):

if player == computer:

    return "draw"

elif (player == "rock" and computer == "scissors") or \\

     (player == "scissors" and computer == "paper") or \\

     (player == "paper" and computer == "rock"):

    return "player"

else:

    return "computer"

print(Fore.GREEN + "🎮 Welcome to Rock, Paper, Scissors!")

player_name = input("Enter your name: ")

player_score = 0

computer_score = 0

while True:

print(Fore.YELLOW + "\\nChoose one: rock, paper, or scissors")

player_choice = input("Your choice: ").lower()

if player_choice not in choices:

    print(Fore.RED + "❌ Invalid choice. Try again.")

    continue

computer_choice = random.choice(choices)

print(Fore.CYAN + f"🤖 Computer chose: {computer_choice}")

result = get_winner(player_choice, computer_choice)

if result == "draw":

    print(Fore.BLUE + "It's a draw!")

elif result == "player":

    print(Fore.GREEN + "🎉 You win this round!")

    player_score += 1

else:

    print(Fore.RED + "💻 Computer wins this round!")

    computer_score += 1

print(Fore.MAGENTA + f"Score → {player_name}: {player_score} | Computer: {computer_score}")

again = input("\\nDo you want to play again? (yes/no): ").lower()

if again != "yes":

    print(Fore.CYAN + f"\\n🏁 Final Score → {player_name}: {player_score} | Computer: {computer_score}")

    if player_score \> computer_score:

        print(Fore.GREEN + "🎉 You are the overall winner!")

    elif player_score \< computer_score:

        print(Fore.RED + "💻 Computer wins overall!")

    else:

        print(Fore.YELLOW + "It's a tie overall!"import random

from colorama import init, Fore

init(autoreset=True)

choices = ["rock", "paper", "scissors"]

def get_winner(player, computer):

if player == computer:

    return "draw"

elif (player == "rock" and computer == "scissors") or \\

     (player == "scissors" and computer == "paper") or \\

     (player == "paper" and computer == "rock"):

    return "player"

else:

    return "computer"

print(Fore.GREEN + "🎮 Welcome to Rock, Paper, Scissors!")

player_name = input("Enter your name: ")

player_score = 0

computer_score = 0

while True:

print(Fore.YELLOW + "\\nChoose one: rock, paper, or scissors")

player_choice = input("Your choice: ").lower()

if player_choice not in choices:

    print(Fore.RED + "❌ Invalid choice. Try again.")

    continue

computer_choice = random.choice(choices)

print(Fore.CYAN + f"🤖 Computer chose: {computer_choice}")

result = get_winner(player_choice, computer_choice)

if result == "draw":

    print(Fore.BLUE + "It's a draw!")

elif result == "player":

    print(Fore.GREEN + "🎉 You win this round!")

    player_score += 1

else:

    print(Fore.RED + "💻 Computer wins this round!")

    computer_score += 1

print(Fore.MAGENTA + f"Score → {player_name}: {player_score} | Computer: {computer_score}")

again = input("\\nDo you want to play again? (yes/no): ").lower()

if again != "yes":

    print(Fore.CYAN + f"\\n🏁 Final Score → {player_name}: {player_score} | Computer: {computer_score}")

    if player_score \> computer_score:

        print(Fore.GREEN + "🎉 You are the overall winner!")

    elif player_score \< computer_score:

        print(Fore.RED + "💻 Computer wins overall!")

    else:

        print(Fore.YELLOW + "It's a tie overall!"import random

from colorama import init, Fore

init(autoreset=True)

choices = ["rock", "paper", "scissors"]

def get_winner(player, computer):

if player == computer:

    return "draw"

elif (player == "rock" and computer == "scissors") or \\

     (player == "scissors" and computer == "paper") or \\

     (player == "paper" and computer == "rock"):

    return "player"

else:

    return "computer"

print(Fore.GREEN + "🎮 Welcome to Rock, Paper, Scissors!")

player_name = input("Enter your name: ")

player_score = 0

computer_score = 0

while True:

print(Fore.YELLOW + "\\nChoose one: rock, paper, or scissors")

player_choice = input("Your choice: ").lower()

if player_choice not in choices:

    print(Fore.RED + "❌ Invalid choice. Try again.")

    continue

computer_choice = random.choice(choices)

print(Fore.CYAN + f"🤖 Computer chose: {computer_choice}")

result = get_winner(player_choice, computer_choice)

if result == "draw":

    print(Fore.BLUE + "It's a draw!")

elif result == "player":

    print(Fore.GREEN + "🎉 You win this round!")

    player_score += 1

else:

    print(Fore.RED + "💻 Computer wins this round!")

    computer_score += 1

print(Fore.MAGENTA + f"Score → {player_name}: {player_score} | Computer: {computer_score}")

again = input("\\nDo you want to play again? (yes/no): ").lower()

if again != "yes":

    print(Fore.CYAN + f"\\n🏁 Final Score → {player_name}: {player_score} | Computer: {computer_score}")

    if player_score \> computer_score:

        print(Fore.GREEN + "🎉 You are the overall winner!")

    elif player_score \< computer_score:

        print(Fore.RED + "💻 Computer wins overall!")

    else:

        print(Fore.YELLOW + "It's a tie overall!"import random

from colorama import init, Fore

init(autoreset=True)

choices = ["rock", "paper", "scissors"]

def get_winner(player, computer):

if player == computer:

    return "draw"

elif (player == "rock" and computer == "scissors") or \\

     (player == "scissors" and computer == "paper") or \\

     (player == "paper" and computer == "rock"):

    return "player"

else:

    return "computer"

print(Fore.GREEN + "🎮 Welcome to Rock, Paper, Scissors!")

player_name = input("Enter your name: ")

player_score = 0

computer_score = 0

while True:

print(Fore.YELLOW + "\\nChoose one: rock, paper, or scissors")

player_choice = input("Your choice: ").lower()

if player_choice not in choices:

    print(Fore.RED + "❌ Invalid choice. Try again.")

    continue

computer_choice = random.choice(choices)

print(Fore.CYAN + f"🤖 Computer chose: {computer_choice}")

result = get_winner(player_choice, computer_choice)

if result == "draw":

    print(Fore.BLUE + "It's a draw!")

elif result == "player":

    print(Fore.GREEN + "🎉 You win this round!")

    player_score += 1

else:

    print(Fore.RED + "💻 Computer wins this round!")

    computer_score += 1

print(Fore.MAGENTA + f"Score → {player_name}: {player_score} | Computer: {computer_score}")

again = input("\\nDo you want to play again? (yes/no): ").lower()

if again != "yes":

    print(Fore.CYAN + f"\\n🏁 Final Score → {player_name}: {player_score} | Computer: {computer_score}")

    if player_score \> computer_score:

        print(Fore.GREEN + "🎉 You are the overall winner!")

    elif player_score \< computer_score:

        print(Fore.RED + "💻 Computer wins overall!")

    else:

        print(Fore.YELLOW + "It's a tie overall!"import random

from colorama import init, Fore

init(autoreset=True)

choices = ["rock", "paper", "scissors"]

def get_winner(player, computer):

if player == computer:

    return "draw"

elif (player == "rock" and computer == "scissors") or \\

     (player == "scissors" and computer == "paper") or \\

     (player == "paper" and computer == "rock"):

    return "player"

else:

    return "computer"

print(Fore.GREEN + "🎮 Welcome to Rock, Paper, Scissors!")

player_name = input("Enter your name: ")

player_score = 0

computer_score = 0

while True:

print(Fore.YELLOW + "\\nChoose one: rock, paper, or scissors")

player_choice = input("Your choice: ").lower()

if player_choice not in choices:

    print(Fore.RED + "❌ Invalid choice. Try again.")

    continue

computer_choice = random.choice(choices)

print(Fore.CYAN + f"🤖 Computer chose: {computer_choice}")

result = get_winner(player_choice, computer_choice)

if result == "draw":

    print(Fore.BLUE + "It's a draw!")

elif result == "player":

    print(Fore.GREEN + "🎉 You win this round!")

    player_score += 1

else:

    print(Fore.RED + "💻 Computer wins this round!")

    computer_score += 1

print(Fore.MAGENTA + f"Score → {player_name}: {player_score} | Computer: {computer_score}")

again = input("\\nDo you want to play again? (yes/no): ").lower()

if again != "yes":

    print(Fore.CYAN + f"\\n🏁 Final Score → {player_name}: {player_score} | Computer: {computer_score}")

    if player_score \> computer_score:

        print(Fore.GREEN + "🎉 You are the overall winner!")

    elif player_score \< computer_score:

        print(Fore.RED + "💻 Computer wins overall!")

    else:

        print(Fore.YELLOW + "It's a tie overall!")

    print("👋 Thanks for playing!")

    break)

    print("👋 Thanks for playing!")

    break)

    print("👋 Thanks for playing!")

    break)

    print("👋 Thanks for playing!")

    break)

    print("👋 Thanks for playing!")

    break
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30927006

79684313

Date: 2025-06-30 06:25:18
Score: 1
Natty:
Report link

Oh, or just add one more label for both node type, named Node then

FOR (n:Node) ON (n.text)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jupyter

79684310

Date: 2025-06-30 06:22:17
Score: 1
Natty:
Report link

This issue was happening because the application was run using gradle with the run task defined by the application plugin.

The issue was fixed when I ran the program (executable jar) directly via the terminal, without using gradle.

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

79684307

Date: 2025-06-30 06:21:17
Score: 1
Natty:
Report link

This Works for me:
pip install "autogen-core"

Reasons:
  • Whitelisted phrase (-1): Works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: amrita yadav

79684297

Date: 2025-06-30 06:01:13
Score: 1
Natty:
Report link
openssl zlib -d < .git/objects/4b/3083256dedabd68e839d7717aa785424119990

If you have openssl, no need for Perl or extra packages. You can dump object content with this command.

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

79684293

Date: 2025-06-30 05:56:11
Score: 2.5
Natty:
Report link

To fix this, you need to set the CSS property transform: perspective(0) for the scroll container.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: The Splatt

79684267

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

The solution that worked for me, with the aid of chatGPT -> Flutter's compute() function to resize images in background threads, plus caches resized images to avoid reprocessing the same files. Respecting the max image size setting from display settings, this automatically resizes large images to prevent crashes.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Luthermilla Ecole

79684249

Date: 2025-06-30 04:21:53
Score: 2
Natty:
Report link

I needed polymorphism in my application so much. I even wanted to replace entire MessagePack infrastructure, and find another way to perform serialization and polymorphism with SignalR.
Fortunately realized that if put abstract data inside another parent type like in data container, it has overcome Hub method signature without any problem, and can be used as expected.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Shkurlatov

79684247

Date: 2025-06-30 04:19:52
Score: 1
Natty:
Report link

Toán tử == thực hiện chuyển đổi kiểu ngầm định (implicit type conversion) vì C++ cho phép các toán tử hoạt động trên các toán hạng khác kiểu bằng cách chuyển đổi chúng về cùng một kiểu để so sánh. Khi bạn viết: cpp Sao chép mã int a = 5; double b = 5.0; if (a == b) ... Trình biên dịch tự động ép a từ int sang double rồi thực hiện phép so sánh: cpp Sao chép mã (double)a == b → 5.0 == 5.0 → true Điều này được gọi là standard conversion và xảy ra để đảm bảo toán tử có thể xử lý các kiểu khác nhau một cách nhất quán. 2. 🧠 Mục tiêu của chuyển đổi ngầm định Tính linh hoạt: Cho phép so sánh giữa nhiều kiểu khác nhau (int với float, char với int, ...) Đơn giản hóa code: Không yêu cầu bạn phải ép kiểu thủ công mỗi lần. 📌 Lưu ý quan trọng ✅ Các trường hợp được phép chuyển đổi: Giữa các kiểu nguyên thủy (int, float, double, char, bool, ...) Giữa lớp có hàm chuyển đổi (conversion operator) Giữa lớp với constructor có explicit/implicit ❌ Cẩn thận với: Mất độ chính xác: int x = 1000000; float y = 1000000.1f; if (x == y) có thể sai. Gọi constructor không mong muốn: Nếu bạn định nghĩa lớp có constructor nhận 1 đối số, == có thể ép kiểu đối số đó về đối tượng lớp. 📦 Ví dụ gây hiểu nhầm: cpp Sao chép mã class A { public: A(int x) : val(x) {} bool operator==(const A& other) const { return val == other.val; } private: int val; }; int main() { A a(10); if (a == 10) // hợp lệ: 10 được ép kiểu thành A(10) std::cout << "Equal\n"; } Nếu constructor không có từ khóa explicit, 10 sẽ tự động chuyển về A(10) => ép kiểu ngầm định xảy ra. ✅ Cách chặn ép kiểu ngầm định nếu không mong muốn Dùng explicit: cpp Sao chép mã explicit A(int x); // Không cho phép ép kiểu ngầm định từ int → A Dùng == có kiểm soát kiểu với std::enable_if (advanced) ✅ Tóm tắt: Câu hỏi Trả lời Toán tử == có chuyển kiểu không? Có – theo quy tắc chuyển kiểu ngầm định của C++ Tại sao lại có? Để giúp so sánh giữa nhiều kiểu dữ liệu trở nên tiện lợi hơn Khi nào nên tránh? Khi có thể gây mất dữ liệu hoặc kết quả so sánh không chính xác Cách kiểm soát? Dùng explicit, kiểm tra kiểu trước khi ép, hoặc overload cẩn thận Bạn muốn mình đưa thêm ví dụ với class, struct, hoặc hàm tự định nghĩa cho == không? Các trường hợp được phép chuyển đổi: Giữa các kiểu nguyên thủy (int, float, double, char, bool, ...) Giữa lớp có hàm chuyển đổi (conversion operator) Giữa lớp với constructor có explicit/implicit Cẩn thận với:

Mất độ chính xác: int x = 1000000; float y = 1000000.1f; if (x == y) có thể sai.

Gọi constructor không mong muốn: Nếu bạn định nghĩa lớp có constructor nhận 1 đối số, == có thể ép kiểu đối số đó về đối tượng lớp

.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Thành Công Đỗ

79684246

Date: 2025-06-30 04:15:51
Score: 3.5
Natty:
Report link

I found that I need to create a specific service in android platform to handle method channel from flutter. This service must be a background service to handle method from flutter.

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

79684241

Date: 2025-06-30 04:07:49
Score: 3.5
Natty:
Report link

command line need to download seperately.
https://portal.perforce.com/s/downloads?product=Helix%20Command-Line%20Client%20%28P4%29

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

79684236

Date: 2025-06-30 04:02:48
Score: 3.5
Natty:
Report link

I faced the same error and i found that i forget [HttpGet] annotation

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

79684231

Date: 2025-06-30 03:52:45
Score: 5
Natty: 5
Report link

Что бы исправить это поведение нужно для скролл контейнера прописать css свойство transform: perspective(0);

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

79684226

Date: 2025-06-30 03:42:43
Score: 3
Natty:
Report link

Using another approach with JUnit Platform Launcher, there is a more detailed assertions way:

https://stackoverflow.com/a/47982480/7213979

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: kinlhp

79684225

Date: 2025-06-30 03:40:43
Score: 1.5
Natty:
Report link

angle = (angle + offset + 180) % 360 - 180

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Y.T.

79684220

Date: 2025-06-30 03:33:41
Score: 1
Natty:
Report link

if you wanna get from HTML

  1. open browser DevTools
  2. select the <iframe>
  3. go to the Console, type $0.contentWindow.location.href
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Graham Quan

79684212

Date: 2025-06-30 03:24:39
Score: 5.5
Natty: 6.5
Report link

I was also having issue connecting I followed this blog.

Please see the blog below:

https://medium.com/@khan.abdulwasey99/step-by-step-process-on-how-to-connect-a-spring-boot-application-to-supabase-f1791e1d2402

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abdul Wasey Khan

79684207

Date: 2025-06-30 03:15:37
Score: 0.5
Natty:
Report link

Big thanks to @jcalz, whose answer set me on the right path!

I was getting some strange behavior when arrays are involved. I think what was happening is that the resulting type was including a union of array properties. This could be what @jcalz was referring to when they said:

\> you will probably have some use cases where this definition does things you don't expect or like.

Here's an example of the array index / property issue I was facing:

result:
albumMedias: number | ShareAlbum_shared_album_album_medias_cursor_album_medias[] | (() => ArrayIterator<never>) | ... 38 more ... | ((index: number, value: never) => never[])

I modified the solution to properly handle arrays without including all the Array properties.

type GetDeepProp<T, K extends string> =
  K extends keyof T
    ? T[K]
    : T extends Array<infer U>
      ? GetDeepProp<U, K>
      : T extends object
        ? {
          [P in keyof T]:
          P extends string
            ? GetDeepProp<T[P], K>
            : never
        }[keyof T]
        : never

Thanks @jcalz!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @jcalz
  • User mentioned (0): @jcalz
  • User mentioned (0): @jcalz
Posted by: animatedgif

79684202

Date: 2025-06-30 02:58:33
Score: 2.5
Natty:
Report link

Each compiler uses different internal data structures, hashing algorithms, and optimizations Differences in how memory is allocated and managed can impact Each compiler applies different optimizations during compilation.

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

79684198

Date: 2025-06-30 02:50:31
Score: 4
Natty:
Report link

According to my understanding, you are making some issues.
I ever faced similar issue before so please try it with my experience.
config.py**
SESSION_COOKIE_SAMESITE = "None"

SESSION_COOKIE_SECURE = True
app.py****

CORS(app, supports_credentials=True, resources={
    r"/*": {
        "origins": [
            "http://localhost:3000",
            "https://453c-162-199-93-254.ngrok-free.app"
        ]
    }
})

if it is still unauthorized, then please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I ever faced similar issue before so please
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29378984

79684197

Date: 2025-06-30 02:48:30
Score: 4
Natty:
Report link

some try... maybe version 1.0.0-M6 of springAI can work.

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

79684196

Date: 2025-06-30 02:47:30
Score: 0.5
Natty:
Report link

My problem was with nested async. I needed to comment out that import:

# nest_asyncio.apply()

It looked like a memory issue but in my logs for the jupyter service it was clear that it was async issue:

`

sudo systemctl status jupyter
[sudo] password for demo:
● jupyter.service - Jupyter-Notebook Daemon
     Loaded: loaded (/etc/systemd/system/jupyter.service; enabled; preset: enabled)
     Active: active (running) since Mon 2025-06-30 01:57:29 UTC; 37min ago
   Main PID: 1204921 (jupyter-noteboo)
      Tasks: 16 (limit: 153561)
     Memory: 150.0M (peak: 220.6M)
        CPU: 24.173s
     CGroup: /system.slice/jupyter.service
             ├─1204921 /home/demo/jupyter_env/bin/python3 /home/demo/jupyter_env/bin/jupyter-notebook --no-browser --notebook-dir=/home/demo
             └─1218765 /home/demo/rag/bin/python -Xfrozen_modules=off -m ipykernel_launcher -f /home/demo/.local/share/jupyter/runtime/kernel-c293a975-19f7-443a-801b-00>

Jun 30 02:30:51 demo bash[1218711]:   File "/usr/lib/python3.12/asyncio/base_events.py", line 1972, in _run_once
Jun 30 02:30:51 demo bash[1218711]:     handle = self._ready.popleft()
Jun 30 02:30:51 demo bash[1218711]:              ^^^^^^^^^^^^^^^^^^^^^
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: texasdave

79684192

Date: 2025-06-30 02:41:28
Score: 6
Natty:
Report link

Shouldn't be using WPF in 2025 you fucking retard

Reasons:
  • Blacklisted phrase (2): fuck
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonathan Mayers

79684188

Date: 2025-06-30 02:32:26
Score: 3.5
Natty:
Report link

Djjd is sh is mddn songs HD shsj and the same time I xhhd shyd apko bhi nahi hai to offi the same time I will be

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

79684184

Date: 2025-06-30 02:27:25
Score: 2.5
Natty:
Report link

The most likely problem is that the browser is clipping your cube; the 'receding' will be caused by a rectangular clip. If you run the cube in a different environment, the problem will (most likely) disappear.

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

79684177

Date: 2025-06-30 02:14:22
Score: 3.5
Natty:
Report link

nice to meet you all! Today, we are going to talk about the custom dialog "openCustomDialog" in HONOR OS. I believe that many of you will need to use pop-up windows in your development process, and it should not be coupled with the page during use. Today, I will help you all analyze the usage of "openCustomDialog" in detail.

一、First, let's analyze the settings for pop-up windows in Harmony OS. Harmony OS provides some basic design for pop-up windows, but it cannot meet the requirements for diverse designs of pop-ups. However, it offers the method "openCustomDialog" which can be used. This method is based on the "PromptAction" under the UIContext.

1、First, define a context

// Applying Context
private context: common.UIAbilityContext = getContext() as common.UIAbilityContext;
// Tips for Methodology
private promptAction: PromptAction = context.windowStage.getMainWindowSync().getUIContext().getPromptAction()

2、Let's take a look at the parameters of penCustomDialog. dialogContent refers to the content to be displayed, which is the component. options are the parameters related to the pop-up window, such as closing the pop-up window, etc. You can refer to the Harmony OS documentation for detailed descriptions. Here, we mainly discuss the custom components that need to be displayed.

this.promptAction().openCustomDialog(custom,options);

二、The ComponentContent of the custom component has three parameters. Among them, the T type parameter is the key data for data interaction.

uiContext: This is the context of the UI. getUIContext()

builder: It is the WrappedBuilder<[T]> component decorated with @builder.

args: is a parameter of type T

1、"Builder" is a global component, which is the custom component we need to write. The generic type "T" represents the data object type that we need to pass, and "args" represents the data object that needs to be passed.

// custom component
@Builder
export function customBuilder(params: DialogBuilderParams) {
    Text("custom component")
}
// create component
let custom = new ComponentContent(getUIContext(), wrapBuilder,params)
// show component
this.promptAction().openCustomDialog(custom,options);

2、So, basically, this is the completion of a basic pop-up window. Next, let's talk about the parameters that the component needs to pass in. The parameters need to be displayed as 'params', and there are also the close method 'close' and other parameters 'status'.

export interface DialogBuilderParams<T,R>{
  params: T
  close: (data: R) => void
  status?: DialogStatus
}

3、After obtaining the data, it is displayed in the component. The code of the group definition component is modified. params.params is used to display the data, and params.close(true) is used to close the pop-up window.

// custom component
@Builder
export function customBuilder(params: DialogBuilderParams) {
  Column() {
    Text(params.params).width('90%').textAlign(TextAlign.Center).padding(10)
    Blank()
    Divider()
    Text('确认')
      .onClick(() => {
        params.close(true)
      })
      .width('100%')
      .aspectRatio(6)
      .textAlign(TextAlign.Center)
  }
  .width('70%')
  .backgroundColor(Color.White)
}

4、Implement the method for closing the popup window. When it is necessary to pass parameters for processing the close method.

// create component
let custom = new ComponentContent(getUIContext(),wrapBuilder,{
    params: "This is the data to be presented.",
    close: (data: R) => {
        // close dialog
        this.promptAction().closeCustomDialog(custom)
    }
})

Note: The complete code has been submitted to the HarmonyOS Third-Party Library. Use the following command to install.

ohpm install @free/dialog

Calling method

// Prompt Pop-up Window 
Dialog.alert({data:"alert"})
// Middle pop-up window 
Dialog.open({data:"open"})
// Bottom pop-up window 
Dialog.sheet({data:['sheet']})
// Selector Popup Window 
Dialog.picker({data:['picker']})
// Phone call pop-up window 
Dialog.tel("168********")
// Input box popup window 
Dialog.input({data:"input"})
// Time Selection Dialog Box 
Dialog.time({data:new Date()})
// Date selection dialog box 
Dialog.date({data:new Date()})
// Calendar Selection Dialog Box 
Dialog.calendar({data:new Date()})
// Custom Pop-up Window 
Dialog.custom(wrap, params)

If you like this content, please give a little heart!

Reasons:
  • RegEx Blacklisted phrase (2.5): please give
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @builder
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30867031

79684152

Date: 2025-06-30 01:05:08
Score: 6.5
Natty: 5.5
Report link

for some reason if i have 2 email with with similar subject (i.e email 1 with Subject= #general" & email 2 with subject= #enterprise-general"), the apps Script take the 2 subjects and insert them in the sheet "#general". Is there a way to insert it when is the exact subject into the code? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30925303

79684150

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

Since Angular 20 doesn't have a script with @NgModule, you can just import the RouterModule per component like so:

import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';

@Component({
  selector: 'navbar',
  imports: [RouterModule],
  templateUrl: './navbar.html',
  styleUrl: './navbar.scss'
})

export class Navbar {

}

That fixed the error of "Can't bind to 'routerLink' since it isn't a known property of 'a'"

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

79684148

Date: 2025-06-30 00:51:05
Score: 2.5
Natty:
Report link

Here's a fast rolling median implementation that I wrote.

Some people seem to like it:

"We are aware of only one general-purpose median filter implementation that consistently outperforms R: an open source C implementation by AShelly"

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

79684129

Date: 2025-06-29 23:52:53
Score: 1
Natty:
Report link

We saw this error periodically when our Varnish cache was full. Increase the size of the cache fixed it.

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

79684128

Date: 2025-06-29 23:51:53
Score: 2.5
Natty:
Report link

The codeless environment is terrible at doing anything like looping, you can't nest loops for example. I ended up grouping my results into sets of 25, and having a separate zap for each page.

In my data I needed a column with section + page number, section name being the dynamic element and the page number hard coded in, an awful solution but fortunately a working one at least. Fortunately two pages were sufficient.

Both zaps respond to the same (sub-item added) event and fire simultaneously, I can now add 41 subitems in one go.

Finally, I'm new to Monday so I'm sure there are lots of tricks that I have yet to pick up on. A lot of the concepts of how it organise my projects haven't been explained, I just jumped it (had to...) and self taught by playing. A more experienced user might not have quite so fraught experience.

With some equally ugly work arounds it could be possible that looping might be avoidable. My one thought would be to use prepopulated template items with subitems already in place. This lacks flexibility though so is probably only useful in very static environments.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RogerB

79684127

Date: 2025-06-29 23:42:51
Score: 3.5
Natty:
Report link

I faced a similar issue while following this VS Code Tutorial of Using GCC with MinGW.

When Clicked on "Run C/C++ file", it threw me the following error:

Executing task: C/C++: g++.exe build active file 
Starting build...
cmd /c chcp 65001>nul && C:\msys64\ucrt64\bin\g++.exe -fdiagnostics-color=always -g "C:\Users\Joy\Documents\VS CODE\programmes\helloworld.cpp" -o "C:\Users\Joy\Documents\VS CODE\programmes\helloworld.exe"
Build finished with error(s).
 *  The terminal process failed to launch (exit code: -1). 
 *  Terminal will be reused by tasks, press any key to close it. 

Also, there was this following pop - up error:
enter image description here

saying "The preLaunchTask 'C/C++: g++.exe build active file' terminated with exit code -1."

Here is my source code:

#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
{
    vector<string> msg {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};

    for (const string& word : msg)
    {
        cout << word << " ";
    }
    cout << endl;
}

My USER Path Variables has- C:\msys64\ucrt64\bin

When I pass where g++ in my command prompt, i get C:\msys64\ucrt64\bin\g++.exe

Even I made sure it was EXACTLY how VS Code website said to do it. I have even uninstalled both MSYS2 and VS Code and then reinstalled them. But still, I am not encountering this error. Please help!

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): Please help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joy Khandelwal

79684117

Date: 2025-06-29 23:24:47
Score: 4
Natty:
Report link

I can confirm @Kevinoid's suggestion works. What also works is prefixing "%h" instead of or replacing $HOME in the path of file/directory in systemd unit files.

see URL: https://bbs.archlinux.org/viewtopic.php?id=297777

"%h"equivalent to "$HOME", so can make work without /bin/bash -c 'exec part

Both work for me.

Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Kevinoid's
  • Low reputation (1):
Posted by: TheWickerman666

79684105

Date: 2025-06-29 23:02:42
Score: 3.5
Natty:
Report link

i got these error because of the exist of pages and app in src

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

79684103

Date: 2025-06-29 22:52:40
Score: 2.5
Natty:
Report link

This site can’t be reached

localhost refused to connect.

Try:

ERR_CONNECTION_REFUSED

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

79684097

Date: 2025-06-29 22:43:38
Score: 1
Natty:
Report link

The following worked for me,
Apache Spark 3.5.5 is compatible with Python 3.8 to 3.11 (Python 3.11.9 is recommended). Also make sure to add PYSPARK_PYTHON=python as an env variable.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nuwan Keshara

79684089

Date: 2025-06-29 22:27:35
Score: 3
Natty:
Report link

Verify if variabile TWO_TASK is set

If it is set, reset it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bruno Castellani

79684082

Date: 2025-06-29 22:03:29
Score: 1.5
Natty:
Report link
  1. Click on the route you want.
  2. Click the share link button share icon and copy the link.
  3. Go to the shared link (e.g., https://maps.app.goo.gl/ZLrT3Z5ESrsTxCcz5 ).

It will only show one route and no alternative ones.

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

79684077

Date: 2025-06-29 21:49:26
Score: 2
Natty:
Report link

Would you try patchwork and cowplot?

library(ggplot2)
library(patchwork)

p1 <- ggplot(data.frame(x = 2000:2020, y = rnorm(21)), aes(x, y)) +
geom_line() +
theme_classic()

p2 <- ggplot(data.frame(x = 1:15, y = runif(15)), aes(x, y)) +
geom_bar(stat = "identity") +
theme_classic()

library(cowplot)

plot_grid(p1, p2, rel_widths = c(1, 1), align = "v", axis = "tb")
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: MetehanGungor

79684059

Date: 2025-06-29 21:14:18
Score: 1
Natty:
Report link

From my point of view either SHACL Rule or SPIN rule would be an elegant solution to that. However, to make this work, you would need to export Wikidata (or the required domain sub-graph) to a triple store that supports this feature.

There is a project that tries to solve reasoning for Wikidata which is a reasonably (pun intended) complex endeavor: https://www.wikidata.org/wiki/Wikidata:WikiProject_Reasoning

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

79684053

Date: 2025-06-29 21:06:16
Score: 2.5
Natty:
Report link

After 3 days stuck on this problem, and naturally, 15min after crying for help here, I believe I found out how to solve it.
It seems all I needed to do was to use

getRawContent()

instead of

getContent()

for the scriplet to 'copy-paste' the code instead of solving it before assembling it in the file...
this seems to bypass all the limitations of the scriplet printing.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): how to solve
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rafael Fontana

79684049

Date: 2025-06-29 21:00:15
Score: 0.5
Natty:
Report link

It seems a shame nobody has mentioned https://github.com/jsog/jsog-jackson yet. It implements JSON Object Graph format aka JSOG. JSOG handles arbitrary graphs including circular references of any length (subject to Jackson's object nesting depth of course)

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

79684043

Date: 2025-06-29 20:54:13
Score: 2.5
Natty:
Report link
android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":"com.rrivenllc.shieldx/.receivers.DeviceAdmin
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Axel Brito

79684033

Date: 2025-06-29 20:35:09
Score: 1
Natty:
Report link

I have Theano working with CUDA 12 and Numpy 1.26.4, all very new. I've been "sort-of" maintaining Theano, and have provided all the changes to https://github.com/pbaggens1/theano_pmb . It's definitely not professionally maintained, but all the changes needed are provided, so that Theano with full GPU support works today. I hope it can help others, and keep Theano alive.

Reasons:
  • Whitelisted phrase (-1): hope it can help
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Paul M Baggenstoss

79684023

Date: 2025-06-29 20:25:06
Score: 2
Natty:
Report link

Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedidentifierlinks[ERROR]Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedtoken*[ERROR]Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedidentifierlinks[ERROR]Line1:[file:///storage/emulated/0/Android/data/com.fazil.htmleditor/files/Documents/https___www_facebook_com_luis_mario_martinez_vega_2025-package-deckofplayingcards/index.html]UncaughtSyntaxError:Unexpectedendofinput[ERROR]Line1:[file:///storage/emulated/0/Android

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Myrna Rodriguez

79684021

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

I faced the exact same issue. The only option is to use JNI and building the mediapipe library yourself. I tried doing that and it actually work. The tricky part is building a shared library and exposing the method you actually want.

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

79684017

Date: 2025-06-29 20:14:03
Score: 2.5
Natty:
Report link

Have you tried using setLoginItemSettings ?

app.setLoginItemSettings({
  openAtLogin: true,
  openAsHidden: true,
});
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: ivox

79684012

Date: 2025-06-29 20:06:01
Score: 4
Natty: 4
Report link

Scan a QR code to view the results here [email protected]

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

79684004

Date: 2025-06-29 19:53:58
Score: 1
Natty:
Report link

In Itext 5.x, we should reshape characters. In other words, we should handle the formats of each Arabic( or Persian) character.

For example, for ب we have 4 formats:

ب isolated

با initial ( start with ب)

آب final (end with ب)

عباس middle (appears in the middle of a word)

I have tested in Java with icu4j( 74.1)

Note: icu4j just supports reshaping Arabic characters. For Persian characters like گچ پژ you should handle them manually.

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

79683997

Date: 2025-06-29 19:40:55
Score: 1
Natty:
Report link

Through using MapStruct, you can define fetchUser method as default one to handle with toEntity process

@Mapper(componentModel = "spring",  
        uses = UserRepository.class)
public interface AddressMapper {
  
  @Mapping(target = "user",
           expression = "java(fetchUser(dto.getUserId(), userRepository))")
  Address toEntity(CreateAddressDTO dto, @Context UserRepository userRepository);

  default User fetchUser(Long id, UserRepository repo) {
    return repo.findById(id)
               .orElseThrow(() -> new EntityNotFoundException("User not found: " + id));
  }
}

Next, you can add these code block shown below to relevant service.

Address address = addressMapper.toEntity(dto, userRepository);
addressRepo.save(address);

I hope you can help you fix your issue.

Reasons:
  • RegEx Blacklisted phrase (3): you can help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sercan Noyan Germiyanoğlu

79683992

Date: 2025-06-29 19:31:53
Score: 0.5
Natty:
Report link

I don't know why, but I just keep trying just in case and now it works. Below is the code that made it function.

/**
 * Create a list.
 * @customfunction
 * @param name string
 * @param args {string[][]}
 */
function datatablex(display: string, ...args: string[][][]): any {
  const entity = {
    type: "Entity",
    text: display,
    properties: {
      Nombre: {
        type: "String",
        basicValue: display,
        propertyMetadata: {
          excludeFrom: {
            cardView: true
          }
        }
      }
    }
  };
  for (let i = 0; i < args[0].length; i += 2) {
    entity.properties[args[0][i + 0]] = {
      type: "Array", // "String",
      elements: args[0][i + 1] // basicValue: value
    };
  }
  return entity;
};
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Enderluck

79683991

Date: 2025-06-29 19:30:52
Score: 1.5
Natty:
Report link

There is an even simpler way to get a subclip::

subclip = clip[10:20]

I'm running moviepy 2.1.2.

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

79683980

Date: 2025-06-29 19:07:47
Score: 1
Natty:
Report link

You can try using dvh instead of percent:

.artplayer-app {
    width: 100%;
    height: 100dvh;
}

Here is some visualization on how it is different from percent and other alternatives - https://blog.stackademic.com/stop-using-100vh-on-mobile-use-these-new-css-units-instead-adf22e7a6ea9

But if the camera notch is a part of the browser window, I don't think it is possible.

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

79683963

Date: 2025-06-29 18:44:42
Score: 1
Natty:
Report link

The HTML tables are likely containing non-breaking spaces.

Try:

flight_details = df.iloc[index, 5].replace('\xa0', ' ').strip()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: keithwalsh