79646923

Date: 2025-05-31 19:26:22
Score: 9.5 🚩
Natty:
Report link

did you find a solution, im facing the same issue

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Single line (0.5):
  • Starts with a question (0.5): did you find a solution
  • Low reputation (1):
Posted by: Monsef Monsef

79646920

Date: 2025-05-31 19:24:21
Score: 1.5
Natty:
Report link

Since Logger.log() doesn't help in printing out the values at the line you need to debug. You can go with alert() . Yes it's a bit annoying but works the same when working with webapp

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

79646908

Date: 2025-05-31 19:03:17
Score: 1
Natty:
Report link

So I ended up figuring this out, although I'm not sure if it was the best solution or not.

I had to reinstall WASMedge using an updated install script and specify the path to that .so directly in the install script (LIBCUDART_PATH). That made it recognize CUDA and the GPU, and then I had to mess with context size for memory reasons, and then it was up and running.

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

79646907

Date: 2025-05-31 19:03:17
Score: 2
Natty:
Report link

I’m using Docker Desktop with Kubernetes enabled, so the clusters are managed locally on my machine.
When I run kubectl get services, I get the following output:
enter image description here

I’m trying to connect to SQL Server from my local machine using SSMS. However, even though I have a LoadBalancer service with an external IP (which points to localhost), I’m still unable to connect using localhost,1433.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: issamkh

79646898

Date: 2025-05-31 18:55:14
Score: 4
Natty:
Report link

are you using flexbox? check the display and align-items property of the header's parent element.

https://www.w3schools.com/cssref/css3_pr_align-items.php

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: JRT

79646889

Date: 2025-05-31 18:43:12
Score: 1
Natty:
Report link

If you are using flutter, building in the flutter plugin in vscode gives you a clue (unlike xcode).

From the top of your flutter project, edit ios/Runner.xcodeproj/project.pbxproj and change all instances of

com.example.yourapp

to

com.whatever_matches_your_apple_developer_domain.yourapp

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

79646886

Date: 2025-05-31 18:40:11
Score: 4.5
Natty:
Report link

Have you tried using the width property in the header tag?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: matusz019

79646879

Date: 2025-05-31 18:37:09
Score: 2.5
Natty:
Report link

Can easily be done with IrfanView.

I.e. Image -> Resize/Resample -> Set New Size -> Width [1024] + Height [500] + Units (pixels) -> Ok

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can
  • Low reputation (0.5):
Posted by: tim bits

79646878

Date: 2025-05-31 18:36:04
Score: 8 🚩
Natty:
Report link

enter image description here
I am aslo seeing same issue from my side please find above SS:

Reasons:
  • RegEx Blacklisted phrase (1): I am aslo seeing same issue from my side please
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): seeing same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: VINAY TALLA

79646877

Date: 2025-05-31 18:35:04
Score: 1
Natty:
Report link

It took me a couple of hours to get the right configuration, with a lot of trial and error.

This is what I came up with: I had to exclude a couple of transient dependencies globally.

Include these excludes in your configurations block:

configurations {
    configureEach {
        exclude group: 'commons-logging', module: 'commons-logging'
        exclude group: 'org.neo4j', module: 'neo4j-logging'
        exclude group: 'ch.qos.logback', module: 'logback-classic'
    }
}

I did not find a way to exclude those packages only for the tests, but I guess that's not a problem. The first exclude is not strictly necessary for my project to work, but it makes the warning about commons-logging.jar go away.

So I had to use configureEach to remove the dependencys from all scopes, because removing if from testRuntimeOnly or other test scopes did not work for some reason.

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

79646872

Date: 2025-05-31 18:30:03
Score: 1
Natty:
Report link

When trying to connect to another service from your pods you must use the kubernetes internal DNS service. In the pod that is trying to connect to the host should look something like this instead localhost:

mssql-clusterip-srv.default.svc.cluster.local

if you uses other namespace to deploy your database and services, replace default for the correct value.

can help you understand how it works

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

79646863

Date: 2025-05-31 18:22:01
Score: 3.5
Natty:
Report link

In v4 you import Tailwind using a regular CSS @import statement, not using the @tailwind directives you used in v3: @import "tailwindcss";

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @import
  • User mentioned (0): @tailwind
  • User mentioned (0): @import
  • Low reputation (1):
Posted by: TuanNg

79646847

Date: 2025-05-31 17:47:53
Score: 2.5
Natty:
Report link

[versions]

ktx = "1.9.0"

[libraries]

androidx-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "kt

x" }

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

79646836

Date: 2025-05-31 17:27:49
Score: 1
Natty:
Report link

his is really just a test of MemoryCache. I could have made it much simpler, removed all of the extra code, and just tested MemoryCache, but this takes into account the possibility of error in the surrounding logic. I only write tests like this to be sure that I'm not making wrong assumptions about how something like this works.

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

79646831

Date: 2025-05-31 17:20:47
Score: 1.5
Natty:
Report link

Yes, you're totally right — in the new Google Ads Conversion Tag interface in Google Tag Manager (GTM), the "User-provided data" checkbox for Enhanced Conversions has been removed from the standard "Google Ads Conversion Tracking" tag.

To enable Enhanced Conversions now, you need to add a separate tag using the "Google Ads User-provided Data Event" tag type.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Loïc CHOSSIERE

79646811

Date: 2025-05-31 16:51:39
Score: 0.5
Natty:
Report link

It seems that the problem not in API itself.

The first reason maybe some kind of "sleeping" software which have to wake up and then works for some short time and fall asleep again.

And the second - your networking equipment which looses path to the server and each time spend these 4 seconds to find the network device.

As for http - it must work even faster than https

Reasons:
  • No code block (0.5):
Posted by: Solt

79646807

Date: 2025-05-31 16:47:38
Score: 3
Natty:
Report link

i was getting this

Installation Failed. One prerequisite is not fulfilled

i did this on regedit and installation worked. changed the version to the one mentioned in the alert

Docker Desktop requires Windows 10 Pro/Enterprise/Home version 19044 or above.

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yousuf Badar

79646792

Date: 2025-05-31 16:32:34
Score: 1
Natty:
Report link

Believe me, I got the same problem. The problem is the path. React-native-reanimated takes the absolute path at compilation. It means, it is taking your path from the root directory like from start of C drive (if in windows) to the files in the node_modules. The maximum characters for path is 250 although in my case it was taking like 198 or something, it might have some restrictions for that.

I copied the entire project and pasted it in my users directory. The path was like

C:\users\<my-username>\<react-native-project>

This makes the path short and the resolves the error.

Reasons:
  • Blacklisted phrase (1): I got the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sahil Mane

79646785

Date: 2025-05-31 16:26:32
Score: 2.5
Natty:
Report link

You can fetch your files using this:

https://raw.githubusercontent.com/<owner>/<repo>/<branch-refs>/<path-to-file>

for example to fetch staticSet.json file:

https://raw.githubusercontent.com/jamestroxel/NASA-JPL-NEO/refs/heads/main/assets/data/staticSet.json

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

79646777

Date: 2025-05-31 16:21:30
Score: 4
Natty:
Report link

You should use maven-assembly-plugin to build your project. Read documents about this plugin.

Reasons:
  • Blacklisted phrase (1): this plugin
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SOLoose

79646776

Date: 2025-05-31 16:21:30
Score: 1.5
Natty:
Report link

Plugin 'role-strategy' (Role-based Authorization Strategy) seems to provide this possibility https://plugins.jenkins.io/role-strategy/
Take a look if functionality provided by 'item roles' suits you

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

79646774

Date: 2025-05-31 16:20:30
Score: 2.5
Natty:
Report link

Cause three applies in my case. I switched from the default user model to a custom one after running migrations—midway through the project. To fix the issue, I deleted the database and existing migrations, then reapplied the migrations. That resolved the problem.

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

79646768

Date: 2025-05-31 16:12:28
Score: 0.5
Natty:
Report link

Javascript:

function num_en_fa (str) {
    const num_fa = ["Û°", "Û±", "Û²", "Û³", "Û´", "Ûµ", "Û¶", "Û·", "Û¸", "Û¹"];
    for (let i=0; i<10; i++) {
        str = str.replaceAll(String(i), num_fa[i]);
    }
    return str;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ehsan Paknejad

79646767

Date: 2025-05-31 16:11:28
Score: 1
Natty:
Report link

I had similar issue, while activating venv..

usage: conda-script.py [-h] [–no-plugins] [-V] COMMAND …
conda-script.py: error: argument COMMAND: invalid choice: ‘acivate’ (choose from ‘clean’, ‘compare’, ‘config’, ‘create’, ‘info’, ‘init’, ‘install’, ‘list’, ‘notices’, ‘package’, ‘remove’, ‘uninstall’, ‘rename’, ‘run’, ‘search’, ‘update’, ‘upgrade’, ‘build’, ‘content-trust’, ‘convert’, ‘debug’, ‘develop’, ‘doctor’, ‘index’, ‘inspect’, ‘metapackage’, ‘render’, ‘skeleton’, ‘token’, ‘pack’, ‘env’, ‘repo’, ‘verify’, ‘server’)

please try: conda init zsh

and then close and restart your terminal

this resolved my issue. Happy coding :)

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

79646766

Date: 2025-05-31 16:09:27
Score: 2
Natty:
Report link

Are you also facing an issue with unauthorized 401 errors? I'm experiencing a similar problem. I have an application registered in Azure with the following API permissions: User.Read, openid, offline_access, and Mail.Read.

When I sign in through the web client, the app receives an access token valid for 60 minutes. After the 60 minutes pass, the application tries to send a refresh token request, but it gets a 401 Unauthorized response, and the user is automatically logged out.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Antonio Ferreira

79646762

Date: 2025-05-31 16:02:26
Score: 2.5
Natty:
Report link

generally AND works in the same manner as in your language. When you are speaking, or when you are thinking do you understand how to use AND? Exactly the same sql does.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: Solt

79646759

Date: 2025-05-31 16:01:24
Score: 6.5 🚩
Natty:
Report link

may I ask a question? How to integrate Google Cloud Speech to Text V2 in Android to achieve real-time transcription of real speech into text? It is necessary to distinguish the speaker! It's really difficult to access, do you have a demo that can be provided

Reasons:
  • Blacklisted phrase (1): may I ask
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hayden

79646755

Date: 2025-05-31 15:52:22
Score: 2
Natty:
Report link
DÜZGÜN MASKE
KIRIŞIK ÖNLEYİCİ ZERO BÜRGÜN
ULİTESİ AİES BORUSU TÜRCÜ
NERESİNCE TERÜK BENZİN SERGİS EN SİPARİŞLER İÇİN 📱 Tel: 0552 571 33 15
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zero Sillah

79646751

Date: 2025-05-31 15:44:20
Score: 1
Natty:
Report link

I mainly used two ways to measure code execution time between Python scripts or parts of them.

Command line:
python3 -m timeit -n 1 -r 1 -p -u sec "import os; os.system('python3 myprogram.py')"

-m timeit invoke timeit module
-n 1 times you wan to execute the "statement" (== your 'python "program"/script/foo.py')
-r 1 times to repeat the timer (default 5)
-p measure process time, not wallclock time, using internally time.process_time() instead of time.perf_counter(), which is the default. Very handy if your program prompts the user for input at any step, not to count, for example, the time delay introducing input.
-u sec specify a time unit for timer output; can select nsec, usec, msec, or sec

Embedded in code:
time Python module.
As @Jeyekomon comments below the OP, time module is a very flexible, useful, fast and simple alternative putting measurement points wherever you want. Found here How do I get time of a Python program's execution:
import time << put this at the beginning of your code
start_time = time.time() << put this in the place you want to start measuring time. Just a snapshot of instant time.
print("--- %s seconds ---" % (time.time() - start_time)) << put this in the place you want to stop (and print) elapsed time. Just another snapshot of instant time and the subtraction respect to the previous.

Operating system alternative:
time operating system command. Present in Windows or Linux/UNIX. But check-out for implementation particular options and flags (man time).

Joint example using timeit (command-line) and time (Python module functions placed inside my code):
python3 -m timeit -n 1 -r 1 -p -u sec "import os; os.system('python3 myprogram.py')"
Tell me what term of the sequence you want to calculate: 3 (belongs to program prompt)
--- 1.0251998901367188e-05 seconds --- << output from embedded code (time functions)
2 (belongs to program output)
1 loop, best of 1: 0.000448 sec per loop << (shell) output from timeit

Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jeyekomon
  • Low reputation (0.5):
Posted by: nostromo

79646739

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

Restore your vehicle’s shine with professional paint correction in San Marcos, CA. Our expert technicians specialize in removing swirl marks, light scratches, oxidation, and other paint imperfections using cutting-edge polishing techniques and high-grade compounds. Whether your car has suffered from harsh weather, automatic car washes, or daily wear and tear, our multi-stage correction process revives the clarity and depth of your paintwork. Perfect for auto enthusiasts and luxury vehicle owners alike, our San Marcos paint correction service ensures a mirror-like finish and prepares your vehicle for long-lasting protection like ceramic coating.

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

79646734

Date: 2025-05-31 15:13:13
Score: 0.5
Natty:
Report link

An approach I tend to prefer more is by specifying the container's name (network_mode):

services:
  mycontainer1:
    image: myregistry/my-container1:latest
    ports: ['6666:7777']
  mycontainer2:
    image: myregistry/my-container2:latest
    network_mode: container:mycontainer1     # <---
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mattia Baldari

79646727

Date: 2025-05-31 15:05:11
Score: 2.5
Natty:
Report link

Refer to screenshot attached, you should check the Download external resources

Window >> Preferences >> XML
enter image description here

If problem still persists (because https://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd seems to be unreachable) refer to Hibernate issue with using http://www.hibernate.org/dtd on how to load the DTD from classpath that is included in Hibernate JAR

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

79646719

Date: 2025-05-31 15:00:10
Score: 0.5
Natty:
Report link

Docs

The LEFT join returns all rows in the "left" table. Adding the constraint on customers id isn't going to change that fact.

If you want to filter those rows, you need to use a where clause:

SELECT * FROM customers
LEFT OUTER JOIN salesman
ON customers.id = salesman.id
WHERE customers.id = 2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zhe

79646714

Date: 2025-05-31 14:52:08
Score: 2
Natty:
Report link

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAZACAYAAAC7mXxHAAAAAXNSR0IArs4c6QAAIABJREFUeF7s3Qd4FNX6wPHf7G56L6QSeu9FmkhHUBRFEb2IXuWqiF2v5c+1Xwv2XrBcC3bFgoqCgIA0kd57CQkESO91d+b/PLO7yWY32U3YJJtk8x6f+9xkd+bMmXfOzL7nnDlnFMMwDAQBQUAQEAQEAUFAEBAEBAFBQBAQBFqAgNQC5xSnFAQEAUFAEBAEBAFBQBAQBAQBQUAQUAkIAyIagiAgCAgCgoAgIAgIAoKAICAICAItRkAYkBZDL04sCAgCgoAgIAgIAoKAICAICAKCgDAgog0IAoKAICAICAKCgCAgCAgCgoAg0GIEhAFpMfTixIKAICAICAKCgCAgCAgCgoAgIAgIAyLagCAgCAgCgoAgIAgIAoKAICAICAItRkAYkBZDL04sCAgCgoAgIAgIAoKAICAICAK

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: Waris meer

79646711

Date: 2025-05-31 14:50:07
Score: 1.5
Natty:
Report link

There is now (2025-05-31) a very nice "suspend" button in the Azure Container App Job page:

screenshot of azure portal showing job suspend button

If you suspend the job, the "suspend" button turns into "resume":

screenshot of azure portal showing the resume button

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

79646709

Date: 2025-05-31 14:48:06
Score: 1.5
Natty:
Report link

There's a good and well-maintained VS Code extension now that does syntax highlighting (but not formatting): Wikitext

It looks great:

Image of vs code with wikitext extension

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

79646706

Date: 2025-05-31 14:47:06
Score: 0.5
Natty:
Report link
  1. is a given for everything I'd like to think of as text compression.

  1. Appending would be easy with compression stream/file formats with a clear code, as e.g. LZW; and some way to fill to a, say, octet(byte) boundary.
    Insertion is easy with a fixed dictionary.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): is a give
  • High reputation (-1):
Posted by: greybeard

79646696

Date: 2025-05-31 14:36:04
Score: 2
Natty:
Report link

I have been using this forum for years to successfully answer my own queries, but have never posted anything. I think I may have inadvertantly edited someone else's post instead of posting my own reply, apologies. This is what I intended to post:-

'To simply toggle a shape's visibility

Sub ToggleShape ()
    ActiveSheet.Shapes("MyShape").Visible = not ActiveSheet.Shapes("MyShape").Visible
End Sub

David

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

79646689

Date: 2025-05-31 14:23:01
Score: 0.5
Natty:
Report link

The error description returned with a 401 response, gives a recoverySuggestion: "If you're calling an Amplify-generated API, make sure to set the "authMode" in generateClient({ authMode: '...' })to the backend authorization rule's auth provider ('apiKey', 'userPool', 'iam', 'oidc', 'lambda')"

Applying this to the list query (goal is to allow read-access by default and apply a group-basis protection for create, update and delete), gives expected results :

todos_list(): Observable<Todo[]> {
        return from(this.registrationService.getCurrentUser()).pipe(
          map((authData: { userId?: string }) => {
                return authData.userId ? 'userPool' : 'identityPool'; }),       
          switchMap((authMode) => {
            return new Observable<Todo[]>((observer) => {
              const client = generateClient<Schema>();
              client.models.Todo.list({ authMode: authMode })
                .then(            // .... rest of code
 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Christian Renoux

79646688

Date: 2025-05-31 14:23:01
Score: 3.5
Natty:
Report link

Since Kubernetes v1.33, the tolerance can be adjusted per HPA: https://kubernetes.io/blog/2025/04/28/kubernetes-v1-33-hpa-configurable-tolerance/

It's an alpha feature, scheduled for graduation to beta in v1.34.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jean-Marc François

79646686

Date: 2025-05-31 14:19:00
Score: 2.5
Natty:
Report link

use a JsonSerde for value : org.springframework.kafka.support.serializer.JsonSerde

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

79646684

Date: 2025-05-31 14:15:59
Score: 4.5
Natty:
Report link

I got to the bottom of it. You can not use it (the indexing api) unless.. :

enter image description here

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

79646682

Date: 2025-05-31 14:14:58
Score: 0.5
Natty:
Report link

When you write mount_path=shared_data_mount_path, you're literally passing the parameter object itself, not its value. Airflow sees this and goes "what the hell?" and can't serialize it.

Working solution

Just use regular Airflow templates:

@dag(
    dag_id=PIPELINE_NAME,
    schedule=None,
    params={
        "command": "",
        "image": "python:3.13-slim", 
        "shared_data_mount_path": "/mnt/data/"
    }
)
def run_arbitary_command_pipeline():
    # your code...
    
    run_command = KubernetesPodOperator(
        task_id="run_arbitrary_command",
        cmds=["sh", "-c", "{{ params.command }}"],
        image="{{ params.image }}",
        volume_mounts=[k8s.V1VolumeMount(
            name=pvc_name, 
            mount_path="{{ params.shared_data_mount_path }}"  # this works
        )],
        # rest of your stuff...
    )

What was wrong

Your first attempt didn't work because you were passing the actual parameter object, not a template string. Airflow only knows how to process strings like "{{ params.something }}".

Your second attempt with explicit "{{ params.shared_data_mount_path }}" should have worked. If it didn't, maybe there was a typo somewhere or the parameter wasn't properly defined in params.

Try the solution above - should work without issues.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Wolf Dev

79646674

Date: 2025-05-31 14:04:55
Score: 3.5
Natty:
Report link

I also encountered the issue with FT_DEVICE_UNKNOWN when I tried to run the D2xxConsoleApp sample with my FT232R T on Ubuntu 24.04. I managed to get it working with
sudo dotnet run
after building the solution. If I publish the project as a single executable, I should also run it with sudo, e.g.
sudo ./MyApp
Otherwise, I always get FT_DEVICE_UNKNOWN and can't interact with the chip. Did you find any other solutions?
You should also make sure to unload the ftdi_sio module (used for Virtual COM Port emulation) for your FTDI device before using D2XX commands, as stated in the driver installation instructions.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Keyser Söze

79646661

Date: 2025-05-31 13:42:50
Score: 1
Natty:
Report link

You don't need to define version number in docker compose file anymore as it’s now obsolete. You can remove it or comment it out and ensure everything works well. See https://forums.docker.com/t/docker-compose-yml-version-is-obsolete/141313/2

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

79646657

Date: 2025-05-31 13:37:49
Score: 0.5
Natty:
Report link

Looks like more problems to connect to your database, not that it cannot connect to localhost. Try to add driver, looks like it's missing. Your error says "Failed to determine DatabaseDriver". Add "spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver".

Also pay attention to spring.jpa.hibernate.ddl-auto=update. Make sure, when you first time run application and want to create database for the first time to do spring.jpa.hibernate.ddl-auto=create. After its created, I normally change to spring.jpa.hibernate.ddl-auto=update and then the new modifications of database is updated during the further work.

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

79646656

Date: 2025-05-31 13:36:48
Score: 0.5
Natty:
Report link

When you first time apply electric to system Mpu6050 opens in sleep mode. You need to wake up the sensor. This code is from my own library and it works fine.

In first line I write "0" in "power management 1" register for wake up the sensor. After that communication starts and internal sensors (gyro + accelerometer) starts working.

void MPU6050::config(){
    write_byte(MPU6050_ADDR0, MPU6050_PWR_MGMT1, 0);                //Mpu6050 outoff the sleep mode
    write_byte(MPU6050_ADDR0, MPU6050_CONFIG, 0x02);                        //Mpu6050 low pass filter set to 3ms
    write_byte(MPU6050_ADDR0, MPU6050_ACCEL_CONF, accel_fs_reg);            //Mpu6050 Accel Set to 2g mode default
    write_byte(MPU6050_ADDR0, MPU6050_GYRO_CONF,  gyro_fs_reg);             //Mpu6050 Gyro  Set to 250 degre/sec default
    delay(30);                                                              //For Gyroscope Startup Time
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: RasimGök

79646655

Date: 2025-05-31 13:36:48
Score: 1.5
Natty:
Report link

For spring 3.x.x just add lombok as an annotation processor. You will be good

annotationProcessor 'org.projectlombok:lombok'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chris

79646637

Date: 2025-05-31 13:14:43
Score: 1
Natty:
Report link

AWS Kinesis Firehose is like a smart delivery truck that takes streaming data (like logs, clicks, or social media feeds) and sends it directly to places like Amazon S3, Redshift, or Elasticsearch — without you having to lift a finger! Once your data is there, Data Analytics tools step in to make sense of it — spotting trends, patterns, and insights that help your business make faster, smarter decisions.

Why It’s Awesome: Real-time data delivery with no coding hassle , Automatic scaling — it grows with your data , Seamless integration with analytics tools , Perfect for dashboards, alerts, and insights.

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

79646635

Date: 2025-05-31 13:08:41
Score: 5
Natty:
Report link

I got to the bottom of it. You can not use it (the indexing api) unless.. :

enter image description here

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

79646634

Date: 2025-05-31 13:05:40
Score: 2.5
Natty:
Report link

I use bluepill before and it has LED connectted to C13 pin. But in reverse!!. When you output logic low then LED lights up. When you output logic high LED turns off. Maybe your Nucleo board has same connection type.

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

79646626

Date: 2025-05-31 12:55:37
Score: 4.5
Natty: 4
Report link

okok bro chilllll brooo I WONT

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

79646623

Date: 2025-05-31 12:52:36
Score: 1
Natty:
Report link

For me, the issue seemed to be that I had "private": true in my workspace root package json & some of the individual workspace package JSONs. After removing it, the issue seemed to go away. I'm not entirely sure why this is the case it seems unintuitive to me, but there's probably a good reason for it.

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

79646609

Date: 2025-05-31 12:19:28
Score: 1
Natty:
Report link
Picasso.get().load(clienLogoUrl).placeholder(R.drawable.companylogo).error(R.drawable.companylogo).noFade().into(imageView);

If you are displaying a logo or any image dynamically, resize it to a smaller size (in KB) to avoid memory issues. This will resolve the issue.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Priti1789

79646592

Date: 2025-05-31 12:00:23
Score: 2.5
Natty:
Report link

Maybe you and I made the same mistake haha. Since there are two layers of directories when unzipping, I only wrote D:apache-jmeter-5.6.3 at the time, but the actual directory is D:apache-jmeter-5.6.3apache-jmeter-5.6.3.

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

79646590

Date: 2025-05-31 11:58:23
Score: 3
Natty:
Report link

The syntax is used for comments in jinja 2 a templating engine used in with pathon framworks like flash dajango. Ialso came across crystal pro max

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

79646588

Date: 2025-05-31 11:52:21
Score: 2
Natty:
Report link

It must be a wrong apk build. you might have mistakenly built the development apk which needs your physical device to be connected with your system via USB Debugging or same internet network. Try building a preview apk which is the actual apk file that runs standalone.If you aim is to run the development apk try running your development server in your system first and then connect your physical device and your System via USB or connect both the devices to a common network.

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

79646577

Date: 2025-05-31 11:34:17
Score: 2
Natty:
Report link

Downgrading to "nette/di": "3.2.4"solved the issue. In my case, i just had to set "prefer-stable": true in composer.json.

The problem turned out to be in Nette\DI itself. It was quite a ride to debug, because the problem only manifests itself, when running PHP without a debugger! With a debugger enabled, the container gets created with the proper function, which is supposed to be:

public function createServiceHttp__request(): Nette\Http\Request
{
    return $this->getService('http.requestFactory')->fromGlobals();
}

Thanks to user @rixafy on the Nette Discord server who proposed downgrading as the solution.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rixafy
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matesaktesak

79646572

Date: 2025-05-31 11:28:16
Score: 2.5
Natty:
Report link

https://orgfarm-60889e5de0-dev-ed.develop.my.salesforce.com/services/data/v64.0/query/?q=SELECT+Id,+Name+FROM+Account+WHERE+Name+%3D+%27pulsegen%27

i am also using this query to fetch all the cases but i am unable to getting this error

[
    {
        "errorCode": "NOT_FOUND",
        "message": "The requested resource does not exist"
    }
]
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30683771

79646567

Date: 2025-05-31 11:22:14
Score: 3
Natty:
Report link

Can you confirm if the MySQL instance is accessible on the specified port (3306) via a browser, terminal, or another tool? It's also possible that the issue is caused by the ${DB_PASSWORD} environment variable not being set correctly. As a debugging step, you can temporarily disable JDBC session initialization by setting spring.session.store-type=none in application.properties.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Sanay Shah

79646551

Date: 2025-05-31 11:02:09
Score: 1.5
Natty:
Report link

The error you're seeing means that the Dart SDK version you're currently using (2.10.0)

is not compatible with the version of the path package you're trying to use (1.8.0

nullsafety.3).This version of the path package requires a Dart SDK version between 2.12.0

and below 3.0.0.

To fix this issue, you have two options:

Upgrade your Dart SDK to version 2.12.0 or higher (but less than 3.0.0),

OR

Downgrade the path package to a version that is compatible with Dart SDK 2.10.0

Happy Coding

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

79646533

Date: 2025-05-31 10:38:03
Score: 1.5
Natty:
Report link

for tailwind just add

<textarea className="resize-none" />
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: abdelrahman aboneda

79646529

Date: 2025-05-31 10:31:01
Score: 1.5
Natty:
Report link

i was using java 1.8 so i did following:

kotlin {
    compilerOptions {
        jvmTarget.set(JvmTarget.JVM_1_8)
    }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Athar Gul

79646521

Date: 2025-05-31 10:22:59
Score: 1
Natty:
Report link

Well. I provided the wrong parameter there. So that function didn't work. Its a working function.

you have to take these,

accesstoken = your access token

other params -

    $raw_input = file_get_contents('php://input');
    if(!empty($raw_input)){
        $input = json_decode($raw_input, true); 
        $messageId = $input['entry'][0]['changes'][0]['value']['messages'][0]['id'];
         $phoneId = $input['entry'][0]['changes'][0]['value']['metadata']['phone_number_id'];
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dip Chakraborty

79646519

Date: 2025-05-31 10:19:58
Score: 1
Natty:
Report link

Mounting the app on my docker volume for celery solved it for me

celery:
    build:
      context: .
      dockerfile: ./docker/Dockerfile
    command: celery -A config.celery_app worker --loglevel=info
    depends_on:
      - django
      - redis
    volumes:
      - ./:/app
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Novend

79646518

Date: 2025-05-31 10:18:58
Score: 1.5
Natty:
Report link

No there isn't. The official documenation is out-of-date garbage.

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

79646504

Date: 2025-05-31 09:56:53
Score: 1
Natty:
Report link

The "old" TraCIAPI is considered deprecated. Please use libtraci and find examples on how to use it here: https://sumo.dlr.de/docs/Libtraci.html#c

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

79646501

Date: 2025-05-31 09:53:52
Score: 0.5
Natty:
Report link

SUMO saves some values in the registry. On Linux (and probably macOS) you can find those values in $HOME/.foxrc and if you are fine with resetting to the defaults you can just delete the directories sumo-gui and netedit inside.

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

79646500

Date: 2025-05-31 09:53:52
Score: 1.5
Natty:
Report link

Just add your /opt/ros/melodic/setup.bash to the end of /etc/profile.

That works right for me.

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

79646497

Date: 2025-05-31 09:48:51
Score: 2.5
Natty:
Report link

I think you need set up redirect url and sign in flow in your account, add correct url(s), follow documentation.

Check this link https://firebase.google.com/docs/auth/web/start

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Archil Labadze

79646491

Date: 2025-05-31 09:42:49
Score: 0.5
Natty:
Report link

Yes, you need to downgrade SUMO or upgrade Veins.

For a list of compatible versions see https://veins.car2x.org/download/#compatibility

For Veins 5.2 it reports SUMO 1.11.0 as the newest possible version

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

79646485

Date: 2025-05-31 09:36:47
Score: 3
Natty:
Report link

add related assembly line on web.config in views forder

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Serdar KUÅž

79646482

Date: 2025-05-31 09:36:47
Score: 3.5
Natty:
Report link

Days like this, makes me acknowledge the flexibility of JS.

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

79646481

Date: 2025-05-31 09:33:46
Score: 1
Natty:
Report link

The most voted answers did not work for me on Windows 11. After a bit of fiddling and checking 7zip's command line options, I came up with this:

for /d %%X in (*) do ("C:\Program Files\7-Zip\7z.exe" a -tzip -r "%%X.zip" "%%X/*" )

Using this line in a batch file and executing said batch inside the desired main folder, all subfolders (with their respective contents) are zipped into individual zip files.

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ale2x72

79646478

Date: 2025-05-31 09:30:45
Score: 4
Natty:
Report link

pdf.insert_image("images/muze_dis.jpg", width=120)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hayrül Nisa Taşdemir

79646463

Date: 2025-05-31 09:09:35
Score: 10 🚩
Natty:
Report link

I Installed These 4 Dependencies But Still Getting Same Error even I Run the App Again? :-

npm install @react-navigation/native
npm install @react-navigation/native-stack
npm install react-native-screens react-native-safe-area-context
npm install react-native-reanimated

I am Getting the Same Error When I Run MainScreen Instead of NavigationContainer then it Works fine?

Please Help me. I am New to ReactNative and I am Getting this Type of Error.

Reasons:
  • Blacklisted phrase (1): Help me
  • RegEx Blacklisted phrase (3): Please Help me
  • RegEx Blacklisted phrase (1): I am Getting the Same Error
  • RegEx Blacklisted phrase (1.5): I am New
  • Has code block (-0.5):
  • Me too answer (2.5): Getting Same Error
  • Me too answer (0): I am Getting the Same Error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Abdullah Hameed

79646452

Date: 2025-05-31 08:52:31
Score: 1
Natty:
Report link

Found the solutions it was just simple as using user to pull the notifications and specify the array.

$notification = $user->notifications;
$response = $this->postJson("/api/notifications/{$notification[0]->id}");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TheBetweener

79646423

Date: 2025-05-31 08:15:20
Score: 8.5 🚩
Natty: 4
Report link

How did you resolve this issue? I'm still experiencing it, and there's no way to know exactly why it's happening.

Reasons:
  • RegEx Blacklisted phrase (3): did you resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How did you
  • Low reputation (1):
Posted by: Nitesh Kumar

79646422

Date: 2025-05-31 08:10:19
Score: 1
Natty:
Report link

I tried all the suggestions from here like use of config.setAllowedOrigins instead of config.addAllowed() but in my case I had

@CrossOrigin(origins = "*")

added before my controller which was causing this. Removing this resolved the error.

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

79646421

Date: 2025-05-31 08:08:19
Score: 0.5
Natty:
Report link

I don't believe you should explicitly include the offline_access scope when using Cognito. Based on my testing, refresh tokens are still enabled in Cognito even without the offline_access. The Cognito UI currently states that refresh tokens are always enabled:

Refresh token authentication is always enabled.

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

79646414

Date: 2025-05-31 07:54:16
Score: 1.5
Natty:
Report link

If you are using Windows then use the Win32 API function GetAsyncKeyState(); or if you know Win32API well then use WM_KEYDOWN message. Though assuming you would not want to do multithreading and all, your best bet is GetAsyncKeyState();

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

79646413

Date: 2025-05-31 07:53:15
Score: 1
Natty:
Report link

A simple workaround for this.

At the end of the button's click event, change the focus to another component such as a label.

Label1.Focus();

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

79646410

Date: 2025-05-31 07:47:14
Score: 1.5
Natty:
Report link

This instruction should fix the issue GitLens blame fails silently when ignoreRevsFile points to missing .git-blame-ignore-revs.

Fix:

Local (per repo):

bash git config --unset blame.ignoreRevsFile

or

touch .git-blame-ignore-revs Global (all repos):

bash git config --global --unset blame.ignoreRevsFile Why: Removes invalid reference so git blame works normally.

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

79646400

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

My issue was fixed when I changed the wwwroot/index.html
and changed this line from: <link href="{OldProjectName}.styles.css" rel="stylesheet" />
into: <link href="{NewProjectName}.styles.css" rel="stylesheet" />

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

79646394

Date: 2025-05-31 07:14:06
Score: 1.5
Natty:
Report link

Just add your /opt/ros/<ros_name>/setup.bash to the end of /etc/profile.

This problem is caused by that Jetbrains Pycharm don't inherit the symbols of ros2 in the setup.bash.

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

79646392

Date: 2025-05-31 07:12:06
Score: 3
Natty:
Report link

For such purposes I have created VSCode "Interactive Script" extension https://marketplace.visualstudio.com/items?itemName=andriy-viyatyk.interactive-script You may find it useful.

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

79646391

Date: 2025-05-31 07:12:06
Score: 0.5
Natty:
Report link

Try hotspotting from your phone (your mobile internet) — that’s what worked for me.

I had tried restarting my PC and disabling IPv6, but those didn’t help. Then I came across this comment, and using a mobile hotspot somehow bypassed whatever was causing the issue.

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

79646380

Date: 2025-05-31 06:29:57
Score: 0.5
Natty:
Report link
<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="Generic.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>
Add the reference in app.xaml 
It resolved rendering of repeat button.
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dilipkumar katre

79646363

Date: 2025-05-31 05:55:51
Score: 11
Natty: 7
Report link

VC.One Any chance you could help me with the video link on this website?

https://www.oprahdaily.com/life/health/a60649155/oprah-teen-mental-health-crisis-conversation/?fbclid=IwY2xjawKndcxleHRuA2FlbQIxMQABHoc0cEIqH16yO2IFOQuKMGYF2pTAvU9AbF1FdDRk7OCa_2xXlukTbbtcFyNY_aem_TIh8H4SK0cjoLQlQJoS2ew

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): video link
  • RegEx Blacklisted phrase (3): you could help me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Aimee Maloney

79646356

Date: 2025-05-31 05:43:49
Score: 0.5
Natty:
Report link

Sure. Your compression algorithm (and decompression algorithm) is the identity function.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Mark Adler

79646353

Date: 2025-05-31 05:41:48
Score: 2
Natty:
Report link

There was a Swift feature defined in SwiftPM System Module Search Paths

Available since swift 3.0

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

79646337

Date: 2025-05-31 05:14:43
Score: 1
Natty:
Report link

drizzle generate types base on your select query, you can get return types like this:

type PricesProps = {
  subscription?: Awaited<ReturnType<typeof getSubscription>>;
};
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NullEe

79646319

Date: 2025-05-31 04:32:34
Score: 3
Natty:
Report link

use cmd instead of vscode terminal or PowerShell

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

79646316

Date: 2025-05-31 04:20:32
Score: 2.5
Natty:
Report link

I managed to track down where setFactory is defined.

https://github.com/nette/di/blob/master/src/DI/Definitions/ServiceDefinition.php#L62

https://github.com/nette/di/blob/master/src/DI/Definitions/Statement.php#L34

https://github.com/nette/di/blob/master/src/DI/Definitions/Reference.php#L39

Maybe with this will provide you the information you need to finish debugging the issue. I'm not a Nette user myself so it doesn't really tell me much but it might be just what you need.

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

79646295

Date: 2025-05-31 03:32:21
Score: 1
Natty:
Report link

I don't think it will affect the cold start period of lambda as you have already installed bundle present. If you were to install at runtime, then the cold start would be longer.

Sometimes packages in a different language can be heavier. The best you can do is use libraries that are lighter and then there is scope for reducing size. However this 9MB size is also fine, no issues with that. We have deployed code much heavier than this and it was not slow.

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

79646290

Date: 2025-05-31 03:13:18
Score: 2.5
Natty:
Report link

The simpliest way that works everytime on my side:

1.Go to task manager
2.Search for "mysqld"
3.End task then restart Xampp
That's it!

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

79646287

Date: 2025-05-31 03:07:16
Score: 2
Natty:
Report link

I have found the problem. The xml executable available to my PATH, that comes from my Oracle instalation, is probably too old and do not support the "sel" argument. I removed it from the path and added the xml executable from xml to my path. I removed the building folder and the source to be sure I restart from a clean project. The nmake is already building from 30 minutes, so at least the original problem was solved

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

79646286

Date: 2025-05-31 03:07:16
Score: 1
Natty:
Report link

Yes, you can easily update the list after submitting the form using HTMX attributes.

Assuming your form posts to `/todos` and your list has `id="todo-list"`, you can add these attributes to your form:

`<form hx-post="/todos" hx-target="#todo-list" hx-swap="beforeend">`

Then, your `/todos` endpoint should return *only the HTML for the new todo item* (e.g., a `<div>` or `<li>`). HTMX will automatically append this HTML to the end of the `#todo-list` element upon a successful response.

This avoids needing any client-side JavaScript to handle the update.

I wrote a step-by-step guide showing this exact pattern for a Todo app, comparing it to the React way:

https://beyondit.blog/blogs/Replace-Your-Entire-React-App-with-20-Lines-of-HTMX-A-Step-by-Step-Guide

Key things for your server endpoint:

1. Process the form data.

2. Save the new todo.

3. Render *just the HTML fragment* for the new item.

4. Send that fragment as the response.

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

79646272

Date: 2025-05-31 02:14:06
Score: 2.5
Natty:
Report link

As @JoelCoehoorn pointed out, C# arrays (string[]) are fixed-size, making them unsuitable for dynamic collections where the size is unknown. Instead, a List<string> is ideal for this scenario, as it can grow dynamically. @Progman noted that the provided code snippet is incomplete (e.g., missing declaration of i and unclear purpose of choice). Since the full context isn't provided, I assume you're trying to group consecutive identical characters into substrings (e.g., ['a', 'a', 'b', 'b', 'b'] becomes ["aa", "bbb"]). If your goal is different (e.g., fixed-length substrings or another pattern), please clarify for a more tailored solution.

Below is a complete C# solution that:

C# Solution

    using System;
    using System.Collections.Generic;
    using System.Text;
    
    public class Example
    {
        public static void Main(string[] args)
        {
            // Sample input array for testing
            char[] chars = { 'a', 'a', 'b', 'b', 'b', 'c', 'c', 'd' };
    
            // Validate input to handle null or empty arrays
            if (chars == null || chars.Length == 0)
            {
                Console.WriteLine("Error: Input array is null or empty.");
                return;
            }
    
            // Use List<string> to store substrings dynamically
            List<string> substrings = new List<string>();
    
            // Initialize StringBuilder for efficient string construction
            StringBuilder sb = new StringBuilder();
    
            // Start with the first character
            sb.Append(chars[0]);
    
            // Loop through the array starting from the second character
            for (int i = 1; i < chars.Length; i++)
            {
                // If the current character matches the previous one, append it
                if (chars[i] == chars[i - 1])
                {
                    sb.Append(chars[i]);
                }
                else
                {
                    // If the character changes, save the current substring and start a new one
                    substrings.Add(sb.ToString());
                    sb.Clear(); // Reset StringBuilder for the next group
                    sb.Append(chars[i]); // Start new substring with current character
                }
            }
    
            // Add the last substring after the loop
            if (sb.Length > 0)
            {
                substrings.Add(sb.ToString());
            }
    
            // Display the generated substrings
            Console.WriteLine("Generated substrings:");
            foreach (string s in substrings)
            {
                Console.WriteLine(s);
            }
        }
    }

For the input char[] chars = { 'a', 'a', 'b', 'b', 'b', 'c', 'c', 'd' }, the output is:

Generated substrings:
aa
bbb
cc
d

This solution should meet your needs for dynamically adding substrings to a collection.

Reasons:
  • RegEx Blacklisted phrase (2.5): please clarify
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JoelCoehoorn
  • User mentioned (0): @Progman
  • Low reputation (0.5):
Posted by: João Mac

79646271

Date: 2025-05-31 02:07:04
Score: 1.5
Natty:
Report link

I suggested that you look at Convert columnar data to multiple rows. with an answer by @rockinfreakshow.

Use this formula:

={"Name","Contacts";tocol({A2:B6}),tocol(C2:D6)}


Results

results

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @rockinfreakshow
  • High reputation (-1):
Posted by: Tedinoz