79544633

Date: 2025-03-30 13:16:48
Score: 2.5
Natty:
Report link

from cmd
echo. >file1.txt & echo. >file.txt

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Milan Kumar

79544626

Date: 2025-03-30 13:10:47
Score: 1
Natty:
Report link

SOLUTION FOUND

instead of using the dynamic resource directly in tint color i used a 'zombie element'

<Label x:Name="Ref" BackgroundColor="{DynamicResource MyColor}" IsEnabled="False" IsVisible="False" />

and then used it as a refrence in TintColor

<toolkit:IconTintColorBehavior TintColor="{Binding Source={x:Reference Ref}, Path=BackgroundColor}" />
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ibrahim taleb

79544616

Date: 2025-03-30 12:59:45
Score: 2.5
Natty:
Report link

there is a function called hour.

Maybe it will help you

for HOUR(TIMEVALUE("17:30:45.125")) returns 17.

https://help.salesforce.com/s/articleView?id=platform.customize_functions_hour.htm&type=5

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

79544615

Date: 2025-03-30 12:58:45
Score: 1
Natty:
Report link

Looks like you are parsing CSV data. Try to use csv.reader and rewrite file reading section this way:

import csv

# ...

for i in range(nbr_files):
    param_file = "./param_file_no_{0:0>9d}.txt".format(i)
    with open(param_file, 'r') as f:
        for row in csv.reader(f):
            [param1, param2_txt, param3, param4_txt, param5_txt] = row
            # ...

Also you could try to use Pandas or Polars for this, which are very optimized for column-based data and provide handy methods for working with CSV:

https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html

https://docs.pola.rs/api/python/dev/reference/api/polars.read_csv.html

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

79544605

Date: 2025-03-30 12:49:43
Score: 3.5
Natty:
Report link

For me helped deleting the centeredSlides feature (in react)

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

79544596

Date: 2025-03-30 12:40:41
Score: 2
Natty:
Report link

Check under the external dependencies/libraries in your project in whatever ide you are using, for the slf4j dependency/library and see where its coming under,apart from the actual sl4j dependency ,under the external dependencies/libraries,if it appears in more than one place ,one of the dependencies needs to be removed ,so if you want to use slf4j logging statements ,you can try using the slf4j from the other dependency/library not from original slf4j dependency/library

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

79544584

Date: 2025-03-30 12:28:39
Score: 1
Natty:
Report link

For torch>=2.0.1, use torch.distributed.run:

{
  "name": "train",
  "type": "debugpy",
  "request": "launch",
  "module": "torch.distributed.run",
  "args": [
    "--nnodes=1",
    "--nproc_per_node=8",
    "train.py"
  ],
  "console": "integratedTerminal"
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: xiao

79544574

Date: 2025-03-30 12:15:36
Score: 0.5
Natty:
Report link

In the notification rules, press edit.

In the bottom there will appear Edit Branch Filter: bar.

It defaults to +:<default>

If you want to get notifications on all things, write there +:*

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

79544573

Date: 2025-03-30 12:15:36
Score: 7 đŸš©
Natty:
Report link

Can you guys guide me the steps with explaination to use postgresql as db in django what steps is necessary to connect it ? i am beginner i tried to understand through gpt but can't

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2): i am beginner
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: M Haseeb Ali

79544571

Date: 2025-03-30 12:12:35
Score: 0.5
Natty:
Report link

Thanks to Sweeper for the solution. To fix, I updated the code like this:

func requestIDFA() {
    Task { @MainActor in
        let status = await ATTrackingManager.requestTrackingAuthorization()
        handleATTStatus(status)
    }
}

func handleATTStatus(_ status: ATTrackingManager.AuthorizationStatus) {
    switch status {
    case .authorized:
        print("ATT: User authorized tracking")
    case .denied:
        print("ATT: User denied tracking")
    case .restricted:
        print("ATT: Tracking is restricted")
    case .notDetermined:
        print("ATT: User has not made a choice")
    @unknown default:
        print("ATT: Unknown status")
    }
}

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

79544568

Date: 2025-03-30 12:11:35
Score: 2.5
Natty:
Report link

Not sure I understand your use case, but if the problem is that you get duplicates in your aggregation, maybe you can try to use distinct on your string aggregations:

https://docs.djangoproject.com/fr/5.1/ref/contrib/postgres/aggregates/#stringagg

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

79544567

Date: 2025-03-30 12:10:34
Score: 2.5
Natty:
Report link

useState() in nuxt3 is absolute dogshit. Recommend using Pinia @pinia/nuxt as nuxt module. Nobody needs a "ssr friendly" (pathetic description dear nuxt team) state managment

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

79544564

Date: 2025-03-30 12:08:33
Score: 6 đŸš©
Natty: 4.5
Report link

Is issue is solved? I have the same

Reasons:
  • RegEx Blacklisted phrase (1.5): solved?
  • Low length (2):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Igor Lyalin

79544557

Date: 2025-03-30 12:00:32
Score: 2
Natty:
Report link

User setting UI

Using Ctrl+shit+p and Preference: User Settin(UI). In the setting under user tab checking the Tailwind CSS:Emment Completions solved it for me.

Not important for this but for safer side I was working with Vite + React and added tailwind at later point of the project.

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

79544550

Date: 2025-03-30 11:55:31
Score: 2
Natty:
Report link

If its large project consisting of many poms first you can build the individual project or run the individual project from intellij ,if you do maven/gradle build from intellij it will be giving an option in advanced configurations to run with test cases,you can check once by either building the individual module with test cases or running the module with test cases

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

79544541

Date: 2025-03-30 11:48:29
Score: 0.5
Natty:
Report link

It's officially supported since Django 5.1:

Simply FileSystemStorage(..., allow_overwrite=True)

or

STORAGES = {
    "default": {
        "BACKEND": "django.core.files.storage.FileSystemStorage",
        "OPTIONS": {
            "allow_overwrite": True,
        },
    },
}

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JĂĄnos Roden

79544536

Date: 2025-03-30 11:47:29
Score: 2.5
Natty:
Report link

You can try to uninstall VirtualBox depending on the context, if you have the file locked, you can try to uninstall it by going to the original file and right click on filelocksmith, and if the file is not locked, you can uninstall all the file and reinstall the software.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Esteban MarĂ­n AstĂșa

79544534

Date: 2025-03-30 11:46:28
Score: 0.5
Natty:
Report link

//@version=5 strategy("RSI Strategy with 1% TP/SL", overlay=true)

// RSI settings rsiLength = 14 rsiOverbought = 70 rsiOversold = 30 rsi = ta.rsi(close, rsiLength)

// Entry conditions longCondition = ta.crossover(rsi, rsiOversold) shortCondition = ta.crossunder(rsi, rsiOverbought)

// Define stop-loss and take-profit levels longSL = strategy.position_avg_price * 0.99 // 1% stop-loss longTP = strategy.position_avg_price * 1.01 // 1% take-profit shortSL = strategy.position_avg_price * 1.01 // 1% stop-loss for short shortTP = strategy.position_avg_price * 0.99 // 1% take-profit for short

// Execute trades if (longCondition) strategy.entry("Long", strategy.long) strategy.exit("Long TP/SL", from_entry = "Long", limit = longTP, stop = longSL)

if (shortCondition) strategy.entry("Short", strategy.short) strategy.exit("Short TP/SL", from_entry = "Short", limit = shortTP, stop = shortSL)

// Plot RSI for reference plot(rsi, title="RSI", color=color.blue) hline(rsiOverbought, "Overbought", color=color.red) hline(rsiOversold, "Oversold", color=color.green)

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

79544533

Date: 2025-03-30 11:45:28
Score: 3
Natty:
Report link

Fixed by giving azure sql storage permission On Azure and app id read permission to the workspace of Fabric

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

79544523

Date: 2025-03-30 11:39:27
Score: 0.5
Natty:
Report link

If I understand correctly, you want to change the permissions of each individual directory along a tree path, creating each directory beforehand if it doesn't exist.

I don't think that there is a function doing exactly that, and I don't know any other way than changing each directory of the path. That means in a loop.

Except if you accept to :

  1. rely on the OS commands

  2. Change also the directories files permissions

Then you could issue a "chmod -R" shell command on the top-most directory.

What is dest_root"? Shouldn't it be current_dir ?

If you just need to create a directory tree with the given permissions, os.makedirs as a mode parameter.

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

79544521

Date: 2025-03-30 11:38:26
Score: 1
Natty:
Report link

The logcat error you're facing has to do with the `SurfaceView` and the logging time statistics in Android. In fact, these messages indicate that `SurfaceView` time records have reached their maximum size: 64 entries. This is actually more of a warning than it is an error, and under most circumstances, it shouldn't affect the working of your game in any manner. The flood of these messages, however, complicates checking for other problems.

Here are a couple of steps to resolve the problem at hand:

1. Update Unity and Android SDK

2. Check SurfaceView Utilization

3. Decrease Logging Levels

4. Profile Your Game

5. Keep a lookout for Known Issues

6. Make Changes in the Rendering Pipeline

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

79544517

Date: 2025-03-30 11:35:26
Score: 1.5
Natty:
Report link

That's GitHub Copilot, either uninstall the extension or disable the extension. Use this setting in your vs code to turn this feature off:

"editor.inlineSuggest.enabled": false
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pulkit Garg

79544515

Date: 2025-03-30 11:34:25
Score: 0.5
Natty:
Report link

This is a very beginner level mistake I would say please check your CORS origin list carefully.

Make sure your frontend and backend domain matches properly, for example http://localhost:9000 and http:127.0.0.1:9000 is not same according to the cors origin list. Also there should be no slash at the end of your domain.

origins = [
    "http://localhost:3000",  # React frontend
    "http://127.0.0.1:3000"
]

For safety reason do something like this ->

origins = [
    "http://localhost",  # React frontend
    "http://127.0.0.1",  # React frontend
    "http://localhost:3000", # React frontend
    "http://127.0.0.1:3000"  # React frontend
]
Reasons:
  • RegEx Blacklisted phrase (1): I would say please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aniket

79544511

Date: 2025-03-30 11:28:24
Score: 3
Natty:
Report link

In fact, I have recently used a very useful PDF Converter, but I don’t know if it uses Java as you said, because I don’t know much about it. If it can help you, that would be the best.

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

79544499

Date: 2025-03-30 11:18:22
Score: 0.5
Natty:
Report link

This happens because Vercel needs to be told to always serve index.html for routes in Single Page Applications (SPA). By default, Vercel tries to look for a physical file at the path but React uses the same index.html for all routes.

To fix this issue, add a rewrites rule in the vercel.json file to make sure the index.html is always served.

Create or update vercel.json at the root of your project

{
  "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}

Deploy the changes to Vercel, and now your app should work fine when you refresh or directly access any route.

This ensures Vercel will serve index.html for all requests, allowing React Router to take care of routing.

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

79544495

Date: 2025-03-30 11:15:22
Score: 2
Natty:
Report link

import synapse.ml

from synapse.ml.cognitive import *

from pyspark.sql.functions import col

input_df = spark.sql("SELECT id,inreplyto,name,userid,emailaddress,subject,comment FROM default.mycomment")

sentiment_df = (TextSentiment()

.setTextCol("comment")

.setLocation("eastus").setEndpoint("#####################")# Fill LangService EndPoint

.setSubscriptionKey("################################")# File LanguageServiceKey

.setOutputCol("sentiment")

.setErrorCol("error")

#.setLanguageCol("language")

.transform(input_df))

display(sentiment_df.withColumn("sentiment",col("sentiment").getItem("document").

getItem("sentences[0].getItem("sentiment")).select("id","inreplyto","name","userid","emailaddress",

"subject","comment", "sentiment"))

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): #####################
  • Filler text (0): ################################
  • Low reputation (1):
Posted by: dipi

79544492

Date: 2025-03-30 11:14:21
Score: 1
Natty:
Report link

If anyone else encounters the same issue, to fix it, add the following line to the package.json: ' type": "module", under version or name.

Also, next.config.js needs to be either .js or mjs; ts or mts won't work.

After all of this, you still need to use the code from the question to generate the static pages using the function generateStaticParams. It needs to be named generateStaticParams.

Also, instead of using the nextjs dynamic routes with [slug] I think it's better to just use query like in the answer from @Yahya Aghdam

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Yahya
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Oliver

79544490

Date: 2025-03-30 11:13:21
Score: 2
Natty:
Report link

By default the application.log and application-xxxx.log will created because that is specified in the application.properties due to logging.file.name and logging.logback.filenamepattern,when you start the scheduler capture the currentdatetime ,pass the currentdate time as a parameter to create a file and forwardingly write the logging statements there,before the scheduler stops capture the currentdatetime again and rename that file

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

79544476

Date: 2025-03-30 11:00:18
Score: 2
Natty:
Report link

rfm69 in Node-Red

Thanks for the Post everyone. Helped me a lot.

Following is my install steps:

cd /usr/lib/node_modules
sudo npm install -g spi-device
sudo npm install -g [email protected]
sudo apt install git

cd /usr/lib/node_modules/node-red/node_modules
sudo git clone https://github.com/AndyFlem/rfm69radio.git
cd /usr/lib/node_modules/node-red/node_modules/rfm69radio
sudo npm install
sudo npm audit fix

cd /usr/lib/node_modules/node-red
pi@raspberrypi:/usr/lib $ sudo npm install -g node-red-contrib-rfm69radio
sudo npm install node-red-contrib-rfm69radio

Results:
added 1 package, and removed 524 packages in 4s
2 packages are looking for funding
  run `npm fund` for details
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Helped me a lot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Daniel

79544456

Date: 2025-03-30 10:43:16
Score: 0.5
Natty:
Report link

The RX 570 does not support hardware accelerated ray tracing. Querying features for extensions not supported by an implementation is undefined behaviour. That's exactly what the validation error is trying to tell you.

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

79544447

Date: 2025-03-30 10:31:13
Score: 6.5 đŸš©
Natty:
Report link

Is it required to put fetchtype.lazy on supercampaign attribute? The only place where the supercampaignid is used in the where clause as per what you have put in the @JoinColumn on supercampaign it should be referring to the list of campaign in the parent class by its id ,so,did you check removing manytoone attribute?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @JoinColumn
  • Single line (0.5):
  • Starts with a question (0.5): Is it
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Steffi Das

79544445

Date: 2025-03-30 10:30:12
Score: 4.5
Natty: 5.5
Report link

https://fluca1978.github.io/2024/02/08/PostgreSQL16DevPerlIPCRun.html gives you an answer that works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30109883

79544444

Date: 2025-03-30 10:30:12
Score: 4.5
Natty:
Report link

how to insert image in mysql serve

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how to in
  • Low reputation (1):
Posted by: Kha Nguyen

79544438

Date: 2025-03-30 10:23:11
Score: 0.5
Natty:
Report link

The zoom CSS property is a simple way to do this now that is now widely supported. This works perfectly and couldn't be easier. The only caveat is that it is only widely available since May 2024. https://caniuse.com/css-zoom

<img src="https://picsum.photos/300/400" style="zoom:50%">

https://developer.mozilla.org/en-US/docs/Web/CSS/zoom

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

79544436

Date: 2025-03-30 10:22:10
Score: 0.5
Natty:
Report link

Please follow the following steps to get pip for python2

sudo su
apt update
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
python2 get-pip.py
python2.7 -m pip install setuptools
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aditya Sharma

79544435

Date: 2025-03-30 10:22:10
Score: 4.5
Natty:
Report link

Regarding this type of issues , i also used ag grid in my project and it works perfectly fine on my pc locally and when i deployed the app it also appeared and worked as expected but only on my pc , when i checked the deployed app on my mobile phone , the ag grid table didn't show , only the data showed

can anyone help

Reasons:
  • RegEx Blacklisted phrase (3): can anyone help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Richard Okoro

79544433

Date: 2025-03-30 10:21:10
Score: 2
Natty:
Report link

I will go ahead with the thrift server setup.

...making it possible for external sql clients (like DBeaver) to connect to spark sql (which itself is the sql parser and engine, like databases have) and with that this thrift server should then act as a communication gateway (multiple clients/sessions) to the spark layer. The spark sql does not provide that itself because spark jobs are not external clients but directly running within that environment unlike external sql clients.

tx

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

79544432

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

I found the cause using the Android ADB shell function. I had uploaded a series of test files to the emulated device using a script I had developed. When I listed the files using the shell, I noticed that group access was only 'r' - readable. Changing the group access to 'rw' with the following command in the ADB shell solved my problem.

chmod g+w *

Obviously there has been some internal change in the Android OS between API 34 and API 35 that has resulted in my problem.

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

79544426

Date: 2025-03-30 10:14:08
Score: 1.5
Natty:
Report link

Thank You its worked for me! Just installed with this setup

pip install --pre torch==2.8.0.dev20250324+cu128 torchvision==0.22.0.dev20250325+cu128 torchaudio==2.6.0.dev20250325+cu128 --index-url https://download.pytorch.org/whl/nightly/cu128

Reasons:
  • Blacklisted phrase (0.5): Thank You
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dmitry

79544418

Date: 2025-03-30 10:06:07
Score: 4
Natty:
Report link

Below link will work for you

https://github.com/episerver/alloy-mvc-template

please check and let me know

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

79544403

Date: 2025-03-30 09:55:05
Score: 1
Natty:
Report link

I had faced the same issue with @Builder annotation.
Then I put this in my pom.xml, the issue got resolved.

<plugins>
    <plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
            <image>
            <builder>paketobuildpacks/builder-jammy-base:latest</builder>
            </image>
            <excludes>
            <exclude>
                    <groupId>org.project-lombok</groupId>
                    <artifactId>lombok</artifactId>
            </exclude>
            </excludes>
    </configuration>
    </plugin>
</plugins>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Builder
  • Low reputation (1):
Posted by: realarnab

79544402

Date: 2025-03-30 09:55:05
Score: 1.5
Natty:
Report link

If you are using kaggle, upgrade sklearn version by !pip install -U --upgrade-strategy=eager scikit-learn

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

79544400

Date: 2025-03-30 09:54:04
Score: 3
Natty:
Report link

Since Java SE8 there exists a standard Reference class.

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

79544396

Date: 2025-03-30 09:48:03
Score: 3
Natty:
Report link

in the newest version (as of March 2025).. you just need to right-click on the component in the simulator.

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

79544394

Date: 2025-03-30 09:45:02
Score: 2.5
Natty:
Report link

for ($i = 0; $i < $totalLinesinFile ; $i++) {

echo "Line number is ".$i."<br>";

echo wholeTextFile[$i]."<hr>";

}

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

79544381

Date: 2025-03-30 09:26:59
Score: 1.5
Natty:
Report link

Also, you're using connect for UDP, which doesn't really connect but associates the socket with a specific destination address-port tuple. So if the server uses a source address or port different than the one you're connecting, then the UDP stack will drop the message.

Maybe in Wireshark you can check the exact source address and port of the incoming message from the server.

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

79544380

Date: 2025-03-30 09:25:59
Score: 1.5
Natty:
Report link
I had the same problem. In the App.Shell.xaml I had
<ShellContent
     Title="Home Page"
     ContentTemplate="{DataTemplate local:HomePage}"
     Route="HomePage"        
     />
And in the App.Shell.xaml.cs I had
Routing.RegisterRoute(nameof(HomePage), typeof(HomePage));
When I commented this out
//Routing.RegisterRoute(nameof(HomePage), typeof(HomePage));
The page back buttons worked on the third page.
Is your Page1 the start page like my HomePage?
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jonathan Greenstreet

79544363

Date: 2025-03-30 09:07:55
Score: 3.5
Natty:
Report link

This is not possible. According to https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow#origin-validation for js origin validation rules, "Hosts cannot be raw IP addresses. Localhost IP addresses are exempted from this rule."

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

79544358

Date: 2025-03-30 08:53:51
Score: 5
Natty:
Report link

Thanks , this is correct/ accepted

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Class Admin

79544353

Date: 2025-03-30 08:49:51
Score: 5
Natty:
Report link

I try to create an event on specific date to be open on oulook app

I use ms-outlook://events/new

with parameters start=2025-04-30T10:00:00 and end=2025-04-30T12:00:00

but it opens only on current day

Please suggest

Reasons:
  • RegEx Blacklisted phrase (2.5): Please suggest
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Julia

79544350

Date: 2025-03-30 08:46:50
Score: 4
Natty:
Report link
api/v1/security/csrf_token/

this route code ?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Admin

79544348

Date: 2025-03-30 08:45:50
Score: 1.5
Natty:
Report link

Apply below PopperProps then tooltip remain inside the div

<Tooltip PopperProps={{ disablePortal: true }} />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bangi Musaif

79544346

Date: 2025-03-30 08:45:50
Score: 1.5
Natty:
Report link

use this

dependencies {
    implementation 'io.github.webrtc-sdk:android:125.6422.06.1'
  }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nayvane singh

79544344

Date: 2025-03-30 08:44:49
Score: 1
Natty:
Report link

As the documentation states, there is no props called icon; there is checkIconPosition and the property is right/left. You are using icon , which may be causing the issue. Please visit this documentation [https://mantine.dev/core/select/?t=props] Please update your code by following code,

  const cityOptions = cities?.map((city) => ({
    value: city.id.toString(),
    label: city.name,
  })) || [];
  
  console.log("cityoptions", cityOptions);
  console.log("isLoading:", isLoading);

  return (
    <Select
      name="city"
      placeholder="Cities"
      value={city}
      maw={200}
      size="md"
      data={cityOptions}
      disabled={isLoading}
      onChange={(value) => setCity(value)}
      leftSection={<IconSelector size={18} stroke={1.75} />}
      clearable
      nothingFound="No cities found"
      style={{ marginBottom: 0 }}
    />
  );
};
Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ajoy_Sarker

79544339

Date: 2025-03-30 08:35:48
Score: 4
Natty:
Report link

I hope you're doing well.

I wanted to introduce you to SheMed, a platform dedicated to helping women achieve their weight loss

goals.

Feel free to visit our https://www.shemed.co.uk/blog/how-to-balance-macronutrients-for-weight-loss  for more information.

If you have any questions, please don’t hesitate to reach out.

Best regards,

Marissa

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Marissa Ward

79544336

Date: 2025-03-30 08:34:47
Score: 4.5
Natty:
Report link

This error can be caused because of various things. Firstly, the Cocos2d framework requires the pyglet framework (To me, its just a different version of pygame.) to be installed. Which can be installed with:

pip install pyglet

But if that's the case, i suppose that installing pygame would help too. To install pygame:

pip install pygame

Secondly, like the other guy said pygame depends on the C/C++ library "SDL (Simple DirectMedia Layer)"; and when this library is missing from your system (Its not too likely to be the case) you have to install it manually.

Lastly, those are just my predictions about the error message. Can you show the whole error message please?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Beacon Can

79544331

Date: 2025-03-30 08:27:46
Score: 1.5
Natty:
Report link

For accounting software, WPF is generally the better choice. It offers advanced UI features, better data binding, and the flexibility for modern, scalable designs. WPF supports the MVVM pattern, making it more maintainable and suitable for long-term projects. While WinForms is easier to learn and faster for simpler applications, it lacks the customization and modern UI capabilities of WPF. If your software requires a complex, rich interface or needs future scalability, WPF is recommended. If you need something quicker and simpler, WinForms might suffice.

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

79544307

Date: 2025-03-30 07:56:41
Score: 0.5
Natty:
Report link

Explicitly tell you django-environs library that you are passing int not string. You can achieve that by casting the value in this format, so update your code on settings.py to look like this;

Remove the dollar sign ($) on your .env as well

PORT = env.int("PORT")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Blaisemart

79544304

Date: 2025-03-30 07:53:40
Score: 5.5
Natty: 4
Report link

If you are still experiencing this issue on sandbox.

Ensure you visit the products section of your app Add the Login kit feature and then specify a redirect_uri,you have options to add more than 1 redirect_uris

Your authorization_url should look like this ?

https://www.tiktok.com/v2/auth/authorize/?client_key=xxxxxxxxxxx&scope=user.info.basic&response_type=code&redirect_uri=https://fairlauncher-ui.vercel.app&state=9CZ7saUFzj3mJdTIAFhofA

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Filler text (0.5): xxxxxxxxxxx
  • Low reputation (1):
Posted by: viktorRex

79544301

Date: 2025-03-30 07:51:40
Score: 3.5
Natty:
Report link

I don't know. It failed to perform the task. This might be an oversimplification. Have you tried re-running the program or restarting the computer? Or re running the program on a different computer?

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

79544293

Date: 2025-03-30 07:42:38
Score: 1.5
Natty:
Report link

Same before.

I have compiled in Visual Studio for Windows, but causing same errors when i compile on Linux (Ubuntu, Kali).

What i want to say is Visual Studio can compiles it.

but others

ex) xCode for Mac(another user had asked here), gcc(c99) -o Filename Filename.c can't compile it.

There is a rule like Prasoon Saurav said above.

i hope this helpful.

Reasons:
  • Whitelisted phrase (-1): hope this help
  • RegEx Blacklisted phrase (1): i want
  • No code block (0.5):
  • Low reputation (1):
Posted by: NoobButWannaBePro

79544292

Date: 2025-03-30 07:41:38
Score: 2.5
Natty:
Report link

Ok, not sure what changed but when I came back to my project and tried deleting all the generated css classes and the generated react component, the tailwind just works. It also still worked after I reverted all my changes to the state where it wasn't working before.

So, I'm closing this question.

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

79544290

Date: 2025-03-30 07:38:37
Score: 1
Natty:
Report link

There is [a subroutine called 'list_files' in fpm package](https://fortran-lang.github.io/fpm/proc/list_files.html).

program main
  use fpm_strings, only: string_t, str_ends_with
  use fpm_filesystem, only: list_files
  implicit none
  type(string_t), allocatable :: files(:)
  integer :: i
  call list_files("my_dir", files, .false.)
  do i=1, size(files)
    if (str_ends_with(files(i)%s, "txt")) then
      print *, files(i)%s
    endif
  enddo
end program main
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matej

79544277

Date: 2025-03-30 07:17:34
Score: 1
Natty:
Report link

Yes ,you can get all the parameters。just like this

 /users?limit=5&gender=male&age=20&position=CEO&...

$data = $request->all();

then $data is a array like this

$data=[
  'limit'=>'5',
  'gender'=>'male',
  'age'=>'20',
  'position'=>'CEO'
  ...
];
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Admin

79544262

Date: 2025-03-30 06:59:31
Score: 4.5
Natty:
Report link

ienter image description here was so stupid, its right here on top

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

79544256

Date: 2025-03-30 06:50:29
Score: 3.5
Natty:
Report link

So now, I have got a .deb file from https://releases.jfrog.io/artifactory/artifactory-debs/pool/jfrog-artifactory-oss/

I voluntarily take the lastest .deb minus one (for me now 7.104.13 instead of 7.104.14)

/opt/jfrog/artifactory/app/bin/artifactoryctl stop

dpkg -i jfrog-artifactory-oss-7.104.13.deb

it replaces 7.98.13 by 7.104.13

/opt/jfrog/artifactory/app/bin/artifactoryctl start

And i have the new version running.

BUT I am still unable to update to the latest version using apt update. There seems to be no repository for Bookworm if I believe apt (even if I see one on the Jfrog website).

How could I update more easily ?

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

79544245

Date: 2025-03-30 06:27:25
Score: 4
Natty:
Report link

how to crystal report bangla type and sqldatabase add

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how to
  • Low reputation (1):
Posted by: Arpon Paul

79544239

Date: 2025-03-30 06:18:24
Score: 2
Natty:
Report link

This seems to be a relatively new feature given the age of this post.

I stumbled across this while messing around in Roblox Studio. It seems that docstring capability has been added to studio, but not much has been reported on it yet.

This implementation of docstrings also seems to not follow the javadoc standard of @param / @return or the sphinx standard of :param / :return as markup does not seem to be implemented.

As with most things Roblox, I'd recommend utilizing the docstrings on Roblox methods - as OP mentions in his post - as example of what to do until community standards take precedent.

Screenshot of docstrings in Roblox Studio.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @param
  • User mentioned (0): @return
  • Low reputation (1):
Posted by: Xandoer1477

79544238

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

Faced the same problem. Used:

optimizer=tf.keras.optimizers.Adam()

in place of:

optimizer = tf.train.AdamOptimizer()

inside the compile object

(my tf version is 2.11.0. This method works both for Tf-cpu & Tf-gpu)

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

79544235

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

I implemented @Mark's answer as a LibreOffice Calc macro, made the number of decimals an option, and added the rest of the prefixes:

' Display a number in engineering notation, using SI prefixes.
' Based on https://stackoverflow.com/a/55382156
Option VBASupport 1
Function ENG(value as Double, decimals)
    normalized = ROUND(value / (1000 ^ INT(LOG(ABS(value))/log(1000))),decimals)
    prefix = CHOOSE(INT(LOG(ABS(value))/log(1000)) + 11, _
                    "q","r","y","z","a","f","p","n","”","m","", _
                    "k","M","G","T","P","E","Z","Y","R","Q")
    ENG = normalized & prefix
End Function

I expect it would work in Excel after removing the Option VBASupport 1 line, but haven't tested that yet.

Once it's added and macros are enabled it can be used like any other function in a cell formula (eg =ENG(A1,2)).

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Mark's
Posted by: remcycles

79544226

Date: 2025-03-30 05:56:20
Score: 2.5
Natty:
Report link

hmm.. by dafult browser trigger 3 phases of event propagation when any event clicked. during that any element which is subscribed for that event will be called

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

79544224

Date: 2025-03-30 05:53:19
Score: 3.5
Natty:
Report link

yes, MobileSubstrate framework has MSHookFunction which can do what you said

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

79544219

Date: 2025-03-30 05:43:17
Score: 2.5
Natty:
Report link

This is, in fact, a problem with windows.

More specifically, the default windows terminal emulator has ctrl+v bound to paste by default.

To fix this, click the dropdown arrow at the top of the window, open settings, and remove the shortcut under the 'Actions' section.

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

79544218

Date: 2025-03-30 05:41:16
Score: 3
Natty:
Report link

Try updating thr ngrok in powershell . I was facing the same issue. I updated the ngrok version and was able to get 200 OK response from webhook API

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

79544215

Date: 2025-03-30 05:36:16
Score: 2
Natty:
Report link
If you want local date:

java.sql.Date sqlDate = java.sql.Date.valueOf(LocalDate.now());
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Razvan Dumitrescu

79544214

Date: 2025-03-30 05:36:16
Score: 2
Natty:
Report link

Recently I learned that README.md can go inside .github directory. It will still be visible to repo visitors.

Example is Ryan Dahl's blog:

https://github.com/ry/tinyclouds

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

79544202

Date: 2025-03-30 05:09:11
Score: 0.5
Natty:
Report link

If you are doing this to solve Wordle puzzles, you are lacking the additional constraints that would arise if you've guessed a word that has some letters that must be present but are not in the right place. Here is a piped command line that applies all the known constraints as an example (this is for Windows cmd.exe, modify as needed for Linux or MacOS command syntax):

grep -E "^[a-z]{5}$" c:\bin\words.txt | grep "pr.[^i]." | grep -v [outyase] | sed "/i/!d"

Explanation:

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

79544173

Date: 2025-03-30 04:02:02
Score: 3
Natty:
Report link

Adams Street Partners Digital Marketing Agency of the future come join me in this beautiful everlasting journey with Christ

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

79544172

Date: 2025-03-30 03:59:01
Score: 2.5
Natty:
Report link

`

your text
` Column A Column B
Cell 1 Cell 2
Cell 3 Cell 4
Column A Column B
-------- --------
Cell 1 Cell 2
Cell 3 Cell 4
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (0.5):
  • Filler text (0.5): --------
  • Filler text (0): --------
  • Low reputation (1):
Posted by: Gulfam Ali

79544169

Date: 2025-03-30 03:48:59
Score: 0.5
Natty:
Report link

Will you be able to come up with a SQL query that returns only the new rows/items added? If so You can refer this doc to read data from a Databricks spark job using a query.
https://docs.snowflake.com/en/user-guide/spark-connector-use#using-the-connector-in-scala

val df = sparkSession.read.format(SNOWFLAKE_SOURCE_NAME)
  .options(sfOptions)
  .option("query", query)
  .option("autopushdown", "off")
  .load()
val df: DataFrame = sqlContext.read
    .format(SNOWFLAKE_SOURCE_NAME)
    .options(sfOptions)
    .option("query", "SELECT DEPT, SUM(SALARY) AS SUM_SALARY FROM T1")
    .load()
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Vindhya G

79544164

Date: 2025-03-30 03:45:58
Score: 2.5
Natty:
Report link

pls check your css and html files are in same folder..

ex) link rel="stylesheet" href="styles.css"

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

79544157

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

You shouldn't put the test project inside the main project, you should create a solution then link the main project "webapi" and the test project.

on your new folder create the test project using the commands it's more stable I'd say:

# dotnet new xunit -n "Webapi.Tests"

your main project should be in the same folder

WebapiProject
|__ Webapi
|_
_ Webapi.Tests

Note that you should create a solution and add them together into a single solution, also don't forget to add the main project reference inside the test project.

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

79544155

Date: 2025-03-30 03:23:54
Score: 3.5
Natty:
Report link

There is a widget called ListwheelScrollView, it can help you achieve that
you can check that from here https://www.youtube.com/watch?v=dUhmWAz4C7Y

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Afraim

79544152

Date: 2025-03-30 03:20:53
Score: 4
Natty:
Report link

I am having the same issue but when creating comps at different frame rates or aspect ratios. It works fine in the floating panel but it falls apart when I am trying to make it dock-able. What would be a good approach to solving my issue at hand?



var button_margin           = 20,
    button_width            = 160,
    button_height           = 35,
    top_margin              = 80,
    panel_margin            = 10;

var l_button_left           = button_margin,
    l_button_right          = l_button_left + button_width,
    m_button_left           = l_button_right + button_margin,
    m_button_right          = m_button_left + button_width,
    r_button_left           = m_button_right + button_margin,
    r_button_right          = r_button_left + button_width,
    t_button_top            = top_margin,
    t_button_bottom         = top_margin + button_height
    m_button_top            = t_button_bottom + button_margin,
    m_button_bottom         = m_button_top + button_height,
    b_button_top            = m_button_bottom + button_margin,
    b_button_bottom         = b_button_top + button_height;

var win_width               = (panel_margin * 2) + (button_width * 3) + (button_margin * 4),
    win_height              = (panel_margin * 2) + (button_height * 3) +(button_margin * 3) + top_margin,
    panel_right             = win_width - panel_margin,
    panel_bottom            = win_height - panel_margin;
            
var win                     = new Window('palette', 'Floating Comp Creator'),
    panel                   = win.add('panel', [panel_margin, panel_margin, panel_right, panel_bottom]),
    divider0                = panel.add('panel', [l_button_left, panel_margin * 4, r_button_right, panel_margin * 4]),
    divider1                = panel.add('panel', [l_button_right + (button_margin / 2), t_button_top - (panel_margin * 2.5), l_button_right + (button_margin / 2), b_button_bottom]),
    divider2                = panel.add('panel', [m_button_right + (button_margin / 2), t_button_top - (panel_margin * 2.5), l_button_right + (button_margin / 2), b_button_bottom]),
    label0                  = panel.add('statictext', [m_button_left, panel_margin, m_button_right, button_height], 'Click to create the desired comp.'),
    label1                  = panel.add('statictext', [l_button_left + (button_width / 2) - 12, t_button_top - 22, l_button_right, t_button_top - 12], '16:9'),
    label2                  = panel.add('statictext', [m_button_left + (button_width / 2) - 12, t_button_top - 22, m_button_right, t_button_top - 12], '9:16'),
    label3                  = panel.add('statictext', [r_button_left + (button_width / 2) - 10, t_button_top - 22, r_button_right, t_button_top - 12], '1:1'),
    button0                 = panel.add('button', [l_button_left, t_button_top, l_button_right, t_button_bottom], '23.976 fps'),
    button1                 = panel.add('button', [l_button_left, m_button_top, l_button_right, m_button_bottom], '24 fps'),
    button2                 = panel.add('button', [l_button_left, b_button_top, l_button_right, b_button_bottom], '30 fps'),
    button9                 = panel.add('button', [l_button_left, m_button_top, l_button_right, m_button_bottom], '59.94 fps'),
    button10                = panel.add('button', [l_button_left, b_button_top, l_button_right, b_button_bottom], '60 fps'),
    button3                 = panel.add('button', [m_button_left, t_button_top, m_button_right, t_button_bottom], '23.976 fps'),
    button4                 = panel.add('button', [m_button_left, m_button_top, m_button_right, m_button_bottom], '24 fps'),
    button5                 = panel.add('button', [m_button_left, b_button_top, m_button_right, b_button_bottom], '30 fps'),
    button11                = panel.add('button', [l_button_left, m_button_top, l_button_right, m_button_bottom], '59.94 fps'),
    button12                = panel.add('button', [l_button_left, b_button_top, l_button_right, b_button_bottom], '60 fps'),
    button6                 = panel.add('button', [r_button_left, t_button_top, r_button_right, t_button_bottom], '23.976 fps'),
    button7                 = panel.add('button', [r_button_left, m_button_top, r_button_right, m_button_bottom], '24 fps'),
    button8                 = panel.add('button', [r_button_left, b_button_top, r_button_right, b_button_bottom], '30 fps');
    button13                = panel.add('button', [l_button_left, m_button_top, l_button_right, m_button_bottom], '59.94 fps'),
    button14                = panel.add('button', [l_button_left, b_button_top, l_button_right, b_button_bottom], '60 fps'),

win.bounds = [0,0,win_width,win_height];
win.center();   
win.show();

button0.onClick = function()
{
    app.project.items.addComp('horizontal - 16:9 - 23.976', 1920, 1080, 1, 30, 23.976);
}

button1.onClick = function()
{
    app.project.items.addComp('horizontal - 16:9 - 24', 1920, 1080, 1, 30, 24);
}

button2.onClick = function()
{
    app.project.items.addComp('horizontal - 16:9 - 30', 1920, 1080, 1, 30, 30);
}

button3.onClick = function()
{
    app.project.items.addComp('vertical - 9:16 - 23.976', 1080, 1920, 1, 30, 23.976);
}

button4.onClick = function()
{
    app.project.items.addComp('vertical - 9:16 - 24', 1080, 1920, 1, 30, 24);
}

button5.onClick = function()
{
    app.project.items.addComp('vertical - 9:16 - 30', 1080, 1920, 1, 30, 30);
}

button6.onClick = function()
{
    app.project.items.addComp('square - 1:1 - 23.976', 1080, 1080, 1, 30, 23.976);
}

button7.onClick = function()
{
    app.project.items.addComp('square - 1:1 - 24', 1080, 1080, 1, 30, 24);
}

button8.onClick = function()
{
   app.project.items.addComp('square - 1:1 - 30', 1080, 1080, 1, 30, 30);
}

button9.onClick = function()
{
    app.project.items.addComp('horizontal - 16:9 - 59.94', 1920, 1080, 1, 30, 59.94);
}

button10.onClick = function()
{
   app.project.items.addComp('horizontal - 16:9 - 60', 1920, 1080, 1, 30, 60);
}

button11.onClick = function()
{
    app.project.items.addComp('vertical - 9:16 - 59.94', 1080, 1920, 1, 30, 59.94);
}

button12.onClick = function()
{
    app.project.items.addComp('vertical - 9:16 - 60', 1080, 1920, 1, 30, 60);
}

button13.onClick = function()
{
    app.project.items.addComp('square - 1:1 - 59.94', 1080, 1080, 1, 30, 59.94);
}

button14.onClick = function()
{
   app.project.items.addComp('square - 1:1 - 60', 1080, 1080, 1, 30, 60);
}

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: spenc ar

79544151

Date: 2025-03-30 03:19:53
Score: 1.5
Natty:
Report link

I work in Debian, and I add "postgres" user to "myuser"'s group that own the folder:

usermod -a -G myuser postgres

then I use chmod for give access to the user of the group, and create the table space folder

chmod 775 /home/myuser

su postgres

mkdir /home/myuser/ . . . /TableSpaceFolder

and finally use the command in "psql"

postgres=# create tablespace ts_name owner role_name location '/home/mysuer/ . . . /TableSapaceFolder';

CREATE TABLESPACE

Work for me.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucio Miguel Cortés Villarroel

79544133

Date: 2025-03-30 02:55:49
Score: 2.5
Natty:
Report link

I am facing issue while integrating the app, as it is not able to detect the gestures when integrated in app.

I have done in two ways

One is using tensorflite model, the model I tested it's working fine , but after integration the gestures are not getting detected.

Second is using flask api backend this approach also is not working

Reasons:
  • Blacklisted phrase (1): I am facing issue
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pratyusha Gudadoor

79544131

Date: 2025-03-30 02:51:49
Score: 3.5
Natty:
Report link

i face also a problem with CORS policy. Access to font at 'https://tadiktia.com/wp-content/uploads/elementor/google-fonts/fonts/forum-6aey4ky-vb8ew8iropi.woff2' from origin 'https://www.tadiktia.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. i install a pluging better search replace to change the URL. i also change manualy the urls in appearance--> general. i also add in .htaccess way,

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "https://www.tadiktia.com"
    Header set Access-Control-Allow-Methods "GET, POST, OPTIONS"
    Header set Access-Control-Allow-Headers "Content-Type"
</IfModule>

and

RewriteEngine On
RewriteCond %{HTTP_HOST} ^tadiktia.com [NC]
RewriteRule ^(.*)$ https://www.tadiktia.com/$1 [L,R=301]

And in funtions.php :

 function add_cors_http_header(){
        header("Access-Control-Allow-Origin: *");
    }
    add_action('init', 'add_cors_http_header');

And still i didnt resolve it... Please has anyone face the same or can help me? thank you very much in advance!!!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (3): thank you very much in advance
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harris K.

79544130

Date: 2025-03-30 02:50:48
Score: 2.5
Natty:
Report link

While we encourage users to express themselves in their profiles, all user profiles in their entirety are subject to the Code of Conduct and all policies outlined or incorporated therein.

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

79544129

Date: 2025-03-30 02:41:47
Score: 3.5
Natty:
Report link

DbSet is an object managed inside DbContext and cannot be injected directly

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

79544127

Date: 2025-03-30 02:37:46
Score: 1
Natty:
Report link

It is currently not possible to autocomplete variable names in prompts in Cursor (source).

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Franck Dernoncourt

79544125

Date: 2025-03-30 02:30:45
Score: 3
Natty:
Report link

Removing Trusted_Connection=True from your connnection String helped me to resolve this issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Penumetcha Sai Rakesh Varma

79544119

Date: 2025-03-30 02:10:42
Score: 3
Natty:
Report link

The problem could be compatibility issue. Check your sql to python connector if it is latest version

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

79544114

Date: 2025-03-30 02:05:41
Score: 0.5
Natty:
Report link

Firefox doesn't support module ServiceWorkers, yet. Here's the issue Implement "module" service workers.

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

79544112

Date: 2025-03-30 02:02:40
Score: 1
Natty:
Report link

Here are two solutions

1、setting the time out in the web server ,such as in nginx config file。

proxy_connect_timeout 15m;

2、use queue in NodeJSwhen the API is running ,you can add the task to queue , and return to browser immediately。the task was run in the queue background

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

79544108

Date: 2025-03-30 01:55:39
Score: 3.5
Natty:
Report link

Thumbnail and likebutton are components that react didn't put their code in its website

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

79544106

Date: 2025-03-30 01:51:38
Score: 1
Natty:
Report link

Well I ended up figuring it out soon after posting this thanks to this thread. I ended up changing:

Command="{Binding Source={x:Reference this}, Path=BindingContext.MyCommand}}"

to

Command="{Binding Source={RelativeSource AncestorType={x:Type viewmodel:MyViewModel}}, Path=MyCommand, x:DataType=viewmodel:MyViewModel}"

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: codybchaplin

79544101

Date: 2025-03-30 01:40:37
Score: 2.5
Natty:
Report link

NoSuchKeyThe specified key does not exist.No such object: android-build/builds/aosp-master-throttled-copped-linux-aosp_cf_arm64_only_phone-userdebug/10425810/fc4f2c3f6bdafa220a856df60df471054659ab05e9bf70112375b704d2be6848/aosp_cf_arm64_only_phone-img-10425810.zip

There is no img to download anymore.
Is the repo discarded?

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

79544098

Date: 2025-03-30 01:38:36
Score: 3.5
Natty:
Report link

Give a try with Updating Python Version.

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

79544093

Date: 2025-03-30 01:31:35
Score: 1
Natty:
Report link

In my case I had to run: expo export --platform web

Then you can see the files inside a directory called dist

Upload these files on a file server.

Official Documentation: how to publish websites on Netlify, Firebase, Github Pages, etc

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

79544090

Date: 2025-03-30 01:19:33
Score: 1
Natty:
Report link

SOLVED (using a combination of 3CxEZiVlQ and Useless's answers:

#include <cstdlib>

template <typename E>
class ABag {
    int used;
    E* data;
    public:
    E& operator[](size_t idx) { // from  3CxEZiVlQ

        if (idx >= used)
            {exit(-1);}
        return data[idx];
    }

};

template <typename Key, typename E>
class KVpair {};

template <typename Key, typename E>
class BDictionary {
 public:
  bool find(const Key& k, E& rtnval) const {
    for (size_t cur_pos = 0; cur_pos < 0; cur_pos++) {
      KVpair<Key, E> temp = (*dictionary)[cur_pos]; // from Useless
    }
    return false;
  }

 private:
  ABag<KVpair<Key, E>> *dictionary;
};

int main() {
  BDictionary<int, int> d;
  int rv = 0;
  d.find(0, rv);
}

Thanks! Really appreciate the help.

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